Roy Qu
4afe1f4315
- change: rename "file" Menu -> "New Source File" to "New File"
2022-10-30 19:27:29 +08:00
Roy Qu
01c1e96aeb
- change: Don't turn on "Show some more warnings (-Wextra)" option by default for DEBUG compiler set
...
- fix: Changes mainwindows's compiler set combobox not correctly handled for project
- change: Don't localize autogenerated name for new files and new project (new msys2 gcc compiler can't correctly handle non-ascii chars in filenames)
2022-10-30 11:58:42 +08:00
Roy Qu
819d217708
- change: Don't turn on "Show some more warnings (-Wextra)" option by default for DEBUG compiler set
2022-10-29 20:51:31 +08:00
Roy Qu
b9aceb420b
- fix: Before run a project's executable, we should check timestamp for project files AND modification states of files openned in editor.
2022-10-29 18:19:45 +08:00
Roy Qu
3112cb03d4
linux compatibility
2022-10-29 09:29:51 +00:00
Roy Qu
0fb49389fa
Merge branch 'master' of github.com:royqh1979/RedPanda-CPP
2022-10-29 17:22:14 +08:00
Roy Qu
0c1402a386
- change: remove "Optimize for the following machine" and "Optimize less, while maintaining full compatibility" options in the compiler setting panel, which are obseleted.
...
- change: escape spaces in the executabe path under linux.
2022-10-29 17:21:38 +08:00
Roy Qu
662990e997
fix linux compatibility
2022-10-28 08:40:46 +00:00
Roy Qu
054a99b690
msvc compatibility
2022-10-28 16:34:26 +08:00
Roy Qu
e987959551
- add default autolink for fmtlib in Windows
...
- reduce size of the executable of win-git-askpass tool
- fix: memory size not correctly calculated when check if share parser.
- fix: c/c++ file use different parser for share.
2022-10-28 12:43:47 +08:00
Roy Qu
2ce732cfa5
C/C++ use differnet parser
2022-10-28 09:47:34 +08:00
Roy Qu
833be397b0
- enhancement: add "editors share one code parser" in "options" / "editor" / "code completion", to reduce memory usage.
...
Turned off by default on PCs with memory > 4G; Force turned on PCs with memory < 1G.
- enhancement: add "goto block start"/"goto block end" in "Code" menu
2022-10-27 15:18:57 +08:00
Roy Qu
0018ed5d7d
- editors that not in the editing panel shouldn't trigger switch breakpoint
...
- editors that not in the editing panel shouldn't show context menu
2022-10-27 07:42:05 +08:00
Roy Qu
798607fba0
- fix: editors that not in the editing panel should not be syntax checked/ todo parsed/ code analyzed
...
- fix: editors that not in the editing panel should not trigger breakpoint/bookmark/watch switch
2022-10-26 22:39:40 +08:00
Roy Qu
04e11dbc3b
- fix: selection's position not correctly set after input a char / insert string (and causes error under OVERWRITE mode)
2022-10-26 19:40:34 +08:00
Roy Qu
3ea32031af
update NEWS.md
2022-10-26 16:26:13 +08:00
Roy Qu
5bd8fedb2b
- fix: Correctly set file's real encoding to ASCII after saving
2022-10-26 16:23:34 +08:00
Roy Qu
fde8a868fa
- enhancement: auto sort TODO items
2022-10-26 11:10:56 +08:00
Roy Qu
da2a7549f1
- fix: Encoding info in the status bar not correctly updated when save a new file
2022-10-26 09:33:45 +08:00
Roy Qu
6bf443d3d8
- fix: Restore project's original compiler set if user choose 'No' in the confirm project compiler set change dialog.
2022-10-26 08:45:18 +08:00
Roy Qu
3cbd323f97
fix: syntax check issues for new file not correctly parsed
2022-10-26 08:12:00 +08:00
Roy Qu
b4fbcbddb0
- enhancement: when create a new folder in the files view, auto select that folder and rename it
2022-10-25 22:10:38 +08:00
Roy Qu
4380470cef
- enhancement: when create a new folder in the files view, auto select that folder and rename it
...
- enhancement: when new header in the project view, auto select basename in the filename dialog
- enhancement: when add file in the project view, auto select basename in the filename dialog
- change: Don't generate localized filename when new header/add file in the project view
2022-10-25 21:49:35 +08:00
Roy Qu
5edcad104e
- enhancement: before run a project'executable, check if there's project file newer than the executable
2022-10-25 19:09:46 +08:00
Roy Qu
3f74a5fd10
- fix: rules for obj missed in the makefile generated for project
2022-10-25 17:38:37 +08:00
Roy Qu
cab0c8ca24
- enhancement: add "auto reformat when saving codes" in "Options" / "Editor" / "Misc" (off by default)
...
- enhancement: use "todo" and "fixme" as the keyword for TODO comments
2022-10-25 10:13:51 +08:00
Roy Qu
b958cdc00c
- enhancement: when closing project, prevent all editors that belongs to the project check syntax and parse todos.
2022-10-24 22:53:46 +08:00
Roy Qu
f20a979885
fix : issues tab hidden
2022-10-24 20:06:12 +08:00
Roy Qu
2e7391d870
- enhancement: auto locate current open file in the project view panel
2022-10-24 20:01:46 +08:00
Roy Qu
2417998ca0
update translations
2022-10-24 19:36:14 +08:00
Roy Qu
55b63a4f95
- enhancement: refresh project view for git status won't redraw project structure
...
- enhancement: auto save project options after the compilerset option for project resetted
- enhancement: "." and ".." in paths of issues not correctly handled
- enhancement: auto locate the last opened file in the project view after project creation
- enhancement: separate compiler's language standard option for C / C++
- fix: compiler settings not correctly handled when create makefile
2022-10-24 19:23:43 +08:00
Roy Qu
6d2ce9035d
- reduce memory usage when deciding file types
...
- enhancement: refresh project view for git status won't redraw project structure
- enhancement: auto save project options after the compilerset option for project resetted
- enhancement: "." and ".." in paths of issues not correctly handled
2022-10-24 17:23:37 +08:00
Roy Qu
0d45cca2a5
- enhancement: reduce memory usage when deciding file type
2022-10-24 12:51:50 +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
09c7b5e791
fix: "." and ".." in included header paths not correctly handled
2022-10-23 23:06:55 +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
a42ec4e253
fix: crash when create project
2022-10-23 18:39:15 +08:00
Roy Qu
f348f0782a
- enhancement: keep current position in the class browser after contents modified
2022-10-23 16:43:26 +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
012628aef3
- fix: editor & class browser not correct updated when editor is switched but not focused
...
- fix: when invalidating a c/c++ source file, statements that not declared in it are wrongly removed.
2022-10-23 10:40:00 +08:00
Roy Qu
d38d986aef
clear debug output
2022-10-23 00:40:25 +08:00
Roy Qu
be0c9ad4f5
- fix: save/load bookmark doesn't work
2022-10-23 00:39:24 +08:00
Roy Qu
e8300abd65
- redesign the project parser, more efficient and correct
...
- enhancement: todo parser for project
2022-10-22 23:29:12 +08:00
Roy Qu
f0bdfed9b4
clean up code
2022-10-22 22:38:31 +08:00
Roy Qu
74b250c9d2
work save
2022-10-22 22:10:35 +08:00
Roy Qu
d1d68758aa
work done: refactor cpp parser for project
2022-10-22 19:33:20 +08:00
Roy Qu
dbf34548d8
work save: clean up CppPreprocessor clear & reset
2022-10-22 10:59:39 +08:00
Roy Qu
6ba6030af7
work save: CppPreprocessor clean
2022-10-22 10:44:10 +08:00