Commit Graph

1698 Commits

Author SHA1 Message Date
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
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
Roy Qu 9302439fcb - fix: can't compile under linux
- enhancement: support Devcie Pixel Ratio ( for linux )
2022-04-02 18:22:29 +08:00
Roy Qu 13c7ea4d3b update translations 2022-04-01 23:16:13 +08:00
Roy Qu 431f5bbced - enhancement: shift+ctrl+down/up to move currenlt selection lines up / down 2022-04-01 23:10:38 +08:00
Roy Qu 5e349ec21e - fix: when oj problem grabbed by competitive companion received,
the app is restored to normal state, no matter it's current state.
  - enhancement: input shortcut in the option dialog's general -> shortcut page by pressing keys.
2022-04-01 21:09:24 +08:00
Roy Qu f7a6db7005 - change: only auto complete symbol '(' when at line end, or there are spaces or right ')' '}' ']'after it
- fix: mouse drag may fail when start drag at the right half of the selection's last character
2022-03-31 19:36:46 +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 c30164a58a - fix: crash when rename an openned file, and choose "no" when ask if keep the editor open 2022-03-30 23:19:51 +08:00
Roy Qu f08b14978c remove inform dialog for non-ascii char in gdb path 2022-03-30 20:45:08 +08:00
Roy Qu 461df394cb - fix: when open a project, and it's missing compiler set getten reset, it's modification flag is not correctly set. 2022-03-30 20:15:15 +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 6754c014c9 - enhancement: only tag the first inconstantency when running problem case, to greatly reduce compare & display time 2022-03-29 21:41:02 +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 a40c818e54 - enhancement: use icon to indicate missing project files in the project view 2022-03-28 16:57:58 +08:00
Roy Qu 7e0e9873f6 update translations 2022-03-27 16:15:44 +08:00
Roy Qu db4ca7254e - enhancement: slightly reduce start up time 2022-03-27 16:07:51 +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 7c218b7d5a - enhancement: better display when input with IM under column mode
- enhancement: better display current lines under column mode
  - change: test to use utf-8 as the default encoding (prepare to use libclang to implement parser)
2022-03-26 19:10:14 +08:00
Roy Qu 3ba5811edf - enhancement: refine behavior of undo input space char 2022-03-26 11:49:41 +08:00
Roy Qu 225eb1961a - enhancement: press tab in column mode won't exit column mode 2022-03-26 09:54:06 +08:00
Roy Qu 0fc995e56a - enhancement: draw cursor for column mode
- enahcnement: edit/delete in multiline ( column mode), press ese to exit
2022-03-25 22:13:00 +08:00
Roy Qu 8b224010e0 - enhancement: alt+shift+arrow do column selection
- fix: input may cause error, if selection in column mode and begin/end at the same column
  - enhancement: draw selection line if selection in column mode and begin/end at the same column
