Commit Graph

360 Commits

Author SHA1 Message Date
Roy Qu 4cf9c2845a - fix: calculation for code snippets's tab stop positions is not correct 2022-03-10 14:58:53 +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 fa9916e28e - enhancement: symbol completion when editor has selection 2022-03-07 21:53:52 +08:00
Roy Qu b436312d19 - fix: undo one symbol completion as a whole operation 2022-03-07 20:51:56 +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 ecf567b13f update: redo/undo 2022-03-02 11:31:03 +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
royqh1979@gmail.com 18c9f62787 - fix: header completion error when header name contains '+' 2022-02-22 15:38:40 +08:00
Roy Qu b5acf15467 work save: commit 2022-02-15 17:22:44 +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 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 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 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 771ccec745 - enhancement: code completion ui redesigned 2022-01-27 20:31:44 +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 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 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
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
Roy Qu 609f611e8f - enhancement: highlighter for GLSL (OpenGL Shading Language) 2022-01-23 23:27:48 +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 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 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 1a6bd602c4 - fix: caret dispears when at '\t' under Windows 7 2022-01-12 22:25:57 +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 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 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 bb6a4ed9c8 qt 5.12 compatibility 2022-01-04 16:50:54 +08:00
Roy Qu 212fdc37b2 - enhancement: assign a not saved editor to a problem 2022-01-02 10:37:00 +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
royqh1979@gmail.com 96ab0890ba - fix: watch and local infos not updated when changing current frame in the call stack panel
- enhancement: pause the debugging program (The debugger should work under gdb server mode, which is turned off by default in windows)
2021-12-27 10:59:04 +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 b5a450312a - refactor: icon manager
- work save: icons in the dialogs
2021-12-23 00:24:52 +08:00
Roy Qu a806fe9389 - enhancement: use svg icons for class browser 2021-12-21 07:38:49 +08:00
Roy Qu 7687fc1cb7 - fix: symbol completion for '<>' in the preprocessor line not work 2021-12-20 13:00:47 +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 6ab8ba9869 - fix: compiler set's custom link parameters not used when compiling
- fix: code completion doesn't work when input inside () or []
2021-12-19 16:54:31 +08:00
Roy Qu 33e8042944 - enhancement: use the new expression parser to implement rename symbol
- fix: rename symbol shouldn't remove empty lines
2021-12-19 10:16:46 +08:00
Roy Qu 41336cf31f add a function to find statement by expression in the parser 2021-12-18 23:36:58 +08:00
Roy Qu cd5b281c90 - enhancement: use the new expression parser to parse info for tips 2021-12-17 21:47:37 +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 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 2de2f1e162 work save 2021-12-12 13:02:00 +08:00
Roy Qu ee3864f565 work save 2021-12-08 22:47:28 +08:00
Roy Qu 095a0897f2 work save 2021-12-08 21:44:40 +08:00
Roy Qu 6f8096bc27 change: redesign code completion logic 2021-12-04 10:02:07 +08:00
Roy Qu 20782fc221 stage 1 finished: use the expression token list in the editor to completion,
instead of just the expression string
2021-12-03 21:07:40 +08:00
Roy Qu fd03ea4098 work save 2021-12-03 11:40:05 +08:00
Roy Qu 54443c20f8 done: find completion word 2021-12-02 18:29:37 +08:00
Roy Qu 9cdac8c3ef work save 2021-12-01 23:41:14 +08:00
Roy Qu de0f176284 breakpoint / run / evaluation / memory view ok 2021-11-24 22:16:40 +08:00
Roy Qu b17406eb07 work save 2021-11-24 17:53:25 +08:00
Roy Qu fdfa7c779f work save 2021-11-24 10:07:35 +08:00
Roy Qu d3abf822fb Merge branch 'master' into gdbmi 2021-11-23 18:16:53 +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 dda0f82b4d - fix: columns calculation not correct when paint lines containing chinese characters 2021-11-22 19:10:56 +08:00
royqh1979@gmail.com 6ba2d47c81 - enhancement: add "delete line"/"duplicate line"/"delete word"/"delete to EOL"/"delete to BOL" in the edit menu 2021-11-22 16:16:58 +08:00
royqh1979@gmail.com e044bb0703 Merge branch 'master' into gdbmi 2021-11-20 07:22:09 +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@gmail.com 177cd6e397 - enhancement: code completion suggestion for phrase after long/short/signed/unsigned 2021-11-18 12:51:05 +08:00
royqh1979@gmail.com c7748bf5b2 Merge branch 'master' into gdbmi
# Conflicts:
#	RedPandaIDE/qsynedit/SynEdit.cpp
2021-11-13 10:55:10 +08:00
royqh1979@gmail.com 664c8e752a work save 2021-11-13 09:05:02 +08:00
royqh1979@gmail.com d28805ea55 - fix: editor auto save settings not saved and applied
- fix: only auto save files that has new modifications
 - fix: correctly auto save files with it's own name
