Commit Graph

892 Commits

Author SHA1 Message Date
Roy Qu 96f9a898d0 - enhancement: "Switch Header/Source" in editor title bar context menu. 2023-01-01 08:32:33 +08:00
Roy Qu 0caaad8436 - fix: Action "Run all problem cases" is triggered twice by one clicked. 2022-12-31 09:36:50 +08:00
Roy Qu 2041f813de - fix: Can't set project icon to "app.ico" in the project folder, if the project doesn't has icon.
- fix: Resource compilation items is missing in the auto generated makefile, if the project's icon is removed and re-added.
2022-12-30 19:48:12 +08:00
Roy Qu dd92cfa6da - enhancement: "Run" / "Generate Assembly" for project source files 2022-12-28 16:39:18 +08:00
Roy Qu bcb6069fe3 - fix: Crash while input using input method in makefile 2022-12-28 09:24:54 +08:00
Roy Qu 988afaac7a - enhancement: Add "Resources" in project option's dialog's custom compiler parameter page 2022-12-26 22:55:00 +08:00
Roy Qu bd4478476d - fix: Crash when editing makefile 2022-12-26 18:20:26 +08:00
Roy Qu 0af113e2a1 auto remove a.exe generated by tcc 2022-12-25 12:00:09 +08:00
Roy Qu 84b09fe842 - enhancement: "Convert HTML for - Input" / "Convert HTML for - Expected" in "Options" - "Executor" - "Problem Set"
- fix: Unit for memory limit is not correctly loaded when open problem properties dialog.
  - enhancement: Auto open the properties dialog, after add a new problem.
2022-12-24 12:08:13 +08:00
Roy Qu dde47e0226 - fix: Makefile error when "Use precompiled header" is enabled in the project option dialog. 2022-12-22 22:01:55 +08:00
Roy Qu e232ce77c9 - enhancement: Auto add "lib" to the output of static/dynamic library projects, if project name don't start with "lib". 2022-12-21 09:15:39 +08:00
Roy Qu 892b987894 - enhancement: "Line Spacing" in options / editor / font
- enhancement: "Show whitespaces" in options / editor / font
2022-12-20 20:38:02 +08:00
Roy Qu ed89690f7a - fix: Icon size not correct under macOS high DPI / zoom factor settings.
- enhancement: "Icon zoom" in options / environment / appearance
2022-12-20 11:01:04 +08:00
Roy Qu 1da2961970 - fix: Project's "static link" option is overwrited by global compiler set settings, when project options dialog is opened. 2022-12-18 12:31:19 +08:00
Roy Qu fc07b4dcd4 - enhancement: Don't add "-g3" option when generate assembely.
- enhancement: Generate assembly is not correctly disabled when current file is not C/C++.
2022-12-17 17:20:33 +08:00
Roy Qu efc7af7f46 - enhancement: Run all cases button not correct disabled when no case exits. 2022-12-17 13:40:13 +08:00
Roy Qu 88449a5381 refactor: context menus
refactor: tool buttons for problem and problem set
2022-12-17 11:37:33 +08:00
Roy Qu 0e5ff0a75e update NEWS.md 2022-12-16 15:54:18 +08:00
Roy Qu 261c0b4cea - enhancement: Add missing space char color settings in color schemes 2022-12-16 11:13:02 +08:00
Roy Qu 492345b939 - enhancement: "Trim trailing spaces" in code menu
- change: Don't auto disable compile and debug buttons.
  - enhancement: Better error messages for missing compile/debug/make programs.
  - enhancement: "Show special chars" in options / editor / font
  - fix: Lost compiler set settings if a compiler set's bin dirs is empty.
  - enhancement: Better error message when trying to debug with Release compile set.
2022-12-16 11:10:46 +08:00
Roy Qu 16db14e761 - enhancement: "Remove trailing spaces" in options / editor / misc
- enhancement: show special chars
2022-12-16 01:03:57 +08:00
Roy Qu 4985191120 - enhancement: Remove multiple problems in the problem set view
- enhancement: Clear the proble view after a new problem set created
2022-12-15 16:33:17 +08:00
Roy Qu 13f0be3154 - fix: Crash when scroll file which has more than 65535 lines.
- fix: Can't scroll to lines greater than 65535.
2022-12-14 09:20:53 +08:00
Roy Qu 4093f29ac4 - Fix: Crash when scroll file which has more than 65535 lines. 2022-12-14 09:12:37 +08:00
Roy Qu 02e6748db5 - fix: Buttons in options -> compiler -> compiler set -> programs are not usable.
- enhancement: Don't check existence of gcc/g++/make/gdb at startup.
  - enhancement: Auto disable "compile" button if gcc doesn't exist.
  - enhancement: Auto disable "debug" button if gdb doesn't exist.
  - enhancement: Auto disable "compile" button for project if make doesn't exist.
