usb 1.7.2 → 1.8.0-libusb.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (188) hide show
  1. package/.gitmodules +1 -1
  2. package/Readme.md +2 -2
  3. package/binding.gyp +2 -2
  4. package/libusb/.private/pre-commit.sh +7 -1
  5. package/libusb/.travis.yml +49 -0
  6. package/libusb/AUTHORS +44 -3
  7. package/libusb/Brewfile +4 -0
  8. package/libusb/ChangeLog +74 -2
  9. package/libusb/README.md +32 -0
  10. package/libusb/TODO +1 -1
  11. package/libusb/Xcode/common.xcconfig +12 -0
  12. package/libusb/Xcode/config.h +25 -0
  13. package/libusb/Xcode/libusb.xcodeproj/project.pbxproj +959 -1
  14. package/libusb/android/README +4 -2
  15. package/libusb/android/config.h +75 -0
  16. package/libusb/appveyor.yml +41 -0
  17. package/libusb/appveyor_cygwin.bat +11 -0
  18. package/libusb/appveyor_minGW.bat +19 -0
  19. package/libusb/autogen.sh +1 -1
  20. package/libusb/bootstrap.sh +3 -16
  21. package/libusb/configure.ac +108 -80
  22. package/libusb/doc/doxygen.cfg.in +1785 -739
  23. package/libusb/examples/Makefile.am +1 -1
  24. package/libusb/examples/dpfp.c +3 -1
  25. package/libusb/examples/dpfp_threaded.c +23 -10
  26. package/libusb/examples/ezusb.c +3 -3
  27. package/libusb/examples/ezusb.h +2 -2
  28. package/libusb/examples/fxload.c +31 -9
  29. package/libusb/examples/hotplugtest.c +35 -7
  30. package/libusb/examples/listdevs.c +3 -1
  31. package/libusb/examples/sam3u_benchmark.c +3 -3
  32. package/libusb/examples/testlibusb.c +277 -0
  33. package/libusb/examples/xusb.c +40 -34
  34. package/libusb/libusb/Makefile.am +49 -23
  35. package/libusb/libusb/core.c +855 -457
  36. package/libusb/libusb/descriptor.c +72 -78
  37. package/libusb/libusb/hotplug.c +122 -76
  38. package/libusb/libusb/hotplug.h +42 -25
  39. package/libusb/libusb/io.c +625 -390
  40. package/libusb/libusb/libusb-1.0.def +12 -0
  41. package/libusb/libusb/libusb.h +218 -150
  42. package/libusb/libusb/libusbi.h +346 -176
  43. package/libusb/libusb/os/darwin_usb.c +604 -319
  44. package/libusb/libusb/os/darwin_usb.h +61 -20
  45. package/libusb/libusb/os/haiku_pollfs.cpp +367 -0
  46. package/libusb/libusb/os/haiku_usb.h +113 -0
  47. package/libusb/libusb/os/haiku_usb_backend.cpp +533 -0
  48. package/libusb/libusb/os/haiku_usb_raw.cpp +267 -0
  49. package/libusb/libusb/os/haiku_usb_raw.h +188 -0
  50. package/libusb/libusb/os/linux_netlink.c +186 -146
  51. package/libusb/libusb/os/linux_udev.c +36 -14
  52. package/libusb/libusb/os/linux_usbfs.c +426 -225
  53. package/libusb/libusb/os/linux_usbfs.h +5 -3
  54. package/libusb/libusb/os/netbsd_usb.c +21 -77
  55. package/libusb/libusb/os/openbsd_usb.c +32 -115
  56. package/libusb/libusb/os/poll_posix.c +38 -5
  57. package/libusb/libusb/os/poll_posix.h +3 -0
  58. package/libusb/libusb/os/poll_windows.c +277 -626
  59. package/libusb/libusb/os/poll_windows.h +11 -44
  60. package/libusb/libusb/os/sunos_usb.c +1695 -0
  61. package/libusb/libusb/os/sunos_usb.h +80 -0
  62. package/libusb/libusb/os/threads_posix.c +24 -26
  63. package/libusb/libusb/os/threads_posix.h +73 -21
  64. package/libusb/libusb/os/threads_windows.c +71 -157
  65. package/libusb/libusb/os/threads_windows.h +68 -44
  66. package/libusb/libusb/os/wince_usb.c +276 -420
  67. package/libusb/libusb/os/wince_usb.h +23 -28
  68. package/libusb/libusb/os/windows_common.h +78 -58
  69. package/libusb/libusb/os/windows_nt_common.c +1010 -0
  70. package/libusb/libusb/os/windows_nt_common.h +110 -0
  71. package/libusb/libusb/os/windows_nt_shared_types.h +147 -0
  72. package/libusb/libusb/os/windows_usbdk.c +830 -0
  73. package/libusb/libusb/os/windows_usbdk.h +103 -0
  74. package/libusb/libusb/os/windows_winusb.c +4391 -0
  75. package/libusb/libusb/os/windows_winusb.h +783 -0
  76. package/libusb/libusb/strerror.c +41 -7
  77. package/libusb/libusb/sync.c +41 -13
  78. package/libusb/libusb/version.h +1 -1
  79. package/libusb/libusb/version_nano.h +1 -1
  80. package/libusb/libusb-1.0.pc.in +1 -1
  81. package/libusb/msvc/appveyor.bat +27 -0
  82. package/libusb/msvc/config.h +5 -4
  83. package/libusb/msvc/ddk_build.cmd +87 -43
  84. package/libusb/msvc/fxload_2010.vcxproj +24 -104
  85. package/libusb/msvc/fxload_2012.vcxproj +24 -107
  86. package/libusb/msvc/fxload_2013.vcxproj +24 -107
  87. package/libusb/msvc/fxload_2015.vcxproj +91 -0
  88. package/libusb/msvc/fxload_2017.vcxproj +114 -0
  89. package/libusb/msvc/fxload_sources +1 -1
  90. package/libusb/msvc/getopt_2010.vcxproj +16 -75
  91. package/libusb/msvc/getopt_2012.vcxproj +16 -79
  92. package/libusb/msvc/getopt_2013.vcxproj +16 -79
  93. package/libusb/msvc/getopt_2015.vcxproj +73 -0
  94. package/libusb/msvc/getopt_2017.vcxproj +98 -0
  95. package/libusb/msvc/getopt_sources +6 -2
  96. package/libusb/msvc/hotplugtest_2010.vcxproj +18 -99
  97. package/libusb/msvc/hotplugtest_2012.vcxproj +18 -102
  98. package/libusb/msvc/hotplugtest_2013.vcxproj +18 -102
  99. package/libusb/msvc/hotplugtest_2015.vcxproj +83 -0
  100. package/libusb/msvc/hotplugtest_2017.vcxproj +106 -0
  101. package/libusb/msvc/hotplugtest_sources +1 -1
  102. package/libusb/msvc/libusb_2005.sln +20 -20
  103. package/libusb/msvc/libusb_2010.sln +57 -46
  104. package/libusb/msvc/libusb_2012.sln +57 -46
  105. package/libusb/msvc/libusb_2013.sln +57 -50
  106. package/libusb/msvc/libusb_2015.sln +59 -52
  107. package/libusb/msvc/libusb_2017.sln +186 -0
  108. package/libusb/msvc/libusb_dll.dsp +2 -2
  109. package/libusb/msvc/libusb_dll_2005.vcproj +30 -2
  110. package/libusb/msvc/libusb_dll_2010.vcxproj +26 -90
  111. package/libusb/msvc/libusb_dll_2012.vcxproj +28 -96
  112. package/libusb/msvc/libusb_dll_2013.vcxproj +28 -96
  113. package/libusb/msvc/libusb_dll_2015.vcxproj +107 -0
  114. package/libusb/msvc/libusb_dll_2017.vcxproj +134 -0
  115. package/libusb/msvc/libusb_dll_wince.vcproj +9 -1
  116. package/libusb/msvc/libusb_sources +10 -5
  117. package/libusb/msvc/libusb_static.dsp +2 -2
  118. package/libusb/msvc/libusb_static_2005.vcproj +32 -4
  119. package/libusb/msvc/libusb_static_2010.vcxproj +24 -83
  120. package/libusb/msvc/libusb_static_2012.vcxproj +25 -87
  121. package/libusb/msvc/libusb_static_2013.vcxproj +25 -87
  122. package/libusb/msvc/libusb_static_2015.vcxproj +98 -0
  123. package/libusb/msvc/libusb_static_2017.vcxproj +117 -0
  124. package/libusb/msvc/libusb_static_wince.vcproj +20 -26
  125. package/libusb/msvc/libusb_wince.sln +88 -88
  126. package/libusb/msvc/listdevs_2010.vcxproj +16 -99
  127. package/libusb/msvc/listdevs_2012.vcxproj +16 -102
  128. package/libusb/msvc/listdevs_2013.vcxproj +16 -102
  129. package/libusb/msvc/listdevs_2015.vcxproj +83 -0
  130. package/libusb/msvc/listdevs_2017.vcxproj +106 -0
  131. package/libusb/msvc/listdevs_sources +2 -1
  132. package/libusb/msvc/stress_2010.vcxproj +20 -101
  133. package/libusb/msvc/stress_2012.vcxproj +20 -104
  134. package/libusb/msvc/stress_2013.vcxproj +20 -104
  135. package/libusb/msvc/stress_2015.vcxproj +87 -0
  136. package/libusb/msvc/stress_2017.vcxproj +110 -0
  137. package/libusb/msvc/stress_sources +21 -0
  138. package/libusb/msvc/testlibusb_2010.vcxproj +82 -0
  139. package/libusb/msvc/testlibusb_2012.vcxproj +83 -0
  140. package/libusb/msvc/testlibusb_2013.vcxproj +83 -0
  141. package/libusb/msvc/testlibusb_2015.vcxproj +83 -0
  142. package/libusb/msvc/testlibusb_2017.vcxproj +106 -0
  143. package/libusb/msvc/testlibusb_sources +20 -0
  144. package/libusb/msvc/xusb_2010.vcxproj +17 -98
  145. package/libusb/msvc/xusb_2012.vcxproj +17 -101
  146. package/libusb/msvc/xusb_2013.vcxproj +17 -101
  147. package/libusb/msvc/xusb_2015.vcxproj +83 -0
  148. package/libusb/msvc/xusb_2017.vcxproj +106 -0
  149. package/libusb/msvc/xusb_sources +1 -1
  150. package/libusb/tests/stress.c +2 -2
  151. package/libusb/tests/testlib.c +0 -4
  152. package/libusb/travis-autogen.sh +39 -0
  153. package/libusb.gypi +13 -2
  154. package/package.json +20 -11
  155. package/prebuilds/android-arm/node.napi.armv7.node +0 -0
  156. package/prebuilds/android-arm64/node.napi.armv8.node +0 -0
  157. package/prebuilds/darwin-x64+arm64/node.napi.node +0 -0
  158. package/prebuilds/linux-arm/node.napi.armv6.node +0 -0
  159. package/prebuilds/linux-arm/node.napi.armv7.node +0 -0
  160. package/prebuilds/linux-arm64/node.napi.armv8.node +0 -0
  161. package/prebuilds/linux-ia32/node.napi.node +0 -0
  162. package/prebuilds/linux-x64/node.napi.glibc.node +0 -0
  163. package/prebuilds/linux-x64/node.napi.musl.node +0 -0
  164. package/prebuilds/win32-ia32/node.napi.node +0 -0
  165. package/prebuilds/win32-x64/node.napi.node +0 -0
  166. package/src/device.cc +1 -1
  167. package/usb.js +1 -1
  168. package/.github/workflows/prebuild.yml +0 -49
  169. package/libusb/INSTALL +0 -234
  170. package/libusb/README +0 -28
  171. package/libusb/libusb/os/windows_usb.c +0 -5347
  172. package/libusb/libusb/os/windows_usb.h +0 -971
  173. package/libusb/msvc/fxload_2010.vcxproj.filters +0 -25
  174. package/libusb/msvc/fxload_2012.vcxproj.filters +0 -25
  175. package/libusb/msvc/getopt_2010.vcxproj.filters +0 -26
  176. package/libusb/msvc/getopt_2012.vcxproj.filters +0 -26
  177. package/libusb/msvc/hotplugtest_2010.vcxproj.filters +0 -14
  178. package/libusb/msvc/hotplugtest_2012.vcxproj.filters +0 -14
  179. package/libusb/msvc/libusb_dll_2010.vcxproj.filters +0 -81
  180. package/libusb/msvc/libusb_dll_2012.vcxproj.filters +0 -84
  181. package/libusb/msvc/libusb_static_2010.vcxproj.filters +0 -74
  182. package/libusb/msvc/libusb_static_2012.vcxproj.filters +0 -74
  183. package/libusb/msvc/listdevs_2010.vcxproj.filters +0 -14
  184. package/libusb/msvc/listdevs_2012.vcxproj.filters +0 -14
  185. package/libusb/msvc/stress_2010.vcxproj.filters +0 -25
  186. package/libusb/msvc/stress_2012.vcxproj.filters +0 -25
  187. package/libusb/msvc/xusb_2010.vcxproj.filters +0 -14
  188. package/libusb/msvc/xusb_2012.vcxproj.filters +0 -14
