ocaml-wayland/lib
Davíð Steinn Geirsson fcaef2e95a Improve reliability and documentation across the library
Replace assertions with descriptive errors for conditions reachable via
network input (ID space exhaustion, fd limits, role violations, handler
state). Validate string/array lengths in message parsing to catch
overflow or null-where-non-null. Handle Queue.Empty in get_fd. Guard
Unix.close during cleanup so one failure doesn't leak remaining fds.
Replace Option.get with match in fd receive path. Add explicit
parentheses around land expressions for clarity. Document connection.mli,
fixed.mli, and the Obj.repr identity check in proxy.ml.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 15:21:53 +00:00
..
client.ml Convert from Lwt to Eio 2023-09-28 10:39:50 +01:00
client.mli Convert from Lwt to Eio 2023-09-28 10:39:50 +01:00
connection.ml Improve reliability and documentation across the library 2026-03-25 15:21:53 +00:00
connection.mli Improve reliability and documentation across the library 2026-03-25 15:21:53 +00:00
dune Convert from Lwt to Eio 2023-09-28 10:39:50 +01:00
fixed.ml Initial import 2021-02-18 12:12:22 +00:00
fixed.mli Improve reliability and documentation across the library 2026-03-25 15:21:53 +00:00
iface_reg.ml Add type to Metadata.S 2021-02-24 11:40:42 +00:00
iface_reg.mli Add type to Metadata.S 2021-02-24 11:40:42 +00:00
internal.ml Improve reliability and documentation across the library 2026-03-25 15:21:53 +00:00
log.ml Set log level from $WAYLAND_DEBUG variable 2021-03-04 14:35:47 +00:00
metadata.ml Include last known interface version in generated protocol 2021-03-04 21:15:23 +00:00
msg.ml Improve reliability and documentation across the library 2026-03-25 15:21:53 +00:00
msg.mli Convert from Lwt to Eio 2023-09-28 10:39:50 +01:00
proxy.ml Improve reliability and documentation across the library 2026-03-25 15:21:53 +00:00
proxy.mli Improve proxy module documentation 2022-08-28 18:12:47 +01:00
recv_buffer.ml Improve reliability and documentation across the library 2026-03-25 15:21:53 +00:00
recv_buffer.mli Use Cstruct in transport API 2021-02-19 18:04:56 +00:00
registry.ml Convert from Lwt to Eio 2023-09-28 10:39:50 +01:00
registry.mli Convert from Lwt to Eio 2023-09-28 10:39:50 +01:00
s.ml Convert from Lwt to Eio 2023-09-28 10:39:50 +01:00
server.ml Convert from Lwt to Eio 2023-09-28 10:39:50 +01:00
server.mli Convert from Lwt to Eio 2023-09-28 10:39:50 +01:00
unix_transport.ml Improve reliability and documentation across the library 2026-03-25 15:21:53 +00:00
unix_transport.mli Convert from Lwt to Eio 2023-09-28 10:39:50 +01:00
wayland.ml Improve proxy module documentation 2022-08-28 18:12:47 +01:00
wayland.xml Update protocols 2025-02-08 14:53:01 +00:00