2022-12-13 15:58:27 +08:00
Roy Qu e81c08d6c8 refactor: correct var name 2022-12-13 12:40:54 +08:00
Roy Qu ea3b4ea8e5 - enhancement: Show memory usage after console program exited.
- fix: If clang and g++ are in the same folder, only the compiler sets for gcc are auto generated.
2022-12-13 12:36:16 +08:00
Roy Qu 2520ddf8f5 - enhancement: Show memory usage for problem cases. 2022-12-13 08:49:20 +08:00
Roy Qu b1ca0bb600 - enhancement: Import FPS (free problem set) files. 2022-12-11 19:47:43 +08:00
Roy Qu 5d0c49a0bc refactor: block start / end calculation 2022-12-10 18:48:48 +08:00
Roy Qu 263cece0ce import makefile highlighter 2022-12-08 10:46:39 +08:00
Roy Qu 8af963579a - enhancement: Highlighter for makefiles 2022-12-06 22:51:59 +08:00
Roy Qu 77942999d5 - enhancement: Use asm highlighter in cpu window
- fix: "AT&T" radio button not correctly checked in cpu window
  - enhancement: Remove blank lines in the register list of cpu window.
  - fix: Cpu window's size not correctly saved, if it is not closed before app exits.
  - fix: Can't restore cpu window's splitter position.
2022-12-02 10:19:03 +08:00
Roy Qu f9fb966c38 - enhancement: Add "Generate Assembly" in "Run" Menu
- enhancement: Improve highlighter for asm
2022-12-01 22:10:44 +08:00
Roy Qu 164d766c75 - enhancement: Disable "run" and "debug" actions when current project is static or dynamic library 2022-11-30 21:05:08 +08:00
Roy Qu bb2532a2ef - change: Default value of option "Editors share one code analyzer" is ON
- change: Default value of option "Auto clear symbols in hidden editors" is OFF
  - minor fix
2022-11-30 09:54:23 +08:00
Roy Qu a6d5da07a3 - enhancement: show compltion suggest for std::pair::first and std::pair second 2022-11-29 16:48:40 +08:00
Roy Qu 0d0332aa7d - fix: can't correctly show completion suggest for type with template parameters
- enhancement: correctly evaluate auto variable of stl container iterator.
2022-11-29 12:06:29 +08:00
Roy Qu de23833992 - enhancement: Deduce type info for "auto" in some simple cases.
- fix: crash when no semicolon or left brace after the keyword "namespace"
2022-11-28 08:22:48 +08:00
Roy Qu adb3d79b60 - enhancement: Deduce type info for "auto" in some simple cases. 2022-11-27 13:32:14 +08:00
Roy Qu 8788e950dd - enhancement: show completion suggest for "namespace" after "using"
- fix: MinGW-w64 gcc displayed as "MinGW GCC"
2022-11-25 10:01:10 +08:00
Roy Qu e352ef345c - change: Default value of option "Editors share one code analyzer" is ON if available physical memory <= 32G
- change: Default value of option "Auto clear symbols in hidden editors" is ON if number of CPU cores > 8 and "Editors share one code analyzer" is on
  - refactor qsynedit's highlighter, work save
2022-11-23 11:41:16 +08:00
Roy Qu d86e93dc35 - enhancement: Options -> editor -> custom C/C++ type keywords page 2022-11-22 15:14:05 +08:00
Roy Qu 7b6dbb9865 - enhancement: slightly reduce memory usage 2022-11-16 17:03:34 +08:00
Roy Qu 82564239b9 - enhancement: project's custom compile include/lib/bin directory is under folder of the app, save them using the path relative to the app 2022-11-16 09:24:42 +08:00
Roy Qu e764c14286 - enhancement: auto save / load problem set 2022-11-14 19:10:32 +08:00
Roy Qu ed8b0a4c55 - enhancement: new color scheme Monokai (contributed by 小龙Dev)
- enhancemnet: add "Reserve word for Types" item in color scheme
2022-11-14 11:56:38 +08:00
Roy Qu ac23d89fbe update version 2022-11-12 15:58:17 +08:00
Roy Qu 6a6dc126a4 - enhancement: improve parse result for STL <random> 2022-11-12 12:14:19 +08:00
Roy Qu edfd09191c - change: the default value for UI font size : 11
- change:  the default value for add leading zeros to line numbers : false
2022-11-12 10:56:57 +08:00
Roy Qu a4cb52fb96 - fix: _Pragma is not correctly handled; 2022-11-12 10:45:53 +08:00
Roy Qu b085560743 - fix: Escape suquences like \uxxxx and \Uxxxxxxxx in strings are not correctly highlighted.
- enhancement: Search / replace dialogs redesigned.
  - fix: inline functions are not correctly parsed;
  - fix: &operator= functions are not correctly parsed;
  - fix: Code Formatter's "add indent to continueous lines" option is not correctly saved.
2022-11-11 21:20:57 +08:00
Roy Qu 1dbc0972ab - fix: Escape suquences like \uxxxx and \Uxxxxxxxx in strings are not correctly highlighted. 2022-11-11 09:00:06 +08:00
Roy Qu ca9976e9e0 - enhancement: Use relative paths to save project settings
- fix: Layout for project options dialog's general page is not correct.
  - fix: modifitions in the project options dialogs's dll host page is not correctly saved.
  - enhancement: In the project options dialog, autoset the default folder in the openning dialog when choosing file/directory paths.
2022-11-10 14:47:44 +08:00
Roy Qu eceba8b8f2 - enhancement: show completion tips for when define a function that already has a declaration.
- clean up code
2022-11-10 13:35:13 +08:00
Roy Qu 052f4610ee - fix: crash when alt+mouse drag selection 2022-11-10 09:05:34 +08:00
Roy Qu bcc1b8dc09 - fix: function pointers not correctly handle in code parser;
- fix: var assignment not correctly handled in code parser;
  - fix: function args not correctly handled in code parser;
