Commit graph

291 commits

Author SHA1 Message Date
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
c21df95087
core/reloader: do not require ShellRoot 2024-11-22 19:40:39 -08:00
2996e40ff9
core/plugin: rename QuickshellPlugin to QsEnginePlugin
Fixes conflict with the autogenerated qml plugin of the same name.
2024-11-22 18:59:15 -08:00
db9e633197
service/mpris: adopt bindable properties 2024-11-20 19:31:40 -08:00
1955deee74
dbus/properties: add QObjectBindableProperty based dbus property
Many times more lightweight than the original QObject-based one.
2024-11-20 19:22:23 -08:00
dca75b7d6a
service/mpris: clarify trackinfo emit order and use QBindings 2024-11-20 00:52:47 -08:00
f4066cb4ed
core/popupanchor: add anchoring signal for last second repositioning 2024-11-19 03:29:31 -08:00
68ba5005ce
core/icon: ability to specify a fallback or check if an icon exists 2024-11-17 14:46:34 -08:00
d2667369e1
core/qmlglobal: add shellRoot property 2024-11-17 01:49:27 -08:00
7db3772641
core/generation: short circuit findObjectGeneration if only one exists 2024-11-17 01:46:49 -08:00
2c0e46cedb
core/lazyloader: fix incubator UAF in forceCompletion
The incubator was deleted via onIncubationCompleted before it was done
working when completed via forceCompletion().
2024-11-12 03:23:59 -08:00
b528be9426
all: fix gcc warnings 2024-11-05 13:31:24 -08:00
7ffce72b31
all: optimize build 2024-11-05 04:15:17 -08:00
1168879d6d
build: only install necessary qml module files 2024-11-04 14:13:37 -08:00
cdeec6ee83
all: use fully qualified type names in signals and invokables
Further fixes qmllint/qmlls
2024-11-01 21:10:21 -07:00
98cdb87181
all: use UntypedObjectModel instead of ObjectModel in Q_PROPERTY
Fixes qmllint/qmlls type deduction for ObjectModels
2024-11-01 03:12:07 -07:00
746b0e70d7
all: use fully qualified type names in Q_PROPERTY
Fixes type deduction issues with qmllint/qmlls.
2024-11-01 01:43:22 -07:00
a931adf033
all: add DEPENDENCIES entries to qml modules
Fixes some qmlls/qmllint issues.
2024-10-31 14:05:02 -07:00
9980f8587e
window: generate qmltypes 2024-10-31 14:04:58 -07:00
4e48c6eefb
all: refactor windows code out of core
There are still some links from core to window but its now separate
enough to fix PanelWindow in qml tooling.
2024-10-28 16:18:41 -07:00
4c2d7a7e41
crash: print warning messages for run/buildtime Qt version mismatch 2024-10-17 14:58:45 -07:00