Commit Graph

325 Commits

Author SHA1 Message Date
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 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 090cccc033 refactor: remove ProjectUnit's mEditor field 2022-03-21 09:08:05 +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 eb2e2bb58f - fix: switch disassembly mode doesn't update contents 2022-03-16 19:48:20 +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 b56f549cf4 - enhancement: close editor when middle button clicked on it's title tab 2022-03-15 12:29:56 +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 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
royqh1979@gmail.com 162121efa2 - enhancement: let user choose app theme when first run 2022-02-24 17:33:19 +08:00
royqh1979@gmail.com ed7f3d971e work save: git reset 2022-02-22 17:12:54 +08:00
Roy Qu 7cc5cf4f45 work save: git - merge 2022-02-20 21:47:57 +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 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 76ea34709d add icons for vcs 2022-02-13 21:50:20 +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 3831c72558 fix: icons in contrast icon set not correctly drawn 2022-02-05 22:26:02 +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 50a39a08c7 remove all whatsthis button in dialog's titlebar 2022-02-02 17:34:37 +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 c13ab76e73 work save 2022-01-31 11:57:33 +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 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
Roy Qu b114eb216c - enhancement: code completion find words with char in the middle 2022-01-27 01:03:01 +08:00
Roy Qu 99a47db9bc - enhancement: correct handle windows dpi change event 2022-01-26 21:36:31 +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 609f611e8f - enhancement: highlighter for GLSL (OpenGL Shading Language) 2022-01-23 23:27: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 bab728e792 - enhancement: add "wrap around" option to find/replace 2022-01-13 12:55:55 +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 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 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 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 e3b9565b84 support PREFIX in qmake script 2022-01-05 09:08:44 +08:00
Roy Qu bb6a4ed9c8 qt 5.12 compatibility 2022-01-04 16:50:54 +08:00
Roy Qu 212fdc37b2 - enhancement: assign a not saved editor to a problem 2022-01-02 10:37:00 +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
royqh1979@gmail.com 5e44a2a1c6 add delphi version copyright info 2021-12-27 12:08:45 +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 7f4840a299 basic linux compatibily 2021-12-24 23:18:20 +08:00
Roy Qu a50c6af5de fix: correctly set states for buttons in cpu dialog 2021-12-23 09:17:27 +08:00
Roy Qu 6c413fe8f9 - enhancement: icons in all dialogs auto change size with fonts
- enhancement: save/restore sizes of CPU dialog and settings dialog
2021-12-23 09:11:58 +08:00
Roy Qu b5a450312a - refactor: icon manager
- work save: icons in the dialogs
2021-12-23 00:24:52 +08:00
Roy Qu 3b7eb3b2da - fix: step into instruction and step over instruction not correctly disabled when cpu dialog is created
- enhancement: icons in cpu dialog auto change size with fonts
2021-12-22 22:04:34 +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 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 8a4842efb4 remove init wizard 2021-12-17 10:10:04 +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 0b414df5b2 - fix: auto add 32-bit compiler sets for TDM64-GCC 2021-12-16 17:56:42 +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 868cce7dc0 work save 2021-12-10 18:24:40 +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 319c26902c - fix: path in macros should use system's path separator 2021-12-09 08:10:14 +08:00
Roy Qu 095a0897f2 work save 2021-12-08 21:44:40 +08:00
Roy Qu e8644dfd0b work save 2021-12-08 19:13:47 +08:00
Roy Qu 2e54b4460d work save 2021-12-04 18:38:54 +08:00
Roy Qu 8a2d40f6d7 minor refactor 2021-12-04 14:53:21 +08:00
Roy Qu 6f8096bc27 change: redesign code completion logic 2021-12-04 10:02:07 +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
Roy Qu 20782fc221 stage 1 finished: use the expression token list in the editor to completion,
instead of just the expression string
2021-12-03 21:07:40 +08:00
Roy Qu 890ad641ad work save 2021-12-03 20:24:49 +08:00
Roy Qu 8a69451139 work save 2021-12-03 20:08:18 +08:00
Roy Qu fd03ea4098 work save 2021-12-03 11:40:05 +08:00
Roy Qu 564bf02e59 - fix:license info in the about dialog should be readonly 2021-11-26 20:44:27 +08:00
Roy Qu 03ae21ebf6 - enhancement: scroll while dragging text in the editor 2021-11-26 08:14:23 +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 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 73c88065f8 work save 2021-11-25 07:42:56 +08:00
Roy Qu 777d11cdcb disassembly finished 2021-11-24 23:32:34 +08:00
Roy Qu de0f176284 breakpoint / run / evaluation / memory view ok 2021-11-24 22:16:40 +08:00
Roy Qu fdfa7c779f work save 2021-11-24 10:07:35 +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 177cd6e397 - enhancement: code completion suggestion for phrase after long/short/signed/unsigned 2021-11-18 12:51:05 +08:00
royqh1979@gmail.com 2f945dc6fb - fix: text color for cpu info dialog not correctly setted 2021-11-16 00:03:43 +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 c4b61b8985 - fix: option "don't add leading zeros to line numbers" not work 2021-11-13 17:15:07 +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 81b524c9ed dont save parser when code/header completion popup hides 2021-11-12 02:31:45 +08:00
royqh1979 17dd73149c - enhancement: use lighter color to draw menu seperators
- enhancement: differentiate selected and unselected tab bars
2021-11-11 11:17:15 +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 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@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 14254a2f15 - fix: Results of "find symbol usage" in project not correctly set in the search result view 2021-11-04 22:56:11 +08:00
royqh1979@gmail.com 3352d413b3 - fix: find in the current file is not correcly saved in the search history
- fix: hit info not correctly displayed in the search result view
 - fix: If find in files found no hits, search result view will not be shown.
 - fix: wront indents when paste one line content
