Commit Graph

467 Commits

Author SHA1 Message Date
Cyano Hao b9f36558ba
Linux Qt 6 port (#490)
* initial Qt 6 port

* move arch linux package to Qt 6

* minor fix
2024-09-29 20:01:14 +08:00
Roy Qu b3247dd2e8 - fix: Scroll bar arrow size not correct in the dark themes. 2024-07-05 07:31:30 +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
Roy Qu 7593f3fe64 refactor: make qmutex mutable 2024-05-28 19:01:18 +08:00
Roy Qu 47eb9ebecf - fix: Layout for function tips. 2024-05-28 11:11:19 +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 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
Cyano Hao 43e795e791
migrate QStringRef -> QStringView (#425) 2024-05-14 08:38:22 +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
Roy Qu 4eecf263b5 update chinese website address 2024-05-08 09:56:00 +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 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 c19ca5e362 add infrastructure for number compiler options 2024-05-04 21:03:40 +08:00
Cyano Hao 8b80e2a77d
remove pre-Qt 5.15 stuff (#405) 2024-04-28 16:46:01 +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 87586202dc - fix: Toggle breakpoint by shortcut may use wrong line. 2024-04-12 12:54:12 +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 37c7405311 refactor: openInclude 2024-04-09 19:39:35 +08:00
Roy Qu 9ef6d1f3e6 refactor: ParsedFileInfo 2024-04-09 18:10:44 +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 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 e2aacd2361 After search dialog is openned, auto set focus to the control for keyword. 2024-04-05 12:24:24 +08:00
Roy Qu 4b0772d994 refactor 2024-04-05 09:42:00 +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 cbcd958ee3 refactor: Custom tool settings page 2024-04-02 16:55:51 +08:00
Roy Qu a0e3339bf7 prevent json file read error 2024-04-01 19:33:28 +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 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 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 83e2afb049 remove debug info 2024-03-28 15:30:10 +08:00
Roy Qu 40777386a9 fix #326 - enhancement: Suggest macro names after "#ifdef"/"#ifndef". 2024-03-26 13:18:00 +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 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 a83ee3f16a - Enhancement: Vertically scroll by pixel. 2024-03-22 21:56:04 +08:00
Roy Qu dac9bb3899 fix or debug console history 2024-03-22 16:12:42 +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 aad4050c25 - enhancement: Show "std::function" in the completion list. 2024-03-22 09:23:49 +08:00