summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorPete Batard <pete@akeo.ie>2012-09-16 00:16:06 +0100
committerPete Batard <pete@akeo.ie>2012-09-16 00:23:09 +0100
commit4e1d77d3c4a370f2b2d87f396859a5e249473dbf (patch)
tree5669ad074b8248a78fbea810386c36ec6072296b /NEWS
parent9d368fc4774344d81ab02840f3a8478301bfb6fa (diff)
downloadlibusb-4e1d77d3c4a370f2b2d87f396859a5e249473dbf.tar.gz
libusbx 1.0.13-rc1v1.0.13-rc1
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS39
1 files changed, 39 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 16fe072..f86aac9 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,25 @@ This file lists notable changes in each release.
For fine grained history, please see the git log at:
http://log.libusbx.org
+2012-09-16: v1.0.13-rc1
+* [MAJOR] Fix a typo in the API with struct libusb_config_descriptor where
+ MaxPower was used instead of bMaxPower, as defined in the specs. If your
+ application was accessing the MaxPower attribute, and you need to maintain
+ compatibility with libusb or older versions, see APPENDIX A below.
+* Fix broken support for the 0.1 -> 1.0 libusb-compat layer
+* Fix unwanted cancellation of pending timeouts as well as major timeout related bugs
+* Fix handling of HID and composite devices on Windows
+* Introduce LIBUSBX_API_VERSION macro
+* Add Cypress FX/FX2 firmware upload sample, based fxload from
+ http://linux-hotplug.sourceforge.net
+* Add libusb0 (libusb-win32) and libusbK driver support on Windows. Note that using
+ the libusb-win32 filter driver with composite member devices is not supported yet
+* Add support for the new get_capabilities ioctl on Linux and avoid unnecessary
+ splitting of bulk transfers
+* Improve support for newer Intel and Renesas USB 3.0 controllers on Windows
+* Harmonize the device number for root hubs accross platforms
+* Other bug fixes and improvements
+
2012-06-15: v1.0.12
* Fix a potential major regression with pthread on Linux
* Fix missing thread ID from debug log output on cygwin
@@ -91,3 +110,23 @@ http://log.libusbx.org
2008-05-25: v0.9.0 release
* First libusb-1.0 beta release
+
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+APPENDIX A - How to maintain code compatibility with versions of libusb and
+libusbx that use MaxPower:
+
+If you must to maintain compatibility with versions of the library that aren't
+using the bMaxPower attribute in struct libusb_config_descriptor, the
+recommended way is to use the new LIBUSBX_API_VERSION macro with an #ifdef.
+For instance, if your code was written as follows:
+
+ if (dev->config[0].MaxPower < 250)
+
+Then you should modify it to have:
+
+#if defined(LIBUSBX_API_VERSION) && (LIBUSBX_API_VERSION >= 0x01000100)
+ if (dev->config[0].bMaxPower < 250)
+#else
+ if (dev->config[0].MaxPower < 250)
+#endif