2022-03-25 12:59:53 +08:00
Roy Qu c979ef1505 - enhacement: alt+shift+arrow do column selection 2022-03-25 10:43:07 +08:00
Roy Qu 96631049eb - fix: goto declaration by ctrl+click will incorrectly select contents 2022-03-24 10:55:17 +08:00
Roy Qu 33f838ef6a - enhancement: switch capslock won't cancel code completion
- enhancement: double click on item in code completion list will use it to complete
2022-03-24 08:24:10 +08:00
Roy Qu a211992256 - enhancement: slightly reduce memory usage for code parser 2022-03-23 14:45:10 +08:00
Roy Qu 5fb877b2ef work save 2022-03-23 14:13:10 +08:00
Roy Qu e80a92c30a make simple functions inline 2022-03-23 12:30:58 +08:00
Roy Qu 373117f277 work save 2022-03-22 21:19:54 +08:00
Roy Qu 59ada398be work save 2022-03-22 20:04:34 +08:00
Roy Qu fad84b23f9 work save 2022-03-22 20:03:53 +08:00
Roy Qu 6e4d36aade - fix: disable code completion doesn't correctly disable project parser 2022-03-22 19:08:26 +08:00
Roy Qu 0e0a87584e fix: crash when open a project that has files not opened in editor 2022-03-22 18:39:53 +08:00
Roy Qu 7b4aa764d3 - fix: the problem & problem set panel can't be correctly , if problem set is enabled 2022-03-22 15:44:27 +08:00
Roy Qu da0be0af98 - enhancement: auto restore mainwindow when open files in one instance 2022-03-21 18:06:47 +08:00
Roy Qu 090cccc033 refactor: remove ProjectUnit's mEditor field 2022-03-21 09:08:05 +08:00
Roy Qu 947374b907 - fix: when editor font is too small, fold signs on the gutter are not correctly displayed
- fix: expand fold signs on the gutter are not correct
2022-03-20 20:56:21 +08:00
Roy Qu 8a911314e1 remove debug info 2022-03-20 18:14:38 +08:00
Roy Qu 4209241dea - fix: when size of undo items is greater than the limit, old items should be poped in group
- enhancement: max undo size in option dialog's editor->misc tab
2022-03-20 18:10:53 +08:00
Roy Qu 12e772747c - enhancement: shortcut for goto definition/declaration
- change: ctrl+click symbol will goto definition, instead of got declaration
2022-03-19 15:33:15 +08:00
Roy Qu fc11f1223b - fix: corresponding '>' not correctly removed when deleting '<' in #include line 2022-03-19 14:26:06 +08:00
Roy Qu b0c8526d97 - fix: order for parameters generated by auto link may not correct 2022-03-19 14:19:32 +08:00
Roy Qu 49297431b6 - enhancement: press alt to switch to column selection mode while selection by mouse dragging in editor 2022-03-19 10:27:31 +08:00
Roy Qu 2e77734d67 remove nouse debug output 2022-03-18 23:17:01 +08:00
Roy Qu ab4ca36fa4 - fix: hide function tip when scroll
- fix: short cut for goto definition/declaration doesn't work
2022-03-18 23:13:43 +08:00
Roy Qu d840622b58 - fix: only convert project icon file when it's filename doesn't end with ".ico" 2022-03-18 19:14:19 +08:00
Roy Qu 49080b88e1 - change: remove shortcuts for line/column mode 2022-03-17 20:57:43 +08:00
Roy Qu 12edcb22a5 - fix: correctly reparse modified project files when rename symbol 2022-03-17 20:28:03 +08:00
Roy Qu da05088f40 update translations 2022-03-17 18:30:04 +08:00
Roy Qu 23f34af034 - enhancement: auto convert project icon to ico format 2022-03-17 17:07:28 +08:00
Roy Qu 55126ebebe - fix: create file in the files view should auto scroll to the new created file 2022-03-17 15:17:04 +08:00
Roy Qu 8cbcbb4b98 - fix: hits in the search view not correctly displayed (overlapped with others) 2022-03-17 15:09:48 +08:00
Roy Qu 5d6bf0dbb5 - enhancement: create file in files view 2022-03-17 10:46:24 +08:00
Roy Qu 8e00d50d1e - enhancement: ctrl+enter insert a new line at the end of current line 2022-03-16 21:13:59 +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 eb2e2bb58f - fix: switch disassembly mode doesn't update contents 2022-03-16 19:48:20 +08:00
Roy Qu 69ca9f3a79 fix: definite loop when show tip for rand 2022-03-16 16:36:25 +08:00
Roy Qu 47212c2716 - fix: parse error in avxintrin.h
- fix: infinite loop when searching for using alias
2022-03-16 16:24:39 +08:00
Roy Qu 0fd70d7ab6 - fix: wrong font size of exported HTML file 2022-03-15 21:38:33 +08:00
Roy Qu 54592276c8 - fix: wrong font size of exported RTF file
- fix: correct tokenize statements like "using ::memcpy";
2022-03-15 21:33:27 +08:00
Roy Qu d45c0b87b3 - fix: "ok" button should be disabled when no template selected in new project dialog
- enhancement: auto add parentheis when complete function like MARCOs
2022-03-15 20:17:47 +08:00
Roy Qu 021880b746 - fix: error when delete contents in column mode on lines that has wide-chars
- fix: error when create folder in files view
2022-03-15 15:34:34 +08:00
Roy Qu 469c5f21d3 - fix: error when insert text in column mode 2022-03-15 13:44:18 +08:00
Roy Qu b56f549cf4 - enhancement: close editor when middle button clicked on it's title tab 2022-03-15 12:29:56 +08:00
Roy Qu 0d4b7d0d4d minor change 2022-03-15 00:24:10 +08:00
Roy Qu 65beccdbd1 Merge branch 'master' of github.com:royqh1979/RedPanda-CPP
# Conflicts:
#	NEWS.md
2022-03-15 00:20:33 +08:00
Roy Qu 5a338ef892 - fix: correctly reset caret when redo cut with no selection 2022-03-15 00:15:35 +08:00
Roy Qu 1a0267de7b - fix: when no selection, copy/cut should auto select whole line with the line break 2022-03-14 23:55:02 +08:00
Roy Qu 265422a50d - enhancement: **Linux** convert to "gbk"/"gb18030" encodings when run under "zh_CN" locale 2022-03-13 20:54:50 +08:00
Roy Qu 79b8478af3 - enhancement: match bracket 2022-03-13 18:45:48 +08:00
Roy Qu dd5ce57608 - enhancement: disable "code completion" will disable enhanced syntax highlight 2022-03-13 18:31:05 +08:00
Roy Qu 0286043cd7 - fix: syntax color of #include header filenames not correct 2022-03-12 21:42:32 +08:00
Roy Qu 35068cb3ed - enhancement: toggle block comment 2022-03-12 18:15:37 +08:00
Roy Qu 9eac0fed26 - fix: wrong selection when drag & dropped in editor 2022-03-12 18:03:52 +08:00
Roy Qu 5789aeee45 - enhancement: auto detect "gbk" encoding when running in zh_CN locale under Linux
- enhancement: disable encoding submenu when editor closed
  - enhancement: clear infos in the status bar when editor closed
