Commit Graph

548 Commits

Author SHA1 Message Date
Roy Qu 784d94c541 - fix: don't add non-project header files to makefile's object rules 2022-04-09 09:35:17 +08:00
Roy Qu 39a0f87b94 - fix: can't build project that has source files in subfolders
- fix: can't build project that has custom object folder
  - fix: buttons in the project option dialog's output page don't work
2022-04-08 22:14:18 +08:00
Roy Qu 628b247fcb - enhancement: redesigned new project unit dialog 2022-04-08 18:12:40 +08:00
Roy Qu 2e0357e652 - enhancement: don't show folders that doesn't contain files in the project view
work save:  - enhancement: redesigned new project unit dialog
2022-04-08 17:22:24 +08:00
Roy Qu 01662a95d1 - fix: auto syntax check doesn't work for new files
- change: don't auto jump to the first syntax error location when compile
2022-04-07 21:35:09 +08:00
Roy Qu 7e284b98f2 - fix: don't show tips in the editor, when selecting by mouse 2022-04-07 17:30:06 +08:00
Roy Qu f93a57c82d - fix: ctrl+shift+end doesn't select 2022-04-07 15:16:11 +08:00
Roy Qu 7d86c6e5b1 - fix: crash when editing txt file and input symbol at the beginning of a line 2022-04-03 11:54:07 +08:00
Roy Qu 9302439fcb - fix: can't compile under linux
- enhancement: support Devcie Pixel Ratio ( for linux )
2022-04-02 18:22:29 +08:00
Roy Qu 431f5bbced - enhancement: shift+ctrl+down/up to move currenlt selection lines up / down 2022-04-01 23:10:38 +08:00
Roy Qu 5e349ec21e - fix: when oj problem grabbed by competitive companion received,
the app is restored to normal state, no matter it's current state.
  - enhancement: input shortcut in the option dialog's general -> shortcut page by pressing keys.
2022-04-01 21:09:24 +08:00
Roy Qu f7a6db7005 - change: only auto complete symbol '(' when at line end, or there are spaces or right ')' '}' ']'after it
- fix: mouse drag may fail when start drag at the right half of the selection's last character
2022-03-31 19:36:46 +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 c30164a58a - fix: crash when rename an openned file, and choose "no" when ask if keep the editor open 2022-03-30 23:19:51 +08:00
Roy Qu eb4eadabbc - fix: vector vars can't be expanded in the watch panel 2022-03-30 20:21:33 +08:00
Roy Qu 461df394cb - fix: when open a project, and it's missing compiler set getten reset, it's modification flag is not correctly set. 2022-03-30 20:15:15 +08:00
Roy Qu 17516c8111 - fix: error in auto generate makefile under linux 2022-03-30 19:50:55 +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 1d845cc843 update NEWS.md
- enhancement: display line number in problem case's input/output/expected input controls
2022-03-29 21:42:37 +08:00
Roy Qu 6754c014c9 - enhancement: only tag the first inconstantency when running problem case, to greatly reduce compare & display time 2022-03-29 21:41:02 +08:00
Roy Qu a1614cef68 - enhancement: display problem case running time
- enhancement: set problem case input/expected output file
  - enhancement: auto position cursor in expected with output's cursor
2022-03-29 18:06:24 +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 3ba5811edf - enhancement: refine behavior of undo input space char 2022-03-26 11:49:41 +08:00
Roy Qu 225eb1961a - enhancement: press tab in column mode won't exit column mode 2022-03-26 09:54:06 +08:00
Roy Qu 0fc995e56a - enhancement: draw cursor for column mode
- enahcnement: edit/delete in multiline ( column mode), press ese to exit
2022-03-25 22:13:00 +08:00
Roy Qu 8b224010e0 - enhancement: alt+shift+arrow do column selection
- fix: input may cause error, if selection in column mode and begin/end at the same column
  - enhancement: draw selection line if selection in column mode and begin/end at the same column
