1. 17 Oct, 2019 7 commits
  2. 13 Sep, 2019 5 commits
  3. 12 Sep, 2019 2 commits
  4. 27 Aug, 2019 5 commits
  5. 12 Aug, 2019 1 commit
  6. 02 Aug, 2019 2 commits
  7. 01 Jul, 2019 2 commits
  8. 18 Jun, 2019 4 commits
  9. 22 May, 2019 1 commit
  10. 09 May, 2019 3 commits
  11. 09 Apr, 2019 1 commit
    • Breno Leitao's avatar
      hidtools: open file as utf-8 · 75977762
      Breno Leitao authored
      Specify that we are opening a file as utf-8, otherwise on an ASCII
      environment, we gan get the following error:
      
      	Traceback (most recent call last):
      	  File "hid-recorder", line 20, in <module>
      	    import hidtools.cli.record
      	  File "/home/foobar/hid-tools/hidtools/cli/record.py", line 25, in <module>
      	    from hidtools.hidraw import HidrawDevice
      	  File "/home/foobar/hid-tools/hidtools/hidraw.py", line 27, in <module>
      	    from hidtools.hid import ReportDescriptor
      	  File "/home/foobar/hid-tools/hidtools/hid.py", line 23, in <module>
      	    from hidtools.hut import HUT
      	  File "/home/foobar/hid-tools/hidtools/hut.py", line 409, in <module>
      	    HUT = HidUsageTable._from_hut_data()
      	  File "/home/foobar/hid-tools/hidtools/hut.py", line 400, in _from_hut_data
      	    usage_page = cls._parse_usages(f)
      	  File "/home/foobar/hid-tools/hidtools/hut.py", line 336, in _parse_usages
      	    for line in f:
      	  File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode
      	    return codecs.ascii_decode(input, self.errors)[0]
      	UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position
      	697: ordinal not in range(128)
      Signed-off-by: default avatarBreno Leitao <leitao@debian.org>
      75977762
  12. 29 Mar, 2019 4 commits
  13. 28 Mar, 2019 2 commits
  14. 27 Mar, 2019 1 commit
    • Peter Hutterer's avatar
      setup.py: man page root dir can be '.' · 3b44d11d
      Peter Hutterer authored
      Fixes the error happening when running "pip3 install ."
      
        error: Error: setup script specifies an absolute path:
      
              /tmp/pip-req-build-d4pmkpkq/man/hid-decode.1
      
        setup() arguments must *always* be /-separated paths relative to the
        setup.py directory, *never* absolute paths.
      
      Both setup.py and pip resolve '.' correctly.
      Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
      3b44d11d