Commit Graph

1128 Commits

Author SHA1 Message Date
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
Roy Qu 76e098bfc6 fix #327 - enhancement: Auto define macro "_DEBUG" for "Debug" compiler set(like visual studio). 2024-03-26 12:54:25 +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 0339baf069 fixes #320 - fix: Display not correctly updated after select all in debug console. 2024-03-25 17:21:22 +08:00
Roy Qu 5efc4ac279 fix #321 #322
- enhancement: Display (gdb) prompt in debug console after it's cleared.
  - fix: Output of "disas" is not shown in debug console.
  enhancement: align first line top with editor window after vertical scrolled.
2024-03-25 17:10:47 +08:00
Roy Qu 50f3ec06f1 update NEWS.md 2024-03-25 11:50:19 +08:00
Roy Qu ae19edd4bc update installer script 2024-03-25 11:29:56 +08:00
Roy Qu 0405a51206 fix #318 #309 - enhancement: Auto type induction for new / temp class object. 2024-03-24 19:19:57 +08:00
Roy Qu a892e21ed3 - fix #319 : Register names in the cpu info are not in correct order. 2024-03-24 18:07:32 +08:00
Roy Qu 3be7a72fb9 - fix: Caret on '('/',' in string shouldn't invoke function info tips. 2024-03-24 10:41:03 +08:00
Roy Qu 4f637481e4 update NEWS.md 2024-03-23 18:42:11 +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 8307f1b38f - enhancement: Restore line position after file is modified outside and reloaded. 2024-03-22 20:32:48 +08:00
Roy Qu e291a2e2fb fix #300 - enhancement: Show type completion hint after "constexpr"/"extern"/"static"/"consteval"/"constinit"/"const"/"volatile" etc. 2024-03-22 19:53:09 +08:00
Roy Qu 517fdbdecc - enhancement: Improve lambda support. 2024-03-22 18:56:02 +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 72cd79eef5 - enhancement: Improvement in italic font support. 2024-03-22 11:12:06 +08:00
Roy Qu aad4050c25 - enhancement: Show "std::function" in the completion list. 2024-03-22 09:23:49 +08:00
Roy Qu e72b780dc3 - enhancement: Syntax highlighting for c++ attributes.
fix: mingw build errors
2024-03-21 21:28:12 +08:00
Roy Qu 86cc3e170e update NEWS.md 2024-03-21 20:45:31 +08:00
Roy Qu 1ae60fa7ed fix #297 : Filename that contains '&' doesn't correctly displayed in the editor tab. 2024-03-21 20:00:34 +08:00
Roy Qu 5b328f1e1a - fix: Option 'Pause after run in console' for tools doesn't work. 2024-03-21 17:54:58 +08:00
Roy Qu d859894105 fix #290 : Auto type induction for expression contains '[]' are not correct. 2024-03-21 16:55:32 +08:00
Roy Qu c68eea9463 Merge branch 'master' of github.com:royqh1979/RedPanda-CPP
# Conflicts:
#	NEWS.md
2024-03-21 16:19:05 +08:00
Roy Qu c407c27a7a - fix: Can't correctly retrieve function parameters type. 2024-03-21 16:18:14 +08:00
Roy Qu e308ccb629 - fix: '*=' is treadted as '*' when parsing. 2024-03-21 15:13:58 +08:00
Roy Qu d32e4e642d fix #294 - fix: Ctrl+Return insert linebreak shouldn't scroll unnecessarilly.
- enhancement: Move caret to line begin would scroll to the begin if possible.
2024-03-21 10:22:09 +08:00
Roy Qu 0426bfe1b0 fix #293 : No icons for inherited class private members. 2024-03-21 07:10:48 +08:00
Roy Qu bcbcc61481 - fix: Caret unseen when move to a long line end by press END. 2024-03-20 20:42:20 +08:00
Roy Qu 92407fc767 fix #286 : Show type completion info after 'const' and 'volatile' 2024-03-20 20:35:47 +08:00
Roy Qu 5003c412f7 - enhancement: "Mouse scroll direction" option in Options / Editor / General
- change: Invert scroll direction in horizontal, like in vertical.
2024-03-20 15:55:22 +08:00
Roy Qu 4e2053fb56 fix: crash when set breakpoints in an empty C/C++ file 2024-03-19 20:20:11 +08:00
Roy Qu e6f65acf00 - fix: Should show header completion popup in #include line comments.
- fix: <> int #include "" line's line comment may be wrongly syntax colored.
  - fix: <> int #include "" line's line comment may be wrongly underlined.
