Commit Graph

283 Commits

Author SHA1 Message Date
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 9545ad9b6f - fix: compiler settings not correctly saved 2022-06-13 16:31:41 +08:00
Roy Qu 10fb1d5c17
Merge pull request #45 from RigoLigoRLC/MacHack
WIP:添加MacOS支持,顺便对不同平台设置默认界面字体
2022-05-30 18:16:27 +08:00
RigoLigo c8b1fbbc83 Added default font for MacOS 2022-05-30 17:10:10 +08:00
RigoLigo a7597930de Improved default interface font 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 d1024e4c9d panel size can be saved 2022-05-22 14:31:13 +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 106bf4281a disable undo limit by default 2022-05-19 13:19:47 +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 9b80407f88 - change: stop generating 'profile' compiler set 2022-05-09 17:17:01 +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 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 9d401cce42 - enhancement: prefer local headers over system headers when complete #include header path 2022-04-14 22:25: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 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 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 5789aeee45 - enhancement: auto detect "gbk" encoding when running in zh_CN locale under Linux
- enhancement: disable encoding submenu when editor closed
  - enhancement: clear infos in the status bar when editor closed
2022-03-12 17:37:53 +08:00
Roy Qu 416023dc60 - enhancement: optimize startup time 2022-03-11 20:51:33 +08:00
Roy Qu 82ecab9c90 - enhancement: reduce startup time by about 1 second.
- enhancement: add option "mouse selection/drag scroll speed" in the options dialog's "Editor" / "general" tab.
  - fix: scroll speed of mouse selection/drag is too fast.
2022-03-04 19:04:45 +08:00
Roy Qu ee59d80bdb - enhancement: enable group undo
- enhancement: add option "hide symbols start with underscore" and "hide synbols start with two underscore"
  - fix: can't rename project files that not openned in editor
  - fix: dpi changes in CPU window shouldn't affect main window
2022-03-01 22:03:54 +08:00
Roy Qu cc0b209e2f - enhancement: option "open files in the same red panda C++ instance", in options->environment->file associations
- enhancement: hide unsupported files in files view
2022-02-28 22:40:09 +08:00
Roy Qu 636e05f505 - fix: the "gnu c++ 20" option in compiler set options is wrong 2022-02-26 20:29:19 +08:00
royqh1979@gmail.com 162121efa2 - enhancement: let user choose app theme when first run 2022-02-24 17:33:19 +08:00
royqh1979@gmail.com 205d517fcd - enhancement: clear history in file -> recent menu
- enhancement: close project in project view's context menu
  - enhancement: auto find compiler sets when run for the first time
2022-02-23 13:17:57 +08:00
Roy Qu a2289463f9 - fix: compiler set index not correctly saved, when remove compiler sets in options dialog 2022-02-15 22:45:14 +08:00
Roy Qu c58b76d7cd fix: git auto found not correctly saved 2022-02-15 22:26:24 +08:00
Roy Qu d09c101dd6 Merge branch 'git' 2022-02-15 17:23:07 +08:00
royqh1979@gmail.com 54afa319a7 - enhancement: custome icons for project view 2022-02-15 17:01:36 +08:00
Roy Qu 664922a301 - fix: convert to encoding setting in compiler set option not correctly handled
work save:
  git repository class
2022-02-15 00:01:50 +08:00
Roy Qu 18d5a6c1ab initial work
- settings for git execute path
 - a git manager
