Commit Graph

296 Commits

Author SHA1 Message Date
Roy Qu a6da52980d - enhancement: Handle problems info from competitive-companion in background thread.
- enhancement: Handle time/memory limits in problems info from competitive-companion in background thread.
  - enhancement: When problems info from competitive-companion received, show tips in the status bar.
2024-05-24 17:53:39 +08:00
Roy Qu 7e70607f27 Split competitivecompenionhandler from mainwindow 2024-05-22 11:18:39 +08:00
Roy Qu d21de624ea - enhancement: New menu item "Code completion". 2024-05-08 10:27:00 +08:00
Roy Qu eac49a90f0 - fix: The memory usage displayed after program execution is wrong.
- enhancement: New compiler option "stack size" in the link subpage.
  - change: Set "Ctrl+G" as the shortcut for "Goto page..."
  - change: Set "Ctrl+B" as the shortcut for "Toggle Bookmark"
2024-05-05 10:24:36 +08:00
Roy Qu 75ef074601 Shortcut conflicts 2024-04-12 17:07:00 +08:00
Roy Qu 87586202dc - fix: Toggle breakpoint by shortcut may use wrong line. 2024-04-12 12:54:12 +08:00
Roy Qu 6b575ad8b2 - enhancement: In debug console, Ctrl+C/Ctrl+X/Ctrl+V conflicts with application action.
- enhancement: Auto hide Edit/Selection/Code/Refactor menu if no file openning.
  - enhancement: Auto hide Project menu if no project openning.
2024-04-12 09:02:17 +08:00
Roy Qu 3e1e4b0f01 fixes #369
- fix: Breakpoint condition expression that contains spaces doesn't work.
  - enhancement: Double click on breakpoint table's condition cell to modify it.
2024-04-04 21:34:16 +08:00
Roy Qu 9b2d3a1bd0 - enhancement: Enhancement for custom tools. 2024-04-01 21:07:44 +08:00
Roy Qu 5e1becc2e4 work save: rename in file system view 2024-03-30 13:21:33 +08:00
Roy Qu 0782994f95 fix : menu items for editors are disabled. 2024-03-22 19:37:13 +08:00
Roy Qu 5b77c6f3fb fix: encoding menu popup doesn't work 2024-03-21 17:41:55 +08:00
Roy Qu 9cb980f2f6 work save: #259 Remove hard-coded GDB-MI commands outside the gdbmi implementation. 2024-03-10 21:25:24 +08:00
Roy Qu db95cce299 - enhancement: Shortcuts for the tree view in files panel. 2024-03-04 20:40:13 +08:00
XY0797 764c8cce8c
fix: 修复了新建文件无法进入选择状态和重命名状态的BUG (#204)
* fix: Fixed a bug where newly created files would not automatically enter rename mode.

* fix: Resolved an issue where files could not be selected in certain cases upon creation.

---------

Co-authored-by: xy <eq_software@foxmail.com>
2024-02-22 14:19:17 +08:00
Roy Qu 4be629727d - enhancement: 3 compare mode for problem cases. 2023-08-19 18:01:16 +08:00
Roy Qu 739f382f46 - change: Remove option "clear all symbols when current editor is hidden".
- fix: When opening multiple files, only the active file should be parsed.
2023-08-11 13:49:09 +08:00
Roy Qu 3a8e434399 - change: Git support is disabled in the distributed buildings. 2023-08-08 14:41:23 +08:00
Roy Qu e11a81d3c0 - enhancement: add "OI Wiki" and "turtle graphics tutorial" in help menu for zh_CN locale.
- change: rename "graphics.h" template to "ege" for zh_CN locale
  - change: update graphics.h/ege template's icon
2023-07-02 11:09:34 +08:00
Roy Qu be8a5610a4 - fix: Use "/" as path seperator when starting app by double clicking c/c++ files in the explorer. 2023-06-16 17:57:24 +08:00
Roy Qu dfed4accf6 - enhancement: Tooltip support for '->' operator on std iterators.
- enhancement: Close other editors.
2023-06-13 17:16:09 +08:00
Roy Qu 72189f0a94 - enhancement: Add various menu items for cursor actions using Home/End/Page Up/Page Down keys.
- enhancement: Filter names in the shortcut config page of options dialog.
2023-05-31 08:52:59 +08:00
Roy Qu 799ce52460 - enhancement: Refine suggestion info when try debug and the compiler settings are not correct.
- enhancement: Open the options dialog/project options dialog when user want to correct compiler settings for debug.
2023-04-02 22:53:02 +08:00
Roy Qu fbe051f709 - fix: "Run all problem cases" with project is not correctly handled. 2023-03-26 12:34:11 +08:00
Roy Qu b951ac6636 - fix: Crash when a project is removed from the disk while it is openned in RedPanda-C++. 2023-03-19 20:51:12 +08:00
Roy Qu f93d5cdd9e - enhancement: Open offline gnu as/x86 assembly manual if exists. 2023-03-05 08:56:11 +08:00
Roy Qu b82336e176 - enhancement: Add X86_64 AVX/AVX instruction descriptions to asm syntaxer.
- enhancement: Update to the newest x86 Assembly manual.
2023-03-04 12:47:49 +08:00
Roy Qu da3dda97e3 - enhancement: Add "Close window" and "Move to other view" in the "Window" menu
- enhancement: Auto open CPU info dialog, if the program in debug is stopped at a position that have no source file.
  - enhancement: "add watchpoint" when debug. It's hitted when the watch variable is modified, or it's out of scope.
  - enhancement: Switch current call stack frame in the CPU info dialog
  - fix: Shouldn't try evaluate value of the selection in the cpu info dialog.
  - enhancement: Show oct/bin/bin value in the memory view's tooltip.
  - Don't set optimization level to -Og in the Debug compiler set. (Some variable can't be view in the memory view, because they are put in registers.)
