Commit graph

220 commits

Author SHA1 Message Date
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
23f59ec4c3
crash: add build configuration and distributor information
Also adds distributor to --version and
build configuration to --version --verbose
2024-10-16 00:08:15 -07:00
f889f08901
service/pipewire: refactor defaults and metadata handling 2024-09-23 23:53:54 -07:00
bd8978375b
core/icon: allow changing the icon theme 2024-09-17 14:21:34 -07:00
7a283089b1
core/command: rename --instance to --id and --info to --show
Fixes conflicting short flags.
2024-09-17 14:04:54 -07:00
c57ac4b1f2
core/menu: disconnect menu before unref when changed 2024-09-15 16:06:20 -07:00
293341c9e1
core/reloader: ensure generation ptrs are removed on destroy
Broke things that used currentGeneration, and we shouldn't have a list
of dangling pointers anyway.
2024-09-13 04:18:52 -07:00
5e2fb14551
io/ipchandler: add IpcHandler and qs msg
Also reworks the whole ipc system to use serialized variants.
2024-09-13 02:50:42 -07:00
3690812919
core/log: fix encoding 29 second deltas (again)
Forgot the second if statement and didn't actually fix the bug last time.
2024-09-10 16:30:50 -07:00
01f6331cb7
core/command: add --daemonize 2024-09-10 15:53:16 -07:00
9d21a01153
core/command: add --no-duplicate 2024-09-10 14:35:30 -07:00
47ec85ffef
core/command: make log --file positional
Also frees up -f for --follow.
2024-09-10 04:55:44 -07:00
01deefe241
core/log: encode category log levels 2024-09-10 04:48:54 -07:00
a82fbf40c2
core/command: add log --follow 2024-09-10 03:31:49 -07:00
c78381f6d0
core/command: add --tail to log subcommand 2024-09-10 01:02:43 -07:00
f810c63ffc
core/command: allow log files to be specified w/ instance selectors 2024-09-10 00:32:39 -07:00
19d74595d6
core/window: premultiply background colors
Apparently these are supposed to be premultiplied. Some docs would be nice.
2024-09-10 00:01:17 -07:00
85be3861ce
io/fileview: add FileView 2024-09-09 03:15:16 -07:00
3a1eec0ed5
core/log: fix sparse logs being on by default 2024-09-05 21:44:05 -07:00
94e881e6b0
core!: refactor launch sequence
Also includes slight changes to the command syntax.
See --help for details.
2024-09-01 14:17:39 -07:00
da043e092a
core/ipc: add ipc server/client
Currently can only kill a remote instance.
2024-08-30 21:45:20 -07:00
13b6eeaa22
core/reloader: null generation ref in reloadables on destruction
On the post-reload reloadable initialzation path, a timer is used to
delay reload(). This change fixes a UAF when switching generations
while that timer is running.
2024-08-30 16:29:59 -07:00