Commit graph

261 commits

Author SHA1 Message Date
98d09b5a36
io/process: add Process.exec() 2025-06-20 20:32:42 -07:00
579d589290
core/popupanchor: ensure item-derived rect is at least 1x1 pixels 2025-06-18 13:41:14 -07:00
0499518143
core/qmlglobal: add execDetached functions for spawning processes 2025-06-15 02:52:16 -07:00
0140356d99
core/qmlglobal!: rename shellRoot to configDir + add configPath 2025-06-14 14:45:04 -07:00
517143adf9
all: fix new lints 2025-06-12 17:01:13 -07:00
09981a0498
core/log: print path to detailed log instead of text log on launch 2025-06-11 14:04:11 -07:00
2a8479d635
core/generation: use deleteLater() to delete file watchers
Should fix crashes similar to those in FileView.
2025-06-11 13:47:30 -07:00
d1df932d60
core/popupanchor: add margins property 2025-05-30 00:33:07 -07:00
ef077ddd24
core/panelwindow: move Margins to types.hpp 2025-05-30 00:33:00 -07:00
2773e5468f
core/process: ignore environment changes made by the Env pragma
This pragma ends up used to set things like QQC theme which
shouldn't be cascaded into child processes.
2025-05-29 23:30:55 -07:00
6d42d26c79
core/popupanchor: add item-relative anchor rect support 2025-05-29 20:07:00 -07:00
b67f92bc13
all: use BINDABLE only with trivial setters
Fixes various bugs caused by the QML engine bypassing setters
when BINDABLE is specified (even if the bindable is const).
Also restructures all properties using BINDABLE to have
a default READ and WRITE to ensure this doesn't happen again.
2025-05-29 16:08:39 -07:00
b898592db7
core: don't show " at " in qml warnings if object name is empty 2025-05-26 17:44:45 -07:00
ec433d1a70
core: improve log format for QML errors and warnings 2025-05-26 03:35:52 -07:00
4472b27039
core/reloader: watch new files detected in failed reloads 2025-05-26 02:28:01 -07:00
8b5b12b722
core/scriptmodel: update model data after objectProp eq
Updates the values list and sends dataChanged if objectProp
compared equal but the new value is actually different.
2025-05-23 18:03:59 -07:00
5193426cd7
core/qmljson: add support for synthesized .qml.json files 2025-05-18 20:39:48 -07:00
2e905f6447
core/scriptmodel: add objectProp, allowing js objects to be compared 2025-05-17 19:34:57 -07:00
61f00a0442
core/model: return ObjectModel values list directly 2025-05-17 17:03:03 -07:00
8124a63ee4
ui: add native reload popup 2025-05-17 17:03:03 -07:00
4d7d06bb9b
core/qmlglobal: add clipboard support 2025-05-16 22:16:28 -07:00
325a51c82d
core: add DataDir and StateDir pragmas 2025-05-16 20:54:21 -07:00
a05c0de53b
core/qmlglobal: add dataPath(), statePath() and cachePath() 2025-05-16 20:33:40 -07:00
c1c24c2998
core/qmlglobal: expose dataDir and stateDir 2025-05-16 20:14:59 -07:00
69c7f4fe77
core/qmlglobal: expose cacheDir 2025-05-16 20:01:38 -07:00
ca26210cc4
core/desktopentry: check XDG_DATA_HOME according to base dirs spec
Closes #34
2025-05-11 18:30:31 -07:00
ed528268e0
core/scriptmodel: detatch mValues when accessed during update
Fixes iterator invalidation caused by the QML engine.
2025-04-06 01:40:55 -07:00
69430e3873
service/tray: provide default sorting for SystemTray.items
Items are first sorted by category, and then by name.
2025-03-27 13:51:43 -07:00
eabf79ebb6
core/command: allow qs log to retrieve logs of dead instances
If no live instances are found matching the current config, the
youngest dead instance will be used instead.
2025-03-19 15:35:10 -07:00
d58b7b5dcb
core/colorquant: add ColorQuantizer 2025-01-28 13:59:44 -05:00
420529362f
core/clock: expose date as a QDateTime 2025-01-24 23:53:31 -08:00
cdaff2967f
core/icon: stop reusing image ids (dbusmenu, notifications)
Fixes issues caused by the QML engine caching old pixmaps using the
same IDs as new ones, notably dbusmenu icons.
2025-01-22 23:10:49 -08:00
b73eff0e47
core/screen: add model and serial number properties 2025-01-22 19:38:18 -08:00
Richard Bainesly
6a017d63d6
fix single quote parsing 2025-01-22 19:25:45 -08:00
6464ead0f1
core/window: move input mask handling + commit scheduling to polish 2025-01-20 01:14:28 -08:00
d6b58521e9
core!: fix typo in ShellScreen.primaryOrientation 2025-01-19 01:00:03 -08:00
c2ed5bf559
core/stacklist: add tests 2025-01-15 02:47:14 -08:00
6024c37492
core/scriptmodel: improve docs 2025-01-14 15:30:48 -08:00
Richard Bainesly
8b6aa624a2
fix fd leaks in scanPath
use auto
2025-01-14 13:05:15 -08:00
cd429142a4
wayland/screencopy: add screencopy 2025-01-14 05:08:07 -08:00
2c411fce5a
all: fix new lints 2025-01-07 03:11:19 -08:00
08836ca1f3
core/scriptmodel: add expression model for unique lists 2024-12-27 04:16:12 -08:00
a053373d57
core/qsmenu!: improve menu layout change UX
Exposes QsMenuOpener.children as an ObjectModel instead of a list to
allow smoother layout change handling in custom menu renderers.

Fixes QsMenuAnchor/platform menus closing whenever menu content changes.
2024-12-13 01:30:11 -08:00
3fc1c914c7
lint: remove reinterpret_cast lint
Unhelpful.
2024-12-06 20:18:38 -08:00
2d05c7a89e
core/menu: correctly handle menu destruction while open 2024-12-05 19:46:08 -08:00
cb05e9a327
core/reloader: fix incubator warnings 2024-11-29 01:37:14 -08:00
e3d003e7ab
core/popupanchor: emit anchoring() before checking anchor props 2024-11-24 13:22:10 -08:00
2571766d3b
all: fix clang 18 lints 2024-11-24 03:36:04 -08:00
e957e88ccb
ci: run lints and test compile on arch 2024-11-24 02:09:41 -08:00
57a5d8e1ed
core/reloader: wrap QQuickItem root nodes in a floating window
Useful for testing
2024-11-22 20:18:04 -08:00