2022-11-09 22:22:33 +08:00
Roy Qu 4fad826899 - fix: macro defines parsed before not correctly applied in the succeeding parse. 2022-11-08 22:04:53 +08:00
Roy Qu 6fe1df8e6e - fix: Can't goto definition of classes and namespaces displayed in the class browser on whole project mode. 2022-11-08 08:24:44 +08:00
Roy Qu e69fea634d update NEWS.md 2022-11-07 21:52:01 +08:00
Roy Qu e0c4ba201d - fix: Crash when editing a function at the end of file without ; or {
- enhancement: Add the "parsing TODOs" option in Options Dialog / Editor / Misc
  - enhancement: Remove todos/bookmarks/breakpoints when deleting file from project
  - enhancement: Rename filenames in todos/bookmarks/breakpoints  when renaming project file
2022-11-07 21:44:12 +08:00
Roy Qu c9e4238329 fix typo in News.md 2022-11-07 18:01:53 +08:00
Roy Qu fba7bd953c - fix: Contents in class browser not correctly updated when close the last editor for project.
- fix: When all editors closed, switch browser mode dosen't correct update the class browser;

  - stream line codes for project parser and  close browser
2022-11-07 11:24:23 +08:00
Roy Qu 93751d1b23 - fix: When start parsing and exit app, app may crash
- enhancement: add "Allow parallel build" option in project option dialog's custom compile options page
  - fix: crash when rename project file
  - fix: When remove project file, symbols in it not correctly removed from code parser
  - fix: infos in class browser (structure panel) not correctly updated when add/create/remove/rename project files
2022-11-06 22:51:14 +08:00
Roy Qu 7b290f4e44 - fix: Memory usage of undo system is not correctly calculated
- fix: Set max undo memory usage to 0 don't really remove limit of undo
  - fix: Set max undo times to 0 don't really remove limit of undo
2022-11-06 14:07:14 +08:00
Roy Qu d4c7ec9bb9 - fix: Project Options Dialog's Files panel will crash app. 2022-11-06 12:38:53 +08:00
Roy Qu 4eec64939e - fix: Edting / show context menu when code analysis is turned on may crash app.
- fix: Show context menu when edting non c/c++ file may crash app.
2022-11-06 09:43:28 +08:00
Roy Qu 1c3bf9000c - enhancement: base class dropdown list in new class dialog now works 2022-11-05 23:35:15 +08:00
Roy Qu 4fa490253e - enhancement: switch header/source 2022-11-05 19:39:33 +08:00
Roy Qu 8d9740dd57 - improve template parameters checker
- streamline cppparser
2022-11-05 08:42:54 +08:00
Roy Qu 585d7678d4 work save 2022-11-04 20:27:35 +08:00
Roy Qu 20917e3a8b work save 2022-11-03 00:49:22 +08:00
Roy Qu 4afe1f4315 - change: rename "file" Menu -> "New Source File" to "New File" 2022-10-30 19:27:29 +08:00
Roy Qu 01c1e96aeb - change: Don't turn on "Show some more warnings (-Wextra)" option by default for DEBUG compiler set
- fix: Changes mainwindows's compiler set combobox not correctly handled for project
  - change: Don't localize autogenerated name for new files and new project (new msys2 gcc compiler can't correctly handle non-ascii chars in filenames)
2022-10-30 11:58:42 +08:00
Roy Qu 819d217708 - change: Don't turn on "Show some more warnings (-Wextra)" option by default for DEBUG compiler set 2022-10-29 20:51:31 +08:00
Roy Qu b9aceb420b - fix: Before run a project's executable, we should check timestamp for project files AND modification states of files openned in editor. 2022-10-29 18:19:45 +08:00
Roy Qu 0c1402a386 - change: remove "Optimize for the following machine" and "Optimize less, while maintaining full compatibility" options in the compiler setting panel, which are obseleted.
- change: escape spaces in the executabe path under linux.
2022-10-29 17:21:38 +08:00
Roy Qu 054a99b690 msvc compatibility 2022-10-28 16:34:26 +08:00
Roy Qu e987959551 - add default autolink for fmtlib in Windows
- reduce size of the executable of win-git-askpass tool
  - fix: memory size not correctly calculated when check if share parser.
  - fix: c/c++ file use different parser for share.
2022-10-28 12:43:47 +08:00
Roy Qu 2ce732cfa5 C/C++ use differnet parser 2022-10-28 09:47:34 +08:00
Roy Qu 833be397b0 - enhancement: add "editors share one code parser" in "options" / "editor" / "code completion", to reduce memory usage.
Turned off by default on PCs with memory > 4G; Force turned on PCs with memory < 1G.
  - enhancement: add "goto block start"/"goto block end" in "Code" menu
