Cyano Hao
e2934072d1
use qt resource system's recommended approach for translation files ( #449 )
2024-06-10 09:19:15 +08:00
Roy Qu
7e70607f27
Split competitivecompenionhandler from mainwindow
2024-05-22 11:18:39 +08:00
Cyano Hao
e67a9992c2
Migrate deprecated APIs ( #418 )
...
* migrate deprecated QLayout::setMargin -> QLayout::setContentMargins
* migrate deprecated QRegExp -> QRegularExpression
* remove deprecated QDesktopWidget header
* migrage deprecated QDesktopWidget::width, height -> QScreen::geometry
2024-05-10 17:31:10 +08:00
Cyano Hao
8b80e2a77d
remove pre-Qt 5.15 stuff ( #405 )
2024-04-28 16:46:01 +08:00
Roy Qu
f91c2bb188
- enhancement: Auto choose a better font for theme choosing dialog in the first run.
2024-03-13 20:57:56 +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
255e09de89
fix: Fallback font combos in the editor font options panel are not correctly inited.
...
fix: Ascii control chars font not correctly loaded when app start.
2024-02-27 14:46:55 +08:00
Roy Qu
bc0d55b1bb
- enhancement: Display ascii control chars.
2024-02-27 13:23:58 +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
49237ebf03
- change: Use qt.conf to use freetype font engine. User can use the windows default font engine by remove this file.
2023-11-19 16:41:36 +08:00
Roy Qu
edba9130b1
update lock logic
2023-10-21 13:41:53 +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
bb6c8acb1a
- change: Use freetype as the fontengine in windows
2023-09-22 08:05:05 +08:00
Cyano Hao
7cf5d21b48
Add runner args abstraction and fix shm on macOS/BSD ( #134 )
...
* add runner args abstraction to allow different args patterns in various terminal apps; fix macOS shm IPC
* extend platform support from Linux to XDG desktop
* update build docs for Unix
* improve terminal args pattern migration for macOS
2023-09-05 19:14:08 +08:00
Roy Qu
3a8e434399
- change: Git support is disabled in the distributed buildings.
2023-08-08 14:41:23 +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
de6b17fcda
upgrade to 2.18
2023-03-11 08:32:52 +08:00
Wu Haotian
da23ae64ba
- fix: macos icon size overgrown ( #106 )
...
MacOS uses high DPI pixmaps with devicePixelRatio equals 2. Setting a
flag in QApplication can enforce this in pixmaps fetched from QIcons and
thus make the icons look high DPI.
2023-03-11 07:49:47 +08:00
Roy Qu
48788a189b
- enhancement: Simplified chinese translations for encoding names.
2023-01-25 10:51:59 +08:00
Roy Qu
650e3b407c
update version number
2022-12-05 12:04:48 +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
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
25ac4d5048
refactor: open/create project
...
refactor: save/load project layout
2022-10-09 22:19:18 +08:00
Roy Qu
8ca7377cfe
done: correctly set parent node for new project unit
2022-10-02 13:29:51 +08:00
Roy Qu
ebf78dbecb
work done: make qsynedit a standalone module
2022-09-26 14:54:28 +08:00
Roy Qu
8bd2802c99
- enhancement: choose default language when first run
2022-07-28 14:03:18 +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
da0be0af98
- enhancement: auto restore mainwindow when open files in one instance
2022-03-21 18:06:47 +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
416023dc60
- enhancement: optimize startup time
2022-03-11 20:51:33 +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
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
d93a41e496
- fix: menu font size is wrong when dpi changed
2022-03-02 15:17:09 +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
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
14241450cc
Only detect git when first run
2022-02-26 19:42:50 +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
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
Roy Qu
63b277d843
- fix: left and bottom panel size not correct when DPI changed
2022-02-20 22:36:12 +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
458b87ea64
remove qm file from sources (it should be generated by qmake)
2022-01-28 18:18:34 +08:00
Roy Qu
af4a872024
qt 5.12 compatible
2022-01-28 11:10:53 +08:00
Roy Qu
8e179dd659
fix: shouldn't reset DPI when window is reshown
2022-01-26 22:53:15 +08:00
Roy Qu
99a47db9bc
- enhancement: correct handle windows dpi change event
2022-01-26 21:36:31 +08:00
Roy Qu
e89ac58462
- enhancement: auto zoom ui when screen's zoom factor changed (windows)
2022-01-24 18:37:16 +08:00
royqh1979@gmail.com
317db42876
add license information
2021-12-26 23:18:28 +08:00
Roy Qu
f2504e1f43
add options for gdb server
...
debug with gdb server
2021-12-25 18:09:50 +08:00
Roy Qu
7f4840a299
basic linux compatibily
2021-12-24 23:18:20 +08:00
Roy Qu
c3ea1e6dd4
- enhancement: recalc layout info for code editors when dpi changed
2021-12-13 19:10:16 +08:00
Roy Qu
956b717a14
- enhancement: recalc layout info for code editors when dpi changed
2021-12-13 16:38:22 +08:00