Commit Graph

1317 Commits

Author SHA1 Message Date
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
Roy Qu d1fe43d49c update contrast iconset 2022-04-21 15:03:38 +08:00
Roy Qu 0a1c2aea98 refactor: SynDocument and SynDocumentLine 2022-04-19 21:18:41 +08:00
Roy Qu 354f375f67 - enhancement: improve the matching of function declaration and definitions
- fix: research button doesn't show find in files dialog
2022-04-19 19:17:49 +08:00
Roy Qu 434d46ef80 - enhancement: add autolink and project template for sqlite3 2022-04-18 20:19:11 +08:00
Roy Qu 15ec17f16b update version 2022-04-18 17:04:54 +08:00
Roy Qu 56c71f321f - fix: parse error for definition of functions whose return type is pointer 2022-04-18 16:56:31 +08:00
Roy Qu 5743991152 - fix: scroll bar not correctly updated when collapse/uncollapse folders 2022-04-18 16:17:06 +08:00
Roy Qu 331a5818c6 fix: add library files dialog not correctly 2022-04-18 11:48:51 +08:00
Roy Qu 512371a6d4 - fix: index of the longest line not correctly updated ( which will cause selection errors) 2022-04-18 11:38:30 +08:00
Roy Qu 0d2c842317 - fix: index of the longest line not correctly updated ( which will cause selection errors) 2022-04-18 11:35:42 +08:00
Roy Qu 1eb809b011 - enhancement: add Traditional Chinese translation 2022-04-18 11:01:42 +08:00
Roy Qu 312d282501 - fix: crash when eval statements like "fsm::stack fsm;" 2022-04-17 19:49:04 +08:00
Roy Qu 390c403503 batch set cases use problem case's export file's folder as the default folder 2022-04-16 20:43:58 +08:00
Roy Qu f6ac7ad1dc - enhancement: batch set cases ( in problem case table's context menu ) 2022-04-16 20:39:09 +08:00
Roy Qu 076a92fb77 - fix: tab/shift+tab not correctly handled in options dialog's code template page 2022-04-16 20:14:47 +08:00
Roy Qu 9d401cce42 - enhancement: prefer local headers over system headers when complete #include header path 2022-04-14 22:25:49 +08:00
Roy Qu 8c99d28307 fix: can't convert encoding 2022-04-13 23:15:31 +08:00
Roy Qu 85026ad5bf remove debug output 2022-04-13 22:34:27 +08:00
Roy Qu 9254a13d84 - fix: parenthesis skip doesn't work when editing non-c/c++ files 2022-04-13 20:04:10 +08:00
Roy Qu 94a99e983e add Portuguese translation file
update chinese translations
2022-04-13 17:15:30 +08:00
Roy Qu ca0ad3249f - 功能增强:输入'('时,如果下一个非空白字符是'('或者标识符/数字,则不自动补全
- 功能增强:如果项目文件和项目的编码相同,则不保存它的编码信息
 - 修正:在保存文件时,会错误的使用缺省编码而不是文件原有的编码进行保存
2022-04-13 16:42:23 +08:00
Roy Qu d3c780a3a5 - enhancement: F1 shorcut opens offcial website 2022-04-12 14:03:33 +08:00
Roy Qu fa0404117f fix: display bug 2022-04-12 07:48:06 +08:00
Roy Qu 50cca61abc - enhancement: remember current problem set's filename 2022-04-11 17:38:57 +08:00
Roy Qu 9cc51a150d - enhancement: add help link for regular expression in search dialog 2022-04-11 09:39:44 +08:00
Roy Qu b1cc0457ea - fix: hide function tips, when move or resize the main window 2022-04-11 09:25:22 +08:00
Roy Qu fb808f425a update version to 1.0.4 2022-04-09 10:27:14 +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 93d16ab9e4 work save: save as template 2022-04-08 21:15:10 +08:00
Roy Qu 628b247fcb - enhancement: redesigned new project unit dialog 2022-04-08 18:12:40 +08:00
Roy Qu 02910bbe76 Merge branch 'master' of github.com:royqh1979/RedPanda-CPP 2022-04-08 17:45:56 +08:00
Roy Qu 2e0357e652 - enhancement: don't show folders that doesn't contain files in the project view
work save:  - enhancement: redesigned new project unit dialog
2022-04-08 17:22:24 +08:00
Roy Qu c46e3df054 dont auto focus to compile issue table when compile finished 2022-04-07 23:07:00 +08:00
Roy Qu 01662a95d1 - fix: auto syntax check doesn't work for new files
- change: don't auto jump to the first syntax error location when compile
2022-04-07 21:35:09 +08:00
Roy Qu 7e284b98f2 - fix: don't show tips in the editor, when selecting by mouse 2022-04-07 17:30:06 +08:00
Roy Qu f93a57c82d - fix: ctrl+shift+end doesn't select 2022-04-07 15:16:11 +08:00
Roy Qu dd195af311 update translation 2022-04-06 22:24:40 +08:00
Roy Qu 7d86c6e5b1 - fix: crash when editing txt file and input symbol at the beginning of a line 2022-04-03 11:54:07 +08:00
Roy Qu 65b328396c better device ratio support 2022-04-02 18:42:43 +08:00