2022-10-27 15:18:57 +08:00
Roy Qu 0018ed5d7d - editors that not in the editing panel shouldn't trigger switch breakpoint
- editors that not in the editing panel shouldn't show context menu
2022-10-27 07:42:05 +08:00
Roy Qu 798607fba0 - fix: editors that not in the editing panel should not be syntax checked/ todo parsed/ code analyzed
- fix: editors that not in the editing panel should not trigger breakpoint/bookmark/watch switch
2022-10-26 22:39:40 +08:00
Roy Qu 04e11dbc3b - fix: selection's position not correctly set after input a char / insert string (and causes error under OVERWRITE mode) 2022-10-26 19:40:34 +08:00
Roy Qu 3ea32031af update NEWS.md 2022-10-26 16:26:13 +08:00
Roy Qu fde8a868fa - enhancement: auto sort TODO items 2022-10-26 11:10:56 +08:00
Roy Qu da2a7549f1 - fix: Encoding info in the status bar not correctly updated when save a new file 2022-10-26 09:33:45 +08:00
Roy Qu 6bf443d3d8 - fix: Restore project's original compiler set if user choose 'No' in the confirm project compiler set change dialog. 2022-10-26 08:45:18 +08:00
Roy Qu 4380470cef - enhancement: when create a new folder in the files view, auto select that folder and rename it
- enhancement: when new header in the project view, auto select basename in the filename dialog
  - enhancement: when add file in the project view, auto select basename in the filename dialog
  - change: Don't generate localized filename when new header/add file in the project view
2022-10-25 21:49:35 +08:00
Roy Qu 5edcad104e - enhancement: before run a project'executable, check if there's project file newer than the executable 2022-10-25 19:09:46 +08:00
Roy Qu 3f74a5fd10 - fix: rules for obj missed in the makefile generated for project 2022-10-25 17:38:37 +08:00
Roy Qu cab0c8ca24 - enhancement: add "auto reformat when saving codes" in "Options" / "Editor" / "Misc" (off by default)
- enhancement: use "todo" and "fixme" as the keyword for TODO comments
2022-10-25 10:13:51 +08:00
Roy Qu b958cdc00c - enhancement: when closing project, prevent all editors that belongs to the project check syntax and parse todos. 2022-10-24 22:53:46 +08:00
Roy Qu 2e7391d870 - enhancement: auto locate current open file in the project view panel 2022-10-24 20:01:46 +08:00
Roy Qu 55b63a4f95 - enhancement: refresh project view for git status won't redraw project structure
- enhancement: auto save project options after the compilerset option for project resetted
  - enhancement: "." and ".." in paths of issues not correctly handled
  - enhancement: auto locate the last opened file in the project view after project creation
  - enhancement: separate compiler's language standard option for C / C++
  - fix: compiler settings not correctly handled when create makefile
2022-10-24 19:23:43 +08:00
Roy Qu 6d2ce9035d - reduce memory usage when deciding file types
- enhancement: refresh project view for git status won't redraw project structure
  - enhancement: auto save project options after the compilerset option for project resetted
  - enhancement: "." and ".." in paths of issues not correctly handled
2022-10-24 17:23:37 +08:00
Roy Qu 0d45cca2a5 - enhancement: reduce memory usage when deciding file type 2022-10-24 12:51:50 +08:00
Roy Qu aa6951c2ca - fix: class browser not correctly displayed when "whole project" is checked 2022-10-23 23:24:26 +08:00
Roy Qu b4deb9299b - enhancement: keep current position in the class browser after contents modified 2022-10-23 16:31:05 +08:00
Roy Qu 471b3d6f26 - fix: namespace members defined in multiple places not correctly merged in the class browser
- fix: correctly display statements whose parent is not in the current file
  - fix: statements is the class browser is correctly sorted
  - enhancement: Weither double click on the class browser should goto definition/declaration,  depends on the current cursor position
2022-10-23 15:22:26 +08:00
Roy Qu 012628aef3 - fix: editor & class browser not correct updated when editor is switched but not focused
- fix: when invalidating a c/c++ source file, statements that not declared in it are wrongly removed.
2022-10-23 10:40:00 +08:00
Roy Qu be0c9ad4f5 - fix: save/load bookmark doesn't work 2022-10-23 00:39:24 +08:00
Roy Qu e8300abd65 - redesign the project parser, more efficient and correct
- enhancement: todo parser for project
2022-10-22 23:29:12 +08:00
Roy Qu 1301168135 - change: add/remove/new project file won't save all openned project files.
- fix: save all project files shouldn't trigger syntax check in inactive editors
2022-10-21 12:43:02 +08:00
Roy Qu 98f4766ffd - fix: index out of range in cpp highlighter
- fix: memory leak in code folding processing
2022-10-19 22:54:08 +08:00
Roy Qu eed7fdcf56 fix: click a non-existing header name will get an error 2022-10-18 23:22:29 +08:00
Roy Qu 29da40bb14 - fix: toggle block comment/delete to word begin/delete to word end are not correctly disabled when editor not open 2022-10-18 19:09:46 +08:00
Roy Qu a62910e1a3 - fix: editor tooltip for #include_next is not correctly calculated
- fix: ctrl+click on #include_next header name doesn't open the right file
  - enhancement: parser used for non-project C files won't find header files in C++ include folders.
2022-10-18 12:24:59 +08:00
Roy Qu 3509c25fc8 - enhancement: delete a watch expression don't reload who watch var view
- enhancement: auto save/restore debug panel's current tab
  - fix: correctly restore left(explorer) panel's current tab
  - enhancement: auto close non-modified new editor after file/project openned;
  - fix: project files openned by double click in bookmark/breakpoint panel may cause app crash when closed.
  - fix: When open a project that's already openned, shouldn't close it.
  - enhancement: When open a project, let user choose weither open it in new window or replace the already openned project