2022-03-12 17:37:53 +08:00
Roy Qu c563a32be1 - fix: batch replace in file doesn't respect item check states in the find panel 2022-03-11 21:12:44 +08:00
Roy Qu 416023dc60 - enhancement: optimize startup time 2022-03-11 20:51:33 +08:00
Roy Qu 42af39d28f - enhancement: adjust tab order in the find dialog
- enhancement: highlight hits in the find panel's result list
2022-03-11 17:13:07 +08:00
Roy Qu ff1d3abc16 enhancement: minor change of file/replace 2022-03-11 11:30:06 +08:00
Roy Qu 70d47ab5de fix: app version 2022-03-10 21:26:39 +08:00
Roy Qu 1b240f21ee - fix: Refresh files view shouldn'tchange open/save dialog's default folder
- enhancement: "locate in files view" will request user's confirmation when change the working folder
2022-03-10 20:28:01 +08:00
Roy Qu 4c8bed0445 - fix: calculation for code snippets's tab stop positions is not correct 2022-03-10 15:05:16 +08:00
Roy Qu 4cf9c2845a - fix: calculation for code snippets's tab stop positions is not correct 2022-03-10 14:58:53 +08:00
Roy Qu 6a05496b6f - fix: calculation for code snippets's tab stop positions is not correct 2022-03-10 13:07:07 +08:00
Roy Qu 226ed6f406 change version to 1.0.0 2022-03-10 12:21:03 +08:00
Roy Qu dad39f6f74 - change: "locate in files view" won't change the working folder, if current file is in subfolders of the working folder
- enhancement: hide function tips, when input method is visible
2022-03-10 12:15:44 +08:00
Roy Qu 44d5453263 - enhancement: use expression processing in syntax highlighting for identifiers
- fix: if a function's declaration can't be found, it will be wrongly highlighted as variable
2022-03-08 22:29:15 +08:00
Roy Qu 2a84679f7c - fix: save project's layout shouldn't modify the project file 2022-03-08 20:36:30 +08:00
Roy Qu fa9916e28e - enhancement: symbol completion when editor has selection 2022-03-07 21:53:52 +08:00
Roy Qu 81f404d63c - fix: crash when open a project that contains custom folder 2022-03-07 21:10:59 +08:00
Roy Qu b436312d19 - fix: undo one symbol completion as a whole operation 2022-03-07 20:51:56 +08:00
Roy Qu 1b8f3de21f - fix: calculation of caret position is not in consistence. 2022-03-07 20:30:45 +08:00
Roy Qu dafac73e12 - fix: the scroll behavior of mouse dragging on the editor's edge is not correct 2022-03-04 19:10:09 +08:00
Roy Qu 82ecab9c90 - enhancement: reduce startup time by about 1 second.
- enhancement: add option "mouse selection/drag scroll speed" in the options dialog's "Editor" / "general" tab.
  - fix: scroll speed of mouse selection/drag is too fast.
2022-03-04 19:04:45 +08:00
Roy Qu 96de964484 - enhancement: better support of ligatures
- enhancement: use the expression evaluation logic to handle "goto declaration"/"goto definition"
2022-03-04 16:40:16 +08:00
Roy Qu df7aba015d work save: editor token paint route redesign 2022-03-04 12:12:26 +08:00
Roy Qu 6a6f1a68e0 - enhancement: better processing of symbol completion 2022-03-02 15:45:43 +08:00
Roy Qu d93a41e496 - fix: menu font size is wrong when dpi changed 2022-03-02 15:17:09 +08:00
Roy Qu ecf567b13f update: redo/undo 2022-03-02 11:31:03 +08:00
Roy Qu 74efa484be - enhancement: group undo will stop at spaces 2022-03-01 23:35:01 +08:00
Roy Qu ee59d80bdb - enhancement: enable group undo
- enhancement: add option "hide symbols start with underscore" and "hide synbols start with two underscore"
  - fix: can't rename project files that not openned in editor
  - fix: dpi changes in CPU window shouldn't affect main window
2022-03-01 22:03:54 +08:00
Roy Qu 82d812b6eb - fix: crash when copy to non-c files
- fix: fonts in cpu window is not correctly set, when dpi changed
2022-03-01 18:11:15 +08:00
Roy Qu afec4355bd - fix: can't correctly set break conditions 2022-03-01 08:13:51 +08:00
Roy Qu cc0b209e2f - enhancement: option "open files in the same red panda C++ instance", in options->environment->file associations
- enhancement: hide unsupported files in files view
2022-02-28 22:40:09 +08:00
Roy Qu 636e05f505 - fix: the "gnu c++ 20" option in compiler set options is wrong 2022-02-26 20:29:19 +08:00
Roy Qu 14241450cc Only detect git when first run 2022-02-26 19:42:50 +08:00
Roy Qu 030486ef01 update git ask pass for linux 2022-02-26 19:36:18 +08:00
Roy Qu 6a622f907e git askpass for linux 2022-02-26 18:50:07 +08:00
Roy Qu ad20f8df3f fix: path may not correct when decide if a file is in repository 2022-02-25 21:32:48 +08:00
Roy Qu 2084990491 add dialog to set git user infos 2022-02-25 11:07:30 +08:00
royqh1979@gmail.com 8365db47a0 - enhancement: git - pull / push / fetch 2022-02-24 23:31:48 +08:00
royqh1979@gmail.com 162121efa2 - enhancement: let user choose app theme when first run 2022-02-24 17:33:19 +08:00
royqh1979@gmail.com cbd718dcfe - enhancement: rename "open folder" to "choose working folder" 2022-02-24 16:47:05 +08:00
royqh1979@gmail.com 0764c9afbc - enhancement: git - remotes 2022-02-24 11:07:37 +08:00
Roy Qu 49a96e4c5b work save 2022-02-24 07:22:44 +08:00
Roy Qu 735eb92a13 optimize git log speed 2022-02-23 19:25:34 +08:00
royqh1979@gmail.com 205d517fcd - enhancement: clear history in file -> recent menu
- enhancement: close project in project view's context menu
  - enhancement: auto find compiler sets when run for the first time
