Commit Graph

649 Commits

Author SHA1 Message Date
royqh1979 4d48cca3de - fix: multi-line comments indents calculation 2021-11-07 01:07:41 +08:00
royqh1979 6e4afe83c0 - fix: one line 'while' statement dosen't correctly indents
- fix: line starts with  '{' that follow an un-ended 'if'/'for' statement is not correctly un-indented
2021-11-06 23:21:52 +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 f53f79559d add new icons 2021-11-06 18:31:48 +08:00
royqh1979 1f1c75cb1d - enhancement: right click the problem set name label to rename it 2021-11-06 16:22:26 +08:00
royqh1979 a30982ffa5 - fix: if the proceeding line is a comment, current line should not recalculate indent
- fix: if the proceeding line ends with ':' in comments, current line should not indent
2021-11-06 15:23:28 +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 6183542f34 fix: correctly test if it's green edition 2021-11-05 12:37:40 +08:00
royqh1979@gmail.com 32e354b800 - fix: can't correctly test if it's not running in green mode
update README.md
2021-11-05 11:48:46 +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 731a10a1d6 - enhancement: check syntax/parse symbols when modifed and cursor's line changed. 2021-11-04 00:38:40 +08:00
royqh1979 53085e36a3 update translations 2021-11-03 23:51:47 +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 34bdd7815f - change: The error color of color scheme "vs code" 2021-11-02 19:52:12 +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 5ba79d522a update translations 2021-11-02 13:20:37 +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 d27f8c1c50 - fix: can't parse old c-style enum variable definition like "enum Test test;" 2021-11-01 23:29:03 +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@gmail.com 0a7855281e works ave 2021-11-01 22:33:16 +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@gmail.com b8f5f43d23 - fix: When debugging, if value of the variable pointed by the mouse cursor is too long, tooltip will fill the whole screen. 2021-10-31 10:11:30 +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 e5e7635d1f - change: Don't use 'pause' in the console pauser, in case of privilege problems.
- fix: parser use it's one keywords set , to prevent crash when exit
2021-10-30 21:15:07 +08:00
royqh1979 561c83ef58 - enhancement: correctly handle auto indents for multi-level embedding complex statements like 'for(...) if (...) printf(); 2021-10-30 19:58:13 +08:00
royqh1979 44cf39d8ca - change: don't auto insert a new line when input an enter between '(' and ')' or between '[' and ']' (indent instead)
- enhancement: the line containing '}' will use the indents of the matching '{' line, instead of just unindent one level
2021-10-30 18:28:40 +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@gmail.com f9cefaf196 * unindent when input public: / private: / protected: 2021-10-29 21:22:41 +08:00
royqh1979@gmail.com 75cb4c9b5a - fix: correctly updates cursor position when pasting from clipboard 2021-10-29 19:20:55 +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 61a2ed4350 - enhancement: auto insert a new line when input an enter between '(' and ')' or between '[' and ']' 2021-10-29 15:37:30 +08:00
royqh1979@gmail.com fde31ce7b5 - enhancement: more accurate auto indent calculation
- change: remove "add indent" option in the editor general options widget ( It's merged with "auto indent" option)
2021-10-29 15:15:43 +08:00
royqh1979@gmail.com 1853332141 clean up debug code 2021-10-29 12:29:21 +08:00
royqh1979@gmail.com 5aa91e1bc1 - enhancement: more accurate auto indent calculation 2021-10-29 12:25:04 +08:00
royqh1979@gmail.com 19e7143efc work save 2021-10-28 23:46:54 +08:00
royqh1979@gmail.com 317a798cce work save 2021-10-28 09:20:58 +08:00
royqh1979@gmail.com c8704fdfbb work save 2021-10-28 08:56:13 +08:00
royqh1979@gmail.com 97b8fb1971 minor change 2021-10-27 17:01:58 +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 2ceb95e4cc - fix: "tab to spaces" option in the editor general options widget doesn't work 2021-10-27 16:39:23 +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 205860b81f when create the project, set its compiler set type 2021-10-25 22:06:52 +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@gmail.com b7aa67c9a4 - fix: autolink parameters are repeated when compile single files 2021-10-25 12:33:02 +08:00
royqh1979 d1ccabbd6b - fix: compiler autolinks options widget don't show autolink infos 2021-10-25 09:35:13 +08:00
royqh1979 3a7065e9d8 - fix: syntax issues' filepath info not correct when build projects 2021-10-25 09:31:58 +08:00
royqh1979 59ea699fb7 refactor codes that run programs 2021-10-25 09:16:00 +08:00
royqh1979 b2e88c4c00 - fix: crash when create an empty project 2021-10-25 00:30:53 +08:00
royqh1979 0225854159 update translations 2021-10-24 23:43:34 +08:00
royqh1979 3529e8dfea - fix: can't correctly handle '&&' and '||' in the #if directive (and correctly parse windows.h header file) 2021-10-24 23:31:26 +08:00
royqh1979 7bb59955e6 - enhancement: when running a program, redirect a data file to its stdin 2021-10-24 23:13:00 +08:00
royqh1979 4da3b6d1fa work save 2021-10-24 17:31:20 +08:00
royqh1979 7d82f37462 - enhancement: "use utf8 by default" in editor's misc setting 2021-10-24 15:17:31 +08:00
royqh1979 c7205f572e - enhancement: "use utf8 by default" in editor's misc setting 2021-10-24 13:03:54 +08:00
royqh1979 24b771550c - fix: the "add bookmark" menu item is not correctly disabled on a bookmarked line 2021-10-24 12:37:00 +08:00
royqh1979 ff54e6c0e2 - enhancement: change project file's folder by drag and drop in the project view
- enhancement: open project file by drag it to the editor area
2021-10-24 12:04:37 +08:00
royqh1979 06f035926a work save: drag & drop in project view 2021-10-24 00:17:08 +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 aebcce0b05 - fix: file path seperator used in the app is not unified, and cause errors somtimes. 2021-10-23 19:27:50 +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 d7cbd855ff - fix: function declaration's parameters not correctly parsed, if it have a definition which have different parameter names 2021-10-23 16:35:36 +08:00
royqh1979 581e59d719 - fix: issue count not correctly displayed when syntax check/compile finished
update translations
2021-10-23 16:18:02 +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 2d0e00beef - fix: app name in the title bar not translated
- use new app icon
2021-10-22 17:29:15 +08:00
royqh1979@gmail.com 3cb737441f - change to new icon 2021-10-22 17:24:56 +08:00
royqh1979@gmail.com 87ef9c216c - fix: can't add bookmark at a breakpoint line 2021-10-22 16:56:27 +08:00
royqh1979@gmail.com 24c2262c95 fix: locate file in files view should show files view in the left panel 2021-10-22 16:48:19 +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@gmail.com 7a5b6b8efc - implement: files view 2021-10-22 15:02:54 +08:00
royqh1979 d2ca199024 work save 2021-10-22 07:42:51 +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 51b05d73f2 Merge branch 'master' of github.com:royqh1979/RedPanda-CPP 2021-10-21 15:18:31 +08:00
royqh1979@gmail.com a41b4505a0 work save: add bookmark icon 2021-10-21 15:12:19 +08:00
royqh1979 e3c64fa01a work save: bookmark model 2021-10-21 08:19:15 +08:00
royqh1979 45da8562d5 work save: todo list 2021-10-21 08:04:41 +08:00
royqh1979 a5acb077fc - fix: correctly handle integer with 'L' suffix in #if directives ( so <thread> can be correctly parsed )
- fix: correctly fill indents if it's not multiples of tab width
2021-10-20 20:15:16 +08:00
royqh1979 e51473fdde - fix: don't highlight '#' with spaces preceeding it as error 2021-10-20 18:22:06 +08:00
royqh1979 4eec5cafb8 fix: new editor not correctly add to the editorlist 2021-10-20 18:16:10 +08:00
royqh1979 5c9ef2035e clean up compile warnings 2021-10-20 18:05:43 +08:00
royqh1979@gmail.com e2751fc693 - enhancement: set mouse wheel scroll speed in the editor general option tab ( 3 lines by default) 2021-10-20 12:27:44 +08:00
royqh1979@gmail.com ae2f3596aa - enhancement: new file template
- fix: when an editor is created, its caret will be displayed even it doesn't have focus
2021-10-20 12:11:36 +08:00
royqh1979@gmail.com 25d83d0e8d - enhancement: fill indents in the editor (Turned off by default) 2021-10-20 11:14:49 +08:00
royqh1979@gmail.com d188d8897f - fix: save as file dialog's operation mode is not correct 2021-10-19 22:41:38 +08:00
royqh1979@gmail.com cd91df6fb8 - fix: Backspace still works in readonly mode 2021-10-19 09:05:11 +08:00
royqh1979@gmail.com 21083cbb6a - enhancement: add link to EGE website, if locale is zh_CN 2021-10-18 23:44:02 +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 fee2115093 - fix: add mutex lock to prevent editor crash in rare conditions 2021-10-17 21:09:50 +08:00
royqh1979@gmail.com d015235404 work save 2021-10-15 13:50:19 +08:00
royqh1979@gmail.com 682f0ab353 work save 2021-10-15 13:49:28 +08:00
royqh1979@gmail.com 07f902d277 update translation 2021-10-15 12:32:31 +08:00
royqh1979@gmail.com 62a081d830 - enhancement: add link to cppreference in the help menu 2021-10-15 12:17:14 +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 0c6f4a10a4 - fix: messages send to the gdb process's standard error are not received 2021-10-13 17:20:31 +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 59390203e3 - fix: crash when create new file
- implement: two editor view
2021-10-13 11:32:59 +08:00
royqh1979@gmail.com 47f754ca0f update translations 2021-10-12 20:58:28 +08:00
royqh1979@gmail.com e50a8d0faf correctly update old matching brackets 2021-10-12 20:45:26 +08:00
royqh1979@gmail.com 141de5ed74 - implement: highlight matching brackets 2021-10-12 20:38:39 +08:00
royqh1979@gmail.com 7eda4e35b3 - implement: export as rtf / export as html
- fix: the contents copied/exported are not correctly syntax colored
 - fix: stop execution if the source file is not compiled and user choose not to compile it
 - fix: not correctly parse gdb's output
 - fix: path not correctly setted for the debugger process
 - fix: indent line not correctly drawed
2021-10-12 19:39:24 +08:00
royqh1979@gmail.com bb8b711376 - implement: export as rtf / export as html
- fix: the contents copied/exported are not correctly syntax colored
 - fix: stop execution if the source file is not compiled and user choose not to compile it
2021-10-12 09:47:58 +08:00
royqh1979@gmail.com 80be584700 remove debug output 2021-10-10 22:50:25 +08:00
royqh1979@gmail.com 58e849063c - fix: unneeded empty lines when copy as HTML 2021-10-10 22:48:54 +08:00
royqh1979@gmail.com 3a81281f7d - change: enable copy as HTML by default
- fix: unneeded empty lines when copy as HTML
2021-10-10 22:19:48 +08:00
royqh1979@gmail.com b3fb9e223b - fix: editor's font style shouldn't affect gutter's font style 2021-10-10 21:46:11 +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 9e0beb8046 - fix: code completion popup not show after '->' inputted 2021-10-10 20:20:43 +08:00
royqh1979@gmail.com 443aa541fc - fix: can't correctly find definition of the symbols in namespace 2021-10-10 00:46:19 +08:00
royqh1979@gmail.com 14ff15ebc1 - fix: code fold calculation not correct, when editing code 2021-10-09 23:09:08 +08:00
royqh1979@gmail.com 83b99c99de - fix: should use c++ syntax to check ".h" files
- fix: can't copy contents in a readonly editor
 - fix: project's file not correctly syntaxed when open in editor
2021-10-09 22:03:05 +08:00
royqh1979@gmail.com 88cd992159 - fix: should use c++ syntax to check ".h" files 2021-10-09 18:04:31 +08:00
royqh1979@gmail.com a16562f6ce - 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
 - fix: shouldn't check syntax when save modifications before compiling
 - fix: shouldn't scroll to the end of the last line when update compile logs
 - fix: can't debug project
2021-10-09 11:33:23 +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 785f4769cd work save 2021-10-08 22:40:11 +08:00
royqh1979@gmail.com 0cdb901ca5 - fix: editor deadlock 2021-10-08 20:56:55 +08:00
royqh1979@gmail.com 8b4fa1f0fc - implement: default settings for code formatter
- implement: remove all custom settings
2021-10-08 20:01:29 +08:00
royqh1979@gmail.com c4c62ec6c0 - implement: tools configuration 2021-10-08 00:06:41 +08:00
royqh1979@gmail.com d9c02ea6f2 work save: tools configuration 2021-10-07 08:34:10 +08:00
royqh1979@gmail.com b0442258db - print support 2021-10-07 07:52:20 +08:00
royqh1979@gmail.com ec458a880a - fix: editor's inproject property not correctly setted (and may cause devcpp to crash when close project) 2021-10-07 00:48:05 +08:00
royqh1979@gmail.com e6d4bdd43c - implement: handle windows logout message 2021-10-07 00:25:11 +08:00
royqh1979@gmail.com 3e8200d307 - use QMutex instead of QRecursiveMutex in SynEdit
- Can use tab / shift-tab as shortcut for indent/unindent
2021-10-06 23:35:45 +08:00
royqh1979@gmail.com 48e97dc15d - implement: config shortcuts 2021-10-06 23:19:18 +08:00
royqh1979@gmail.com d88bab1e20 work save: implement shortcut configurations 2021-10-06 12:19:46 +08:00
royqh1979@gmail.com f75c9f26cf - fix: editors disappeared when close/close all 2021-10-06 00:05:07 +08:00
royqh1979@gmail.com 8e4c20a2a3 - fix: makefile generated for static / dynamic library projects not right
correct processing for input in code template's place holders
2021-10-05 23:30:34 +08:00
royqh1979@gmail.com ffb87fe66c input method processing for line has selections and special areas
- fix: add mutex lock to prevent rare conditions when editor is modifying and the content is read
2021-10-05 21:25:23 +08:00
royqh1979@gmail.com f8f5b7b0d8 add underline to indicate current ime input 2021-10-05 00:42:35 +08:00