[ANNOUNCE] libei 1.1.0

2023-09-06 Thread Peter Hutterer
libei 1.1.0 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.1.1

Only a few minor fixes to the tools and one documentation fix since the RC1.

Jason Gerecke (1):
  Correct documentation for ei_touch_(get|set)_user_data

Peter Hutterer (4):
  tools: start ei-debug-events for the fd we get from the oeffis demo tool
  tools: fix an indentation issue
  tools/debug-events: print the region mapping id
  libei 1.1.0



signature.asc
Description: PGP signature


[ANNOUNCE] libei 1.1.0 RC1

2023-08-30 Thread Peter Hutterer
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





signature.asc
Description: PGP signature