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