Commit Graph

1317 Commits

Author SHA1 Message Date
Roy Qu 6ba6030af7 work save: CppPreprocessor clean 2022-10-22 10:44:10 +08:00
Roy Qu 921a6b41c5 clean up CppPreprocessor::addDefinesInFile 2022-10-22 10:19:47 +08:00
Roy Qu 51d0f2c2aa clean up code 2022-10-22 08:46:27 +08:00
Roy Qu 8378857157 fix: crash when close editor 2022-10-21 21:20:02 +08:00
Roy Qu aadc8fd0f2 fix: crash when close editor that have issues 2022-10-21 19:12:18 +08:00
Roy Qu 1301168135 - change: add/remove/new project file won't save all openned project files.
- fix: save all project files shouldn't trigger syntax check in inactive editors
2022-10-21 12:43:02 +08:00
Roy Qu 93ce54d688 remove debug info 2022-10-21 09:58:19 +08:00
Roy Qu 382ffffdc8 minor fix: uninitialized variable 2022-10-21 09:56:14 +08:00
Roy Qu 8e771bd322 minor change 2022-10-21 09:07:32 +08:00
Roy Qu 351c728cf0 minor change 2022-10-19 19:43:48 +08:00
Roy Qu acbe5a1c94 fix gcc / clang link problem 2022-10-19 19:07:01 +08:00
Roy Qu ab6feb1758 minor fix 2022-10-19 10:37:30 +08:00
Roy Qu 17bcac80fd fix: can't link in qt creator / debian 11 2022-10-19 09:49:09 +08:00
Roy Qu f0874217b0 minor fix 2022-10-19 01:23:55 +00:00
Roy Qu 4caeeb3a78 compatibility for qt 5.12 2022-10-19 00:55:59 +00:00
Roy Qu eed7fdcf56 fix: click a non-existing header name will get an error 2022-10-18 23:22:29 +08:00
Roy Qu 29da40bb14 - fix: toggle block comment/delete to word begin/delete to word end are not correctly disabled when editor not open 2022-10-18 19:09:46 +08:00
Roy Qu 0c305272c0 clean up code 2022-10-18 12:46:51 +08:00
Roy Qu a62910e1a3 - fix: editor tooltip for #include_next is not correctly calculated
- fix: ctrl+click on #include_next header name doesn't open the right file
  - enhancement: parser used for non-project C files won't find header files in C++ include folders.
2022-10-18 12:24:59 +08:00
Roy Qu 3509c25fc8 - enhancement: delete a watch expression don't reload who watch var view
- enhancement: auto save/restore debug panel's current tab
  - fix: correctly restore left(explorer) panel's current tab
  - enhancement: auto close non-modified new editor after file/project openned;
  - fix: project files openned by double click in bookmark/breakpoint panel may cause app crash when closed.
  - fix: When open a project that's already openned, shouldn't close it.
  - enhancement: When open a project, let user choose weither open it in new window or replace the already openned project
2022-10-17 23:23:05 +08:00
Roy Qu 984d10eaf1 - enhancement: project and non-project files use different breakpoint and watchvar view (auto switch when not debugging and editor switched)
- enhancement: save project's breakpoint and watchvar in it's own debug file.
  - enhancement: delete a watch expression don't reload who watch var view
2022-10-16 23:10:57 +08:00
Roy Qu 7883397409 - enhancement: set compilation stage in the options / compiler set pages
- enhancement: set custom compilation output suffix in the options / compiler set pages
2022-10-12 19:48:35 +08:00
Roy Qu 5f0371cb5b - enhancement: add option "max undo memory usage" in the options / editor / misc page 2022-10-11 22:33:09 +08:00
Roy Qu 975d90c8f1 - enhancement: save project's bookmark in it's own bookmark file
- enhancement: project and non-project files use different bookmark view (auto switch when switch editors)
  - enhancement: auto merge when save bookmarks.
2022-10-11 21:51:33 +08:00
Roy Qu f67628863f - fix: minor memory leaks when set itemmodels
- fix: thread for parsing doesn't correctly released when parsing finished ( so and the parser)
2022-10-10 18:05:18 +08:00
Roy Qu 39c56aeff2 - change: clear tools output panel when start to compile
- change: don't show syntax check messages in the tools output panel
2022-10-10 07:11:59 +08:00
Roy Qu 25ac4d5048 refactor: open/create project
refactor: save/load project layout
2022-10-09 22:19:18 +08:00
Roy Qu 1e5a130def - fix: gliches in UI's left panel in some OS
- fix: correctly restore project layout when reopen it
  - fix: correctly handle rename unit
  - refactor: use filename as the primary key for project unit
2022-10-08 23:30:30 +08:00
Roy Qu 70e03abdb1 done: save/load project layout 2022-10-02 23:32:33 +08:00
Roy Qu 4542df6049 done: add/new/remove project unit 2022-10-02 17:23:27 +08:00
Roy Qu 9f39248dbc done: remove unit also remove it's empty parent 2022-10-02 16:25:00 +08:00
Roy Qu 8ca7377cfe done: correctly set parent node for new project unit 2022-10-02 13:29:51 +08:00
Roy Qu e557a31848 refactor project 2022-10-01 08:54:44 +08:00
Roy Qu c1b414d10a - fix: project files that lies in project include folder is wrongly openned in Read-only mode 2022-09-30 17:51:26 +08:00
Roy Qu 58a8b7e6dd - fix: when "cleary symbol table of hidden editors" is turned on, content in the editor reshown is not correctly parsed 2022-09-27 18:53:42 +08:00
Roy Qu d946b9373e refactor: clean up QSynedit 2022-09-27 14:01:38 +08:00
Roy Qu a165efa7cf - fix: astyle.exe can't correctly format files that using non-ascii identifier 2022-09-26 16:17:02 +08:00
Roy Qu 70bf0c9eb7 fix: build error under linux 2022-09-26 15:10:31 +08:00
Roy Qu ebf78dbecb work done: make qsynedit a standalone module 2022-09-26 14:54:28 +08:00
Roy Qu 15bbf15d38 work save 2022-09-26 12:01:45 +08:00
Roy Qu 51a3b5bb82 work save 2022-09-26 11:18:43 +08:00
Roy Qu 71a728a868 work save 2022-09-25 17:43:31 +08:00
Roy Qu 6f4b24c753 work save 2022-09-25 16:07:52 +08:00
Roy Qu 00ea7ee773 create QSynedit namespace 2022-09-25 09:55:18 +08:00
Roy Qu 40cae133ba - fix: the project compiler options is not correctly read when open old dev-c++ project 2022-09-24 21:24:58 +08:00
Roy Qu 9b09b4263f - fix: crash when create non C/C++ source file in project
- fix: can't open text project file in the editor
  - change: when create non-text project file, don't auto open it
2022-09-23 10:27:44 +08:00
Roy Qu 5ba802c0ee - fix: "Encode in UTF-8" is not correctly checked, when the editor is openned using UTF-8 encoding. 2022-09-21 09:31:01 +08:00
Roy Qu 8474ae6b8f - fix: the size of horizontal caret is wrong 2022-09-07 15:08:31 +08:00
Roy Qu 6d40857fb9 minor fix 2022-09-04 10:09:48 +08:00
Roy Qu 6ff83d602c - enhancement: change orders of the problems in the problem set panel by drag&drop
- enhancement: change orders of the problem cases in the problem panel by drag&drop
2022-09-03 20:18:32 +08:00