Commit Graph
279 Commits
Author SHA1 Message Date
outfoxxed 79b2fea52e core/util: fix MemberMetadata compile on gcc 2024-08-02 01:32:12 -07:00
outfoxxed 2c87cc3803 core: stop using the simple animation driver by default 2024-08-01 21:47:18 -07:00
outfoxxed cb2862eca9 wayland/toplevel_management: add ToplevelManager.activeToplevel 2024-07-31 23:10:08 -07:00
outfoxxed 9555b201fe core/clock: fix instability causing timer to fire multiple times
If the signal was fired slightly before the scheduled time, it would
schedule itself again a couple ms in the future.
2024-07-31 23:09:39 -07:00
outfoxxed a4903eaefc core/clock: fix breakage at midnight
The difference between 23:59 and 00:00 is -23:59, not 00:01.
2024-07-31 01:51:53 -07:00
outfoxxed 76744c903a core/clock: add SystemClock 2024-07-30 23:24:54 -07:00
outfoxxed 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
outfoxxed 8873a06962 service/notifications: use DROP_EMIT_SET for notification properties 2024-07-30 12:20:39 -07:00
outfoxxed 3a8e67e8ab core/util: move DropEmitter to utils and add generic accessor macros 2024-07-30 12:19:59 -07:00
outfoxxed 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
outfoxxed 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
outfoxxed 18563b1273 wayland/popupanchor: fix anchor state breaking show after reposition
If the popup was hidden and reposition was called to update qt's
initial positioning properties it would be cancelled by the dirty
marker being unset. This includes if the popup is shown or not into
its dirty state.
2024-07-27 02:28:21 -07:00
outfoxxed 4b2e569e94 core/types: allow implicit conversion from point to box 2024-07-26 10:06:56 -07:00
outfoxxed 58c3718287 core/types: add implicit coversion from rect to box 2024-07-26 00:55:42 -07:00
outfoxxed 6b9b1fcb53 core/menu: add QsMenuAnchor for more control of platform menus 2024-07-25 20:44:26 -07:00
outfoxxed 54350277be core/menu: add handle support to QsMenuOpener + add handle to tray 2024-07-25 02:51:17 -07:00
outfoxxed acdbe73c10 dbus/dbusmenu: separate menu handles from status notifier items
No api changes yet.
2024-07-25 01:32:05 -07:00
outfoxxed a71a6fb3ac core/popupanchor: fix flip with opposite anchors and gravity
Flips into the anchor rect instead of over it when anchors and gravity
are opposite.
2024-07-24 01:36:51 -07:00
outfoxxed 60388f10ca core/popupanchor: reposition on popup size change 2024-07-24 00:44:42 -07:00
outfoxxed ebfa8ec448 core/popupanchor: rework popup anchoring and add PopupAnchor 2024-07-23 22:12:27 -07:00
outfoxxed 14910b1b60 docs: mention member reference syntax in CONTRIBUTING 2024-07-21 17:44:09 -07:00
outfoxxed a9e4720fae docs: use new member reference shorthand 2024-07-21 17:41:49 -07:00
outfoxxed dfcf533424 core/window!: rename QSWindow to QsWindow 2024-07-21 16:15:11 -07:00
outfoxxed aa3f7daea2 wayland/platformmenu: fix flipped positions and submenu y positions 2024-07-19 02:55:38 -07:00
outfoxxed 6367b56f55 core/window: fix attached property prior to backer creation 2024-07-18 01:57:40 -07:00
outfoxxed e48af44607 core/window: add QsWindow attached object to contained Items 2024-07-17 20:54:29 -07:00
outfoxxed d1c33d48cd docs: explain type reference shorthand in CONTRIBUTING 2024-07-14 16:22:01 -07:00
outfoxxed e9cacbd92d all: use type/prop shorthand in docs 2024-07-14 16:17:51 -07:00
outfoxxed c4cc662bcc core/objectmodel: fix objectInserted signal indexes 2024-07-12 22:52:40 -07:00
outfoxxed e23923d9a2 service/notifications: make notifications Retainable 2024-07-12 21:25:46 -07:00
outfoxxed 609834d8f2 core/retainable: add Retainable and RetainableLock 2024-07-12 21:21:35 -07:00
outfoxxed 7c5632ef5f service/upower: start upower dbus service if inactive 2024-07-12 20:16:10 -07:00
outfoxxed d630cc7f76 service/notifications: add notifications service 2024-07-12 00:50:00 -07:00
outfoxxed 79cbfba48a wayland/layershell: add warning that exclusive focus is not a lock
Apparently this needed to be said.
2024-07-11 22:32:21 -07:00
outfoxxed c758421af6 core/reloader: fix Reloadable::onReload being called multiple times
onReload was called multiple times due to Reloadable::reloadRecursive
calling onReload instead of reload, which didn't set reloadComplete.
This allowed the componentComplete fallback to call reload later.
2024-07-11 01:43:54 -07:00
outfoxxed 49b309247d all: fix formatting 2024-07-11 00:16:44 -07:00
outfoxxed bb33c9a0c4 core/global: add Quickshell.iconPath
Replaces "image://icon/" in user facing code.
2024-07-11 00:09:34 -07:00
Ben 24f54f579f service/upower: add upower service 2024-07-10 14:21:34 -04:00
outfoxxed 497c9c4e50 core/window: ensure items are polished before setting window visible
Hacks around a bug in layouts that commonly results in popups being
wrongly sized for at least a frame.
2024-07-10 03:44:55 -07:00
outfoxxed db23c0264a core/desktopentry: paper over id casing issues 2024-07-08 15:37:49 -07:00
outfoxxed fdbb490537 service/tray: fix crash when display is called on a menuless item 2024-07-02 10:52:11 -07:00
outfoxxed b4be383695 service/tray: log menu refcount updates 2024-07-02 10:50:07 -07:00
outfoxxed 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
outfoxxed c31bbea837 docs: add breaking change notice 2024-07-01 20:50:07 -07:00
outfoxxed d8b900ed0b lint: allow implicit bool conversions 2024-06-28 01:05:59 -07:00
outfoxxed 8547d12396 service/pipewire: make binding warnings in docs more obvious 2024-06-27 20:45:27 -07:00
outfoxxed d7149d5641 core/objectrepeater: soft-remove in favor of Instantiator
RIP my time.
2024-06-23 14:05:34 -07:00
outfoxxed c78c86425d core/objectrepeater: delete delegate instances after removal 2024-06-23 03:18:27 -07:00
outfoxxed 09d8a7a07d core/objectrepeater: add ObjectRepeater 2024-06-22 01:57:48 -07:00
outfoxxed d8fa9e7bb3 service/mpris: add properties for common track metadata
This was done to work around bad player implementations sending weird
metadata, such as removing the art url halfway through a song.
2024-06-21 19:03:40 -07:00