2022-02-08 23:38:29 +08:00
Roy Qu 9e3f593641 - enhancement: theme now have default icon set
- fix: wrong icons for file associations
2022-02-01 21:39:31 +08:00
royqh1979@gmail.com 425b4a4e96 fix: crash while delete headers created by new header dialog 2022-02-01 16:17:28 +08:00
royqh1979@gmail.com aeb1c36f07 - enhancement: custom theme 2022-01-28 16:13:20 +08:00
Roy Qu 43bac6761b beautify icons 2022-01-28 10:19:54 +08:00
Roy Qu 771ccec745 - enhancement: code completion ui redesigned 2022-01-27 20:31:44 +08:00
Roy Qu 656ab3eaed auto save new class dialog widht/height 2022-01-27 18:46:37 +08:00
royqh1979@gmail.com f50eb61098 - enhancement: custom icon set ( in the configuration folder) 2022-01-27 12:08:57 +08:00
Roy Qu a7557899d1 - enhancement: setting non-ascii font for editors 2022-01-26 14:31:26 +08:00
Roy Qu 05e7d42447 - fix: crash if compiler set's include dir list is not empty and lib dir list is empry 2022-01-24 16:45:43 +08:00
royqh1979@gmail.com 4797c15b04 - enhancement: add exec charset option to compiler set settings 2022-01-24 11:23:30 +08:00
royqh1979@gmail.com d9f36ae3cd work save: fix project file encoding setting
compiler set - exec charset setting
2022-01-24 01:08:47 +08:00
Roy Qu 6209b1ff05 - fix: in linux, projects no need of winres to be built
update debian pacakges files
2022-01-15 12:25:30 +08:00
Roy Qu 8edace1c1d - enhancement: add "minimum id length required to show code completion" to the options dialog's editor code completion page 2022-01-10 21:46:03 +08:00
Roy Qu 3d9edcad57 - enhancement: support ligatures in fonts like fira code ( disabled by default, can be turned on in options dialog's editor font page) 2022-01-10 20:16:26 +08:00
Roy Qu 9775ab6c84 - enhancement: auto save/restore size of the new project dialog 2022-01-08 21:23:20 +08:00
Roy Qu 8732f7d37e - fix: shouldn't auto add /bin/gcc to compiler sets
- fix: if a dir duplicates in PATH, don't add it to compiler sets
repeatedly
- enhancement: add "--sanitize=address" to compile option in the Debug
compiler set in Linux
2022-01-06 20:46:27 +08:00
Roy Qu e3b9565b84 support PREFIX in qmake script 2022-01-05 09:08:44 +08:00
Roy Qu dd91facca4 use qterminal as the default terminal emulator 2022-01-04 19:43:23 +08:00
Roy Qu bb6a4ed9c8 qt 5.12 compatibility 2022-01-04 16:50:54 +08:00
Roy Qu 158155d539 use custom astyle 2021-12-30 10:06:27 +08:00
Roy Qu 2936f688dd linux qmake 2021-12-30 09:04:51 +08:00
Roy Qu 63e1b44fa5 - fix: can't reformat code
- enhancement: add option for setting astyle path
 - fix: wrong file wildcard (*.*) in linux
2021-12-27 22:46:54 +08:00
Roy Qu fe8d3e9663 - fix: compile error in linux
- fix: can't receive gdb async output for commands
2021-12-27 21:32:30 +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 cce3d45d59 disable copy as html in linux 2021-12-25 23:46:12 +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 7f4840a299 basic linux compatibily 2021-12-24 23:18:20 +08:00
Roy Qu 655bad6715 - enhancement: select icon sets in options dialog ( but we have only 1 icon set now...) 2021-12-24 09:17:28 +08:00
Roy Qu 6c413fe8f9 - enhancement: icons in all dialogs auto change size with fonts
- enhancement: save/restore sizes of CPU dialog and settings dialog
2021-12-23 09:11:58 +08:00
Roy Qu 74fdf1ebef - fix: left and right gutter offset settings not correctly saved
- enhancement: use svg icons for editor gutter, and they can zoom with font now
2021-12-20 09:36:18 +08:00
Roy Qu 959cdab6cb use point as the unit for font size in configuration 2021-12-17 09:05:01 +08:00
Roy Qu b2caf38e89 - fix: use pixel size for fonts, to fit different dpi in multiple displays 2021-12-16 19:14:14 +08:00
Roy Qu 2d65e1d93b - fix: can't correctly set TDM-GCC compiler
- fix: auto add 32-bit compiler sets for TDM64-GCC
2021-12-16 11:36:52 +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 51b344eb59 - enhancement: use "Microsoft Yahei" as the default UI font whe running in Simplified Chinese Windows 2021-11-30 22:39:24 +08:00
royqh1979@gmail.com efdd4cd28c - enhancement: add option "ignore spaces when validating problem cases" to the "Executor"/"Problem Set" option tab. 2021-11-27 15:43:47 +08:00
Roy Qu 3abbf66251 add "open cpu window when signaled" debug option 2021-11-25 10:18:21 +08:00
royqh1979 c7a6412986 - fix: executor / problem set options not correctly saved 2021-11-19 08:11:33 +08:00
royqh1979 1c9bb49799 - enhancement: save/load default projects folder
- enhancement: add editor general options "highlight current word" and "highlight matching braces"
2021-11-18 21:25:28 +08:00
royqh1979 b8f75cb337 - fix: ide failed to start, if there are errors in the compiler set settings 2021-11-18 10:42:41 +08:00
royqh1979@gmail.com 4e7269cbf0 - enhancement: auto save/load the default open folder in the configuration file 2021-11-10 10:42:33 +08:00
royqh1979 5878f59958 - enhancement: View menu
- enhancement: hide/show statusbar
 - enhancement: hide/show left/bottom tool window bars
 - enhancement: hide/show individual left/bottom tool window
2021-11-09 21:22:50 +08:00
royqh1979@gmail.com 64e4ec3176 work save 2021-11-09 12:31:37 +08:00
royqh1979@gmail.com 78c3387d7f - fix: correctly display watch & local variable names when debugging 2021-11-08 22:00:49 +08:00
royqh1979@gmail.com 4259480471 - fix: correct set the position of chinese input methods 2021-11-08 21:19:48 +08:00
royqh1979 f167e10c12 - enhancement: auto clear parsed symbols when the editor is hidden ( to reduce memory usage of un-active editors) 2021-11-08 09:19:50 +08:00
royqh1979 2dc8896fbe - change: memory view and locals view use debug console's font settings 2021-11-06 19:31:16 +08:00
royqh1979@gmail.com 6183542f34 fix: correctly test if it's green edition 2021-11-05 12:37:40 +08:00
royqh1979@gmail.com 32e354b800 - fix: can't correctly test if it's not running in green mode
update README.md
2021-11-05 11:48:46 +08:00
royqh1979@gmail.com 02d935fb32 - change: turn on gcc compiler's "-pipe" option by default, to use pipe instead of temp files in compiliation (and make the life of SSD longer)
- fix: correctly save input histories for the find combo box in the Find dialog
 - add installer scripts
2021-11-05 10:44:23 +08:00
royqh1979@gmail.com 88a7c46eda - enhancement: Problem Set
- enhancement: Competitive Companion Support
 - fix: when search in project, files opened for search shouldn't be parsed for symbols.
 - fix: when search in project, the search history is not correctly updated.
2021-11-02 13:12:36 +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@gmail.com fde31ce7b5 - enhancement: more accurate auto indent calculation
- change: remove "add indent" option in the editor general options widget ( It's merged with "auto indent" option)
2021-10-29 15:15:43 +08:00
royqh1979 a3c335eed6 - fix: options not correctly set when change compiler set in the project settings
- change: reset compiler settings when change the project compiler set
2021-10-25 21:36:23 +08:00
royqh1979 c7205f572e - enhancement: "use utf8 by default" in editor's misc setting 2021-10-24 13:03:54 +08:00
royqh1979 c3be38b9b6 - fix: file path seperator used in the app is not unified, and cause errors somtimes. 2021-10-23 17:32:03 +08:00
royqh1979@gmail.com 7a5b6b8efc - implement: files view 2021-10-22 15:02:54 +08:00
royqh1979 d2ca199024 work save 2021-10-22 07:42:51 +08:00
royqh1979 3e442b0860 - enhancement: autosave/load bookmarks
- enhancement: autosave/load breakpoints
 - enhancement: autosave/load watches
2021-10-21 19:33:11 +08:00
royqh1979@gmail.com e2751fc693 - enhancement: set mouse wheel scroll speed in the editor general option tab ( 3 lines by default) 2021-10-20 12:27:44 +08:00
royqh1979@gmail.com 25d83d0e8d - enhancement: fill indents in the editor (Turned off by default) 2021-10-20 11:14:49 +08:00
royqh1979@gmail.com 7eda4e35b3 - implement: export as rtf / export as html
- fix: the contents copied/exported are not correctly syntax colored
 - fix: stop execution if the source file is not compiled and user choose not to compile it
 - fix: not correctly parse gdb's output
 - fix: path not correctly setted for the debugger process
 - fix: indent line not correctly drawed
2021-10-12 19:39:24 +08:00
royqh1979@gmail.com 3a81281f7d - change: enable copy as HTML by default
- fix: unneeded empty lines when copy as HTML
2021-10-10 22:19:48 +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 8b4fa1f0fc - implement: default settings for code formatter
- implement: remove all custom settings
2021-10-08 20:01:29 +08:00
royqh1979@gmail.com b28d2d4ab4 - implement: when startup , open file provided by commmand line options
- implement: open files pasted by clipboard
2021-10-04 20:05:24 +08:00
royqh1979@gmail.com 0ae9b92924 - implement: register file associations 2021-10-04 19:23:52 +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 bed1dab265 - implement: correctly recognize clang (msys2 build) 2021-10-03 23:46:40 +08:00
royqh1979@gmail.com 7c68fc4f75 - fix: when press shift, completion popu window will hide
- enhancement: options in debugger setting widget, to skip system/project/custom header&project files when step into
2021-09-28 14:18:51 +08:00
royqh1979@gmail.com 1d2357c374 class browser done 2021-09-26 16:25:17 +08:00
royqh1979@gmail.com b9d26494b6 work save 2021-09-21 20:41:17 +08:00
royqh1979@gmail.com 95cb5ea52e - enhancement: options for editor tooltips 2021-09-21 20:36: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 02b3d43e5d work save: new project dialog 2021-09-16 12:03:10 +08:00
royqh1979@gmail.com b8533e3ced fix: can't correctly generate project resource file for compile
add: project compiler set option dialog
2021-09-15 11:23:42 +08:00
royqh1979@gmail.com 85e9b4d697 work save: open project 2021-09-11 18:42:49 +08:00
royqh1979 527fc3b634 work save 2021-09-11 11:42:20 +08:00
royqh1979@gmail.com 98db43420c work save 2021-09-09 11:47:04 +08:00
royqh1979@gmail.com 090a6d3e1e work save 2021-09-07 10:28:40 +08:00
royqh1979 9244370ea4 work save 2021-09-04 21:20:30 +08:00
royqh1979 9ce9469dd2 feature: seperate gcc default dirs from user settings 2021-09-04 20:49:44 +08:00
royqh1979 64698287fc work save: translation updates 2021-09-04 19:27:44 +08:00
royqh1979@gmail.com 35255a85fa feature: auto link options dialog 2021-09-04 16:34:14 +08:00
royqh1979@gmail.com f300fe15c4 * turn on "statically link libs" by defaultCFileFilter
* fix: qt can't correctly give system default encoding name
2021-09-03 20:55:14 +08:00
royqh1979 eb38c97409 work save 2021-09-02 21:08:31 +08:00
royqh1979 3ff0bdd579 compatible with old compiler settings 2021-09-02 21:01:23 +08:00
royqh1979 805533664f - feature: save/restore main window layout
- feature: hide/show left panel
 - feature: double click editor title to maximize/restore it
 - fix: editor not updated when parser done
2021-09-02 19:36:16 +08:00
royqh1979@gmail.com 9ee608891c work save 2021-09-02 16:46:53 +08:00
royqh1979@gmail.com 7467934c98 feature: save main window and toolbar layout 2021-09-02 16:35:28 +08:00
royqh1979@gmail.com 2778e9f4bd feature: astyle reformat option dialog 2021-09-01 22:40:58 +08:00
royqh1979@gmail.com 4d16ef70c8 - feature: code reformatter setting dialog 2021-09-01 15:14:40 +08:00
royqh1979@gmail.com 09ef6c8ede work save 2021-09-01 00:05:46 +08:00
royqh1979 633f4f73ee work save 2021-08-31 19:15:11 +08:00
royqh1979@gmail.com 08805cfb7e - feature: autosave 2021-08-30 22:05:45 +08:00
royqh1979 08ac0ad419 - feature: choose c or c++ as default file type 2021-08-30 18:36:44 +08:00
royqh1979 74fbeffeef - fix: compiler options is not translated 2021-08-30 18:07:55 +08:00
royqh1979 dd39b251b4 - feature: code completion settings dialog
- Simplified Chinese translation updated
- fix: crash when new a file
2021-08-30 16:59:08 +08:00
royqh1979 692ff570e2 Simplified Chinese translation updated
- fix: error when syntax checking for header file
 - open the included header file when double click it
 - use QEvent::HoverXXX messages instead of QEvent::Tooltip to handle hint tips
 - fix: type hint for functions is wrong
2021-08-30 13:30:42 +08:00
royqh1979@gmail.com 7207994d57 work save: header completion suggestion done 2021-08-29 10:14:07 +08:00
royqh1979@gmail.com f1ae5bfdfd work save: header completion 2021-08-29 00:48:23 +08:00
royqh1979@gmail.com a5239aea48 work save 2021-08-27 16:38:55 +08:00
royqh1979@gmail.com 34dd3eb474 work save
- add: cpu window blend mode
 - fix: asm parser can't correctly parse numbers
 - fix: disassembly code in the cpu window not correctly updated
2021-08-13 11:18:42 +08:00
royqh1979@gmail.com 3a019a7180 work save 2021-08-07 14:08:51 +08:00
royqh1979@gmail.com 813bacebfb work save 2021-08-02 10:08:25 +08:00
royqh1979@gmail.com 62527a04ae work save 2021-08-01 23:24:37 +08:00
royqh1979@gmail.com d89866803c work save 2021-08-01 01:06:43 +08:00