Commit Graph

436 Commits

Author SHA1 Message Date
Roy Qu 1574ddd743 - fix: actions not correctly disabled when compile 2022-02-03 20:48:11 +08:00
royqh1979@gmail.com 425b4a4e96 fix: crash while delete headers created by new header dialog 2022-02-01 16:17:28 +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
royqh1979@gmail.com aeb1c36f07 - enhancement: custom theme 2022-01-28 16:13:20 +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 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
royqh1979@gmail.com f50eb61098 - enhancement: custom icon set ( in the configuration folder) 2022-01-27 12:08:57 +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 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 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
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
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 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 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 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 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 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 e3b9565b84 support PREFIX in qmake script 2022-01-05 09:08:44 +08:00
Roy Qu 1d48991d20 - fix: debugger's "continue" button not correctly disabled 2022-01-03 20:18:53 +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 02cba8e03c - rename to Red Pand C++ 2021-12-30 19:25:47 +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 cef2b66a59 - fix: open terminal in linux 2021-12-28 08:49:31 +08:00
royqh1979@gmail.com 96ab0890ba - fix: watch and local infos not updated when changing current frame in the call stack panel
- enhancement: pause the debugging program (The debugger should work under gdb server mode, which is turned off by default in windows)
2021-12-27 10:59:04 +08:00
royqh1979@gmail.com 317db42876 add license information 2021-12-26 23:18:28 +08:00
Roy Qu 1fe9be9791 add app library path 2021-12-26 15:08:54 +08:00
Roy Qu 4f61797a50 fix: crash when close debugger 2021-12-25 20:02:53 +08:00
Roy Qu f52ea9dcab fix: gdb server can be correctly stopped 2021-12-25 19:22:29 +08:00
Roy Qu f2504e1f43 add options for gdb server
debug with gdb server
2021-12-25 18:09:50 +08:00
Roy Qu 9fc4b0ff09 - enhancement: run programs in terminal (under Linux)
- fix:  monospace font doesn't exists under Debian Linux
 - fix: files are readonly when opened in editor
2021-12-25 08:23:52 +08:00
Roy Qu 7f4840a299 basic linux compatibily 2021-12-24 23:18:20 +08:00
Roy Qu 655bad6715 - enhancement: select icon sets in options dialog ( but we have only 1 icon set now...) 2021-12-24 09:17:28 +08:00
Roy Qu b956dbbcab - enhancement: enable run/debug/compile when console program finished but pausing. 2021-12-23 17:07:27 +08:00
Roy Qu a50c6af5de fix: correctly set states for buttons in cpu dialog 2021-12-23 09:17:27 +08:00
Roy Qu b5a450312a - refactor: icon manager
- work save: icons in the dialogs
2021-12-23 00:24:52 +08:00
Roy Qu 8bee9bf5c6 -fix: editor's tab close button size too small in high DPI settings 2021-12-22 19:54:06 +08:00
Roy Qu f4fd5e7abe work save: svg icons 2021-12-22 18:55:36 +08:00
Roy Qu 92520411b6 work save 2021-12-22 11:07:56 +08:00
Roy Qu 603675f435 work save: svg icons 2021-12-21 22:52:31 +08:00
Roy Qu 31240800c4 work save 2021-12-21 20:17:58 +08:00
Roy Qu 8a138897ca work save 2021-12-21 19:13:47 +08:00
Roy Qu 1a6e365e42 fix: icon size in menu size not correct 2021-12-21 11:57:23 +08:00
Roy Qu a806fe9389 - enhancement: use svg icons for class browser 2021-12-21 07:38:49 +08:00
Roy Qu 6f73ccff2f use svg icons for editor gutter 2021-12-20 12:53:35 +08:00
Roy Qu 74fdf1ebef - fix: left and right gutter offset settings not correctly saved
- enhancement: use svg icons for editor gutter, and they can zoom with font now
2021-12-20 09:36:18 +08:00
Roy Qu 33e8042944 - enhancement: use the new expression parser to implement rename symbol
- fix: rename symbol shouldn't remove empty lines
2021-12-19 10:16:46 +08:00
Roy Qu 959cdab6cb use point as the unit for font size in configuration 2021-12-17 09:05:01 +08:00
Roy Qu b2caf38e89 - fix: use pixel size for fonts, to fit different dpi in multiple displays 2021-12-16 19:14:14 +08:00
Roy Qu 879f001d0c - fix: current line of the disassembly in the cpu window not correctly setted
- enhancement: add "step into one machine instruction" and "step over one machine instruction" in the cpu window
2021-12-16 10:46:38 +08:00
Roy Qu 436a299ebb - enhancement: set font for problem case input/output textedits
- enhancement: when run problem cases, updates output immediately
2021-12-15 19:12:16 +08:00
Roy Qu f0960f0dcb - fix: button "run all problem cases" not disabled when compiling or debugging 2021-12-14 08:42:00 +08:00
Roy Qu c3ea1e6dd4 - enhancement: recalc layout info for code editors when dpi changed 2021-12-13 19:10:16 +08:00
Roy Qu 956b717a14 - enhancement: recalc layout info for code editors when dpi changed 2021-12-13 16:38:22 +08:00
Roy Qu 3f708cf887 - enhancement: add a demo for custom tool 2021-12-09 21:04:53 +08:00
Roy Qu 1df289c131 update translations 2021-12-09 11:22:28 +08:00
Roy Qu 1a3df76068 work save 2021-12-09 09:27:46 +08:00
Roy Qu 319c26902c - fix: path in macros should use system's path separator 2021-12-09 08:10:14 +08:00
Roy Qu ee3864f565 work save 2021-12-08 22:47:28 +08:00
Roy Qu f75f885129 - enhancement: use token list instead of single string to do code completion ( intial version)
- fix: language options in the project wizard don't work
 - fix: "ake as default language" option in the project wizard doesn't work
