Commit Graph

47 Commits

Author SHA1 Message Date
Roy Qu 7593f3fe64 refactor: make qmutex mutable 2024-05-28 19:01:18 +08:00
Cyano Hao 8b80e2a77d
remove pre-Qt 5.15 stuff (#405) 2024-04-28 16:46:01 +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 fd062e2f34 refactor: rename FileIncludes to ParsedFileInfo 2024-04-06 17:45:02 +08:00
Roy Qu 648e555fc5 refactor: enum to enum class 2024-04-03 10:37:29 +08:00
Roy Qu 09a61c4c32 support lambda expression captures. 2024-03-23 09:03:20 +08:00
Roy Qu 14ba74e705 - fix: Processing for #if/#elif/#else is not correct. 2023-10-01 10:45:43 +08:00
Roy Qu d1214e3d63 fix: Value of noname enum members are not shown in the class browser. 2023-08-07 14:42:42 +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 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 de406de236 refactor : member accessibility processing in the parser 2023-03-12 18:24:58 +08:00
Roy Qu 25d0f5b782 - fix: Can't parse enum values.
- fix: Can't correctly show enum values in the class browser.
  - fix: Can't correctly create project, if template's encoding setting is not valid.
  - enhancement: Add "embed assembly" template.
2023-02-15 16:24:24 +08:00
Roy Qu a9c266c39a clean up code 2022-11-16 10:29:20 +08:00
Roy Qu 052f4610ee - fix: crash when alt+mouse drag selection 2022-11-10 09:05:34 +08:00
Roy Qu 6fe1df8e6e - fix: Can't goto definition of classes and namespaces displayed in the class browser on whole project mode. 2022-11-08 08:24:44 +08:00
Roy Qu fba7bd953c - fix: Contents in class browser not correctly updated when close the last editor for project.
- fix: When all editors closed, switch browser mode dosen't correct update the class browser;

  - stream line codes for project parser and  close browser
2022-11-07 11:24:23 +08:00
Roy Qu ab9aa75d1f work save 2022-11-01 09:02:17 +08:00
Roy Qu fcb64a69af - fix: info not correctly update when open an editor 2022-10-24 10:58:30 +08:00
Roy Qu aa6951c2ca - fix: class browser not correctly displayed when "whole project" is checked 2022-10-23 23:24:26 +08:00
Roy Qu e13217a395 - fix: headers included by project files not correctly analyzed
- fix: class members not correctly displayed in the class browser
 - fix: when project is opened with no file opened, class browser not correctly updated
2022-10-23 21:42:11 +08:00
Roy Qu b4deb9299b - enhancement: keep current position in the class browser after contents modified 2022-10-23 16:31:05 +08:00
Roy Qu 471b3d6f26 - fix: namespace members defined in multiple places not correctly merged in the class browser
- fix: correctly display statements whose parent is not in the current file
  - fix: statements is the class browser is correctly sorted
  - enhancement: Weither double click on the class browser should goto definition/declaration,  depends on the current cursor position
2022-10-23 15:22:26 +08:00
Roy Qu 895a927ee0 - fix: select all shouldn't set file's modified flag
- enhancement: add (return)type info for functions/varaibles/typedefs in the class browser panel
2022-06-23 13:05:10 +08:00
Roy Qu 81f4d98d5f minor fix 2022-04-25 12:43:23 +08:00
Roy Qu 771ccec745 - enhancement: code completion ui redesigned 2022-01-27 20:31:44 +08:00
Roy Qu bb6a4ed9c8 qt 5.12 compatibility 2022-01-04 16:50:54 +08:00
royqh1979@gmail.com 317db42876 add license information 2021-12-26 23:18:28 +08:00
Roy Qu b5a450312a - refactor: icon manager
- work save: icons in the dialogs
2021-12-23 00:24:52 +08:00
Roy Qu a806fe9389 - enhancement: use svg icons for class browser 2021-12-21 07:38:49 +08:00
royqh1979 fcb8151493 class browser use editor's background color 2021-11-04 00:57:43 +08:00
royqh1979 9638cbdd3f - enhancement: can use symbols' own foreground color to draw selection or the current line
- enhancement: can use different colors to highlight the current word and the selections
 - enhancement: can set editor's default background / foreground color. They must be setted to make the custom color schemes correctly.
 - enhancement: can set the color for the current line's number in the gutter
 - all predefined color schemes updated.
2021-11-03 23:27:05 +08:00
royqh1979 d297faf3af - add: "C Reference" in the help menu
- fix: Custom editor colors shouldn't be tested for high contrast with the default background color
 - fix: Custom color settings not correctly displayed in the options widget
 - enhancement: add hit counts in the search result view
 - fix: editor actions' state not correctly updated after close editors.
2021-11-02 23:47:51 +08:00
royqh1979 4eec185ac4 - enhancement: correctly handle auto indents for statement span many lines;
- enhancment: only use colors have good contrasts with the background in the class browser and code completion suggestion window
2021-10-31 00:08:20 +08:00
royqh1979 5c9ef2035e clean up compile warnings 2021-10-20 18:05:43 +08:00
royqh1979@gmail.com 8599190d13 - fix: font styles in the color scheme settings not in effect 2021-10-10 21:23:25 +08:00
royqh1979@gmail.com 2d393cb509 - enhancement: more charset selection in the edit menu
- fix: can't correctly get system default encoding name when save file
 - fix: Tokenizer can't correctly handle array parameters
 - fix: debug actions enabled states not correct updated when processing debug mouse tooltips
2021-09-28 22:26:12 +08:00
royqh1979@gmail.com 22acab0950 fix : header file completion stop work when input '.' 2021-09-27 00:52:25 +08:00
royqh1979@gmail.com 6ec3cfbfca fix: enum values no correctly displayed 2021-09-26 19:40:52 +08:00
royqh1979@gmail.com 1d2357c374 class browser done 2021-09-26 16:25:17 +08:00
royqh1979@gmail.com 36fa23634d class browser icons 2021-09-26 12:19:46 +08:00
royqh1979@gmail.com 3a6097c40f class browser color ok 2021-09-25 23:12:36 +08:00
royqh1979@gmail.com 85e9b4d697 work save: open project 2021-09-11 18:42:49 +08:00
royqh1979@gmail.com 60a4e8c468 work save 2021-08-23 17:27:17 +08:00
royqh1979@gmail.com 5bcb19805e work save 2021-08-23 11:09:59 +08:00
royqh1979@gmail.com efef9c35f4 work save 2021-08-23 10:16:06 +08:00
royqh1979@gmail.com 13b4b9804c work save 2021-08-23 03:47:28 +08:00