Commit Graph

1099 Commits

Author SHA1 Message Date
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
Roy Qu ce9398c2a4 - change: In Options —> Editor -> Code Suggestion, option "Hide symbols starting with underscore" default to True. 2023-11-02 10:23:29 +08:00
Roy Qu dbf21e8036 - change: In Options -> Language -> Generate Assembly, option "Don't generate SEH directives" default to True. 2023-11-02 10:19:01 +08:00
Roy Qu b449085870 - enhancement: Hide symbols that contains "<>" in code suggestions. 2023-10-27 20:28:41 +08:00
Roy Qu 5814043302 - enhancement: when induce type info for return value, try to select the overloaded one that doesn't have an "auto" type. 2023-10-26 08:57:40 +08:00
Roy Qu 94e955b07a - fix: If the integrated gcc compiler is add to path, auto find compilers will find in twice. (Windows) 2023-10-25 18:58:45 +08:00
Roy Qu 3a78819fb8 - fix: C++ compiler atrribute '[[xxx]]' are not correctly handled. 2023-10-25 17:01:42 +08:00
Roy Qu b287464b98 - fix: Macros that defined by the compiler are not correctly syntax-colored and tooltiped. 2023-10-25 00:34:29 +08:00
Roy Qu 0bc361e1f9 - enhancement: Better support for expanding macros with complex parameters. 2023-10-25 00:19:05 +08:00
Roy Qu 4eca58b62a - enhancement: Basic support for parsing variadic macros. 2023-10-24 20:35:43 +08:00
Roy Qu 1c23010408 - change: Set mouse cursor to hand pointing when it's on gutter.
- fix: mouse cursor doesn't change when move back to editor.
2023-10-23 21:46:13 +08:00
Roy Qu 00736ea73b - change: Ensure the line just below caret is visible while moving caret. 2023-10-23 17:36:10 +08:00
Roy Qu 7b9c5b378a - fix: Should cd to working directory when debugging. 2023-10-23 10:33:16 +08:00
Roy Qu c3352ad661 - refactor: for/catch processing
- fix: Link in the project options dialog / precompiled header pages is not clickable.
2023-10-22 18:33:53 +08:00
Roy Qu 30cabe2faa - enhancement: Parse files that contains C++ 20 'concept' keyword. (No code suggesion for concepts now)
- enhancement: Parse files that contains C++ 20 'requires' keyword.
  - fix: Code suggestions in namespace.
  - enhancement: Code suggestions for namespace alias.
  - fix: Correctly handle statements like 'using xxx::operator()'.