2021-12-03 21:36:12 +08:00
royqh1979@gmail.com efdd4cd28c - enhancement: add option "ignore spaces when validating problem cases" to the "Executor"/"Problem Set" option tab. 2021-11-27 15:43:47 +08:00
Roy Qu 2fffe33bb7 - fix: the last line in the debug console is not correctly displayed 2021-11-25 23:41:40 +08:00
Roy Qu cbec8f60f4 - fix: can't correctly display stl containers in watch 2021-11-25 21:44:08 +08:00
Roy Qu 92fcd9b923 implemented: watch var handles 2021-11-25 20:26:43 +08:00
Roy Qu 3abbf66251 add "open cpu window when signaled" debug option 2021-11-25 10:18:21 +08:00
Roy Qu af1bc5f538 can handle signal 2021-11-25 09:05:45 +08:00
Roy Qu de0f176284 breakpoint / run / evaluation / memory view ok 2021-11-24 22:16:40 +08:00
Roy Qu 5c17096e00 work save 2021-11-24 21:22:01 +08:00
Roy Qu b17406eb07 work save 2021-11-24 17:53:25 +08:00
Roy Qu fdfa7c779f work save 2021-11-24 10:07:35 +08:00
Roy Qu d3abf822fb Merge branch 'master' into gdbmi 2021-11-23 18:16:53 +08:00
royqh1979@gmail.com 9c2ffa2f80 update translation 2021-11-23 12:39:32 +08:00
Roy Qu cd1e20c2d7 - fix: restore caret position after reformat code
- enhancement: ask user to rebuild project, when run/debug the project and it has been modified
 - fix: correct set the enabled state of "delete line"/"insert line"/"delete word"/"delete to BOL"/"delete to EOL" menu items
2021-11-23 10:32:33 +08:00
Roy Qu dda0f82b4d - fix: columns calculation not correct when paint lines containing chinese characters 2021-11-22 19:10:56 +08:00
royqh1979@gmail.com 6ba2d47c81 - enhancement: add "delete line"/"duplicate line"/"delete word"/"delete to EOL"/"delete to BOL" in the edit menu 2021-11-22 16:16:58 +08:00
royqh1979@gmail.com e044bb0703 Merge branch 'master' into gdbmi 2021-11-20 07:22:09 +08:00
royqh1979 f274d7f208 - fix: problem set & problem views not correctly hidden when disabled in the general / problem set options 2021-11-19 07:52:36 +08:00
royqh1979 1c9bb49799 - enhancement: save/load default projects folder
- enhancement: add editor general options "highlight current word" and "highlight matching braces"
2021-11-18 21:25:28 +08:00
royqh1979@gmail.com a2e514e98a fix: project's unit file not correctly add to watch after renamed 2021-11-17 23:21:53 +08:00
royqh1979@gmail.com 284a8ed695 - fix: add unit to project not correctly set new unit file's encoding
- fix: correctly set encoding for the new added project unit file
 - fix: if there's a project openned, new file should ask user if he want to add the new file to the project
 - fix: when adding a file openned in the editor to the project, properties of it are not correctly setted.
 - enhancement: when remove a file from the project, also ask if user want to remove it from disk
 - fix: double click a project's .dev file in the Files panel should load the project