2021-11-12 12:40:47 +08:00
royqh1979@gmail.com 8b7d19f94e work save 2021-11-12 10:51:00 +08:00
royqh1979@gmail.com 3d2fb53388 - fix: can't show code completion popup if symbol is proceed with an operator '~' ( and it's not a destructor)
- fix: can't show code completion popup when define MACRO
 - fix: can't debug files with chinese characters in the path
2021-11-10 21:28:08 +08:00
royqh1979@gmail.com ad7fb23117 - fix: shouldn't auto add '()' when char succeeding the completed function name is '(' 2021-11-10 12:35:13 +08:00
royqh1979@gmail.com 4259480471 - fix: correct set the position of chinese input methods 2021-11-08 21:19:48 +08:00
royqh1979 93463c24ca work save 2021-11-08 14:51:20 +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@gmail.com 3e0925ba70 - fix: when changing options in the option dialog's color scheme panle, color of the demo editor won't be not correctly updated
- enhancement: Add default color scheme to themes. Change theme option will change color scheme too.
2021-11-07 22:34:19 +08:00
royqh1979@gmail.com bca0a3abc1 - fix: indents calculation for the line succeeding "*/" 2021-11-07 11:39:52 +08:00
royqh1979@gmail.com c98e169fa3 - fix: Installer should install the app in "program files", not "program files (x86)"
- fix: symbol completion for '/*' not work
 - fix: javadoc-style docstring indents calculation
2021-11-07 10:48:09 +08:00
royqh1979 4d48cca3de - fix: multi-line comments indents calculation 2021-11-07 01:07:41 +08:00
royqh1979 bd26ad967d - enhancement: set problem's answer source file
- enhancement: open the problem's answer source file in editor
2021-11-06 14:49:11 +08:00
royqh1979 731a10a1d6 - enhancement: check syntax/parse symbols when modifed and cursor's line changed. 2021-11-04 00:38:40 +08:00
royqh1979 9638cbdd3f - enhancement: can use symbols' own foreground color to draw selection or the current line
- enhancement: can use different colors to highlight the current word and the selections
 - enhancement: can set editor's default background / foreground color. They must be setted to make the custom color schemes correctly.
 - enhancement: can set the color for the current line's number in the gutter
 - all predefined color schemes updated.
2021-11-03 23:27:05 +08:00
royqh1979@gmail.com 6ad87990c7 - fix: Custom editor colors shouldn't be tested for high contrast with the default background color
- fix: Custom color settings not correctly displayed in the options widget
 - enhancement: add hit counts in the search result view
 - fix: editor actions' state not correctly updated after close editors.
 - fix: When replace in the editor, "Yes to All" and "No" button doesn't work correctly.
 - fix: crash when editing non-c/c++ files
 - enhancement: set the alpha value of scheme colors
 - enhancement: can use symbols' own scheme color to draw selection
 - enhancement: can use different colors to highlight the current word and the selections
2021-11-03 18:09:12 +08:00
royqh1979@gmail.com f28aac649b - fix: remove the file change monitor if it's remove from the disk
- fix: don't test if a file is writable before save to it (because qt can't do that test reliably).
 - problem set ui almost done
2021-11-02 01:07:37 +08:00
royqh1979@gmail.com b8f5f43d23 - fix: When debugging, if value of the variable pointed by the mouse cursor is too long, tooltip will fill the whole screen. 2021-10-31 10:11:30 +08:00
royqh1979@gmail.com f9cefaf196 * unindent when input public: / private: / protected: 2021-10-29 21:22:41 +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 b2e88c4c00 - fix: crash when create an empty project 2021-10-25 00:30:53 +08:00
royqh1979 7d82f37462 - enhancement: "use utf8 by default" in editor's misc setting 2021-10-24 15:17:31 +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 15fd6aab03 - fix: rainbow parenthesis stop functioning when change editor's general options
- make toolbar seperator lighter in dark themes
2021-10-23 09:05:51 +08:00
royqh1979@gmail.com 9d829876b3 - fix: app's title not update when editor closed
- fix: editor's modified status not correctly updated when using new file template
2021-10-22 16:43:53 +08:00
royqh1979@gmail.com 7a5b6b8efc - implement: files view 2021-10-22 15:02:54 +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 e10e173cc9 - enhancement: bookmark view 2021-10-21 17:31:25 +08:00
royqh1979 4eec5cafb8 fix: new editor not correctly add to the editorlist 2021-10-20 18:16:10 +08:00
royqh1979 5c9ef2035e clean up compile warnings 2021-10-20 18:05:43 +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 ae2f3596aa - enhancement: new file template
- fix: when an editor is created, its caret will be displayed even it doesn't have focus
2021-10-20 12:11:36 +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 d188d8897f - fix: save as file dialog's operation mode is not correct 2021-10-19 22:41:38 +08:00
royqh1979@gmail.com fee2115093 - fix: add mutex lock to prevent editor crash in rare conditions 2021-10-17 21:09:50 +08:00
royqh1979@gmail.com a1e5ce379e - fix: debugger won't exit when the program has exited.
- adjust: the max value of the debug console's vertical scrollbar.
2021-10-13 12:55:41 +08:00
royqh1979@gmail.com 59390203e3 - fix: crash when create new file
- implement: two editor view
2021-10-13 11:32:59 +08:00
royqh1979@gmail.com e50a8d0faf correctly update old matching brackets 2021-10-12 20:45:26 +08:00
royqh1979@gmail.com 141de5ed74 - implement: highlight matching brackets 2021-10-12 20:38:39 +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 bb8b711376 - 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
2021-10-12 09:47:58 +08:00
royqh1979@gmail.com 80be584700 remove debug output 2021-10-10 22:50:25 +08:00
royqh1979@gmail.com 58e849063c - fix: unneeded empty lines when copy as HTML 2021-10-10 22:48:54 +08:00
royqh1979@gmail.com 8599190d13 - fix: font styles in the color scheme settings not in effect 2021-10-10 21:23:25 +08:00
royqh1979@gmail.com 9e0beb8046 - fix: code completion popup not show after '->' inputted 2021-10-10 20:20:43 +08:00
royqh1979@gmail.com 83b99c99de - fix: should use c++ syntax to check ".h" files
- fix: can't copy contents in a readonly editor
 - fix: project's file not correctly syntaxed when open in editor
