1
0
Fork 0
forked from wry/wry
Commit graph

21 commits

Author SHA1 Message Date
Julian Orth
9e67158f47 all: address clippy lints 2025-08-29 11:21:11 +02:00
Tadeo Kondrak
d73acb5a92 dbus: Parse and use DBUS_SESSION_BUS_ADDRESS
The old way of only using XDG_RUNTIME_DIR doesn't work for multiple
sessions using dbus-run-session.
2025-04-04 16:16:01 -06:00
Julian Orth
3338909170 all: set rust edition to 2024 2025-02-21 10:44:29 +01:00
Julian Orth
e377470f3f all: use expect attribute where possible 2024-09-06 11:08:22 +02:00
Julian Orth
58cab8894c all: fix clippy lints 2024-02-04 20:17:55 +01:00
Julian Orth
9812a02f87 io: use io_uring for all io
There should no longer be any

- read
- write
- connect
- sendmsg
- recvmsg
- accept

calls in the codebase. Previously we were using a mix of io_uring and
these calls which had some negative effects: Since we were using the old
system calls, we had to set the file descriptors to non-blocking. But
our io_uring code did not handle EAGAIN. This lead to programs sometimes
being killed when the wayland IO was actually blocking.

Now all file descriptors are set to blocking, but io_uring makes it
non-blocking from our perspective. The one exception are evdev files
because they are read via libinput and libinput uses the old system
calls.
2022-12-31 17:56:58 +01:00
Julian Orth
a162055f1d portal: add a desktop portal 2022-07-31 11:25:57 +02:00
Julian Orth
f84b4619ba dbus: expose more functionality 2022-07-30 12:48:45 +02:00
Julian Orth
dcdd91c0b0 io-uring: add readable/writable 2022-05-12 20:33:58 +02:00
Julian Orth
9904717c71 all: fix memory leaks 2022-05-02 22:11:59 +02:00
Julian Orth
fdf0ab7388 autocommit 2022-04-15 20:23:03 CEST 2022-04-15 20:23:03 +02:00
Julian Orth
5f13954dbc autocommit 2022-04-14 19:52:11 CEST 2022-04-14 19:52:11 +02:00
Julian Orth
be32036824 autocommit 2022-04-07 17:31:31 CEST 2022-04-07 17:31:31 +02:00
Julian Orth
9842264fad autocommit 2022-03-29 15:40:59 CEST 2022-03-29 15:40:59 +02:00
Julian Orth
6ebf731aea autocommit 2022-03-29 14:11:25 CEST 2022-03-29 14:11:25 +02:00
Julian Orth
2ff60ff817 autocommit 2022-03-22 23:24:17 CET 2022-03-22 23:24:17 +01:00
Julian Orth
0399772467 autocommit 2022-03-09 17:51:17 CET 2022-03-09 17:51:17 +01:00
Julian Orth
4df6b559b7 autocommit 2022-03-09 14:01:21 CET 2022-03-09 14:01:21 +01:00
Julian Orth
aa0cb94143 autocommit 2022-03-02 14:24:07 CET 2022-03-02 14:24:07 +01:00
Julian Orth
0e9afcbfa5 autocommit 2022-02-28 00:14:11 CET 2022-02-28 00:14:11 +01:00
Julian Orth
db88f2db42 autocommit 2022-02-27 01:35:49 CET 2022-02-27 01:35:49 +01:00