2023-10-22 13:19:03 +08:00
Roy Qu 9467645bef - fix: __attribute__ is not correctly handled if it is after 'static'. 2023-10-21 22:19:26 +08:00
Roy Qu 44d8ef37e3 update NEWS.md 2023-10-21 13:45:06 +08:00
Roy Qu 5332ffee84 - enhancement: Auto adjust position of the suggestion popup window. 2023-10-21 10:14:12 +08:00
Roy Qu 6a02b58099 Merge branch 'master' into 2.26 2023-10-21 09:04:36 +08:00
Roy Qu 380482d829 - fix: Project recompiles for every run if auto increase build number is turned on.
- fix: Auto increase build number for project is not correctly processed.
2023-10-20 20:10:50 +08:00
Roy Qu 7b949d8d23 - change: Use ctrl+mouseMove event to highlight jumpable symbols (instead of ctrl+tooltip). 2023-10-20 10:32:51 +08:00
Roy Qu 8fe15dab8a - enhancment: Code suggestion for embedded std::vectors. 2023-10-19 19:32:08 +08:00
Roy Qu fd95b49270 - fix: Correctly handle project templates that have wrong unit counts. 2023-10-19 08:33:37 +08:00
Roy Qu 5bf6da785c fix: crash when using ibus as the input method 2023-10-18 14:00:32 +00:00
Roy Qu 38a55dcdb4 - ehhancement: Show selected char counts in status bar.
- enhancement: Differentiate /* and /** when calculate auto indents.
2023-10-18 14:37:31 +08:00
Roy Qu 814f3a28db - enhancement: After compiler settings changed, run/debug current file will auto recompile. 2023-10-15 16:28:55 +08:00
Roy Qu 81fab89e1f - change: Add Mesa3D for windows opengl driver to the integrated mingw-gcc for windows 32 version. 2023-10-15 12:48:10 +08:00
Roy Qu 5371311219 - fix: Icon position not correct under hiPDI devices. 2023-10-15 12:45:31 +08:00
Roy Qu 571f18ee54 - fix: Press '>' after '-' don't show completion suggestion info. 2023-10-09 18:20:48 +08:00
Roy Qu 6016065b58 - enhancement: When creating project, warn user if the project folder is not empty. 2023-10-08 19:58:04 +08:00
Roy Qu 14ba74e705 - fix: Processing for #if/#elif/#else is not correct. 2023-10-01 10:45:43 +08:00
Roy Qu 78f00febbc - fix: Custom compile options is not used when retrieve macros defined by the compiler. 2023-09-24 08:55:10 +08:00
Roy Qu 33d4327443 update translations 2023-09-22 08:17:52 +08:00
Roy Qu bb6c8acb1a - change: Use freetype as the fontengine in windows 2023-09-22 08:05:05 +08:00
Roy Qu 1e645d7770 Improvement of terminal support 2023-09-21 08:17:07 +08:00
Roy Qu a2a3ae8a91 - minor changes for Virtual Terminal Sequences Support in windows 10/11 2023-09-21 07:19:23 +08:00
Roy Qu ec3527e5d6 update NEWS.md 2023-09-06 07:22:59 +08:00
Roy Qu 257b81ca3f - fix: "move selection up/down" of whole lines selection are no correctly handled. 2023-08-23 22:37:43 +08:00
Roy Qu ee26d9d0a0 - fix: Symbol completion of '(' before selection may fail, if cursor is at the beginning of the selection. 2023-08-23 20:47:23 +08:00
Roy Qu 10c134a5c7 - change: Symbol completion of '(' won't test current character at the cursor.
- change: Symbol completion of '{' won't insert extra new lines.
2023-08-23 17:24:07 +08:00
Roy Qu 9bc5203a93 - fix: Can't find other compilers that in the same folder with gcc. 2023-08-20 21:38:26 +08:00
Roy Qu 4be629727d - enhancement: 3 compare mode for problem cases. 2023-08-19 18:01:16 +08:00
Roy Qu 6b2a800d37 - enhancement: Support SDCC Project. 2023-08-17 19:24:49 +08:00
Roy Qu dd5640d334 - enhancement: False branches are displayed as comments. 2023-08-17 13:24:08 +08:00
Roy Qu d720421830 - enhancement: Better layout for compiler options page. 2023-08-15 11:57:32 +08:00
Roy Qu bbdefc4af0 - fix: Can't suggest header filename starting with numbers. 2023-08-14 22:37:34 +08:00
Roy Qu eb1a219de6 - fix: Press up/down arrow key in the option dialog's left panel won't switch page. 2023-08-13 23:26:31 +08:00
Roy Qu acc1fbd4aa support compile sdcc file 2023-08-13 18:58:04 +08:00
Roy Qu 707358817c - enhancement: Autowrap tool output text. 2023-08-13 15:41:17 +08:00
Roy Qu d2b0653504 - enhancement: Autowrap tool output text. 2023-08-13 15:10:33 +08:00
Roy Qu 738faf0c90 - fix: Crash if close file while auto syntax checking.
- enhancement: support sdcc compiler.
2023-08-13 14:46:53 +08:00
Roy Qu f462d6708d - fix: Crash if close file while auto syntax checking. 2023-08-12 13:51:35 +08:00
Roy Qu 496421e97d - fix: Wrong compiler settings if xcode is not installed in mac os.
- enhancement: Name for new files will not be different from files openned.
2023-08-11 17:09:30 +08:00
Roy Qu 12f4b3ee9c - fix: Wrong compiler settings if xcode is not installed in mac os. 2023-08-11 16:26:03 +08:00
Roy Qu 739f382f46 - change: Remove option "clear all symbols when current editor is hidden".
- fix: When opening multiple files, only the active file should be parsed.
2023-08-11 13:49:09 +08:00
Roy Qu 62f7c0a495 - change: New file created by file template is set as unmodified by default. 2023-08-09 23:01:53 +08:00
Roy Qu 0f7b4b8ce5 - fix: Wrong code suggestion while inputing numbers in assembly files.
- fix: Defines in all files are wrongly cleared when reparsing.
2023-08-09 22:35:25 +08:00
Roy Qu 3a8e434399 - change: Git support is disabled in the distributed buildings. 2023-08-08 14:41:23 +08:00
Roy Qu dfbdf604fb - fix: Filename in the gcc 13.1 error messages when building project is using wrong encoding. 2023-08-08 12:44:46 +08:00
Roy Qu f111433ac5 - fix: Can't parse virtual inherit. 2023-08-08 10:40:59 +08:00
Roy Qu 6a06b5b3d6 - fix: Dummy struct/enum symbols shouldn't be shown in the completion suggestion.
- enhancement: Support optional enum name.
  - enhancement: Support optional enum type.
  - enhancement: Support simple const expression evaluation for enum values.
  - fix: Accessibilty for inherited members are not correct calculated in multiple inheritance.
  - fix: Can't handle full class name when handle inheritance.
2023-08-07 14:23:57 +08:00
Roy Qu dd724e64c2 - enhancement: Show progress dialog if the time for searching compilers is too long. 2023-08-06 00:05:58 +08:00
Roy Qu d3760db7ec - enhancement: Press left/right arrow will move caret to the begin/end of the selection.
- enhancement: Press up/down arrow will move caret up/down from the begin/end of the selection.
2023-08-03 15:11:46 +08:00
Roy Qu 9be257e8e8 - fix: "UTF-8 BOM" can't be correctly loaded as project file's encoding.
- fix: Project file's encoding is not correctly updated after converted manually.
2023-07-31 21:07:45 +08:00
Roy Qu d3a8a57cf5 - fix: Goto definition/declaration may choose wrong symbol is multiple files are opened and symbols have the same name. 2023-07-27 15:44:33 +08:00
Roy Qu 21b4494f3c - fix: english typos. (thanks for sangiye0@github) 2023-07-24 18:38:58 +08:00
Roy Qu 2943226e46 - fix: Code completion doesn't work if "min id length to show completion" is not 1. 2023-07-14 22:01:58 +08:00
Roy Qu cd4284f13d fix: memory view's cell is too wide in linux 2023-07-14 20:37:29 +08:00
Roy Qu 8e6a1872db - fix: members of elements of stl maps are not correctly suggested. 2023-07-14 17:44:14 +08:00
Roy Qu 7b741dfdb9 - enhancement: Don't show "\000" of string values in the debug local variables panel. 2023-07-13 11:01:11 +08:00
Roy Qu ab9524e134 - change: Don't print repeated values in gdb individually 2023-07-13 10:08:01 +08:00
Roy Qu 2e4de7db07 - fix: Autoindent for "{" is not correct. 2023-07-12 17:13:56 +08:00
Roy Qu d629a496ff - fix: Shouldn't auto indent lines starts with "\\".
- enhancement: When problem case's expected output is not too large (<= 5000 line), highlight text in the first different line in the expected output.
  - enhancement: Highlight text in the first different line using the error color.
  - enhancement: Add the option "redirect stderr to the Tools output panel" in the options dialog -> executor -> problem set page.
2023-07-12 12:08:26 +08:00
Roy Qu 45c191bae4 - enhancement: correctly highlight multiline string literals that has empty lines. 2023-07-11 21:02:40 +08:00
Roy Qu 7ad6a64150 - fix: "Toggle breakpoint " in the editor gutter's context menu doesn't work.
- fix: Click editor's gutter won't toggle breakpoint in KDE debian 12
2023-07-08 19:47:48 +08:00
Roy Qu 7f3b45391e - enhancement: Auto insert spaces between #include and <> when reformat
- enhancement: Auto insert spaces between #include and "" when reformat
2023-07-07 22:35:16 +08:00
Roy Qu 55353859d0 - enhancement: Auto insert spaces between #include and <> when reformat
- enhancement: Auto insert spaces between #include and "" when reformat
2023-07-07 22:33:48 +08:00
Roy Qu 4f23c35808 - enhancement: Correctly reformat C++ three-way comparision operator "<=>" 2023-07-06 20:41:54 +08:00
Roy Qu 595156e80f - enhancement: Folder mode in "File in files" dialog.
- enhancement: When open a file, test if it contains binary contains.
2023-07-05 15:02:39 +08:00
Roy Qu eccdf68a60 - fix: Tips for problem is not correctly displayed. 2023-07-05 11:21:20 +08:00
Roy Qu 56f03a52d5 - fix: Keyword asm is not correctly parsed. 2023-07-05 09:01:38 +08:00
Roy Qu b65ad80235 - enhancement: Sort symbols by their declaration pos in the Class Browser, if not sort by alpha order. 2023-07-04 23:21:42 +08:00
Roy Qu bd768552c0 - fix: Inherited class/struct members are not correctly shown in the completion suggestions. 2023-07-04 20:10:08 +08:00
Roy Qu 70edbf7054 - fix: GLFW project template. 2023-07-04 08:30:04 +08:00
Roy Qu b571e5f535 - enhancement: Show code completion suggestion after "typedef" and "const". 2023-07-03 09:36:27 +08:00
Roy Qu 48e6dbc024 - fix: Replace panel should be hidden after finding occurrencies. 2023-07-02 23:41:32 +08:00
Roy Qu e11a81d3c0 - enhancement: add "OI Wiki" and "turtle graphics tutorial" in help menu for zh_CN locale.
- change: rename "graphics.h" template to "ege" for zh_CN locale
  - change: update graphics.h/ege template's icon
2023-07-02 11:09:34 +08:00
Roy Qu 362cf5701c - improve: Correctly expands multi-line macros when parsing;
- improve: Correctly eppands macros when real param string contains '(' or  ')'.
2023-07-01 18:06:39 +08:00
Roy Qu 58b92a6360 - fix: crash when source files contains macro definitions like "#define cfun (cfun + 0)" 2023-07-01 13:41:27 +08:00
Roy Qu 88b592f829 - fix: crash when parsing files containing inline assembly code. 2023-06-30 11:52:01 +08:00
Roy Qu e5e322dea4 - enhancement: correctly highlight multiline raw string literals.
- change: remove "Assembly" color scheme item (it's not used anymore).
2023-06-30 10:53:58 +08:00
Roy Qu d71cd7e7dc - fix: "typedef struct" that don't have definition of the struct is not correctly parsed. 2023-06-29 21:31:30 +08:00
Roy Qu dce377d6d2 update NEWS.md 2023-06-29 00:29:29 +08:00
Roy Qu 9dd654cc48 - enhancement: When deleteing files in the files view, try moving to the trash bin instead.
- fix: GNU assembly files (.s) are not shown in the files view.
2023-06-29 00:27:06 +08:00
Roy Qu 0e1decad65 check windows version and decide if the debug info in the executable files is utf8 encoded. 2023-06-27 11:50:43 +08:00
Roy Qu b85b70bb4b - fix: Can't copy by ctrl+dray&drop to current selection's begin/end 2023-06-26 09:00:08 +08:00
Roy Qu 4070362cdc - enhancement: improve parsing result for function parameters like 'Node (&node)[10]' 2023-06-21 19:30:02 +08:00
Roy Qu 35b986a358 - enhancement: improve code completion for std iterators defined with "using namespace std" 2023-06-20 21:07:26 +08:00
Roy Qu 9e7d82fc52 work save 2023-06-20 10:58:14 +08:00
Roy Qu be8a5610a4 - fix: Use "/" as path seperator when starting app by double clicking c/c++ files in the explorer. 2023-06-16 17:57:24 +08:00
Roy Qu 5e78c0aa62 - fix: Goto definition/Goto declaration/Info tips can't be correctly triggered when mouse pointer is at the last half character of current word. 2023-06-15 16:40:47 +08:00
Roy Qu dfed4accf6 - enhancement: Tooltip support for '->' operator on std iterators.
- enhancement: Close other editors.
2023-06-13 17:16:09 +08:00
Roy Qu 4746d1b63c - enhancement: Code completion for '->' operator on std iterators. 2023-06-08 17:15:55 +08:00
Roy Qu 36cb8b7867 - fix: When selection is availalbe, Ctrl+Click shouldn't jump to declaration/definition. 2023-06-07 20:41:35 +08:00
Roy Qu e2f25d063f - fix: Typedef and using alias is not correctly handled in expression evaluation. 2023-05-31 20:06:52 +08:00
Roy Qu 72189f0a94 - enhancement: Add various menu items for cursor actions using Home/End/Page Up/Page Down keys.
- enhancement: Filter names in the shortcut config page of options dialog.
2023-05-31 08:52:59 +08:00
Roy Qu 89cc44bcf6 - enhancement: support -std=c++2d gcc parameter
- fix: vertice shader(.vs) and fragment shader(.fs) files can't be openned by double click in the project browser.
2023-05-30 11:33:41 +08:00
Roy Qu 11bceaf972 - enhancement: support function arguments like "int (&t)[]"
- change: Don't show error dialog when bookmark/debug configuration json files are empty.
2023-05-29 10:52:17 +08:00
Roy Qu 774d4193b5 - enhancement: support function arguments like "int (&t)[]" 2023-05-29 10:14:44 +08:00
Roy Qu e44b2999e1 - enhancement: show completion for return type of lambda expressions. 2023-05-26 08:55:21 +08:00
Roy Qu 3440b08d8d - enhancement: ignore '__extension__' when parsing C/C++ codes. 2023-05-25 18:19:18 +08:00
Roy Qu c304f3f8a0 - fix: lambda expression is not correctly handled. 2023-05-24 17:02:59 +08:00
Roy Qu 19a85db1f9 - fix: '^' is not correctly handled as operator. 2023-05-24 13:42:46 +08:00
Roy Qu 7e3ee41546 - fix: foreach-loops are not correctly parsed. 2023-05-14 15:57:07 +08:00
Roy Qu 2114206e76 - fix: Double-clicking on touchpad can't select current word. 2023-05-11 21:59:57 +08:00
Roy Qu 6736524380 - fix: Crash at startup when current problem in the problem set is connected with source file. 2023-05-03 12:55:19 +08:00
Roy Qu 61f4b84b13 - fix: Error message when save bookmarks. 2023-04-24 20:04:10 +08:00
Roy Qu c066919e2e - enhancement: Just keeping two digits after the decimal point for file size in the file properties dialog. 2023-04-19 18:07:19 +08:00
Roy Qu aded956ca8 - enhancement: Auto skip ; and , when input. 2023-04-18 18:05:27 +08:00
Roy Qu ba218fb8b8 - fix: Horizontal scroll by touchpad is inversed. 2023-04-13 21:50:53 +08:00
Roy Qu 98989f34c1 - fix: Horizontal scroll with touchpad is not working. 2023-04-13 20:05:28 +08:00
Roy Qu 2532a1dcdb - fix: Project makefile generated for C files is not correct. 2023-04-13 10:21:44 +08:00
Roy Qu 8deb40f9f5 - change: The option "Check for stack smashing attacks (-fstack-protector)" is turned off by default in the Debug compiler set settings. 2023-04-07 09:55:35 +08:00
Roy Qu 7bc4365573 - change: Remove the compiler set option "Syntax error when object larger than" 2023-04-04 08:27:22 +08:00
Roy Qu d8f9cef762 - enhancement: Open project's option dialog instead of the option dialog, when click the compiler set settings button in the toolbar and the current editor is for project.
- enhancement: Reset project compile options when change compiler set in the project options dialog.
2023-04-03 09:39:45 +08:00
Roy Qu 799ce52460 - enhancement: Refine suggestion info when try debug and the compiler settings are not correct.
- enhancement: Open the options dialog/project options dialog when user want to correct compiler settings for debug.
2023-04-02 22:53:02 +08:00
Roy Qu 63be630a16 - fix: Octal numeric escape sequences is not correctly syntax highlighted. 2023-04-01 16:50:55 +08:00
Roy Qu 68caa885bb - change: Default max function frame size is 2MB under windows / 8MB others. 2023-04-01 11:41:46 +08:00
Roy Qu 90c8d27307 - fix: File/Project visit histories are not correctly saved when clearing. 2023-03-31 19:41:52 +08:00
Roy Qu 7a64538982 - change: Change compiler set option "Syntax error when object larger than" to "Syntax error when function frame larger than"
- fix: Projects created by some templates are not correct when editor's default encoding is not utf8.
2023-03-31 17:39:08 +08:00