[ANNOUNCE] wayland 1.22.91

Simon Ser contact at emersion.fr
Thu Apr 25 15:53:13 UTC 2024


This is the alpha release for Wayland 1.23.

Besides numerous bugfixes and protocol clarifications, Wayland 1.23 includes
the following new features:

- A mechanism to set the size of the internal connection buffer used by
  libwayland
- An enum-header mode for wayland-scanner to generate headers with only enums
- wayland-scanner now generates validator functions for enums on the server
  side
- Protocols can now indicate with a "deprecated-since" XML attribute that a
  request, event or enum entry is deprecated
- An API to set a name for a queue to aid debugging
- wl_client_get_user_data() and wl_client_set_user_data() to more easily attach
  custom data to a client
- OpenBSD support
- A wl_shm.release request for proper cleanup of this global

Full commit history below.

6t8k (1):
      cursor: memfd_create: try MFD_NOEXEC_SEAL

Alex Yang (1):
      debug: Replace "@<id>" with "#<id>" in logs

Andreas Cord-Landwehr (1):
      Consider pkgconfig sysroot for pkgdatadir

Ben Widawsky (1):
      protocol: clarify scale expecations

Chloé Vulquin (1):
      xcursor: catch theme inheritance loops

Colin Kinloch (1):
      protocol: Undefine wl_display_sync callback data

Consolatis (1):
      cursor: add aliases for cursor name spec

David Benjamin (2):
      connection: avoid calling memcpy on NULL, 0
      util: fix undefined behavior in wl_array_for_each

David Edmundson (1):
      client: Add method to get display for a given proxy

Derek Foreman (2):
      client: Allow setting names for queues
      client: print debug events that have no listener

Erik Chen (1):
      connection: Spruce up logging for client errors.

Francesco Guastella (1):
      build: define tests in egl/meson.build when the 'tests' option is enabled

Isaac Freund (1):
      wl_touch.cancel: document lack of frame event

John Lindgren (1):
      connection: Small simplification to wl_connection_write()

Jordan Williams (1):
      egl: Disable symbols check for static builds

Joshua Ashton (1):
      event-loop: Handle EINTR and EAGAIN in wl_event_loop_dispatch

Julian Orth (2):
      protocol: wl_subsurface will never be focused
      Clarify behavior of buffer transformations

Kirill Chibisov (1):
      protocol: clarify defaults with wl_compositor at v6

Kirill Primak (3):
      protocol: improve wl_subsurface.{set_position,place_above} description
      protocol: clarify pending wl_buffer destruction
      event-loop: use wl_priv_signal for the destroy signal

Manuel Stoeckl (3):
      protocol: add new shm formats
      tests: drop misleading fixed-benchmark
      connection: Dynamically resize connection buffers

Mikhail Gusarov (1):
      doc: Improve wording for packed IDs

Peter Hutterer (1):
      Add a triage-policies file for bugbot

Sebastian Wick (3):
      protocol: specify the exact form of premultiplication
      server: add wl_client_get_user_data/wl_client_set_user_data
      protocol: define content updates and their internal queue

Simon Ser (45):
      build: re-open main branch for regular development
      protocol: disallow re-using wl_data_source
      util: simplify wl_fixed_to_double()
      server: stop wl_display_run() on dispatch error
      build: override wayland-scanner dep
      protocol: refer to wl_surface.offset in set_cursor
      server: use bool in struct fields
      tests: add missing proxy-test
      egl: add missing ABI check test
      tests: manually wrap libc functions
      protocol: fix whitespace
      cursor: check return value of snprintf()
      ci: upgrade ci-templates
      ci: upgrade Debian to bookworm
      ci: upgrade FreeBSD to 13.2
      protocol: refer to wl_surface.offset in wl_data_device.start_drag
      gitlab: make issue template the default
      util: simplify wl_fixed_from_double()
      build: add a gen-scanner-test target
      protocol: document wl_surface.offset for sub-surfaces
      util: use C23 typeof if available
      util: use C23 deprecated attribute
      shm: fix resource versions
      protocol: add wl_shm.release request
      shm: implement version 2
      protocol: mention wl_surface events from wl_output.{scale,transform}
      Introduce enum wl_arg_type
      connection: simplify wl_closure_lookup_objects() loop
      client: simplify create_outgoing_proxy() loop
      client: simplify create_proxies() loop
      connection: use enum wl_arg_type in wl_message_count_arrays()
      protocol: document that color channels provide electrical values
      scanner: add new enum-header mode
      tests: add scanner test for enum-header
      util: convert macros to inline functions
      ci: bump Meson version to 0.57
      build: bump minimum Meson version to 0.57
      ci: use --fatal-meson-warnings
      ci: turn on -Dwerror=true for FreeBSD
      scanner: add validators for enums
      Add support for the deprecated-since XML attribute
      protocol: mark wl_pointer.axis_discrete as deprecated
      tests: add deprecated-since attributes
      client: fix invalid doc command for WL_MARSHAL_FLAG_DESTROY
      build: bump to version 1.22.91 for the alpha release

Sébastien Marie (2):
      compat: prefer waitpid() over waitid()
      build: fix build and provide compat for OpenBSD

Thomas Lukaszewicz (2):
      Mitigate UAF crashes due to iteration over freed wl_resources
      Mitigate UAF crashes due to wl_client_destroy reentrancy

Xaver Hugl (1):
      protocol: improve wl_keyboard focus documentation

Yang Wang (1):
      event-loop: optimize timer check logic

git tag: 1.22.91

https://gitlab.freedesktop.org/wayland/wayland/-/releases/1.22.91/downloads/wayland-1.22.91.tar.xz
SHA256: 2316833f74ae7ed3b20664ba3bb5d6011588bf9d0da5ea1f1157c4d0d4a94bb5  wayland-1.22.91.tar.xz
SHA512: 33c699dad557b49ef5c319aee473fcb28b0605428376495157e9a1da79303e43237dff1347999b82e0b25c7c3cb82f4ab0d4c5bce61c037dd8e0a166eaad883d  wayland-1.22.91.tar.xz
PGP:    https://gitlab.freedesktop.org/wayland/wayland/-/releases/1.22.91/downloads/wayland-1.22.91.tar.xz.sig


More information about the wayland-devel mailing list