Commit Graph

663 Commits

Author SHA1 Message Date
Roy Qu 2a18f3f47a Refactor: All file has a syntaxer 2024-03-04 16:01:23 +08:00
Roy Qu e4f0c88e80 Update translations
Change the way to differentiate test and release version
2024-03-03 17:32:10 +08:00
Cyano Hao 18318653d7
Move from command line to argv array (#216)
* command line -> argv array

* update function names

* update directory structure

---------

Co-authored-by: Roy Qu <royqh1979@gmail.com>
2024-02-28 19:41:05 +08:00
Roy Qu b57bbc34f9 Use fallback font instead of non-ascii font 2024-02-26 15:15:26 +08:00
Roy Qu 3eadbafe25 work save: support don't force fix-width 2024-02-23 17:51:38 +08:00
XY0797 fd202edaa8
feat: 实施增强的文件重命名以改善用户体验(issues#73) (#205)
* fix: Fixed a bug where newly created files would not automatically enter edit mode.

* feat: Implement enhanced file rename to improve user experience

* Update filenamedelegate.cpp

fix: Fix file name errors

* fix: Fixed an issue where the position was offset during file renaming under high DPI; enhancement: Improved the custom class file names and class names.

---------

Co-authored-by: xy <eq_software@foxmail.com>
2024-02-23 10:10:58 +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
XY0797 77bca7fd78
fix: Fixed the issue of missing Chinese translation in the 'invalid file name' window after renaming files (#207)
Co-authored-by: xy <eq_software@foxmail.com>
2024-02-22 10:30:41 +08:00
Cyano Hao e2e5c46820
Add compiler hint interface for packager (#175)
* add compiler hint addon interface

* add architecture info in about dialog

* detect user install

* add qmake variable to control OpenConsole.exe preference

* enable asan/hwasan option on all platforms for cross toolchain

* fix lldb-server

* force to lldb-server when using lldb-mi

* add qt.conf for windows

* add windows domain installer with compiler hint

* add compiler hint for arch linux

* fix mainwindow actionInterrupt visibility

* update news

* update arch linux packaging

* update windows domain packaging

* allow parallel packaging in windows domain installer

* fix compiler set persistence in compiler hint interface
2024-01-18 16:14:36 +08:00
Cyano Hao 1394e6c135
Add Lua-based theme add-ons (#165)
* import Lua 5.4.6 as subproject

* Lua-based theme

* Lua theme showcase - random light

* add “Inky dark” (墨落) theme

* add copyright notice

* add feature flag for Lua-based add-on
2023-12-22 18:03:29 +08:00
Roy Qu 9a51678d09 Minor update 2023-10-27 09:49:34 +08:00
Roy Qu b287464b98 - fix: Macros that defined by the compiler are not correctly syntax-colored and tooltiped. 2023-10-25 00:34:29 +08:00
Roy Qu 4b6fcd2e90 Change: Use gdb server is not checkable in linux/mac 2023-10-23 19:24:23 +08:00
Roy Qu 7b9c5b378a - fix: Should cd to working directory when debugging. 2023-10-23 10:33:16 +08:00
Cyano Hao a62acc2eb0
Add Windows XP support (#146)
* improve Qt 5.6 support

* switch registry API to Windows XP compatible Unicode API

* update docs

* add comment for `CONFIG += c++14 c++17` in qmake .pro files

* fix logic for lockFile
2023-10-21 13:38:12 +08:00
Roy Qu 38a55dcdb4 - ehhancement: Show selected char counts in status bar.
- enhancement: Differentiate /* and /** when calculate auto indents.
2023-10-18 14:37:31 +08:00
Roy Qu 814f3a28db - enhancement: After compiler settings changed, run/debug current file will auto recompile. 2023-10-15 16:28:55 +08:00
Roy Qu 6016065b58 - enhancement: When creating project, warn user if the project folder is not empty. 2023-10-08 19:58:04 +08:00
Roy Qu 119add20d8 work save 2023-10-01 15:47:58 +08:00
Roy Qu 02a0ed049b Merge branch 'master' of github.com:royqh1979/RedPanda-CPP 2023-09-27 13:57:47 +08:00
Roy Qu 039ca4ce9e only add path when open shell under windows 2023-09-27 13:57:39 +08:00
Cyano Hao ca13548ba0
Terminal arguments fix and cleanup (#138)
* fix linux build error

* Linux packaging: remove Alacritty from AppImage

* limit APP_DIR trick to Windows only

* implement Windows search path

* fix terminal search
2023-09-25 10:15:07 +08:00
Roy Qu f0d6787c9c remove all newlook24 icons 2023-09-21 19:21:42 +08:00
Roy Qu 9557dd8378 minor fix and clean up 2023-09-21 12:52:56 +08:00
Roy Qu 18aa239b40 change website url 2023-08-26 17:00:04 +08:00
Roy Qu 4be629727d - enhancement: 3 compare mode for problem cases. 2023-08-19 18:01:16 +08:00
Roy Qu b16a85d033 - Retrieve sdcc predefined macros (hacking).
- Stop compiling if ihx file is not correct created.
 - Run/Debug/Generate assembly actions are correctly diabled.
2023-08-14 12:22:24 +08:00
Roy Qu 738faf0c90 - fix: Crash if close file while auto syntax checking.
- enhancement: support sdcc compiler.
2023-08-13 14:46:53 +08:00
Roy Qu 496421e97d - fix: Wrong compiler settings if xcode is not installed in mac os.
- enhancement: Name for new files will not be different from files openned.
2023-08-11 17:09:30 +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 21b4494f3c - fix: english typos. (thanks for sangiye0@github) 2023-07-24 18:38:58 +08:00
Roy Qu 2c999dd8ed try to invoke set print characters when gdb starts 2023-07-14 08:30:21 +08:00
Roy Qu 7b741dfdb9 - enhancement: Don't show "\000" of string values in the debug local variables panel. 2023-07-13 11:01:11 +08:00
Roy Qu ab9524e134 - change: Don't print repeated values in gdb individually 2023-07-13 10:08:01 +08:00
Roy Qu d629a496ff - fix: Shouldn't auto indent lines starts with "\\".
- enhancement: When problem case's expected output is not too large (<= 5000 line), highlight text in the first different line in the expected output.
  - enhancement: Highlight text in the first different line using the error color.
  - enhancement: Add the option "redirect stderr to the Tools output panel" in the options dialog -> executor -> problem set page.
2023-07-12 12:08:26 +08:00
Roy Qu 5240b1f01f Redesign find in files UI 2023-07-05 19:34:17 +08:00
Roy Qu 595156e80f - enhancement: Folder mode in "File in files" dialog.
- enhancement: When open a file, test if it contains binary contains.
2023-07-05 15:02:39 +08:00
Roy Qu 377a379554 fix: highlight for #define is not correct 2023-07-04 17:19:29 +08:00
Cyano Hao e89f4400eb
Uniform look for Red Panda C++ under KDE/DDE (#119)
* KDE theme: fix visual problems with KDE dark mode; add system theme

* Make "Light" theme truly light under Breeze Dark theme.
  * With this fix also expose dark mode support on Windows.
* Add "Auto" (system) theme that follows system style and color.
* Add "Adaptive" color scheme for system theme (using transparent background).
* Add support for transparent background in color schemes.

* move `alphaBlend` to utils

* hide Auto (system) theme on Windows
2023-07-03 14:06:26 +08:00
Roy Qu 48e6dbc024 - fix: Replace panel should be hidden after finding occurrencies. 2023-07-02 23:41:32 +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 9dd654cc48 - enhancement: When deleteing files in the files view, try moving to the trash bin instead.
- fix: GNU assembly files (.s) are not shown in the files view.
2023-06-29 00:27:06 +08:00
Roy Qu 0e1decad65 check windows version and decide if the debug info in the executable files is utf8 encoded. 2023-06-27 11:50:43 +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 6736524380 - fix: Crash at startup when current problem in the problem set is connected with source file. 2023-05-03 12:55:19 +08:00
Roy Qu d8f9cef762 - enhancement: Open project's option dialog instead of the option dialog, when click the compiler set settings button in the toolbar and the current editor is for project.
- enhancement: Reset project compile options when change compiler set in the project options dialog.
2023-04-03 09:39:45 +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