[ANNOUNCE] libevdev 1.9.0

Peter Hutterer peter.hutterer at who-t.net
Mon Mar 2 04:21:39 UTC 2020


libevdev 1.9.0 is now available.

No changes to the library itself since the RC, only changes affecting the CI
infrastructure. I haven't seen any other bugs so let's go ahead with the
release.

Below is the text from the RC announcement that summarises the changes:

This release fixes a bug in the way libevdev handles touches after a
SYN_DROPPED. For convenience, libevdev provides the events to terminate and
start touches after a SYN_DROPPED so that the client can use the event
stream as if it was a real event stream from the device. Where a touch has
changed (lifted and put down again in the same slot) during a SYN_DROPPED,
libevdev generates two event frames - one with the touch stopping, one with
the touch starting.

These frames were correct for the touches themselves, but the respective
BTN_TOOL_ bits were not synchronised, leading to bugs in clients that rely
on the slot state and the BTN_TOOL bits to be in sync. See this libinput
issue for some more details.
https://gitlab.freedesktop.org/libinput/libinput/issues/422

libevdev 1.9 changes how touches are synced after a SYN_DROPPED. Where two
event frames are required (i.e. at least one touch changed tracking id),
**all** touches that stopped are now stopped in the first frame and the
BTN_TOOL changes reflect that state. Any changed touches will then be
started in the second frame, together with the touches that started in
previously empty slots.

libevdev now also supports the meson build system. We will keep both
autotools and meson for now but in the long-term autotools support will go
away.

The CI has been extended and revamped to be easier to maintain and thanks to
the new meson support we hooked up things like valgrind runs and scan-build
as well.

Peter Hutterer (13):
      gitlab CI: set the vim filetype for the template file
      gitlab CI: generate the template list from the config data
      gitlab CI: update to latest ci-templates
      gitlab CI: hook up junit test reports to the meson results
      gitlab CI: re-use the meson-build.sh script for normal meson jobs
      gitlab CI: prefill the junit conversion script from the gitlab environment
      gitlab CI: update to the latest ci-templates again
      gitlab CI: don't allow failures on the kvm jobs
      gitlab CI: move the container-clean git strategy to the parent section
      gitlab CI: drop the distribution "flavor" in favor of just the name
      Use editorconfig instead of a sprinkling of :vim: instructions
      gitlab CI: keep the results of the check-commit job as artifact
      libevdev 1.9.0

git tag: libevdev-1.9.0

https://www.freedesktop.org/software/libevdev/libevdev-1.9.0.tar.xz
MD5:  13c3f0911f9326d4b9fa103365f84421  libevdev-1.9.0.tar.xz
SHA1: ab5040ee88dd4cb49a75da72e8fded91b282c108  libevdev-1.9.0.tar.xz
SHA256: e7e18a64264f2dea19b6c50a481f8c062529d42919ccda0bc861495bce28eb9e  libevdev-1.9.0.tar.xz
SHA512: 6e7589b5776437ac23fbf65b3194fb1dd3a68a294696145060cdd97bcdeb9b04f355f2be028dc1a5efe98ef2cafca15e4f61115edf5d62591e3a8944dc95942a  libevdev-1.9.0.tar.xz
PGP:  https://www.freedesktop.org/software/libevdev/libevdev-1.9.0.tar.xz.sig

-------------- 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/input-tools/attachments/20200302/9b508a3b/attachment.sig>


More information about the Input-tools mailing list