Commit Graph

1010 Commits

Author SHA1 Message Date
Roy Qu b0bd6475cd Merge branch 'master' into git 2022-02-09 21:06:45 +08:00
Roy Qu 52e9a49b3a Merge branch 'projectview' 2022-02-09 20:50:10 +08:00
Roy Qu d81740257a fix: crash when there are catch block in the upper most scope 2022-02-09 20:50:01 +08:00
Roy Qu e53a66614d work save 2022-02-09 20:10:28 +08:00
Roy Qu 149148a635 work save
- basic git operations
2022-02-09 14:58:39 +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 cc43ac245a fix: delete multiple files in files view 2022-02-08 16:48:50 +08:00
Roy Qu acbbae24c6 - enhancement: remove / rename / create new folder in the files view 2022-02-08 16:36:20 +08:00
Roy Qu c7a9698c4b - enhancement: file system view mode for project 2022-02-08 12:33:10 +08:00
Roy Qu 9e5ce0a8ba work save 2022-02-08 00:24:08 +08:00
Roy Qu 7ebcc2d635 rename ProjectModel to ProjectLegacyModel 2022-02-07 22:05:19 +08:00
Roy Qu 6cbab4a646 - fix: typo error in the parser
- fix: typing after symbols like 'std::string' shouldn't show code completion suggestions
2022-02-07 09:53:02 +08:00
Roy Qu 3831c72558 fix: icons in contrast icon set not correctly drawn 2022-02-05 22:26:02 +08:00
Roy Qu 6b64927b94 update autolink settings for winsock 2 2022-02-05 00:55:57 +08:00
Roy Qu 785fe03e24 - fix: when running problem cases, the output textbox might be wrongly cleared. 2022-02-04 19:19:35 +08:00
Roy Qu 0099aa436a - fix: when running problem cases, the output textbox might be wrongly cleared. 2022-02-04 19:14:10 +08:00
Roy Qu 79aecde9a5 - fix: when running problem cases, the output textbox might be wrongly cleared. 2022-02-04 18:51:46 +08:00
Roy Qu 7e2a51b65f fix: CustomDisabledIconEngine's clone() not correct 2022-02-03 21:46:53 +08:00
Roy Qu 494832220a - fix: can't differentiate disabled and enabled buttons, when using contrast icon set 2022-02-03 21:44:45 +08:00
Roy Qu 1574ddd743 - fix: actions not correctly disabled when compile 2022-02-03 20:48:11 +08:00
Roy Qu bf422ad419 - fix: editor's font size set by ctrl+mouse wheel will be reset by open the option dialog 2022-02-03 07:45:59 +08:00
Roy Qu 50a39a08c7 remove all whatsthis button in dialog's titlebar 2022-02-02 17:34:37 +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 476899022f - enhancement: new contrast icon set, contributed by Alan-CRL
- enhancement: new contrast theme, contributed by Alan-CRL
2022-02-01 20:38:52 +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 5eb5c4d58b - enhancement: show caret at once, when edition finished 2022-02-01 14:09:27 +08:00
royqh1979@gmail.com c13ab76e73 work save 2022-01-31 11:57:33 +08:00
royqh1979@gmail.com c90d0f93ab minor change 2022-01-31 11:52:02 +08:00
Roy Qu fffa210a69 - enhancement: new sky blue icon set, contributed by Alan-CRL 2022-01-30 00:22:49 +08:00
Roy Qu 428a079b7f auto generate qrc files for iconsets, color schemes and themes 2022-01-30 00:01:15 +08:00
Roy Qu b76dcd89b1 update contributors and version number 2022-01-29 17:03:45 +08:00
royqh1979@gmail.com 33fb14db74 fixes: translation files can't be auto built 2022-01-29 00:12:12 +08:00
royqh1979@gmail.com 2cac889c92 - enhancement: show custom theme folder in options dialog -> enviroment -> folders 2022-01-28 23:38:35 +08:00
Roy Qu 4a06534d39 - enhancement: display localized theme name in the option dialog 2022-01-28 20:05:55 +08:00
Roy Qu e58ca80282 - fix: failed to show function tip, when there are parameters having '[' and ']'
- refactor iconmanager
2022-01-28 19:30:50 +08:00
Roy Qu 458b87ea64 remove qm file from sources (it should be generated by qmake) 2022-01-28 18:18:34 +08:00
royqh1979@gmail.com aeb1c36f07 - enhancement: custom theme 2022-01-28 16:13:20 +08:00
Roy Qu af4a872024 qt 5.12 compatible 2022-01-28 11:10:53 +08:00
Roy Qu 43bac6761b beautify icons 2022-01-28 10:19:54 +08:00
royqh1979@gmail.com a9f7cdd0e6 add timeout for flushing output buffer when running problem cases 2022-01-28 08:21:56 +08:00
royqh1979@gmail.com c45e0db7c7 beautify icons 2022-01-28 01:08:00 +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 f298cc7b47 - fix: mainwindow action's short cut doesn't work, if the action is not in menu or toolbar 2022-01-27 23:48:46 +08:00
Roy Qu 0c2d569cb9 add icon for local var 2022-01-27 21:47:21 +08:00
Roy Qu 00da09199b refine code completion ui 2022-01-27 21:27:51 +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
Roy Qu 620bdc8266 - fix: code folding calcuation not correct when some codes are folded and editing after them 2022-01-27 18:34:18 +08:00
Roy Qu 76dcd8b41f work save 2022-01-27 17:29:50 +08:00
royqh1979@gmail.com e1631c211a - enhancement: show custom icon set folder in options -> enviroment -> folders 2022-01-27 12:47:57 +08:00
royqh1979@gmail.com 15c6282c36 - make custom icons copied from resource writable 2022-01-27 12:33:00 +08:00
royqh1979@gmail.com f50eb61098 - enhancement: custom icon set ( in the configuration folder) 2022-01-27 12:08:57 +08:00
Roy Qu b114eb216c - enhancement: code completion find words with char in the middle 2022-01-27 01:03:01 +08:00
Roy Qu 8e179dd659 fix: shouldn't reset DPI when window is reshown 2022-01-26 22:53:15 +08:00
Roy Qu 99a47db9bc - enhancement: correct handle windows dpi change event 2022-01-26 21:36:31 +08:00
Roy Qu 5a82da83fb fix: dead loop when parsing function tips 2022-01-26 14:45:21 +08:00
Roy Qu a7557899d1 - enhancement: setting non-ascii font for editors 2022-01-26 14:31:26 +08:00
Roy Qu 894e587f7d - enhancement: show parameter tips for class constructors
- enhancement: when there are tips showing, don't show mouse tips
2022-01-26 12:17:15 +08:00
Roy Qu 83a4277e68 - fix: static members are not correct showed after Classname + '::' 2022-01-25 16:11:16 +08:00
Roy Qu ca9006ff4f - fix: can't show private & protected members of 'this'
- fix: function name like 'A::B' is not correctly parsed
2022-01-25 13:53:55 +08:00
Roy Qu eff521ed21 - fix: code completion popup won't show members of 'this' 2022-01-25 13:09:36 +08:00
Roy Qu 67f8629be3 - fix: when copy comments, don't auto indent
- enhancement: auto add a new line when press enter between '/*' and '*/'
2022-01-25 12:29:44 +08:00
Roy Qu db9f0f0219 change shortcuts 2022-01-25 11:11:38 +08:00
Roy Qu 0e620381d3 remove debug output 2022-01-24 21:46:38 +08:00
Roy Qu ee9db9cdfd - enhancement: parser not called when open a file, if option "clean parser symbols when hidden" is turned on. 2022-01-24 20:59:02 +08:00
Roy Qu d0faf50bad remove debug output 2022-01-24 18:39:06 +08:00
Roy Qu e89ac58462 - enhancement: auto zoom ui when screen's zoom factor changed (windows) 2022-01-24 18:37:16 +08:00
Roy Qu 1135fcf7dd - fix: search around option can't be disabled
- enhancement: show a confirm dialog when search/replace around
2022-01-24 18:03:35 +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
Roy Qu 3c132d69f3 - fix: if editor's active line color is disabled, caret's position may not be correct redrawn 2022-01-24 16:20:16 +08:00
Roy Qu 2c8a7d29dd - fix: indent lines displayed at wrong position, when there are folded lines 2022-01-24 16:08:24 +08:00
Roy Qu f21eded1ad - fix: when open a file, all blank lines's indents are removed. 2022-01-24 15:41:23 +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 722d02d688 - fix: project files' charset settings doesn't work correctly 2022-01-24 09:24:43 +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 609f611e8f - enhancement: highlighter for GLSL (OpenGL Shading Language) 2022-01-23 23:27:48 +08:00
Roy Qu 194dd3f3e4 - fix: Undo in the editor will lose line indents when no highlighter is assigned (the editing file is a not c/cpp source file); 2022-01-23 21:28:27 +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 df323d30c8 - fix: ctrl+click on the enum value will jump to the wrong line in it's definition file
- fix: line info in the mouse tip of statement not correct
2022-01-22 21:07:41 +08:00
Roy Qu c595b6e9da - fix: app crash when ctrl+click on a #include statement that point to a directory instead of header file. 2022-01-21 19:32:12 +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 e161ec42ae - fix: app will become very slow when processing very long lines. 2022-01-19 23:43:25 +08:00
Roy Qu 39f8c98a66 work savw 2022-01-18 21:03:43 +08:00
Roy Qu 02813587fd - fix: when show function tips, can't correctly calcuate the current position in the function param list 2022-01-18 20:31:07 +08:00
Roy Qu 3fca3e7216 fix: parser not correct initialized with the default compiler set 2022-01-18 13:29:48 +08:00
Roy Qu 52a29a4d43 - change: symbols that exactly match are sorted to the front in the code suggestion popup list
- fix: symbols defind locally should be sorted to the front in the code suggestion popup list
2022-01-18 13:23:21 +08:00
Roy Qu 5b699f2b46 - change: symbols that exactly match are sorted to the front in the code suggestion popup list 2022-01-18 13:08:53 +08:00
Roy Qu 532ba4917e - fix: If project's compiler set is not the same with the default compiler set, parser for the project doesn't use the project's compiler set
- fix: If project's compiler set is not the same with the default compiler set, auto openned project's file will use wrong compiler set to do syntax check.
2022-01-18 12:41:11 +08:00
Roy Qu 7602f3e6be - enhancement: restore editor position after rename symbol
- enhancement: restore editor position after reformat code
2022-01-17 12:34:51 +08:00
Roy Qu 264cb5ed1c Merge branch 'master' of github.com:royqh1979/RedPanda-CPP 2022-01-17 09:47:00 +08:00
royqh1979@gmail.com a1f297841a work save: application icons 2022-01-17 09:11:21 +08:00
Roy Qu b26201d166 work save: package script for windows 2022-01-16 15:08:54 +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 6be9190a8a - enhancement: better behavior of mouse tips 2022-01-15 11:33:41 +08:00
Roy Qu 04770a6fd8 - enhancement: better behavior of mouse tips 2022-01-15 11:22:20 +08:00
Roy Qu bf17e494fd fix: variable names containing '_' are not correctly handled 2022-01-15 11:01:01 +08:00
Roy Qu a102ee73fa - fix: wrong project program directory parameter is sent to the debugger 2022-01-13 20:19:47 +08:00
Roy Qu 82bbd7a846 fix: If a project is auto openned when start, close app will cause dead lock. 2022-01-13 17:15:57 +08:00
Roy Qu 0875d15d67 - fix: project's icon setting is not correctly saved
- fix: project's type setting won't be saved
  - fix: If project's compiler set is not the same with the default compiler set, auto openned project's file will use wrong compiler set to do syntax check.
  - fix: open a project file through "File"->"Open" will not correctly connect it with the project internally
