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