2021-11-15 22:08:35 +08:00
royqh1979 c59b9c9283 update translations
- fix: options not translated
2021-11-14 18:48:18 +08:00
royqh1979 d14a1be208 - fix: text color of labels in statusbar not correctly updated when change theme
- change: auto generate gcc version info in the about dialog
 - change: seperates version info to version.h
2021-11-14 17:43:25 +08:00
royqh1979 7c0ee9857b - fix: "collapse all" and "uncollapse all" doesn't work 2021-11-13 17:41:16 +08:00
royqh1979@gmail.com c7748bf5b2 Merge branch 'master' into gdbmi
# Conflicts:
#	RedPandaIDE/qsynedit/SynEdit.cpp
2021-11-13 10:55:10 +08:00
royqh1979@gmail.com d28805ea55 - fix: editor auto save settings not saved and applied
- fix: only auto save files that has new modifications
 - fix: correctly auto save files with it's own name
2021-11-12 12:40:47 +08:00
royqh1979@gmail.com 8b7d19f94e work save 2021-11-12 10:51:00 +08:00
royqh1979@gmail.com 88bb3b25cb Merge branch 'master' into gdbmi 2021-11-12 08:35:29 +08:00
royqh1979 b3e5ddc94c - enhancement: greatly reduces memory usage for symbol parsing ( memory needed for bits/stdc++.h reduced from 150m+ to 50m+)
- fix: currect compiler set not correctly updated when switch between normal file and project file
2021-11-12 02:20:13 +08:00
royqh1979@gmail.com 3ee49f5cbc merge master 2021-11-10 21:56:22 +08:00
royqh1979@gmail.com 3d2fb53388 - fix: can't show code completion popup if symbol is proceed with an operator '~' ( and it's not a destructor)
- fix: can't show code completion popup when define MACRO
 - fix: can't debug files with chinese characters in the path
2021-11-10 21:28:08 +08:00
royqh1979@gmail.com bfd64312d9 work save 2021-11-10 17:05:37 +08:00
royqh1979@gmail.com 77e2a32940 work save 2021-11-10 12:29:02 +08:00
royqh1979@gmail.com 4e7269cbf0 - enhancement: auto save/load the default open folder in the configuration file 2021-11-10 10:42:33 +08:00
royqh1979 1549fe1aed update translations 2021-11-09 21:32:23 +08:00
royqh1979 5878f59958 - enhancement: View menu
- enhancement: hide/show statusbar
 - enhancement: hide/show left/bottom tool window bars
 - enhancement: hide/show individual left/bottom tool window
2021-11-09 21:22:50 +08:00
royqh1979@gmail.com 78c3387d7f - fix: correctly display watch & local variable names when debugging 2021-11-08 22:00:49 +08:00
royqh1979@gmail.com 4259480471 - fix: correct set the position of chinese input methods 2021-11-08 21:19:48 +08:00
royqh1979 93463c24ca work save 2021-11-08 14:51:20 +08:00
royqh1979 f167e10c12 - enhancement: auto clear parsed symbols when the editor is hidden ( to reduce memory usage of un-active editors) 2021-11-08 09:19:50 +08:00
royqh1979@gmail.com 3e0925ba70 - fix: when changing options in the option dialog's color scheme panle, color of the demo editor won't be not correctly updated
- enhancement: Add default color scheme to themes. Change theme option will change color scheme too.
2021-11-07 22:34:19 +08:00
royqh1979 2dc8896fbe - change: memory view and locals view use debug console's font settings 2021-11-06 19:31:16 +08:00
royqh1979 1f1c75cb1d - enhancement: right click the problem set name label to rename it 2021-11-06 16:22:26 +08:00
royqh1979 0cb696ae68 update translation 2021-11-06 14:55:41 +08:00
royqh1979 bd26ad967d - enhancement: set problem's answer source file
- enhancement: open the problem's answer source file in editor
2021-11-06 14:49:11 +08:00
royqh1979 7e8f73debd - enhancement: when problem from competitive companion received, activate RedPanda C++ if it's minimized.
- enhancement: when problem from competitive companion received, show the problem and problem set views.
2021-11-06 10:58:18 +08:00
royqh1979 ba23aa93af - fix: input/output/expected textedit in the problem view shouldn't autowrap lines
- fix: Red Panda C++ will freeze when receiving contents from Competitve Companion in chrome/edge
2021-11-06 10:36:25 +08:00
royqh1979@gmail.com 02d935fb32 - change: turn on gcc compiler's "-pipe" option by default, to use pipe instead of temp files in compiliation (and make the life of SSD longer)
- fix: correctly save input histories for the find combo box in the Find dialog
 - add installer scripts
