1
0
Fork 0
forked from wry/wry
Commit graph

19 commits

Author SHA1 Message Date
Julian Orth
755bfdd661 wayland: optimize parsing of fixed-size messages 2026-03-29 12:38:24 +02:00
Julian Orth
b745e20f7f wayland: keep parser data as &[u32] 2026-03-29 12:33:07 +02:00
Julian Orth
d6b3973979 wayland: add u64 type macro 2025-06-04 13:24:28 +02:00
Julian Orth
1e45a243de all: remove unnecessary mem:: prefix 2024-10-12 14:50:05 +02:00
Julian Orth
e377470f3f all: use expect attribute where possible 2024-09-06 11:08:22 +02: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
be32036824 autocommit 2022-04-07 17:31:31 CEST 2022-04-07 17:31:31 +02:00
Julian Orth
28c9b46400 autocommit 2022-03-30 03:00:46 CEST 2022-03-30 03:00:46 +02:00
Julian Orth
8faab3fe53 autocommit 2022-02-09 17:26:50 CET 2022-02-09 17:26:50 +01:00
Julian Orth
7d531257ed autocommit 2022-02-06 23:54:46 CET 2022-02-06 23:54:46 +01:00
Julian Orth
dc2cb71012 autocommit 2022-02-06 16:33:54 CET 2022-02-06 16:33:54 +01:00
Julian Orth
c92346324b autocommit 2022-02-06 03:46:03 CET 2022-02-06 03:46:03 +01:00
Julian Orth
2d8b3a200e autocommit 2022-02-05 02:07:07 CET 2022-02-05 02:07:07 +01:00
Julian Orth
3336f1ab6a autocommit 2022-01-08 19:02:10 CET 2022-01-08 19:02:11 +01:00
Julian Orth
d061a5c313 autocommit 2022-01-08 18:38:24 CET 2022-01-08 18:38:24 +01:00
Julian Orth
f8e7557d1d autocommit 2022-01-07 15:08:31 CET 2022-01-07 15:08:31 +01:00
Julian Orth
4a939477a2 autocommit 2022-01-06 19:08:32 CET 2022-01-06 19:08:32 +01:00
Julian Orth
cbbc41a463 autocommit 2022-01-04 15:30:21 CET 2022-01-04 15:30:21 +01:00
Julian Orth
fc887b339e autocommit 2022-01-02 20:11:25 CET 2022-01-02 20:11:25 +01:00
Renamed from src/utils/buffd/wl_parser.rs (Browse further)