Commit Graph

65 Commits

Author SHA1 Message Date
Roy Qu 0af113e2a1 auto remove a.exe generated by tcc 2022-12-25 12:00:09 +08:00
Roy Qu 2520ddf8f5 - enhancement: Show memory usage for problem cases. 2022-12-13 08:49:20 +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 052f4610ee - fix: crash when alt+mouse drag selection 2022-11-10 09:05:34 +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 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 15bbf15d38 work save 2022-09-26 12:01:45 +08:00
Roy Qu 71a728a868 work save 2022-09-25 17:43:31 +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 e920d230df - fix: "run current cases" dosen't correctly display real output 2022-05-26 21:22:07 +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 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 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 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
royqh1979@gmail.com 4e16a2e186 - change: rename "compile log" panel to "tools output"
- fix: debug panel can't be correctly show/hide
  - enhancement: redesign tools output's context menu, add "clear" menu item
  - update translations
2022-02-10 12:03:56 +08:00
Roy Qu 002f9d4805 - fix: mainwindow action's short cut doesn't work, if the action is not in menu or toolbar
- fix: when run all cases for a problem, processing of output is slow
2022-01-28 00:31:11 +08:00
Roy Qu 9af7c736d9 cement: If console pauser doesn't exist, warn and stop running programs. 2022-01-20 00:12:50 +08:00
Roy Qu e3b9565b84 support PREFIX in qmake script 2022-01-05 09:08:44 +08:00
Roy Qu bb6a4ed9c8 qt 5.12 compatibility 2022-01-04 16:50:54 +08:00
Roy Qu 13c79bb55d - enhancement: detach pausing console window
- use "-var-update" gdb command instead of "noop"
2021-12-29 22:03:18 +08:00
Roy Qu 88c5c836a6 - enhancement: redirect input to program in Linux 2021-12-29 19:15:50 +08:00
Roy Qu 3be06fe586 - fix: wrong executable filename for source files in linux
- enhancement: console pauser for linux
2021-12-29 13:16:03 +08:00
royqh1979@gmail.com 317db42876 add license information 2021-12-26 23:18:28 +08:00
royqh1979@gmail.com f3ab76d60a update version to 0.12.3 2021-12-26 21:26:00 +08:00
Roy Qu edc9fe6ed0 add options to set terminal 2021-12-25 23:38:53 +08:00
Roy Qu f2504e1f43 add options for gdb server
debug with gdb server
2021-12-25 18:09:50 +08:00
Roy Qu 9fc4b0ff09 - enhancement: run programs in terminal (under Linux)
- fix:  monospace font doesn't exists under Debian Linux
 - fix: files are readonly when opened in editor
2021-12-25 08:23:52 +08:00
Roy Qu b956dbbcab - enhancement: enable run/debug/compile when console program finished but pausing. 2021-12-23 17:07:27 +08:00
Roy Qu 436a299ebb - enhancement: set font for problem case input/output textedits
- enhancement: when run problem cases, updates output immediately
2021-12-15 19:12:16 +08:00
Roy Qu 319c26902c - fix: path in macros should use system's path separator 2021-12-09 08:10:14 +08:00
Roy Qu cd1e20c2d7 - fix: restore caret position after reformat code
- enhancement: ask user to rebuild project, when run/debug the project and it has been modified
 - fix: correct set the enabled state of "delete line"/"insert line"/"delete word"/"delete to BOL"/"delete to EOL" menu items
2021-11-23 10:32:33 +08:00
Roy Qu 69ba84fc86 - fix: the count in the title of issues view isn't correct 2021-11-22 18:42:58 +08:00
royqh1979@gmail.com b62c166638 - fix: highlighter can't correctly find the end of ANSI C-style Comments 2021-11-07 19:54:48 +08:00
royqh1979@gmail.com 1b9fdd3020 - change: "save" action will be enabled no matter contents in the current editor is modified or not 2021-11-01 23:14:17 +08:00
royqh1979 e82723c6f8 work save 2021-11-01 20:44:08 +08:00
royqh1979 9f4e8344a3 work save: oj problem cases runner 2021-11-01 09:18:23 +08:00
royqh1979@gmail.com 1853332141 clean up debug code 2021-10-29 12:29:21 +08:00
royqh1979 59ea699fb7 refactor codes that run programs 2021-10-25 09:16:00 +08:00
royqh1979 7bb59955e6 - enhancement: when running a program, redirect a data file to its stdin 2021-10-24 23:13:00 +08:00
royqh1979 581e59d719 - fix: issue count not correctly displayed when syntax check/compile finished
update translations
2021-10-23 16:18:02 +08:00
royqh1979 5c9ef2035e clean up compile warnings 2021-10-20 18:05:43 +08:00
royqh1979@gmail.com a16562f6ce - fix: The Enter key in the numpad doesn't work
- fix: The compiled executable not fully write to the disk before run it
 - fix: settings object not correctly released when exit
 - fix: shouldn't check syntax when save modifications before compiling
 - fix: shouldn't scroll to the end of the last line when update compile logs
 - fix: can't debug project
2021-10-09 11:33:23 +08:00
royqh1979@gmail.com 1c745871b2 - enhancement: don't add encoding options when using clang to compile (clang only support utf-8) 2021-10-04 00:18:16 +08:00
royqh1979@gmail.com 4634c0fbbc - change: continue to run / debug if there are compiling warnings (but no errors) 2021-09-26 22:52:19 +08:00
royqh1979@gmail.com 6ec3cfbfca fix: enum values no correctly displayed 2021-09-26 19:40:52 +08:00
royqh1979@gmail.com b6df4fcf41 - fix: debug very slow when local infos are long
- fix: wrong code fold calculation
2021-09-19 14:28:30 +08:00
royqh1979@gmail.com 7f14720666 * update chinese translations
* make clean for project done
2021-09-17 21:33:19 +08:00
royqh1979 78ea33d152 - done: view makefile 2021-09-17 19:58:37 +08:00