Commit graph

476 commits

Author SHA1 Message Date
fd87be1355
widgets/cliprect: pass user input to contained items 2024-11-27 23:43:03 -08:00
b6a79fe99c
core/proxywindow: improve QsWindowAttached robustness
Can now track window parent window changes.
Added tests.
2024-11-27 23:30: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
87a57b7a2c
launch: don't try to write daemon exit from monitor process 2024-11-24 13:38:14 -08:00
e3d003e7ab
core/popupanchor: emit anchoring() before checking anchor props 2024-11-24 13:22:10 -08:00
6f9993394a
hyprland/ipc: pad event argument list to given count
Fixes crash when assuming more arguments than given will be available,
and trailing ",".
2024-11-24 13:21:09 -08:00
Nydragon
31adcaac76
i3/sway: add support for the I3 and Sway IPC
sway: add urgent and focused dispatchers to workspaces

flake: add sway toggle

WIP sway: add monitor status

sway: handle multiple ipc events in one line

sway: reuse socket connection for dispatches & better command type handling

WIP sway: add associated monitor to a workspace

i3/sway: update to allow for i3 compatibility

i3/sway: manage setting the focused monitors

i3/sway: fix multi monitor crash

i3/sway: fix linting errors

i3/sway: update nix package flag naming to i3

i3/sway: add documentation, fix module.md and impl monitorFor

i3/sway: handle more workspace ipc events

i3/sway: fix review

i3/sway: fix crash due to newline breaking up an IPC message

i3/sway: handle broken messages by forwarding to the next magic sequence

i3/sway: break loop when buffer is empty

i3/sway: fix monitor focus & focused monitor signal not being emitted

i3/sway: use datastreams instead of qbytearrays for socket reading

i3/sway: fix lint issues

i3/sway: drop second socket connection, remove dispatch return value, recreate IPC connection on fatal error

i3/sway: handle run_command responses

i3/sway: remove reconnection on unknown event

i3/sway: fix formatting, lint & avoid writing to socket if connection is not open
2024-11-24 12:50:22 +01:00
Nydragon
84ce47b6d3
build: add justfile entry to lint only changed files 2024-11-24 12:50:10 +01: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
9b409c0e38
ci: use qt6.7.2 from cached nixpkgs commit
No point in building qtdeclarative every ci run.
2024-11-23 05:39:27 -08:00
cb426973d7
ci: test compilation against supported qt version / compiler matrix 2024-11-23 05:20:51 -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
afa1b6f88b
wayland/layershell: link to xdg-shell protocol codegen 2024-11-22 18:57:11 -08:00
a8901fde67
debug/lint: run lints on reload for visible windows 2024-11-22 17:55:45 -08:00
8d63006bba
widgets/wrapper: fix default child not being assigned initially 2024-11-22 17:35:02 -08:00
5b01ec032e
debug/linter: remove log messages
Printing qml items here breaks the qml engine in a way that made
transparent rectangles in the scene graph opaque.
2024-11-22 16:15:03 -08:00
f0aca2030e
core/proxywindow: notify for width/height changes after connect
Previously the content item would resize but w/h wouldn't be updated.
2024-11-22 15:39:39 -08:00
5301227ec1
service/tray: fix compile on qt versions older than 6.8 2024-11-22 15:35:21 -08:00
ec143d6119
dbus/properties: remove non bindable based dbus property impl 2024-11-21 19:54:07 -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
f53e6fb515
dbus/dbusmenu: use bindable dbus properties 2024-11-21 04:06:24 -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
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
4163713bc4
dbus/properties: decouple properties from AbstractDBusProperty
Importantly, this decouples properties from having to be QObjects,
allowing future property types to be much lighter.
2024-11-20 03:28:48 -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
dbaaf55eb6
core/popupwindow: remove parentWindow deprecation message
Was being falsely triggered by lints.
2024-11-19 17:20:53 -08:00
eb5a5b8b67
debug: run lints after window expose
Ensures items are at their final sizes before checking them,
fixing some false positives.
2024-11-19 15:58:55 -08:00
6ceee06884
debug: add lint for zero sized items 2024-11-19 15:25:42 -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
f4066cb4ed
core/popupanchor: add anchoring signal for last second repositioning 2024-11-19 03:29:31 -08:00
ee93306312
widgets/wrapper: fix margin wrapper reactvity and margins
Fixed reactivity of the paren't actual size not working before child
had been assigned.

Fixed incorrect margins when actual size is less than implicit size.
2024-11-19 02:57:04 -08:00
033e810871
widgets: add ClippingWrapperRectangle 2024-11-19 02:52:49 -08:00
401ee4cec6
widgets: add wrapper components and managers 2024-11-19 02:02:55 -08:00
79fca3cab8
docs: mention spirv-tools in BUILD.md 2024-11-17 21:38:56 -08:00
36174854ad
services/tray: fix const lint in item 2024-11-17 19:28:07 -08:00
fdc13023b7
widgets: add ClippingRectangle 2024-11-17 19:27:59 -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