2022-10-17 23:23:05 +08:00
Roy Qu 984d10eaf1 - enhancement: project and non-project files use different breakpoint and watchvar view (auto switch when not debugging and editor switched)
- enhancement: save project's breakpoint and watchvar in it's own debug file.
  - enhancement: delete a watch expression don't reload who watch var view
2022-10-16 23:10:57 +08:00
Roy Qu 7883397409 - enhancement: set compilation stage in the options / compiler set pages
- enhancement: set custom compilation output suffix in the options / compiler set pages
2022-10-12 19:48:35 +08:00
Roy Qu 5f0371cb5b - enhancement: add option "max undo memory usage" in the options / editor / misc page 2022-10-11 22:33:09 +08:00
Roy Qu 975d90c8f1 - enhancement: save project's bookmark in it's own bookmark file
- enhancement: project and non-project files use different bookmark view (auto switch when switch editors)
  - enhancement: auto merge when save bookmarks.
2022-10-11 21:51:33 +08:00
Roy Qu f67628863f - fix: minor memory leaks when set itemmodels
- fix: thread for parsing doesn't correctly released when parsing finished ( so and the parser)
2022-10-10 18:05:18 +08:00
Roy Qu 39c56aeff2 - change: clear tools output panel when start to compile
- change: don't show syntax check messages in the tools output panel
2022-10-10 07:11:59 +08:00
Roy Qu 1e5a130def - fix: gliches in UI's left panel in some OS
- fix: correctly restore project layout when reopen it
  - fix: correctly handle rename unit
  - refactor: use filename as the primary key for project unit
2022-10-08 23:30:30 +08:00
Roy Qu 592d6bba32 - enhancement: add/new/remove project files won't rebuild project tree 2022-10-02 23:33:58 +08:00
Roy Qu c1b414d10a - fix: project files that lies in project include folder is wrongly openned in Read-only mode 2022-09-30 17:51:26 +08:00
Roy Qu 58a8b7e6dd - fix: when "cleary symbol table of hidden editors" is turned on, content in the editor reshown is not correctly parsed 2022-09-27 18:53:42 +08:00
Roy Qu a165efa7cf - fix: astyle.exe can't correctly format files that using non-ascii identifier 2022-09-26 16:17:02 +08:00
Roy Qu 40cae133ba - fix: the project compiler options is not correctly read when open old dev-c++ project 2022-09-24 21:24:58 +08:00
Roy Qu 9b09b4263f - fix: crash when create non C/C++ source file in project
- fix: can't open text project file in the editor
  - change: when create non-text project file, don't auto open it
2022-09-23 10:27:44 +08:00
Roy Qu 5ba802c0ee - fix: "Encode in UTF-8" is not correctly checked, when the editor is openned using UTF-8 encoding. 2022-09-21 09:31:01 +08:00
Roy Qu 8474ae6b8f - fix: the size of horizontal caret is wrong 2022-09-07 15:08:31 +08:00
Roy Qu 6ff83d602c - enhancement: change orders of the problems in the problem set panel by drag&drop
- enhancement: change orders of the problem cases in the problem panel by drag&drop
2022-09-03 20:18:32 +08:00
Roy Qu d438864a4d - change: reduce time intervals for selection by mouse 2022-08-25 16:53:06 +08:00
Roy Qu 4df3ba4f14 - enhancement: don't parse all openned files when start up
- enhancement: don't parse files when close all and exit
2022-08-24 17:05:16 +08:00
Roy Qu a8dc93d4b4 - fix: can't set shortcut that contains shift and non-alphabet characters 2022-08-08 12:11:16 +08:00
Roy Qu 6b64eab16b - fix: can't correctly set project icon 2022-08-08 10:45:35 +08:00
Roy Qu 92d7370903 - enhancement: create template 2022-08-07 21:41:57 +08:00
Roy Qu 5966ee0a5f - change: organization structure of templates 2022-08-07 12:09:22 +08:00
Roy Qu 829e73895b - fix: files in network drive is opened in readonly mode 2022-08-06 08:51:53 +08:00
Roy Qu 8d4411ee55 - enhancement: Portuguese Translation ( Thanks for crcpucmg@github) 2022-08-05 20:56:09 +08:00
Roy Qu 2a0cfe7948 - change: switch positions of problem case output and expected output 2022-08-05 16:20:50 +08:00
Roy Qu 40dec1b9ff - fix: (wrongly) use the default font to calculate non-ascii characters' width 2022-07-31 11:51:34 +08:00
Roy Qu 66746e8c3d - fix: indents for "default" are not the same with "case" 2022-07-30 10:22:27 +08:00
Roy Qu fc1de8f28c - fix: inefficient loop when render long lines 2022-07-29 18:33:08 +08:00
Roy Qu 1ce0ec3d32 - enhancement: disable column mode in readonly editors 2022-07-28 21:19:54 +08:00
Roy Qu a3cb17299b - fix: Drag&Drop no correctly disabled for readonly editors 2022-07-28 17:09:30 +08:00
Roy Qu 8bd2802c99 - enhancement: choose default language when first run 2022-07-28 14:03:18 +08:00
Roy Qu c7e8ee6072 - enhancement: don't show cpp defines when editing c files 2022-07-28 13:51:38 +08:00
Roy Qu 62caa94e23 - fix: selection is not correctly set after input in column mode 2022-07-25 14:32:12 +08:00
Roy Qu 7db3a7ebc1 - fix: block indent doesn't work 2022-07-25 09:45:06 +08:00
royqh1979@gmail.com 8d51876518 - fix: can't find the gcc compiler, if there are gcc and clang compilers in the same folder 2022-07-24 18:24:21 +08:00
Roy Qu 3d42cdf6c3 - fix: can't create folder in files view, if nothing is selected 2022-07-23 15:41:19 +08:00
Roy Qu eebd7336c2 - change: sort local identifiers before keywords in the auto completion popup 2022-07-22 21:02:07 +08:00
Roy Qu a09c5f26b4 - fix: bug in the project template 2022-07-22 19:27:56 +08:00
Roy Qu 2f8988cf91 - fix: "Timeout for problem case" can't be rechecked, in the Settings Dialog -> executor -> problem set panel. 2022-07-22 11:34:45 +08:00
Roy Qu 17eb0c1f94 - enhancement: add select current word command in the Selection menu
- change: add Selection menu
  - enhancement: add memory view rows/columns settings in the settings dialog -> debugger -> general panel
  - enhancement: add "Go to Line..." in the Code menu
