Commit Graph

2315 Commits

Author SHA1 Message Date
Cyano Hao 334be5b76a
limit config appDir substitution to portable app only (#391) 2024-04-24 12:01:15 +08:00
Cyano Hao 5e9d9504d2
make `isGreenEdition` constexpr on Unix (#392) 2024-04-24 12:00:26 +08:00
Roy Qu 4797e53b61 update: only define functions in class/namespace/global scopes.
update: add remove custom theme button
2024-04-24 10:26:55 +08:00
Roy Qu 198ff102ac - enhancement: Improve how to manage themes in Options → general → appearance. 2024-04-23 17:21:32 +08:00
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