2022-02-23 13:17:57 +08:00
royqh1979@gmail.com ed7f3d971e work save: git reset 2022-02-22 17:12:54 +08:00
royqh1979@gmail.com 18c9f62787 - fix: header completion error when header name contains '+' 2022-02-22 15:38:40 +08:00
Roy Qu b664094efc - fix: error in templates
- enhancement: git - reset
2022-02-22 09:16:20 +08:00
Roy Qu 13993bbc3c - enhancement: git - log 2022-02-21 23:35:28 +08:00
royqh1979@gmail.com 50197f88da update translations 2022-02-21 11:39:24 +08:00
royqh1979@gmail.com 049df39411 add icons for conflict 2022-02-21 11:37:29 +08:00
royqh1979@gmail.com 56d8616a5f fix: error in icons
fix: icons in files view not changed, when icon set is changed
 work save: git merge and branch
2022-02-21 09:48:04 +08:00
Roy Qu 63b277d843 - fix: left and bottom panel size not correct when DPI changed 2022-02-20 22:36:12 +08:00
Roy Qu 7cc5cf4f45 work save: git - merge 2022-02-20 21:47:57 +08:00
Roy Qu 45bb056713 - enhancement: git - merge 2022-02-20 13:26:15 +08:00
Roy Qu 47e4fee047 update translations 2022-02-19 20:44:22 +08:00
Roy Qu 3bff1b46b6 - enhancement: git - branch / switch 2022-02-19 20:38:08 +08:00
Roy Qu 5219ffc711 update file icons in high contrast 2022-02-16 21:16:10 +08:00
Roy Qu a276368fb2 Merge branch 'master' of github.com:royqh1979/RedPanda-CPP
# Conflicts:
#	RedPandaIDE/mainwindow.cpp
2022-02-16 20:00:03 +08:00
royqh1979@gmail.com 79edb0829a - enhancement: when add files to project, auto add it to git (if the project has a git repository) 2022-02-16 16:27:09 +08:00
Roy Qu 480c3b9da5 auto add project files when init repository 2022-02-16 13:02:56 +08:00
Roy Qu a2289463f9 - fix: compiler set index not correctly saved, when remove compiler sets in options dialog 2022-02-15 22:45:14 +08:00
Roy Qu c58b76d7cd fix: git auto found not correctly saved 2022-02-15 22:26:24 +08:00
Roy Qu 6177398ce6 - enhancement: git - restore 2022-02-15 21:39:17 +08:00
Roy Qu d09c101dd6 Merge branch 'git' 2022-02-15 17:23:07 +08:00
Roy Qu b5acf15467 work save: commit 2022-02-15 17:22:44 +08:00
royqh1979@gmail.com 54afa319a7 - enhancement: custome icons for project view 2022-02-15 17:01:36 +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 de230c63c7 add icons 2022-02-14 09:53:16 +08:00
Roy Qu 0d71282a1a work save: icons for files tracked by git 2022-02-14 00:13:00 +08:00
Roy Qu 76ea34709d add icons for vcs 2022-02-13 21:50:20 +08:00
Roy Qu 8b2d500e0e Merge branch 'master' into git 2022-02-13 20:12:36 +08:00
Roy Qu ee658b291f icon for project file 2022-02-13 20:12:20 +08:00
Roy Qu 409091d52b - enhancement: custome icons for project view 2022-02-13 20:08:18 +08:00
Roy Qu 62e51d166c Merge branch 'master' into git
# Conflicts:
#	NEWS.md
2022-02-11 21:55:20 +08:00
Roy Qu 22a96d4c31 add icons for git 2022-02-11 21:53:47 +08:00
Roy Qu e53e854c91 - enhancement: replace Files View Panel's path lineedit control with combo box 2022-02-11 20:57:01 +08:00
Roy Qu 66cd470d8f - fix: wrong code completion font size, when screen dpi changed
- enhancement: replace Files View Panel's path lineedit control with combo box
2022-02-11 20:29:02 +08:00
Roy Qu bf25853da1 - fix: wrong code completion font size, when screen dpi changed
- enhancement: replace Files View Panel's path lineedit control with combo box
2022-02-11 20:19:48 +08:00
Roy Qu 71e885f941 - fix: huge build size for c++ files 2022-02-11 14:04:18 +08:00
royqh1979@gmail.com 7b7caecf4f Merge branch 'master' into git
# Conflicts:
#	NEWS.md
2022-02-11 09:55:59 +08:00
royqh1979@gmail.com cb0fd24ebe - fix: can't read project templates when path has non-ascii chars 2022-02-11 09:32:43 +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 b0bd6475cd Merge branch 'master' into git 2022-02-09 21:06:45 +08:00
Roy Qu 52e9a49b3a Merge branch 'projectview' 2022-02-09 20:50:10 +08:00
Roy Qu d81740257a fix: crash when there are catch block in the upper most scope 2022-02-09 20:50:01 +08:00
Roy Qu e53a66614d work save 2022-02-09 20:10:28 +08:00
Roy Qu 149148a635 work save
- basic git operations
2022-02-09 14:58:39 +08:00
Roy Qu 18d5a6c1ab initial work
- settings for git execute path
 - a git manager