2022-01-13 16:47:48 +08:00
Roy Qu bab728e792 - enhancement: add "wrap around" option to find/replace 2022-01-13 12:55:55 +08:00
Roy Qu a3e4f333ab - enhancement: ctrl+up/down scrolls in the editor 2022-01-13 07:39:56 +08:00
Roy Qu 1a6bd602c4 - fix: caret dispears when at '\t' under Windows 7 2022-01-12 22:25:57 +08:00
Roy Qu 19fc3302ed - fix: caret dispears when at '\t' under Windows 7 2022-01-12 22:21:40 +08:00
Roy Qu eefb65bcb4 - fix: parser can't correctly handle variable definitions that don't have spaces like 'int*x';
- fix: parser can't correctly handle function parameters like 'int *x'
2022-01-12 20:59:28 +08:00
Roy Qu 454df24e08 work save 2022-01-12 19:25:37 +08:00
Roy Qu 797a9b8498 - enhancement: redirect stdio to a file while debugging ( must use gdb server mode to debug) 2022-01-12 18:47:50 +08:00
Roy Qu 351f4e86ed clear up debug codes 2022-01-12 18:35:14 +08:00
Roy Qu 995b734334 - fix: crash when refactor symbol and cursor is at the end of the identifier
- fix: refactor symbol doesn't work for 1-length identifiers
2022-01-12 18:07:52 +08:00
Roy Qu d8413ab76c - enhancement: modify values in the watch view by double click 2022-01-12 17:14:39 +08:00
Roy Qu 3ca1a9fc4c - enhancement: modify values in the memory view while debugging
- enhancement: auto update watch, local and memory view after expression evaluated
  - enhancement: auto update watch, local and memory view after memory modified
