Commit graph

463 commits

Author SHA1 Message Date
d6b58521e9
core!: fix typo in ShellScreen.primaryOrientation 2025-01-19 01:00:03 -08:00
d195ca7680
wayland/screencopy: fix UAF in dmabuf modifier collection
The QList optimization the code was for no longer exists.
2025-01-15 03:24:19 -08:00
ca79715cce
wayland/screencopy: log more information during buffer creation 2025-01-15 02:52:08 -08:00
c2ed5bf559
core/stacklist: add tests 2025-01-15 02:47:14 -08:00
6024c37492
core/scriptmodel: improve docs 2025-01-14 15:30:48 -08:00
6d8022b709
service/pipewire: add registry and node ready properties 2025-01-14 15:30:47 -08:00
Richard Bainesly
8b6aa624a2
fix fd leaks in scanPath
use auto
2025-01-14 13:05:15 -08:00
cd429142a4
wayland/screencopy: add screencopy 2025-01-14 05:08:07 -08:00
918dd2392d
build/wayland: do not link to a target in wl_proto 2025-01-11 23:59:19 -08:00
2c411fce5a
all: fix new lints 2025-01-07 03:11:19 -08:00
26d443aa50
ci: add 6.8.1 2025-01-06 22:21:32 -08:00
af86d5fd19
hyprland/surface: remove debug print 2025-01-05 23:53:03 -08:00
761d99d644
service/mpris: reset position timestamps on seek
Moving the onPositionUpdated callback to a bpPosition binding caused
it not to fire when Position was changed to the same value, which can
happen when quickly changing tracks before the player has sent a new
position.

This reverts the above change while still updating position on seek.
2025-01-05 01:55:33 -08:00
fca058e66c
service/upower: add device model property 2025-01-04 04:38:03 -08:00
eaf854935b
service/upower: correctly deserialize UPowerDeviceState::Discharging
???
2025-01-04 03:37:53 -08:00
f3b7171b25
core/window: allow explicit surface format selection 2025-01-04 03:04:41 -08:00
dc3a79600d
core/command: avoid running when cli11 forces returning 0
Fixes running when --help is passed.
2025-01-03 02:42:32 -08:00
47bcf8ee61
service/upower: add power-profiles support 2025-01-02 21:54:36 -08:00
66b9917e70
service/mpris: trigger onPositionUpdated when seeking 2025-01-01 19:56:51 -08:00
3a40174ed6
hyprland/surface: add hyprland surface opacity support 2025-01-01 17:45:23 -08:00
08836ca1f3
core/scriptmodel: add expression model for unique lists 2024-12-27 04:16:12 -08:00
2f194b7894
service/upower: track device additions/removals
Also ensures displayDevice is always present.
2024-12-20 15:58:44 -08:00
611cd76abc
core/proxywindow: connect mScreen's destroy signal in all cases
Fixes edge case crashes when unplugging and replugging monitors.
2024-12-19 03:34:07 -08:00
27840db7a6
service/mpris: don't send postTrackChanged unless trackChanged sent 2024-12-13 15:04:28 -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
be5e5fc4a5
lint: remove broken lint selection
The first line ended with a period instead of a comma, but both lints
were additionally unhelpful for quickshell.
2024-12-06 19:43:16 -08:00
ded3708762
io/fileview: correctly mark signals as signals in docs 2024-12-06 03:19:58 -08:00
69d13967c9
io/fileview: add support for watching changes 2024-12-06 02:32:19 -08:00
ccf885081c
build: add progress bar to just lint-changed 2024-12-06 01:20:05 -08:00
70be74e80d
io/fileview: add write support
FileView is now getting somewhat out of hand. The asynchronous parts
especially need to be redone, but this will work for now.
2024-12-06 01:18:31 -08:00
2d05c7a89e
core/menu: correctly handle menu destruction while open 2024-12-05 19:46:08 -08:00
26280b34b4
widgets/cliprect: fix typo in bottomRightRadius 2024-12-03 23:27:50 -08:00
af14a416c1
widgets/wrapper: update child geometry when implicit size changes
The implicit size update from a child item of a MarginWrapper
component triggers an implicit size update of the wrapper component,
but this does not necessarily result in the actual size of the wrapper
changing (e.g. when it is positioned by a layout).
2024-11-29 02:03:54 -08:00
cb05e9a327
core/reloader: fix incubator warnings 2024-11-29 01:37:14 -08:00
8882f7ca50
core/proxywindow: fix ProxiedWindow proxy pointer after reload
Previously was not updated after reload, causing QsWindowAttached to
use the old window pointer after it had been freed.
2024-11-29 00:11:56 -08:00
59298f6507
i3: fix Q_PROPERTY definitions for use with typegen
The regex currently can't handle line breaks
2024-11-27 23:47:28 -08:00
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