2023-03-03 17:20:33 +08:00
Roy Qu d3fde7ab53 - change: Merge search and replace to one dialog.
- fix: Search dialog's "Match whole word" option doesn't work with "Use Regular expresion".
  - fix:Search dialog's "Close after search" option doesn't work.
  - change: Fill the search dialog with the current selection if it's available.
2023-02-28 16:17:56 +08:00
Roy Qu c9bb03350d - enhancement: Show descriptions mouse tip for assebmly instructions. (editor / cpu info dialog)
- fix: When completing resigter names, an extra '%' is wrongly added.
2023-02-26 17:50:03 +08:00
Roy Qu 511b6c679b - enhancement: Auto close other search/replace dialogs when start to search/replace.
- change: Remove "prompt when replace" in the replace.
  - fix: Search/replace with regex is not correctly handled.
2023-02-26 08:31:13 +08:00
Roy Qu a7c73200d5 - enhancement: Keep project compile warning & error infos in the issues table, before project file is edited. 2023-02-24 12:17:30 +08:00
Roy Qu 8ad1915acd - change: Don't stop debug when breakpoint can't be set 2023-02-22 10:39:20 +08:00
Roy Qu 24734bfb28 - enhancement: If executable doesn't have symbol table, inform user and stop.
- enhancement: If breakpoint is setted but executable doesn't have debug info ,inform user and stop.
  - enhancement: If current compiler set has "strip addition infos(-s)" enabled, inform user and stop.
2023-02-18 12:08:03 +08:00
Roy Qu 52eb2960ac - change: Remove "Compile & Run" menu item. It's replaced by "Run". 2023-02-17 09:18:39 +08:00
Roy Qu 25d0f5b782 - fix: Can't parse enum values.
- fix: Can't correctly show enum values in the class browser.
  - fix: Can't correctly create project, if template's encoding setting is not valid.
  - enhancement: Add "embed assembly" template.
2023-02-15 16:24:24 +08:00
Roy Qu 57cbf3a49a - fix: New non-saved filenames is wrongly saved in the last openfiles list.
- fix: File is parsed before editor is fully created.
  - enhancement: New GAS File in the File Menu
  - change: rename "New File" to "New C/C++ File"
2023-02-12 22:33:34 +08:00
Roy Qu 8603fa10ee - enhancement: Add "Help"/"Submit Iusses".
- enhancement: Add "Help"/"Document" for Simplified Chinese users.
2023-01-16 15:42:03 +08:00
Roy Qu 89ee9d8914 - fix: Crash when find occurrences in a project that has missing files.
rename FileEndType to NewlineType
2023-01-04 11:01:34 +08:00
Roy Qu 4f2fb8f540 - enhancement: Let encoding options in the statusbar more explicit.
change FileEndingType names
  applySettings shouldn't be called every time show event triggered.
2023-01-04 09:08:58 +08:00
Roy Qu f179f45cd9 - fix: Restore main window and cpu info window will set wrong font in the cpu info. 2023-01-03 22:34:38 +08:00
Roy Qu 562293c05d - enhancement: Waiting for syntax parsers to finish before saving files, to prevent data lost caused by syntax parsering crash. 2023-01-03 21:43:45 +08:00
Roy Qu 9296877b86 - enhancement: "Toggle readonly" in the Edit menu.
- fix: Error When save project units' encoding settings.
2023-01-02 16:50:30 +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 0af113e2a1 auto remove a.exe generated by tcc 2022-12-25 12:00:09 +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 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 4b9e51a925 refactor: tool buttons for problem & cases 2022-12-17 13:34:11 +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 d60febaac8 - enhancement: Export FPS (free problem set) files. 2022-12-16 15:54:02 +08:00