2022-07-21 15:28:07 +08:00
Roy Qu cb4a28f94d - enhancement: add a demo template for raylib/rdrawing predefined colors 2022-07-20 18:51:51 +08:00
Roy Qu 8acee3ed20 - fix: correctly update the start postion of selection after code completion 2022-07-20 16:57:42 +08:00
Roy Qu cb2cbf49d0 - change: uncheck "hide unsupported files" in files view shouldn't gray out non-c files
- enhancement: double clicking a non-text file in the files view, will open it with external program
  - enhancement: double clicking a non-text file in the project's view, will open it with external program
2022-07-07 20:08:58 +08:00
Roy Qu 898d5f4e08 - enhancement: resort files in the files view after rename 2022-07-06 19:44:44 +08:00
Roy Qu 262b4916fd - enhancement: set current index to the folder after new folder created in the file view 2022-07-06 18:16:25 +08:00
Roy Qu 8d59bf9abb - redesign redo system
- fix: correctly restore editor's modified status when undo/redo
2022-07-06 14:11:32 +08:00
Roy Qu 2d7c2145e3 - enhancement: prevent group undo when caret position changed
- fix: undo link break may lose leading spaces
  refactor undo
2022-07-04 10:01:40 +08:00
Roy Qu 7ba5f3e5c8 fix: undo chains 2022-07-03 13:08:14 +08:00
Roy Qu 76f0b9d17b - fix: calculation of the code block ranges when inserting/deleting 2022-07-03 12:00:05 +08:00
Roy Qu 348788bbcd - enhancement: prohibit move selection up/down under column mode
- enhancement: prohibit move selection up/down when the last line in selection is a folded code blocks
  - enhancement: check validity of selection in column mode when moving caret by keyboard
  - enhancement: check validity of selection in column mode when moving caret by mouse
  - enhancement: only allow insert linebreak at the end of folded code block
  - enhancement: only allow delete whole folded code block
  - refactor of undo system
2022-07-02 20:19:37 +08:00
Roy Qu 097108a2c9 - update raylib to 4.2-dev
- update raylib-drawing to 1.1
  - add "raylib manual" in the help menu
2022-07-01 17:15:20 +08:00
Roy Qu 24a4f0e127 - change: just show one function hint for overloaded functions 2022-06-30 14:39:12 +08:00
Roy Qu a6b24290c9 - enhancement: position caret at end of the line of folded code block
- enhancement: copy the whole folded code block
  - enhancement: delete the whole folded code block
  - fix: correctly update the folding state of code block, when deleted