2022-02-08 23:38:29 +08:00
Roy Qu cc43ac245a fix: delete multiple files in files view 2022-02-08 16:48:50 +08:00
Roy Qu acbbae24c6 - enhancement: remove / rename / create new folder in the files view 2022-02-08 16:36:20 +08:00
Roy Qu c7a9698c4b - enhancement: file system view mode for project 2022-02-08 12:33:10 +08:00
Roy Qu 9e5ce0a8ba work save 2022-02-08 00:24:08 +08:00
Roy Qu 7ebcc2d635 rename ProjectModel to ProjectLegacyModel 2022-02-07 22:05:19 +08:00
Roy Qu 6cbab4a646 - fix: typo error in the parser
- fix: typing after symbols like 'std::string' shouldn't show code completion suggestions
2022-02-07 09:53:02 +08:00
Roy Qu 3831c72558 fix: icons in contrast icon set not correctly drawn 2022-02-05 22:26:02 +08:00
Roy Qu 6b64927b94 update autolink settings for winsock 2 2022-02-05 00:55:57 +08:00
Roy Qu 785fe03e24 - fix: when running problem cases, the output textbox might be wrongly cleared. 2022-02-04 19:19:35 +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
Roy Qu 79aecde9a5 - fix: when running problem cases, the output textbox might be wrongly cleared. 2022-02-04 18:51:46 +08:00
Roy Qu 7e2a51b65f fix: CustomDisabledIconEngine's clone() not correct 2022-02-03 21:46:53 +08:00
Roy Qu 494832220a - fix: can't differentiate disabled and enabled buttons, when using contrast icon set 2022-02-03 21:44:45 +08:00
Roy Qu 1574ddd743 - fix: actions not correctly disabled when compile 2022-02-03 20:48:11 +08:00
Roy Qu bf422ad419 - fix: editor's font size set by ctrl+mouse wheel will be reset by open the option dialog 2022-02-03 07:45:59 +08:00
Roy Qu 50a39a08c7 remove all whatsthis button in dialog's titlebar 2022-02-02 17:34:37 +08:00
Roy Qu 9e3f593641 - enhancement: theme now have default icon set
- fix: wrong icons for file associations
2022-02-01 21:39:31 +08:00
royqh1979@gmail.com 476899022f - enhancement: new contrast icon set, contributed by Alan-CRL
- enhancement: new contrast theme, contributed by Alan-CRL
2022-02-01 20:38:52 +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 5eb5c4d58b - enhancement: show caret at once, when edition finished 2022-02-01 14:09:27 +08:00
royqh1979@gmail.com c13ab76e73 work save 2022-01-31 11:57:33 +08:00
royqh1979@gmail.com c90d0f93ab minor change 2022-01-31 11:52:02 +08:00
Roy Qu fffa210a69 - enhancement: new sky blue icon set, contributed by Alan-CRL 2022-01-30 00:22:49 +08:00
Roy Qu 428a079b7f auto generate qrc files for iconsets, color schemes and themes 2022-01-30 00:01:15 +08:00
Roy Qu b76dcd89b1 update contributors and version number 2022-01-29 17:03:45 +08:00
royqh1979@gmail.com 33fb14db74 fixes: translation files can't be auto built 2022-01-29 00:12:12 +08:00
royqh1979@gmail.com 2cac889c92 - enhancement: show custom theme folder in options dialog -> enviroment -> folders 2022-01-28 23:38:35 +08:00
Roy Qu 4a06534d39 - enhancement: display localized theme name in the option dialog 2022-01-28 20:05:55 +08:00
Roy Qu e58ca80282 - fix: failed to show function tip, when there are parameters having '[' and ']'
- refactor iconmanager
2022-01-28 19:30:50 +08:00
Roy Qu 458b87ea64 remove qm file from sources (it should be generated by qmake) 2022-01-28 18:18:34 +08:00
royqh1979@gmail.com aeb1c36f07 - enhancement: custom theme 2022-01-28 16:13:20 +08:00
Roy Qu af4a872024 qt 5.12 compatible 2022-01-28 11:10:53 +08:00
Roy Qu 43bac6761b beautify icons 2022-01-28 10:19:54 +08:00
royqh1979@gmail.com a9f7cdd0e6 add timeout for flushing output buffer when running problem cases 2022-01-28 08:21:56 +08:00
royqh1979@gmail.com c45e0db7c7 beautify icons 2022-01-28 01:08:00 +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 f298cc7b47 - fix: mainwindow action's short cut doesn't work, if the action is not in menu or toolbar 2022-01-27 23:48:46 +08:00
Roy Qu 0c2d569cb9 add icon for local var 2022-01-27 21:47:21 +08:00
Roy Qu 00da09199b refine code completion ui 2022-01-27 21:27:51 +08:00
Roy Qu 771ccec745 - enhancement: code completion ui redesigned 2022-01-27 20:31:44 +08:00
Roy Qu 656ab3eaed auto save new class dialog widht/height 2022-01-27 18:46:37 +08:00
Roy Qu 620bdc8266 - fix: code folding calcuation not correct when some codes are folded and editing after them 2022-01-27 18:34:18 +08:00
Roy Qu 76dcd8b41f work save 2022-01-27 17:29:50 +08:00
royqh1979@gmail.com e1631c211a - enhancement: show custom icon set folder in options -> enviroment -> folders 2022-01-27 12:47:57 +08:00
royqh1979@gmail.com 15c6282c36 - make custom icons copied from resource writable 2022-01-27 12:33:00 +08:00
royqh1979@gmail.com f50eb61098 - enhancement: custom icon set ( in the configuration folder) 2022-01-27 12:08:57 +08:00
Roy Qu b114eb216c - enhancement: code completion find words with char in the middle 2022-01-27 01:03:01 +08:00
Roy Qu 8e179dd659 fix: shouldn't reset DPI when window is reshown 2022-01-26 22:53:15 +08:00
Roy Qu 99a47db9bc - enhancement: correct handle windows dpi change event 2022-01-26 21:36:31 +08:00
Roy Qu 5a82da83fb fix: dead loop when parsing function tips 2022-01-26 14:45:21 +08:00
Roy Qu a7557899d1 - enhancement: setting non-ascii font for editors 2022-01-26 14:31:26 +08:00
Roy Qu 894e587f7d - enhancement: show parameter tips for class constructors
- enhancement: when there are tips showing, don't show mouse tips
2022-01-26 12:17:15 +08:00
Roy Qu 83a4277e68 - fix: static members are not correct showed after Classname + '::' 2022-01-25 16:11:16 +08:00
Roy Qu ca9006ff4f - fix: can't show private & protected members of 'this'
- fix: function name like 'A::B' is not correctly parsed
2022-01-25 13:53:55 +08:00
Roy Qu eff521ed21 - fix: code completion popup won't show members of 'this' 2022-01-25 13:09:36 +08:00
Roy Qu 67f8629be3 - fix: when copy comments, don't auto indent
- enhancement: auto add a new line when press enter between '/*' and '*/'
2022-01-25 12:29:44 +08:00
Roy Qu db9f0f0219 change shortcuts 2022-01-25 11:11:38 +08:00
Roy Qu 0e620381d3 remove debug output 2022-01-24 21:46:38 +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
Roy Qu d0faf50bad remove debug output 2022-01-24 18:39:06 +08:00
Roy Qu e89ac58462 - enhancement: auto zoom ui when screen's zoom factor changed (windows) 2022-01-24 18:37:16 +08:00
Roy Qu 1135fcf7dd - fix: search around option can't be disabled
- enhancement: show a confirm dialog when search/replace around
2022-01-24 18:03:35 +08:00
Roy Qu 05e7d42447 - fix: crash if compiler set's include dir list is not empty and lib dir list is empry 2022-01-24 16:45:43 +08:00
Roy Qu 3c132d69f3 - fix: if editor's active line color is disabled, caret's position may not be correct redrawn 2022-01-24 16:20:16 +08:00
Roy Qu 2c8a7d29dd - fix: indent lines displayed at wrong position, when there are folded lines 2022-01-24 16:08:24 +08:00
Roy Qu f21eded1ad - fix: when open a file, all blank lines's indents are removed. 2022-01-24 15:41:23 +08:00
royqh1979@gmail.com 4797c15b04 - enhancement: add exec charset option to compiler set settings 2022-01-24 11:23:30 +08:00
royqh1979@gmail.com 722d02d688 - fix: project files' charset settings doesn't work correctly 2022-01-24 09:24:43 +08:00
royqh1979@gmail.com d9f36ae3cd work save: fix project file encoding setting
compiler set - exec charset setting
2022-01-24 01:08:47 +08:00
Roy Qu 609f611e8f - enhancement: highlighter for GLSL (OpenGL Shading Language) 2022-01-23 23:27:48 +08:00
Roy Qu 194dd3f3e4 - fix: Undo in the editor will lose line indents when no highlighter is assigned (the editing file is a not c/cpp source file); 2022-01-23 21:28:27 +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 df323d30c8 - fix: ctrl+click on the enum value will jump to the wrong line in it's definition file
- fix: line info in the mouse tip of statement not correct
2022-01-22 21:07:41 +08:00
Roy Qu c595b6e9da - fix: app crash when ctrl+click on a #include statement that point to a directory instead of header file. 2022-01-21 19:32:12 +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 e161ec42ae - fix: app will become very slow when processing very long lines. 2022-01-19 23:43:25 +08:00
Roy Qu 39f8c98a66 work savw 2022-01-18 21:03:43 +08:00
Roy Qu 02813587fd - fix: when show function tips, can't correctly calcuate the current position in the function param list 2022-01-18 20:31:07 +08:00
Roy Qu 3fca3e7216 fix: parser not correct initialized with the default compiler set 2022-01-18 13:29:48 +08:00
Roy Qu 52a29a4d43 - change: symbols that exactly match are sorted to the front in the code suggestion popup list
- fix: symbols defind locally should be sorted to the front in the code suggestion popup list
2022-01-18 13:23:21 +08:00
Roy Qu 5b699f2b46 - change: symbols that exactly match are sorted to the front in the code suggestion popup list 2022-01-18 13:08:53 +08:00
Roy Qu 532ba4917e - fix: If project's compiler set is not the same with the default compiler set, parser for the project doesn't use the project's compiler set
- fix: If project's compiler set is not the same with the default compiler set, auto openned project's file will use wrong compiler set to do syntax check.
2022-01-18 12:41:11 +08:00
Roy Qu 7602f3e6be - enhancement: restore editor position after rename symbol
- enhancement: restore editor position after reformat code
2022-01-17 12:34:51 +08:00
Roy Qu 264cb5ed1c Merge branch 'master' of github.com:royqh1979/RedPanda-CPP 2022-01-17 09:47:00 +08:00
royqh1979@gmail.com a1f297841a work save: application icons 2022-01-17 09:11:21 +08:00
Roy Qu b26201d166 work save: package script for windows 2022-01-16 15:08:54 +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 6be9190a8a - enhancement: better behavior of mouse tips 2022-01-15 11:33:41 +08:00
Roy Qu 04770a6fd8 - enhancement: better behavior of mouse tips 2022-01-15 11:22:20 +08:00
Roy Qu bf17e494fd fix: variable names containing '_' are not correctly handled 2022-01-15 11:01:01 +08:00
Roy Qu a102ee73fa - fix: wrong project program directory parameter is sent to the debugger 2022-01-13 20:19:47 +08:00
Roy Qu 82bbd7a846 fix: If a project is auto openned when start, close app will cause dead lock. 2022-01-13 17:15:57 +08:00
Roy Qu 0875d15d67 - fix: project's icon setting is not correctly saved
- fix: project's type setting won't be saved
  - fix: If project's compiler set is not the same with the default compiler set, auto openned project's file will use wrong compiler set to do syntax check.
  - fix: open a project file through "File"->"Open" will not correctly connect it with the project internally