2021-11-04 21:14:58 +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 9638cbdd3f - enhancement: can use symbols' own foreground color to draw selection or the current line
- enhancement: can use different colors to highlight the current word and the selections
 - enhancement: can set editor's default background / foreground color. They must be setted to make the custom color schemes correctly.
 - enhancement: can set the color for the current line's number in the gutter
 - all predefined color schemes updated.
2021-11-03 23:27:05 +08:00
royqh1979@gmail.com 6ad87990c7 - 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.
 - fix: When replace in the editor, "Yes to All" and "No" button doesn't work correctly.
 - fix: crash when editing non-c/c++ files
 - enhancement: set the alpha value of scheme colors
 - enhancement: can use symbols' own scheme color to draw selection
 - enhancement: can use different colors to highlight the current word and the selections
2021-11-03 18:09:12 +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@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 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@gmail.com bb10a83942 initial work for OJ Problems 2021-10-31 17:01:34 +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 af03c417ec - enhancement: can use PageDown / PageUp / Home / End to scroll in the auto completion popup 2021-10-29 21:33:45 +08:00
royqh1979 9937ef50c3 - enhancement: icons in project view
- fix: sometimes option widget will show confirm dialog even not changed
 - enhancement: only editor area will receive file drop events
2021-10-23 23:10:34 +08:00
royqh1979 c3be38b9b6 - fix: file path seperator used in the app is not unified, and cause errors somtimes. 2021-10-23 17:32:03 +08:00
royqh1979 15fd6aab03 - fix: rainbow parenthesis stop functioning when change editor's general options
- make toolbar seperator lighter in dark themes
2021-10-23 09:05:51 +08:00
royqh1979@gmail.com 9d829876b3 - fix: app's title not update when editor closed
- fix: editor's modified status not correctly updated when using new file template
2021-10-22 16:43:53 +08:00
royqh1979 3e442b0860 - enhancement: autosave/load bookmarks
- enhancement: autosave/load breakpoints
 - enhancement: autosave/load watches
