Commit graph

51 commits

Author SHA1 Message Date
ecc4a1249d
all: mask various useless dbus errors 2025-07-18 04:14:58 -07:00
ipg0
115d6717a8
services/tray: use normal icon as fallback for attention custom icon
Signed-off-by: ipg0 <pyromancy00@gmail.com>
2025-07-17 22:27:46 +03:00
a45fc03c7d
service/tray: fix missing documentation for invokables
'};' prior to invokables caused the docgen regex to miss them
2025-07-15 15:58:56 -07:00
3d594e16dd
core/log: track default logging categories
Fixes a bug in fb37be7 which ignored default logging categories due to
skipping QLoggingRegistry's filter.
2025-07-08 13:49:06 -07:00
f681e2016f
bluetooth: add bluetooth integration
Missing support for things that require an agent, but has most basics.

Closes #17
2025-07-01 00:25:16 -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
d872ea888d
service/tray: hide missing prop warnings for ToolTip 2025-05-24 03:21:26 -07:00
56b4ef3d21
service/tray: silence compliance warnings
Almost every tray item is missing properties and these
messages pollute the log, masking more useful warnings.
2025-05-18 03:42:22 -07:00
fa74449139
service/tray: add "Communications" category
Closes #28
2025-03-27 14:01:41 -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
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
2c411fce5a
all: fix new lints 2025-01-07 03:11:19 -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
b43b4a06d0
service/tray: adopt bindable properties 2024-11-21 19:44:51 -08:00
ac50767873
service/tray!: refactor qml bindings to StatusNotifierItem
Breaking: Dropped SystemTrayMenuWatcher.
2024-11-21 05:10:54 -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
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
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
bdc9fe958b
service/tray: delete image pixmaps created with new[] using delete[] 2024-09-15 13:50:00 -07:00
fe1d15e8f6
crash: add crash reporter 2024-08-20 00:55:07 -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
acdbe73c10
dbus/dbusmenu: separate menu handles from status notifier items
No api changes yet.
2024-07-25 01:32:05 -07:00
a9e4720fae
docs: use new member reference shorthand 2024-07-21 17:41:49 -07:00
e9cacbd92d
all: use type/prop shorthand in docs 2024-07-14 16:17:51 -07:00
49b309247d
all: fix formatting 2024-07-11 00:16:44 -07:00
fdbb490537
service/tray: fix crash when display is called on a menuless item 2024-07-02 10:52:11 -07:00
b4be383695
service/tray: log menu refcount updates 2024-07-02 10:50:07 -07:00
ec362637b8
service/tray!: redesign menus / dbusmenu and add native menu support
Reworks dbusmenu menus to be displayable with a system context menu.

Breaks the entire DBusMenu api.
2024-07-01 20:50:30 -07:00
5016dbf0d4
all: replace list properties with ObjectModels 2024-05-23 17:28:07 -07:00
4ee9ac7f7c
service/mpris: finish mpris implementation 2024-05-21 04:09:19 -07:00
3e80c4a4fd
service/pipewire: add pipewire module 2024-05-19 02:29:21 -07:00
e7cfb5cf37
service/tray: move menu access to SystemTrayMenuWatcher 2024-05-01 02:55:23 -07:00
658f3cf411
docs: add API documentation for SystemTray and DBusMenu 2024-04-30 01:27:06 -07:00
61061644a5
dbus/dbusmenu: add DBusMenu support 2024-04-29 23:57:26 -07:00
7cc1b54587
service/tray: rework tray image providers 2024-04-29 22:28:09 -07:00
aa9f8cd001
dbus/properties: dbus/dbusutil -> dbus/properties 2024-04-29 18:37:57 -07:00
a1d82729bc
service/tray: log failures when calling Activate or SecondaryActivate 2024-04-29 18:31:35 -07:00
c71fdd62d0
service/tray: log icon render failures due to IconThemePath 2024-04-29 18:16:04 -07:00
ce4e697667
service/tray: use bilinear scaling for tray icons
Apparently some programs think it is a good idea to send 1000x+ images.
2024-04-21 00:16:22 -07:00
c6e5a35745
core/reloader: fix more crashes (not all of them) 2024-04-20 02:59:50 -07:00
97bcdbecc1
service/tray: add activate, secondaryActivate and scroll methods 2024-04-19 22:03:06 -07:00
61812343f5
service/tray: account for more edge cases and add placeholder img 2024-04-19 04:21:21 -07:00