redox-wayland-compositor/crates
Votre Nom 530d022840 Phase 13.1 — port simple_window comme premier client tiers
Crate redox-wl-real-client-simple-window : port Redox de l'exemple
upstream wayland-rs/wayland-client/examples/simple_window.rs.
Premier client que nous n'avons PAS écrit pour valider notre compositor,
donc révélateur des paths protocolaires non anticipés.

Code upstream préservé verbatim sauf 4 adaptations Redox justifiées
dans le doc :
- Connection::connect_to_env() → UnixStream::connect(SOCKET_PATH)
  car WAYLAND_DISPLAY pas garanti dans l'init Redox.
- tempfile::tempfile() → libc::shm_open + ftruncate + mmap car
  O_TMPFILE/mkostemp non garantis par relibc.
- Attente initiale 50×100ms sur l'existence du socket (lancement
  parallèle compositor + client dans init script).
- Logs tee stdout + /scheme/debug pour observer côté serial host.

L'algorithme draw() gradient ARGB, les Dispatch impls, le delegate_noop!,
init_xdg_surface, Close/ESC sont conservés ligne pour ligne. Tout bug
observé sera donc attribuable au compositor, pas au port.

Cross-compile via `redoxer build --release` : 1.1 Mo, ELF statique,
0 warning, 0 erreur (testé 2026-05-15).

Doc phase13-1-real-client-simple-window.md : justifications des 4
adaptations, procédure runtime make qemu, 6 critères d'observation
pour la 13.1.b runtime à venir.

Runtime non validé (exige make qemu interactif) — sera consigné en
phase 13.1.b après test utilisateur.

Leyoda 2026 – GPLv3
2026-05-15 08:15:20 +02:00
..
redox-wl-compositor Sprint 0 — industrialisation : CI, tracing, tests xdg-shell, GPLv3 2026-05-14 20:46:07 +02:00
redox-wl-compositor-core Sprint 0 — industrialisation : CI, tracing, tests xdg-shell, GPLv3 2026-05-14 20:46:07 +02:00
redox-wl-display Sprint 0 — industrialisation : CI, tracing, tests xdg-shell, GPLv3 2026-05-14 20:46:07 +02:00
redox-wl-fullscreen-paint Sprint 0 — industrialisation : CI, tracing, tests xdg-shell, GPLv3 2026-05-14 20:46:07 +02:00
redox-wl-input Sprint 0 — industrialisation : CI, tracing, tests xdg-shell, GPLv3 2026-05-14 20:46:07 +02:00
redox-wl-poc-pixels Sprint 0 — industrialisation : CI, tracing, tests xdg-shell, GPLv3 2026-05-14 20:46:07 +02:00
redox-wl-real-client-simple-window Phase 13.1 — port simple_window comme premier client tiers 2026-05-15 08:15:20 +02:00
redox-wl-test-client-input Sprint 0 — industrialisation : CI, tracing, tests xdg-shell, GPLv3 2026-05-14 20:46:07 +02:00
redox-wl-test-client-resize Sprint 0 — industrialisation : CI, tracing, tests xdg-shell, GPLv3 2026-05-14 20:46:07 +02:00
redox-wl-test-client-shm Sprint 0 — industrialisation : CI, tracing, tests xdg-shell, GPLv3 2026-05-14 20:46:07 +02:00
redox-wl-test-client-shm-two Sprint 0 — industrialisation : CI, tracing, tests xdg-shell, GPLv3 2026-05-14 20:46:07 +02:00
redox-wl-test-compose-static Sprint 0 — industrialisation : CI, tracing, tests xdg-shell, GPLv3 2026-05-14 20:46:07 +02:00
redox-wl-test-display-backend Sprint 0 — industrialisation : CI, tracing, tests xdg-shell, GPLv3 2026-05-14 20:46:07 +02:00
redox-wl-test-fd-passing Sprint 0 — industrialisation : CI, tracing, tests xdg-shell, GPLv3 2026-05-14 20:46:07 +02:00
redox-wl-test-fd-passing-fork Sprint 0 — industrialisation : CI, tracing, tests xdg-shell, GPLv3 2026-05-14 20:46:07 +02:00
redox-wl-test-fuzz-protocol Sprint 0 — industrialisation : CI, tracing, tests xdg-shell, GPLv3 2026-05-14 20:46:07 +02:00
redox-wl-test-handshake Sprint 0 — industrialisation : CI, tracing, tests xdg-shell, GPLv3 2026-05-14 20:46:07 +02:00
redox-wl-test-input Sprint 0 — industrialisation : CI, tracing, tests xdg-shell, GPLv3 2026-05-14 20:46:07 +02:00
redox-wl-test-introspect Sprint 0 — industrialisation : CI, tracing, tests xdg-shell, GPLv3 2026-05-14 20:46:07 +02:00
redox-wl-test-poll-multifd Sprint 0 — industrialisation : CI, tracing, tests xdg-shell, GPLv3 2026-05-14 20:46:07 +02:00
redox-wl-test-shm-open Sprint 0 — industrialisation : CI, tracing, tests xdg-shell, GPLv3 2026-05-14 20:46:07 +02:00
redox-wl-test-shm-pipeline Sprint 0 — industrialisation : CI, tracing, tests xdg-shell, GPLv3 2026-05-14 20:46:07 +02:00
redox-wl-test-unix-socket Sprint 0 — industrialisation : CI, tracing, tests xdg-shell, GPLv3 2026-05-14 20:46:07 +02:00
redox-wl-wayland-frontend Sprint 0 — industrialisation : CI, tracing, tests xdg-shell, GPLv3 2026-05-14 20:46:07 +02:00