Commit Graph

2361 Commits

Author SHA1 Message Date
Roy Qu d3db8e2b4d Generate a customized copy for theme 2024-04-23 14:03:48 +08:00
Roy Qu 96c4e95172 - fix #388: Temp object + member function call is wrongly parsed as constructor. 2024-04-23 13:31:05 +08:00
Roy Qu 3887b9387d enhancement: Support lambda expression without a parameter list. 2024-04-23 13:05:54 +08:00
Roy Qu f59462025f minor code clean 2024-04-17 21:01:27 +08:00
Cyano Hao c90f0bc313
Add support for weston-terminal (#384)
* add support for weston-terminal

* move NonExclusiveTemporaryFileOwner to utils

* move wrapCommandForTerminalEmulator to utils
2024-04-17 12:49:37 +08:00
Cyano Hao 5fce5cead7
update theme category indicator (#387) 2024-04-17 12:48:47 +08:00
Cyano Hao 9650393db7
unify custom and built-in, lua and json themes (#386) 2024-04-16 20:46:17 +08:00
Roy Qu 6658d14ea0 remove outdated color scheme 2024-04-16 20:05:24 +08:00
Roy Qu 0867947c70 - fix: In sdcc project, parser are not correctly inited as sdcc parser. 2024-04-15 22:24:57 +08:00
Roy Qu d8b467b867 - fix: In sdcc project, sdcc keywords are not in completion suggest list. 2024-04-15 22:17:16 +08:00
Roy Qu 8c889a3a1b refactor: painter for qsyneditor : member Namespace
Spaces in disabled lines use the same color as in other places.
2024-04-15 21:25:07 +08:00
Roy Qu ae535a0f1b update custom font 2024-04-15 20:45:41 +08:00
Roy Qu d6e0e07943 - fix: Name of the macro for project private resource header is not correct. 2024-04-15 19:10:09 +08:00
Roy Qu aca3ce8b24 - change: Don't generate project resource files for sdcc project. 2024-04-15 16:55:10 +08:00
Roy Qu a485dac4cd Merge branch 'master' of github.com:royqh1979/RedPanda-CPP 2024-04-15 16:40:00 +08:00
Roy Qu 45f4047d82 use custom font to display line breaks 2024-04-15 16:39:49 +08:00
Roy Qu 92273a30bb Merge branch 'master' of github.com:royqh1979/RedPanda-CPP 2024-04-14 21:51:46 +08:00
Roy Qu e184466fda fix: options not correctly inited when project compiler set changed. 2024-04-14 21:51:28 +08:00
Roy Qu e78799f561 fix: -stack-protect default to Normal 2024-04-14 21:37:44 +08:00
Roy Qu 5a7589aeb1 - fix: project options -> compiler set -> static link & auto convert charset options not correctly loaded. 2024-04-14 21:24:21 +08:00
Roy Qu 481ad66881 update default theme lua script 2024-04-14 18:29:37 +08:00
Roy Qu 081d37e21f redirect 2>&1 2024-04-14 12:27:01 +08:00
Roy Qu 44802c6315 windows installer: Template -> template
- sdcc project compiler: compile source file in subfolders.
2024-04-14 12:23:31 +08:00
zw9629 697bdca255
sdcc makefile生成优化 (#377)
* sdcc makefile生成优化
1.隐藏删除文件的错误提示
2.支持生成目标文件输出目录

* 修复删不了文件

* 确保能删除编译文件同时不提示任何错误

* 更正clean脚本错误(%1 2>&1)应为(%1 2>%1)
指定生成目标文件输出目录支持跨盘,跨平台(理论)

* 预防配置项为相对路径

* clean 目标与>%1中间添加空格,避免错误
2024-04-14 12:13:39 +08:00
Roy Qu c6c7d92e1c - enhancement: Auto type induction for "std::make_shared"/"std::make_unique" 2024-04-14 10:17:17 +08:00
Roy Qu 5d1b874bdf fix: ">>" not correctly handled in auto var definition 2024-04-14 09:24:39 +08:00
Roy Qu 56310e8363 - fix: Can't show correct completion info for vars declared with template parameters ending with ">>". 2024-04-13 22:37:09 +08:00
Roy Qu 89f8d9ae21 - fix: Positions of current matching parenthesis not correctly updated. 2024-04-13 18:01:32 +08:00
Roy Qu e3145d680f - fix: Shouldn't consider preceeding '&'/'*' when popping completion suggest list for variable members. 2024-04-13 10:39:55 +08:00
Cyano Hao 3552077d5c
add failsafe theme (#381) 2024-04-13 09:06:13 +08:00
Roy Qu 039ec299a6 revert: turn off font hinting 2024-04-12 20:43:47 +08:00
Roy Qu 308cbb3ee8 - change: Turn off font hinting. 2024-04-12 20:18:06 +08:00
Roy Qu a86e872281 - fix: Size of the icons in problem and problem set panel are not correct. 2024-04-12 19:23:43 +08:00
Roy Qu 0862c0555e Merge branch 'master' of github.com:royqh1979/RedPanda-CPP 2024-04-12 17:12:16 +08:00
Roy Qu 680de80a37 remove git actions 2024-04-12 17:10:40 +08:00
Roy Qu 75ef074601 Shortcut conflicts 2024-04-12 17:07:00 +08:00
Cyano Hao 6388e3ae23
fix windows xp build (#379) 2024-04-12 12:57:40 +08:00
Roy Qu 87586202dc - fix: Toggle breakpoint by shortcut may use wrong line. 2024-04-12 12:54:12 +08:00
Roy Qu 30a8205058 Merge branch 'master' of github.com:royqh1979/RedPanda-CPP 2024-04-12 12:28:14 +08:00
Roy Qu 6b575ad8b2 - enhancement: In debug console, Ctrl+C/Ctrl+X/Ctrl+V conflicts with application action.
- enhancement: Auto hide Edit/Selection/Code/Refactor menu if no file openning.
  - enhancement: Auto hide Project menu if no project openning.
2024-04-12 09:02:17 +08:00
Roy Qu 306e1b6bc4 Merge branch 'master' of github.com:royqh1979/RedPanda-CPP 2024-04-11 18:59:37 +08:00
Roy Qu 7c7fb84a5a minor ui change 2024-04-11 09:05:38 +08:00
Roy Qu 90ed2dab15 dont auto scroll when copy file in files panel 2024-04-11 08:12:02 +08:00
Roy Qu 05a36d3ed1 Dont auto scroll when copy by drag & drop 2024-04-11 08:09:43 +08:00
Roy Qu 88db0b283a encoding name sensitivity 2024-04-11 07:00:32 +08:00
Roy Qu 57c4b4d646 - enhancement: Function tip's width changes with editor width.
- fix: '<' / '>' not shown in function tips.
2024-04-10 21:43:28 +08:00
Roy Qu 7abbe2f6b5 inline functions in tokenizer 2024-04-10 10:09:04 +08:00
Roy Qu a9295caff2 optimization: make parser methods inline 2024-04-09 22:12:03 +08:00
Roy Qu 1f1d79c094 optimize QHash/QMap iterations 2024-04-09 20:18:10 +08:00
Roy Qu 37c7405311 refactor: openInclude 2024-04-09 19:39:35 +08:00
Roy Qu 35dccca91e refactor: PParsedFileInfo 2024-04-09 18:19:48 +08:00
Roy Qu 9ef6d1f3e6 refactor: ParsedFileInfo 2024-04-09 18:10:44 +08:00
Roy Qu edbe230bf7 refactor 2024-04-09 17:15:27 +08:00
Roy Qu 4f1cc3d50d - fix: Alias a namespace to itself will create infinite loop. 2024-04-08 13:57:16 +08:00
Roy Qu 396b6f42dc fix : project include dirs not in make file 2024-04-08 13:49:59 +08:00
Roy Qu cbd6559ddc - fix #374: Can't find the correct type if current symbol is member of a class that has constructors. 2024-04-08 11:47:53 +08:00
Roy Qu 8ebfeec97d fix : crash when parsing fmt/xchar.h 2024-04-08 11:00:47 +08:00
Roy Qu fd0d4d9f26 auto detect mingw in mingw32/mingw64
remove spaces in "小熊猫C++"
2024-04-07 23:21:53 +08:00
Roy Qu ea03f788d1 tweak ui 2024-04-07 21:37:06 +08:00
Roy Qu 57eebd8bc7 restore hidden option 2024-04-07 21:35:45 +08:00
Roy Qu 04c7f3b5d5 - change: Remove "limit for copy" and "limit for undo" options. 2024-04-07 21:33:08 +08:00
Roy Qu c5bdecca17 Merge branch 'master' of github.com:royqh1979/RedPanda-CPP 2024-04-07 16:56:13 +08:00
Roy Qu 535ab60027 fix: In color theme, background of local var/global bar/function etc doesn't work. 2024-04-07 16:55:58 +08:00
Roy Qu dce6d97009 reduce icon size in completion popup 2024-04-07 10:22:57 +08:00
Roy Qu ba6d8fa77d reduce icon size in completion popup 2024-04-07 09:58:30 +08:00
Roy Qu 8fb756da77 - enhancement: Size of icons in the completion popup changes with the editor font size. 2024-04-06 21:45:00 +08:00
Roy Qu e98fb56f8d - fix: Theme manager not correctly inited in options dialog / environment / appearance. 2024-04-06 18:36:35 +08:00
Roy Qu 17fddff91b clean code
refactor: rename fileIncludes to fileInfo
2024-04-06 18:10:49 +08:00
Roy Qu fd062e2f34 refactor: rename FileIncludes to ParsedFileInfo 2024-04-06 17:45:02 +08:00
Roy Qu 6b6c19574d fix error in simplified chinese translation. 2024-04-06 11:07:15 +08:00
Roy Qu f029de3048 - fixes #371 : Don't show completion suggestion for members of variable which type name has namespace alias; 2024-04-06 10:31:08 +08:00
Roy Qu 2cf8f2dcf5 - fix: can't jump to definition/declaration for symbols in using alias statement like "using ::printf". 2024-04-06 10:08:42 +08:00
Roy Qu 8c6cef0ad9 - fix: Compiler set options "Check for stack smashing attacks (-fstack-protector)" was not correctly applied when compiling. 2024-04-06 09:30:35 +08:00
Roy Qu 384396d196 clean codes 2024-04-06 04:05:00 +08:00
Roy Qu 762c27b860 fix: cppparser : #included files not correctly handled
refactor project options -> file page
2024-04-06 04:03:14 +08:00
Roy Qu 29ed064b91 fix: function tips not correctly displayed 2024-04-05 22:43:07 +08:00
Roy Qu 12153bf16a refactor doFindNamespace 2024-04-05 21:40:40 +08:00
Roy Qu 16a3c0ad7a fixes #330 : Don't show function prototype tip for function name that contains more than one namespace; 2024-04-05 21:38:18 +08:00
Roy Qu c53a4ba910 fix: options not reset after project compiler set changed 2024-04-05 21:11:26 +08:00
Roy Qu ccfb786f74 - fix: Project options -> file doesn't work. 2024-04-05 20:43:04 +08:00
Roy Qu c17fd21b1c fix: project options dialog not correctly inited. 2024-04-05 19:23:52 +08:00
Roy Qu 3ae25776b6 fix #331 Don't show function prototype tip for function name that contains namespace alias 2024-04-05 17:38:22 +08:00
Roy Qu e2aacd2361 After search dialog is openned, auto set focus to the control for keyword. 2024-04-05 12:24:24 +08:00
Roy Qu c64558e137 fix: auto remove matching " doesn't work. 2024-04-05 12:13:05 +08:00
Roy Qu bd9d132159 refactor 2024-04-05 09:52:34 +08:00
Roy Qu 4b0772d994 refactor 2024-04-05 09:42:00 +08:00
Roy Qu 72481d7de8 optimize painter. 2024-04-04 23:12:12 +08:00
Roy Qu 3e1e4b0f01 fixes #369
- fix: Breakpoint condition expression that contains spaces doesn't work.
  - enhancement: Double click on breakpoint table's condition cell to modify it.
2024-04-04 21:34:16 +08:00
Roy Qu 1fafd2c273 eliminate error message when start debug in lldb-mi 2024-04-03 17:25:34 +08:00
Roy Qu d3f2cd1dc1 refactor: name project options
fix: chinese translation for project options
2024-04-03 16:50:19 +08:00
Roy Qu 648e555fc5 refactor: enum to enum class 2024-04-03 10:37:29 +08:00
Roy Qu 494a5c61e4 refactor: enum to enum class in qsynedit 2024-04-03 10:14:54 +08:00
Roy Qu 7fedf86d4e fix for linux 2024-04-02 20:37:28 +08:00
Roy Qu bae58f8ddf fix: merge output of stdout and stderr 2024-04-02 19:38:44 +08:00
Roy Qu bf245a7842 fix: can't execute bat file 2024-04-02 19:13:55 +08:00
Roy Qu 47c1fa21a0 minor changes 2024-04-02 17:25:54 +08:00
Roy Qu 24f88f8d35 minor fix
fix: can't edit custom tool items
 update translations
 add log info for tool output
2024-04-02 17:19:50 +08:00
Roy Qu cbcd958ee3 refactor: Custom tool settings page 2024-04-02 16:55:51 +08:00
Roy Qu bca4be08b2 work save 2024-04-02 14:32:52 +08:00
Roy Qu 775148eb43 eliminate warnings 2024-04-01 21:28:36 +08:00
Roy Qu 97a7a62fb1 update translations 2024-04-01 21:10:50 +08:00
Roy Qu 9b2d3a1bd0 - enhancement: Enhancement for custom tools. 2024-04-01 21:07:44 +08:00
Roy Qu a0e3339bf7 prevent json file read error 2024-04-01 19:33:28 +08:00
Roy Qu e10b5b1d39 - enhancement: Set shortcuts for tools menu item. 2024-04-01 19:25:14 +08:00
Roy Qu 6339b44d5f turn off rainbow color in the cpu info dialog. 2024-04-01 17:12:49 +08:00
Roy Qu 95fff8bea7 Hide blend mode button when debug with lldb-mi
fix: Can't auto jump to the current line in the cpu info dialog when debug with lldb-mi
2024-04-01 16:59:19 +08:00
Roy Qu c5b07ff321 skip extern template 2024-04-01 11:08:30 +08:00
Roy Qu 1372ac774f - enhancement: Support "extern template" in parser. 2024-04-01 10:59:01 +08:00
Roy Qu 158945f8db fix #358 : C++ source after ';' are treated as comments in cpu info window. 2024-03-31 21:27:02 +08:00
Roy Qu 8fc621829e - enhancement: Make colors in code suggestion popup consistent with the editor.
- enhancement: Make colors in header suggestion popup consistent with the editor.
2024-03-31 20:43:37 +08:00
Roy Qu e960d820f3 update default theme 2024-03-31 18:21:40 +08:00
Roy Qu c1eb9a1a62 minor fix for astyle 2024-03-31 18:10:17 +08:00
Roy Qu 8eee3de831 - Change: Change background color for highlighted buttons in the default theme.
- enhancement: Make matched contents more obvious in the code suggestion popup.
  - enhancement: Make matched contents more obvious in the header suggestion popup.
2024-03-31 17:23:16 +08:00
Roy Qu a071057842 - Change: Change background color for highlighted buttons in the default theme. 2024-03-31 15:36:26 +08:00
Roy Qu 96fabfc92c - Change: Background color for highlighted buttons in the default theme. 2024-03-31 11:20:01 +08:00
Roy Qu 1c51326e8f Use combobox to set project type option 2024-03-31 10:50:41 +08:00
Roy Qu 6e5047e9bf Merge branch 'master' of github.com:royqh1979/RedPanda-CPP 2024-03-31 09:37:00 +08:00
Roy Qu f834a6dfbf - enhancement: By default, use monospaced font to display register values in the CPU Info dialog.
- fix: Negative values in register like AH/AL are wrongs displayed as 32/64-bit number.
2024-03-31 09:36:37 +08:00
Cyano Hao ff393734ea
Fix lua themes (#356)
* fix lua themes

* fix project files

* fix project files
2024-03-31 08:47:37 +08:00
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