libusb 1.0.19-rc1
[platform/upstream/libusb.git] / ChangeLog
1 For detailed information about the changes below, please see the git log or
2 visit: http://log.libusb.info
3
4 2014-05-19: v1.0.19
5 * Add support for USB bulk streams on Linux and Mac OS X (#11)
6 * Windows: Add AMD and Intel USB-3.0 root hub support
7 * Windows: Fix USB 3.0 speed detection on Windows 8 or later (#10)
8 * All: Various small fixes and cleanups
9 The (#xx) numbers are libusb issue numbers, see ie:
10 https://github.com/libusb/libusb/issues/11
11
12 2014-01-25: v1.0.18
13 * Fix multiple memory leaks
14 * Fix a crash when HID transfers return no data on Windows
15 * Ensure all pending events are consumed
16 * Improve Android and ucLinux support
17 * Multiple Windows improvements (error logging, VS2013, VIA xHCI support)
18 * Multiple OS X improvements (broken compilation, SIGFPE, 64bit support)
19
20 2013-09-06: v1.0.17
21 * Hotplug callbacks now always get passed a libusb_context, even if it is
22   the default context. Previously NULL would be passed for the default context,
23   but since the first context created is the default context, and most apps
24   use only 1 context, this meant that apps explicitly creating a context would
25   still get passed NULL
26 * Android: Add .mk files to build with the Android NDK
27 * Darwin: Add Xcode project
28 * Darwin: Fix crash on unplug (#121)
29 * Linux: Fix hang (deadlock) on libusb_exit
30 * Linux: Fix libusb build failure with --disable-udev (#124)
31 * Linux: Fix libusb_get_device_list() hang with --disable-udev (#130)
32 * OpenBSD: Update OpenBSD backend with support for control transfers to
33   non-ugen(4) devices and make get_configuration() no longer generate I/O.
34   Note that using this libusb version on OpenBSD requires using
35   OpenBSD 5.3-current or later. Users of older OpenBSD versions are advised
36   to stay with the libusb shipped with OpenBSD (mpi)
37 * Windows: fix libusb_dll_2010.vcxproj link errors (#129)
38 * Various other bug fixes and improvements
39
40 2013-07-11: v1.0.16
41 * Add hotplug support for Darwin and Linux (#9)
42 * Add superspeed endpoint companion descriptor support (#15)
43 * Add BOS descriptor support (#15)
44 * Make descriptor parsing code more robust
45 * New libusb_get_port_numbers API, this is libusb_get_port_path without
46   the unnecessary context parameter, libusb_get_port_path is now deprecated
47 * New libusb_strerror API (#14)
48 * New libusb_set_auto_detach_kernel_driver API (#17)
49 * Improve topology API docs (#95)
50 * Logging now use a single write call per log-message, avoiding log-message
51   "interlacing" when using multiple threads.
52 * Android: use Android logging when building on Android (#101)
53 * Darwin: make libusb_reset reenumerate device on descriptors change (#89)
54 * Darwin: add support for the LIBUSB_TRANSFER_ADD_ZERO_PACKET flag (#91)
55 * Darwin: add a device cache (#112, #114)
56 * Examples: Add sam3u_benchmark isochronous example by Harald Welte (#109)
57 * Many other bug fixes and improvements
58 The (#xx) numbers are libusbx issue numbers, see ie:
59 https://github.com/libusbx/libusbx/issues/9
60
61 2013-04-15: v1.0.15
62 * Improve transfer cancellation and avoid short read failures on broken descriptors
63 * Filter out 8-bit characters in libusb_get_string_descriptor_ascii()
64 * Add WinCE support
65 * Add library stress tests
66 * Add Cypress FX3 firmware upload support for fxload sample
67 * Add HID and kernel driver detach support capabilities detection
68 * Add SuperSpeed detection on OS X
69 * Fix bInterval value interpretation on OS X
70 * Fix issues with autoclaim, composite HID devices, interface autoclaim and
71   early abort in libusb_close() on Windows. Also add VS2012 solution files.
72 * Improve fd event handling on Linux
73 * Other bug fixes and improvements
74
75 2012-09-26: v1.0.14
76 * Reverts the previous API change with regards to bMaxPower.
77   If this doesn't matter to you, you are encouraged to keep using v1.0.13,
78   as it will use the same attribute as v2.0, to be released soon.
79 * Note that LIBUSB_API_VERSION is *decreased* to 0x010000FF and the previous
80   guidelines with regards to concurrent use of MaxPower/bMaxPower still apply.
81
82 2012-09-20: v1.0.13
83 * [MAJOR] Fix a typo in the API with struct libusb_config_descriptor where
84   MaxPower was used instead of bMaxPower, as defined in the specs. If your 
85   application was accessing the MaxPower attribute, and you need to maintain
86   compatibility with libusb or older versions, see APPENDIX A below.
87 * Fix broken support for the 0.1 -> 1.0 libusb-compat layer
88 * Fix unwanted cancellation of pending timeouts as well as major timeout related bugs
89 * Fix handling of HID and composite devices on Windows
90 * Introduce LIBUSB_API_VERSION macro
91 * Add Cypress FX/FX2 firmware upload sample, based on fxload from
92   http://linux-hotplug.sourceforge.net
93 * Add libusb0 (libusb-win32) and libusbK driver support on Windows. Note that while
94   the drivers allow it, isochronous transfers are not supported yet in libusb. Also
95   not supported yet is the use of libusb-win32 filter drivers on composite interfaces
96 * Add support for the new get_capabilities ioctl on Linux and avoid unnecessary
97   splitting of bulk transfers
98 * Improve support for newer Intel and Renesas USB 3.0 controllers on Windows
99 * Harmonize the device number for root hubs across platforms
100 * Other bug fixes and improvements
101
102 2012-06-15: v1.0.12
103 * Fix a potential major regression with pthread on Linux
104 * Fix missing thread ID from debug log output on cygwin
105 * Fix possible crash when using longjmp and MinGW's gcc 4.6
106 * Add topology calls: libusb_get_port_number(), libusb_get_parent() & libusb_get_port_path()
107 * Add toggleable debug, using libusb_set_debug() or the LIBUSB_DEBUG environment variable
108 * Define log levels in libusb.h and set timestamp origin to first libusb_init() call
109 * All logging is now sent to to stderr (info was sent to stdout previously)
110 * Update log messages severity and avoid polluting log output on OS-X
111 * Add HID driver support on Windows
112 * Enable interchangeability of MSVC and MinGW DLLs
113 * Additional bug fixes and improvements
114
115 2012-05-08: v1.0.11
116 * Revert removal of critical Windows event handling that was introduced in 1.0.10
117 * Fix a possible deadlock in Windows when submitting transfers
118 * Add timestamped logging
119 * Add NetBSD support (experimental) and BSD libusb_get_device_speed() data
120 * Add bootstrap.sh alongside autogen.sh (bootstrap.sh doesn't invoke configure)
121 * Search for device nodes in /dev for Android support
122 * Other bug fixes
123
124 2012-04-17: v1.0.10
125 * Public release
126 * Add libusb_get_version
127 * Add Visual Studio 2010 project files
128 * Some Windows code cleanup
129 * Fix xusb sample warnings 
130
131 2012-04-02: v1.0.9
132 * First libusbx release
133 * Add libusb_get_device_speed (all, except BSD) and libusb_error_name
134 * Add Windows support (WinUSB driver only)
135 * Add OpenBSD support
136 * Add xusb sample
137 * Tons of bug fixes
138
139 2010-05-07: v1.0.8
140 * Bug fixes
141
142 2010-04-19: v1.0.7
143 * Bug fixes and documentation tweaks
144 * Add more interface class definitions
145
146 2009-11-22: v1.0.6
147 * Bug fixes
148 * Increase libusb_handle_events() timeout to 60s for powersaving
149
150 2009-11-15: v1.0.5
151  * Use timerfd when available for timer management
152  * Small fixes/updates
153
154 2009-11-06: v1.0.4 release
155  * Bug fixes including transfer locking to fix some potential threading races
156  * More flexibility with clock types on Linux
157  * Use new bulk continuation tracking in Linux 2.6.32 for improved handling
158    of short/failed transfers
159
160 2009-08-27: v1.0.3 release
161  * Bug fixes
162  * Add libusb_get_max_iso_packet_size()
163
164 2009-06-13: v1.0.2 release
165  * Bug fixes
166
167 2009-05-12: v1.0.1 release
168  * Bug fixes
169  * Darwin backend
170
171 2008-12-13: v1.0.0 release
172  * Bug fixes
173
174 2008-11-21: v0.9.4 release
175  * Bug fixes
176  * Add libusb_attach_kernel_driver()
177
178 2008-08-23: v0.9.3 release
179  * Bug fixes
180
181 2008-07-19: v0.9.2 release
182  * Bug fixes
183
184 2008-06-28: v0.9.1 release
185  * Bug fixes
186  * Introduce contexts to the API
187  * Compatibility with new Linux kernel features
188
189 2008-05-25: v0.9.0 release
190  * First libusb-1.0 beta release
191
192 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
193
194 APPENDIX A - How to maintain code compatibility with versions of libusb and
195 libusb that use MaxPower:
196
197 If you must to maintain compatibility with versions of the library that aren't
198 using the bMaxPower attribute in struct libusb_config_descriptor, the 
199 recommended way is to use the new LIBUSB_API_VERSION macro with an #ifdef.
200 For instance, if your code was written as follows:
201
202   if (dev->config[0].MaxPower < 250)
203
204 Then you should modify it to have:
205
206 #if defined(LIBUSB_API_VERSION) && (LIBUSB_API_VERSION >= 0x01000100)
207   if (dev->config[0].bMaxPower < 250)
208 #else
209   if (dev->config[0].MaxPower < 250)
210 #endif