2022-01-11 22:29:03 +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 0e0f954bec - enhancement: if there's no selection when copy/cut, select currect line by default 2022-01-10 18:37:00 +08:00
Roy Qu 5eec4ea504 remove info output for debugging
modification to the about info
2022-01-10 14:48:01 +08:00
Roy Qu c56b6c5414 add more templates 2022-01-10 10:53:16 +08:00
Roy Qu e30fa7bc0c - fix: crash when closing the options dialog under Ubuntu 20.04 LTS ( no memory leak now) 2022-01-09 17:42:23 -08:00
Roy Qu 9ea32df675 work save 2022-01-09 16:36:30 -08:00
Roy Qu 6849a10fbc work save 2022-01-09 16:35:57 -08:00
Roy Qu cd96297c35 update version to 0.13.2 2022-01-09 22:12:10 +08:00
Roy Qu 7fa4b072d0 - fix: "delete and exit" button in the environtment / page option page doesn't work correctly 2022-01-09 21:54:59 +08:00
Roy Qu 2204ac8ea1 make descriptions in the new dialog selectable 2022-01-09 19:50:56 +08:00
Roy Qu ece9737863 - enhancement: add raylib to autolinks
- enhancement: distribute raylib with integrated gcc
2022-01-09 19:44:49 +08:00
Roy Qu 6a7789ff77 - enhancement: add raylib to autolinks
- enhancement: distribute raylib with integrated gcc
2022-01-09 19:33:34 +08:00
Roy Qu 7f3aea5940 - fix: new project dialog's tab bar should fill all empty spaces 2022-01-08 21:49:09 +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 7a22bacd0c update version number 2022-01-08 13:51:34 +08:00
Roy Qu 04b18b1648 - fix: .rc file shouldn't be syntax checked 2022-01-08 13:39:47 +08:00
Roy Qu 6bc943ba9c - enhancement: suppoort localization info in project templates
- change: template / project files use utf-8 encoding instead of ANSI
2022-01-08 11:46:39 +08:00
Roy Qu 2d9472d179 fix: when drop project file to an empty folder, an additional blank row is displayed in that folder 2022-01-08 10:48:26 +08:00
Roy Qu 96f8804edd enhancement: sort folders before files in project view 2022-01-08 08:52:50 +08:00
Roy Qu 13ee2d7f33 - enhancement: auto sort files in the project view 2022-01-07 19:20:42 +08:00
Roy Qu 01d986170f update translations 2022-01-06 21:26:56 +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 3b0c8eccdb - enhancement: add raylib.h to autolink
- fix: shouldn't generate default autolink settings in linux
2022-01-06 17:52:52 +08:00
Roy Qu b604e0d548 - fix: crash when close settings dialog in Ubuntu 20.04 (but we'll leak memory now...) 2022-01-05 05:03:50 -08:00
Roy Qu e3b9565b84 support PREFIX in qmake script 2022-01-05 09:08:44 +08:00
Roy Qu 1859558864 work save 2022-01-05 08:18:47 +08:00
Roy Qu 95168077b9 Merge branch 'master' of github.com:royqh1979/RedPanda-CPP 2022-01-04 20:52:10 +08:00
Roy Qu dd91facca4 use qterminal as the default terminal emulator 2022-01-04 19:43:23 +08:00
Roy Qu 60c93d2f39 Merge branch 'master' of github.com:royqh1979/RedPanda-CPP 2022-01-04 18:05:23 +08:00
Roy Qu cc1e384001 fix: split command infinite loop 2022-01-04 17:04:03 +08:00
Roy Qu bb6a4ed9c8 qt 5.12 compatibility 2022-01-04 16:50:54 +08:00
Roy Qu 62a95eb305 Merge branch 'master' of github.com:royqh1979/RedPanda-CPP 2022-01-04 10:09:34 +08:00
Roy Qu a79b277d81 remove files that invalidate debian's package rules 2022-01-04 08:27:15 +08:00
Roy Qu 5410701c02 change chinese translations 2022-01-03 21:45:02 +08:00
Roy Qu ea9056d8f8 add new icon 2022-01-03 20:22:09 +08:00
Roy Qu 1d48991d20 - fix: debugger's "continue" button not correctly disabled 2022-01-03 20:18:53 +08:00
Roy Qu 69e5e76a6f work save 2022-01-02 11:43:23 +08:00
Roy Qu 212fdc37b2 - enhancement: assign a not saved editor to a problem 2022-01-02 10:37:00 +08:00
Roy Qu 1cc36564de - enhancement: open the corresponding source file from problem's context menu 2022-01-01 21:04:17 +08:00