Commit graph

93 commits

Author SHA1 Message Date
66b9917e70
service/mpris: trigger onPositionUpdated when seeking 2025-01-01 19:56:51 -08:00
2f194b7894
service/upower: track device additions/removals
Also ensures displayDevice is always present.
2024-12-20 15:58:44 -08:00
27840db7a6
service/mpris: don't send postTrackChanged unless trackChanged sent 2024-12-13 15:04:28 -08:00
3fc1c914c7
lint: remove reinterpret_cast lint
Unhelpful.
2024-12-06 20:18:38 -08:00
539692bc11
service/tray: re-add Q_INVOKABLE to invokable functions
Was accidentally removed in the last refactor.
2024-11-26 14:48:54 -08:00
2571766d3b
all: fix clang 18 lints 2024-11-24 03:36:04 -08:00
5301227ec1
service/tray: fix compile on qt versions older than 6.8 2024-11-22 15:35:21 -08:00
324fe9274d
all: remove unused dbus props and warnings for non-required ones 2024-11-21 19:45:45 -08:00
b43b4a06d0
service/tray: adopt bindable properties 2024-11-21 19:44:51 -08:00
0e9e593078
dbus/properties: allow removing to/from wire transforms
Useful when properties are only read/written in one direction.
2024-11-21 19:14:06 -08:00
ac50767873
service/tray!: refactor qml bindings to StatusNotifierItem
Breaking: Dropped SystemTrayMenuWatcher.
2024-11-21 05:10:54 -08:00
ff55ac874b
service/upower: adopt bindable properties 2024-11-21 03:40:53 -08:00
d4deb11216
dbus/properties: support data transformation/validation before store 2024-11-21 03:28:33 -08:00
a13c9d91b5
service/notifications: adopt bindable properties 2024-11-20 22:26:51 -08:00
abb900b7ff
service/mpris!: do not provide fallback track information
See the [!TIP] messages for more information.
2024-11-20 19:58:57 -08:00
e2ef7b7982
service/mpris: add isPlaying 2024-11-20 19:52:11 -08:00
db9e633197
service/mpris: adopt bindable properties 2024-11-20 19:31:40 -08:00
dca75b7d6a
service/mpris: clarify trackinfo emit order and use QBindings 2024-11-20 00:52:47 -08:00
8450543e09
service/mpris!: convert trackArtists from list<string> to string
Most people treat it as a string already, which breaks in Qt 6.8,
and I have not seen a meaningful multi-artist response.
2024-11-19 18:28:19 -08:00
66b494d760
build: add qs_add_link_dependencies
Further inspection as to what libraries actually require which others
will be required before this can be used as a hint for shared builds.
2024-11-19 13:58:34 -08:00
36174854ad
services/tray: fix const lint in item 2024-11-17 19:28:07 -08:00
36d1dbeb69
service/tray: report misbehaving tray hosts
I've debugged broken tray items that just end up being a bad host far
too many times.
2024-11-17 01:30:54 -08:00
b528be9426
all: fix gcc warnings 2024-11-05 13:31:24 -08:00
92252c36a3
build: fix gcc 2024-11-05 12:14:45 -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
8e40112d14
service/pipewire: ignore metadata updates with null keys
Fixes #6
2024-10-06 00:57:19 -07:00
3ed39b2a79
service/pipewire: fix metadata permission checks 2024-09-26 15:52:31 -07:00
fbaec141c0
service/pipewire: improve documentation 2024-09-24 01:59:38 -07:00
fdc78ae16f
service/pipewire: add a way to set preferred default nodes 2024-09-24 01:59:01 -07:00
f889f08901
service/pipewire: refactor defaults and metadata handling 2024-09-23 23:53:54 -07:00
7f9762be53
service/pipewire: disconnect link tracker from registry on node destroy
Caused duplicate entries to be created due to double connection, which
then caused a crash.
2024-09-17 23:44:41 -07:00
931aca5392
service/pipewire: don't use configured default devices
These don't appear to be intended for use by applications, only the
non configured ones.

This fixes the default device being unset on many computers and the
device being lost on actions like headphone unplug which replace it.
2024-09-17 23:04:06 -07:00
bdc9fe958b
service/tray: delete image pixmaps created with new[] using delete[] 2024-09-15 13:50:00 -07:00
f6ad617b67
service/pipewire: ignore insignificant device volume changes
Fixes devices getting stuck in a "waiting for volume change
acknowledgement" state forever.
2024-08-29 13:21:07 -07:00
79b22af093
service/pipewire: avoid overloading devices with volume changes
Wait until in-flight changes have been responded to before sending more.
2024-08-27 20:34:11 -07:00
c60871a7fb
service/pipewire: set device node volumes with device object
Fixes discrepancies between pulse and qs volumes, and volumes not
persisting across reboot or vt switches.
2024-08-27 01:34:34 -07:00
fe1d15e8f6
crash: add crash reporter 2024-08-20 00:55:07 -07:00
5a038f085d
service/mpris: support trackids in object path form
Chromium reports trackids as object paths, which caused us to fall
back to Seek, which is also entirely broken on chromium.
2024-08-18 13:41:16 -07:00
e223408143
service/mpris: fix display position when paused 2024-08-18 13:07:52 -07:00
ba1e535f9c
core/util: add experimental member macros
An experiment that should reduce boilerplate for properties that just
access a backing value. Code also exists for using it as an interface
for other properties as well, but isn't currently in use.
2024-07-30 20:23:57 -07:00
8873a06962
service/notifications: use DROP_EMIT_SET for notification properties 2024-07-30 12:20:39 -07:00
abc0201f6e
service/mpris: add uniqueId property to detect track changes
Also emits all property changes after trackChanged
2024-07-29 01:34:44 -07:00
d9f66e63a3
service/upower!: divide percentage by 100
Brings range back to the expected 0-1 instead of 0-100.
2024-07-28 20:28:45 -07:00
6b9b1fcb53
core/menu: add QsMenuAnchor for more control of platform menus 2024-07-25 20:44:26 -07:00
54350277be
core/menu: add handle support to QsMenuOpener + add handle to tray 2024-07-25 02:51:17 -07:00