[ANNOUNCE] libei 1.1.0 RC1

Peter Hutterer peter.hutterer at who-t.net
Thu Aug 31 04:34:28 UTC 2023


libei 1.1.0 RC1 is now available.

libei is a library to send Emulated Input (EI) to a matching Emulated Input
Server (EIS) which can receive those events with libeis, also part of this
project.

libei uses GitLab releases, for tarballs please see:
https://gitlab.freedesktop.org/libinput/libei/-/releases/1.0.901

Notable fixes in this release include:
- ei_device_get_region_at() and its libeis equivalent was added as a helper to
  obtain a device's region at a given point. this is a library-only change.
- ei_region_get_mapping_id() returns the mapping id previously set by the EIS
  implementation via eis_region_set_mapping_id(). This mapping id can be used to
  identify external resources that have a relationship with this region, e.g. a
  pipewire stream that uses the same mapping id.
  This is a protocol addition and bumps the ei_device protocol to version 2.

Note that libei(s) was accidentally leaking some symbols from internal utility
functions due to a missing compiler flag. These symbols are no longer there but
ABI checkers will complain when updating to this version - those errors can be
ignored.

The ei-scanner protocol parser now requires Python 3.9. It did already anyway,
but now it'll actually fail during meson setup instead of just blowing up with
Python exceptions during build.

Other than that, a bunch of fixes and tidies, in particular the s390x builds
and test runs should now work correctly.

Not planning on another RC - unless something major comes up expect 1.1.0 next
week somewhen.

Peter Hutterer (20):
      meson.build: bump to use gnu11 over gnu99
      Add ei_device_get_region_at() to obtain a region for a point
      util: fix iobuf_take_fd invalid memmove for multiple fds
      util: fix iobuf_append_fd OOB when we have too many fds
      Add a mapping_id to the regions
      proto: require Python 3.9
      test: rework the oeffis dbus tests to be pytest-compatible
      test: close the sockets on exit
      util: add a strv_from_mem() helper function
      test: log the buffers after reading from them
      test: ensure munit debug messages are visible on failure
      meson: build libutil with hidden symbols visibility
      CI: update the commit for the last ABI break
      test: rename a variable to avoid clashes
      brei: avoid pointer casts for 32/64 bit values
      util: switch iobuf to uint8_t to avoid sign issues
      brei: copy protocol strings out of the protocol buffers
      test: use munit_assert_uint64 for 64-bit values
      test: fix 64-bit pointer access for the object ids
      libei 1.1.0rc1



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20230831/239231cb/attachment.sig>


More information about the wayland-devel mailing list