package/.gitmodules CHANGED
@@ -1,3 +1,3 @@
1
1
  [submodule "libusb"]
2
2
  path = libusb
3
- url = https://github.com/kevinmehall/libusb.git
3
+ url = https://github.com/libusb/libusb.git
package/Readme.md CHANGED
@@ -1,7 +1,7 @@
1
1
  USB Library for Node.JS
2
2
  ===============================
3
3
 
4
- [![Build Status](https://github.com/tessel/node-usb/workflows/prebuild/badge.svg)](https://github.com/tessel/node-usb/actions)
4
+ [![Build Status](https://github.com/node-usb/node-usb/workflows/prebuild/badge.svg)](https://github.com/node-usb/node-usb/actions)
5
5
 
6
6
  Node.JS library for communicating with USB devices in JavaScript / CoffeeScript.
7
7
 
@@ -310,7 +310,7 @@ Development and testing
310
310
 
311
311
  To build from git:
312
312
 
313
- git clone --recursive https://github.com/tessel/node-usb.git
313
+ git clone --recursive https://github.com/node-usb/node-usb.git
314
314
  cd node-usb
315
315
  npm install
316
316
 
package/binding.gyp CHANGED
@@ -10,7 +10,7 @@
10
10
  'cflags_cc!': [ '-fno-exceptions' ],
11
11
  'xcode_settings': { 'GCC_ENABLE_CPP_EXCEPTIONS': 'YES',
12
12
  'CLANG_CXX_LIBRARY': 'libc++',
13
- 'MACOSX_DEPLOYMENT_TARGET': '10.7',
13
+ 'MACOSX_DEPLOYMENT_TARGET': '10.11',
14
14
  },
15
15
  'msvs_settings': {
16
16
  'VCCLCompilerTool': { 'ExceptionHandling': 1 },
@@ -52,7 +52,7 @@
52
52
  'OTHER_CFLAGS': [ '-std=c++1y', '-stdlib=libc++' ],
53
53
  'OTHER_LDFLAGS': [ '-framework', 'CoreFoundation', '-framework', 'IOKit' ],
54
54
  'SDKROOT': 'macosx',
55
- 'MACOSX_DEPLOYMENT_TARGET': '10.7',
55
+ 'MACOSX_DEPLOYMENT_TARGET': '10.11',
56
56
  },
57
57
  }],
58
58
  ['OS=="win"', {
@@ -26,7 +26,13 @@
26
26
  BRANCH_OFFSET=10000
27
27
  ################################################################################
28
28
 
29
- type -P git &>/dev/null || { echo "git command not found. Aborting." >&2; exit 1; }
29
+ if [ "$BASH_VERSION" = '' ]; then
30
+ TYPE_CMD="type git >/dev/null 2>&1"
31
+ else
32
+ TYPE_CMD="type -P git &>/dev/null"
33
+ fi
34
+
35
+ eval $TYPE_CMD || { echo "git command not found. Aborting." >&2; exit 1; }
30
36
 
31
37
  NANO=`git log --oneline | wc -l`
32
38
  NANO=`expr $NANO + $BRANCH_OFFSET`
@@ -0,0 +1,49 @@
1
+ language: c
2
+
3
+ matrix:
4
+ include:
5
+ - os: linux
6
+ dist: trusty
7
+ sudo: required
8
+ compiler: gcc
9
+ - os: linux
10
+ dist: trusty
11
+ sudo: required
12
+ compiler: clang
13
+ - os: osx
14
+ osx_image: xcode8
15
+ compiler: gcc
16
+ - os: osx
17
+ osx_image: xcode8
18
+ compiler: clang
19
+ - os: osx
20
+ osx_image: xcode7.1
21
+ compiler: gcc
22
+ - os: osx
23
+ osx_image: xcode7.1
24
+ compiler: clang
25
+ - os: osx
26
+ osx_image: beta-xcode6.2
27
+ compiler: gcc
28
+ - os: osx
29
+ osx_image: beta-xcode6.2
30
+ compiler: clang
31
+
32
+ addons:
33
+ homebrew:
34
+ update: true
35
+ brewfile: true
36
+ apt:
37
+ packages:
38
+ - autoconf
39
+ - automake
40
+ - libtool
41
+ - m4
42
+ - libudev-dev
43
+ sources:
44
+ - ubuntu-toolchain-r-test
45
+
46
+ script:
47
+ - ./autogen.sh && make clean && make
48
+ - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./travis-autogen.sh --disable-udev && make clean && make ; fi
49
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then cd Xcode && xcodebuild -project libusb.xcodeproj ; fi
package/libusb/AUTHORS CHANGED
@@ -1,58 +1,84 @@
1
1
  Copyright © 2001 Johannes Erdfelt <johannes@erdfelt.com>
2
2
  Copyright © 2007-2009 Daniel Drake <dsd@gentoo.org>
3
3
  Copyright © 2010-2012 Peter Stuge <peter@stuge.se>
4
- Copyright © 2008-2013 Nathan Hjelm <hjelmn@users.sourceforge.net>
4
+ Copyright © 2008-2016 Nathan Hjelm <hjelmn@users.sourceforge.net>
5
5
  Copyright © 2009-2013 Pete Batard <pete@akeo.ie>
6
6
  Copyright © 2009-2013 Ludovic Rousseau <ludovic.rousseau@gmail.com>
7
7
  Copyright © 2010-2012 Michael Plante <michael.plante@gmail.com>
8
8
  Copyright © 2011-2013 Hans de Goede <hdegoede@redhat.com>
9
9
  Copyright © 2012-2013 Martin Pieuchot <mpi@openbsd.org>
10
10
  Copyright © 2012-2013 Toby Gray <toby.gray@realvnc.com>
11
+ Copyright © 2013-2018 Chris Dickens <christopher.a.dickens@gmail.com>
11
12
 
12
13
  Other contributors:
14
+ Adrian Bunk
15
+ Akshay Jaggi
13
16
  Alan Ott
14
17
  Alan Stern
15
18
  Alex Vatchenko
16
19
  Andrew Fernandes
20
+ Andy Chunyu
21
+ Andy McFadden
22
+ Angus Gratton
23
+ Anil Nair
17
24
  Anthony Clay
25
+ Antonio Ospite
18
26
  Artem Egorkine
19
27
  Aurelien Jarno
20
28
  Bastien Nocera
21
29
  Bei Zhang
22
30
  Benjamin Dobell
31
+ Brent Rector
23
32
  Carl Karsten
24
- Chris Dickens
33
+ Christophe Zeitouny
25
34
  Colin Walters
26
35
  Dave Camarillo
27
36
  David Engraf
28
37
  David Moore
29
38
  Davidlohr Bueso
39
+ Dmitry Fleytman
40
+ Doug Johnston
41
+ Evan Hunter
30
42
  Federico Manzan
31
43
  Felipe Balbi
32
44
  Florian Albrechtskirchinger
33
45
  Francesco Montorsi
34
46
  Francisco Facioni
47
+ Gaurav Gupta
35
48
  Graeme Gill
36
49
  Gustavo Zacarias
37
50
  Hans Ulrich Niedermann
38
51
  Hector Martin
39
52
  Hoi-Ho Chan
40
53
  Ilya Konstantinov
54
+ Jakub Klama
41
55
  James Hanko
56
+ Jeffrey Nichols
57
+ Johann Richard
42
58
  John Sheu
59
+ Jonathon Jongsma
60
+ Joost Muller
61
+ Josh Gao
43
62
  Joshua Blake
44
63
  Justin Bischoff
64
+ KIMURA Masaru
45
65
  Karsten Koenig
46
66
  Konrad Rzepecki
47
67
  Kuangye Guo
48
68
  Lars Kanis
49
69
  Lars Wirzenius
70
+ Lei Chen
50
71
  Luca Longinotti
72
+ Marcus Meissner
51
73
  Markus Heidelberg
74
+ Martin Ettl
52
75
  Martin Koegler
76
+ Matthew Stapleton
53
77
  Matthias Bolte
78
+ Michel Zou
54
79
  Mike Frysinger
55
80
  Mikhail Gusarov
81
+ Morgan Leborgne
56
82
  Moritz Fischer
57
83
  Ларионов Даниил
58
84
  Nicholas Corgan
@@ -61,18 +87,33 @@ Orin Eman
61
87
  Paul Fertser
62
88
  Pekka Nikander
63
89
  Rob Walker
90
+ Romain Vimont
91
+ Roman Kalashnikov
92
+ Sameeh Jubran
64
93
  Sean McBride
65
94
  Sebastian Pipping
95
+ Sergey Serb
66
96
  Simon Haggett
97
+ Simon Newton
98
+ Stefan Agner
99
+ Stefan Tauner
100
+ Steinar H. Gunderson
67
101
  Thomas Röfer
102
+ Tim Hutt
68
103
  Tim Roberts
104
+ Tobias Klauser
69
105
  Toby Peterson
106
+ Tormod Volden
70
107
  Trygve Laugstøl
71
108
  Uri Lublin
72
109
  Vasily Khoruzhick
73
110
  Vegard Storheil Eriksen
111
+ Venkatesh Shukla
112
+ Vianney le Clément de Saint-Marcq
113
+ Victor Toso
74
114
  Vitali Lovich
115
+ William Skellenger
75
116
  Xiaofan Chen
76
117
  Zoltán Kovács
77
118
  Роман Донченко
78
- xantares
119
+ parafin
@@ -0,0 +1,4 @@
1
+ brew 'automake'
2
+ brew 'libtool'
3
+ brew 'autoconf'
4
+ brew 'm4'
package/libusb/ChangeLog CHANGED
@@ -1,14 +1,86 @@
1
1
  For detailed information about the changes below, please see the git log or
2
2
  visit: http://log.libusb.info
3
3
 
4
+ 2019-08-28: v1.0.23
5
+ * Add German translation (#446)
6
+ * Add Hungarian translation (#493)
7
+ * Android: Improved support for Android
8
+ * BSD: Remove infinite recursion in OpenBSD backend
9
+ * configure.ac: Fix detection of clock_gettime library (#439)
10
+ * Core: abandon synchronous transfers when device closure is detected.
11
+ * Core: fix error in handling the removal of file descriptors while handling
12
+ events.
13
+ * Darwin(macOS): Switch from using ResetDevice to USBDeviceReEnumerate (#455)
14
+ * Darwin(macOS): Remove code that changed the device class used (#428)
15
+ * Darwin(macOS): Reduce hotplug timeout to 1ms (from 5s)
16
+ * New API libusb_set_log_cb() to redirect global and per context log
17
+ messages to the provided log handling function
18
+ * New API libusb_wrap_sys_device to allow the user to specify the
19
+ usb device to use.
20
+ * Solaris: Break infinite recursion in backend clock_gettime
21
+ * Solaris: Enable timerfd on sunos when available
22
+ * Windows: Add support for isochronous transfers with WinUSB
23
+ * Various other bug fixes and improvements
24
+
25
+ 2018-03-24: v1.0.22:
26
+ * New libusb_set_option() API
27
+ * Fix transfer timeout not being cleared upon resubmission
28
+ * Report super speed plus devices on modern Linux and macOS
29
+ * Darwin: Improve support for macOS Sierra and High Sierra
30
+ * Darwin: SDK fixes and improvements
31
+ * Linux: Let initialization succeed when no devices are present
32
+ * Linux: Mark internal file descriptors with CLOEXEC flag
33
+ * Solaris: Add support for attach/detach kernel driver
34
+ * Windows: Add dynamic UsbDk backend selection
35
+ * Windows: Add isochronous transfer support via libusbK
36
+ * Windows: Add Visual Studio 2017 support
37
+ * Windows: Fix enumeration problems on Windows 8 and later
38
+ * Windows: Major rework of poll() emulation
39
+ * Windows: Numerous HID API fixes
40
+ * Windows: Support cancelation of individual transfers (Vista and later)
41
+ * Various other bug fixes and improvements
42
+
43
+ 2016-10-01: v1.0.21:
44
+ * Core: Refactor code related to transfer flags and timeout handling
45
+ * Darwin: Ignore root hub simulation devices
46
+ * Darwin: Improved support for OS X El Capitan
47
+ * Darwin: Work around devices with buggy endpoint descriptors
48
+ * Darwin: Do not use objc_registerThreadWithCollector after its deprecation
49
+ * Darwin: Use C11 atomics on 10.12+ as the OS atomics are now deprecated
50
+ * Linux: Support preallocating kernel memory for zerocopy USB
51
+ * Linux: Deal with receiving POLLERR before all transfers have completed
52
+ * Solaris: Add solaris backend
53
+ * Windows: Add Visual Studio 2015 support
54
+ * Windows: Add usbdk backend
55
+ * Prevent attempts to recursively handle events
56
+ * Fix race condition in handle_timeout()
57
+ * Allow transferred argument to be optional in bulk APIs
58
+ * Various other bug fixes and improvements
59
+
60
+ 2015-09-13: v1.0.20
61
+ * Add Haiku support
62
+ * Fix multiple memory and resource leaks (#16, #52, #76, #81)
63
+ * Fix possible deadlock when executing transfer callback
64
+ * New libusb_free_pollfds() API
65
+ * Darwin: Fix devices not being detected on OS X 10.8 (#48)
66
+ * Linux: Allow larger isochronous transfer submission (#23)
67
+ * Windows: Fix broken builds Cygwin/MinGW builds and compiler warnings
68
+ * Windows: Fix broken bus number lookup
69
+ * Windows: Improve submission of control requests for composite devices
70
+ * Examples: Add two-stage load support to fxload (#12)
71
+ * Correctly report cancellations due to timeouts
72
+ * Improve efficiency of event handling
73
+ * Improve speed of transfer submission in multi-threaded environments
74
+ * Various other bug fixes and improvements
75
+ The (#xx) numbers are libusb issue numbers, see ie:
76
+ https://github.com/libusb/libusb/issues/16
77
+
4
78
  2014-05-30: v1.0.19
5
79
  * Add support for USB bulk streams on Linux and Mac OS X (#11)
6
80
  * Windows: Add AMD and Intel USB-3.0 root hub support
7
81
  * Windows: Fix USB 3.0 speed detection on Windows 8 or later (#10)
8
82
  * Added Russian translation for libusb_strerror strings
9
83
  * All: Various small fixes and cleanups
10
- The (#xx) numbers are libusb issue numbers, see ie:
11
- https://github.com/libusb/libusb/issues/11
12
84
 
13
85
  2014-01-25: v1.0.18
14
86
  * Fix multiple memory leaks
@@ -0,0 +1,32 @@
1
+ # libusb
2
+
3
+ [![Build Status](https://travis-ci.org/libusb/libusb.svg?branch=master)](https://travis-ci.org/libusb/libusb)
4
+ [![Build status](https://ci.appveyor.com/api/projects/status/xvrfam94jii4a6lw?svg=true)](https://ci.appveyor.com/project/LudovicRousseau/libusb)
5
+ [![Coverity Scan Build Status](https://scan.coverity.com/projects/2180/badge.svg)](https://scan.coverity.com/projects/libusb-libusb)
6
+
7
+ libusb is a library for USB device access from Linux, macOS,
8
+ Windows, OpenBSD/NetBSD and Haiku userspace.
9
+ It is written in C (Haiku backend in C++) and licensed under the GNU
10
+ Lesser General Public License version 2.1 or, at your option, any later
11
+ version (see [COPYING](COPYING)).
12
+
13
+ libusb is abstracted internally in such a way that it can hopefully
14
+ be ported to other operating systems. Please see the [PORTING](PORTING)
15
+ file for more information.
16
+
17
+ libusb homepage:
18
+ http://libusb.info/
19
+
20
+ Developers will wish to consult the API documentation:
21
+ http://api.libusb.info
22
+
23
+ Use the mailing list for questions, comments, etc:
24
+ http://mailing-list.libusb.info
25
+
26
+ - Hans de Goede <hdegoede@redhat.com>
27
+ - Xiaofan Chen <xiaofanc@gmail.com>
28
+ - Ludovic Rousseau <ludovic.rousseau@gmail.com>
29
+ - Nathan Hjelm <hjelmn@cs.unm.edu>
30
+ - Chris Dickens <christopher.a.dickens@gmail.com>
31
+
32
+ (Please use the mailing list rather than mailing developers directly)
package/libusb/TODO CHANGED
@@ -1,2 +1,2 @@
1
1
  Please see the libusb roadmap by visiting:
2
- https://github.com/libusb/libusb/issues/milestones?direction=asc&sort=due_date
2
+ https://github.com/libusb/libusb/milestones?direction=asc&sort=due_date&state=open
@@ -23,6 +23,9 @@ GCC_STRICT_ALIASING = NO
23
23
  // Use C99 dialect.
24
24
  GCC_C_LANGUAGE_STANDARD = c99
25
25
 
26
+ // Don't search user paths with <> style #includes.
27
+ ALWAYS_SEARCH_USER_PATHS = NO
28
+
26
29
  // Compiler warnings.
27
30
  GCC_WARN_64_TO_32_BIT_CONVERSION = YES
28
31
  GCC_WARN_ABOUT_RETURN_TYPE = YES
@@ -37,12 +40,21 @@ GCC_WARN_UNKNOWN_PRAGMAS = YES
37
40
  GCC_WARN_UNUSED_FUNCTION = YES
38
41
  GCC_WARN_UNUSED_LABEL = YES
39
42
  GCC_WARN_UNUSED_VARIABLE = YES
43
+ GCC_WARN_UNUSED_PARAMETER = YES
40
44
  CLANG_WARN_EMPTY_BODY = YES
41
45
  CLANG_WARN_CONSTANT_CONVERSION = YES
42
46
  CLANG_WARN_ENUM_CONVERSION = YES
43
47
  CLANG_WARN_INT_CONVERSION = YES
44
48
  CLANG_WARN_DOCUMENTATION_COMMENTS = YES
45
49
  CLANG_WARN_BOOL_CONVERSION = YES
50
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES
51
+ CLANG_WARN_FLOAT_CONVERSION = YES
52
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES
53
+ CLANG_WARN_INFINITE_RECURSION = YES
54
+ CLANG_WARN_ASSIGN_ENUM = YES
55
+ CLANG_WARN_STRICT_PROTOTYPES = YES
56
+ CLANG_WARN_COMMA = YES
57
+ CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = YES
46
58
 
47
59
  // Static analyzer warnings.
48
60
  CLANG_ANALYZER_SECURITY_FLOATLOOPCOUNTER = YES
@@ -0,0 +1,25 @@
1
+ /* config.h. Manually generated for Xcode. */
2
+
3
+ /* Default visibility */
4
+ #define DEFAULT_VISIBILITY /**/
5
+
6
+ /* Message logging */
7
+ #define ENABLE_LOGGING 1
8
+
9
+ /* Define to 1 if you have the <poll.h> header file. */
10
+ #define HAVE_POLL_H 1
11
+
12
+ /* Define to 1 if you have the <sys/time.h> header file. */
13
+ #define HAVE_SYS_TIME_H 1
14
+
15
+ /* Darwin backend */
16
+ #define OS_DARWIN 1
17
+
18
+ /* type of second poll() argument */
19
+ #define POLL_NFDS_TYPE nfds_t
20
+
21
+ /* Use POSIX Threads */
22
+ #define THREADS_POSIX 1
23
+
24
+ /* Use GNU extensions */
25
+ #define _GNU_SOURCE 1