2022-01-13 16:47:48 +08:00
Roy Qu bab728e792 - enhancement: add "wrap around" option to find/replace 2022-01-13 12:55:55 +08:00
Roy Qu a3e4f333ab - enhancement: ctrl+up/down scrolls in the editor 2022-01-13 07:39:56 +08:00
Roy Qu 1a6bd602c4 - fix: caret dispears when at '\t' under Windows 7 2022-01-12 22:25:57 +08:00
Roy Qu 19fc3302ed - fix: caret dispears when at '\t' under Windows 7 2022-01-12 22:21:40 +08:00
Roy Qu eefb65bcb4 - fix: parser can't correctly handle variable definitions that don't have spaces like 'int*x';
- fix: parser can't correctly handle function parameters like 'int *x'
2022-01-12 20:59:28 +08:00
Roy Qu 454df24e08 work save 2022-01-12 19:25:37 +08:00
Roy Qu 797a9b8498 - enhancement: redirect stdio to a file while debugging ( must use gdb server mode to debug) 2022-01-12 18:47:50 +08:00
Roy Qu 351f4e86ed clear up debug codes 2022-01-12 18:35:14 +08:00
Roy Qu 995b734334 - fix: crash when refactor symbol and cursor is at the end of the identifier
- fix: refactor symbol doesn't work for 1-length identifiers
2022-01-12 18:07:52 +08:00
Roy Qu d8413ab76c - enhancement: modify values in the watch view by double click 2022-01-12 17:14:39 +08:00
Roy Qu 3ca1a9fc4c - enhancement: modify values in the memory view while debugging
- enhancement: auto update watch, local and memory view after expression evaluated
  - enhancement: auto update watch, local and memory view after memory modified