2024-03-18 21:37:54 +08:00
Roy Qu 46b273a88d - enhancement: Folding button scales with editor font. 2024-03-14 20:06:45 +08:00
Roy Qu ba9bbca010 - change: When debugging, don't auto set focus to the editor. 2024-03-14 13:03:06 +08:00
Roy Qu 365c15a874 - enhancement: Execute the last debug command in the debug console if ENTER pressed. 2024-03-14 11:21:42 +08:00
Roy Qu 70905fd997 update NEWS.md 2024-03-14 09:33:50 +08:00
Roy Qu f91c2bb188 - enhancement: Auto choose a better font for theme choosing dialog in the first run. 2024-03-13 20:57:56 +08:00
Roy Qu 46b0c4d894 fixes #264: In the debugger console, Auto-wrapped lines can't be correctly selected. 2024-03-13 20:10:31 +08:00
Roy Qu 1e3404c591 - fix: Shortcuts in non-editor panels conficts with the editor. 2024-03-13 11:04:51 +08:00
Roy Qu 904d0e29b1 update README.md 2024-03-12 20:35:21 +08:00
Roy Qu 80ec88e552 - fix: Failed to evaluate expressions while debugging, if the expression has spaces in it. 2024-03-12 18:59:26 +08:00
Roy Qu f5db3144f5 Merge branch 'master' into dap
# Conflicts:
#	NEWS.md
2024-03-11 17:29:15 +08:00
Roy Qu 35d6b4d014 - enhancement: improve lldb-mi compatibility. 2024-03-11 13:13:53 +08:00
Roy Qu 0e5d666c67 - fix: Full scope typed variables in lambda expressions is not correctly parsed. 2024-03-08 18:20:49 +08:00
Roy Qu 86bea53a2a update NEWS.md 2024-03-08 09:41:14 +08:00
Roy Qu 76d3ccfc37 update NEWS.md 2024-03-08 09:06:37 +08:00
Roy Qu 938bf736b4 update NEWS.md 2024-03-07 21:45:51 +08:00
Roy Qu c742a8bb29 - enhancement: Issue #196 Support C++ using alias in syntax highlighting/code completion/function tips. 2024-03-07 21:35:53 +08:00
Roy Qu 6b316b4e52 update NEWS.md 2024-03-07 15:49:11 +08:00
Roy Qu 4b454353bb - fix: Delete/Insert in column editing mode. 2024-03-07 15:39:05 +08:00
Roy Qu 0a11b4b6ea - Enhancement: Issue #213 Expands macro when finding function tips. 2024-03-06 19:35:35 +08:00
Roy Qu 383031bc5d - Enhancement: Optimization for drawing scrollbars. 2024-03-06 12:01:56 +08:00
Roy Qu 0e77ed10c7 Update NEWS.md 2024-03-05 21:30:36 +08:00
Roy Qu e0438b1bf9 - enhancement: Internal optimization for open/edit files. 2024-03-05 16:34:41 +08:00
Roy Qu 52dc8cf286 update NEWS.md 2024-03-04 21:13:24 +08:00
Roy Qu cbef0d7db3 Issue #229 Shortcuts for the tree view in files panel. 2024-03-04 20:47:17 +08:00
Roy Qu db95cce299 - enhancement: Shortcuts for the tree view in files panel. 2024-03-04 20:40:13 +08:00
Roy Qu 3f2a0b424a - fix: "float" in #include "float.h" is wrong syntax colored.
- enhancement: Unify syntax color for #include header name
2024-03-03 20:33:29 +08:00
Roy Qu 8561a035ae - enhancement: Unique look&feel for the underline shown while ctrl+mouse over #include line.
- enhancement: Better look&feel for the wave underline shown for syntax errors.
2024-03-03 18:42:45 +08:00
Roy Qu 804ff6085e - fix: Issue #230 Crash when input " in the txt files. 2024-03-03 12:31:24 +08:00
Roy Qu cb66c7f340 - fix: After spaces in comments and strings, symbol completion for '{' and '(' are wrong. 2024-03-01 19:30:37 +08:00
Roy Qu 25453e28eb - change: Force use utf8 as the exec encoding for fmtlib in the auto link options page. 2024-03-01 18:51:23 +08:00
Roy Qu 3019f25fe3 update NEWS.md 2024-02-29 20:24:27 +08:00
Roy Qu d171d7bdf5 - fix: Selected lines doesn't draw line break glyphs. 2024-02-29 19:33:53 +08:00
Roy Qu ee488384a1 - fix: Wrong indent for the line after the pasted context.
- Enhancement: When '{' is inputted and there are contents selected, auto add line breaks and indents.
2024-02-29 13:28:19 +08:00
Roy Qu a1387a7c2c update NEWS.md 2024-02-29 09:55:49 +08:00
Roy Qu 6daddd1e5b - fix: Can't show function tips for std::ios::sync_with_stdio. 2024-02-29 09:50:20 +08:00
Roy Qu bbb3071d44 - fix: Insert line after comments may auto add an extra '*'. 2024-02-29 08:45:18 +08:00
Roy Qu 0f654bdf75 - enhancement: Beautify display for spaces and linebreaks. 2024-02-28 21:07:07 +08:00
Cyano Hao 18318653d7
Move from command line to argv array (#216)
* command line -> argv array

* update function names

* update directory structure

---------

Co-authored-by: Roy Qu <royqh1979@gmail.com>
2024-02-28 19:41:05 +08:00
Roy Qu f763cec8f4 - fix: Function argument infos are not correctly parsed. 2024-02-28 10:41:03 +08:00
Roy Qu 1728e953bf - fix: Parser: invalidating file may break class inheritance infos. 2024-02-27 18:08:38 +08:00
Roy Qu bc0d55b1bb - enhancement: Display ascii control chars. 2024-02-27 13:23:58 +08:00
Roy Qu 979427da27 update NEWS.md 2024-02-26 15:17:09 +08:00
Roy Qu b59342a602 Update NEWS.md 2024-02-26 10:50:17 +08:00
Roy Qu 3679d5f215 Update NEWS.md 2024-02-23 10:19:43 +08:00
Roy Qu 556e5fad96 update version number and NEWS.md 2024-02-22 14:47:49 +08:00
Roy Qu f9d8212712 - Enhancement: New option for compiler set "Don't localize gcc output messages" 2024-02-20 21:47:12 +08:00
Roy Qu 522722c418 - Enhancement: Improved Raw string support 2024-02-20 17:25:37 +08:00
Roy Qu 20339b3e9a - Fix: Function list is not correctly retrived for full-scoped functions 2024-02-20 14:45:12 +08:00
Roy Qu 0faea6ac69 - Enhancement: Don't auto-indent in raw string. 2024-02-20 12:51:01 +08:00
Roy Qu d8e4c4d76b - Fix: Expression that starts with full scoped variables might be treated as var definition. 2024-02-20 12:34:02 +08:00
Roy Qu f0c01e03aa - Fix: Can't goto definition/declaration into files that not saved. 2024-02-20 10:31:12 +08:00
Cyano Hao e2e5c46820
Add compiler hint interface for packager (#175)
* add compiler hint addon interface

* add architecture info in about dialog

* detect user install

* add qmake variable to control OpenConsole.exe preference

* enable asan/hwasan option on all platforms for cross toolchain

* fix lldb-server

* force to lldb-server when using lldb-mi

* add qt.conf for windows

* add windows domain installer with compiler hint

* add compiler hint for arch linux

* fix mainwindow actionInterrupt visibility

* update news

* update arch linux packaging

* update windows domain packaging

* allow parallel packaging in windows domain installer

* fix compiler set persistence in compiler hint interface
2024-01-18 16:14:36 +08:00
Roy Qu 5ae88452a9 fix: Error when using custom theme 2024-01-18 09:57:11 +08:00
Roy Qu a76729e90a - Enhancement: Better contrast for scroller slider in dark theme. 2023-12-16 17:56:24 +08:00
Roy Qu ef2d4faf32 Update NEWS.md 2023-11-26 16:51:43 +08:00
Roy Qu bfd00957eb - Enhancement: Better support for macros. 2023-11-26 15:44:13 +08:00
Roy Qu d75f550742 - change: Don't auto add; when completing '{' for lines starting with 'struct/union/enum' and ending with ')' 2023-11-19 17:15:17 +08:00
Roy Qu 49237ebf03 - change: Use qt.conf to use freetype font engine. User can use the windows default font engine by remove this file. 2023-11-19 16:41:36 +08:00
Roy Qu 3aa9be81d3 - fix: Use the system default encoding for input when running problem cases. 2023-11-19 10:39:12 +08:00
Roy Qu 847aac5552 fix: Simplified Chinese translations 2023-11-08 14:38:27 +08:00
Roy Qu 4a8b3e1896 - fix: Line numbers for problem case input/output/expected texteditors are not vertically centered. 2023-11-06 20:58:18 +08:00
Roy Qu aa12dcc4d1 - fix: Crash if #include a non-exist header file in the source. 2023-11-05 21:00:52 +08:00