Skip to content
Snippets Groups Projects
  1. Dec 18, 2024
  2. Jan 18, 2024
    • Matt Turner's avatar
      setup.cfg: Replace dashes with underscores · 99d18d4c
      Matt Turner authored
      Setuptools v54.1.0 introduces a warning that the use of dash-separated
      options in 'setup.cfg' will not be supported in a future version [1].
      
      Get ahead of the issue by replacing the dashes with underscores. Without
      this, we see 'UserWarning' messages like the following on new enough
      versions of setuptools:
      
        UserWarning: Usage of dash-separated 'description-file' will not be
        supported in future versions. Please use the underscore name
        'description_file' instead
      
      [1] https://github.com/pypa/setuptools/commit/a2e9ae4cb
      99d18d4c
  3. Nov 22, 2023
  4. Jun 22, 2023
  5. May 29, 2022
  6. Dec 16, 2021
  7. Aug 23, 2021
  8. Sep 23, 2020
  9. Jun 16, 2020
  10. Jun 04, 2020
  11. Apr 04, 2020
  12. Mar 11, 2020
  13. Mar 10, 2020
  14. Aug 26, 2019
  15. Aug 12, 2019
    • Peter Hutterer's avatar
      Prefix undefined event codes with an underscore · f9968087
      Peter Hutterer authored
      
      Previously, event codes without a kernel define would resolve into properly
      named objects, e.g. libevdev.EV_REL.REL_0B
      
      This breaks the API whenever the kernel introduces a new define because that
      named object will just disappear. e.g. the above REL_0B is now
      REL_WHEEL_HI_RES.
      
      Since the undefined names aren't supposed to be used by callers directly
      anyway, rename them to be underscored instead: libevdev.EV_REL._REL_0B
      This means we can still return them from evbit() and events() but the
      underscore signals a private API.
      
      The actual name remains the same, so print(_REL_0B.name) will not have an
      underscore. This is to avoid bugs/breakage where the caller uses the 3-lettter
      prefix for other purposes.
      
      Signed-off-by: default avatarPeter Hutterer <peter.hutterer@who-t.net>
      f9968087
  16. Aug 06, 2019
  17. Aug 05, 2019
  18. May 24, 2019
Loading