Commit Graph

401 Commits

Author SHA1 Message Date
Roy Qu 83a4277e68 - fix: static members are not correct showed after Classname + '::' 2022-01-25 16:11:16 +08:00
Roy Qu ca9006ff4f - fix: can't show private & protected members of 'this'
- fix: function name like 'A::B' is not correctly parsed
2022-01-25 13:53:55 +08:00
Roy Qu 7112d68a14 - fix: code completion popup won't show members of 'this' 2022-01-25 13:10:08 +08:00
Roy Qu 67f8629be3 - fix: when copy comments, don't auto indent
- enhancement: auto add a new line when press enter between '/*' and '*/'
2022-01-25 12:29:44 +08:00
royqh1979@gmail.com 326d8ea5f7 Merge branch 'master' of github.com:royqh1979/RedPanda-CPP
# Conflicts:
#	NEWS.md
2022-01-25 09:58:17 +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 e89ac58462 - enhancement: auto zoom ui when screen's zoom factor changed (windows) 2022-01-24 18:37:16 +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 c100c5c3e8 update NEWS.md 2022-01-24 16:51:38 +08:00
Roy Qu 05e7d42447 - fix: crash if compiler set's include dir list is not empty and lib dir list is empry 2022-01-24 16:45:43 +08:00
Roy Qu 3c132d69f3 - fix: if editor's active line color is disabled, caret's position may not be correct redrawn 2022-01-24 16:20:16 +08:00
Roy Qu 2c8a7d29dd - fix: indent lines displayed at wrong position, when there are folded lines 2022-01-24 16:08:24 +08:00
Roy Qu f21eded1ad - fix: when open a file, all blank lines's indents are removed. 2022-01-24 15:41:23 +08:00
royqh1979@gmail.com 20d03174be update NEWS.md 2022-01-24 11:26:24 +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 8cffef2cb6 - add a new template for raylib shader apps 2022-01-23 23:28:34 +08:00
Roy Qu 609f611e8f - enhancement: highlighter for GLSL (OpenGL Shading Language) 2022-01-23 23:27:48 +08:00
Roy Qu 194dd3f3e4 - fix: Undo in the editor will lose line indents when no highlighter is assigned (the editing file is a not c/cpp source file); 2022-01-23 21:28:27 +08:00
Roy Qu ebe2dbb95e - fix: editor crash when no highlighter is assigned (the editing file is a not c/cpp source file);
- fix: ')' not correctly skip in the editor when no highlighter is assigned (the editing file is a not c/cpp source file);
2022-01-23 21:04:08 +08:00
Roy Qu df323d30c8 - fix: ctrl+click on the enum value will jump to the wrong line in it's definition file
- fix: line info in the mouse tip of statement not correct
2022-01-22 21:07:41 +08:00
Roy Qu c595b6e9da - fix: app crash when ctrl+click on a #include statement that point to a directory instead of header file. 2022-01-21 19:32:12 +08:00
Roy Qu 9af7c736d9 cement: If console pauser doesn't exist, warn and stop running programs. 2022-01-20 00:12:50 +08:00
Roy Qu e161ec42ae - fix: app will become very slow when processing very long lines. 2022-01-19 23:43:25 +08:00
Roy Qu 02813587fd - fix: when show function tips, can't correctly calcuate the current position in the function param list 2022-01-18 20:31:07 +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 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
royqh1979@gmail.com 682c81265e Merge branch 'master' of github.com:royqh1979/RedPanda-CPP 2022-01-17 08:48:21 +08:00
Roy Qu 6209b1ff05 - fix: in linux, projects no need of winres to be built
update debian pacakges files
2022-01-15 12:25:30 +08:00
Roy Qu 04770a6fd8 - enhancement: better behavior of mouse tips 2022-01-15 11:22:20 +08:00
royqh1979@gmail.com c2547406b4 update NEWS.md 2022-01-14 10:13:24 +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 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 bab728e792 - enhancement: add "wrap around" option to find/replace 2022-01-13 12:55:55 +08:00
Roy Qu a3e4f333ab - enhancement: ctrl+up/down scrolls in the editor 2022-01-13 07:39:56 +08:00
Roy Qu 19fc3302ed - fix: caret dispears when at '\t' under Windows 7 2022-01-12 22:21:40 +08:00
Roy Qu eefb65bcb4 - fix: parser can't correctly handle variable definitions that don't have spaces like 'int*x';
- fix: parser can't correctly handle function parameters like 'int *x'
2022-01-12 20:59:28 +08:00
Roy Qu 797a9b8498 - enhancement: redirect stdio to a file while debugging ( must use gdb server mode to debug) 2022-01-12 18:47:50 +08:00
Roy Qu 995b734334 - fix: crash when refactor symbol and cursor is at the end of the identifier
- fix: refactor symbol doesn't work for 1-length identifiers
2022-01-12 18:07:52 +08:00
Roy Qu d8413ab76c - enhancement: modify values in the watch view by double click 2022-01-12 17:14:39 +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 8edace1c1d - enhancement: add "minimum id length required to show code completion" to the options dialog's editor code completion page 2022-01-10 21:46:03 +08:00
Roy Qu 3d9edcad57 - enhancement: support ligatures in fonts like fira code ( disabled by default, can be turned on in options dialog's editor font page) 2022-01-10 20:16:26 +08:00
Roy Qu 0e0f954bec - enhancement: if there's no selection when copy/cut, select currect line by default 2022-01-10 18:37:00 +08:00
Roy Qu c56b6c5414 add more templates 2022-01-10 10:53:16 +08:00
Roy Qu 4c57a7beda update NEWS.md 2022-01-09 17:42:56 -08:00
Roy Qu 7fa4b072d0 - fix: "delete and exit" button in the environtment / page option page doesn't work correctly 2022-01-09 21:54:59 +08:00
Roy Qu 6a7789ff77 - enhancement: add raylib to autolinks
- enhancement: distribute raylib with integrated gcc
2022-01-09 19:33:34 +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 04b18b1648 - fix: .rc file shouldn't be syntax checked 2022-01-08 13:39:47 +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 13ee2d7f33 - enhancement: auto sort files in the project view 2022-01-07 19:20:42 +08:00
Roy Qu 8732f7d37e - fix: shouldn't auto add /bin/gcc to compiler sets
- fix: if a dir duplicates in PATH, don't add it to compiler sets
repeatedly
- enhancement: add "--sanitize=address" to compile option in the Debug
compiler set in Linux
2022-01-06 20:46:27 +08:00
Roy Qu 3b0c8eccdb - enhancement: add raylib.h to autolink
- fix: shouldn't generate default autolink settings in linux
2022-01-06 17:52:52 +08:00
Roy Qu b604e0d548 - fix: crash when close settings dialog in Ubuntu 20.04 (but we'll leak memory now...) 2022-01-05 05:03:50 -08:00
Roy Qu 23b9e46dea update NEWS.md 2022-01-05 09:44:45 +08:00
Roy Qu cb43d0277f - change: use libicu instead of ConvertUTF.c under Linux
- change depends to qt 5.12 instead of 5.15
2022-01-04 18:06:23 +08:00
Roy Qu 1d48991d20 - fix: debugger's "continue" button not correctly disabled 2022-01-03 20:18:53 +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 2319034be4 - fix: heartbeat for gdb server async command shouldn't disable actions 2022-01-01 09:17:12 +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 8ea5a2d5ba update NEWS.md 2021-12-29 19:17:31 +08:00
Roy Qu 3be06fe586 - fix: wrong executable filename for source files in linux
- enhancement: console pauser for linux
2021-12-29 13:16:03 +08:00
Roy Qu cef2b66a59 - fix: open terminal in linux 2021-12-28 08:49:31 +08:00
Roy Qu 63e1b44fa5 - fix: can't reformat code
- enhancement: add option for setting astyle path
 - fix: wrong file wildcard (*.*) in linux
2021-12-27 22:46:54 +08:00
Roy Qu fe8d3e9663 - fix: compile error in linux
- fix: can't receive gdb async output for commands
2021-12-27 21:32:30 +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
Roy Qu a9d32ce742 - add options for gdb server
- debug with gdb server
2021-12-25 18:09:19 +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 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 0f3baaac00 Version 0.12.1 For Dev-C++ 7 Beta
- fix: error when drag&drop in editors
2021-12-23 22:05:57 +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 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 cec7511009 - 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:22 +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 a806fe9389 - enhancement: use svg icons for class browser 2021-12-21 07:38:49 +08:00
Roy Qu 7687fc1cb7 - fix: symbol completion for '<>' in the preprocessor line not work 2021-12-20 13:00:47 +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 da1dc2e856 - fix: auto indent processing error when input '{' in the middle of if statement 2021-12-19 20:48:23 +08:00
Roy Qu 34e3360fd3 update NEWS.md 2021-12-19 16:57:46 +08:00
Roy Qu 6ab8ba9869 - fix: compiler set's custom link parameters not used when compiling
- fix: code completion doesn't work when input inside () or []
2021-12-19 16:54:31 +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 109ea5a0ae - enhancement: better highlight processing for preprocess directives 2021-12-19 09:24:48 +08:00
Roy Qu cd5b281c90 - enhancement: use the new expression parser to parse info for tips 2021-12-17 21:47:37 +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 2d65e1d93b - fix: can't correctly set TDM-GCC compiler
- fix: auto add 32-bit compiler sets for TDM64-GCC
2021-12-16 11:36:52 +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 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