File python-usb.changes of Package python-usb
-------------------------------------------------------------------
Tue Jan 22 17:33:43 UTC 2013 - joop.boonen@opensuse.org
- Build version 1.0.0a3
+ Fixed: find() function returns -1 when not findind a substring.
+ PATH_MAX is 1024 for all *BSD machines.
+ Fixed type in libusb0 backend.
+ Fixed: correct PATH_MAX for Darwin/Mac OSX.
+ Fixed: correct value of PATH_MAX for FreeBSD
+ Renamed libusb01 backend to libusb0.
+ Renamed libusb10 backend to libusb1
libusb 1.0 and libusbx probably will have backward compatibility across
all 1.x version, so there is no point in calling the backend libusb10,
since it should work with all 1.x series of the library.
+ Limit zeroth string descriptor request to 254 bytes
This string descriptor cannot be longer than 255 bytes anyway, since
its length is defined by its first byte.
Also, the libusb code warns "Some devices choke on size > 255".
Since each language code is two byte long, only an even
number of bytes makes sense, so request only 254 bytes.
+ Makes legacy byteWrite() and interruptWrite() more compatible with pyusb 0.4.x
PyUSB 0.4 has a very flexible input buffer treatment. This change does
not mimic it for all, but make legacy module more close to it.
+ Fix "localtion/location" typo.
+ Limit get_string() length to string descriptor length
Use the length as reported by the first byte of the descriptor.
Otherwise (at least for some backend/kernel combinations) the buffer
length provided by the user would be used instead, and NUL characters
would be appended to the returned string.
This also makes the legacy getString() function compatible with
pyusb 0.4.
+ Return deviceVersion and usbVersion as strings
PyUSB 0.4 sets deviceVerion and usbVersion attributes as strings. So do
it for the legacy module.
+ Fixed syntax errors for Python 2.4
+ Merge pull request #4 from JNRowe/master
Very minor fixes to tutorial
+ Use __ suffix for inline links in reST.
Very minor, but stops docutils issuing a unreferenced link warning.
+ Fixed alternate_setting in tutorial.
Typo and missing dev parameter.
+ patch for data loss
+ Fixed configuration indexing in the tutorial
+ Updated ACKNOWLEDGEMENTS file.
+ Fixed: allow Interface objects as parameters for kernel driver functions
+ Fixed: do not used version_info named parameters to preserve backward compatibility
-------------------------------------------------------------------
Thu Jan 3 18:01:44 UTC 2013 - toddrme2178@gmail.com
- Fix building on SLES
-------------------------------------------------------------------
Tue Apr 17 10:38:37 UTC 2012 - joop.boonen@opensuse.org
- Build version 1.0.0a2
- Included coded fixes
- MANIFEST.in: Removed old test firmware from manifest file
- usb/backend/libusb10.py, usb/backend/openusb.py: Fixed: use None
when errno value is not available
- tests/utils.py: Fixed Python 3 string test case for ctrl_transfer
In Python 3, string is 4 bytes long, so ctrl_transfer test case was
failing with 'Broken error' message. This was caused because control
buffer in the benchmark firmware can only hold 8 bytes, thus it
could not handle more than a two character length string.
- usb/backend/libusb01.py: Fixed correct device enumeration for
libusb01 backend
-------------------------------------------------------------------
Thu Mar 31 16:49:15 UTC 2011 - prusnak@opensuse.org
- remove tests from the tarball
- they are not used during the build and contain firmware files
with unknown licenses
-------------------------------------------------------------------
Tue Mar 29 13:23:31 UTC 2011 - prusnak@opensuse.org
- updated to 1.0.0 alpha 1
- implemented standard control requests
- finish implementation of 0.4 API emulation
- documentation update
- tutorial update
-------------------------------------------------------------------
Mon Dec 20 20:37:31 UTC 2010 - prusnak@opensuse.org
- created package (1.0.0 alpha 0)
-------------------------------------------------------------------