Commit Graph

2315 Commits

Author SHA1 Message Date
Roy Qu 5332ffee84 - enhancement: Auto adjust position of the suggestion popup window. 2023-10-21 10:14:12 +08:00
Roy Qu c1b5dd4b36 Refactor & cleanup for ctrl+mouse move 2023-10-21 09:29:26 +08:00
Roy Qu 6a02b58099 Merge branch 'master' into 2.26 2023-10-21 09:04:36 +08:00
Roy Qu 380482d829 - fix: Project recompiles for every run if auto increase build number is turned on.
- fix: Auto increase build number for project is not correctly processed.
2023-10-20 20:10:50 +08:00
Roy Qu 9b1b81e368 2.26 cleanup 2023-10-20 11:17:46 +08:00
Roy Qu 7b949d8d23 - change: Use ctrl+mouseMove event to highlight jumpable symbols (instead of ctrl+tooltip). 2023-10-20 10:32:51 +08:00
Roy Qu 8fe15dab8a - enhancment: Code suggestion for embedded std::vectors. 2023-10-19 19:32:08 +08:00
Roy Qu fd95b49270 - fix: Correctly handle project templates that have wrong unit counts. 2023-10-19 08:33:37 +08:00
Roy Qu 5bf6da785c fix: crash when using ibus as the input method 2023-10-18 14:00:32 +00:00
Cyano Hao 0bb941e7fd
fix ibus focus losing behavior (#142) 2023-10-18 21:52:58 +08:00
Roy Qu daaa97ba76 Merge branch 'master' of github.com:royqh1979/RedPanda-CPP 2023-10-18 17:08:07 +08:00
Roy Qu 2b94c752df disalbe code suggestion while using ibus as the input method 2023-10-18 17:07:16 +08:00
Roy Qu 38a55dcdb4 - ehhancement: Show selected char counts in status bar.
- enhancement: Differentiate /* and /** when calculate auto indents.
2023-10-18 14:37:31 +08:00
Roy Qu c2421054a2 windows: autolink for easyx 2023-10-17 21:07:23 +08:00
Roy Qu 814f3a28db - enhancement: After compiler settings changed, run/debug current file will auto recompile. 2023-10-15 16:28:55 +08:00
Roy Qu 5371311219 - fix: Icon position not correct under hiPDI devices. 2023-10-15 12:45:31 +08:00
Roy Qu 526e73d27a Use QRecursiveMutex instead of QMutex in CppParser 2023-10-10 19:59:39 +08:00
Roy Qu 571f18ee54 - fix: Press '>' after '-' don't show completion suggestion info. 2023-10-09 18:20:48 +08:00
Roy Qu 6016065b58 - enhancement: When creating project, warn user if the project folder is not empty. 2023-10-08 19:58:04 +08:00
Roy Qu 24d84b9f5e Two new schemes 2023-10-05 18:35:36 +08:00
Roy Qu 119add20d8 work save 2023-10-01 15:47:58 +08:00
Roy Qu 85cd761e36 minor fix 2023-10-01 10:49:59 +08:00
Roy Qu 14ba74e705 - fix: Processing for #if/#elif/#else is not correct. 2023-10-01 10:45:43 +08:00
Roy Qu 02a0ed049b Merge branch 'master' of github.com:royqh1979/RedPanda-CPP 2023-09-27 13:57:47 +08:00
Roy Qu 039ca4ce9e only add path when open shell under windows 2023-09-27 13:57:39 +08:00
Cyano Hao ca13548ba0
Terminal arguments fix and cleanup (#138)
* fix linux build error

* Linux packaging: remove Alacritty from AppImage

* limit APP_DIR trick to Windows only

* implement Windows search path

* fix terminal search
2023-09-25 10:15:07 +08:00
Roy Qu 78f00febbc - fix: Custom compile options is not used when retrieve macros defined by the compiler. 2023-09-24 08:55:10 +08:00
Roy Qu 33d4327443 update translations 2023-09-22 08:17:52 +08:00
Roy Qu bb6c8acb1a - change: Use freetype as the fontengine in windows 2023-09-22 08:05:05 +08:00
Roy Qu f0d6787c9c remove all newlook24 icons 2023-09-21 19:21:42 +08:00
Roy Qu 8edbe5e9be update translations 2023-09-21 17:02:13 +08:00
Roy Qu 8ea94b3e26 minor change 2023-09-21 16:37:22 +08:00
Roy Qu 7b5fa255da Redesign terminal settings 2023-09-21 16:31:22 +08:00
Roy Qu 9557dd8378 minor fix and clean up 2023-09-21 12:52:56 +08:00
Roy Qu f145e87962 Autoset terminal options if not setted before. 2023-09-21 12:19:17 +08:00
Roy Qu 1e645d7770 Improvement of terminal support 2023-09-21 08:17:07 +08:00
Cyano Hao 52c5ea4caf
improve custom terminal settings (#137)
- custom terminal on Windows now require explicit enablement
- customizable terminal arguments pattern and its auto detection
- move hard-coded terminals to resource files
2023-09-20 10:52:54 +08:00
Roy Qu eb1a86a4a8 minor clean up 2023-09-06 07:12:22 +08:00
Cyano Hao 7cf5d21b48
Add runner args abstraction and fix shm on macOS/BSD (#134)
* add runner args abstraction to allow different args patterns in various terminal apps; fix macOS shm IPC

* extend platform support from Linux to XDG desktop

* update build docs for Unix

* improve terminal args pattern migration for macOS
2023-09-05 19:14:08 +08:00
Roy Qu 18aa239b40 change website url 2023-08-26 17:00:04 +08:00
Roy Qu ee26d9d0a0 - fix: Symbol completion of '(' before selection may fail, if cursor is at the beginning of the selection. 2023-08-23 20:47:23 +08:00
Roy Qu 10c134a5c7 - change: Symbol completion of '(' won't test current character at the cursor.
- change: Symbol completion of '{' won't insert extra new lines.
2023-08-23 17:24:07 +08:00
Roy Qu 23a1a80890 more options for sdcc compiler 2023-08-21 22:03:21 +08:00
Roy Qu 0c64aaff87 Merge branch 'master' of github.com:royqh1979/RedPanda-CPP 2023-08-21 11:48:37 +08:00
Roy Qu 6690599d60 fix: options are ignored when compile
add more compiler options for sdcc
 Support text input for compiler options
2023-08-21 11:48:23 +08:00
Cyano Hao 9e868d131c
fix: build failure for various windows toolchains; update build doc (#131) 2023-08-21 10:45:09 +08:00
Roy Qu 9bc5203a93 - fix: Can't find other compilers that in the same folder with gcc. 2023-08-20 21:38:26 +08:00
Roy Qu 4be629727d - enhancement: 3 compare mode for problem cases. 2023-08-19 18:01:16 +08:00
Roy Qu c63d0e7187 - update some project template icons.
- add icon info for project icon
2023-08-18 10:04:02 +08:00
Roy Qu 097128e2f3 fix: can't complete <> "" in #include 2023-08-18 09:26:06 +08:00
Roy Qu 98f015f661 fix: linux compatibility(from cyano.CN) 2023-08-17 22:08:31 +08:00
Roy Qu 3d3e92bfdb fix: windows project failed to compile. 2023-08-17 19:48:55 +08:00
Roy Qu 6b2a800d37 - enhancement: Support SDCC Project. 2023-08-17 19:24:49 +08:00
Roy Qu dd5640d334 - enhancement: False branches are displayed as comments. 2023-08-17 13:24:08 +08:00
Roy Qu d720421830 - enhancement: Better layout for compiler options page. 2023-08-15 11:57:32 +08:00
Roy Qu 72883cf8fb streamline codes 2023-08-15 10:57:03 +08:00
Roy Qu 08693b81ec - enhancement: Use sdcc to generate bin files without linking sdcc startup codes. 2023-08-15 00:29:48 +08:00
Roy Qu bbdefc4af0 - fix: Can't suggest header filename starting with numbers. 2023-08-14 22:37:34 +08:00
Roy Qu fbef3b4f29 minor change 2023-08-14 19:56:56 +08:00
Roy Qu c2c2e3c9b1 fix: Options are lost when compiling using sdcc 2023-08-14 18:03:25 +08:00
Roy Qu b16a85d033 - Retrieve sdcc predefined macros (hacking).
- Stop compiling if ihx file is not correct created.
 - Run/Debug/Generate assembly actions are correctly diabled.
2023-08-14 12:22:24 +08:00
Roy Qu eb1a219de6 - fix: Press up/down arrow key in the option dialog's left panel won't switch page. 2023-08-13 23:26:31 +08:00
Roy Qu dcd53771d3 fix: Can't suggest members of variable defined by unname struct/union. 2023-08-13 22:19:56 +08:00
Roy Qu 37df656c82 add more sdcc keywords 2023-08-13 20:57:09 +08:00
Roy Qu 97fef20a78 minor change 2023-08-13 19:14:31 +08:00
Roy Qu acc1fbd4aa support compile sdcc file 2023-08-13 18:58:04 +08:00
Roy Qu bfc1b03ae3 use sdcc to create hex/bin files 2023-08-13 18:53:48 +08:00
Roy Qu 707358817c - enhancement: Autowrap tool output text. 2023-08-13 15:41:17 +08:00
Roy Qu d2b0653504 - enhancement: Autowrap tool output text. 2023-08-13 15:10:33 +08:00
Roy Qu 738faf0c90 - fix: Crash if close file while auto syntax checking.
- enhancement: support sdcc compiler.
2023-08-13 14:46:53 +08:00
Roy Qu d86f98b0ee update chinese translations 2023-08-12 22:25:30 +08:00
Roy Qu f462d6708d - fix: Crash if close file while auto syntax checking. 2023-08-12 13:51:35 +08:00
Roy Qu 496421e97d - fix: Wrong compiler settings if xcode is not installed in mac os.
- enhancement: Name for new files will not be different from files openned.
2023-08-11 17:09:30 +08:00
Roy Qu 12f4b3ee9c - fix: Wrong compiler settings if xcode is not installed in mac os. 2023-08-11 16:26:03 +08:00
Roy Qu aa03dfc01d update Simplified Chinese translation 2023-08-11 14:10:04 +08:00
Roy Qu 739f382f46 - change: Remove option "clear all symbols when current editor is hidden".
- fix: When opening multiple files, only the active file should be parsed.
2023-08-11 13:49:09 +08:00
Roy Qu 62f7c0a495 - change: New file created by file template is set as unmodified by default. 2023-08-09 23:01:53 +08:00
Roy Qu 7104089e66 comment out debug info 2023-08-09 22:36:33 +08:00
Roy Qu 0f7b4b8ce5 - fix: Wrong code suggestion while inputing numbers in assembly files.
- fix: Defines in all files are wrongly cleared when reparsing.
2023-08-09 22:35:25 +08:00
Roy Qu 3a8e434399 - change: Git support is disabled in the distributed buildings. 2023-08-08 14:41:23 +08:00
Roy Qu dfbdf604fb - fix: Filename in the gcc 13.1 error messages when building project is using wrong encoding. 2023-08-08 12:44:46 +08:00
Roy Qu f111433ac5 - fix: Can't parse virtual inherit. 2023-08-08 10:40:59 +08:00
Roy Qu 30426ac58f Crash when enum value is a symbol that not valid. 2023-08-07 18:28:30 +08:00
Roy Qu d1214e3d63 fix: Value of noname enum members are not shown in the class browser. 2023-08-07 14:42:42 +08:00
Roy Qu 6a06b5b3d6 - fix: Dummy struct/enum symbols shouldn't be shown in the completion suggestion.
- enhancement: Support optional enum name.
  - enhancement: Support optional enum type.
  - enhancement: Support simple const expression evaluation for enum values.
  - fix: Accessibilty for inherited members are not correct calculated in multiple inheritance.
  - fix: Can't handle full class name when handle inheritance.
2023-08-07 14:23:57 +08:00
Roy Qu dd724e64c2 - enhancement: Show progress dialog if the time for searching compilers is too long. 2023-08-06 00:05:58 +08:00
Roy Qu 9be257e8e8 - fix: "UTF-8 BOM" can't be correctly loaded as project file's encoding.
- fix: Project file's encoding is not correctly updated after converted manually.
2023-07-31 21:07:45 +08:00
Roy Qu d3a8a57cf5 - fix: Goto definition/declaration may choose wrong symbol is multiple files are opened and symbols have the same name. 2023-07-27 15:44:33 +08:00
Roy Qu 9076fb6ab9 refactor: fix typos 2023-07-25 09:41:20 +08:00
Roy Qu 21b4494f3c - fix: english typos. (thanks for sangiye0@github) 2023-07-24 18:38:58 +08:00
Roy Qu 4bebf8da65 remove debug code 2023-07-15 08:25:39 +08:00
Roy Qu b579139191 - fix: Code completion doesn't work if "min id length to show completion" is not 1. 2023-07-15 08:20:26 +08:00
Roy Qu 2943226e46 - fix: Code completion doesn't work if "min id length to show completion" is not 1. 2023-07-14 22:01:58 +08:00
Roy Qu cd4284f13d fix: memory view's cell is too wide in linux 2023-07-14 20:37:29 +08:00
Roy Qu 8e6a1872db - fix: members of elements of stl maps are not correctly suggested. 2023-07-14 17:44:14 +08:00
Roy Qu 73abcdbb23 update gcc 13.1 gdb scripts 2023-07-14 10:33:26 +08:00
Roy Qu 2c999dd8ed try to invoke set print characters when gdb starts 2023-07-14 08:30:21 +08:00
Roy Qu 41611d6ab6 remove material iconset 2023-07-13 21:05:35 +08:00
Roy Qu 6d4d06ed32 change icons 2023-07-13 21:00:29 +08:00
Roy Qu 4d77ceda99 update material icon set 2023-07-13 20:54:45 +08:00
Roy Qu c743e75997 add material icon set 2023-07-13 20:47:25 +08:00
Roy Qu 7b741dfdb9 - enhancement: Don't show "\000" of string values in the debug local variables panel. 2023-07-13 11:01:11 +08:00
Roy Qu ab9524e134 - change: Don't print repeated values in gdb individually 2023-07-13 10:08:01 +08:00
Roy Qu d629a496ff - fix: Shouldn't auto indent lines starts with "\\".
- enhancement: When problem case's expected output is not too large (<= 5000 line), highlight text in the first different line in the expected output.
  - enhancement: Highlight text in the first different line using the error color.
  - enhancement: Add the option "redirect stderr to the Tools output panel" in the options dialog -> executor -> problem set page.
2023-07-12 12:08:26 +08:00
Roy Qu 7ad6a64150 - fix: "Toggle breakpoint " in the editor gutter's context menu doesn't work.
- fix: Click editor's gutter won't toggle breakpoint in KDE debian 12
2023-07-08 19:47:48 +08:00
Roy Qu 5e71973152 Merge branch 'master' of github.com:royqh1979/RedPanda-CPP 2023-07-07 08:36:51 +08:00
Roy Qu b3352df412 fix: highlight colors for the light theme 2023-07-07 08:35:45 +08:00
Roy Qu 4f23c35808 - enhancement: Correctly reformat C++ three-way comparision operator "<=>" 2023-07-06 20:41:54 +08:00
Roy Qu 5240b1f01f Redesign find in files UI 2023-07-05 19:34:17 +08:00
Roy Qu 595156e80f - enhancement: Folder mode in "File in files" dialog.
- enhancement: When open a file, test if it contains binary contains.
2023-07-05 15:02:39 +08:00
Roy Qu eccdf68a60 - fix: Tips for problem is not correctly displayed. 2023-07-05 11:21:20 +08:00
Roy Qu 56f03a52d5 - fix: Keyword asm is not correctly parsed. 2023-07-05 09:01:38 +08:00
Roy Qu b65ad80235 - enhancement: Sort symbols by their declaration pos in the Class Browser, if not sort by alpha order. 2023-07-04 23:21:42 +08:00
Roy Qu bd768552c0 - fix: Inherited class/struct members are not correctly shown in the completion suggestions. 2023-07-04 20:10:08 +08:00
Roy Qu 377a379554 fix: highlight for #define is not correct 2023-07-04 17:19:29 +08:00
Roy Qu 0e1332dd5e fix: "__max" in istream.tcc is wrongly expanded. 2023-07-03 18:21:33 +08:00
Roy Qu f4b61d5c5a restore light theme's highlighted color. 2023-07-03 17:07:48 +08:00
Cyano Hao e89f4400eb
Uniform look for Red Panda C++ under KDE/DDE (#119)
* KDE theme: fix visual problems with KDE dark mode; add system theme

* Make "Light" theme truly light under Breeze Dark theme.
  * With this fix also expose dark mode support on Windows.
* Add "Auto" (system) theme that follows system style and color.
* Add "Adaptive" color scheme for system theme (using transparent background).
* Add support for transparent background in color schemes.

* move `alphaBlend` to utils

* hide Auto (system) theme on Windows
2023-07-03 14:06:26 +08:00
Cyano Hao c7a95d9eab
Enable IME support in AppImage (#116)
* Linux package: add fcitx5-qt to AppImage build environment

* Linux package: add static link to ime plugins
2023-07-03 14:06:10 +08:00
Roy Qu b571e5f535 - enhancement: Show code completion suggestion after "typedef" and "const". 2023-07-03 09:36:27 +08:00
Roy Qu 9e5fd90196 Don't hide windows.h in files that using ege lib 2023-07-03 07:11:51 +08:00
Roy Qu 48e6dbc024 - fix: Replace panel should be hidden after finding occurrencies. 2023-07-02 23:41:32 +08:00
Roy Qu e11a81d3c0 - enhancement: add "OI Wiki" and "turtle graphics tutorial" in help menu for zh_CN locale.
- change: rename "graphics.h" template to "ege" for zh_CN locale
  - change: update graphics.h/ege template's icon
2023-07-02 11:09:34 +08:00
Roy Qu 362cf5701c - improve: Correctly expands multi-line macros when parsing;
- improve: Correctly eppands macros when real param string contains '(' or  ')'.
2023-07-01 18:06:39 +08:00
Roy Qu 58b92a6360 - fix: crash when source files contains macro definitions like "#define cfun (cfun + 0)" 2023-07-01 13:41:27 +08:00
Roy Qu 88b592f829 - fix: crash when parsing files containing inline assembly code. 2023-06-30 11:52:01 +08:00
Roy Qu e5e322dea4 - enhancement: correctly highlight multiline raw string literals.
- change: remove "Assembly" color scheme item (it's not used anymore).
2023-06-30 10:53:58 +08:00
Roy Qu 8ad9e22976 - fix: "typedef struct" for arrays is not correctly parsed. 2023-06-30 09:29:20 +08:00
Roy Qu d71cd7e7dc - fix: "typedef struct" that don't have definition of the struct is not correctly parsed. 2023-06-29 21:31:30 +08:00
Roy Qu 9dd654cc48 - enhancement: When deleteing files in the files view, try moving to the trash bin instead.
- fix: GNU assembly files (.s) are not shown in the files view.
2023-06-29 00:27:06 +08:00
Roy Qu 0e1decad65 check windows version and decide if the debug info in the executable files is utf8 encoded. 2023-06-27 11:50:43 +08:00
Roy Qu adcaba29d0 windows'c gcc default to mingw-w64 gcc 2023-06-25 08:53:21 +08:00
Roy Qu 4070362cdc - enhancement: improve parsing result for function parameters like 'Node (&node)[10]' 2023-06-21 19:30:02 +08:00
Roy Qu 35b986a358 - enhancement: improve code completion for std iterators defined with "using namespace std" 2023-06-20 21:07:26 +08:00
Roy Qu 3cc00eaf8f improve pointer level calc for [] 2023-06-20 19:26:28 +08:00
Roy Qu 9e7d82fc52 work save 2023-06-20 10:58:14 +08:00
Roy Qu 1928783cbd - enhancement: differenciate -> and . when displaying completion suggestion infos. 2023-06-20 09:57:57 +08:00
Roy Qu be8a5610a4 - fix: Use "/" as path seperator when starting app by double clicking c/c++ files in the explorer. 2023-06-16 17:57:24 +08:00
Roy Qu 5e78c0aa62 - fix: Goto definition/Goto declaration/Info tips can't be correctly triggered when mouse pointer is at the last half character of current word. 2023-06-15 16:40:47 +08:00
Roy Qu dfed4accf6 - enhancement: Tooltip support for '->' operator on std iterators.
- enhancement: Close other editors.
2023-06-13 17:16:09 +08:00
Roy Qu 4746d1b63c - enhancement: Code completion for '->' operator on std iterators. 2023-06-08 17:15:55 +08:00
Roy Qu 36cb8b7867 - fix: When selection is availalbe, Ctrl+Click shouldn't jump to declaration/definition. 2023-06-07 20:41:35 +08:00
Roy Qu e2f25d063f - fix: Typedef and using alias is not correctly handled in expression evaluation. 2023-05-31 20:06:52 +08:00
Roy Qu 72189f0a94 - enhancement: Add various menu items for cursor actions using Home/End/Page Up/Page Down keys.
- enhancement: Filter names in the shortcut config page of options dialog.
2023-05-31 08:52:59 +08:00
Roy Qu 89cc44bcf6 - enhancement: support -std=c++2d gcc parameter
- fix: vertice shader(.vs) and fragment shader(.fs) files can't be openned by double click in the project browser.
2023-05-30 11:33:41 +08:00
Roy Qu 036a69bf3f fix: error when load debug configuration files 2023-05-29 12:07:27 +08:00
Roy Qu 11bceaf972 - enhancement: support function arguments like "int (&t)[]"
- change: Don't show error dialog when bookmark/debug configuration json files are empty.
2023-05-29 10:52:17 +08:00
Roy Qu c6fb11d130 work save 2023-05-29 09:34:07 +08:00
Roy Qu e44b2999e1 - enhancement: show completion for return type of lambda expressions. 2023-05-26 08:55:21 +08:00
Roy Qu 3440b08d8d - enhancement: ignore '__extension__' when parsing C/C++ codes. 2023-05-25 18:19:18 +08:00
Roy Qu 3d138e3ac5 - fix: lambda expression is not correctly handled. 2023-05-24 20:32:27 +08:00
Roy Qu d4ccdbcdc2 - fix: lambda expression is not correctly handled. 2023-05-24 19:30:38 +08:00
Roy Qu c304f3f8a0 - fix: lambda expression is not correctly handled. 2023-05-24 17:02:59 +08:00
Roy Qu d37652a236 Merge branch 'master' of github.com:royqh1979/RedPanda-CPP 2023-05-24 13:43:06 +08:00
Roy Qu 19a85db1f9 - fix: '^' is not correctly handled as operator. 2023-05-24 13:42:46 +08:00
Bowen 404 f106ca62f7
Update systemconsts.h for MacOS (#115)
by RigoLigo, 不过他似乎一直没时间提交, 我就代为提交一下吧...mac的定义中缺少一个consolepauser的常量定义
2023-05-18 11:56:25 +08:00
Roy Qu a251173a6a comment out debug codes 2023-05-14 15:59:54 +08:00
Roy Qu 7e3ee41546 - fix: foreach-loops are not correctly parsed. 2023-05-14 15:57:07 +08:00
Roy Qu 6736524380 - fix: Crash at startup when current problem in the problem set is connected with source file. 2023-05-03 12:55:19 +08:00
Roy Qu 9275f9750c - fix: Error message when save bookmarks. 2023-04-25 19:28:17 +08:00
Roy Qu c066919e2e - enhancement: Just keeping two digits after the decimal point for file size in the file properties dialog. 2023-04-19 18:07:19 +08:00
Roy Qu aded956ca8 - enhancement: Auto skip ; and , when input. 2023-04-18 18:05:27 +08:00
Roy Qu 9be0daf9c9 Merge branch 'master' of github.com:royqh1979/RedPanda-CPP 2023-04-13 10:20:55 +08:00
AlexN-114 d253f7e83e
Update projectcompiler.cpp (#111)
Fixes a problem with generating "Makfile.win"
2023-04-13 10:20:30 +08:00
Roy Qu 8deb40f9f5 - change: The option "Check for stack smashing attacks (-fstack-protector)" is turned off by default in the Debug compiler set settings. 2023-04-07 09:55:35 +08:00
Roy Qu 7bc4365573 - change: Remove the compiler set option "Syntax error when object larger than" 2023-04-04 08:27:22 +08:00
Roy Qu d8f9cef762 - enhancement: Open project's option dialog instead of the option dialog, when click the compiler set settings button in the toolbar and the current editor is for project.
- enhancement: Reset project compile options when change compiler set in the project options dialog.
2023-04-03 09:39:45 +08:00
Roy Qu 799ce52460 - enhancement: Refine suggestion info when try debug and the compiler settings are not correct.
- enhancement: Open the options dialog/project options dialog when user want to correct compiler settings for debug.
2023-04-02 22:53:02 +08:00
Roy Qu 08124282da Merge branch 'master' of github.com:royqh1979/RedPanda-CPP 2023-04-01 16:51:18 +08:00
Roy Qu 68caa885bb - change: Default max function frame size is 2MB under windows / 8MB others. 2023-04-01 11:41:46 +08:00
Roy Qu 90c8d27307 - fix: File/Project visit histories are not correctly saved when clearing. 2023-03-31 19:41:52 +08:00
Roy Qu 7a64538982 - change: Change compiler set option "Syntax error when object larger than" to "Syntax error when function frame larger than"
- fix: Projects created by some templates are not correct when editor's default encoding is not utf8.
2023-03-31 17:39:08 +08:00
Roy Qu 2a8aca4b75 linux compatibility 2023-03-28 18:58:41 +08:00
Roy Qu 5f1aa5f620 minor change 2023-03-27 08:41:12 +08:00
Roy Qu cd17c7cbca - enhancement: Improve code completion suggestion for arrays. 2023-03-26 19:05:38 +08:00
Roy Qu 405315bd8e - fix: When adding files to project and there'are duplicates, the warning info is not complete. 2023-03-26 17:14:40 +08:00
Roy Qu fbe051f709 - fix: "Run all problem cases" with project is not correctly handled. 2023-03-26 12:34:11 +08:00
Roy Qu 7a8a239dfc - fix: Reformat code when select contents in column mode will mess up the document.
- enhancement: Add "save as" icon to the toolbar.
  - enhancement: Use key sequences as shortcut to actions in the options dialog's environment->shortcut page.
  - change: Use ctrl+shift+S as the shortcut for "save as".
  - change: Use ctrl+K,ctrl+S as the shortcut for "save all".
2023-03-25 10:16:49 +08:00
Roy Qu 584b970aec fix: last line not removed when it's not used in the Drag&Drop 2023-03-24 18:24:48 +08:00
Roy Qu d7293b48fc - fix: Remove multiple files in the project panel is not correctly handled. 2023-03-24 17:55:02 +08:00
Roy Qu 919ba31c32 - fix: Class constructor & destructor is not correctly handled. 2023-03-24 17:40:59 +08:00
Roy Qu 0730aa6c22 - enhancement: Drag the selection beyond the end of the document, and move/copy it beyond the last line.
- enhancement: Open Containing folder will auto select the file in windows file explore.
2023-03-23 22:33:04 +08:00
Roy Qu cdcf525157 - fix: The option "Open CPU info dialog when signal received" can't be correctly set in the options dialog's debugger page. 2023-03-21 17:11:12 +08:00
Roy Qu b951ac6636 - fix: Crash when a project is removed from the disk while it is openned in RedPanda-C++. 2023-03-19 20:51:12 +08:00
Roy Qu 56cd6c4d76 - fix: The option "Minimal indent for a continuous conditional beloning to a conditional header:" for formatter is not correct. 2023-03-18 21:37:11 +08:00
Roy Qu 1470f58206 - fix: Crash when directive line ends with '\' and at the last line. 2023-03-18 10:34:37 +08:00
Roy Qu f4f67d0b91 update translations 2023-03-18 09:10:17 +08:00
Roy Qu af80ee04c4 fix: Tooltips for no-shortcut actions is not correct 2023-03-17 17:57:49 +08:00
Roy Qu eb93d8369e - enhancement: Show shortcut info in toolbar's tooltip. 2023-03-17 15:37:11 +08:00
Roy Qu b4b41e43a1 - enhancement: Add option in the debug settings, to limit the length of the ouput generated by gdb for arrays. 2023-03-17 08:47:05 +08:00
Roy Qu 626217f856 - fix: Don't show completion info when input parameters for function definitions.
- fix: Don't show function info tips when typing class variable definitions.
  - fix: Compare error in debug mode.
2023-03-16 22:02:32 +08:00
Roy Qu f8076dd069 - fix: None initialized std::vector is not correctly displayed in the gdb of the gcc distributed with redpanda-c++ (Windows 64bit). 2023-03-16 18:11:05 +08:00
Roy Qu e8a3c6b4bc typo in translations 2023-03-15 15:37:28 +08:00
Roy Qu 627ff08d23 - fix: The comboxbox to input search keyword in the search dialog is case insensitive.
- fix: The comboxbox to input replace text in the search dialog is case insensitive.
  - fix: The comboxbox to input search keyword in the search in files dialog is case insensitive.
  - fix: The comboxbox to input address expression in the debug panel's memory view is case insensitive.
  - fix: The comboxbox to input evaluation expression in the debug panel is case insensitive.
  - fix: The comboxbox to input replace text in the search panel is case insensitive.
2023-03-14 17:49:36 +08:00
Roy Qu a8695a96d0 - enhancement: Options in compiler set settings, to generate protection code for stack smashing attack. (Enable for Debug settings by default)
- enhancement: Options in compiler set settings, to enable address sanitizer. Not available in windows.(Enable for Debug settings by default)
2023-03-14 10:02:23 +08:00
Roy Qu 99ca9796b1 fix typos. 2023-03-13 22:00:55 +08:00
Roy Qu 436a047821 - enhancement: Options in compiler set settings, to generate syntax error for large stack objects. 2023-03-13 21:57:15 +08:00
Roy Qu 16e45f1b9c - change: Remove compiler set options that's rarely used. 2023-03-13 09:15:05 +08:00
Roy Qu dab6a331b9 optimize parser 2023-03-13 00:13:23 +08:00
Roy Qu 586e6a6185 optimization for cpp parser 2023-03-12 23:45:03 +08:00
Roy Qu f37a9908ba refactor: handle class/struct/union in the parser 2023-03-12 19:17:39 +08:00
Roy Qu de406de236 refactor : member accessibility processing in the parser 2023-03-12 18:24:58 +08:00
Roy Qu f04c7c0221 refactor test for operator 2023-03-12 12:42:44 +08:00
Roy Qu b246e3d145 refactor check for struct/class/union defines in the parser 2023-03-12 10:50:47 +08:00
Roy Qu 16258cc015 use normal mutex instead of recursivemutex 2023-03-12 10:00:32 +08:00
Roy Qu aaac2bfcf7 - enhancement: Warn user and stop compile if project has missing files.
- enhancement: Warn user when exit and save settings failed.
2023-03-12 09:19:02 +08:00
Roy Qu 0b0e941155 - fix: Code completion info for stl::map/std::unordered_map is not correct. 2023-03-11 19:56:40 +08:00
Roy Qu b220df600b - enhancement: Sort header completion infos by suffix-trimmed filename. 2023-03-11 19:30:56 +08:00
Roy Qu d29ec1ee0f refactor: make most expression evaluation funcs const 2023-03-11 17:32:57 +08:00
Roy Qu de6b17fcda upgrade to 2.18 2023-03-11 08:32:52 +08:00
Wu Haotian da23ae64ba
- fix: macos icon size overgrown (#106)
MacOS uses high DPI pixmaps with devicePixelRatio equals 2. Setting a
flag in QApplication can enforce this in pixmaps fetched from QIcons and
thus make the icons look high DPI.
2023-03-11 07:49:47 +08:00
Roy Qu fdc04c0d4f fix: wrong type for operator overloading for conversion functions. 2023-03-10 20:50:46 +08:00
Roy Qu fec78d0045 - enhancement: Don't show operator overloading functions in the complete suggestions
- enhancement: Correctly hanlde operator overloading functions like "operator ClassA"
2023-03-10 20:13:52 +08:00
Roy Qu 60055107ca fix: '::' is not correctly handled when skip to : in the parser 2023-03-10 16:02:47 +08:00
Roy Qu f0f9741220 minor change 2023-03-10 11:35:33 +08:00
Roy Qu e9247f6476 - fix: Can't undo & save after copy by drag with mouse. 2023-03-10 09:12:22 +08:00
Roy Qu 3b56bab68b refactor: Don't implement custom indent options for C/C++ for now. 2023-03-09 21:08:08 +08:00
Roy Qu 45578a2603 refactor: formatter interface for qsynedit 2023-03-09 20:35:15 +08:00
Roy Qu ac9d62ee5e - fix: Chinese characters in the source code is not correctly displayed in the CPU info window. 2023-03-09 16:09:05 +08:00
Roy Qu 3a0d3f684a - enhancement: If no selection, Ctrl+C (Copy) auto selects the current line and put the cursor to the beginning. 2023-03-09 11:19:57 +08:00
Roy Qu 79b3f91006 - enhancement: Shift+Up in the first line will expand selection to the beginning of the line.
- enhancement: Shift+Down in the last line will expand selection to the end of the line.
2023-03-09 10:33:37 +08:00
Roy Qu 139a6d14c0 - fix: Cpu info window is auto openned, when debug using gdb-server. 2023-03-08 18:31:47 +08:00
Roy Qu 64eca05f7f Merge branch 'master' of github.com:royqh1979/RedPanda-CPP
#	NEWS.md
2023-03-08 18:07:14 +08:00
Roy Qu 0c8f3a0f60 - fix: Cpu info window is auto openned, when debug using gdb-server. 2023-03-08 18:01:10 +08:00
Roy Qu 9c04759602 - enhancement: Syntax color support for binaray integer literals.
- enhancement: Syntax color support for suffix in integer/float literals.
2023-03-08 13:23:47 +08:00
Roy Qu d295ff8d11 remove null deleter 2023-03-07 17:18:35 +08:00
Roy Qu f93d5cdd9e - enhancement: Open offline gnu as/x86 assembly manual if exists. 2023-03-05 08:56:11 +08:00
Roy Qu 2751c4dd9a fix compile error 2023-03-04 19:38:39 +08:00
Roy Qu e8ebead398 remove debug info 2023-03-04 19:34:09 +08:00
Roy Qu 8af7576cd1 fix compile error in windows 2023-03-04 18:49:30 +08:00
Cyano Hao bdfa4c066b
Linux package: bundled terminal in AppImage and minor adjustment (#104)
* AppImage: build Alacritty with from-scratch build environment

* enrich compatible terminal list; fix Linux terminal determination

* Linux: get rid of libicu
2023-03-04 18:44:39 +08:00
Roy Qu 1504e6cb04 - enhancement: Show mousetip for numbers in the GNU assembly file. 2023-03-04 18:23:57 +08:00
Roy Qu b82336e176 - enhancement: Add X86_64 AVX/AVX instruction descriptions to asm syntaxer.
- enhancement: Update to the newest x86 Assembly manual.
2023-03-04 12:47:49 +08:00
Roy Qu d80abbcf94 - fix: Problem's memory limit unit can't be correctly saved. 2023-03-03 18:17:26 +08:00
Roy Qu da3dda97e3 - enhancement: Add "Close window" and "Move to other view" in the "Window" menu
- enhancement: Auto open CPU info dialog, if the program in debug is stopped at a position that have no source file.
  - enhancement: "add watchpoint" when debug. It's hitted when the watch variable is modified, or it's out of scope.
  - enhancement: Switch current call stack frame in the CPU info dialog
  - fix: Shouldn't try evaluate value of the selection in the cpu info dialog.
  - enhancement: Show oct/bin/bin value in the memory view's tooltip.
  - Don't set optimization level to -Og in the Debug compiler set. (Some variable can't be view in the memory view, because they are put in registers.)
2023-03-03 17:20:33 +08:00
Roy Qu eac1077de1 - enhancement: Add "Close window" and "Move to other view" in the "Window" menu 2023-03-03 09:04:26 +08:00
Roy Qu 34fc0d75d2 minor change 2023-03-02 18:34:42 +08:00
Roy Qu 4ab15c2ee1 - enhancement: When first display two editor panes, auto make them the same width
- change: Don't rebuild the whole project when run/debug, if only
contents of project unit file is modified.
- fix: rebuild may not work, if project's parallel build option is
enabled.
2023-03-02 18:15:31 +08:00
Roy Qu 5cba7365f5 - enhancement: Improve support for function pointer vars. 2023-03-02 11:28:03 +08:00
Roy Qu a40dee6b4d work save 2023-03-02 10:15:25 +08:00
Roy Qu 56972d168e - fix: Can't correctly parse function pointer var definition. 2023-03-01 22:53:14 +08:00
Roy Qu 683331e848 - change: Set optimization level to -Og for Debug compiler settings by default. 2023-03-01 21:45:17 +08:00
Roy Qu 7943801f91 - emhancement: Improve display of disassembled codes in the cpu info dialog. 2023-03-01 20:28:00 +08:00
Roy Qu c96209cc42 - fix: Icons for buttons in the cpu info dialog is not correctly set.
- enhancement: Add cfi directives for asm syntaxer in linux.
2023-03-01 19:39:09 +08:00
Roy Qu c637ca3e4b - fix: Can't debug project when project is saved after it's compiled. 2023-03-01 18:46:43 +08:00
Roy Qu e7013cff1a - fix: Project files that not in the project folder is not correctly handled in makefile.
- enhancement: Improve support for function pointer typedefs.
2023-03-01 11:29:30 +08:00
Roy Qu d3fde7ab53 - change: Merge search and replace to one dialog.
- fix: Search dialog's "Match whole word" option doesn't work with "Use Regular expresion".
  - fix:Search dialog's "Close after search" option doesn't work.
  - change: Fill the search dialog with the current selection if it's available.
2023-02-28 16:17:56 +08:00
Roy Qu 78739e388a - enhancement: Add "Languages" page group in the options dialog.
- enhancement: Add "ASM Generation" page in the options dialog.
  - change: Move "Custom C/C++ keywords" from group "Editor" to "Lanauges" in the options dialog.
  - change: Rename "Folder" page to "Folder / Reset default settings" in the options dialog.
  - enhancement: Generate asm with/without SEH directives.
  - enhancement: Generate asm using intel style/att style.
  - enhancement: make description for jump/cmov/setb instructions more explicit. (used for signed or unsigned)
2023-02-28 10:49:50 +08:00
Roy Qu ca0e1b5593 work save 2023-02-27 20:08:24 +08:00
Roy Qu 9bf6b81493 minor change 2023-02-27 12:21:47 +08:00
Roy Qu a768d74116 - enhancement: Syntax check for assembly files.
Don't show debug tips in cpu info dialog
2023-02-27 08:53:39 +08:00
Roy Qu c9bb03350d - enhancement: Show descriptions mouse tip for assebmly instructions. (editor / cpu info dialog)
- fix: When completing resigter names, an extra '%' is wrongly added.
2023-02-26 17:50:03 +08:00
Roy Qu 511b6c679b - enhancement: Auto close other search/replace dialogs when start to search/replace.
- change: Remove "prompt when replace" in the replace.
  - fix: Search/replace with regex is not correctly handled.
2023-02-26 08:31:13 +08:00
Roy Qu 5bef664106 - fix: Search dialog shouldn't have "confirm when replace".
- change: Default value for the debugger debugger panel "memory view's columns" is changed from 8 to 16.
  - change: Default value for the debugger debugger panel "memory view's rows" is changed from 8 to 16.
  - enhancement: Display hex value as ascii chars in the debugger panel memory view tab.
2023-02-25 21:42:30 +08:00
Roy Qu 5d9ecea491 - enhancement: Add descriptions for x86 registers in the cpu info dialog. 2023-02-25 21:19:14 +08:00
Roy Qu 2dd835f4ce - fix: Function with reference type return value is not correctly parsed. 2023-02-25 12:23:45 +08:00
Roy Qu a4a7ff158c - fix: Static class members is not correctly recognized as static. 2023-02-25 12:15:54 +08:00
Roy Qu a7c73200d5 - enhancement: Keep project compile warning & error infos in the issues table, before project file is edited. 2023-02-24 12:17:30 +08:00
Roy Qu e5c6ea1a43 - Enhancement: New file templates for C / C++ / GAS files 2023-02-22 22:18:21 +08:00
Roy Qu 410cb50b18 remove nasm templates
- fix: "Generate assembly" menu item is wrongly enabled for new GNU assembly files
2023-02-22 13:38:31 +08:00
Roy Qu 8ad1915acd - change: Don't stop debug when breakpoint can't be set 2023-02-22 10:39:20 +08:00
Roy Qu c204b39e00 - enhancement: Remove all breakpoints for a closed non-project file.
- enhancement: Check and remove all non-exist breakpoints before debug a project
2023-02-22 08:59:00 +08:00
Roy Qu c1f8489bfd Assert fail on parser in DEBUG mode, when multiparser working at the same time 2023-02-21 22:40:29 +08:00
Roy Qu f03c25a672 - fix: Enum value defines is not correctly parsed.
- enhancement: Use differenct source file for each language in project templates
2023-02-21 20:35:41 +08:00
Roy Qu 3ede3e4ce6 - change: Remove all breakpoints of the current non-project file, when it is closed. 2023-02-21 15:43:45 +08:00
Roy Qu 457e84f86a - Enhancement: Correctly init panel sizes when first run. 2023-02-21 09:47:59 +08:00
Roy Qu fcca49e9e5 - fix: Can't debug when debug a file while other file has breakpoints
- change: Don't save breakpoints for non-project files
2023-02-21 09:34:40 +08:00
Roy Qu 60db5a894b - Enhancement: Support C11 ano 2023-02-20 17:52:42 +08:00
Roy Qu 5bd1d92d53 remove no use code 2023-02-20 16:37:58 +08:00
Roy Qu 242f8a742e - Enhancement: Disable reformat code for non-C/C++ files. 2023-02-18 22:09:14 +08:00
Roy Qu 57c4c5bc98 - fix: Only C/C++/GAS files can set breakpoints.
- Enhancement: Don't show breakpoints/watch related menuitems in context menu for non-C/C++/GAS files.
2023-02-18 16:20:07 +08:00
Roy Qu 96aa836040 - enhancement: Auto create project custom executable folder if not existing. 2023-02-18 12:54:28 +08:00
Roy Qu 24734bfb28 - enhancement: If executable doesn't have symbol table, inform user and stop.
- enhancement: If breakpoint is setted but executable doesn't have debug info ,inform user and stop.
  - enhancement: If current compiler set has "strip addition infos(-s)" enabled, inform user and stop.
2023-02-18 12:08:03 +08:00
Roy Qu a91dc12519 - enhancement: Reduce flicker when editing big files. 2023-02-18 07:09:19 +08:00
Roy Qu f4b239e15d - enhancement: Greatly reduce time to open/edit big files. 2023-02-17 23:56:13 +08:00
Roy Qu 4b54d3799a fix: Fold area is not correctly calculated after editing. 2023-02-17 17:33:48 +08:00
Roy Qu 9f036d0d70 - enhancement: Correctly handle high-precision mouse wheel / touchpad in editors. 2023-02-17 16:16:57 +08:00
Roy Qu dbdf098b94 - enhancement: Limit max speed for mouse scroll (and touch pad?) 2023-02-17 15:33:33 +08:00
Roy Qu 52eb2960ac - change: Remove "Compile & Run" menu item. It's replaced by "Run". 2023-02-17 09:18:39 +08:00
Roy Qu a410226f46 Don't confirm recompiler when debug single file 2023-02-17 09:11:52 +08:00
Roy Qu 8254de68c8 - enhancement: Delay for tooltips.
- enhancement: "Tool tips delay" option in Options/editor/Tooltips
2023-02-17 09:03:35 +08:00
Roy Qu 3f971b34bb - enhancement: Improve auto indent for embedding no-brace statements like for-for-if. 2023-02-16 22:27:04 +08:00
Roy Qu 885470782c - enhancement: Parser not correctly released if save a c file to non-c file. 2023-02-16 18:36:15 +08:00
Roy Qu da3bcf1c6a - enhancement: Basic code completion for xmake.lua. 2023-02-16 17:49:55 +08:00
Roy Qu 46dd637770 - enhancement: Syntaxer for lua. 2023-02-16 12:26:35 +08:00
Roy Qu 25d0f5b782 - fix: Can't parse enum values.
- fix: Can't correctly show enum values in the class browser.
  - fix: Can't correctly create project, if template's encoding setting is not valid.
  - enhancement: Add "embed assembly" template.
2023-02-15 16:24:24 +08:00
Roy Qu 1b8ff37a60 update translations 2023-02-14 23:55:23 +08:00
Roy Qu 926802a8f5 - change: Don't confirm rebuild/recompile when run/debug. 2023-02-14 23:42:11 +08:00
Roy Qu 1eb7bdf549 fix: editor not parsed when first load
fix: TODO is wrongly parsed when new a file (that exists in the current folder)
2023-02-14 09:03:06 +08:00
Roy Qu a31bc6ef17 more keywords for asm 2023-02-13 21:49:19 +08:00
Roy Qu 08fdeca219 - fix: Can't compile files with chinese characters in filenames using winlibs mingw gcc 2023-02-13 19:21:11 +08:00
Roy Qu d484c790a2 minor change 2023-02-13 11:14:28 +08:00
Roy Qu aaae910c59 - change: The default disassemble style of CPU Dialog is "AT&T" now. 2023-02-13 10:24:35 +08:00
Roy Qu 57cbf3a49a - fix: New non-saved filenames is wrongly saved in the last openfiles list.
- fix: File is parsed before editor is fully created.
  - enhancement: New GAS File in the File Menu
  - change: rename "New File" to "New C/C++ File"
2023-02-12 22:33:34 +08:00
Roy Qu 9976ee248a - enhancement: If GAS source file has "_start" label, compile it with "-nostartfiles". 2023-02-12 18:15:41 +08:00
Roy Qu 5cc52ea9f9 Merge branch 'master' of github.com:royqh1979/RedPanda-CPP 2023-02-12 18:14:02 +08:00
Roy Qu 02b64497d5 - enhancement: Keyword completion for asm/GAS files. 2023-02-12 18:13:24 +08:00
Roy Qu 382da1d747 add -nostdlib when compile assembler program that has _start 2023-02-12 15:13:04 +08:00
Roy Qu 23d5bb85b6 Linux fix 2023-02-12 14:22:45 +08:00
Roy Qu 0e3441e604 - fix: Crash when debug project that has nasm files.
- enhancement: Generate debug info for nasm files in Linux/MacOS.
  - enhancement: Compile/Run/Debug GAS source files.
  - enhancement: Compile/Debug GAS source files in project.
2023-02-12 12:53:14 +08:00
Roy Qu ff86213aee - fix: Confirm if recompile, when start to debug and project files has modifications. 2023-02-11 11:31:54 +08:00
Roy Qu 7b52eff40d - enhancement: Code folding for #if/#endif
- enhancement: When folding "if", don't fold "else";
2023-02-10 22:27:36 +08:00
Roy Qu 6b4bfc3e64 - fix: Crash when create or open txt files in project. 2023-02-10 19:28:18 +08:00
Roy Qu 78f9aa8b3c - fix: Can't correctly load project's custom compile options, if it contains more than one line contents. 2023-02-10 09:42:55 +08:00
Roy Qu f91e35192f - fix: preprocessors is not correctly suggested.
- fix: javadoc-style docstring is not correctly suggested
  - enhancement: Better syntax color for asm files.
2023-02-09 21:01:01 +08:00
Roy Qu cc1e42193d - enhancement: Add "assembler" tab in the project options dialog's custom compiler parameters. 2023-02-09 16:33:25 +08:00
Roy Qu 0b7761fbc2 - fix: Project parser should not parse non-c/cpp files. 2023-02-09 09:45:09 +08:00
Roy Qu 78ff319a75 - enhancement: Support compile asm files using nasm in the project. 2023-02-08 21:07:41 +08:00
Roy Qu 62737d6716 - fix: Correctly handle files whose name contains spaces in the generated makefile.
- fix: Correctly handle custom obj folder in the generated makefile.
2023-02-08 17:32:52 +08:00
Roy Qu d8f237a10e - enhancement: Auto reload openned project files that use "Project Default" as the encoding, when the project encoding setting is changed in the project options dialog. 2023-02-08 12:20:20 +08:00
Roy Qu 5d3a933932 - enhancement: Change the way to calculate execution time. 2023-02-07 20:27:31 +08:00
Roy Qu dd5df6912c - enhancement: Improve auto indent. 2023-02-07 19:05:39 +08:00
Roy Qu 79ed9573d6 - fix: Respect encoding "Project default" when search/find occurrencies/open project units.
- enhancement: Show progress dialog when search/find occurrencies in large projects.
2023-02-07 10:46:06 +08:00
Roy Qu 32a29540bd fix: correctly handle "::" in using, using namespace and typedef 2023-02-06 20:32:29 +08:00
Roy Qu 377a2c8ba8 remove debug info 2023-02-06 19:43:09 +08:00
Roy Qu 1b15f3eb1d - fix: Parser can't correctly differentiate function and var initialization. 2023-02-06 19:37:01 +08:00
Roy Qu 6081054f89 fix: Don't expose functions who's parent can't be found in the global scope. 2023-02-06 16:50:24 +08:00
Roy Qu 4fc3900796 - enhancement: Improve parsing for operator overloading. 2023-02-06 14:04:38 +08:00
Roy Qu 7085318197 - enhancement: Auto suggest keyword "operator" when define functions.
- fix: Differentiate class and constructors.
2023-02-05 21:55:23 +08:00
Roy Qu ca5916a4b1 - fix: Can't correctly handle definitions for "operator," 2023-02-05 20:36:10 +08:00
Roy Qu 79bf453c6c - enhancement: Pause autosave timer when autosave new files. 2023-01-26 11:33:27 +08:00
Roy Qu 7b13d3a519 - enhancement: Pause autosave timer when autosave new files. 2023-01-26 11:23:24 +08:00
Roy Qu 629a90d521 - enhancement: Simplified chinese translations for encoding names.
- fix: Crash when there are preprocessing directives like '#if 0/0' or '#if 0%0'
2023-01-26 11:07:46 +08:00
Roy Qu 48788a189b - enhancement: Simplified chinese translations for encoding names. 2023-01-25 10:51:59 +08:00
Roy Qu 35e3c9af8d - fix: Can't correctly set project file's encoding back to 'UTF-8'/'ANSI' in the project options dialog/files setting page. 2023-01-25 10:28:55 +08:00
Roy Qu 0ccec06f33 add project encoding 2023-01-24 11:31:30 +08:00
Roy Qu 1f491fccfd - fix: Settings in Options/Tools/General is messed up when switching items in the list.
- fix: Infos in the status bar not correctly updated when editor closed.
  - change: Project's encoding shouldn't be set to "auto detect"
2023-01-24 10:21:19 +08:00
Roy Qu 4a941b63b4 - fix: Settings in Options/Tools/General is messed up when switching items in the list. 2023-01-24 09:17:27 +08:00
Roy Qu 580a88721f - enhancement: Set lldb-mi as the debugger program for clang, when finding compiler set in folders and gdb doesn't exist. 2023-01-23 19:34:09 +08:00
Roy Qu 7d2920198e - enhancement: Use lldb-mi as the debugger.
- enhancement: Set lldb-mi as the debugger program for clang, when finding compiler set in folders.
2023-01-22 22:19:19 +08:00
Roy Qu c5331f0597 - enhancement: If there is "cppreference.chm" or "cppreference-%locale_name%.chm"(like cppreference-zh_CN.chm) in the redpanda C++'s app folder, open it instead of the cppreference website. 2023-01-20 12:17:04 +08:00
Roy Qu 22e1339b1a - enhancement: Confirm before remove a compiler set. 2023-01-20 00:08:16 +08:00
Roy Qu b0be83b006 - fix: If buttons in the options dialog / compiler / compiler set page is pressed, they won't release. 2023-01-19 23:58:56 +08:00
Roy Qu 1c8ba68b78 remove debug info 2023-01-19 20:08:22 +08:00
Roy Qu c77a25f109 - enhancement: Save project files' real encoding;
- enhancement: Use project files' real encoding information when generating the makefile.
2023-01-19 20:04:05 +08:00
Roy Qu 4456772fa7 - enhancement: Code Completion now respect compiler set's language standard settings. 2023-01-19 11:08:32 +08:00
Roy Qu 8603fa10ee - enhancement: Add "Help"/"Submit Iusses".
- enhancement: Add "Help"/"Document" for Simplified Chinese users.
2023-01-16 15:42:03 +08:00
Roy Qu 73d527318c - fix: When restored from minimization, info on statusbar not correctly restored.
- enhancement: Changes of "auto backup editing contents" is applied immediately.
  - enhancement: Don't create temp backup for readonly files.
2023-01-16 11:35:55 +08:00
Roy Qu 00c19d1f4f disable save backup 2023-01-15 17:01:54 +08:00
Roy Qu dbc9a1829c - fix: Project's file encoding is wrongly set to 'AUTO' when load project. 2023-01-15 15:57:48 +08:00
Roy Qu 0f746957a5 - fix: rename project file will wrongly set it's encoding to 'ASCII';
- fix: can't make project
2023-01-15 15:47:08 +08:00
Roy Qu 48446aab02 minor change 2023-01-15 13:54:37 +08:00
Roy Qu aa62f95cad - enhancement: Auto backup editing contents. (Save editing contents 3 seconds after input stopped. Auto delete when editor successfully closed)
- enhancement: Add "Auto backup editing contents" option in options/editor/auto save
2023-01-15 13:32:33 +08:00
Roy Qu edeb47d2c2 Let user choose if continue to save, if backup file creation failed. 2023-01-15 09:43:54 +08:00
Roy Qu ac20a2c458 - enhancement: Create a temporary copy of the current file when saving files (it's removed after the saving sucessfully finished). 2023-01-14 22:52:04 +08:00
Roy Qu 6072944c23 - fix: Save may crash app if the encoding codec is failed to load.
- enhancement: support open and save utf-16/utf-32 BOM files. (but gcc can't compile)
2023-01-14 21:51:55 +08:00
Roy Qu d8fae209c6 - enhancement: set caret to the corresponding line in the editor after "run"/"generate assembly"
- fix: syntax highlighting for cpp style line comment is not correct.
2023-01-12 21:58:04 +08:00
Roy Qu 7503f553fc update version to 2.9 2023-01-12 17:00:46 +08:00
Roy Qu ea26548835 - enhancement: Add "Open files in editor" in the search panel
- enhancement: Auto disable the "in project" option in the "search in files" dialog, if no project is opened.
  - enhancement: Auto disable the "search again" button in the search panel if the current search history item is search in the project, and no project is opened.
2023-01-12 16:53:00 +08:00
Roy Qu 93a37a2bc6 rename symbol/batch replace correctly support undo 2023-01-12 13:46:09 +08:00
Roy Qu bc1b22ad25 - enhancement: Rename symbols won't remove all breakpoints/bookmarks
- enhancement: Batch replace won't remove all breakpoints/bookmarks
  - enhancement: Execute parameters can be used in debug.
2023-01-12 12:07:22 +08:00
Roy Qu 06a528313d refactor 2023-01-11 17:06:32 +08:00
Roy Qu 1761c66456 refactor 2023-01-11 16:22:26 +08:00
Roy Qu abf4a5985f - fix: In column mode, selection that contain lines with different length will cause error. 2023-01-11 11:05:34 +08:00
Roy Qu 9a5f97cc7a - fix: Function parameters that is pointer,reference or array can't be correctly parsed. 2023-01-11 09:51:05 +08:00
Roy Qu 5f75fd97cd - fix: Result of scope calculation not right if a for statement immediately follows another for statement. 2023-01-10 19:08:49 +08:00
Roy Qu 7324475277 - fix: alt+shift+left/right can't select
- fix: Input any content will exit column mode.
2023-01-10 16:52:39 +08:00
Roy Qu d75ffef9bb - fix: Can't save new file using filename with custom suffix. 2023-01-07 20:29:57 +08:00
Roy Qu 2ab5efc6fe - fix: "Goto declaration" / "Goto definition" / "Find occurences" not correctly disabled for non-c/c++ files. 2023-01-07 20:04:51 +08:00
Roy Qu 32088a18d0 - change: Disable undo limit by default. 2023-01-06 11:59:21 +08:00
Roy Qu b01a51ab91 - enhancement: Print current selection can be used in the print dialog.
- enhancement: Print syntax colored content.
  - enhancement: Correctly handle tab in the exported RTF.
2023-01-06 11:41:04 +08:00
Roy Qu 17160b7c3d - enhancement: Print current selection can be used in the print dialog. 2023-01-05 18:38:36 +08:00
Roy Qu 89ee9d8914 - fix: Crash when find occurrences in a project that has missing files.
rename FileEndType to NewlineType
2023-01-04 11:01:34 +08:00
Roy Qu 4f2fb8f540 - enhancement: Let encoding options in the statusbar more explicit.
change FileEndingType names
  applySettings shouldn't be called every time show event triggered.
2023-01-04 09:08:58 +08:00
Roy Qu f179f45cd9 - fix: Restore main window and cpu info window will set wrong font in the cpu info. 2023-01-03 22:34:38 +08:00
Roy Qu 562293c05d - enhancement: Waiting for syntax parsers to finish before saving files, to prevent data lost caused by syntax parsering crash. 2023-01-03 21:43:45 +08:00
Cyano Hao 375e990e0b
Add more Linux packaging format (#89)
* Arch Linux packaging; make LIBEXECDIR configurable

* update docs

* resolve libexec and share from relative path

* AppImage packaging

* allow build AppImage on Windows host
2023-01-03 12:18:02 +08:00
Roy Qu 9296877b86 - enhancement: "Toggle readonly" in the Edit menu.
- fix: Error When save project units' encoding settings.
2023-01-02 16:50:30 +08:00
Roy Qu 96f9a898d0 - enhancement: "Switch Header/Source" in editor title bar context menu. 2023-01-01 08:32:33 +08:00
Roy Qu 0caaad8436 - fix: Action "Run all problem cases" is triggered twice by one clicked. 2022-12-31 09:36:50 +08:00
Roy Qu 2041f813de - fix: Can't set project icon to "app.ico" in the project folder, if the project doesn't has icon.
- fix: Resource compilation items is missing in the auto generated makefile, if the project's icon is removed and re-added.
2022-12-30 19:48:12 +08:00
Roy Qu babecbd3bc change "ConsolePauser.exe" to "consolepauser.exe" in all codes 2022-12-30 09:06:39 +08:00
Roy Qu dd92cfa6da - enhancement: "Run" / "Generate Assembly" for project source files 2022-12-28 16:39:18 +08:00
Roy Qu bcb6069fe3 - fix: Crash while input using input method in makefile 2022-12-28 09:24:54 +08:00
Roy Qu 61a5d9f94f minor optimization 2022-12-27 14:34:57 +08:00
Roy Qu a1af733a53 minor optimization 2022-12-27 14:29:49 +08:00
Roy Qu 022f32a95f minor optimization 2022-12-27 13:26:16 +08:00
Roy Qu 988afaac7a - enhancement: Add "Resources" in project option's dialog's custom compiler parameter page 2022-12-26 22:55:00 +08:00
Roy Qu bd4478476d - fix: Crash when editing makefile 2022-12-26 18:20:26 +08:00
Roy Qu 52ed2b79f7 auto remove a.out generead by tcc 2022-12-25 12:01:51 +08:00
Roy Qu 0af113e2a1 auto remove a.exe generated by tcc 2022-12-25 12:00:09 +08:00
Roy Qu 151e5a6edc minor change 2022-12-24 12:09:28 +08:00
Roy Qu 84b09fe842 - enhancement: "Convert HTML for - Input" / "Convert HTML for - Expected" in "Options" - "Executor" - "Problem Set"
- fix: Unit for memory limit is not correctly loaded when open problem properties dialog.
  - enhancement: Auto open the properties dialog, after add a new problem.
2022-12-24 12:08:13 +08:00
Roy Qu 0ce717841b minor change for new project dialog 2022-12-23 09:52:10 +08:00
Roy Qu dde47e0226 - fix: Makefile error when "Use precompiled header" is enabled in the project option dialog. 2022-12-22 22:01:55 +08:00
Cyano Hao 7fcd73abfc
Disable Address Sanitizer on non-x86 64-bit Linux (#87)
* disable ASan on non-x86 64-bit linux

* add "debug with ASan" compiler set

* set default compiler set back to "debug"

* enable ASan compiler for linux only

* default to "debug with ASan" on x86-64 or 32-bit, "debug" for others
2022-12-21 19:35:38 +08:00
Roy Qu 4cb432da74 Improve the layout of the makefile auto generated. 2022-12-21 09:17:27 +08:00
Roy Qu e232ce77c9 - enhancement: Auto add "lib" to the output of static/dynamic library projects, if project name don't start with "lib". 2022-12-21 09:15:39 +08:00
Roy Qu 892b987894 - enhancement: "Line Spacing" in options / editor / font
- enhancement: "Show whitespaces" in options / editor / font
2022-12-20 20:38:02 +08:00
Roy Qu ed89690f7a - fix: Icon size not correct under macOS high DPI / zoom factor settings.
- enhancement: "Icon zoom" in options / environment / appearance
2022-12-20 11:01:04 +08:00
Roy Qu 0e9278e98a qt 5.11 compatibility 2022-12-19 09:35:48 +08:00
Roy Qu 7196413dbc update translations 2022-12-19 09:06:40 +08:00
Roy Qu b499a1ab44 translation 2022-12-19 08:51:53 +08:00
Roy Qu ea924d8742 update translations 2022-12-19 08:50:40 +08:00
Roy Qu 3eb393c5b7 add translations 2022-12-19 08:48:17 +08:00
Roy Qu 1da2961970 - fix: Project's "static link" option is overwrited by global compiler set settings, when project options dialog is opened. 2022-12-18 12:31:19 +08:00
Roy Qu fc07b4dcd4 - enhancement: Don't add "-g3" option when generate assembely.
- enhancement: Generate assembly is not correctly disabled when current file is not C/C++.
2022-12-17 17:20:33 +08:00
Roy Qu efc7af7f46 - enhancement: Run all cases button not correct disabled when no case exits. 2022-12-17 13:40:13 +08:00
Roy Qu 4b9e51a925 refactor: tool buttons for problem & cases 2022-12-17 13:34:11 +08:00
Roy Qu 88449a5381 refactor: context menus
refactor: tool buttons for problem and problem set
2022-12-17 11:37:33 +08:00
Roy Qu d2a2002629 fix: Compiler buttons not correctly disabled for non-c/c++ files 2022-12-16 18:31:48 +08:00
Roy Qu 68f4dcec3f fix: compile buttons not correctly disabled when no file opening. 2022-12-16 18:27:10 +08:00
Roy Qu 07f6b975f1 fix: auto find compilers failed. 2022-12-16 16:36:59 +08:00
Roy Qu d60febaac8 - enhancement: Export FPS (free problem set) files. 2022-12-16 15:54:02 +08:00
Roy Qu f4ca71803f work save 2022-12-16 14:41:24 +08:00
Roy Qu 492345b939 - enhancement: "Trim trailing spaces" in code menu
- change: Don't auto disable compile and debug buttons.
  - enhancement: Better error messages for missing compile/debug/make programs.
  - enhancement: "Show special chars" in options / editor / font
  - fix: Lost compiler set settings if a compiler set's bin dirs is empty.
  - enhancement: Better error message when trying to debug with Release compile set.
2022-12-16 11:10:46 +08:00
Roy Qu 7ddc30967d Merge branch 'master' of github.com:royqh1979/RedPanda-CPP 2022-12-16 09:10:57 +08:00
Roy Qu b6b046b0e2 warning user when make program no exists. 2022-12-16 09:10:39 +08:00
Roy Qu ff336ad5c3 work save 2022-12-16 01:44:20 +08:00
Roy Qu 16db14e761 - enhancement: "Remove trailing spaces" in options / editor / misc
- enhancement: show special chars
2022-12-16 01:03:57 +08:00
Roy Qu 4985191120 - enhancement: Remove multiple problems in the problem set view
- enhancement: Clear the proble view after a new problem set created
2022-12-15 16:33:17 +08:00
Roy Qu 02e6748db5 - fix: Buttons in options -> compiler -> compiler set -> programs are not usable.
- enhancement: Don't check existence of gcc/g++/make/gdb at startup.
  - enhancement: Auto disable "compile" button if gcc doesn't exist.
  - enhancement: Auto disable "debug" button if gdb doesn't exist.
  - enhancement: Auto disable "compile" button for project if make doesn't exist.
2022-12-13 15:58:27 +08:00
Roy Qu e81c08d6c8 refactor: correct var name 2022-12-13 12:40:54 +08:00
Roy Qu ea3b4ea8e5 - enhancement: Show memory usage after console program exited.
- fix: If clang and g++ are in the same folder, only the compiler sets for gcc are auto generated.
2022-12-13 12:36:16 +08:00
Roy Qu e37759b977 add memory usage info for console runner 2022-12-13 09:46:16 +08:00
Roy Qu 2520ddf8f5 - enhancement: Show memory usage for problem cases. 2022-12-13 08:49:20 +08:00
Roy Qu 325fe71567 simplify isTarget64Bit 2022-12-11 22:43:23 +08:00
Roy Qu 79931d73d5 Merge branch 'master' of github.com:royqh1979/RedPanda-CPP 2022-12-11 22:37:56 +08:00
Roy Qu 800d4c9e07
Merge pull request #83 from CyanoHao/aarch64-support
Handle non-x86 64-bit targets
2022-12-11 22:37:39 +08:00
Roy Qu 67f0e4dee2 support "url" in fps file 2022-12-11 21:46:51 +08:00
Roy Qu b1ca0bb600 - enhancement: Import FPS (free problem set) files. 2022-12-11 19:47:43 +08:00
Cyano Hao 23af39395e check 64-bit by comparing with a specific list 2022-12-11 18:22:44 +08:00
Roy Qu c4a41403bc refactor highlighters 2022-12-10 21:23:49 +08:00
Roy Qu 81d88fb5bd work save: refactor Highlighter 2022-12-10 20:45:13 +08:00
Roy Qu 51743799c8 refactor Highlighters 2022-12-10 20:41:07 +08:00
Roy Qu 5d0c49a0bc refactor: block start / end calculation 2022-12-10 18:48:48 +08:00
Cyano Hao 1983efdd2f handle non-x86 64-bit targets 2022-12-10 12:00:57 +08:00
Roy Qu b4e561cf83 improve makefile highlighter
fix: qsortfilterproxymodel not correctly cleared when exiting and project closed.
2022-12-07 09:48:10 +08:00
Roy Qu 8af963579a - enhancement: Highlighter for makefiles 2022-12-06 22:51:59 +08:00
Roy Qu 650e3b407c update version number 2022-12-05 12:04:48 +08:00
Roy Qu 9f2ab0479e minor fix 2022-12-03 11:02:33 +08:00
Roy Qu 77942999d5 - enhancement: Use asm highlighter in cpu window
- fix: "AT&T" radio button not correctly checked in cpu window
  - enhancement: Remove blank lines in the register list of cpu window.
  - fix: Cpu window's size not correctly saved, if it is not closed before app exits.
  - fix: Can't restore cpu window's splitter position.
2022-12-02 10:19:03 +08:00
Roy Qu f9fb966c38 - enhancement: Add "Generate Assembly" in "Run" Menu
- enhancement: Improve highlighter for asm
2022-12-01 22:10:44 +08:00
Roy Qu 164d766c75 - enhancement: Disable "run" and "debug" actions when current project is static or dynamic library 2022-11-30 21:05:08 +08:00
Roy Qu bb2532a2ef - change: Default value of option "Editors share one code analyzer" is ON
- change: Default value of option "Auto clear symbols in hidden editors" is OFF
  - minor fix
2022-11-30 09:54:23 +08:00
Roy Qu ba1e100ab4 - enhancement: support type deduce for std::pair 2022-11-29 18:30:00 +08:00
Roy Qu a6d5da07a3 - enhancement: show compltion suggest for std::pair::first and std::pair second 2022-11-29 16:48:40 +08:00
Roy Qu 407f11aa22 fix: correctly handle For(const auto&) 2022-11-29 15:42:08 +08:00
Roy Qu e845c7474b correctly deduce type for stl container iterators 2022-11-29 12:17:41 +08:00
Roy Qu 0d0332aa7d - fix: can't correctly show completion suggest for type with template parameters
- enhancement: correctly evaluate auto variable of stl container iterator.
2022-11-29 12:06:29 +08:00
Roy Qu 3a1bc97ca5 minor refactor 2022-11-28 11:28:02 +08:00
Roy Qu de23833992 - enhancement: Deduce type info for "auto" in some simple cases.
- fix: crash when no semicolon or left brace after the keyword "namespace"
2022-11-28 08:22:48 +08:00
Roy Qu adb3d79b60 - enhancement: Deduce type info for "auto" in some simple cases. 2022-11-27 13:32:14 +08:00
Roy Qu 8788e950dd - enhancement: show completion suggest for "namespace" after "using"
- fix: MinGW-w64 gcc displayed as "MinGW GCC"
2022-11-25 10:01:10 +08:00
Roy Qu 378cdeefd2 work save 2022-11-23 14:57:26 +08:00
Roy Qu b3a986f1ca refactor: highlighter, work save 2022-11-23 12:51:23 +08:00
Roy Qu e352ef345c - change: Default value of option "Editors share one code analyzer" is ON if available physical memory <= 32G
- change: Default value of option "Auto clear symbols in hidden editors" is ON if number of CPU cores > 8 and "Editors share one code analyzer" is on
  - refactor qsynedit's highlighter, work save
2022-11-23 11:41:16 +08:00
Roy Qu d86e93dc35 - enhancement: Options -> editor -> custom C/C++ type keywords page 2022-11-22 15:14:05 +08:00
Roy Qu 19785f9c14 fix: string index not checked 2022-11-16 11:51:50 +08:00
Roy Qu a9c266c39a clean up code 2022-11-16 10:29:20 +08:00
Roy Qu 7ab444fc06 clean up code 2022-11-16 09:38:55 +08:00
Roy Qu 82564239b9 - enhancement: project's custom compile include/lib/bin directory is under folder of the app, save them using the path relative to the app 2022-11-16 09:24:42 +08:00
Roy Qu 2123f1b297 change version number 2022-11-15 03:30:10 +08:00
Roy Qu e764c14286 - enhancement: auto save / load problem set 2022-11-14 19:10:32 +08:00
Roy Qu 0e76769c3b Merge branch 'master' of github.com:royqh1979/RedPanda-CPP 2022-11-14 12:00:02 +08:00
Roy Qu ed8b0a4c55 - enhancement: new color scheme Monokai (contributed by 小龙Dev)
- enhancemnet: add "Reserve word for Types" item in color scheme
2022-11-14 11:56:38 +08:00
Roy Qu bbd10785c5 compilation error under linux 2022-11-12 20:01:43 +08:00
Roy Qu eed4cf2879 linux package script 2022-11-12 19:59:42 +08:00
Roy Qu ac23d89fbe update version 2022-11-12 15:58:17 +08:00
Roy Qu 6a6dc126a4 - enhancement: improve parse result for STL <random> 2022-11-12 12:14:19 +08:00
Roy Qu edfd09191c - change: the default value for UI font size : 11
- change:  the default value for add leading zeros to line numbers : false
2022-11-12 10:56:57 +08:00
Roy Qu a4cb52fb96 - fix: _Pragma is not correctly handled; 2022-11-12 10:45:53 +08:00
Roy Qu b085560743 - fix: Escape suquences like \uxxxx and \Uxxxxxxxx in strings are not correctly highlighted.
- enhancement: Search / replace dialogs redesigned.
  - fix: inline functions are not correctly parsed;
  - fix: &operator= functions are not correctly parsed;
  - fix: Code Formatter's "add indent to continueous lines" option is not correctly saved.
2022-11-11 21:20:57 +08:00
Roy Qu 1dbc0972ab - fix: Escape suquences like \uxxxx and \Uxxxxxxxx in strings are not correctly highlighted. 2022-11-11 09:00:06 +08:00
Roy Qu 36f94bbb33 update translations 2022-11-10 17:39:20 +08:00
Roy Qu ca9976e9e0 - enhancement: Use relative paths to save project settings
- fix: Layout for project options dialog's general page is not correct.
  - fix: modifitions in the project options dialogs's dll host page is not correctly saved.
  - enhancement: In the project options dialog, autoset the default folder in the openning dialog when choosing file/directory paths.
2022-11-10 14:47:44 +08:00
Roy Qu eceba8b8f2 - enhancement: show completion tips for when define a function that already has a declaration.
- clean up code
2022-11-10 13:35:13 +08:00
Roy Qu 9072e752a0 - fix: crash when alt+mouse drag selection 2022-11-10 09:16:30 +08:00
Roy Qu 052f4610ee - fix: crash when alt+mouse drag selection 2022-11-10 09:05:34 +08:00
Roy Qu ae7e914788 refactor code 2022-11-10 08:05:04 +08:00
Roy Qu 6a13d6462a clean up code 2022-11-10 07:47:57 +08:00
Roy Qu a1c80cc562 - fix: function pointers not correctly handle in code parser;
- fix: var assignment not correctly handled in code parser;
  - fix: function args not correctly handled in code parser;
2022-11-09 22:26:26 +08:00
Roy Qu bcc1b8dc09 - fix: function pointers not correctly handle in code parser;
- fix: var assignment not correctly handled in code parser;
  - fix: function args not correctly handled in code parser;
2022-11-09 22:22:33 +08:00
Roy Qu faf25f4f1d change version 2022-11-08 22:13:17 +08:00
Roy Qu f24c1e96db remove debug info 2022-11-08 22:12:33 +08:00
Roy Qu 4fad826899 - fix: macro defines parsed before not correctly applied in the succeeding parse. 2022-11-08 22:04:53 +08:00
Roy Qu 6fe1df8e6e - fix: Can't goto definition of classes and namespaces displayed in the class browser on whole project mode. 2022-11-08 08:24:44 +08:00
Roy Qu dbc19c8e7f add translation 2022-11-07 21:46:26 +08:00
Roy Qu e0c4ba201d - fix: Crash when editing a function at the end of file without ; or {
- enhancement: Add the "parsing TODOs" option in Options Dialog / Editor / Misc
  - enhancement: Remove todos/bookmarks/breakpoints when deleting file from project
  - enhancement: Rename filenames in todos/bookmarks/breakpoints  when renaming project file
2022-11-07 21:44:12 +08:00
Roy Qu a4ef5c6987 - fix: "check when open/save" and "check when caret line changed" in Options Dialog / Editor / Syntax Check don't work 2022-11-07 17:03:46 +08:00
Roy Qu ef1fbf3d8b - Class browser not correctly updated after create project file 2022-11-07 12:07:15 +08:00
Roy Qu fba7bd953c - fix: Contents in class browser not correctly updated when close the last editor for project.
- fix: When all editors closed, switch browser mode dosen't correct update the class browser;

  - stream line codes for project parser and  close browser
2022-11-07 11:24:23 +08:00
Roy Qu 93751d1b23 - fix: When start parsing and exit app, app may crash
- enhancement: add "Allow parallel build" option in project option dialog's custom compile options page
  - fix: crash when rename project file
  - fix: When remove project file, symbols in it not correctly removed from code parser
  - fix: infos in class browser (structure panel) not correctly updated when add/create/remove/rename project files
2022-11-06 22:51:14 +08:00
Roy Qu d4c7ec9bb9 - fix: Project Options Dialog's Files panel will crash app. 2022-11-06 12:38:53 +08:00
Roy Qu 4eec64939e - fix: Edting / show context menu when code analysis is turned on may crash app.
- fix: Show context menu when edting non c/c++ file may crash app.
2022-11-06 09:43:28 +08:00
Roy Qu 1c3bf9000c - enhancement: base class dropdown list in new class dialog now works 2022-11-05 23:35:15 +08:00
Roy Qu 4fa490253e - enhancement: switch header/source 2022-11-05 19:39:33 +08:00
Roy Qu 771d0d1456 basic support for lambda 2022-11-05 18:58:15 +08:00
Roy Qu d94125c262 streamline tokenizer 2022-11-05 16:17:46 +08:00
Roy Qu 8d9740dd57 - improve template parameters checker
- streamline cppparser
2022-11-05 08:42:54 +08:00
Roy Qu ef79640eb0 work save 2022-11-04 23:44:11 +08:00
Roy Qu 585d7678d4 work save 2022-11-04 20:27:35 +08:00
Roy Qu 20917e3a8b work save 2022-11-03 00:49:22 +08:00
Roy Qu baab677fa1 work done: lambda support 2022-11-02 22:48:25 +08:00
Roy Qu bd04e013de work save 2022-11-02 13:38:26 +08:00
Roy Qu 7c7242c1a3 work save 2022-11-02 10:42:55 +08:00
Roy Qu ca59fd7d70 work save 2022-11-01 23:23:21 +08:00
Roy Qu ebfb631452 work save 2022-11-01 22:10:54 +08:00
Roy Qu ab9aa75d1f work save 2022-11-01 09:02:17 +08:00
Roy Qu f78a4953ef work save 2022-11-01 00:01:46 +08:00