Commit Graph

2330 Commits

Author SHA1 Message Date
Roy Qu b060ecc09e refactor: intab() test
fix: toggle bookmarks in editors that not in tab shouldn't affect main window.
2024-05-31 08:05:18 +08:00
Roy Qu 3728cbed5e - fix: All color scheme names are incorrectly displayed as bold, if the current one is a customed one. 2024-05-30 18:52:06 +08:00
Roy Qu 7ab49d7123 Merge branch 'master' of github.com:royqh1979/RedPanda-CPP 2024-05-30 18:03:43 +08:00
Roy Qu c3a9c1566d - fix: All color scheme names are incorrectly displayed as bold, if the current one is a customed one. 2024-05-30 18:03:30 +08:00
Cyano Hao 14cf595af8
simplify compiler version check in about dialog (#443) 2024-05-29 16:31:28 +08:00
Cyano Hao 56488c9dbc
fix CI build (#442) 2024-05-29 16:30:17 +08:00
Roy Qu 7593f3fe64 refactor: make qmutex mutable 2024-05-28 19:01:18 +08:00
Roy Qu 7aa85611e3 - fix: Mingw32-make doesn't work correctly if there are bash in the path. 2024-05-28 17:12:31 +08:00
Ltabsyy 65784daefd
Adjust the demo text of editor color theme optiont page. (#438) 2024-05-28 14:55:12 +08:00
Roy Qu a236c6f558 remove debug info 2024-05-28 12:23:31 +08:00
Roy Qu 66b0d34ff8 - enhancement: More elements in the demo of editor color theme optiont page. 2024-05-28 12:22:33 +08:00
Roy Qu 47eb9ebecf - fix: Layout for function tips. 2024-05-28 11:11:19 +08:00
Roy Qu b489695639 synchornize Competitive Companion Thread stop. 2024-05-25 10:19:44 +08:00
Roy Qu 2a536f6d22 make CompetitiveCompanionThread really work. 2024-05-24 23:20:11 +08:00
Roy Qu a6da52980d - enhancement: Handle problems info from competitive-companion in background thread.
- enhancement: Handle time/memory limits in problems info from competitive-companion in background thread.
  - enhancement: When problems info from competitive-companion received, show tips in the status bar.
2024-05-24 17:53:39 +08:00
Roy Qu 904fe591cb Add missing files. 2024-05-24 15:28:05 +08:00
Roy Qu 7e70607f27 Split competitivecompenionhandler from mainwindow 2024-05-22 11:18:39 +08:00
Roy Qu 5cbdd2bcda update linux autolink config 2024-05-20 20:28:24 +08:00
Roy Qu 3ceb147e0c fix: Visibility for the interrupt action is not correctly updated.
fix: Consistence for path seperators of config folders.
Enhancement: Auto create custom theme directory.
2024-05-20 16:56:38 +08:00
Roy Qu fd38aa4160 - fix: Visibility for the interrupt action is not correctly updated. 2024-05-20 16:40:19 +08:00
Roy Qu 0e3a1fdca9 - fix: In compiler options page, Can't save default stack size to 0MB. 2024-05-17 18:15:12 +08:00
Roy Qu eeb57ca6fa - fix: In compiler options page, Can't save default stack size to 0MB. 2024-05-17 18:12:11 +08:00
Roy Qu fc68af7b0b use Universal character names in string literals. 2024-05-17 16:58:29 +08:00
Roy Qu 4e688a9136 - fix: Shouldn't warn "xxx.s is modifed" when "Generate assembly" is reran.
- fix: Shouldn't warn "Makefile is modifed" when "View Makefile" is reran.
2024-05-17 16:51:34 +08:00
Roy Qu 454dcbadcb - optimization: use QString::constData() instead of QString::data() if possible
- fix: Can't correctly parse template parameters that contains "->", like "std::queue<std::function<auto()->void>>";
2024-05-14 21:19:42 +08:00
Roy Qu f4d3ebc9bc optimize: use constData() if possible 2024-05-14 20:26:32 +08:00
Cyano Hao 43e795e791
migrate QStringRef -> QStringView (#425) 2024-05-14 08:38:22 +08:00
Roy Qu 5d328823e5 fix: gutter background is not configuarable 2024-05-11 10:31:43 +08:00
Roy Qu 86e10af5b6 fix: gutter line number font style shouldn't be customable. 2024-05-11 10:24:38 +08:00
Roy Qu 93aaca10cd enhancement: Show full filepath in the tooltip of editor tab. 2024-05-11 10:19:44 +08:00
Cyano Hao e67a9992c2
Migrate deprecated APIs (#418)
* migrate deprecated QLayout::setMargin -> QLayout::setContentMargins

* migrate deprecated QRegExp -> QRegularExpression

* remove deprecated QDesktopWidget header

* migrage deprecated QDesktopWidget::width, height -> QScreen::geometry
2024-05-10 17:31:10 +08:00
Cyano Hao cc359651ef
fix unexpected "int -> QChar -> QString" conversion (#417) 2024-05-09 21:09:57 +08:00
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