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
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
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
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
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
a9f7cdd0e6
add timeout for flushing output buffer when running problem cases
2022-01-28 08:21:56 +08:00
Roy Qu
ebe2dbb95e
- fix: editor crash when no highlighter is assigned (the editing file is a not c/cpp source file);
...
- fix: ')' not correctly skip in the editor when no highlighter is assigned (the editing file is a not c/cpp source file);
2022-01-23 21:04:08 +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
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
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
Roy Qu
1fe9be9791
add app library path
2021-12-26 15:08:54 +08:00
Roy Qu
7f4840a299
basic linux compatibily
2021-12-24 23:18:20 +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
879f001d0c
- fix: current line of the disassembly in the cpu window not correctly setted
...
- enhancement: add "step into one machine instruction" and "step over one machine instruction" in the cpu window
2021-12-16 10:46:38 +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
c3ea1e6dd4
- enhancement: recalc layout info for code editors when dpi changed
2021-12-13 19:10:16 +08:00
royqh1979@gmail.com
8b7d19f94e
work save
2021-11-12 10:51:00 +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
9f4e8344a3
work save: oj problem cases runner
2021-11-01 09:18:23 +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
5c9ef2035e
clean up compile warnings
2021-10-20 18:05:43 +08:00
royqh1979@gmail.com
77356215aa
- enhancement: paint color editor use system palette's disabled group color
...
- fix: add watch not work when there's no editor openned;
- enhancement: rainbow parenthesis
- enhancement: run executable with parameters
2021-09-19 17:59:03 +08:00
royqh1979@gmail.com
6fc5f5995f
work save:
...
- fix: left panel size not correctly saved
- fix: cant run programs not statically linked
- project files option widget
2021-09-14 23:56:08 +08:00
royqh1979
9ce9469dd2
feature: seperate gcc default dirs from user settings
2021-09-04 20:49:44 +08:00
royqh1979
ad2310d4b5
- remove runner crash message dialog
2021-09-04 19:37:33 +08:00
royqh1979@gmail.com
62527a04ae
work save
2021-08-01 23:24:37 +08:00
royqh1979
effd416389
* work save: compile & run
2021-06-25 12:40:11 +08:00
royqh1979@gmail.com
807cd1502e
* can run compiled exe now
...
* correctly set editor line number width
2021-04-21 18:58:35 +08:00