Roy Qu
3ede3e4ce6
- change: Remove all breakpoints of the current non-project file, when it is closed.
2023-02-21 15:43:45 +08:00
Roy Qu
457e84f86a
- Enhancement: Correctly init panel sizes when first run.
2023-02-21 09:47:59 +08:00
Roy Qu
fcca49e9e5
- fix: Can't debug when debug a file while other file has breakpoints
...
- change: Don't save breakpoints for non-project files
2023-02-21 09:34:40 +08:00
Roy Qu
60db5a894b
- Enhancement: Support C11 ano
2023-02-20 17:52:42 +08:00
Roy Qu
5bd1d92d53
remove no use code
2023-02-20 16:37:58 +08:00
Roy Qu
242f8a742e
- Enhancement: Disable reformat code for non-C/C++ files.
2023-02-18 22:09:14 +08:00
Roy Qu
57c4c5bc98
- fix: Only C/C++/GAS files can set breakpoints.
...
- Enhancement: Don't show breakpoints/watch related menuitems in context menu for non-C/C++/GAS files.
2023-02-18 16:20:07 +08:00
Roy Qu
96aa836040
- enhancement: Auto create project custom executable folder if not existing.
2023-02-18 12:54:28 +08:00
Roy Qu
24734bfb28
- enhancement: If executable doesn't have symbol table, inform user and stop.
...
- enhancement: If breakpoint is setted but executable doesn't have debug info ,inform user and stop.
- enhancement: If current compiler set has "strip addition infos(-s)" enabled, inform user and stop.
2023-02-18 12:08:03 +08:00
Roy Qu
a91dc12519
- enhancement: Reduce flicker when editing big files.
2023-02-18 07:09:19 +08:00
Roy Qu
f4b239e15d
- enhancement: Greatly reduce time to open/edit big files.
2023-02-17 23:56:13 +08:00
Roy Qu
4b54d3799a
fix: Fold area is not correctly calculated after editing.
2023-02-17 17:33:48 +08:00
Roy Qu
9f036d0d70
- enhancement: Correctly handle high-precision mouse wheel / touchpad in editors.
2023-02-17 16:16:57 +08:00
Roy Qu
dbdf098b94
- enhancement: Limit max speed for mouse scroll (and touch pad?)
2023-02-17 15:33:33 +08:00
Roy Qu
52eb2960ac
- change: Remove "Compile & Run" menu item. It's replaced by "Run".
2023-02-17 09:18:39 +08:00
Roy Qu
a410226f46
Don't confirm recompiler when debug single file
2023-02-17 09:11:52 +08:00
Roy Qu
8254de68c8
- enhancement: Delay for tooltips.
...
- enhancement: "Tool tips delay" option in Options/editor/Tooltips
2023-02-17 09:03:35 +08:00
Roy Qu
3f971b34bb
- enhancement: Improve auto indent for embedding no-brace statements like for-for-if.
2023-02-16 22:27:04 +08:00
Roy Qu
885470782c
- enhancement: Parser not correctly released if save a c file to non-c file.
2023-02-16 18:36:15 +08:00
Roy Qu
da3bcf1c6a
- enhancement: Basic code completion for xmake.lua.
2023-02-16 17:49:55 +08:00
Roy Qu
46dd637770
- enhancement: Syntaxer for lua.
2023-02-16 12:26:35 +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
1b8ff37a60
update translations
2023-02-14 23:55:23 +08:00
Roy Qu
926802a8f5
- change: Don't confirm rebuild/recompile when run/debug.
2023-02-14 23:42:11 +08:00
Roy Qu
1eb7bdf549
fix: editor not parsed when first load
...
fix: TODO is wrongly parsed when new a file (that exists in the current folder)
2023-02-14 09:03:06 +08:00
Roy Qu
a31bc6ef17
more keywords for asm
2023-02-13 21:49:19 +08:00
Roy Qu
08fdeca219
- fix: Can't compile files with chinese characters in filenames using winlibs mingw gcc
2023-02-13 19:21:11 +08:00
Roy Qu
d484c790a2
minor change
2023-02-13 11:14:28 +08:00
Roy Qu
aaae910c59
- change: The default disassemble style of CPU Dialog is "AT&T" now.
2023-02-13 10:24:35 +08:00
Roy Qu
57cbf3a49a
- fix: New non-saved filenames is wrongly saved in the last openfiles list.
...
- fix: File is parsed before editor is fully created.
- enhancement: New GAS File in the File Menu
- change: rename "New File" to "New C/C++ File"
2023-02-12 22:33:34 +08:00
Roy Qu
9976ee248a
- enhancement: If GAS source file has "_start" label, compile it with "-nostartfiles".
2023-02-12 18:15:41 +08:00
Roy Qu
5cc52ea9f9
Merge branch 'master' of github.com:royqh1979/RedPanda-CPP
2023-02-12 18:14:02 +08:00
Roy Qu
02b64497d5
- enhancement: Keyword completion for asm/GAS files.
2023-02-12 18:13:24 +08:00
Roy Qu
382da1d747
add -nostdlib when compile assembler program that has _start
2023-02-12 15:13:04 +08:00
Roy Qu
23d5bb85b6
Linux fix
2023-02-12 14:22:45 +08:00
Roy Qu
0e3441e604
- fix: Crash when debug project that has nasm files.
...
- enhancement: Generate debug info for nasm files in Linux/MacOS.
- enhancement: Compile/Run/Debug GAS source files.
- enhancement: Compile/Debug GAS source files in project.
2023-02-12 12:53:14 +08:00
Roy Qu
ff86213aee
- fix: Confirm if recompile, when start to debug and project files has modifications.
2023-02-11 11:31:54 +08:00
Roy Qu
7b52eff40d
- enhancement: Code folding for #if/#endif
...
- enhancement: When folding "if", don't fold "else";
2023-02-10 22:27:36 +08:00
Roy Qu
6b4bfc3e64
- fix: Crash when create or open txt files in project.
2023-02-10 19:28:18 +08:00
Roy Qu
78f9aa8b3c
- fix: Can't correctly load project's custom compile options, if it contains more than one line contents.
2023-02-10 09:42:55 +08:00
Roy Qu
f91e35192f
- fix: preprocessors is not correctly suggested.
...
- fix: javadoc-style docstring is not correctly suggested
- enhancement: Better syntax color for asm files.
2023-02-09 21:01:01 +08:00
Roy Qu
cc1e42193d
- enhancement: Add "assembler" tab in the project options dialog's custom compiler parameters.
2023-02-09 16:33:25 +08:00
Roy Qu
0b7761fbc2
- fix: Project parser should not parse non-c/cpp files.
2023-02-09 09:45:09 +08:00
Roy Qu
78ff319a75
- enhancement: Support compile asm files using nasm in the project.
2023-02-08 21:07:41 +08:00
Roy Qu
62737d6716
- fix: Correctly handle files whose name contains spaces in the generated makefile.
...
- fix: Correctly handle custom obj folder in the generated makefile.
2023-02-08 17:32:52 +08:00
Roy Qu
d8f237a10e
- enhancement: Auto reload openned project files that use "Project Default" as the encoding, when the project encoding setting is changed in the project options dialog.
2023-02-08 12:20:20 +08:00
Roy Qu
5d3a933932
- enhancement: Change the way to calculate execution time.
2023-02-07 20:27:31 +08:00
Roy Qu
dd5df6912c
- enhancement: Improve auto indent.
2023-02-07 19:05:39 +08:00
Roy Qu
79ed9573d6
- fix: Respect encoding "Project default" when search/find occurrencies/open project units.
...
- enhancement: Show progress dialog when search/find occurrencies in large projects.
2023-02-07 10:46:06 +08:00
Roy Qu
32a29540bd
fix: correctly handle "::" in using, using namespace and typedef
2023-02-06 20:32:29 +08:00
Roy Qu
377a2c8ba8
remove debug info
2023-02-06 19:43:09 +08:00
Roy Qu
1b15f3eb1d
- fix: Parser can't correctly differentiate function and var initialization.
2023-02-06 19:37:01 +08:00
Roy Qu
6081054f89
fix: Don't expose functions who's parent can't be found in the global scope.
2023-02-06 16:50:24 +08:00
Roy Qu
4fc3900796
- enhancement: Improve parsing for operator overloading.
2023-02-06 14:04:38 +08:00
Roy Qu
7085318197
- enhancement: Auto suggest keyword "operator" when define functions.
...
- fix: Differentiate class and constructors.
2023-02-05 21:55:23 +08:00
Roy Qu
ca5916a4b1
- fix: Can't correctly handle definitions for "operator,"
2023-02-05 20:36:10 +08:00
Roy Qu
79bf453c6c
- enhancement: Pause autosave timer when autosave new files.
2023-01-26 11:33:27 +08:00
Roy Qu
7b13d3a519
- enhancement: Pause autosave timer when autosave new files.
2023-01-26 11:23:24 +08:00
Roy Qu
629a90d521
- enhancement: Simplified chinese translations for encoding names.
...
- fix: Crash when there are preprocessing directives like '#if 0/0' or '#if 0%0'
2023-01-26 11:07:46 +08:00
Roy Qu
48788a189b
- enhancement: Simplified chinese translations for encoding names.
2023-01-25 10:51:59 +08:00
Roy Qu
35e3c9af8d
- fix: Can't correctly set project file's encoding back to 'UTF-8'/'ANSI' in the project options dialog/files setting page.
2023-01-25 10:28:55 +08:00
Roy Qu
0ccec06f33
add project encoding
2023-01-24 11:31:30 +08:00
Roy Qu
1f491fccfd
- fix: Settings in Options/Tools/General is messed up when switching items in the list.
...
- fix: Infos in the status bar not correctly updated when editor closed.
- change: Project's encoding shouldn't be set to "auto detect"
2023-01-24 10:21:19 +08:00
Roy Qu
4a941b63b4
- fix: Settings in Options/Tools/General is messed up when switching items in the list.
2023-01-24 09:17:27 +08:00
Roy Qu
580a88721f
- enhancement: Set lldb-mi as the debugger program for clang, when finding compiler set in folders and gdb doesn't exist.
2023-01-23 19:34:09 +08:00
Roy Qu
7d2920198e
- enhancement: Use lldb-mi as the debugger.
...
- enhancement: Set lldb-mi as the debugger program for clang, when finding compiler set in folders.
2023-01-22 22:19:19 +08:00
Roy Qu
c5331f0597
- enhancement: If there is "cppreference.chm" or "cppreference-%locale_name%.chm"(like cppreference-zh_CN.chm) in the redpanda C++'s app folder, open it instead of the cppreference website.
2023-01-20 12:17:04 +08:00
Roy Qu
22e1339b1a
- enhancement: Confirm before remove a compiler set.
2023-01-20 00:08:16 +08:00
Roy Qu
b0be83b006
- fix: If buttons in the options dialog / compiler / compiler set page is pressed, they won't release.
2023-01-19 23:58:56 +08:00
Roy Qu
1c8ba68b78
remove debug info
2023-01-19 20:08:22 +08:00
Roy Qu
c77a25f109
- enhancement: Save project files' real encoding;
...
- enhancement: Use project files' real encoding information when generating the makefile.
2023-01-19 20:04:05 +08:00
Roy Qu
4456772fa7
- enhancement: Code Completion now respect compiler set's language standard settings.
2023-01-19 11:08:32 +08:00
Roy Qu
8603fa10ee
- enhancement: Add "Help"/"Submit Iusses".
...
- enhancement: Add "Help"/"Document" for Simplified Chinese users.
2023-01-16 15:42:03 +08:00
Roy Qu
73d527318c
- fix: When restored from minimization, info on statusbar not correctly restored.
...
- enhancement: Changes of "auto backup editing contents" is applied immediately.
- enhancement: Don't create temp backup for readonly files.
2023-01-16 11:35:55 +08:00
Roy Qu
00c19d1f4f
disable save backup
2023-01-15 17:01:54 +08:00
Roy Qu
dbc9a1829c
- fix: Project's file encoding is wrongly set to 'AUTO' when load project.
2023-01-15 15:57:48 +08:00
Roy Qu
0f746957a5
- fix: rename project file will wrongly set it's encoding to 'ASCII';
...
- fix: can't make project
2023-01-15 15:47:08 +08:00
Roy Qu
48446aab02
minor change
2023-01-15 13:54:37 +08:00
Roy Qu
aa62f95cad
- enhancement: Auto backup editing contents. (Save editing contents 3 seconds after input stopped. Auto delete when editor successfully closed)
...
- enhancement: Add "Auto backup editing contents" option in options/editor/auto save
2023-01-15 13:32:33 +08:00
Roy Qu
edeb47d2c2
Let user choose if continue to save, if backup file creation failed.
2023-01-15 09:43:54 +08:00
Roy Qu
ac20a2c458
- enhancement: Create a temporary copy of the current file when saving files (it's removed after the saving sucessfully finished).
2023-01-14 22:52:04 +08:00
Roy Qu
6072944c23
- fix: Save may crash app if the encoding codec is failed to load.
...
- enhancement: support open and save utf-16/utf-32 BOM files. (but gcc can't compile)
2023-01-14 21:51:55 +08:00
Roy Qu
d8fae209c6
- enhancement: set caret to the corresponding line in the editor after "run"/"generate assembly"
...
- fix: syntax highlighting for cpp style line comment is not correct.
2023-01-12 21:58:04 +08:00
Roy Qu
7503f553fc
update version to 2.9
2023-01-12 17:00:46 +08:00
Roy Qu
ea26548835
- enhancement: Add "Open files in editor" in the search panel
...
- enhancement: Auto disable the "in project" option in the "search in files" dialog, if no project is opened.
- enhancement: Auto disable the "search again" button in the search panel if the current search history item is search in the project, and no project is opened.
2023-01-12 16:53:00 +08:00
Roy Qu
93a37a2bc6
rename symbol/batch replace correctly support undo
2023-01-12 13:46:09 +08:00
Roy Qu
bc1b22ad25
- enhancement: Rename symbols won't remove all breakpoints/bookmarks
...
- enhancement: Batch replace won't remove all breakpoints/bookmarks
- enhancement: Execute parameters can be used in debug.
2023-01-12 12:07:22 +08:00
Roy Qu
06a528313d
refactor
2023-01-11 17:06:32 +08:00
Roy Qu
1761c66456
refactor
2023-01-11 16:22:26 +08:00
Roy Qu
abf4a5985f
- fix: In column mode, selection that contain lines with different length will cause error.
2023-01-11 11:05:34 +08:00
Roy Qu
9a5f97cc7a
- fix: Function parameters that is pointer,reference or array can't be correctly parsed.
2023-01-11 09:51:05 +08:00
Roy Qu
5f75fd97cd
- fix: Result of scope calculation not right if a for statement immediately follows another for statement.
2023-01-10 19:08:49 +08:00
Roy Qu
7324475277
- fix: alt+shift+left/right can't select
...
- fix: Input any content will exit column mode.
2023-01-10 16:52:39 +08:00
Roy Qu
d75ffef9bb
- fix: Can't save new file using filename with custom suffix.
2023-01-07 20:29:57 +08:00
Roy Qu
2ab5efc6fe
- fix: "Goto declaration" / "Goto definition" / "Find occurences" not correctly disabled for non-c/c++ files.
2023-01-07 20:04:51 +08:00
Roy Qu
32088a18d0
- change: Disable undo limit by default.
2023-01-06 11:59:21 +08:00
Roy Qu
b01a51ab91
- enhancement: Print current selection can be used in the print dialog.
...
- enhancement: Print syntax colored content.
- enhancement: Correctly handle tab in the exported RTF.
2023-01-06 11:41:04 +08:00
Roy Qu
17160b7c3d
- enhancement: Print current selection can be used in the print dialog.
2023-01-05 18:38:36 +08:00
Roy Qu
89ee9d8914
- fix: Crash when find occurrences in a project that has missing files.
...
rename FileEndType to NewlineType
2023-01-04 11:01:34 +08:00
Roy Qu
4f2fb8f540
- enhancement: Let encoding options in the statusbar more explicit.
...
change FileEndingType names
applySettings shouldn't be called every time show event triggered.
2023-01-04 09:08:58 +08:00
Roy Qu
f179f45cd9
- fix: Restore main window and cpu info window will set wrong font in the cpu info.
2023-01-03 22:34:38 +08:00
Roy Qu
562293c05d
- enhancement: Waiting for syntax parsers to finish before saving files, to prevent data lost caused by syntax parsering crash.
2023-01-03 21:43:45 +08:00
Cyano Hao
375e990e0b
Add more Linux packaging format ( #89 )
...
* Arch Linux packaging; make LIBEXECDIR configurable
* update docs
* resolve libexec and share from relative path
* AppImage packaging
* allow build AppImage on Windows host
2023-01-03 12:18:02 +08:00
Roy Qu
9296877b86
- enhancement: "Toggle readonly" in the Edit menu.
...
- fix: Error When save project units' encoding settings.
2023-01-02 16:50:30 +08:00
Roy Qu
96f9a898d0
- enhancement: "Switch Header/Source" in editor title bar context menu.
2023-01-01 08:32:33 +08:00
Roy Qu
0caaad8436
- fix: Action "Run all problem cases" is triggered twice by one clicked.
2022-12-31 09:36:50 +08:00
Roy Qu
2041f813de
- fix: Can't set project icon to "app.ico" in the project folder, if the project doesn't has icon.
...
- fix: Resource compilation items is missing in the auto generated makefile, if the project's icon is removed and re-added.
2022-12-30 19:48:12 +08:00
Roy Qu
babecbd3bc
change "ConsolePauser.exe" to "consolepauser.exe" in all codes
2022-12-30 09:06:39 +08:00
Roy Qu
dd92cfa6da
- enhancement: "Run" / "Generate Assembly" for project source files
2022-12-28 16:39:18 +08:00
Roy Qu
bcb6069fe3
- fix: Crash while input using input method in makefile
2022-12-28 09:24:54 +08:00
Roy Qu
61a5d9f94f
minor optimization
2022-12-27 14:34:57 +08:00
Roy Qu
a1af733a53
minor optimization
2022-12-27 14:29:49 +08:00
Roy Qu
022f32a95f
minor optimization
2022-12-27 13:26:16 +08:00
Roy Qu
988afaac7a
- enhancement: Add "Resources" in project option's dialog's custom compiler parameter page
2022-12-26 22:55:00 +08:00
Roy Qu
bd4478476d
- fix: Crash when editing makefile
2022-12-26 18:20:26 +08:00
Roy Qu
52ed2b79f7
auto remove a.out generead by tcc
2022-12-25 12:01:51 +08:00
Roy Qu
0af113e2a1
auto remove a.exe generated by tcc
2022-12-25 12:00:09 +08:00
Roy Qu
151e5a6edc
minor change
2022-12-24 12:09:28 +08:00
Roy Qu
84b09fe842
- enhancement: "Convert HTML for - Input" / "Convert HTML for - Expected" in "Options" - "Executor" - "Problem Set"
...
- fix: Unit for memory limit is not correctly loaded when open problem properties dialog.
- enhancement: Auto open the properties dialog, after add a new problem.
2022-12-24 12:08:13 +08:00
Roy Qu
0ce717841b
minor change for new project dialog
2022-12-23 09:52:10 +08:00
Roy Qu
dde47e0226
- fix: Makefile error when "Use precompiled header" is enabled in the project option dialog.
2022-12-22 22:01:55 +08:00
Cyano Hao
7fcd73abfc
Disable Address Sanitizer on non-x86 64-bit Linux ( #87 )
...
* disable ASan on non-x86 64-bit linux
* add "debug with ASan" compiler set
* set default compiler set back to "debug"
* enable ASan compiler for linux only
* default to "debug with ASan" on x86-64 or 32-bit, "debug" for others
2022-12-21 19:35:38 +08:00
Roy Qu
4cb432da74
Improve the layout of the makefile auto generated.
2022-12-21 09:17:27 +08:00
Roy Qu
e232ce77c9
- enhancement: Auto add "lib" to the output of static/dynamic library projects, if project name don't start with "lib".
2022-12-21 09:15:39 +08:00
Roy Qu
892b987894
- enhancement: "Line Spacing" in options / editor / font
...
- enhancement: "Show whitespaces" in options / editor / font
2022-12-20 20:38:02 +08:00
Roy Qu
ed89690f7a
- fix: Icon size not correct under macOS high DPI / zoom factor settings.
...
- enhancement: "Icon zoom" in options / environment / appearance
2022-12-20 11:01:04 +08:00
Roy Qu
0e9278e98a
qt 5.11 compatibility
2022-12-19 09:35:48 +08:00
Roy Qu
7196413dbc
update translations
2022-12-19 09:06:40 +08:00
Roy Qu
b499a1ab44
translation
2022-12-19 08:51:53 +08:00
Roy Qu
ea924d8742
update translations
2022-12-19 08:50:40 +08:00
Roy Qu
3eb393c5b7
add translations
2022-12-19 08:48:17 +08:00
Roy Qu
1da2961970
- fix: Project's "static link" option is overwrited by global compiler set settings, when project options dialog is opened.
2022-12-18 12:31:19 +08:00
Roy Qu
fc07b4dcd4
- enhancement: Don't add "-g3" option when generate assembely.
...
- enhancement: Generate assembly is not correctly disabled when current file is not C/C++.
2022-12-17 17:20:33 +08:00
Roy Qu
efc7af7f46
- enhancement: Run all cases button not correct disabled when no case exits.
2022-12-17 13:40:13 +08:00
Roy Qu
4b9e51a925
refactor: tool buttons for problem & cases
2022-12-17 13:34:11 +08:00
Roy Qu
88449a5381
refactor: context menus
...
refactor: tool buttons for problem and problem set
2022-12-17 11:37:33 +08:00
Roy Qu
d2a2002629
fix: Compiler buttons not correctly disabled for non-c/c++ files
2022-12-16 18:31:48 +08:00
Roy Qu
68f4dcec3f
fix: compile buttons not correctly disabled when no file opening.
2022-12-16 18:27:10 +08:00
Roy Qu
07f6b975f1
fix: auto find compilers failed.
2022-12-16 16:36:59 +08:00
Roy Qu
d60febaac8
- enhancement: Export FPS (free problem set) files.
2022-12-16 15:54:02 +08:00
Roy Qu
f4ca71803f
work save
2022-12-16 14:41:24 +08:00
Roy Qu
492345b939
- enhancement: "Trim trailing spaces" in code menu
...
- change: Don't auto disable compile and debug buttons.
- enhancement: Better error messages for missing compile/debug/make programs.
- enhancement: "Show special chars" in options / editor / font
- fix: Lost compiler set settings if a compiler set's bin dirs is empty.
- enhancement: Better error message when trying to debug with Release compile set.
2022-12-16 11:10:46 +08:00
Roy Qu
7ddc30967d
Merge branch 'master' of github.com:royqh1979/RedPanda-CPP
2022-12-16 09:10:57 +08:00
Roy Qu
b6b046b0e2
warning user when make program no exists.
2022-12-16 09:10:39 +08:00
Roy Qu
ff336ad5c3
work save
2022-12-16 01:44:20 +08:00
Roy Qu
16db14e761
- enhancement: "Remove trailing spaces" in options / editor / misc
...
- enhancement: show special chars
2022-12-16 01:03:57 +08:00
Roy Qu
4985191120
- enhancement: Remove multiple problems in the problem set view
...
- enhancement: Clear the proble view after a new problem set created
2022-12-15 16:33:17 +08:00
Roy Qu
02e6748db5
- fix: Buttons in options -> compiler -> compiler set -> programs are not usable.
...
- enhancement: Don't check existence of gcc/g++/make/gdb at startup.
- enhancement: Auto disable "compile" button if gcc doesn't exist.
- enhancement: Auto disable "debug" button if gdb doesn't exist.
- enhancement: Auto disable "compile" button for project if make doesn't exist.
2022-12-13 15:58:27 +08:00
Roy Qu
e81c08d6c8
refactor: correct var name
2022-12-13 12:40:54 +08:00
Roy Qu
ea3b4ea8e5
- enhancement: Show memory usage after console program exited.
...
- fix: If clang and g++ are in the same folder, only the compiler sets for gcc are auto generated.
2022-12-13 12:36:16 +08:00
Roy Qu
e37759b977
add memory usage info for console runner
2022-12-13 09:46:16 +08:00
Roy Qu
2520ddf8f5
- enhancement: Show memory usage for problem cases.
2022-12-13 08:49:20 +08:00
Roy Qu
325fe71567
simplify isTarget64Bit
2022-12-11 22:43:23 +08:00
Roy Qu
79931d73d5
Merge branch 'master' of github.com:royqh1979/RedPanda-CPP
2022-12-11 22:37:56 +08:00
Roy Qu
800d4c9e07
Merge pull request #83 from CyanoHao/aarch64-support
...
Handle non-x86 64-bit targets
2022-12-11 22:37:39 +08:00
Roy Qu
67f0e4dee2
support "url" in fps file
2022-12-11 21:46:51 +08:00
Roy Qu
b1ca0bb600
- enhancement: Import FPS (free problem set) files.
2022-12-11 19:47:43 +08:00
Cyano Hao
23af39395e
check 64-bit by comparing with a specific list
2022-12-11 18:22:44 +08:00
Roy Qu
c4a41403bc
refactor highlighters
2022-12-10 21:23:49 +08:00
Roy Qu
81d88fb5bd
work save: refactor Highlighter
2022-12-10 20:45:13 +08:00
Roy Qu
51743799c8
refactor Highlighters
2022-12-10 20:41:07 +08:00
Roy Qu
5d0c49a0bc
refactor: block start / end calculation
2022-12-10 18:48:48 +08:00
Cyano Hao
1983efdd2f
handle non-x86 64-bit targets
2022-12-10 12:00:57 +08:00
Roy Qu
b4e561cf83
improve makefile highlighter
...
fix: qsortfilterproxymodel not correctly cleared when exiting and project closed.
2022-12-07 09:48:10 +08:00
Roy Qu
8af963579a
- enhancement: Highlighter for makefiles
2022-12-06 22:51:59 +08:00
Roy Qu
650e3b407c
update version number
2022-12-05 12:04:48 +08:00
Roy Qu
9f2ab0479e
minor fix
2022-12-03 11:02:33 +08:00
Roy Qu
77942999d5
- enhancement: Use asm highlighter in cpu window
...
- fix: "AT&T" radio button not correctly checked in cpu window
- enhancement: Remove blank lines in the register list of cpu window.
- fix: Cpu window's size not correctly saved, if it is not closed before app exits.
- fix: Can't restore cpu window's splitter position.
2022-12-02 10:19:03 +08:00
Roy Qu
f9fb966c38
- enhancement: Add "Generate Assembly" in "Run" Menu
...
- enhancement: Improve highlighter for asm
2022-12-01 22:10:44 +08:00
Roy Qu
164d766c75
- enhancement: Disable "run" and "debug" actions when current project is static or dynamic library
2022-11-30 21:05:08 +08:00
Roy Qu
bb2532a2ef
- change: Default value of option "Editors share one code analyzer" is ON
...
- change: Default value of option "Auto clear symbols in hidden editors" is OFF
- minor fix
2022-11-30 09:54:23 +08:00
Roy Qu
ba1e100ab4
- enhancement: support type deduce for std::pair
2022-11-29 18:30:00 +08:00
Roy Qu
a6d5da07a3
- enhancement: show compltion suggest for std::pair::first and std::pair second
2022-11-29 16:48:40 +08:00
Roy Qu
407f11aa22
fix: correctly handle For(const auto&)
2022-11-29 15:42:08 +08:00
Roy Qu
e845c7474b
correctly deduce type for stl container iterators
2022-11-29 12:17:41 +08:00
Roy Qu
0d0332aa7d
- fix: can't correctly show completion suggest for type with template parameters
...
- enhancement: correctly evaluate auto variable of stl container iterator.
2022-11-29 12:06:29 +08:00
Roy Qu
3a1bc97ca5
minor refactor
2022-11-28 11:28:02 +08:00
Roy Qu
de23833992
- enhancement: Deduce type info for "auto" in some simple cases.
...
- fix: crash when no semicolon or left brace after the keyword "namespace"
2022-11-28 08:22:48 +08:00
Roy Qu
adb3d79b60
- enhancement: Deduce type info for "auto" in some simple cases.
2022-11-27 13:32:14 +08:00
Roy Qu
8788e950dd
- enhancement: show completion suggest for "namespace" after "using"
...
- fix: MinGW-w64 gcc displayed as "MinGW GCC"
2022-11-25 10:01:10 +08:00
Roy Qu
378cdeefd2
work save
2022-11-23 14:57:26 +08:00
Roy Qu
b3a986f1ca
refactor: highlighter, work save
2022-11-23 12:51:23 +08:00
Roy Qu
e352ef345c
- change: Default value of option "Editors share one code analyzer" is ON if available physical memory <= 32G
...
- change: Default value of option "Auto clear symbols in hidden editors" is ON if number of CPU cores > 8 and "Editors share one code analyzer" is on
- refactor qsynedit's highlighter, work save
2022-11-23 11:41:16 +08:00
Roy Qu
d86e93dc35
- enhancement: Options -> editor -> custom C/C++ type keywords page
2022-11-22 15:14:05 +08:00
Roy Qu
19785f9c14
fix: string index not checked
2022-11-16 11:51:50 +08:00
Roy Qu
a9c266c39a
clean up code
2022-11-16 10:29:20 +08:00
Roy Qu
7ab444fc06
clean up code
2022-11-16 09:38:55 +08:00
Roy Qu
82564239b9
- enhancement: project's custom compile include/lib/bin directory is under folder of the app, save them using the path relative to the app
2022-11-16 09:24:42 +08:00
Roy Qu
2123f1b297
change version number
2022-11-15 03:30:10 +08:00
Roy Qu
e764c14286
- enhancement: auto save / load problem set
2022-11-14 19:10:32 +08:00
Roy Qu
0e76769c3b
Merge branch 'master' of github.com:royqh1979/RedPanda-CPP
2022-11-14 12:00:02 +08:00
Roy Qu
ed8b0a4c55
- enhancement: new color scheme Monokai (contributed by 小龙Dev)
...
- enhancemnet: add "Reserve word for Types" item in color scheme
2022-11-14 11:56:38 +08:00
Roy Qu
bbd10785c5
compilation error under linux
2022-11-12 20:01:43 +08:00
Roy Qu
eed4cf2879
linux package script
2022-11-12 19:59:42 +08:00
Roy Qu
ac23d89fbe
update version
2022-11-12 15:58:17 +08:00
Roy Qu
6a6dc126a4
- enhancement: improve parse result for STL <random>
2022-11-12 12:14:19 +08:00
Roy Qu
edfd09191c
- change: the default value for UI font size : 11
...
- change: the default value for add leading zeros to line numbers : false
2022-11-12 10:56:57 +08:00
Roy Qu
a4cb52fb96
- fix: _Pragma is not correctly handled;
2022-11-12 10:45:53 +08:00
Roy Qu
b085560743
- fix: Escape suquences like \uxxxx and \Uxxxxxxxx in strings are not correctly highlighted.
...
- enhancement: Search / replace dialogs redesigned.
- fix: inline functions are not correctly parsed;
- fix: &operator= functions are not correctly parsed;
- fix: Code Formatter's "add indent to continueous lines" option is not correctly saved.
2022-11-11 21:20:57 +08:00
Roy Qu
1dbc0972ab
- fix: Escape suquences like \uxxxx and \Uxxxxxxxx in strings are not correctly highlighted.
2022-11-11 09:00:06 +08:00
Roy Qu
36f94bbb33
update translations
2022-11-10 17:39:20 +08:00
Roy Qu
ca9976e9e0
- enhancement: Use relative paths to save project settings
...
- fix: Layout for project options dialog's general page is not correct.
- fix: modifitions in the project options dialogs's dll host page is not correctly saved.
- enhancement: In the project options dialog, autoset the default folder in the openning dialog when choosing file/directory paths.
2022-11-10 14:47:44 +08:00
Roy Qu
eceba8b8f2
- enhancement: show completion tips for when define a function that already has a declaration.
...
- clean up code
2022-11-10 13:35:13 +08:00
Roy Qu
9072e752a0
- fix: crash when alt+mouse drag selection
2022-11-10 09:16:30 +08:00
Roy Qu
052f4610ee
- fix: crash when alt+mouse drag selection
2022-11-10 09:05:34 +08:00
Roy Qu
ae7e914788
refactor code
2022-11-10 08:05:04 +08:00
Roy Qu
6a13d6462a
clean up code
2022-11-10 07:47:57 +08:00
Roy Qu
a1c80cc562
- fix: function pointers not correctly handle in code parser;
...
- fix: var assignment not correctly handled in code parser;
- fix: function args not correctly handled in code parser;
2022-11-09 22:26:26 +08:00
Roy Qu
bcc1b8dc09
- fix: function pointers not correctly handle in code parser;
...
- fix: var assignment not correctly handled in code parser;
- fix: function args not correctly handled in code parser;
2022-11-09 22:22:33 +08:00
Roy Qu
faf25f4f1d
change version
2022-11-08 22:13:17 +08:00
Roy Qu
f24c1e96db
remove debug info
2022-11-08 22:12:33 +08:00
Roy Qu
4fad826899
- fix: macro defines parsed before not correctly applied in the succeeding parse.
2022-11-08 22:04:53 +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
dbc19c8e7f
add translation
2022-11-07 21:46:26 +08:00
Roy Qu
e0c4ba201d
- fix: Crash when editing a function at the end of file without ; or {
...
- enhancement: Add the "parsing TODOs" option in Options Dialog / Editor / Misc
- enhancement: Remove todos/bookmarks/breakpoints when deleting file from project
- enhancement: Rename filenames in todos/bookmarks/breakpoints when renaming project file
2022-11-07 21:44:12 +08:00
Roy Qu
a4ef5c6987
- fix: "check when open/save" and "check when caret line changed" in Options Dialog / Editor / Syntax Check don't work
2022-11-07 17:03:46 +08:00
Roy Qu
ef1fbf3d8b
- Class browser not correctly updated after create project file
2022-11-07 12:07:15 +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
93751d1b23
- fix: When start parsing and exit app, app may crash
...
- enhancement: add "Allow parallel build" option in project option dialog's custom compile options page
- fix: crash when rename project file
- fix: When remove project file, symbols in it not correctly removed from code parser
- fix: infos in class browser (structure panel) not correctly updated when add/create/remove/rename project files
2022-11-06 22:51:14 +08:00
Roy Qu
d4c7ec9bb9
- fix: Project Options Dialog's Files panel will crash app.
2022-11-06 12:38:53 +08:00
Roy Qu
4eec64939e
- fix: Edting / show context menu when code analysis is turned on may crash app.
...
- fix: Show context menu when edting non c/c++ file may crash app.
2022-11-06 09:43:28 +08:00
Roy Qu
1c3bf9000c
- enhancement: base class dropdown list in new class dialog now works
2022-11-05 23:35:15 +08:00
Roy Qu
4fa490253e
- enhancement: switch header/source
2022-11-05 19:39:33 +08:00
Roy Qu
771d0d1456
basic support for lambda
2022-11-05 18:58:15 +08:00
Roy Qu
d94125c262
streamline tokenizer
2022-11-05 16:17:46 +08:00
Roy Qu
8d9740dd57
- improve template parameters checker
...
- streamline cppparser
2022-11-05 08:42:54 +08:00
Roy Qu
ef79640eb0
work save
2022-11-04 23:44:11 +08:00
Roy Qu
585d7678d4
work save
2022-11-04 20:27:35 +08:00
Roy Qu
20917e3a8b
work save
2022-11-03 00:49:22 +08:00
Roy Qu
baab677fa1
work done: lambda support
2022-11-02 22:48:25 +08:00
Roy Qu
bd04e013de
work save
2022-11-02 13:38:26 +08:00
Roy Qu
7c7242c1a3
work save
2022-11-02 10:42:55 +08:00
Roy Qu
ca59fd7d70
work save
2022-11-01 23:23:21 +08:00
Roy Qu
ebfb631452
work save
2022-11-01 22:10:54 +08:00
Roy Qu
ab9aa75d1f
work save
2022-11-01 09:02:17 +08:00
Roy Qu
f78a4953ef
work save
2022-11-01 00:01:46 +08:00
Roy Qu
f8ab38b634
work save
2022-10-31 19:37:24 +08:00
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
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
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
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
Roy Qu
ca4687c7cd
fix: don't clear symbol table when minimized
2022-08-27 11:07:48 +08:00
Roy Qu
d438864a4d
- change: reduce time intervals for selection by mouse
2022-08-25 16:53:06 +08:00
Roy Qu
4df3ba4f14
- enhancement: don't parse all openned files when start up
...
- enhancement: don't parse files when close all and exit
2022-08-24 17:05:16 +08:00
Roy Qu
a8dc93d4b4
- fix: can't set shortcut that contains shift and non-alphabet characters
2022-08-08 12:11:16 +08:00
Roy Qu
6b64eab16b
- fix: can't correctly set project icon
2022-08-08 10:45:35 +08:00
Roy Qu
eda042a683
replace QFile::copy with customed one
2022-08-07 22:25:52 +08:00
Roy Qu
92d7370903
- enhancement: create template
2022-08-07 21:41:57 +08:00
Roy Qu
5966ee0a5f
- change: organization structure of templates
2022-08-07 12:09:22 +08:00
Roy Qu
829e73895b
- fix: files in network drive is opened in readonly mode
2022-08-06 08:51:53 +08:00
Roy Qu
8d4411ee55
- enhancement: Portuguese Translation ( Thanks for crcpucmg@github)
2022-08-05 20:56:09 +08:00
Roy Qu
80451256c2
move translations
2022-08-05 20:39:01 +08:00
Roy Qu
363bbb2221
update translations
2022-08-05 20:38:28 +08:00
Roy Qu
2a0cfe7948
- change: switch positions of problem case output and expected output
2022-08-05 16:20:50 +08:00
Roy Qu
40dec1b9ff
- fix: (wrongly) use the default font to calculate non-ascii characters' width
2022-07-31 11:51:34 +08:00
Roy Qu
66746e8c3d
- fix: indents for "default" are not the same with "case"
2022-07-30 10:22:27 +08:00
Roy Qu
fc1de8f28c
- fix: inefficient loop when render long lines
2022-07-29 18:33:08 +08:00
Roy Qu
1ce0ec3d32
- enhancement: disable column mode in readonly editors
2022-07-28 21:19:54 +08:00
Roy Qu
a3cb17299b
- fix: Drag&Drop no correctly disabled for readonly editors
2022-07-28 17:09:30 +08:00
Roy Qu
8bd2802c99
- enhancement: choose default language when first run
2022-07-28 14:03:18 +08:00
Roy Qu
c7e8ee6072
- enhancement: don't show cpp defines when editing c files
2022-07-28 13:51:38 +08:00
Roy Qu
62caa94e23
- fix: selection is not correctly set after input in column mode
2022-07-25 14:32:12 +08:00
Roy Qu
7db3a7ebc1
- fix: block indent doesn't work
2022-07-25 09:45:06 +08:00
Roy Qu
1b56f1b615
refactor for clean
2022-07-24 22:53:20 +08:00
Roy Qu
8affc316f3
optimize the algorithm for finding compiler sets
2022-07-24 19:08:09 +08:00
royqh1979@gmail.com
8d51876518
- fix: can't find the gcc compiler, if there are gcc and clang compilers in the same folder
2022-07-24 18:24:21 +08:00
Roy Qu
d034089214
5.12 compatibility fix
2022-07-24 03:19:11 +00:00
Roy Qu
fdbf86e774
linux compatibility fix
2022-07-24 10:02:36 +08:00
Roy Qu
3d42cdf6c3
- fix: can't create folder in files view, if nothing is selected
2022-07-23 15:41:19 +08:00
Roy Qu
eebd7336c2
- change: sort local identifiers before keywords in the auto completion popup
2022-07-22 21:02:07 +08:00
Roy Qu
2f8988cf91
- fix: "Timeout for problem case" can't be rechecked, in the Settings Dialog -> executor -> problem set panel.
2022-07-22 11:34:45 +08:00
Roy Qu
17eb0c1f94
- enhancement: add select current word command in the Selection menu
...
- change: add Selection menu
- enhancement: add memory view rows/columns settings in the settings dialog -> debugger -> general panel
- enhancement: add "Go to Line..." in the Code menu
2022-07-21 15:28:07 +08:00
Roy Qu
f20d5f1b07
change windows profile
2022-07-20 19:41:06 +08:00
Roy Qu
90b4693e7d
set minimum winver to 0x0601 (windows 7)
2022-07-20 19:38:01 +08:00
Roy Qu
8acee3ed20
- fix: correctly update the start postion of selection after code completion
2022-07-20 16:57:42 +08:00
Roy Qu
6f7f637d11
update mesages
2022-07-19 20:29:46 +08:00
Roy Qu
66a802485f
update version to 1.1.5
2022-07-07 20:30:27 +08:00
Roy Qu
cb2cbf49d0
- change: uncheck "hide unsupported files" in files view shouldn't gray out non-c files
...
- enhancement: double clicking a non-text file in the files view, will open it with external program
- enhancement: double clicking a non-text file in the project's view, will open it with external program
2022-07-07 20:08:58 +08:00
Roy Qu
898d5f4e08
- enhancement: resort files in the files view after rename
2022-07-06 19:44:44 +08:00
Roy Qu
262b4916fd
- enhancement: set current index to the folder after new folder created in the file view
2022-07-06 18:16:25 +08:00
Roy Qu
777c295cc0
minor change
2022-07-06 14:19:07 +08:00
Roy Qu
8d59bf9abb
- redesign redo system
...
- fix: correctly restore editor's modified status when undo/redo
2022-07-06 14:11:32 +08:00
Roy Qu
10631f54d7
work save
2022-07-06 00:06:07 +08:00
Roy Qu
fc6b582402
clean up undolist
2022-07-05 22:25:28 +08:00
Roy Qu
2ff9dee9c0
clean up qsynedit
2022-07-05 22:05:12 +08:00
Roy Qu
a6f334f837
remove all warnings
2022-07-04 11:39:06 +08:00
Roy Qu
2d7c2145e3
- enhancement: prevent group undo when caret position changed
...
- fix: undo link break may lose leading spaces
refactor undo
2022-07-04 10:01:40 +08:00
Roy Qu
a86544d6ae
remove debug infos
2022-07-03 13:09:42 +08:00
Roy Qu
7ba5f3e5c8
fix: undo chains
2022-07-03 13:08:14 +08:00
Roy Qu
76f0b9d17b
- fix: calculation of the code block ranges when inserting/deleting
2022-07-03 12:00:05 +08:00
Roy Qu
1a36822b18
fix: fold range processing
2022-07-03 11:22:10 +08:00
Roy Qu
ffe6a5b5ec
update versions
2022-07-02 21:51:51 +08:00
Roy Qu
348788bbcd
- enhancement: prohibit move selection up/down under column mode
...
- enhancement: prohibit move selection up/down when the last line in selection is a folded code blocks
- enhancement: check validity of selection in column mode when moving caret by keyboard
- enhancement: check validity of selection in column mode when moving caret by mouse
- enhancement: only allow insert linebreak at the end of folded code block
- enhancement: only allow delete whole folded code block
- refactor of undo system
2022-07-02 20:19:37 +08:00
Roy Qu
39dd7e3abb
work save: redo done
2022-07-02 17:59:07 +08:00
Roy Qu
655f0bf83e
work save : undo almost done
2022-07-02 14:06:10 +08:00
Roy Qu
3f814901d5
work save
2022-07-02 10:39:31 +08:00
Roy Qu
cd135b19a2
work save
2022-07-02 06:44:01 +08:00
Roy Qu
097108a2c9
- update raylib to 4.2-dev
...
- update raylib-drawing to 1.1
- add "raylib manual" in the help menu
2022-07-01 17:15:20 +08:00
Roy Qu
24a4f0e127
- change: just show one function hint for overloaded functions
2022-06-30 14:39:12 +08:00
Roy Qu
b304b19d26
add templates for tinyfiledialogs
2022-06-29 10:14:11 +08:00
Roy Qu
a6b24290c9
- enhancement: position caret at end of the line of folded code block
...
- enhancement: copy the whole folded code block
- enhancement: delete the whole folded code block
- fix: correctly update the folding state of code block, when deleted
2022-06-28 21:46:20 +08:00
Roy Qu
2008437342
auto indents for comments
2022-06-28 12:22:40 +08:00
Roy Qu
0985b6444b
- fix: wrong auto indent calculation for comments
2022-06-28 09:37:18 +08:00
Roy Qu
5557d9c103
- change: position caret to (1,1) when create a new file using editor's new file template
2022-06-23 20:39:00 +08:00
Roy Qu
b2585f567a
- enhancement: autolink add "force utf8" property (mainly for raylib)
2022-06-23 19:07:48 +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
20690b7e51
- enhancement: add the option "Set Encoding for the Executable" to project's compiler options
...
- fix: can't correctly compile when link params are seperated by line breaks
2022-06-22 17:08:35 +08:00
Roy Qu
85c18d1f66
- enhancement: use different color to differenciate folder and headers in completion popup window
...
- enhancement: auto add "/" to folder when completing #include headers
2022-06-20 21:43:42 +08:00
Roy Qu
5c2c2bead2
- fix: when messages panel is docked at right, its width not correctly restored when restart.
2022-06-17 18:18:12 +08:00
Roy Qu
2f0a7a3d89
- fix: reduce height of the message panel when dragging from right to bottom
2022-06-17 12:12:12 +08:00
Roy Qu
9dacc9bbb9
- fix: when debug the executable using gdb server, add current compiler set's bin folders to path
2022-06-16 21:56:07 +08:00
Roy Qu
3d6d3c5210
- fix: when run/debug the executable, add current compiler set's bin folders to path
...
- fix: when open in shell, add current compiler set's bin folders to path
2022-06-16 21:34:31 +08:00
Roy Qu
c4ca944a15
- fix: can't paste contents copied from Clion/IDEA/PyCharm
2022-06-16 09:11:45 +08:00
Roy Qu
04311eb8e5
- enhancement: add ignore spaces checkbox in problem cases panel
2022-06-15 14:13:11 +08:00
Roy Qu
f8cd0e63ad
- change: swap position of problem case's output and expected input controls
...
- enhancement: when problem case panel is positioned at right, problem case's input, output and expected controls is layouted vertically
2022-06-15 11:27:12 +08:00
Roy Qu
3e4361777b
Merge branch 'master' of github.com:royqh1979/RedPanda-CPP
2022-06-14 09:10:13 +08:00
Roy Qu
cfdbdca812
- enhancement: adjust the appearance of problem case's input/output/expected control
2022-06-14 09:09:35 +08:00
Roy Qu
a93141be89
remove duplicate actions
2022-06-13 16:48:55 +08:00
Roy Qu
9545ad9b6f
- fix: compiler settings not correctly saved
2022-06-13 16:31:41 +08:00
Roy Qu
f258f56117
fix: new actions in shortcuts settings can't be setted
2022-06-13 15:44:59 +08:00
Roy Qu
fb18a1f1a3
- enhancement: add 'run all problem cases' / 'run current problem case' / 'batch set cases' to the option dialog's shortcut panel
2022-06-13 09:38:32 +08:00
Roy Qu
5a31e1dd42
- fix: rename macro doesn't work in project
...
- fix: can't remove a shortcut
- enhancement: hide all menu actions in the option dialog's shortcut panel
2022-06-12 22:54:34 +08:00
Roy Qu
2182553fe1
- fix: rename macro doesn't work in project
2022-06-12 18:26:39 +08:00
Roy Qu
e0442dcca4
update translations
2022-06-12 15:58:24 +08:00
Roy Qu
73fda980bc
- enhancement: rename in files view's context menu
...
- enhancement: delete in files view's context menu
- change: drag&drop in files view default to move
2022-06-12 15:48:19 +08:00
Roy Qu
ef715b2c34
- enhancement: restore caret position after batch replace
2022-06-10 22:08:10 +08:00
Roy Qu
d01a60e88f
- fix: c files added to a project will be compiled as c++ file.
2022-06-10 08:41:52 +08:00
Roy Qu
67e686652d
- enhancement: mark editor as modified, if the editing file is changed by other applications.
...
- enhancement: When the editing files is changed by other applications, only show one notification dialog for each file.
2022-06-08 16:18:06 +08:00
Roy Qu
5182e200fb
- enhancement: when ctrl+mouse cursor hovered an identifier or header name, use underline to highlight it
2022-06-08 16:05:54 +08:00
Roy Qu
a5d4345af1
update linux templates
2022-06-04 18:25:58 +08:00
Roy Qu
2e5f666411
update autolinks for raylib-drawing
2022-06-04 14:46:58 +08:00
Roy Qu
cd6e5719b7
fix: autolink calculation not stable
2022-06-04 14:44:50 +08:00
Roy Qu
75d3c21d1f
update autolink for raylib-drawing
2022-06-03 16:53:35 +08:00
Roy Qu
c295649280
- fix: errors in the calculation of cut limit
2022-06-01 20:52:35 +08:00
Roy Qu
85f3a04bcf
- fix: #define followed by tab not correctly parsed
...
- enhancement: don't auto add () when completing C++ io manipulators ( std::endl, std::fixed, etc.)
- fix: can't goto to definition of std::endl
2022-06-01 17:02:03 +08:00
Roy Qu
836acff739
update translations
2022-05-30 18:17:42 +08:00
Roy Qu
10fb1d5c17
Merge pull request #45 from RigoLigoRLC/MacHack
...
WIP:添加MacOS支持,顺便对不同平台设置默认界面字体
2022-05-30 18:16:27 +08:00
RigoLigo
baba0e0f34
Move icons into platform specific directory
2022-05-30 17:21:31 +08:00
RigoLigo
c8b1fbbc83
Added default font for MacOS
2022-05-30 17:10:10 +08:00
RigoLigo
62080e61b0
Revert "Update language files"
...
This reverts commit 30b14d9153
.
2022-05-30 17:04:19 +08:00
Roy Qu
2adc0de494
Merge branch 'master' of github.com:royqh1979/RedPanda-CPP
2022-05-30 16:40:54 +08:00
Roy Qu
90b6916978
- fix: modify watch doesn't work
2022-05-30 16:40:45 +08:00
brokencuph
a96af19f2e
make behavior consistent in adding compiler bindirs to Path
...
When running the compiled user program, current compiler's
binary directories should be added to the beginning of the
Path environment variable instead of the end, in order to
avoid loading other user-installed versions of
MinGW libraries (such as libstdc++).
Previously, in openShell of mainwindow.cpp the behavior has already
been updated, but in executablerunner.cpp and ojproblemcasesrunner.cpp,
the behavior is different. Now they have been changed to be
consistent with the one in openShell.
2022-05-30 16:01:28 +08:00
RigoLigo
30b14d9153
Update language files
2022-05-29 00:30:46 +08:00
RigoLigo
a7597930de
Improved default interface font
2022-05-29 00:30:46 +08:00
RigoLigo
07e74952ec
Add required executables into main app bundle
2022-05-29 00:30:46 +08:00
RigoLigo
ed03d6850f
Added icon for macOS
2022-05-29 00:30:46 +08:00
RigoLigo
6cb2fb15eb
Add hacks to make it build on MacOS 12.3
...
you need to install icu4c in brew
2022-05-29 00:30:46 +08:00
Roy Qu
e920d230df
- fix: "run current cases" dosen't correctly display real output
2022-05-26 21:22:07 +08:00
Roy Qu
fbdd268484
- fix: cursor is wrongly positioned when insert code snippets that don't have placeholders
2022-05-25 18:41:56 +08:00
Roy Qu
1e06907db5
- enhancement: add "toggle explorer panel" and "toggle messages panel" in "view" menu
2022-05-25 10:04:36 +08:00
Roy Qu
790847e3f8
reduce panel spans
2022-05-24 13:47:09 +08:00
Roy Qu
83d1ce0741
remember left/bottom panel's new size, when resized
2022-05-23 22:36:22 +08:00
Roy Qu
d1024e4c9d
panel size can be saved
2022-05-22 14:31:13 +08:00
Roy Qu
da1647538f
work save: resizable panels
2022-05-21 17:40:52 +08:00
Roy Qu
06ee536431
- fix: tab icon not correct restore when hide and show a panel
...
- fix: the hiding state of the tools output panel is not correctly saved
2022-05-21 10:44:39 +08:00
Roy Qu
964909a31e
- change: panels can be relocated
2022-05-20 18:43:01 +08:00
Roy Qu
c3db151c2c
- fix: crash when project name is selected in the project view and try create new project file
2022-05-19 17:57:31 +08:00
Roy Qu
106bf4281a
disable undo limit by default
2022-05-19 13:19:47 +08:00
Roy Qu
3090fab089
- fix: copy & paste in column mode not correctly handled
2022-05-19 12:32:33 +08:00
Roy Qu
67cd580539
- fix: delete & insert in column mode not correctly handled
...
- fix: input with ime in column mode not correctly handled
2022-05-18 23:17:06 +08:00
Roy Qu
e1ac7cafb0
- fix: selection in column mode not correctly drawn when has wide chars in it
2022-05-18 15:52:19 +08:00
Roy Qu
c56a020781
- enhancement: can debug files that has non-ascii chars in its path and is compiled by clang
...
- fix: when debugging project, default compiler set is wrongly used
2022-05-15 17:14:22 +08:00
Roy Qu
394e500941
- enhancement: adjust scheme colors for "dark" and "high contrast" themes
2022-05-14 21:31:14 +08:00
Roy Qu
ba29839cc4
fix: compiler arguments widget can't correct load settings
2022-05-14 20:27:21 +08:00
Roy Qu
fbe7ca204c
- enhancement: show error message when user set a shortcut that's already being used.
2022-05-14 16:54:59 +08:00
Roy Qu
6340dbe299
- enhancement: show error message when user set a shortcut that's already being used.
2022-05-14 16:52:56 +08:00
Roy Qu
a3946b6015
- enhancement: add compiler commandline argument for "-E" (only preprocessing)
...
- enhancement: auto set output suffix to ".expanded.cpp" when compiler commandline argument for "-E" is turned on
- enhancement: auto set output suffix to ".s" when compiler commandline argument for "-S" is turned on
2022-05-14 16:43:59 +08:00
Roy Qu
f412eedcb0
- fix: selection calculation error when editing in column mode
2022-05-14 16:06:57 +08:00
Roy Qu
086dfd0865
finish: redesign compiler command line arguments
2022-05-14 11:21:59 +08:00
Roy Qu
58b7c55cd6
work save
2022-05-13 20:22:16 +08:00
Roy Qu
2f5f1346fd
work save
2022-05-12 22:42:19 +08:00
Roy Qu
9867d0d931
update compiler set options
2022-05-12 15:28:08 +08:00
Roy Qu
631da69d84
- enhancement: auto complete '#undef'
2022-05-11 20:34:13 +08:00
Roy Qu
9b80407f88
- change: stop generating 'profile' compiler set
2022-05-09 17:17:01 +08:00
Roy Qu
03e588d173
change "compiler options" tool button's position in the toolbar
2022-05-07 07:53:16 +08:00
Roy Qu
e3d7af019d
- fix: keyword 'final' in inhertid class definition is not correctly processed
2022-05-06 19:20:26 +08:00
Roy Qu
7e6d900049
- enhancement: add new tool button for "compiler options"
2022-05-06 15:48:17 +08:00
Roy Qu
a3c8e1ed21
add new icon
2022-05-06 15:46:48 +08:00
Roy Qu
7729ba0ebe
- enhancement: support UTF-8 BOM files
2022-05-06 15:23:41 +08:00
Roy Qu
2e66a3163c
don't highlight '\' at line end as error
2022-05-05 09:58:55 +08:00
Roy Qu
cd4bfdfa23
- fix: index of the longest line not correctly updated when inputting with auto completion open
2022-05-04 00:08:04 +08:00
Roy Qu
45744b43f0
- change: highlight whole #define statement using one color
...
- enhancement: don't highlight '\' as error
- enhancement: hide add charset option in project options dialog's compiler set page, when project compiler set is clang
- fix: When generating project's makefile for clang, don't add -fexec-charset / -finput-charset command line options
2022-05-02 21:47:01 +08:00
Roy Qu
d2a09dea24
- change: use Shift+Enter to break line
2022-04-29 16:15:18 +08:00
Roy Qu
ffaa8086d1
compatible with qt 5.12
2022-04-28 19:02:34 -07:00
Roy Qu
845427b747
- fix: correctly parse link error message for clang
2022-04-27 19:13:38 +08:00
Roy Qu
945ba4ce73
- fix: use utf8 as the encoding for clang's error output
2022-04-27 15:26:13 +08:00
Roy Qu
2459bee049
use clang/clang++ instead of gcc/g++
2022-04-27 11:24:40 +08:00
Roy Qu
fd9e51a040
Merge branch 'master' of github.com:royqh1979/RedPanda-CPP
2022-04-26 22:08:54 +08:00
Roy Qu
97274a7e79
auto batch set problem case's expected file that has "ans" as the suffix
2022-04-26 22:08:46 +08:00
Roy Qu
afc8e15c87
- fix: gcc compiler set name is not correct in Linux
...
- enhancement: hide add charset option when the currect compiler set is clang
- enhancement: auto check the c project option in the new project dialog
- change: use "app.ico" as default name for the project icon file
- fix: c file should use CC to build in the auto generated makefile
- enhancement: package script for msys2 clang
2022-04-25 22:13:33 +08:00
Roy Qu
f16d015fdd
- fix: gcc compiler set name is not correct in Linux
...
- enhancement: hide add charset option when the currect compiler set is clang
- enhancement: auto check the c project option in the new project dialog
- change: use "app.ico" as default name for the project icon file
- fix: c file should use CC to build in the auto generated makefile
2022-04-25 21:48:04 +08:00
Roy Qu
2f61bd1f79
change version number to 1.0.6
2022-04-25 17:21:41 +08:00
Roy Qu
81f4d98d5f
minor fix
2022-04-25 12:43:23 +08:00
Roy Qu
16cb8faf85
valgrind fix
2022-04-25 11:06:12 +08:00
Roy Qu
2056d42286
fix valgrind problems
2022-04-25 10:47:19 +08:00
Roy Qu
19c2096e5e
minor fix
2022-04-25 10:13:28 +08:00
Roy Qu
e7db1a3a6f
remove no use fields
2022-04-25 00:10:01 +08:00
Roy Qu
d9259fb9e4
- fix: index of the longest line not correctly updated when insert/delete multiple lines ( which will cause selection errors)
2022-04-24 09:50:30 +08:00
Roy Qu
a64bbd0d4b
- enhancement: add project templates for tcp server / tcp client
...
- enhancement: only show function tips when cursor is after ',' or '('.
- enhancement: when auto complete function names, only append '(' if before identifier or "/'
2022-04-22 15:55:39 +08:00
Roy Qu
ec17cfcb99
- enhancement: select and delete multiple watches
2022-04-22 14:28:53 +08:00
Roy Qu
d1fe43d49c
update contrast iconset
2022-04-21 15:03:38 +08:00
Roy Qu
0a1c2aea98
refactor: SynDocument and SynDocumentLine
2022-04-19 21:18:41 +08:00
Roy Qu
354f375f67
- enhancement: improve the matching of function declaration and definitions
...
- fix: research button doesn't show find in files dialog
2022-04-19 19:17:49 +08:00
Roy Qu
434d46ef80
- enhancement: add autolink and project template for sqlite3
2022-04-18 20:19:11 +08:00
Roy Qu
15ec17f16b
update version
2022-04-18 17:04:54 +08:00
Roy Qu
56c71f321f
- fix: parse error for definition of functions whose return type is pointer
2022-04-18 16:56:31 +08:00
Roy Qu
5743991152
- fix: scroll bar not correctly updated when collapse/uncollapse folders
2022-04-18 16:17:06 +08:00
Roy Qu
331a5818c6
fix: add library files dialog not correctly
2022-04-18 11:48:51 +08:00
Roy Qu
512371a6d4
- fix: index of the longest line not correctly updated ( which will cause selection errors)
2022-04-18 11:38:30 +08:00
Roy Qu
0d2c842317
- fix: index of the longest line not correctly updated ( which will cause selection errors)
2022-04-18 11:35:42 +08:00
Roy Qu
1eb809b011
- enhancement: add Traditional Chinese translation
2022-04-18 11:01:42 +08:00
Roy Qu
312d282501
- fix: crash when eval statements like "fsm::stack fsm;"
2022-04-17 19:49:04 +08:00
Roy Qu
390c403503
batch set cases use problem case's export file's folder as the default folder
2022-04-16 20:43:58 +08:00
Roy Qu
f6ac7ad1dc
- enhancement: batch set cases ( in problem case table's context menu )
2022-04-16 20:39:09 +08:00
Roy Qu
076a92fb77
- fix: tab/shift+tab not correctly handled in options dialog's code template page
2022-04-16 20:14:47 +08:00
Roy Qu
9d401cce42
- enhancement: prefer local headers over system headers when complete #include header path
2022-04-14 22:25:49 +08:00
Roy Qu
8c99d28307
fix: can't convert encoding
2022-04-13 23:15:31 +08:00
Roy Qu
85026ad5bf
remove debug output
2022-04-13 22:34:27 +08:00
Roy Qu
9254a13d84
- fix: parenthesis skip doesn't work when editing non-c/c++ files
2022-04-13 20:04:10 +08:00
Roy Qu
94a99e983e
add Portuguese translation file
...
update chinese translations
2022-04-13 17:15:30 +08:00
Roy Qu
ca0ad3249f
- 功能增强:输入'('时,如果下一个非空白字符是'('或者标识符/数字,则不自动补全
...
- 功能增强:如果项目文件和项目的编码相同,则不保存它的编码信息
- 修正:在保存文件时,会错误的使用缺省编码而不是文件原有的编码进行保存
2022-04-13 16:42:23 +08:00
Roy Qu
d3c780a3a5
- enhancement: F1 shorcut opens offcial website
2022-04-12 14:03:33 +08:00
Roy Qu
fa0404117f
fix: display bug
2022-04-12 07:48:06 +08:00
Roy Qu
50cca61abc
- enhancement: remember current problem set's filename
2022-04-11 17:38:57 +08:00
Roy Qu
9cc51a150d
- enhancement: add help link for regular expression in search dialog
2022-04-11 09:39:44 +08:00
Roy Qu
b1cc0457ea
- fix: hide function tips, when move or resize the main window
2022-04-11 09:25:22 +08:00
Roy Qu
fb808f425a
update version to 1.0.4
2022-04-09 10:27:14 +08:00
Roy Qu
784d94c541
- fix: don't add non-project header files to makefile's object rules
2022-04-09 09:35:17 +08:00
Roy Qu
39a0f87b94
- fix: can't build project that has source files in subfolders
...
- fix: can't build project that has custom object folder
- fix: buttons in the project option dialog's output page don't work
2022-04-08 22:14:18 +08:00
Roy Qu
93d16ab9e4
work save: save as template
2022-04-08 21:15:10 +08:00
Roy Qu
628b247fcb
- enhancement: redesigned new project unit dialog
2022-04-08 18:12:40 +08:00
Roy Qu
02910bbe76
Merge branch 'master' of github.com:royqh1979/RedPanda-CPP
2022-04-08 17:45:56 +08:00
Roy Qu
2e0357e652
- enhancement: don't show folders that doesn't contain files in the project view
...
work save: - enhancement: redesigned new project unit dialog
2022-04-08 17:22:24 +08:00
Roy Qu
c46e3df054
dont auto focus to compile issue table when compile finished
2022-04-07 23:07:00 +08:00
Roy Qu
01662a95d1
- fix: auto syntax check doesn't work for new files
...
- change: don't auto jump to the first syntax error location when compile
2022-04-07 21:35:09 +08:00
Roy Qu
7e284b98f2
- fix: don't show tips in the editor, when selecting by mouse
2022-04-07 17:30:06 +08:00
Roy Qu
f93a57c82d
- fix: ctrl+shift+end doesn't select
2022-04-07 15:16:11 +08:00
Roy Qu
dd195af311
update translation
2022-04-06 22:24:40 +08:00
Roy Qu
7d86c6e5b1
- fix: crash when editing txt file and input symbol at the beginning of a line
2022-04-03 11:54:07 +08:00
Roy Qu
65b328396c
better device ratio support
2022-04-02 18:42:43 +08:00
Roy Qu
9302439fcb
- fix: can't compile under linux
...
- enhancement: support Devcie Pixel Ratio ( for linux )
2022-04-02 18:22:29 +08:00
Roy Qu
13c7ea4d3b
update translations
2022-04-01 23:16:13 +08:00
Roy Qu
431f5bbced
- enhancement: shift+ctrl+down/up to move currenlt selection lines up / down
2022-04-01 23:10:38 +08:00
Roy Qu
5e349ec21e
- fix: when oj problem grabbed by competitive companion received,
...
the app is restored to normal state, no matter it's current state.
- enhancement: input shortcut in the option dialog's general -> shortcut page by pressing keys.
2022-04-01 21:09:24 +08:00
Roy Qu
f7a6db7005
- change: only auto complete symbol '(' when at line end, or there are spaces or right ')' '}' ']'after it
...
- fix: mouse drag may fail when start drag at the right half of the selection's last character
2022-03-31 19:36:46 +08:00
Roy Qu
f0c0197380
- fix: auto syntax check fail, if the file is not gbk and includes files encoded with utf8
...
- fix: running programs with input redirected can't exit at once.
2022-03-31 09:56:49 +08:00
Roy Qu
c30164a58a
- fix: crash when rename an openned file, and choose "no" when ask if keep the editor open
2022-03-30 23:19:51 +08:00
Roy Qu
f08b14978c
remove inform dialog for non-ascii char in gdb path
2022-03-30 20:45:08 +08:00
Roy Qu
461df394cb
- fix: when open a project, and it's missing compiler set getten reset, it's modification flag is not correctly set.
2022-03-30 20:15:15 +08:00
Roy Qu
17516c8111
- fix: error in auto generate makefile under linux
2022-03-30 19:50:55 +08:00
Roy Qu
7bc5a2ee7a
- fix: can't stop a freeze program that has stdin redirected.
...
- enhancement: context menu for problem cases table
2022-03-30 19:28:46 +08:00
Roy Qu
6754c014c9
- enhancement: only tag the first inconstantency when running problem case, to greatly reduce compare & display time
2022-03-29 21:41:02 +08:00
Roy Qu
a1614cef68
- enhancement: display problem case running time
...
- enhancement: set problem case input/expected output file
- enhancement: auto position cursor in expected with output's cursor
2022-03-29 18:06:24 +08:00
Roy Qu
facdb59c66
msvc compatibility
2022-03-29 09:43:24 +08:00
Roy Qu
a40c818e54
- enhancement: use icon to indicate missing project files in the project view
2022-03-28 16:57:58 +08:00
Roy Qu
7e0e9873f6
update translations
2022-03-27 16:15:44 +08:00
Roy Qu
db4ca7254e
- enhancement: slightly reduce start up time
2022-03-27 16:07:51 +08:00
Roy Qu
ac54496aeb
- fix: auto syntax check use wrong charset, if a file in editing is not encoded with ANSI encoding
...
- enhancement: timeout for problem case test in
2022-03-27 11:44:52 +08:00
Roy Qu
7c218b7d5a
- enhancement: better display when input with IM under column mode
...
- enhancement: better display current lines under column mode
- change: test to use utf-8 as the default encoding (prepare to use libclang to implement parser)
2022-03-26 19:10:14 +08:00
Roy Qu
3ba5811edf
- enhancement: refine behavior of undo input space char
2022-03-26 11:49:41 +08:00
Roy Qu
225eb1961a
- enhancement: press tab in column mode won't exit column mode
2022-03-26 09:54:06 +08:00
Roy Qu
0fc995e56a
- enhancement: draw cursor for column mode
...
- enahcnement: edit/delete in multiline ( column mode), press ese to exit
2022-03-25 22:13:00 +08:00
Roy Qu
8b224010e0
- enhancement: alt+shift+arrow do column selection
...
- fix: input may cause error, if selection in column mode and begin/end at the same column
- enhancement: draw selection line if selection in column mode and begin/end at the same column
2022-03-25 12:59:53 +08:00
Roy Qu
c979ef1505
- enhacement: alt+shift+arrow do column selection
2022-03-25 10:43:07 +08:00
Roy Qu
96631049eb
- fix: goto declaration by ctrl+click will incorrectly select contents
2022-03-24 10:55:17 +08:00
Roy Qu
33f838ef6a
- enhancement: switch capslock won't cancel code completion
...
- enhancement: double click on item in code completion list will use it to complete
2022-03-24 08:24:10 +08:00
Roy Qu
a211992256
- enhancement: slightly reduce memory usage for code parser
2022-03-23 14:45:10 +08:00
Roy Qu
5fb877b2ef
work save
2022-03-23 14:13:10 +08:00
Roy Qu
e80a92c30a
make simple functions inline
2022-03-23 12:30:58 +08:00
Roy Qu
373117f277
work save
2022-03-22 21:19:54 +08:00
Roy Qu
59ada398be
work save
2022-03-22 20:04:34 +08:00
Roy Qu
fad84b23f9
work save
2022-03-22 20:03:53 +08:00
Roy Qu
6e4d36aade
- fix: disable code completion doesn't correctly disable project parser
2022-03-22 19:08:26 +08:00
Roy Qu
0e0a87584e
fix: crash when open a project that has files not opened in editor
2022-03-22 18:39:53 +08:00
Roy Qu
7b4aa764d3
- fix: the problem & problem set panel can't be correctly , if problem set is enabled
2022-03-22 15:44:27 +08:00
Roy Qu
da0be0af98
- enhancement: auto restore mainwindow when open files in one instance
2022-03-21 18:06:47 +08:00
Roy Qu
090cccc033
refactor: remove ProjectUnit's mEditor field
2022-03-21 09:08:05 +08:00
Roy Qu
947374b907
- fix: when editor font is too small, fold signs on the gutter are not correctly displayed
...
- fix: expand fold signs on the gutter are not correct
2022-03-20 20:56:21 +08:00
Roy Qu
8a911314e1
remove debug info
2022-03-20 18:14:38 +08:00
Roy Qu
4209241dea
- fix: when size of undo items is greater than the limit, old items should be poped in group
...
- enhancement: max undo size in option dialog's editor->misc tab
2022-03-20 18:10:53 +08:00
Roy Qu
12e772747c
- enhancement: shortcut for goto definition/declaration
...
- change: ctrl+click symbol will goto definition, instead of got declaration
2022-03-19 15:33:15 +08:00
Roy Qu
fc11f1223b
- fix: corresponding '>' not correctly removed when deleting '<' in #include line
2022-03-19 14:26:06 +08:00
Roy Qu
b0c8526d97
- fix: order for parameters generated by auto link may not correct
2022-03-19 14:19:32 +08:00
Roy Qu
49297431b6
- enhancement: press alt to switch to column selection mode while selection by mouse dragging in editor
2022-03-19 10:27:31 +08:00
Roy Qu
2e77734d67
remove nouse debug output
2022-03-18 23:17:01 +08:00
Roy Qu
ab4ca36fa4
- fix: hide function tip when scroll
...
- fix: short cut for goto definition/declaration doesn't work
2022-03-18 23:13:43 +08:00
Roy Qu
d840622b58
- fix: only convert project icon file when it's filename doesn't end with ".ico"
2022-03-18 19:14:19 +08:00
Roy Qu
49080b88e1
- change: remove shortcuts for line/column mode
2022-03-17 20:57:43 +08:00
Roy Qu
12edcb22a5
- fix: correctly reparse modified project files when rename symbol
2022-03-17 20:28:03 +08:00
Roy Qu
da05088f40
update translations
2022-03-17 18:30:04 +08:00
Roy Qu
23f34af034
- enhancement: auto convert project icon to ico format
2022-03-17 17:07:28 +08:00
Roy Qu
55126ebebe
- fix: create file in the files view should auto scroll to the new created file
2022-03-17 15:17:04 +08:00
Roy Qu
8cbcbb4b98
- fix: hits in the search view not correctly displayed (overlapped with others)
2022-03-17 15:09:48 +08:00
Roy Qu
5d6bf0dbb5
- enhancement: create file in files view
2022-03-17 10:46:24 +08:00
Roy Qu
8e00d50d1e
- enhancement: ctrl+enter insert a new line at the end of current line
2022-03-16 21:13:59 +08:00
Roy Qu
14d99711f8
linux:
...
- fix: if there is a Red Panda C++ process running program, other Red
Panda C++ processes can't run program correctly.
2022-03-16 20:39:11 +08:00
Roy Qu
c67e196e72
- fix: if there is a Red Panda C++ process running program, other Red Panda C++ processes can't run program correctly.
2022-03-16 20:08:39 +08:00
Roy Qu
eb2e2bb58f
- fix: switch disassembly mode doesn't update contents
2022-03-16 19:48:20 +08:00
Roy Qu
69ca9f3a79
fix: definite loop when show tip for rand
2022-03-16 16:36:25 +08:00
Roy Qu
47212c2716
- fix: parse error in avxintrin.h
...
- fix: infinite loop when searching for using alias
2022-03-16 16:24:39 +08:00
Roy Qu
0fd70d7ab6
- fix: wrong font size of exported HTML file
2022-03-15 21:38:33 +08:00
Roy Qu
54592276c8
- fix: wrong font size of exported RTF file
...
- fix: correct tokenize statements like "using ::memcpy";
2022-03-15 21:33:27 +08:00
Roy Qu
d45c0b87b3
- fix: "ok" button should be disabled when no template selected in new project dialog
...
- enhancement: auto add parentheis when complete function like MARCOs
2022-03-15 20:17:47 +08:00
Roy Qu
021880b746
- fix: error when delete contents in column mode on lines that has wide-chars
...
- fix: error when create folder in files view
2022-03-15 15:34:34 +08:00
Roy Qu
469c5f21d3
- fix: error when insert text in column mode
2022-03-15 13:44:18 +08:00
Roy Qu
b56f549cf4
- enhancement: close editor when middle button clicked on it's title tab
2022-03-15 12:29:56 +08:00