2021-11-05 10:44:23 +08:00
royqh1979@gmail.com c64c4916ac - enhancement: edit problem properties
- enhancement: show problem description in the problem name lable's tooltip
2021-11-04 09:07:06 +08:00
royqh1979 fcb8151493 class browser use editor's background color 2021-11-04 00:57:43 +08:00
royqh1979 c5105cfa43 code completion popup window use editor's background clor 2021-11-04 00:54:20 +08:00
royqh1979 d297faf3af - add: "C Reference" in the help menu
- fix: Custom editor colors shouldn't be tested for high contrast with the default background color
 - fix: Custom color settings not correctly displayed in the options widget
 - enhancement: add hit counts in the search result view
 - fix: editor actions' state not correctly updated after close editors.
2021-11-02 23:47:51 +08:00
royqh1979 b6ab20e69e - enhancement: In problem view's output control, indicates which line is different with the expected
- fix: current input/expected not correctly applied when save/run problem cases
 - fix: colors of the syntax issues view are not correctly set using the current color sheme
2021-11-02 19:26:11 +08:00
royqh1979@gmail.com 88a7c46eda - enhancement: Problem Set
- enhancement: Competitive Companion Support
 - fix: when search in project, files opened for search shouldn't be parsed for symbols.
 - fix: when search in project, the search history is not correctly updated.
2021-11-02 13:12:36 +08:00
royqh1979@gmail.com 47f10a2105 - enhancement: Problem Set Support
- enhancement: Competitive Companion Support
2021-11-02 09:29:35 +08:00
royqh1979@gmail.com f28aac649b - fix: remove the file change monitor if it's remove from the disk
- fix: don't test if a file is writable before save to it (because qt can't do that test reliably).
 - problem set ui almost done
2021-11-02 01:07:37 +08:00
royqh1979@gmail.com afbaaa07a6 fix: crash when exit 2021-11-01 23:37:54 +08:00
royqh1979@gmail.com 1b9fdd3020 - change: "save" action will be enabled no matter contents in the current editor is modified or not 2021-11-01 23:14:17 +08:00
royqh1979 e82723c6f8 work save 2021-11-01 20:44:08 +08:00
royqh1979 9f4e8344a3 work save: oj problem cases runner 2021-11-01 09:18:23 +08:00
royqh1979 46b95c03ae work save: problem set ui done 2021-11-01 00:40:11 +08:00
royqh1979 0e4bae7b93 - fix: bottom and left panel properties not correctly saved when hiding the main window 2021-10-31 09:39:31 +08:00
royqh1979 43a1b6074a - fix: bottom and left panel properties not correctly saved when hiding the main window 2021-10-31 09:21:38 +08:00
royqh1979 7b0b7c1413 fix: the header completion window's text color not correctly set when the scheme's color doesn't have good contrast with background 2021-10-31 08:31:46 +08:00
royqh1979 4eec185ac4 - enhancement: correctly handle auto indents for statement span many lines;
- enhancment: only use colors have good contrasts with the background in the class browser and code completion suggestion window
2021-10-31 00:08:20 +08:00
royqh1979@gmail.com 92cc00da54 - fix: indent not correctly calculated
- fix: correctly updates cursor position when pasting from clipboard
2021-10-29 17:55:05 +08:00
royqh1979@gmail.com 1853332141 clean up debug code 2021-10-29 12:29:21 +08:00
royqh1979@gmail.com 80b9f2b9e9 - fix: when remove all breakpoints in the debug breakpoint view, debug tags in the opened editors are not correctly updated.
- change: when start debuging, show local view instead of the debug console.
2021-10-27 16:58:30 +08:00
royqh1979@gmail.com 33099f4044 - fix: when debug a project, and have breakpoints that not in opened editors, dev-cpp will crash 2021-10-27 12:05:46 +08:00
royqh1979 4f2b87662f - enhancement: use project's compiler set type info to find a nearest system compiler set, when the project compiler set is not valid.
- fix: toolbar's compiler set info not correctly updated when change it in the project settings dialog.
2021-10-25 21:59:01 +08:00
royqh1979 a3c335eed6 - fix: options not correctly set when change compiler set in the project settings
- change: reset compiler settings when change the project compiler set
2021-10-25 21:36:23 +08:00
royqh1979@gmail.com 148e99e483 - enhancement: prompt for filename when create new project unit file 2021-10-25 13:16:15 +08:00
royqh1979 3a7065e9d8 - fix: syntax issues' filepath info not correct when build projects 2021-10-25 09:31:58 +08:00
royqh1979 b2e88c4c00 - fix: crash when create an empty project 2021-10-25 00:30:53 +08:00
royqh1979 7bb59955e6 - enhancement: when running a program, redirect a data file to its stdin 2021-10-24 23:13:00 +08:00