Roy Qu
71a728a868
work save
2022-09-25 17:43:31 +08:00
Roy Qu
00ea7ee773
create QSynedit namespace
2022-09-25 09:55:18 +08:00
Roy Qu
17eb0c1f94
- enhancement: add select current word command in the Selection menu
...
- change: add Selection menu
- enhancement: add memory view rows/columns settings in the settings dialog -> debugger -> general panel
- enhancement: add "Go to Line..." in the Code menu
2022-07-21 15:28:07 +08:00
Roy Qu
b2585f567a
- enhancement: autolink add "force utf8" property (mainly for raylib)
2022-06-23 19:07:48 +08:00
Roy Qu
20690b7e51
- enhancement: add the option "Set Encoding for the Executable" to project's compiler options
...
- fix: can't correctly compile when link params are seperated by line breaks
2022-06-22 17:08:35 +08:00
Roy Qu
5c2c2bead2
- fix: when messages panel is docked at right, its width not correctly restored when restart.
2022-06-17 18:18:12 +08:00
Roy Qu
3d6d3c5210
- fix: when run/debug the executable, add current compiler set's bin folders to path
...
- fix: when open in shell, add current compiler set's bin folders to path
2022-06-16 21:34:31 +08:00
Roy Qu
d01a60e88f
- fix: c files added to a project will be compiled as c++ file.
2022-06-10 08:41:52 +08:00
Roy Qu
cd6e5719b7
fix: autolink calculation not stable
2022-06-04 14:44:50 +08:00
brokencuph
a96af19f2e
make behavior consistent in adding compiler bindirs to Path
...
When running the compiled user program, current compiler's
binary directories should be added to the beginning of the
Path environment variable instead of the end, in order to
avoid loading other user-installed versions of
MinGW libraries (such as libstdc++).
Previously, in openShell of mainwindow.cpp the behavior has already
been updated, but in executablerunner.cpp and ojproblemcasesrunner.cpp,
the behavior is different. Now they have been changed to be
consistent with the one in openShell.
2022-05-30 16:01:28 +08:00
Roy Qu
e920d230df
- fix: "run current cases" dosen't correctly display real output
2022-05-26 21:22:07 +08:00
Roy Qu
06ee536431
- fix: tab icon not correct restore when hide and show a panel
...
- fix: the hiding state of the tools output panel is not correctly saved
2022-05-21 10:44:39 +08:00
Roy Qu
c56a020781
- enhancement: can debug files that has non-ascii chars in its path and is compiled by clang
...
- fix: when debugging project, default compiler set is wrongly used
2022-05-15 17:14:22 +08:00
Roy Qu
ba29839cc4
fix: compiler arguments widget can't correct load settings
2022-05-14 20:27:21 +08:00
Roy Qu
a3946b6015
- enhancement: add compiler commandline argument for "-E" (only preprocessing)
...
- enhancement: auto set output suffix to ".expanded.cpp" when compiler commandline argument for "-E" is turned on
- enhancement: auto set output suffix to ".s" when compiler commandline argument for "-S" is turned on
2022-05-14 16:43:59 +08:00
Roy Qu
086dfd0865
finish: redesign compiler command line arguments
2022-05-14 11:21:59 +08:00
Roy Qu
58b7c55cd6
work save
2022-05-13 20:22:16 +08:00
Roy Qu
9867d0d931
update compiler set options
2022-05-12 15:28:08 +08:00
Roy Qu
45744b43f0
- change: highlight whole #define statement using one color
...
- enhancement: don't highlight '\' as error
- enhancement: hide add charset option in project options dialog's compiler set page, when project compiler set is clang
- fix: When generating project's makefile for clang, don't add -fexec-charset / -finput-charset command line options
2022-05-02 21:47:01 +08:00
Roy Qu
ffaa8086d1
compatible with qt 5.12
2022-04-28 19:02:34 -07:00
Roy Qu
845427b747
- fix: correctly parse link error message for clang
2022-04-27 19:13:38 +08:00
Roy Qu
945ba4ce73
- fix: use utf8 as the encoding for clang's error output
2022-04-27 15:26:13 +08:00
Roy Qu
f16d015fdd
- fix: gcc compiler set name is not correct in Linux
...
- enhancement: hide add charset option when the currect compiler set is clang
- enhancement: auto check the c project option in the new project dialog
- change: use "app.ico" as default name for the project icon file
- fix: c file should use CC to build in the auto generated makefile
2022-04-25 21:48:04 +08:00
Roy Qu
784d94c541
- fix: don't add non-project header files to makefile's object rules
2022-04-09 09:35:17 +08:00
Roy Qu
39a0f87b94
- fix: can't build project that has source files in subfolders
...
- fix: can't build project that has custom object folder
- fix: buttons in the project option dialog's output page don't work
2022-04-08 22:14:18 +08:00
Roy Qu
f0c0197380
- fix: auto syntax check fail, if the file is not gbk and includes files encoded with utf8
...
- fix: running programs with input redirected can't exit at once.
2022-03-31 09:56:49 +08:00
Roy Qu
17516c8111
- fix: error in auto generate makefile under linux
2022-03-30 19:50:55 +08:00
Roy Qu
7bc5a2ee7a
- fix: can't stop a freeze program that has stdin redirected.
...
- enhancement: context menu for problem cases table
2022-03-30 19:28:46 +08:00
Roy Qu
a1614cef68
- enhancement: display problem case running time
...
- enhancement: set problem case input/expected output file
- enhancement: auto position cursor in expected with output's cursor
2022-03-29 18:06:24 +08:00
Roy Qu
facdb59c66
msvc compatibility
2022-03-29 09:43:24 +08:00
Roy Qu
ac54496aeb
- fix: auto syntax check use wrong charset, if a file in editing is not encoded with ANSI encoding
...
- enhancement: timeout for problem case test in
2022-03-27 11:44:52 +08:00
Roy Qu
090cccc033
refactor: remove ProjectUnit's mEditor field
2022-03-21 09:08:05 +08:00
Roy Qu
14d99711f8
linux:
...
- fix: if there is a Red Panda C++ process running program, other Red
Panda C++ processes can't run program correctly.
2022-03-16 20:39:11 +08:00
Roy Qu
c67e196e72
- fix: if there is a Red Panda C++ process running program, other Red Panda C++ processes can't run program correctly.
2022-03-16 20:08:39 +08:00
Roy Qu
664922a301
- fix: convert to encoding setting in compiler set option not correctly handled
...
work save:
git repository class
2022-02-15 00:01:50 +08:00
Roy Qu
62e51d166c
Merge branch 'master' into git
...
# Conflicts:
# NEWS.md
2022-02-11 21:55:20 +08:00
Roy Qu
71e885f941
- fix: huge build size for c++ files
2022-02-11 14:04:18 +08:00
royqh1979@gmail.com
4e16a2e186
- change: rename "compile log" panel to "tools output"
...
- fix: debug panel can't be correctly show/hide
- enhancement: redesign tools output's context menu, add "clear" menu item
- update translations
2022-02-10 12:03:56 +08:00
Roy Qu
0099aa436a
- fix: when running problem cases, the output textbox might be wrongly cleared.
2022-02-04 19:14:10 +08:00
royqh1979@gmail.com
425b4a4e96
fix: crash while delete headers created by new header dialog
2022-02-01 16:17:28 +08:00
royqh1979@gmail.com
a9f7cdd0e6
add timeout for flushing output buffer when running problem cases
2022-01-28 08:21:56 +08:00
Roy Qu
002f9d4805
- fix: mainwindow action's short cut doesn't work, if the action is not in menu or toolbar
...
- fix: when run all cases for a problem, processing of output is slow
2022-01-28 00:31:11 +08:00
Roy Qu
ee9db9cdfd
- enhancement: parser not called when open a file, if option "clean parser symbols when hidden" is turned on.
2022-01-24 20:59:02 +08:00
royqh1979@gmail.com
4797c15b04
- enhancement: add exec charset option to compiler set settings
2022-01-24 11:23:30 +08:00
Roy Qu
ebe2dbb95e
- fix: editor crash when no highlighter is assigned (the editing file is a not c/cpp source file);
...
- fix: ')' not correctly skip in the editor when no highlighter is assigned (the editing file is a not c/cpp source file);
2022-01-23 21:04:08 +08:00
Roy Qu
9af7c736d9
cement: If console pauser doesn't exist, warn and stop running programs.
2022-01-20 00:12:50 +08:00
Roy Qu
6209b1ff05
- fix: in linux, projects no need of winres to be built
...
update debian pacakges files
2022-01-15 12:25:30 +08:00
Roy Qu
c56b6c5414
add more templates
2022-01-10 10:53:16 +08:00
Roy Qu
e3b9565b84
support PREFIX in qmake script
2022-01-05 09:08:44 +08:00
Roy Qu
bb6a4ed9c8
qt 5.12 compatibility
2022-01-04 16:50:54 +08:00