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