2022-03-25 12:59:53 +08:00
Roy Qu c979ef1505 - enhacement: alt+shift+arrow do column selection 2022-03-25 10:43:07 +08:00
Roy Qu 96631049eb - fix: goto declaration by ctrl+click will incorrectly select contents 2022-03-24 10:55:17 +08:00
Roy Qu 33f838ef6a - enhancement: switch capslock won't cancel code completion
- enhancement: double click on item in code completion list will use it to complete
2022-03-24 08:24:10 +08:00
Roy Qu 2c4b692033 - enhancement: slightly reduce memory usage for code parser 2022-03-23 12:03:41 +08:00
Roy Qu 6e4d36aade - fix: disable code completion doesn't correctly disable project parser 2022-03-22 19:08:26 +08:00
Roy Qu 8fe0854f92 update news.md 2022-03-22 15:45:06 +08:00
Roy Qu da0be0af98 - enhancement: auto restore mainwindow when open files in one instance 2022-03-21 18:06:47 +08:00
Roy Qu 947374b907 - fix: when editor font is too small, fold signs on the gutter are not correctly displayed
- fix: expand fold signs on the gutter are not correct
2022-03-20 20:56:21 +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 12e772747c - enhancement: shortcut for goto definition/declaration
- change: ctrl+click symbol will goto definition, instead of got declaration
2022-03-19 15:33:15 +08:00
Roy Qu fc11f1223b - fix: corresponding '>' not correctly removed when deleting '<' in #include line 2022-03-19 14:26:06 +08:00
Roy Qu b0c8526d97 - fix: order for parameters generated by auto link may not correct 2022-03-19 14:19:32 +08:00
Roy Qu 49297431b6 - enhancement: press alt to switch to column selection mode while selection by mouse dragging in editor 2022-03-19 10:27:31 +08:00
Roy Qu ab4ca36fa4 - fix: hide function tip when scroll
- fix: short cut for goto definition/declaration doesn't work
2022-03-18 23:13:43 +08:00
Roy Qu d840622b58 - fix: only convert project icon file when it's filename doesn't end with ".ico" 2022-03-18 19:14:19 +08:00
Roy Qu 49080b88e1 - change: remove shortcuts for line/column mode 2022-03-17 20:57:43 +08:00
Roy Qu 12edcb22a5 - fix: correctly reparse modified project files when rename symbol 2022-03-17 20:28:03 +08:00
Roy Qu 23f34af034 - enhancement: auto convert project icon to ico format 2022-03-17 17:07:28 +08:00
Roy Qu 8cbcbb4b98 - fix: hits in the search view not correctly displayed (overlapped with others) 2022-03-17 15:09:48 +08:00
Roy Qu 5d6bf0dbb5 - enhancement: create file in files view 2022-03-17 10:46:24 +08:00
Roy Qu 8e00d50d1e - enhancement: ctrl+enter insert a new line at the end of current line 2022-03-16 21:13:59 +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
Roy Qu eb2e2bb58f - fix: switch disassembly mode doesn't update contents 2022-03-16 19:48:20 +08:00
Roy Qu 47212c2716 - fix: parse error in avxintrin.h
- fix: infinite loop when searching for using alias
2022-03-16 16:24:39 +08:00
Roy Qu 0fd70d7ab6 - fix: wrong font size of exported HTML file 2022-03-15 21:38:33 +08:00
Roy Qu 54592276c8 - fix: wrong font size of exported RTF file
- fix: correct tokenize statements like "using ::memcpy";
2022-03-15 21:33:27 +08:00
Roy Qu d45c0b87b3 - fix: "ok" button should be disabled when no template selected in new project dialog
- enhancement: auto add parentheis when complete function like MARCOs
2022-03-15 20:17:47 +08:00
Roy Qu 021880b746 - fix: error when delete contents in column mode on lines that has wide-chars
- fix: error when create folder in files view
2022-03-15 15:34:34 +08:00
Roy Qu 469c5f21d3 - fix: error when insert text in column mode 2022-03-15 13:44:18 +08:00
Roy Qu b56f549cf4 - enhancement: close editor when middle button clicked on it's title tab 2022-03-15 12:29:56 +08:00
Roy Qu 65beccdbd1 Merge branch 'master' of github.com:royqh1979/RedPanda-CPP
# Conflicts:
#	NEWS.md
2022-03-15 00:20:33 +08:00
Roy Qu 5a338ef892 - fix: correctly reset caret when redo cut with no selection 2022-03-15 00:15:35 +08:00
Roy Qu 1a0267de7b - fix: when no selection, copy/cut should auto select whole line with the line break 2022-03-14 23:55:02 +08:00
Roy Qu 265422a50d - enhancement: **Linux** convert to "gbk"/"gb18030" encodings when run under "zh_CN" locale 2022-03-13 20:54:50 +08:00
Roy Qu 79b8478af3 - enhancement: match bracket 2022-03-13 18:45:48 +08:00
Roy Qu dd5ce57608 - enhancement: disable "code completion" will disable enhanced syntax highlight 2022-03-13 18:31:05 +08:00
Roy Qu 0286043cd7 - fix: syntax color of #include header filenames not correct 2022-03-12 21:42:32 +08:00
Roy Qu 35068cb3ed - enhancement: toggle block comment 2022-03-12 18:15:37 +08:00
Roy Qu 9eac0fed26 - fix: wrong selection when drag & dropped in editor 2022-03-12 18:03:52 +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 c563a32be1 - fix: batch replace in file doesn't respect item check states in the find panel 2022-03-11 21:12:44 +08:00
Roy Qu 416023dc60 - enhancement: optimize startup time 2022-03-11 20:51:33 +08:00
Roy Qu 42af39d28f - enhancement: adjust tab order in the find dialog
- enhancement: highlight hits in the find panel's result list
2022-03-11 17:13:07 +08:00
Roy Qu 1b240f21ee - fix: Refresh files view shouldn'tchange open/save dialog's default folder
- enhancement: "locate in files view" will request user's confirmation when change the working folder
2022-03-10 20:28:01 +08:00
Roy Qu 6a05496b6f - fix: calculation for code snippets's tab stop positions is not correct 2022-03-10 13:07:07 +08:00
Roy Qu dad39f6f74 - change: "locate in files view" won't change the working folder, if current file is in subfolders of the working folder
- enhancement: hide function tips, when input method is visible
2022-03-10 12:15:44 +08:00
Roy Qu 44d5453263 - enhancement: use expression processing in syntax highlighting for identifiers
- fix: if a function's declaration can't be found, it will be wrongly highlighted as variable
2022-03-08 22:29:15 +08:00
Roy Qu 2a84679f7c - fix: save project's layout shouldn't modify the project file 2022-03-08 20:36:30 +08:00
Roy Qu fa9916e28e - enhancement: symbol completion when editor has selection 2022-03-07 21:53:52 +08:00
Roy Qu 81f404d63c - fix: crash when open a project that contains custom folder 2022-03-07 21:10:59 +08:00
Roy Qu b436312d19 - fix: undo one symbol completion as a whole operation 2022-03-07 20:51:56 +08:00
Roy Qu 1b8f3de21f - fix: calculation of caret position is not in consistence. 2022-03-07 20:30:45 +08:00
Roy Qu dafac73e12 - fix: the scroll behavior of mouse dragging on the editor's edge is not correct 2022-03-04 19:10:09 +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 96de964484 - enhancement: better support of ligatures
- enhancement: use the expression evaluation logic to handle "goto declaration"/"goto definition"
2022-03-04 16:40:16 +08:00
Roy Qu 6a6f1a68e0 - enhancement: better processing of symbol completion 2022-03-02 15:45:43 +08:00
Roy Qu d93a41e496 - fix: menu font size is wrong when dpi changed 2022-03-02 15:17:09 +08:00
Roy Qu 74efa484be - enhancement: group undo will stop at spaces 2022-03-01 23:35:01 +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 82d812b6eb - fix: crash when copy to non-c files
- fix: fonts in cpu window is not correctly set, when dpi changed
2022-03-01 18:11:15 +08:00
Roy Qu afec4355bd - fix: can't correctly set break conditions 2022-03-01 08:13:51 +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 8365db47a0 - enhancement: git - pull / push / fetch 2022-02-24 23:31:48 +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 cbd718dcfe - enhancement: rename "open folder" to "choose working folder" 2022-02-24 16:47:05 +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
royqh1979@gmail.com 18c9f62787 - fix: header completion error when header name contains '+' 2022-02-22 15:38:40 +08:00
Roy Qu b664094efc - fix: error in templates
- enhancement: git - reset
2022-02-22 09:16:20 +08:00
Roy Qu 13993bbc3c - enhancement: git - log 2022-02-21 23:35:28 +08:00
royqh1979@gmail.com 44dfdbc2ca update NEWS.md 2022-02-21 11:41:53 +08:00
Roy Qu 63b277d843 - fix: left and bottom panel size not correct when DPI changed 2022-02-20 22:36:12 +08:00
Roy Qu 45bb056713 - enhancement: git - merge 2022-02-20 13:26:15 +08:00
Roy Qu 3bff1b46b6 - enhancement: git - branch / switch 2022-02-19 20:38:08 +08:00
Roy Qu 1f390d5240 - enhancement: when save a file, and it's under files view's current folder, auto add it to git (if it has a git repository)
- enhancement: new file icons for high contrast icon set
2022-02-16 21:19:00 +08:00
royqh1979@gmail.com 79edb0829a - enhancement: when add files to project, auto add it to git (if the project has a git repository) 2022-02-16 16:27:09 +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 6177398ce6 - enhancement: git - restore 2022-02-15 21:39:17 +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 8b2d500e0e Merge branch 'master' into git 2022-02-13 20:12:36 +08:00
Roy Qu 409091d52b - enhancement: custome icons for project view 2022-02-13 20:08:18 +08:00
Roy Qu 62e51d166c Merge branch 'master' into git
# Conflicts:
#	NEWS.md
2022-02-11 21:55:20 +08:00
Roy Qu bf25853da1 - fix: wrong code completion font size, when screen dpi changed
- enhancement: replace Files View Panel's path lineedit control with combo box
2022-02-11 20:19:48 +08:00
Roy Qu 71e885f941 - fix: huge build size for c++ files 2022-02-11 14:04:18 +08:00
royqh1979@gmail.com 7b7caecf4f Merge branch 'master' into git
# Conflicts:
#	NEWS.md
2022-02-11 09:55:59 +08:00
royqh1979@gmail.com cb0fd24ebe - fix: can't read project templates when path has non-ascii chars 2022-02-11 09:32:43 +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 ad0417aec8 update NEWS.md 2022-02-09 20:52:15 +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 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 79aecde9a5 - fix: when running problem cases, the output textbox might be wrongly cleared. 2022-02-04 18:51:46 +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 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
Roy Qu fffa210a69 - enhancement: new sky blue icon set, contributed by Alan-CRL 2022-01-30 00:22:49 +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
royqh1979@gmail.com aeb1c36f07 - enhancement: custom theme 2022-01-28 16:13:20 +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 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
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 f52992aaab - enhancement: custom icon set ( in the configuration folder) 2022-01-27 12:20:40 +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 99a47db9bc - enhancement: correct handle windows dpi change event 2022-01-26 21:36:31 +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 922a870724 fix typo 2022-01-25 16:11:35 +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 7112d68a14 - fix: code completion popup won't show members of 'this' 2022-01-25 13:10:08 +08:00