Commit Graph

2342 Commits

Author SHA1 Message Date
Roy Qu 7b60c9fa1d fix: test if it's green edition 2024-03-30 13:59:39 +08:00
Roy Qu 5e1becc2e4 work save: rename in file system view 2024-03-30 13:21:33 +08:00
Roy Qu dd1bb88733 fix #348 : crash when failed to expand parametered macro in the expression 2024-03-30 12:42:48 +08:00
Roy Qu d76ef859c5 fix: can't show info tips if the first line contains errors 2024-03-30 10:56:18 +08:00
Ltabsyy 91b8695b6e
Try new features on MoLo CBLight (#346)
Pure foreground highlighted words and bracket matching
2024-03-30 10:36:08 +08:00
Cyano Hao 89423870dd
correct uninstall string in registry (#347) 2024-03-30 10:35:45 +08:00
Roy Qu 3a098349bc work save 2024-03-30 09:24:34 +08:00
Roy Qu 1b8dbf44e9 fix #342 carsh when click choose executalbe buttons in the options dialog/compiler/compiler set page 2024-03-30 00:19:36 +08:00
Roy Qu 63235f823d change: Caret on word in string/comment don't highlight it. 2024-03-29 21:04:40 +08:00
Ltabsyy 09b319b3e1
Fix wavy lines in Classic color schemes and unify theme file names in lowercase (#337)
* Fix that the wavy lines in the Classic and Classic Plus color schemes are not prominent on a white background

修复Classic和Classic Plus配色的波浪线在白色背景下不明显

* Unified theme name in lowercase(Step 1)

统一主题名称大小写(步骤1)
不这样做GitHub识别不到更改

* Unified theme name in lowercase(Step 2)

统一主题名称大小写(步骤2)
不这样做GitHub识别不到更改
2024-03-29 08:14:21 +08:00
Roy Qu 8f4fc16c33 Merge branch 'master' of github.com:royqh1979/RedPanda-CPP 2024-03-28 22:55:43 +08:00
Roy Qu 71b869b186 fix: scroller not correctly updated with font size
change: reduce pen size of wave underline
2024-03-28 20:23:50 +08:00
Roy Qu 23c3644871 - enhancement: Highlight words in the string/comments. 2024-03-28 18:25:36 +08:00
Roy Qu 83e2afb049 remove debug info 2024-03-28 15:30:10 +08:00
Roy Qu e58adc94ff - fix: Compile info for project doesn't have name of the project executable.
- fix: Select a word in string / comment doesn't highlight other words in the file
2024-03-28 10:16:28 +08:00
Roy Qu 76d3e3d6e2 update simplified chinese translations.
fix: file filter for executable under linux
2024-03-27 23:55:34 +08:00
Roy Qu 9b0889f6c3 add compiler set by executable 2024-03-27 23:43:51 +08:00
Roy Qu bca572b6f5 update 2024-03-27 23:30:49 +08:00
Roy Qu ab8133d7cf - enhancement: Add compiler set by choose the executable. 2024-03-27 23:29:03 +08:00
Roy Qu 7034742741 - change: Don't turn on the code format option "indent class" by default. 2024-03-27 19:50:44 +08:00
Roy Qu 6526e8caec - fix: "project name".exe.manifest is auto removed when build the project. 2024-03-27 17:45:48 +08:00
Roy Qu c941ae4cf8 - enhancement: Open ".def" (Module definition file) file in editor when double click it in the project view.
- enhancement: When a dll project has .def file, use it when generating the dll file.
2024-03-27 15:32:30 +08:00
Roy Qu f88898ae1e - enhancement: Adjust function tip pos to prevent it from run outside the right window edge. 2024-03-27 11:32:56 +08:00
Roy Qu 2483962082 fix #329 - fix: Some functions like "std::fstream::write" are not shown in the completion suggestion. 2024-03-27 11:18:20 +08:00
Roy Qu 2bffb46bda clean up 2024-03-26 18:01:39 +08:00
Roy Qu 6cb843a1ee fix: hardDefines not correctly handled 2024-03-26 17:36:17 +08:00
Roy Qu df992c5cbc - fix: Remove duplicated macro defines make it's lost in the parse result.
- fix: An undefined macro is still missing the the parse result after #undef is removed.
2024-03-26 16:33:22 +08:00
Roy Qu 8ca693f8dc fix: translation error 2024-03-26 14:08:35 +08:00
Roy Qu 5976ef95ea - fix: In split screen mode, editor on the right can't be correctly found by commands. 2024-03-26 13:58:14 +08:00
Roy Qu 477f7f1d7d - enhancement: Info contents from stderr are logged into "Tools Output" panel, add problem case name info to the log. 2024-03-26 13:45:26 +08:00
Roy Qu 40777386a9 fix #326 - enhancement: Suggest macro names after "#ifdef"/"#ifndef". 2024-03-26 13:18:00 +08:00
Roy Qu 5c7e7fb793 clean up code 2024-03-26 12:56:50 +08:00
Roy Qu 76e098bfc6 fix #327 - enhancement: Auto define macro "_DEBUG" for "Debug" compiler set(like visual studio). 2024-03-26 12:54:25 +08:00
Roy Qu bc19b58cd3 - change: Set focus to "find next" button when find/replace dialog is openned.
- change: Don't set focus to "close" button after searched in the find/replace dialog
  - change: Set focus to "find" button when "find in files..." dialog is openned.
  - enhancement: Correct tab orders for all setting pages/dialogs.
  - enhancement: Shortcut key for buttons in find/replace and "find in files" dialogs.
2024-03-25 18:58:48 +08:00
Roy Qu b2d88e27e0 enhancement: Auto check "only monospace font" when modify the first editor font. 2024-03-25 17:40:19 +08:00
Roy Qu 0339baf069 fixes #320 - fix: Display not correctly updated after select all in debug console. 2024-03-25 17:21:22 +08:00
Roy Qu 5efc4ac279 fix #321 #322
- enhancement: Display (gdb) prompt in debug console after it's cleared.
  - fix: Output of "disas" is not shown in debug console.
  enhancement: align first line top with editor window after vertical scrolled.
2024-03-25 17:10:47 +08:00
Roy Qu 1bb8ad3a27 fix: crash when parsing A{}
enhancement: auto type induction for new
2024-03-24 21:53:55 +08:00
Roy Qu 13e0393c8e - enhancement: Auto type induction for new / temp class object. 2024-03-24 19:42:29 +08:00
Roy Qu 0405a51206 fix #318 #309 - enhancement: Auto type induction for new / temp class object. 2024-03-24 19:19:57 +08:00
Roy Qu 730bed9587 fix #313 : Caret on '(' / ',' in string/comment/char may invoke function tips. 2024-03-24 18:27:40 +08:00
Roy Qu 496cfd1337 clean up code 2024-03-24 18:10:26 +08:00
Roy Qu a892e21ed3 - fix #319 : Register names in the cpu info are not in correct order. 2024-03-24 18:07:32 +08:00
Roy Qu 4c8e88ce1b highlights "import"/"module"/"override"/"final" 2024-03-24 17:15:40 +08:00
Roy Qu 741b814e1d fixes #315 : foreach not correcly handled. 2024-03-24 17:07:53 +08:00
Roy Qu 3be7a72fb9 - fix: Caret on '('/',' in string shouldn't invoke function info tips. 2024-03-24 10:41:03 +08:00
Roy Qu 2cad9262c9 speed out selection count calculation 2024-03-24 09:56:37 +08:00
Roy Qu 272431e96b add "inline" as type qualifier 2024-03-23 18:41:55 +08:00
Roy Qu 79274d786a tweak displays 2024-03-23 10:24:59 +08:00
Roy Qu b485e18e04 fix: lambda expression capture support 2024-03-23 09:13:07 +08:00
Roy Qu 09a61c4c32 support lambda expression captures. 2024-03-23 09:03:20 +08:00
Roy Qu d63aa1a58f tweak displays 2024-03-23 08:10:50 +08:00
Roy Qu bf9e56367e tweak selection display 2024-03-22 22:58:28 +08:00
Roy Qu 51a05e1bc6 fix: vertical selection speed 2024-03-22 22:43:21 +08:00
Roy Qu a83ee3f16a - Enhancement: Vertically scroll by pixel. 2024-03-22 21:56:04 +08:00
Roy Qu 8307f1b38f - enhancement: Restore line position after file is modified outside and reloaded. 2024-03-22 20:32:48 +08:00
Roy Qu e291a2e2fb fix #300 - enhancement: Show type completion hint after "constexpr"/"extern"/"static"/"consteval"/"constinit"/"const"/"volatile" etc. 2024-03-22 19:53:09 +08:00
Roy Qu 0782994f95 fix : menu items for editors are disabled. 2024-03-22 19:37:13 +08:00
Roy Qu 325f3ca5ce remove debug info 2024-03-22 19:24:59 +08:00
Roy Qu 517fdbdecc - enhancement: Improve lambda support. 2024-03-22 18:56:02 +08:00
Roy Qu 470bd9cee0 work save 2024-03-22 18:43:01 +08:00
Roy Qu e5a23b7686 cppparser refactors 2024-03-22 17:54:08 +08:00
Roy Qu dac9bb3899 fix or debug console history 2024-03-22 16:12:42 +08:00
West-Pavilion 421a227d05
update the C++20 keyword "co_await" from "co_wait" (#299)
* Updated the Chinese translation for "Goto Page Start and Select"
This PR updates the Chinese translation for "Goto Page Start and Select" to accurately reflect the functionality of the feature.
本次PR更新了“Goto Page Start and Select”的中文翻译,以准确反映该功能的操作。

* update the C++20 keyword "co_await" from "co_wait"

The C++20 introduced a new keyword "co_await", however there is a tiny typo wrong("co_wait") in the current version of RedPanda-CPP. This PR is aimed to correct it.
2024-03-22 15:44:04 +08:00
Roy Qu cef356a184 - fix #277 : History not correctly loaded with up/down arrow key in the debug console. 2024-03-22 15:43:03 +08:00
Roy Qu 72cd79eef5 - enhancement: Improvement in italic font support. 2024-03-22 11:12:06 +08:00
Roy Qu 3b85e8bec0 remove debug info 2024-03-22 09:37:54 +08:00
Roy Qu aad4050c25 - enhancement: Show "std::function" in the completion list. 2024-03-22 09:23:49 +08:00
Roy Qu e72b780dc3 - enhancement: Syntax highlighting for c++ attributes.
fix: mingw build errors
2024-03-21 21:28:12 +08:00
Roy Qu 172c66c6dc fix #296 - enhancement: Type induction for "auto &&" vars. 2024-03-21 20:04:02 +08:00
Roy Qu 1ae60fa7ed fix #297 : Filename that contains '&' doesn't correctly displayed in the editor tab. 2024-03-21 20:00:34 +08:00
Roy Qu 5b328f1e1a - fix: Option 'Pause after run in console' for tools doesn't work. 2024-03-21 17:54:58 +08:00
Roy Qu 5b77c6f3fb fix: encoding menu popup doesn't work 2024-03-21 17:41:55 +08:00
Roy Qu d859894105 fix #290 : Auto type induction for expression contains '[]' are not correct. 2024-03-21 16:55:32 +08:00
Roy Qu c68eea9463 Merge branch 'master' of github.com:royqh1979/RedPanda-CPP
# Conflicts:
#	NEWS.md
2024-03-21 16:19:05 +08:00
Roy Qu c407c27a7a - fix: Can't correctly retrieve function parameters type. 2024-03-21 16:18:14 +08:00
Roy Qu e308ccb629 - fix: '*=' is treadted as '*' when parsing. 2024-03-21 15:13:58 +08:00
Roy Qu 2a10d79315 fix #283 : Filename in tables in the debug panel are not correctly eroded.
- enhancement: Tooltip info for the stacktrace table in the debug panel.
2024-03-21 11:04:29 +08:00
Roy Qu 0426bfe1b0 fix #293 : No icons for inherited class private members. 2024-03-21 07:10:48 +08:00
Roy Qu 6c454143cb fix: font combo list display lots of blank lines after only show monospaced fonts. 2024-03-20 21:40:06 +08:00
Roy Qu 92407fc767 fix #286 : Show type completion info after 'const' and 'volatile' 2024-03-20 20:35:47 +08:00
Roy Qu 94f4587461 fix: Size of the font combo box in the font list editing dialog is too little. 2024-03-20 19:34:08 +08:00
Roy Qu 96c606c221 fix layout error 2024-03-20 19:28:03 +08:00
Roy Qu 4da95ebf0a remove nouse editor options 2024-03-20 16:44:20 +08:00
Roy Qu 9964551ed6 fix: "natrual" option in mouse scroll direction not correctly checked. 2024-03-20 16:01:34 +08:00
Roy Qu 5003c412f7 - enhancement: "Mouse scroll direction" option in Options / Editor / General
- change: Invert scroll direction in horizontal, like in vertical.
2024-03-20 15:55:22 +08:00
Roy Qu 22b8ee814e fix: crash when load c/c++ files 2024-03-20 10:17:10 +08:00
Roy Qu 7593f99c58 fix #280 : Using aliased functions are not correctly processed. 2024-03-19 21:22:46 +08:00
Roy Qu 4e2053fb56 fix: crash when set breakpoints in an empty C/C++ file 2024-03-19 20:20:11 +08:00
Cyano Hao 5be546e97f
fix custom link options parsing (#291) 2024-03-19 20:09:47 +08:00
Roy Qu e6f65acf00 - fix: Should show header completion popup in #include line comments.
- fix: <> int #include "" line's line comment may be wrongly syntax colored.
  - fix: <> int #include "" line's line comment may be wrongly underlined.
2024-03-18 21:37:54 +08:00
MZZW f43183f56e
"one dark主题细节优化" (#288) 2024-03-18 21:04:27 +08:00
Roy Qu e7129241e9 fixes #281: Wrong syntax highlighting for #include lines that contains multiple '>' chars. 2024-03-17 21:49:06 +08:00
Roy Qu 852a451976 editor font list settings:
Items not editable.
 Double click on a item to modify.
2024-03-17 11:41:40 +08:00
Cyano Hao 3e58c52046
Improve font list interaction (#279)
* add icons

* improve font list interaction
2024-03-17 11:18:09 +08:00
Roy Qu 46b273a88d - enhancement: Folding button scales with editor font. 2024-03-14 20:06:45 +08:00
Roy Qu a3e6d111f8 fix: async refreshing not correctly started in lldb-server 2024-03-14 16:39:13 +08:00
Roy Qu ba9bbca010 - change: When debugging, don't auto set focus to the editor. 2024-03-14 13:03:06 +08:00
Roy Qu 4810992ed3 minor change: format for the message in status bar 2024-03-14 12:29:20 +08:00
Roy Qu 365c15a874 - enhancement: Execute the last debug command in the debug console if ENTER pressed. 2024-03-14 11:21:42 +08:00
Roy Qu 86dac40057 update translations 2024-03-14 10:11:19 +08:00
Roy Qu b754e7a3c0 Merge branch 'master' of github.com:royqh1979/RedPanda-CPP 2024-03-14 10:06:23 +08:00
Cyano Hao 051fcfafa5
use relative locations in translations to avoid further merge conflict (#275) 2024-03-14 10:05:57 +08:00
Roy Qu 1ccd28e65e enhancement: display column info if force fixed font width is turned on 2024-03-14 09:58:57 +08:00
Roy Qu a5f7b02324 - enhancement: Make output in the debugger console cleaner. 2024-03-14 09:23:04 +08:00
Roy Qu fc27fac68e - fixes #262: Debugger console's background not correctly cleared before redrawn. 2024-03-14 09:02:08 +08:00
Cyano Hao b5e63e3719
update xmake.lua (#274) 2024-03-14 08:27:57 +08:00
Roy Qu f91c2bb188 - enhancement: Auto choose a better font for theme choosing dialog in the first run. 2024-03-13 20:57:56 +08:00
Roy Qu 3018339ae3 fix: mainwindow too wide in the first run 2024-03-13 20:50:48 +08:00
Roy Qu d0009d06d5 add tips for the font setting list 2024-03-13 20:48:08 +08:00
Roy Qu 46b0c4d894 fixes #264: In the debugger console, Auto-wrapped lines can't be correctly selected. 2024-03-13 20:10:31 +08:00
Roy Qu a946450014 code clean up 2024-03-13 19:19:10 +08:00
Cyano Hao e67e329ef1
Use font list (#269)
* add icons

* place text vertically center in qsynedit

* use font list
2024-03-13 19:17:25 +08:00
Roy Qu 2c29b64d97 Adjust lldb-server sync time 2024-03-13 16:50:14 +08:00
Roy Qu e60dc0eab5 remove dap implementations 2024-03-13 11:16:04 +08:00
Roy Qu 1e3404c591 - fix: Shortcuts in non-editor panels conficts with the editor. 2024-03-13 11:04:51 +08:00
Roy Qu 12299e98e9 - fix #267: When debugging, can't watch expressions that has spaces in it. 2024-03-12 20:28:38 +08:00
Roy Qu 2cc00cb924 - fix: Failed to evaluate expressions while debugging, if the expression has spaces in it. 2024-03-12 19:03:47 +08:00
Roy Qu 80ec88e552 - fix: Failed to evaluate expressions while debugging, if the expression has spaces in it. 2024-03-12 18:59:26 +08:00
Roy Qu 3e0db148ae lldb-server compatibility 2024-03-11 20:34:02 +08:00
Roy Qu e2d5a18c3f fix: font not correctly set in the cpuinfo window 2024-03-11 17:38:51 +08:00
Roy Qu f5db3144f5 Merge branch 'master' into dap
# Conflicts:
#	NEWS.md
2024-03-11 17:29:15 +08:00
Roy Qu e552e114f5 lldb-mi compatibility 2024-03-11 17:28:18 +08:00
Roy Qu 35d6b4d014 - enhancement: improve lldb-mi compatibility. 2024-03-11 13:13:53 +08:00
Roy Qu 9cb980f2f6 work save: #259 Remove hard-coded GDB-MI commands outside the gdbmi implementation. 2024-03-10 21:25:24 +08:00
Roy Qu b83c45782b work save 2024-03-10 12:57:50 +08:00
Roy Qu b359004f95 work save 2024-03-10 11:15:10 +08:00
Roy Qu 6ba9cbb78b work save 2024-03-10 09:56:20 +08:00
Roy Qu 1f8fa070c8 work save 2024-03-10 08:06:11 +08:00
Cyano Hao f996426916
fix static and shared makefile (#258) 2024-03-10 08:05:09 +08:00
Roy Qu d302fcc10f DAP Protocol implementations.
More work for seperating debugger interface and the gdb mi client
2024-03-09 23:08:23 +08:00
Roy Qu 9a66022b8a Initial implementation for #254 2024-03-09 20:19:38 +08:00
Roy Qu 8d1cda13b3 work save: DAP protocol:
Create / parse request message
2024-03-09 13:58:32 +08:00
Roy Qu 23e918304e Done: Issue #240 2024-03-09 11:34:52 +08:00
Roy Qu 581b7c7cf1 work save: refactor: DebuggerClient interface 2024-03-08 22:06:10 +08:00
Roy Qu 0e5d666c67 - fix: Full scope typed variables in lambda expressions is not correctly parsed. 2024-03-08 18:20:49 +08:00
Roy Qu 4567e11f43 fix: can't compile 2024-03-08 10:06:18 +08:00
Roy Qu 7d8070a6b3 Issue #239 refactor: debugger folder 2024-03-08 09:55:58 +08:00
Roy Qu ddc46a72bc Issue #193 - fix: Hint for bold text (<b></b>) are not correctly handled in the function tips. 2024-03-08 08:37:21 +08:00
Roy Qu 9df669ba08 Issue #194 - fix: Function tips contains functions that not in the scope. 2024-03-08 08:30:41 +08:00
Roy Qu f79da84224 Issue #197 - enhancement: Support "enum struct" Scoped enumerations. 2024-03-08 08:17:44 +08:00
Roy Qu df4c14caa4 - fix Issue #211: Using alias for global symbols are not correctly handled. 2024-03-08 08:06:23 +08:00
Roy Qu 45a73181df Issue #209 - enhancement: Support annonymous class 2024-03-08 07:32:09 +08:00
Roy Qu 86fc0f08ef Merge branch 'master' of github.com:royqh1979/RedPanda-CPP 2024-03-07 21:36:15 +08:00
Roy Qu c742a8bb29 - enhancement: Issue #196 Support C++ using alias in syntax highlighting/code completion/function tips. 2024-03-07 21:35:53 +08:00
Roy Qu cb323850f0 change: force gcc use english to output if not in zh locale
enhancement: support gcc zh_CN locale
2024-03-07 20:33:16 +08:00
Cyano Hao e0d57213ad
add support for versioned GCC and Clang in compiler hint (#237) 2024-03-07 15:55:51 +08:00
Roy Qu 0a11b4b6ea - Enhancement: Issue #213 Expands macro when finding function tips. 2024-03-06 19:35:35 +08:00
Roy Qu f7514e424e refactor: Check string/rawstring/character status while completing symbols in c/c++ file 2024-03-05 21:20:47 +08:00
Roy Qu e0438b1bf9 - enhancement: Internal optimization for open/edit files. 2024-03-05 16:34:41 +08:00
Roy Qu bbe79297ef fix: Deadlock while openning files that contains '\t'
fix: Optimize file openning
2024-03-05 15:29:25 +08:00
Roy Qu 535dde574b Remove treefiles shortcuts 2024-03-04 21:11:26 +08:00
Roy Qu db95cce299 - enhancement: Shortcuts for the tree view in files panel. 2024-03-04 20:40:13 +08:00
Cyano Hao e6c1ca8b60
Share version number among qmake, xmake and shell scripts (#233)
* share version number among qmake, xmake and shell scripts

* use symlink for xmake inclusion
2024-03-04 18:39:14 +08:00
Roy Qu 6b891a6626 basicly done 2024-03-04 18:36:46 +08:00
Roy Qu 2a18f3f47a Refactor: All file has a syntaxer 2024-03-04 16:01:23 +08:00
Roy Qu 518ce3f31a optimization for token color settings 2024-03-03 20:58:51 +08:00
Roy Qu 3f2a0b424a - fix: "float" in #include "float.h" is wrong syntax colored.
- enhancement: Unify syntax color for #include header name
2024-03-03 20:33:29 +08:00
Roy Qu c8cc88844a fix: wrong color for #include underline 2024-03-03 19:25:53 +08:00
Roy Qu 8561a035ae - enhancement: Unique look&feel for the underline shown while ctrl+mouse over #include line.
- enhancement: Better look&feel for the wave underline shown for syntax errors.
2024-03-03 18:42:45 +08:00
Roy Qu e4f0c88e80 Update translations
Change the way to differentiate test and release version
2024-03-03 17:32:10 +08:00
Roy Qu 804ff6085e - fix: Issue #230 Crash when input " in the txt files. 2024-03-03 12:31:24 +08:00
Roy Qu cb66c7f340 - fix: After spaces in comments and strings, symbol completion for '{' and '(' are wrong. 2024-03-01 19:30:37 +08:00
Roy Qu 25453e28eb - change: Force use utf8 as the exec encoding for fmtlib in the auto link options page. 2024-03-01 18:51:23 +08:00
Roy Qu 7f2eaeeaa4 update Contributors.md 2024-03-01 08:41:18 +08:00
Roy Qu e5d09a515c minor update 2024-03-01 08:34:57 +08:00
Roy Qu 026a787ee5 - fix: Font style not applied when option "show spaces" is on.
Update Contributor info
2024-03-01 08:32:46 +08:00
MZZW af11c6df32
修改了one dark配色中的空格字符的前景色,函数名加粗,对one dark主题配色做了些许调整 (#227) 2024-03-01 08:28:10 +08:00
West-Pavilion af0e6ec803
Updated the Chinese translation for "Goto Page Start and Select" (#226)
This PR updates the Chinese translation for "Goto Page Start and Select" to accurately reflect the functionality of the feature.
本次PR更新了“Goto Page Start and Select”的中文翻译,以准确反映该功能的操作。
2024-03-01 08:27:48 +08:00
Roy Qu 30ed2fac79 - fix: Fallback font doesn't apply before restart
- fix: first indent line doesn't show
 = fix: Selection background not correctly drawn
2024-02-29 19:17:14 +08:00
Roy Qu 7c379509bf - Enhancement: When '{' is inputted and there are contents selected, auto add line breaks and indents. 2024-02-29 13:36:46 +08:00
Roy Qu ee488384a1 - fix: Wrong indent for the line after the pasted context.
- Enhancement: When '{' is inputted and there are contents selected, auto add line breaks and indents.
2024-02-29 13:28:19 +08:00
Roy Qu 6daddd1e5b - fix: Can't show function tips for std::ios::sync_with_stdio. 2024-02-29 09:50:20 +08:00
Roy Qu bbb3071d44 - fix: Insert line after comments may auto add an extra '*'. 2024-02-29 08:45:18 +08:00
Roy Qu 5eff32cee9 Merge branch 'master' of github.com:royqh1979/RedPanda-CPP 2024-02-28 20:13:44 +08:00
Roy Qu ca79bf6648 fix: tab glyphs not correctly displayed. 2024-02-28 20:02:11 +08:00
Cyano Hao 18318653d7
Move from command line to argv array (#216)
* command line -> argv array

* update function names

* update directory structure

---------

Co-authored-by: Roy Qu <royqh1979@gmail.com>
2024-02-28 19:41:05 +08:00
MZZW 85efc86cde
"添加One Dark主题" (#225) 2024-02-28 19:36:25 +08:00
Roy Qu cbeb9322d4 minor change 2024-02-28 18:48:02 +08:00
Roy Qu 8b0c53dc69 minor change 2024-02-28 13:40:49 +08:00
Roy Qu 0bab75cfd6 enhancement: force fixed width 2024-02-28 11:51:02 +08:00
Roy Qu f763cec8f4 - fix: Function argument infos are not correctly parsed. 2024-02-28 10:41:03 +08:00
Roy Qu f7eacaa048 minor update 2024-02-28 09:41:20 +08:00
Roy Qu 2743e6f682 - fix: Parser: invalidating file may lost class inheritance infos. 2024-02-28 09:17:30 +08:00
Roy Qu 1728e953bf - fix: Parser: invalidating file may break class inheritance infos. 2024-02-27 18:08:38 +08:00
Roy Qu 255e09de89 fix: Fallback font combos in the editor font options panel are not correctly inited.
fix: Ascii control chars font not correctly loaded when app start.
2024-02-27 14:46:55 +08:00
Roy Qu bc0d55b1bb - enhancement: Display ascii control chars. 2024-02-27 13:23:58 +08:00
Roy Qu 451e201881 enhancement: enable/disable fallback fonts 2024-02-27 13:05:38 +08:00
Roy Qu 03e267d59a update translations 2024-02-26 19:08:52 +08:00
Roy Qu d3e29958b5 add more fallback font 2024-02-26 18:29:24 +08:00
Roy Qu dfd7075dfb add more fall back fonts 2024-02-26 18:22:02 +08:00
Roy Qu 174808d416 font: work save 2024-02-26 16:43:40 +08:00
Roy Qu b57bbc34f9 Use fallback font instead of non-ascii font 2024-02-26 15:15:26 +08:00
Roy Qu fd3a280708 fix: onGutterPaint not correctly called
fix: expand glyph char list is not work properly.
2024-02-26 08:59:01 +08:00
Roy Qu 6b1e4ff979 ligature not correctly supported 2024-02-25 22:08:10 +08:00
Roy Qu 9672ebd079 fix: font style not correct when painting 2024-02-25 18:59:39 +08:00
Roy Qu 7ac35a86b8 Painter optimization
ligature support
2024-02-25 11:22:49 +08:00
Roy Qu 322c4bba4f work save:
Optimization for text render
2024-02-24 15:05:46 +08:00
Roy Qu 3eadbafe25 work save: support don't force fix-width 2024-02-23 17:51:38 +08:00
Roy Qu aa17ec785c work save 2024-02-23 12:41:13 +08:00
Roy Qu d82cd730bd Merge branch 'master' into emoji 2024-02-23 10:28:57 +08:00
XY0797 fd202edaa8
feat: 实施增强的文件重命名以改善用户体验(issues#73) (#205)
* fix: Fixed a bug where newly created files would not automatically enter edit mode.

* feat: Implement enhanced file rename to improve user experience

* Update filenamedelegate.cpp

fix: Fix file name errors

* fix: Fixed an issue where the position was offset during file renaming under high DPI; enhancement: Improved the custom class file names and class names.

---------

Co-authored-by: xy <eq_software@foxmail.com>
2024-02-23 10:10:58 +08:00
Roy Qu e3d57e564d Merge branch 'master' into emoji 2024-02-22 14:48:20 +08:00
Roy Qu 556e5fad96 update version number and NEWS.md 2024-02-22 14:47:49 +08:00
XY0797 764c8cce8c
fix: 修复了新建文件无法进入选择状态和重命名状态的BUG (#204)
* fix: Fixed a bug where newly created files would not automatically enter rename mode.

* fix: Resolved an issue where files could not be selected in certain cases upon creation.

---------

Co-authored-by: xy <eq_software@foxmail.com>
2024-02-22 14:19:17 +08:00
XY0797 77bca7fd78
fix: Fixed the issue of missing Chinese translation in the 'invalid file name' window after renaming files (#207)
Co-authored-by: xy <eq_software@foxmail.com>
2024-02-22 10:30:41 +08:00
XY0797 b18b431546
enhancement: Limit font size to no less than 5 (#208)
Co-authored-by: xy <eq_software@foxmail.com>
2024-02-22 10:29:01 +08:00
Roy Qu 6592b9cd73 Merge branch 'master' into emoji 2024-02-21 11:14:15 +08:00
Roy Qu f9d8212712 - Enhancement: New option for compiler set "Don't localize gcc output messages" 2024-02-20 21:47:12 +08:00
Roy Qu 522722c418 - Enhancement: Improved Raw string support 2024-02-20 17:25:37 +08:00
Roy Qu 20339b3e9a - Fix: Function list is not correctly retrived for full-scoped functions 2024-02-20 14:45:12 +08:00
Roy Qu 2c26f9aaa1 Use git info to generate version number 2024-02-20 13:12:46 +08:00
Roy Qu 625475fabd - Reduce sanitizer option length 2024-02-20 12:55:27 +08:00
Roy Qu d8e4c4d76b - Fix: Expression that starts with full scoped variables might be treated as var definition. 2024-02-20 12:34:02 +08:00
Roy Qu f0c01e03aa - Fix: Can't goto definition/declaration into files that not saved. 2024-02-20 10:31:12 +08:00
Roy Qu b4cfc7b98d fix: Can't correctly suggest a variable defined by a typedef-ed type. 2024-02-19 17:56:15 +08:00
Roy Qu ea482bbb7b Merge branch 'master' of github.com:royqh1979/RedPanda-CPP 2024-01-22 11:19:10 +08:00
Cyano Hao e2a23ed4ee
add Lua api version check and type defs (#183) 2024-01-21 18:02:51 +08:00
Cyano Hao 423f87763e
fix case in json theme (#182) 2024-01-20 21:09:43 +08:00
Roy Qu e78bb8db7e work save 2024-01-20 10:37:59 +08:00
Roy Qu bb43e0e062 remove debug info 2024-01-19 16:29:40 +08:00
Roy Qu 26b57f04b7 fix: Line numbers for problem case input/output/expected texteditors are not vertically centered. 2024-01-19 16:23:41 +08:00
Roy Qu 2b581531db Fix: system.json theme not correctly hidden in the initial dialog 2024-01-19 15:27:29 +08:00
Roy Qu 6715d197fe Disable system.json choice in intial dialog
Update version to 2.26-beta1
2024-01-19 15:12:06 +08:00
Cyano Hao 2b561729f3
Add xmake as alternative build system (#181)
* add xmake as alternative build system

* add feature matrix test
2024-01-19 09:25:21 +08:00
Roy Qu 47e33d9e72 remove system.json theme 2024-01-19 09:21:24 +08:00
Roy Qu 7e69b9ae65 sort themes by the filename 2024-01-18 17:15:37 +08:00
Ltabsyy 0611f706ae
Update about themes (#180)
* Correct the English name of the MoLo theme
* Fine tune the Contrast theme
* Unified Theme Name Length
2024-01-18 17:06:12 +08:00
Cyano Hao e2e5c46820
Add compiler hint interface for packager (#175)
* add compiler hint addon interface

* add architecture info in about dialog

* detect user install

* add qmake variable to control OpenConsole.exe preference

* enable asan/hwasan option on all platforms for cross toolchain

* fix lldb-server

* force to lldb-server when using lldb-mi

* add qt.conf for windows

* add windows domain installer with compiler hint

* add compiler hint for arch linux

* fix mainwindow actionInterrupt visibility

* update news

* update arch linux packaging

* update windows domain packaging

* allow parallel packaging in windows domain installer

* fix compiler set persistence in compiler hint interface
2024-01-18 16:14:36 +08:00
Cyano Hao 69872c6f0b
allow compiler sets persist in auto-find (#170) 2024-01-18 10:41:18 +08:00
Roy Qu f9028ab70f Disable lua by default 2024-01-18 10:09:42 +08:00
Roy Qu 5ae88452a9 fix: Error when using custom theme 2024-01-18 09:57:11 +08:00
Cyano Hao edf1424ce3
clarify ARM64EC support (#169) 2023-12-22 18:08:00 +08:00
Cyano Hao 6a168cfd16
Update terminal arguments pattern (#168)
* fix terminal arguments in debugger

* fix gnome-terminal args in debugger

* add args pattern for ConEmu
2023-12-22 18:07:26 +08:00
Cyano Hao 2e96a21f6f
Improve compiler check in about dialog (#167)
* improve compiler check in about dialog

* fix typo
2023-12-22 18:05:09 +08:00
Cyano Hao 1394e6c135
Add Lua-based theme add-ons (#165)
* import Lua 5.4.6 as subproject

* Lua-based theme

* Lua theme showcase - random light

* add “Inky dark” (墨落) theme

* add copyright notice

* add feature flag for Lua-based add-on
2023-12-22 18:03:29 +08:00
Roy Qu 8cdc678d38 SDCC feature can be disabled 2023-12-17 13:53:22 +08:00
Roy Qu a76729e90a - Enhancement: Better contrast for scroller slider in dark theme. 2023-12-16 17:56:24 +08:00
Roy Qu ce678c64e8 - Enhancement: Better type induction for auto in foreach loop of maps. 2023-11-26 16:30:22 +08:00
Roy Qu 5516065fb3 Update minor version 2023-11-26 15:47:43 +08:00
Roy Qu bfd00957eb - Enhancement: Better support for macros. 2023-11-26 15:44:13 +08:00
Roy Qu d75f550742 - change: Don't auto add; when completing '{' for lines starting with 'struct/union/enum' and ending with ')' 2023-11-19 17:15:17 +08:00
Roy Qu 49237ebf03 - change: Use qt.conf to use freetype font engine. User can use the windows default font engine by remove this file. 2023-11-19 16:41:36 +08:00
Roy Qu 3aa9be81d3 - fix: Use the system default encoding for input when running problem cases. 2023-11-19 10:39:12 +08:00
Roy Qu b0a2fea7d1 Don't gray ini files in the file browser 2023-11-18 16:54:44 +08:00
Roy Qu 847aac5552 fix: Simplified Chinese translations 2023-11-08 14:38:27 +08:00
Roy Qu fcdd23177c - enhancement: E-ink color scheme. 2023-11-07 09:03:17 +08:00
Roy Qu 4a8b3e1896 - fix: Line numbers for problem case input/output/expected texteditors are not vertically centered. 2023-11-06 20:58:18 +08:00
Roy Qu aa12dcc4d1 - fix: Crash if #include a non-exist header file in the source. 2023-11-05 21:00:52 +08:00
Roy Qu ce9398c2a4 - change: In Options —> Editor -> Code Suggestion, option "Hide symbols starting with underscore" default to True. 2023-11-02 10:23:29 +08:00