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
956b717a14
- enhancement: recalc layout info for code editors when dpi changed
2021-12-13 16:38:22 +08:00
Roy Qu
8d880efd24
- enhancement: Problem's test case shouldn't accept rich text inputs
2021-12-10 19:30:58 +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
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
51b344eb59
- enhancement: use "Microsoft Yahei" as the default UI font whe running in Simplified Chinese Windows
2021-11-30 22:39:24 +08:00
Roy Qu
ad61e63fec
- enhancement: press home will switch between begin of line and the position of fisrt non-space char
...
- enhancement: press end will switch between end of line and the position of last non-space char
2021-11-30 21:45:48 +08:00
Roy Qu
ce242fc2ab
- fix: can't correctly undo/redo unindent
2021-11-30 21:39:13 +08:00
Roy Qu
b4e70c4879
- fix: indent can't be correctly undo
...
- change: press tab when there are selections will do indent
2021-11-30 20:43:58 +08:00
Roy Qu
5d728c36d5
- enhancement: treat files ended with ".C" or ".CPP" as C++ files
2021-11-27 10:25:27 +08:00
Roy Qu
dfce6e7146
- enhancement: change project name in the project view
2021-11-27 09:36:49 +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
db61432d36
- fix: dragging text from lines in the front to lines back will cause error
...
- fix: dragging text onto itself should do nothing
2021-11-26 19:54:05 +08:00
Roy Qu
ed3f320c50
- fix: select by mouse can't correctly set mouse's column position
...
- fix: dragging out of the editor and back will cause error
2021-11-26 19:04:04 +08:00
Roy Qu
f8a8f5df67
- fix: dragging out of the editor shouldn't reset the caret back
2021-11-26 08:29:00 +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
cbec8f60f4
- fix: can't correctly display stl containers in watch
2021-11-25 21:44:08 +08:00
Roy Qu
817b1ca11f
update NEWS.md
2021-11-25 20:52:52 +08:00
Roy Qu
da27fba8f1
- fix: project's modified flag not cleared after saved
2021-11-25 20:50:51 +08:00
Roy Qu
92fcd9b923
implemented: watch var handles
2021-11-25 20:26:43 +08:00
royqh1979@gmail.com
614fc911b1
- fix: undo "delete word"/"delete to BOL"/"delete to EOL" correct reset caret position
2021-11-23 12:53:48 +08:00
royqh1979@gmail.com
3e743a6a06
Merge branch 'master' of github.com:royqh1979/RedPanda-CPP
...
# Conflicts:
# RedPandaIDE/compiler/projectcompiler.cpp
2021-11-23 12:34:40 +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
Roy Qu
69ba84fc86
- fix: the count in the title of issues view isn't correct
2021-11-22 18:42:58 +08:00
royqh1979@gmail.com
a14257971c
- fix: when make project and del non-existing files, shouldn't show error messages
2021-11-22 16:40:50 +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
2763ef1c60
work ave
2021-11-22 15:50:28 +08:00
royqh1979@gmail.com
b034d27eb9
- fix: option "Move caret to the first non-space char in the current line when press HOME key" dosen't work fine.
2021-11-20 08:12:10 +08:00
royqh1979@gmail.com
49a2a59964
update NEWS.md
2021-11-19 22:33:10 +08:00
royqh1979
c7a6412986
- fix: executor / problem set options not correctly saved
2021-11-19 08:11:33 +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
bc2d662c1d
- fix: console program that needs input may crash
2021-11-18 22:25:07 +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
a38b4b1813
- fix: numpad's enter key doesn't work
2021-11-18 12:01:52 +08:00
royqh1979
b8f75cb337
- fix: ide failed to start, if there are errors in the compiler set settings
2021-11-18 10:42:41 +08:00
royqh1979@gmail.com
e60b909294
- enhancement: code completion suggestion for "__func__" variable
2021-11-17 17:18:02 +08:00
royqh1979@gmail.com
01d7335ba2
- fix: control keys in the numpad doesn't work in the editor
...
- fix: project layout infos are wrongly saved to registry
- fix: project layout infos are not correctly saved/loaded
2021-11-17 10:55:18 +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@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@gmail.com
0f130291aa
- fix: add unit to project not correctly set new unit file's encoding
2021-11-15 19:30:24 +08:00
royqh1979
2b3f8a644f
- fix: Shouldn't update auto link settings, if the header name to be modified is unchanged
2021-11-14 18:54:12 +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
c4b61b8985
- fix: option "don't add leading zeros to line numbers" not work
2021-11-13 17:15:07 +08:00
royqh1979@gmail.com
966aac5d4a
- fix: auto indent shouldn't use preprocessor's indent to calculate
2021-11-13 13:10:56 +08:00
royqh1979@gmail.com
be2c1ec77f
- fix: greatly reduces paste time
2021-11-13 13:03:42 +08:00
royqh1979@gmail.com
a6e8846282
- enhancement: drag & drop text in the editor
...
- enhancement: auto calcuate caret line size basing on font size
- enhancement: shift+mouse wheel to scroll horizontally
2021-11-13 12:33:33 +08:00
royqh1979@gmail.com
33ba4afc20
- enhancement: auto indent line to column 1 when enter '#' at beginning of line
...
- fix: when enter '{' or '}' at beginning of line, auto indent will remove all contents of the line
- fix: auto indent should be turned off when reformat code
- fix: auto indent should be turned off when replace in code
2021-11-13 10:38:48 +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
81b524c9ed
dont save parser when code/header completion popup hides
2021-11-12 02:31:45 +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
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@gmail.com
ad7fb23117
- fix: shouldn't auto add '()' when char succeeding the completed function name is '('
2021-11-10 12:35:13 +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
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
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@gmail.com
b62c166638
- fix: highlighter can't correctly find the end of ANSI C-style Comments
2021-11-07 19:54:48 +08:00
royqh1979@gmail.com
bca0a3abc1
- fix: indents calculation for the line succeeding "*/"
2021-11-07 11:39:52 +08:00
royqh1979@gmail.com
c98e169fa3
- fix: Installer should install the app in "program files", not "program files (x86)"
...
- fix: symbol completion for '/*' not work
- fix: javadoc-style docstring indents calculation
2021-11-07 10:48:09 +08:00
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
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
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
1b523408dc
- fix: ConsolePaurser.exe only exits when press ENTER
2021-11-05 21:35:05 +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
731a10a1d6
- enhancement: check syntax/parse symbols when modifed and cursor's line changed.
2021-11-04 00:38:40 +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
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
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
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
43a1b6074a
- fix: bottom and left panel properties not correctly saved when hiding the main window
2021-10-31 09:21:38 +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
2db0d95593
update NEWS.md
2021-10-30 21:28:14 +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