ChangeLog 7.8 KB

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