@@ -2,6 +2,25 @@ This file lists notable changes in each release. |
2 | 2 | For fine grained history, please see the git log at: |
3 | 3 | http://log.libusbx.org |
4 | 4 |
|
| 5 | +2012-09-16: v1.0.13-rc1 |
| 6 | +* [MAJOR] Fix a typo in the API with struct libusb_config_descriptor where |
| 7 | + MaxPower was used instead of bMaxPower, as defined in the specs. If your |
| 8 | + application was accessing the MaxPower attribute, and you need to maintain |
| 9 | + compatibility with libusb or older versions, see APPENDIX A below. |
| 10 | +* Fix broken support for the 0.1 -> 1.0 libusb-compat layer |
| 11 | +* Fix unwanted cancellation of pending timeouts as well as major timeout related bugs |
| 12 | +* Fix handling of HID and composite devices on Windows |
| 13 | +* Introduce LIBUSBX_API_VERSION macro |
| 14 | +* Add Cypress FX/FX2 firmware upload sample, based fxload from |
| 15 | + http://linux-hotplug.sourceforge.net |
| 16 | +* Add libusb0 (libusb-win32) and libusbK driver support on Windows. Note that using |
| 17 | + the libusb-win32 filter driver with composite member devices is not supported yet |
| 18 | +* Add support for the new get_capabilities ioctl on Linux and avoid unnecessary |
| 19 | + splitting of bulk transfers |
| 20 | +* Improve support for newer Intel and Renesas USB 3.0 controllers on Windows |
| 21 | +* Harmonize the device number for root hubs accross platforms |
| 22 | +* Other bug fixes and improvements |
| 23 | + |
5 | 24 | 2012-06-15: v1.0.12 |
6 | 25 | * Fix a potential major regression with pthread on Linux |
7 | 26 | * Fix missing thread ID from debug log output on cygwin |
@@ -91,3 +110,23 @@ http://log.libusbx.org |
91 | 110 |
|
92 | 111 | 2008-05-25: v0.9.0 release |
93 | 112 | * First libusb-1.0 beta release |
| 113 | + |
| 114 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 115 | + |
| 116 | +APPENDIX A - How to maintain code compatibility with versions of libusb and |
| 117 | +libusbx that use MaxPower: |
| 118 | + |
| 119 | +If you must to maintain compatibility with versions of the library that aren't |
| 120 | +using the bMaxPower attribute in struct libusb_config_descriptor, the |
| 121 | +recommended way is to use the new LIBUSBX_API_VERSION macro with an #ifdef. |
| 122 | +For instance, if your code was written as follows: |
| 123 | + |
| 124 | + if (dev->config[0].MaxPower < 250) |
| 125 | + |
| 126 | +Then you should modify it to have: |
| 127 | + |
| 128 | +#if defined(LIBUSBX_API_VERSION) && (LIBUSBX_API_VERSION >= 0x01000100) |
| 129 | + if (dev->config[0].bMaxPower < 250) |
| 130 | +#else |
| 131 | + if (dev->config[0].MaxPower < 250) |
| 132 | +#endif |