1. 25 Sep, 2020 2 commits
    • Peter Hutterer's avatar
      xkbinfo: use libxkbregistry to parse the rules files for us · a980a4c8
      Peter Hutterer authored
      Version 2, this time with libxkbregistry build-time conditional, see
      4f6bec60 for the first commit, reverted in
      a8c94b74 due to
      gnome-build-meta#329.
      
      Available in libxkbcommon 1.0.0 and later, libxkbregistry is a library wrapper
      around the evdev.xml rules file that we used to parse directly here. It
      provides a basic iteration API - load the evdev ruleset, then iterate through
      the layouts and options and copy the values over into our data structures as
      needed. This removes the need for XML parsing and error-checking, we can now
      rely on libxkbregistry to do this for us.
      
      The side-effect of this (and motivation for libxkbregistry) is that we
      automatically load user-specific XKB RMLVO as well where they are present.
      Together with mutter commit f71238732508d91bdfcb581c84697a516499a1eb this
      allows a user to drop up their custom XKB layouts in
      $XDG_CONFIG_DIR/xkb and have them both listed in the GUIs and working.
      
      See original MR at
      !79
      
      !88
      a980a4c8
    • Peter Hutterer's avatar
      test: convert the xkbinfo test to produce YAML · 0b1f6d41
      Peter Hutterer authored
      It's still human-readable but YAML we can process to check for unexpected
      changes. e.g. where the sorting order changed, the following python script
      verifies we haven't changed anything else:
      
       #/usr/bin/env python3
      
       import yaml
       before = yaml.load(open('before.yml'))
       after = yaml.load(open('after.yml'))
       assert before == after
      0b1f6d41
  2. 24 Sep, 2020 6 commits
  3. 23 Sep, 2020 2 commits
    • Laurent Bigonville's avatar
      Use libseccomp on linux-riscv64 now that's available · 0a8ca555
      Laurent Bigonville authored
      This reverts commit f8916f70.
      
      On riscv64, this requires libseccomp 2.5.0, or an older version with a
      backported patch (for example Debian packages >= 2.4.3-1).
      0a8ca555
    • Peter Hutterer's avatar
      xkbinfo: use libxkbregistry to parse the rules files for us · 4f6bec60
      Peter Hutterer authored
      Available in libxkbcommon 1.0.0 and later, libxkbregistry is a library wrapper
      around the evdev.xml rules file that we used to parse directly here. It
      provides a basic iteration API - load the evdev ruleset, then iterate through
      the layouts and options and copy the values over into our data structures as
      needed. This removes the need for XML parsing and error-checking, we can now
      rely on libxkbregistry to do this for us.
      
      The side-effect of this (and motivation for libxkbregistry) is that we
      automatically load user-specific XKB RMLVO as well where they are present.
      Together with mutter commit f71238732508d91bdfcb581c84697a516499a1eb this
      allows a user to drop up their custom XKB layouts in
      $XDG_CONFIG_DIR/xkb and have them both listed in the GUIs and working.
      4f6bec60
  4. 16 Sep, 2020 2 commits
  5. 14 Sep, 2020 1 commit
  6. 13 Sep, 2020 1 commit
  7. 12 Sep, 2020 1 commit
  8. 11 Sep, 2020 1 commit
  9. 10 Sep, 2020 1 commit
  10. 07 Sep, 2020 2 commits
  11. 06 Sep, 2020 1 commit
  12. 04 Sep, 2020 2 commits
  13. 01 Sep, 2020 1 commit
  14. 30 Aug, 2020 3 commits
  15. 28 Aug, 2020 2 commits
  16. 25 Aug, 2020 3 commits
  17. 24 Aug, 2020 1 commit
  18. 19 Aug, 2020 1 commit
  19. 18 Aug, 2020 2 commits
  20. 16 Aug, 2020 1 commit
  21. 15 Aug, 2020 1 commit
  22. 12 Aug, 2020 1 commit
  23. 11 Aug, 2020 2 commits