libusbx 1.0.15-rc2
[platform/upstream/libusb.git] / ChangeLog
1 For detailed information about the changes below, please see the git log or
2 visit: http://log.libusbx.org
3
4 2013-04-03: v1.0.15-rc2
5 * Improve tranfer cancellation and avoid short read failures on broken descriptors
6 * Filter out 8-bit characters in libusb_get_string_descriptor_ascii()
7 * Add WinCE support
8 * Add library stress tests
9 * Add FX3 firmware upload support for fxload
10 * Add HID and kernel driver detach support capabilities detection
11 * Add SuperSpeed detection on OS X
12 * Don't assume an high speed for isochronous or an interval or 1 on OS X
13 * Fix issues with autoclaim, composite HID devices, interface autoclaim and
14   early abort in libusb_close() on Windows. Also add VS 2012 solution files.
15 * Improve fd event handling on Linux
16 * Other bug fixes and improvements
17
18 2012-09-26: v1.0.14
19 * Reverts the previous API change with regards to bMaxPower.
20   If this doesn't matter to you, you are encouraged to keep using v1.0.13,
21   as it will use the same attribute as v2.0, to be released soon.
22 * Note that LIBUSBX_API_VERSION is *decreased* to 0x010000FF and the previous
23   guidelines with regards to concurent use of MaxPower/bMaxPower still apply.
24
25 2012-09-20: v1.0.13
26 * [MAJOR] Fix a typo in the API with struct libusb_config_descriptor where
27   MaxPower was used instead of bMaxPower, as defined in the specs. If your 
28   application was accessing the MaxPower attribute, and you need to maintain
29   compatibility with libusb or older versions, see APPENDIX A below.
30 * Fix broken support for the 0.1 -> 1.0 libusb-compat layer
31 * Fix unwanted cancellation of pending timeouts as well as major timeout related bugs
32 * Fix handling of HID and composite devices on Windows
33 * Introduce LIBUSBX_API_VERSION macro
34 * Add Cypress FX/FX2 firmware upload sample, based on fxload from
35   http://linux-hotplug.sourceforge.net
36 * Add libusb0 (libusb-win32) and libusbK driver support on Windows. Note that while
37   the drivers allow it, isochronous transfers are not supported yet in libusbx. Also
38   not supported yet is the use of libusb-win32 filter drivers on composite interfaces
39 * Add support for the new get_capabilities ioctl on Linux and avoid unnecessary
40   splitting of bulk transfers
41 * Improve support for newer Intel and Renesas USB 3.0 controllers on Windows
42 * Harmonize the device number for root hubs across platforms
43 * Other bug fixes and improvements
44
45 2012-06-15: v1.0.12
46 * Fix a potential major regression with pthread on Linux
47 * Fix missing thread ID from debug log output on cygwin
48 * Fix possible crash when using longjmp and MinGW's gcc 4.6
49 * Add topology calls: libusb_get_port_number(), libusb_get_parent() & libusb_get_port_path()
50 * Add toggleable debug, using libusb_set_debug() or the LIBUSB_DEBUG environment variable
51 * Define log levels in libusb.h and set timestamp origin to first libusb_init() call
52 * All logging is now sent to to stderr (info was sent to stdout previously)
53 * Update log messages severity and avoid polluting log output on OS-X
54 * Add HID driver support on Windows
55 * Enable interchangeability of MSVC and MinGW DLLs
56 * Additional bug fixes and improvements
57
58 2012-05-08: v1.0.11
59 * Revert removal of critical Windows event handling that was introduced in 1.0.10
60 * Fix a possible deadlock in Windows when submitting transfers
61 * Add timestamped logging
62 * Add NetBSD support (experimental) and BSD libusb_get_device_speed() data
63 * Add bootstrap.sh alongside autogen.sh (bootstrap.sh doesn't invoke configure)
64 * Search for device nodes in /dev for Android support
65 * Other bug fixes
66
67 2012-04-17: v1.0.10
68 * Public release
69 * Add libusb_get_version
70 * Add Visual Studio 2010 project files
71 * Some Windows code cleanup
72 * Fix xusb sample warnings 
73
74 2012-04-02: v1.0.9
75 * First libusbx release
76 * Add libusb_get_device_speed (all, except BSD) and libusb_error_name
77 * Add Windows support (WinUSB driver only)
78 * Add OpenBSD support
79 * Add xusb sample
80 * Tons of bug fixes
81
82 2010-05-07: v1.0.8
83 * Bug fixes
84
85 2010-04-19: v1.0.7
86 * Bug fixes and documentation tweaks
87 * Add more interface class definitions
88
89 2009-11-22: v1.0.6
90 * Bug fixes
91 * Increase libusb_handle_events() timeout to 60s for powersaving
92
93 2009-11-15: v1.0.5
94  * Use timerfd when available for timer management
95  * Small fixes/updates
96
97 2009-11-06: v1.0.4 release
98  * Bug fixes including transfer locking to fix some potential threading races
99  * More flexibility with clock types on Linux
100  * Use new bulk continuation tracking in Linux 2.6.32 for improved handling
101    of short/failed transfers
102
103 2009-08-27: v1.0.3 release
104  * Bug fixes
105  * Add libusb_get_max_iso_packet_size()
106
107 2009-06-13: v1.0.2 release
108  * Bug fixes
109
110 2009-05-12: v1.0.1 release
111  * Bug fixes
112  * Darwin backend
113
114 2008-12-13: v1.0.0 release
115  * Bug fixes
116
117 2008-11-21: v0.9.4 release
118  * Bug fixes
119  * Add libusb_attach_kernel_driver()
120
121 2008-08-23: v0.9.3 release
122  * Bug fixes
123
124 2008-07-19: v0.9.2 release
125  * Bug fixes
126
127 2008-06-28: v0.9.1 release
128  * Bug fixes
129  * Introduce contexts to the API
130  * Compatibility with new Linux kernel features
131
132 2008-05-25: v0.9.0 release
133  * First libusb-1.0 beta release
134
135 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136
137 APPENDIX A - How to maintain code compatibility with versions of libusb and
138 libusbx that use MaxPower:
139
140 If you must to maintain compatibility with versions of the library that aren't
141 using the bMaxPower attribute in struct libusb_config_descriptor, the 
142 recommended way is to use the new LIBUSBX_API_VERSION macro with an #ifdef.
143 For instance, if your code was written as follows:
144
145   if (dev->config[0].MaxPower < 250)
146
147 Then you should modify it to have:
148
149 #if defined(LIBUSBX_API_VERSION) && (LIBUSBX_API_VERSION >= 0x01000100)
150   if (dev->config[0].bMaxPower < 250)
151 #else
152   if (dev->config[0].MaxPower < 250)
153 #endif