1
0
Fork 0
forked from wry/wry
Commit graph

31 commits

Author SHA1 Message Date
Julian Orth
2037a37c1e config: allow attaching file descriptors to commands 2024-03-06 20:04:54 +01:00
Julian Orth
a1ba476e68 forker: unify xwayland and other spawning 2024-03-06 19:47:52 +01:00
Julian Orth
615acd4847 config: downgrade bincode to 1.3.3
This should not have any impact on existing configs since bincode claims
compatibility of the wire format between 1.3.3 and 2.0.0.
2024-02-16 14:12:53 +01: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
e5c0916a25 all: fix memory leaks 2022-05-18 22:42:36 +02:00
Julian Orth
22b7fb2ced tests: fix ol' forker dumping core in tests 2022-05-13 19:26:55 +02:00
Julian Orth
e4f97287bc io-uring: add sendmsg 2022-05-13 17:37:20 +02:00
Julian Orth
9416efeabe runtime: replace epoll by io-uring 2022-05-12 22:50:33 +02:00
Julian Orth
dcdd91c0b0 io-uring: add readable/writable 2022-05-12 20:33:58 +02:00
Julian Orth
3875c63172 async: rebase wheel on top of async engine 2022-05-12 17:23:17 +02:00
Julian Orth
23f1aa5a31 it: test focus moving 2022-05-04 15:10:36 +02:00
Julian Orth
03b267e51f forker: drop parent fd in forker
So that the forker dies when the parent fd is dropped. This happens in
the integration tests.
2022-05-04 14:39:23 +02:00
Julian Orth
9904717c71 all: fix memory leaks 2022-05-02 22:11:59 +02:00
Julian Orth
54cf01f745 autocommit 2022-04-18 14:14:25 CEST 2022-04-18 14:14:25 +02:00
Julian Orth
affab05b94 autocommit 2022-04-17 18:45:01 CEST 2022-04-17 18:45:01 +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
6ebf731aea autocommit 2022-03-29 14:11:25 CEST 2022-03-29 14:11:25 +02:00
Julian Orth
63be47a9fb autocommit 2022-03-23 14:35:09 CET 2022-03-23 14:35:09 +01:00
Julian Orth
a15a02a95c autocommit 2022-03-13 22:20:31 CET 2022-03-13 22:20:31 +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
6e466360a8 autocommit 2022-02-24 18:24:14 CET 2022-02-24 18:24:14 +01:00
Julian Orth
7d28d30666 autocommit 2022-02-24 16:30:11 CET 2022-02-24 16:30:11 +01:00
Julian Orth
666e475032 autocommit 2022-02-22 14:17:48 CET 2022-02-22 14:17:48 +01:00
Julian Orth
8d0b82c37c autocommit 2022-02-16 18:14:14 CET 2022-02-16 18:14:14 +01:00
Julian Orth
086f2f73f4 autocommit 2022-02-15 23:50:26 CET 2022-02-15 23:50:26 +01:00
Julian Orth
3591f6f4f9 autocommit 2022-02-15 23:15:00 CET 2022-02-15 23:15:00 +01:00
Julian Orth
cacd49d15a autocommit 2022-02-15 22:53:12 CET 2022-02-15 22:53:12 +01:00