2021-10-09 22:03:05 +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 c58ddf7073 - 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
2021-10-09 09:09:05 +08:00
royqh1979@gmail.com b0442258db - print support 2021-10-07 07:52:20 +08:00
royqh1979@gmail.com ec458a880a - fix: editor's inproject property not correctly setted (and may cause devcpp to crash when close project) 2021-10-07 00:48:05 +08:00
royqh1979@gmail.com 3e8200d307 - use QMutex instead of QRecursiveMutex in SynEdit
- Can use tab / shift-tab as shortcut for indent/unindent
2021-10-06 23:35:45 +08:00
royqh1979@gmail.com 8e4c20a2a3 - fix: makefile generated for static / dynamic library projects not right
correct processing for input in code template's place holders
2021-10-05 23:30:34 +08:00
royqh1979@gmail.com ffb87fe66c input method processing for line has selections and special areas
- fix: add mutex lock to prevent rare conditions when editor is modifying and the content is read
2021-10-05 21:25:23 +08:00
royqh1979@gmail.com f8f5b7b0d8 add underline to indicate current ime input 2021-10-05 00:42:35 +08:00
royqh1979@gmail.com 3ed5701621 fix: #include_next processing 2021-10-04 22:32:34 +08:00
royqh1979@gmail.com 2f76aa42a8 hide popup windows in editor when focus out 2021-10-04 22:10:13 +08:00
royqh1979@gmail.com 08d1006ae0 - enhancement: todo view 2021-10-03 17:18:43 +08:00
royqh1979@gmail.com d58e2ac54e - fix: errors in code snippet processing
- change: auto open a new editor at start
2021-10-03 09:57:19 +08:00
royqh1979@gmail.com caaf07a6cc - fix: old data not displayed when editing code snippets
- fix: shift-tab for unindent not work
 - fix: can't save code snippets modifications
2021-10-03 08:25:28 +08:00
royqh1979@gmail.com 8ebe9174bb - implement: symbol usage count
- implement: user code snippet / template
 - implement: auto generate javadoc-style docstring for functions
 - enhancement: use up/down key to navigate function parameter tooltip
 - enhancement: press esc to close function parameter tooltip
 - enhancement: code suggestion for unicode identifiers
2021-10-02 15:34:18 +08:00
royqh1979@gmail.com 237e86cea0 - implement: user code snippet / template
- implement: auto generate javadoc-style docstring for functions
 - enhancement: use up/down key to navigate function parameter tooltip
 - enhancement: press esc to close function parameter tooltip
2021-10-02 13:29:45 +08:00
royqh1979 ae9c90236f work save 2021-10-02 10:05:48 +08:00
royqh1979 bf378d3408 work save 2021-10-02 10:05:14 +08:00
royqh1979 80df4701d6 work save 2021-10-02 09:16:44 +08:00
royqh1979 23b651f0c4 work save 2021-10-01 21:16:22 +08:00
royqh1979@gmail.com 6ecfd228be work save 2021-09-30 21:25:48 +08:00
royqh1979@gmail.com c59e2c6667 work save 2021-09-30 20:10:48 +08:00
royqh1979 b518304f56 - implement: symbol usage count
work save: code snippets
2021-09-30 11:20:43 +08:00
royqh1979 fbdba624be - enhancement: show caret when show code/header completions
- fix: correctly display pointer info in watch console
 - enhancement: search in project
2021-09-29 20:45:03 +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 3afe034aa1 - fix: crash when load last opens
- enhancement: when a system/project header file is saved to non-system folders, un-readonly the editor
 - minor speedup when processing tooltips
2021-09-28 10:01:13 +08:00
royqh1979@gmail.com 22acab0950 fix : header file completion stop work when input '.' 2021-09-27 00:52:25 +08:00
royqh1979@gmail.com 23c6f7f702 fix: cursor is always IBeam 2021-09-26 23:47:37 +08:00
royqh1979@gmail.com 2915a862ff fix: can't correctly create project in release mode 2021-09-26 22:39:26 +08:00