Roy Qu
80451256c2
move translations
2022-08-05 20:39:01 +08:00
Roy Qu
363bbb2221
update translations
2022-08-05 20:38:28 +08:00
Roy Qu
2a0cfe7948
- change: switch positions of problem case output and expected output
2022-08-05 16:20:50 +08:00
Roy Qu
40dec1b9ff
- fix: (wrongly) use the default font to calculate non-ascii characters' width
2022-07-31 11:51:34 +08:00
Roy Qu
66746e8c3d
- fix: indents for "default" are not the same with "case"
2022-07-30 10:22:27 +08:00
Roy Qu
fc1de8f28c
- fix: inefficient loop when render long lines
2022-07-29 18:33:08 +08:00
Roy Qu
1ce0ec3d32
- enhancement: disable column mode in readonly editors
2022-07-28 21:19:54 +08:00
Roy Qu
a3cb17299b
- fix: Drag&Drop no correctly disabled for readonly editors
2022-07-28 17:09:30 +08:00
Roy Qu
8bd2802c99
- enhancement: choose default language when first run
2022-07-28 14:03:18 +08:00
Roy Qu
c7e8ee6072
- enhancement: don't show cpp defines when editing c files
2022-07-28 13:51:38 +08:00
Roy Qu
62caa94e23
- fix: selection is not correctly set after input in column mode
2022-07-25 14:32:12 +08:00
Roy Qu
7db3a7ebc1
- fix: block indent doesn't work
2022-07-25 09:45:06 +08:00
Roy Qu
1b56f1b615
refactor for clean
2022-07-24 22:53:20 +08:00
Roy Qu
8affc316f3
optimize the algorithm for finding compiler sets
2022-07-24 19:08:09 +08:00
royqh1979@gmail.com
8d51876518
- fix: can't find the gcc compiler, if there are gcc and clang compilers in the same folder
2022-07-24 18:24:21 +08:00
Roy Qu
d034089214
5.12 compatibility fix
2022-07-24 03:19:11 +00:00
Roy Qu
fdbf86e774
linux compatibility fix
2022-07-24 10:02:36 +08:00
Roy Qu
3d42cdf6c3
- fix: can't create folder in files view, if nothing is selected
2022-07-23 15:41:19 +08:00
Roy Qu
eebd7336c2
- change: sort local identifiers before keywords in the auto completion popup
2022-07-22 21:02:07 +08:00
Roy Qu
2f8988cf91
- fix: "Timeout for problem case" can't be rechecked, in the Settings Dialog -> executor -> problem set panel.
2022-07-22 11:34:45 +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
f20d5f1b07
change windows profile
2022-07-20 19:41:06 +08:00
Roy Qu
90b4693e7d
set minimum winver to 0x0601 (windows 7)
2022-07-20 19:38:01 +08:00
Roy Qu
8acee3ed20
- fix: correctly update the start postion of selection after code completion
2022-07-20 16:57:42 +08:00
Roy Qu
6f7f637d11
update mesages
2022-07-19 20:29:46 +08:00
Roy Qu
66a802485f
update version to 1.1.5
2022-07-07 20:30:27 +08:00
Roy Qu
cb2cbf49d0
- change: uncheck "hide unsupported files" in files view shouldn't gray out non-c files
...
- enhancement: double clicking a non-text file in the files view, will open it with external program
- enhancement: double clicking a non-text file in the project's view, will open it with external program
2022-07-07 20:08:58 +08:00
Roy Qu
898d5f4e08
- enhancement: resort files in the files view after rename
2022-07-06 19:44:44 +08:00
Roy Qu
262b4916fd
- enhancement: set current index to the folder after new folder created in the file view
2022-07-06 18:16:25 +08:00
Roy Qu
777c295cc0
minor change
2022-07-06 14:19:07 +08:00
Roy Qu
8d59bf9abb
- redesign redo system
...
- fix: correctly restore editor's modified status when undo/redo
2022-07-06 14:11:32 +08:00
Roy Qu
10631f54d7
work save
2022-07-06 00:06:07 +08:00
Roy Qu
fc6b582402
clean up undolist
2022-07-05 22:25:28 +08:00
Roy Qu
2ff9dee9c0
clean up qsynedit
2022-07-05 22:05:12 +08:00
Roy Qu
a6f334f837
remove all warnings
2022-07-04 11:39:06 +08:00
Roy Qu
2d7c2145e3
- enhancement: prevent group undo when caret position changed
...
- fix: undo link break may lose leading spaces
refactor undo
2022-07-04 10:01:40 +08:00
Roy Qu
a86544d6ae
remove debug infos
2022-07-03 13:09:42 +08:00
Roy Qu
7ba5f3e5c8
fix: undo chains
2022-07-03 13:08:14 +08:00
Roy Qu
76f0b9d17b
- fix: calculation of the code block ranges when inserting/deleting
2022-07-03 12:00:05 +08:00
Roy Qu
1a36822b18
fix: fold range processing
2022-07-03 11:22:10 +08:00
Roy Qu
ffe6a5b5ec
update versions
2022-07-02 21:51:51 +08:00
Roy Qu
348788bbcd
- enhancement: prohibit move selection up/down under column mode
...
- enhancement: prohibit move selection up/down when the last line in selection is a folded code blocks
- enhancement: check validity of selection in column mode when moving caret by keyboard
- enhancement: check validity of selection in column mode when moving caret by mouse
- enhancement: only allow insert linebreak at the end of folded code block
- enhancement: only allow delete whole folded code block
- refactor of undo system
2022-07-02 20:19:37 +08:00
Roy Qu
39dd7e3abb
work save: redo done
2022-07-02 17:59:07 +08:00
Roy Qu
655f0bf83e
work save : undo almost done
2022-07-02 14:06:10 +08:00
Roy Qu
3f814901d5
work save
2022-07-02 10:39:31 +08:00
Roy Qu
cd135b19a2
work save
2022-07-02 06:44:01 +08:00
Roy Qu
097108a2c9
- update raylib to 4.2-dev
...
- update raylib-drawing to 1.1
- add "raylib manual" in the help menu
2022-07-01 17:15:20 +08:00
Roy Qu
24a4f0e127
- change: just show one function hint for overloaded functions
2022-06-30 14:39:12 +08:00
Roy Qu
b304b19d26
add templates for tinyfiledialogs
2022-06-29 10:14:11 +08:00
Roy Qu
a6b24290c9
- enhancement: position caret at end of the line of folded code block
...
- enhancement: copy the whole folded code block
- enhancement: delete the whole folded code block
- fix: correctly update the folding state of code block, when deleted
2022-06-28 21:46:20 +08:00
Roy Qu
2008437342
auto indents for comments
2022-06-28 12:22:40 +08:00
Roy Qu
0985b6444b
- fix: wrong auto indent calculation for comments
2022-06-28 09:37:18 +08:00
Roy Qu
5557d9c103
- change: position caret to (1,1) when create a new file using editor's new file template
2022-06-23 20:39:00 +08:00
Roy Qu
b2585f567a
- enhancement: autolink add "force utf8" property (mainly for raylib)
2022-06-23 19:07:48 +08:00
Roy Qu
895a927ee0
- fix: select all shouldn't set file's modified flag
...
- enhancement: add (return)type info for functions/varaibles/typedefs in the class browser panel
2022-06-23 13:05:10 +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
85c18d1f66
- enhancement: use different color to differenciate folder and headers in completion popup window
...
- enhancement: auto add "/" to folder when completing #include headers
2022-06-20 21:43:42 +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
2f0a7a3d89
- fix: reduce height of the message panel when dragging from right to bottom
2022-06-17 12:12:12 +08:00
Roy Qu
9dacc9bbb9
- fix: when debug the executable using gdb server, add current compiler set's bin folders to path
2022-06-16 21:56:07 +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
c4ca944a15
- fix: can't paste contents copied from Clion/IDEA/PyCharm
2022-06-16 09:11:45 +08:00
Roy Qu
04311eb8e5
- enhancement: add ignore spaces checkbox in problem cases panel
2022-06-15 14:13:11 +08:00
Roy Qu
f8cd0e63ad
- change: swap position of problem case's output and expected input controls
...
- enhancement: when problem case panel is positioned at right, problem case's input, output and expected controls is layouted vertically
2022-06-15 11:27:12 +08:00
Roy Qu
3e4361777b
Merge branch 'master' of github.com:royqh1979/RedPanda-CPP
2022-06-14 09:10:13 +08:00
Roy Qu
cfdbdca812
- enhancement: adjust the appearance of problem case's input/output/expected control
2022-06-14 09:09:35 +08:00
Roy Qu
a93141be89
remove duplicate actions
2022-06-13 16:48:55 +08:00
Roy Qu
9545ad9b6f
- fix: compiler settings not correctly saved
2022-06-13 16:31:41 +08:00
Roy Qu
f258f56117
fix: new actions in shortcuts settings can't be setted
2022-06-13 15:44:59 +08:00
Roy Qu
fb18a1f1a3
- enhancement: add 'run all problem cases' / 'run current problem case' / 'batch set cases' to the option dialog's shortcut panel
2022-06-13 09:38:32 +08:00
Roy Qu
5a31e1dd42
- fix: rename macro doesn't work in project
...
- fix: can't remove a shortcut
- enhancement: hide all menu actions in the option dialog's shortcut panel
2022-06-12 22:54:34 +08:00
Roy Qu
2182553fe1
- fix: rename macro doesn't work in project
2022-06-12 18:26:39 +08:00
Roy Qu
e0442dcca4
update translations
2022-06-12 15:58:24 +08:00
Roy Qu
73fda980bc
- enhancement: rename in files view's context menu
...
- enhancement: delete in files view's context menu
- change: drag&drop in files view default to move
2022-06-12 15:48:19 +08:00
Roy Qu
ef715b2c34
- enhancement: restore caret position after batch replace
2022-06-10 22:08:10 +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
67e686652d
- enhancement: mark editor as modified, if the editing file is changed by other applications.
...
- enhancement: When the editing files is changed by other applications, only show one notification dialog for each file.
2022-06-08 16:18:06 +08:00
Roy Qu
5182e200fb
- enhancement: when ctrl+mouse cursor hovered an identifier or header name, use underline to highlight it
2022-06-08 16:05:54 +08:00
Roy Qu
a5d4345af1
update linux templates
2022-06-04 18:25:58 +08:00
Roy Qu
2e5f666411
update autolinks for raylib-drawing
2022-06-04 14:46:58 +08:00
Roy Qu
cd6e5719b7
fix: autolink calculation not stable
2022-06-04 14:44:50 +08:00
Roy Qu
75d3c21d1f
update autolink for raylib-drawing
2022-06-03 16:53:35 +08:00
Roy Qu
c295649280
- fix: errors in the calculation of cut limit
2022-06-01 20:52:35 +08:00
Roy Qu
85f3a04bcf
- fix: #define followed by tab not correctly parsed
...
- enhancement: don't auto add () when completing C++ io manipulators ( std::endl, std::fixed, etc.)
- fix: can't goto to definition of std::endl
2022-06-01 17:02:03 +08:00
Roy Qu
836acff739
update translations
2022-05-30 18:17:42 +08:00
Roy Qu
10fb1d5c17
Merge pull request #45 from RigoLigoRLC/MacHack
...
WIP:添加MacOS支持,顺便对不同平台设置默认界面字体
2022-05-30 18:16:27 +08:00
RigoLigo
baba0e0f34
Move icons into platform specific directory
2022-05-30 17:21:31 +08:00
RigoLigo
c8b1fbbc83
Added default font for MacOS
2022-05-30 17:10:10 +08:00
RigoLigo
62080e61b0
Revert "Update language files"
...
This reverts commit 30b14d9153
.
2022-05-30 17:04:19 +08:00
Roy Qu
2adc0de494
Merge branch 'master' of github.com:royqh1979/RedPanda-CPP
2022-05-30 16:40:54 +08:00
Roy Qu
90b6916978
- fix: modify watch doesn't work
2022-05-30 16:40:45 +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
RigoLigo
30b14d9153
Update language files
2022-05-29 00:30:46 +08:00
RigoLigo
a7597930de
Improved default interface font
2022-05-29 00:30:46 +08:00
RigoLigo
07e74952ec
Add required executables into main app bundle
2022-05-29 00:30:46 +08:00
RigoLigo
ed03d6850f
Added icon for macOS
2022-05-29 00:30:46 +08:00
RigoLigo
6cb2fb15eb
Add hacks to make it build on MacOS 12.3
...
you need to install icu4c in brew
2022-05-29 00:30:46 +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
Roy Qu
e7db1a3a6f
remove no use fields
2022-04-25 00:10:01 +08:00
Roy Qu
d9259fb9e4
- fix: index of the longest line not correctly updated when insert/delete multiple lines ( which will cause selection errors)
2022-04-24 09:50:30 +08:00
Roy Qu
a64bbd0d4b
- enhancement: add project templates for tcp server / tcp client
...
- enhancement: only show function tips when cursor is after ',' or '('.
- enhancement: when auto complete function names, only append '(' if before identifier or "/'
2022-04-22 15:55:39 +08:00
Roy Qu
ec17cfcb99
- enhancement: select and delete multiple watches
2022-04-22 14:28:53 +08:00