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
fbdd268484
- fix: cursor is wrongly positioned when insert code snippets that don't have placeholders
2022-05-25 18:41:56 +08:00
Roy Qu
1e06907db5
- enhancement: add "toggle explorer panel" and "toggle messages panel" in "view" menu
2022-05-25 10:04:36 +08:00
Roy Qu
790847e3f8
reduce panel spans
2022-05-24 13:47:09 +08:00
Roy Qu
83d1ce0741
remember left/bottom panel's new size, when resized
2022-05-23 22:36:22 +08:00
Roy Qu
d1024e4c9d
panel size can be saved
2022-05-22 14:31:13 +08:00
Roy Qu
da1647538f
work save: resizable panels
2022-05-21 17:40:52 +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
964909a31e
- change: panels can be relocated
2022-05-20 18:43:01 +08:00
Roy Qu
c3db151c2c
- fix: crash when project name is selected in the project view and try create new project file
2022-05-19 17:57:31 +08:00
Roy Qu
106bf4281a
disable undo limit by default
2022-05-19 13:19:47 +08:00
Roy Qu
3090fab089
- fix: copy & paste in column mode not correctly handled
2022-05-19 12:32:33 +08:00
Roy Qu
67cd580539
- fix: delete & insert in column mode not correctly handled
...
- fix: input with ime in column mode not correctly handled
2022-05-18 23:17:06 +08:00
Roy Qu
e1ac7cafb0
- fix: selection in column mode not correctly drawn when has wide chars in it
2022-05-18 15:52:19 +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
394e500941
- enhancement: adjust scheme colors for "dark" and "high contrast" themes
2022-05-14 21:31:14 +08:00
Roy Qu
ba29839cc4
fix: compiler arguments widget can't correct load settings
2022-05-14 20:27:21 +08:00
Roy Qu
fbe7ca204c
- enhancement: show error message when user set a shortcut that's already being used.
2022-05-14 16:54:59 +08:00
Roy Qu
6340dbe299
- enhancement: show error message when user set a shortcut that's already being used.
2022-05-14 16:52:56 +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
f412eedcb0
- fix: selection calculation error when editing in column mode
2022-05-14 16:06:57 +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
2f5f1346fd
work save
2022-05-12 22:42:19 +08:00
Roy Qu
9867d0d931
update compiler set options
2022-05-12 15:28:08 +08:00
Roy Qu
631da69d84
- enhancement: auto complete '#undef'
2022-05-11 20:34:13 +08:00
Roy Qu
9b80407f88
- change: stop generating 'profile' compiler set
2022-05-09 17:17:01 +08:00
Roy Qu
03e588d173
change "compiler options" tool button's position in the toolbar
2022-05-07 07:53:16 +08:00
Roy Qu
e3d7af019d
- fix: keyword 'final' in inhertid class definition is not correctly processed
2022-05-06 19:20:26 +08:00
Roy Qu
7e6d900049
- enhancement: add new tool button for "compiler options"
2022-05-06 15:48:17 +08:00
Roy Qu
a3c8e1ed21
add new icon
2022-05-06 15:46:48 +08:00
Roy Qu
7729ba0ebe
- enhancement: support UTF-8 BOM files
2022-05-06 15:23:41 +08:00
Roy Qu
2e66a3163c
don't highlight '\' at line end as error
2022-05-05 09:58:55 +08:00
Roy Qu
cd4bfdfa23
- fix: index of the longest line not correctly updated when inputting with auto completion open
2022-05-04 00:08:04 +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
d2a09dea24
- change: use Shift+Enter to break line
2022-04-29 16:15:18 +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
2459bee049
use clang/clang++ instead of gcc/g++
2022-04-27 11:24:40 +08:00
Roy Qu
fd9e51a040
Merge branch 'master' of github.com:royqh1979/RedPanda-CPP
2022-04-26 22:08:54 +08:00
Roy Qu
97274a7e79
auto batch set problem case's expected file that has "ans" as the suffix
2022-04-26 22:08:46 +08:00
Roy Qu
afc8e15c87
- 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
- enhancement: package script for msys2 clang
2022-04-25 22:13:33 +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
2f61bd1f79
change version number to 1.0.6
2022-04-25 17:21:41 +08:00
Roy Qu
81f4d98d5f
minor fix
2022-04-25 12:43:23 +08:00
Roy Qu
16cb8faf85
valgrind fix
2022-04-25 11:06:12 +08:00
Roy Qu
2056d42286
fix valgrind problems
2022-04-25 10:47:19 +08:00
Roy Qu
19c2096e5e
minor fix
2022-04-25 10:13:28 +08:00