2021-10-21 19:33:11 +08:00
royqh1979@gmail.com e10e173cc9 - enhancement: bookmark view 2021-10-21 17:31:25 +08:00
royqh1979 e3c64fa01a work save: bookmark model 2021-10-21 08:19:15 +08:00
royqh1979 5c9ef2035e clean up compile warnings 2021-10-20 18:05:43 +08:00
royqh1979@gmail.com 4eac9756cd better appearance of tool button 2021-10-18 22:50:49 +08:00
royqh1979@gmail.com 19b1d042c0 - fix: In the create project dialog, the browser button doesn't work
- change: use QStyle to implement the dark style
2021-10-18 22:06:33 +08:00
royqh1979@gmail.com b5523aaeda - enhancement: click the encoding info in the statusbar will show encoding menu 2021-10-15 10:23:46 +08:00
royqh1979@gmail.com a1e5ce379e - fix: debugger won't exit when the program has exited.
- adjust: the max value of the debug console's vertical scrollbar.
2021-10-13 12:55:41 +08:00
royqh1979@gmail.com 8599190d13 - fix: font styles in the color scheme settings not in effect 2021-10-10 21:23:25 +08:00
royqh1979@gmail.com c58ddf7073 - fix: The Enter key in the numpad doesn't work
- fix: The compiled executable not fully write to the disk before run it
 - fix: settings object not correctly released when exit
2021-10-09 09:09:05 +08:00
royqh1979@gmail.com c4c62ec6c0 - implement: tools configuration 2021-10-08 00:06:41 +08:00
royqh1979@gmail.com 77e8eda8a3 - enhancement: support #include_next (and clang libc++) 2021-10-04 21:59:48 +08:00
royqh1979@gmail.com 75a6b75ebb - enhancement: replace in files
- enhancement: refactor in project (using search symbol occurence and replace in files)
 - fix: search in files
2021-10-04 12:49:55 +08:00
royqh1979@gmail.com 4fe1766ccd - add: about dialog 2021-10-03 23:12:20 +08:00
royqh1979@gmail.com caaf07a6cc - fix: old data not displayed when editing code snippets
- fix: shift-tab for unindent not work
 - fix: can't save code snippets modifications
2021-10-03 08:25:28 +08:00
royqh1979@gmail.com de625755e5 - fix: errors in debug console
- fix: speed up the parsing process of debugger
2021-10-02 17:38:29 +08:00
royqh1979@gmail.com 25070cc491 - implement: context menu for debug console
- fix: errors in debug console
 - fix: speed up the parsing process of debugger
2021-10-02 17:01:08 +08:00
royqh1979@gmail.com 8ebe9174bb - implement: symbol usage count
- implement: user code snippet / template
 - implement: auto generate javadoc-style docstring for functions
 - enhancement: use up/down key to navigate function parameter tooltip
 - enhancement: press esc to close function parameter tooltip
 - enhancement: code suggestion for unicode identifiers
2021-10-02 15:34:18 +08:00
royqh1979@gmail.com 237e86cea0 - implement: user code snippet / template
- implement: auto generate javadoc-style docstring for functions
 - enhancement: use up/down key to navigate function parameter tooltip
 - enhancement: press esc to close function parameter tooltip
2021-10-02 13:29:45 +08:00
royqh1979@gmail.com 6ecfd228be work save 2021-09-30 21:25:48 +08:00
royqh1979@gmail.com c59e2c6667 work save 2021-09-30 20:10:48 +08:00
royqh1979 a0ea72071c work save: code snippet edit 2021-09-30 12:52:22 +08:00
royqh1979 b518304f56 - implement: symbol usage count
work save: code snippets
2021-09-30 11:20:43 +08:00
royqh1979 fbdba624be - enhancement: show caret when show code/header completions
- fix: correctly display pointer info in watch console
 - enhancement: search in project
2021-09-29 20:45:03 +08:00