2022-06-28 21:46:20 +08:00
Roy Qu 0985b6444b - fix: wrong auto indent calculation for comments 2022-06-28 09:37:18 +08:00
Roy Qu 5557d9c103 - change: position caret to (1,1) when create a new file using editor's new file template 2022-06-23 20:39:00 +08:00
Roy Qu b2585f567a - enhancement: autolink add "force utf8" property (mainly for raylib) 2022-06-23 19:07:48 +08:00
Roy Qu 895a927ee0 - fix: select all shouldn't set file's modified flag
- enhancement: add (return)type info for functions/varaibles/typedefs in the class browser panel
2022-06-23 13:05:10 +08:00
Roy Qu 20690b7e51 - enhancement: add the option "Set Encoding for the Executable" to project's compiler options
- fix: can't correctly compile when link params are seperated by line breaks
2022-06-22 17:08:35 +08:00
Roy Qu 85c18d1f66 - enhancement: use different color to differenciate folder and headers in completion popup window
- enhancement: auto add "/" to folder when completing #include headers
2022-06-20 21:43:42 +08:00
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 2f0a7a3d89 - fix: reduce height of the message panel when dragging from right to bottom 2022-06-17 12:12:12 +08:00
Roy Qu 9dacc9bbb9 - fix: when debug the executable using gdb server, add current compiler set's bin folders to path 2022-06-16 21:56:07 +08:00
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
Roy Qu c4ca944a15 - fix: can't paste contents copied from Clion/IDEA/PyCharm 2022-06-16 09:11:45 +08:00
Roy Qu 04311eb8e5 - enhancement: add ignore spaces checkbox in problem cases panel 2022-06-15 14:13:11 +08:00
Roy Qu f8cd0e63ad - change: swap position of problem case's output and expected input controls
- enhancement: when problem case panel is positioned at right, problem case's input, output and expected controls is layouted vertically
2022-06-15 11:27:12 +08:00
Roy Qu 3e4361777b Merge branch 'master' of github.com:royqh1979/RedPanda-CPP 2022-06-14 09:10:13 +08:00
Roy Qu cfdbdca812 - enhancement: adjust the appearance of problem case's input/output/expected control 2022-06-14 09:09:35 +08:00
Roy Qu 9545ad9b6f - fix: compiler settings not correctly saved 2022-06-13 16:31:41 +08:00
Roy Qu 6a4eb44245 - enhancement: more templates for raylib 2022-06-13 12:28:28 +08:00
Roy Qu fb18a1f1a3 - enhancement: add 'run all problem cases' / 'run current problem case' / 'batch set cases' to the option dialog's shortcut panel 2022-06-13 09:38:32 +08:00
Roy Qu 1e865a775b - fix: undo doesn't work correctly after rename symbole & reformat 2022-06-12 22:55:07 +08:00
Roy Qu 5a31e1dd42 - fix: rename macro doesn't work in project
- fix: can't remove a shortcut
  - enhancement: hide all menu actions in the option dialog's shortcut panel
2022-06-12 22:54:34 +08:00
Roy Qu 2182553fe1 - fix: rename macro doesn't work in project 2022-06-12 18:26:39 +08:00
Roy Qu 73fda980bc - enhancement: rename in files view's context menu
- enhancement: delete in files view's context menu
  - change: drag&drop in files view default to move
2022-06-12 15:48:19 +08:00
Roy Qu ef715b2c34 - enhancement: restore caret position after batch replace 2022-06-10 22:08:10 +08:00
Roy Qu d01a60e88f - fix: c files added to a project will be compiled as c++ file. 2022-06-10 08:41:52 +08:00
Roy Qu 67e686652d - enhancement: mark editor as modified, if the editing file is changed by other applications.
- enhancement: When the editing files is changed by other applications, only show one notification dialog for each file.
2022-06-08 16:18:06 +08:00
Roy Qu 5182e200fb - enhancement: when ctrl+mouse cursor hovered an identifier or header name, use underline to highlight it 2022-06-08 16:05:54 +08:00
Roy Qu 2e5f666411 update autolinks for raylib-drawing 2022-06-04 14:46:58 +08:00
Roy Qu 25c64c0875 - enhancement: new turtle library based on raylib ( so it can be used under linux) 2022-06-02 20:09:27 +08:00
Roy Qu c295649280 - fix: errors in the calculation of cut limit 2022-06-01 20:52:35 +08:00
Roy Qu 85f3a04bcf - fix: #define followed by tab not correctly parsed
- enhancement: don't auto add () when completing C++ io manipulators ( std::endl, std::fixed, etc.)
  - fix: can't goto to definition of std::endl
2022-06-01 17:02:03 +08:00
Roy Qu 7770d27aa2 update NEWS.md 2022-05-30 18:12:53 +08:00
Roy Qu 90b6916978 - fix: modify watch doesn't work 2022-05-30 16:40:45 +08:00
Roy Qu e920d230df - fix: "run current cases" dosen't correctly display real output 2022-05-26 21:22:07 +08:00
Roy Qu fbdd268484 - fix: cursor is wrongly positioned when insert code snippets that don't have placeholders 2022-05-25 18:41:56 +08:00
Roy Qu 1e06907db5 - enhancement: add "toggle explorer panel" and "toggle messages panel" in "view" menu 2022-05-25 10:04:36 +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 964909a31e - change: panels can be relocated 2022-05-20 18:43:01 +08:00
Roy Qu c3db151c2c - fix: crash when project name is selected in the project view and try create new project file 2022-05-19 17:57:31 +08:00
Roy Qu 3090fab089 - fix: copy & paste in column mode not correctly handled 2022-05-19 12:32:33 +08:00
Roy Qu 67cd580539 - fix: delete & insert in column mode not correctly handled
- fix: input with ime in column mode not correctly handled
2022-05-18 23:17:06 +08:00
Roy Qu e1ac7cafb0 - fix: selection in column mode not correctly drawn when has wide chars in it 2022-05-18 15:52:19 +08:00
Roy Qu c56a020781 - enhancement: can debug files that has non-ascii chars in its path and is compiled by clang
- fix: when debugging project, default compiler set is wrongly used
2022-05-15 17:14:22 +08:00
Roy Qu 394e500941 - enhancement: adjust scheme colors for "dark" and "high contrast" themes 2022-05-14 21:31:14 +08:00
Roy Qu 6340dbe299 - enhancement: show error message when user set a shortcut that's already being used. 2022-05-14 16:52:56 +08:00
Roy Qu a3946b6015 - enhancement: add compiler commandline argument for "-E" (only preprocessing)
- enhancement: auto set output suffix to ".expanded.cpp" when compiler commandline argument for "-E" is turned on
  - enhancement: auto set output suffix to ".s" when compiler commandline argument for "-S" is turned on
