Commit Graph

1463 Commits

Author SHA1 Message Date
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