[ANNOUNCE] libratbag 0.10

Peter Hutterer peter.hutterer at who-t.net
Fri Aug 2 03:53:29 UTC 2019


libratbag v0.10 is out.

This comes hot on the heels of 0.9.906 but we had a suprising flurry of
changes since that version, so it's worthy of a release.

The most obvious change is the version number. In December 2017 we started
with a .90x numbering scheme in the misguided vanity that the stable 1.0
release is just around the corner. As it happens, it's now Aug 2019, Godot
has not yet arrived with a stable API and it's time to cave in, learn our
lesson, shed a few tears and switch back to 'normal' pre-1.0 development
numbers. So 0.10 it is. This should help with the confusion that Piper was
also using 90x numbers for the same reasons, but they weren't in sync with
libratbag.

Second: we now have an APIVersion field in the DBus API. This one will be
bumped whenever the DBus API changes in an incompatible manner but otherwise
unrelated to releases (read: may bump more than once per release). Piper
will make use of that to just refuse too start where there's a mismatch.
Life's too short to debug issues when Piper crashes randomly because
libratbag's package is a year older than Piper. See the Piper wiki for a
mini-guide:
https://github.com/libratbag/piper/wiki/FAQ#piper-complains-about-incompatible-ratbagd-api-version-error

Testing is a bit easier now with the ability to load free-form test devices,
but that's largely of interest to the boatload of libratbag developers
(assuming a a very small boat that's not fully loaded).

In terms of new devices, we only have the MX Vertical.
Users of the G700s - the DeviceMatch has been removed because it was
overlapping with the G700. It'll still work but the DPI limit is lower and
the steps are different. We have plans to fix this long-term, in the
meantime some things may be a bit odd.

See the full log at the end if you are interested in the details.

Eric Culp (1):
      meson.build: fix builds with --buildtype=plain

Filipe LaĆ­ns (8):
      hidpp20: fix warnings
      data: add MX Vertical
      libratbag-util: move data manipulation functions out of hidpp-generic
      hidpp20: fix 0x1001 comments, add missing ASE and use get_unaligned_be_u16
      hidpp20: add new profile layout (0x04)
      hidpp20: add support for RGB Effects feature (0x8071)
      hidpp20: add quirk system
      hidpp20/data: add the G305

Peter Hutterer (51):
      meson.build: enable -Werror=format-security
      hidraw: add a feature report get/set helper functions
      roccat: use the new get/set feature helpers
      Append the created profiles/leds/buttons/resolutions, don't insert
      tools: use super() instead of the named parent class in ratbagd.py
      tools: use super() without arguments in ratbagctl
      tools: use super() in the ratbagctl test
      hidpp10: if the profile name is the empty string, make it NULL
      tools: print the Model in ratbagctl info
      Fix setting the capability flags on the resolutions
      test: switch the resolution capabilities to an array
      tools: ratbactl.test: if RATBAGCTL_DEVEL is set, use the existing server
      meson: document the various built bits a bit better
      Drop the ratbagctl.devel sha bus name
      tools: add argument to ratbagctl.devel to connect to running ratbagd
      tools: add --use-existing-ratbagd to the ratbagctl.test script as well
      tools: drop the RATBAGCTL_DEVEL environ, just use RATBAG_TEST instead
      ratbagd: install the devel dbus policy file on startup
      meson: add the prefix to the dbus dir
      ratbagd: introduce ref/unref for ratbagd_device pointers
      ratbagd: encode the test device iteration in the test device name
      ratbagd: poke DBus to reload its config after installing the devel policy
      meson: drop the unused libratbag version define
      meson.build: remove unused fallback SVG name
      tools: ratbagctl.test: set the data dir correctly
      tools: fix a few comments referring to old names
      hidpp10: make raw debugging messages a bit easier to read
      ratbagd: encode the test device path without underscores
      tools: fix typo in ratbagd.py
      circle CI: add meson plain and release build types
      ratbagctl: autogenerate the choices list for the specials and led modes
      ratbagd: add ability to load json for test devices
      tools: switch the ratbagctl.test to use the new json loading
      tools: switch the resolution tests to use the json loading
      tools: switch the dpi test to json
      tools: switch the report rate to json
      tools: switch led tests to use the json parsing
      tools: switch the button tests over to json
      ratbagd: drop the hardcoded test device
      ratbagd: document the various commandline options in the man page
      tools: ratbagdctl.test: if an exception occurs during startup, terminate
      ratbagd: Add an APIVersion property to make version checks easier
      tools: flake8 fixes
      devices: drop the G700s wireless entry
      data: add a test for duplicate DeviceMatch lines
      Revert "hidpp20/data: add the G305"
      Revert "hidpp20: add quirk system"
      Revert "circle CI: add meson plain and release build types"
      circleci: move existing config to the new location
      circle CI: add meson plain and release build types
      meson.build: libratbag 0.10

git tag: v0.10

The libratbag project does not generate tarballs for releases, you can
grab one directly from github:

https://github.com/libratbag/libratbag/archive/v0.10/libratbag-0.10.tar.gz

-------------- 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/20190802/b4a876a3/attachment.sig>


More information about the Input-tools mailing list