2022-01-11 22:29:03 +08:00
Roy Qu 8edace1c1d - enhancement: add "minimum id length required to show code completion" to the options dialog's editor code completion page 2022-01-10 21:46:03 +08:00
Roy Qu 3d9edcad57 - enhancement: support ligatures in fonts like fira code ( disabled by default, can be turned on in options dialog's editor font page) 2022-01-10 20:16:26 +08:00
Roy Qu 0e0f954bec - enhancement: if there's no selection when copy/cut, select currect line by default 2022-01-10 18:37:00 +08:00
Roy Qu 5eec4ea504 remove info output for debugging
modification to the about info
2022-01-10 14:48:01 +08:00
Roy Qu c56b6c5414 add more templates 2022-01-10 10:53:16 +08:00
Roy Qu e30fa7bc0c - fix: crash when closing the options dialog under Ubuntu 20.04 LTS ( no memory leak now) 2022-01-09 17:42:23 -08:00
Roy Qu 9ea32df675 work save 2022-01-09 16:36:30 -08:00
Roy Qu 6849a10fbc work save 2022-01-09 16:35:57 -08:00
Roy Qu cd96297c35 update version to 0.13.2 2022-01-09 22:12:10 +08:00
Roy Qu 7fa4b072d0 - fix: "delete and exit" button in the environtment / page option page doesn't work correctly 2022-01-09 21:54:59 +08:00
Roy Qu 2204ac8ea1 make descriptions in the new dialog selectable 2022-01-09 19:50:56 +08:00
Roy Qu ece9737863 - enhancement: add raylib to autolinks
- enhancement: distribute raylib with integrated gcc
2022-01-09 19:44:49 +08:00
Roy Qu 6a7789ff77 - enhancement: add raylib to autolinks
- enhancement: distribute raylib with integrated gcc
2022-01-09 19:33:34 +08:00
Roy Qu 7f3aea5940 - fix: new project dialog's tab bar should fill all empty spaces 2022-01-08 21:49:09 +08:00
Roy Qu 9775ab6c84 - enhancement: auto save/restore size of the new project dialog 2022-01-08 21:23:20 +08:00
Roy Qu 7a22bacd0c update version number 2022-01-08 13:51:34 +08:00
Roy Qu 04b18b1648 - fix: .rc file shouldn't be syntax checked 2022-01-08 13:39:47 +08:00
Roy Qu 6bc943ba9c - enhancement: suppoort localization info in project templates
- change: template / project files use utf-8 encoding instead of ANSI
2022-01-08 11:46:39 +08:00
Roy Qu 2d9472d179 fix: when drop project file to an empty folder, an additional blank row is displayed in that folder 2022-01-08 10:48:26 +08:00
Roy Qu 96f8804edd enhancement: sort folders before files in project view 2022-01-08 08:52:50 +08:00
Roy Qu 13ee2d7f33 - enhancement: auto sort files in the project view 2022-01-07 19:20:42 +08:00
Roy Qu 01d986170f update translations 2022-01-06 21:26:56 +08:00
Roy Qu 8732f7d37e - fix: shouldn't auto add /bin/gcc to compiler sets
- fix: if a dir duplicates in PATH, don't add it to compiler sets
repeatedly
- enhancement: add "--sanitize=address" to compile option in the Debug
compiler set in Linux
2022-01-06 20:46:27 +08:00
Roy Qu 3b0c8eccdb - enhancement: add raylib.h to autolink
- fix: shouldn't generate default autolink settings in linux
2022-01-06 17:52:52 +08:00
Roy Qu b604e0d548 - fix: crash when close settings dialog in Ubuntu 20.04 (but we'll leak memory now...) 2022-01-05 05:03:50 -08:00
Roy Qu e3b9565b84 support PREFIX in qmake script 2022-01-05 09:08:44 +08:00
Roy Qu 1859558864 work save 2022-01-05 08:18:47 +08:00
Roy Qu 95168077b9 Merge branch 'master' of github.com:royqh1979/RedPanda-CPP 2022-01-04 20:52:10 +08:00
Roy Qu dd91facca4 use qterminal as the default terminal emulator 2022-01-04 19:43:23 +08:00
Roy Qu 60c93d2f39 Merge branch 'master' of github.com:royqh1979/RedPanda-CPP 2022-01-04 18:05:23 +08:00
Roy Qu cc1e384001 fix: split command infinite loop 2022-01-04 17:04:03 +08:00
Roy Qu bb6a4ed9c8 qt 5.12 compatibility 2022-01-04 16:50:54 +08:00
Roy Qu 62a95eb305 Merge branch 'master' of github.com:royqh1979/RedPanda-CPP 2022-01-04 10:09:34 +08:00
Roy Qu a79b277d81 remove files that invalidate debian's package rules 2022-01-04 08:27:15 +08:00
Roy Qu 5410701c02 change chinese translations 2022-01-03 21:45:02 +08:00
Roy Qu ea9056d8f8 add new icon 2022-01-03 20:22:09 +08:00
Roy Qu 1d48991d20 - fix: debugger's "continue" button not correctly disabled 2022-01-03 20:18:53 +08:00
Roy Qu 69e5e76a6f work save 2022-01-02 11:43:23 +08:00
Roy Qu 212fdc37b2 - enhancement: assign a not saved editor to a problem 2022-01-02 10:37:00 +08:00
Roy Qu 1cc36564de - enhancement: open the corresponding source file from problem's context menu 2022-01-01 21:04:17 +08:00
Roy Qu d51f60b40b - fix: problem cases doesn't use svg icons
- fix: problem's title info not updated after running cases
2022-01-01 17:24:18 +08:00
Roy Qu 7aae4714a0 update version to 0.12.6 2022-01-01 09:47:07 +08:00
Roy Qu 2319034be4 - fix: heartbeat for gdb server async command shouldn't disable actions 2022-01-01 09:17:12 +08:00
Roy Qu 02cba8e03c - rename to Red Pand C++ 2021-12-30 19:25:47 +08:00
Roy Qu 158155d539 use custom astyle 2021-12-30 10:06:27 +08:00
Roy Qu ad652580ab Merge branch 'master' of github.com:royqh1979/RedPanda-CPP 2021-12-30 09:05:15 +08:00
Roy Qu 2936f688dd linux qmake 2021-12-30 09:04:51 +08:00
Roy Qu c4e5eac0f8 qmake for linux 2021-12-30 08:59:10 +08:00
Roy Qu 13c79bb55d - enhancement: detach pausing console window
- use "-var-update" gdb command instead of "noop"
2021-12-29 22:03:18 +08:00
Roy Qu 88c5c836a6 - enhancement: redirect input to program in Linux 2021-12-29 19:15:50 +08:00
Roy Qu 3be06fe586 - fix: wrong executable filename for source files in linux
- enhancement: console pauser for linux
2021-12-29 13:16:03 +08:00
Roy Qu cef2b66a59 - fix: open terminal in linux 2021-12-28 08:49:31 +08:00