Commit Graph

2298 Commits

Author SHA1 Message Date
Cyano Hao 2fc9b51053
Fix CI build (#414)
* remove git from CI test

* fix build
2024-05-09 16:14:47 +08:00
Roy Qu eca9d2ecbf - fix: Can't compile / run assembly files in gcc 13/14 . 2024-05-08 11:48:55 +08:00
Roy Qu d21de624ea - enhancement: New menu item "Code completion". 2024-05-08 10:27:00 +08:00
Roy Qu 4eecf263b5 update chinese website address 2024-05-08 09:56:00 +08:00
Roy Qu 89e2c330e3 optimize: don't invalidate all line width after each parsing. 2024-05-07 15:15:02 +08:00
Roy Qu 311fe880bb stack size doesn't work in linux 2024-05-05 16:11:34 +08:00
Roy Qu cd65ecd74a - fix: Fail to evaluate expressions if macro can't be expanded. 2024-05-05 16:01:29 +08:00
Roy Qu b3ca4f5d38 update translation 2024-05-05 13:06:14 +08:00
Roy Qu 29e5541477 fix: can't toggle bookmark when mouse is at end of the line 2024-05-05 12:59:49 +08:00
Roy Qu e6b57b79c0 update mainwindow size 2024-05-05 10:33:18 +08:00
Roy Qu eac49a90f0 - fix: The memory usage displayed after program execution is wrong.
- enhancement: New compiler option "stack size" in the link subpage.
  - change: Set "Ctrl+G" as the shortcut for "Goto page..."
  - change: Set "Ctrl+B" as the shortcut for "Toggle Bookmark"
2024-05-05 10:24:36 +08:00
Roy Qu 996dbc7055 change shortcuts 2024-05-04 21:58:02 +08:00
Roy Qu c19ca5e362 add infrastructure for number compiler options 2024-05-04 21:03:40 +08:00
Roy Qu ce97272fc0 fix: Crash when has source line like "std::cout << (3+4*4>5*(4+3)-1 && (4-3>5)) <<std::endl;". 2024-05-04 12:33:35 +08:00
Roy Qu 49049b0884 refactor: structural binding 2024-05-04 10:31:15 +08:00
Roy Qu 4bd3829484 fix: Correctly parsing array defines. 2024-05-03 21:00:38 +08:00
Roy Qu ebeea19794 - enhancement: support C++ 17 structured binding in stl map containers foreach loop. 2024-05-03 10:39:44 +08:00
Roy Qu 131941801d simplify implementation 2024-05-03 08:48:58 +08:00
Roy Qu 68209fe619 fix: project not correctly reparsed after rename unit. 2024-05-03 08:38:54 +08:00
Roy Qu c5cd30eb2a fix: compile error 2024-05-03 08:38:00 +08:00
Roy Qu 1eb804ab0e fix: (UB) get shared ptr from raw pointer 2024-05-03 07:50:05 +08:00
Roy Qu 0b56b6383f fix #408: In options -> code format -> Program, Choose astyle path button doesn't work. 2024-05-02 17:02:55 +08:00
Roy Qu 67b2ec1bc7 - fix: Current editor wouldn't get parsed, when it's switched from another editor being parsed.
- enhancement: Support macro in #include preprocessing statements. (Issue #497)
2024-05-02 16:58:01 +08:00
Cyano Hao 8b80e2a77d
remove pre-Qt 5.15 stuff (#405) 2024-04-28 16:46:01 +08:00
Roy Qu 9ef7d45640 Auto set "remove superfluous empty lines" spinbox enable state with the checkbox 2024-04-27 12:21:23 +08:00
Roy Qu f51ca9009e - enhancement: New code format option: "Remove superfluous empty lines exceeding"
- enhancement: New code format option: "Remove superfluous spaces"
  - change: Remove code format option: "Delete continuous empty lines"
2024-04-27 10:21:40 +08:00
Roy Qu fa7dc26e2c remove options "Delete multiple empty lines" 2024-04-26 14:54:50 +08:00
Roy Qu 533783ad30 minor change 2024-04-25 18:49:43 +08:00
Roy Qu 8048ef1d36 old version compatibility 2024-04-25 17:39:17 +08:00
Ltabsyy aaee5b9eb3
Add color scheme MoLo Mia (#394)
1.可满足MoLo主题复制到白纸的需求,例如实验报告。
2.可配合浅色主题作为常规的浅色配色使用。
2024-04-25 16:30:41 +08:00
Cyano Hao ff23e8c859
prefer Lucida Console font on Windows XP (#395) 2024-04-25 16:30:23 +08:00
Roy Qu 7df90b0d5d remove astyle sourcetree 2024-04-25 16:29:27 +08:00
Cyano Hao 30693baa9e
fix feature sdcc=n (#393) 2024-04-24 12:02:10 +08:00
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