2022-05-14 16:43:59 +08:00
Roy Qu f412eedcb0 - fix: selection calculation error when editing in column mode 2022-05-14 16:06:57 +08:00
Roy Qu 4492db3874 - enhancement: redesign components for compiler commandline arguments processing 2022-05-14 11:23:25 +08:00
Roy Qu 631da69d84 - enhancement: auto complete '#undef' 2022-05-11 20:34:13 +08:00
Roy Qu 4bd6c4dd39 update NEWS.md 2022-05-10 08:43:52 +08:00
Roy Qu e3d7af019d - fix: keyword 'final' in inhertid class definition is not correctly processed 2022-05-06 19:20:26 +08:00
Roy Qu 7e6d900049 - enhancement: add new tool button for "compiler options" 2022-05-06 15:48:17 +08:00
Roy Qu 7729ba0ebe - enhancement: support UTF-8 BOM files 2022-05-06 15:23:41 +08:00
Roy Qu cd4bfdfa23 - fix: index of the longest line not correctly updated when inputting with auto completion open 2022-05-04 00:08:04 +08:00
Roy Qu 45744b43f0 - change: highlight whole #define statement using one color
- enhancement: don't highlight '\' as error
  - enhancement: hide add charset  option in project options dialog's compiler set page, when project compiler set is clang
  - fix: When generating project's makefile for clang, don't add -fexec-charset / -finput-charset command line options
2022-05-02 21:47:01 +08:00
Roy Qu d2a09dea24 - change: use Shift+Enter to break line 2022-04-29 16:15:18 +08:00
Roy Qu 845427b747 - fix: correctly parse link error message for clang 2022-04-27 19:13:38 +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 df517e528e update NEWS.md 2022-04-27 07:52:49 +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 d9259fb9e4 - fix: index of the longest line not correctly updated when insert/delete multiple lines ( which will cause selection errors) 2022-04-24 09:50:30 +08:00
Roy Qu a64bbd0d4b - enhancement: add project templates for tcp server / tcp client
- enhancement: only show function tips when cursor is after ',' or '('.
  - enhancement: when auto complete function names, only append '(' if before identifier or "/'
2022-04-22 15:55:39 +08:00
Roy Qu ec17cfcb99 - enhancement: select and delete multiple watches 2022-04-22 14:28:53 +08:00
Roy Qu 2d6019bf23 - enhancement: add project template for libmysqlclient(libmariadbclient)
- enhancement: add libmysqlclient to the x86-64 version gcc in distribution
2022-04-22 11:25:30 +08:00
Roy Qu 354f375f67 - enhancement: improve the matching of function declaration and definitions
- fix: research button doesn't show find in files dialog
2022-04-19 19:17:49 +08:00
Roy Qu 434d46ef80 - enhancement: add autolink and project template for sqlite3 2022-04-18 20:19:11 +08:00
Roy Qu 15ec17f16b update version 2022-04-18 17:04:54 +08:00
Roy Qu 56c71f321f - fix: parse error for definition of functions whose return type is pointer 2022-04-18 16:56:31 +08:00
Roy Qu 5743991152 - fix: scroll bar not correctly updated when collapse/uncollapse folders 2022-04-18 16:17:06 +08:00
Roy Qu 0d2c842317 - fix: index of the longest line not correctly updated ( which will cause selection errors) 2022-04-18 11:35:42 +08:00
Roy Qu 1eb809b011 - enhancement: add Traditional Chinese translation 2022-04-18 11:01:42 +08:00
Roy Qu 312d282501 - fix: crash when eval statements like "fsm::stack fsm;" 2022-04-17 19:49:04 +08:00
Roy Qu f6ac7ad1dc - enhancement: batch set cases ( in problem case table's context menu ) 2022-04-16 20:39:09 +08:00
Roy Qu 076a92fb77 - fix: tab/shift+tab not correctly handled in options dialog's code template page 2022-04-16 20:14:47 +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 9254a13d84 - fix: parenthesis skip doesn't work when editing non-c/c++ files 2022-04-13 20:04:10 +08:00
Roy Qu ca0ad3249f - 功能增强:输入'('时,如果下一个非空白字符是'('或者标识符/数字,则不自动补全
- 功能增强:如果项目文件和项目的编码相同,则不保存它的编码信息
 - 修正:在保存文件时,会错误的使用缺省编码而不是文件原有的编码进行保存
2022-04-13 16:42:23 +08:00
Roy Qu d3c780a3a5 - enhancement: F1 shorcut opens offcial website 2022-04-12 14:03:33 +08:00
Roy Qu 50cca61abc - enhancement: remember current problem set's filename 2022-04-11 17:38:57 +08:00
Roy Qu 9cc51a150d - enhancement: add help link for regular expression in search dialog 2022-04-11 09:39:44 +08:00
Roy Qu b1cc0457ea - fix: hide function tips, when move or resize the main window 2022-04-11 09:25:22 +08:00
Roy Qu fb808f425a update version to 1.0.4 2022-04-09 10:27:14 +08:00
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