usb 2.0.0-alpha.1 → 2.0.3
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.
- package/.gitattributes +1 -0
- package/.gitmodules +1 -1
- package/CHANGELOG.md +91 -0
- package/README.md +570 -0
- package/binding.gyp +2 -2
- package/dist/index.d.ts +16 -5
- package/dist/index.js +135 -5
- package/dist/index.js.map +1 -1
- package/dist/usb/bindings.d.ts +13 -0
- package/dist/usb/bindings.js +2 -1
- package/dist/usb/bindings.js.map +1 -1
- package/dist/usb/index.d.ts +0 -2
- package/dist/usb/index.js +75 -112
- package/dist/usb/index.js.map +1 -1
- package/dist/usb/interface.js.map +1 -1
- package/dist/webusb/index.d.ts +28 -19
- package/dist/webusb/index.js +152 -66
- package/dist/webusb/index.js.map +1 -1
- package/dist/webusb/webusb-device.d.ts +1 -1
- package/dist/webusb/webusb-device.js +15 -6
- package/dist/webusb/webusb-device.js.map +1 -1
- package/libusb/.private/pre-commit.sh +7 -1
- package/libusb/.travis.yml +49 -0
- package/libusb/AUTHORS +44 -3
- package/libusb/Brewfile +4 -0
- package/libusb/ChangeLog +74 -2
- package/libusb/README.md +32 -0
- package/libusb/TODO +1 -1
- package/libusb/Xcode/common.xcconfig +12 -0
- package/libusb/Xcode/config.h +0 -3
- package/libusb/Xcode/libusb.xcodeproj/project.pbxproj +959 -1
- package/libusb/android/README +4 -2
- package/libusb/android/config.h +0 -6
- package/libusb/appveyor.yml +41 -0
- package/libusb/appveyor_cygwin.bat +11 -0
- package/libusb/appveyor_minGW.bat +19 -0
- package/libusb/autogen.sh +1 -1
- package/libusb/bootstrap.sh +3 -16
- package/libusb/configure.ac +108 -80
- package/libusb/doc/doxygen.cfg.in +1785 -739
- package/libusb/examples/Makefile.am +1 -1
- package/libusb/examples/dpfp.c +3 -1
- package/libusb/examples/dpfp_threaded.c +23 -10
- package/libusb/examples/ezusb.c +3 -3
- package/libusb/examples/ezusb.h +2 -2
- package/libusb/examples/fxload.c +31 -9
- package/libusb/examples/hotplugtest.c +35 -7
- package/libusb/examples/listdevs.c +3 -1
- package/libusb/examples/sam3u_benchmark.c +3 -3
- package/libusb/examples/testlibusb.c +277 -0
- package/libusb/examples/xusb.c +40 -34
- package/libusb/libusb/Makefile.am +49 -23
- package/libusb/libusb/core.c +855 -457
- package/libusb/libusb/descriptor.c +72 -78
- package/libusb/libusb/hotplug.c +122 -76
- package/libusb/libusb/hotplug.h +42 -25
- package/libusb/libusb/io.c +625 -390
- package/libusb/libusb/libusb-1.0.def +12 -0
- package/libusb/libusb/libusb.h +218 -150
- package/libusb/libusb/libusbi.h +346 -176
- package/libusb/libusb/os/darwin_usb.c +604 -319
- package/libusb/libusb/os/darwin_usb.h +61 -20
- package/libusb/libusb/os/haiku_pollfs.cpp +367 -0
- package/libusb/libusb/os/haiku_usb.h +113 -0
- package/libusb/libusb/os/haiku_usb_backend.cpp +533 -0
- package/libusb/libusb/os/haiku_usb_raw.cpp +267 -0
- package/libusb/libusb/os/haiku_usb_raw.h +188 -0
- package/libusb/libusb/os/linux_netlink.c +186 -146
- package/libusb/libusb/os/linux_udev.c +36 -14
- package/libusb/libusb/os/linux_usbfs.c +426 -225
- package/libusb/libusb/os/linux_usbfs.h +5 -3
- package/libusb/libusb/os/netbsd_usb.c +21 -77
- package/libusb/libusb/os/openbsd_usb.c +32 -115
- package/libusb/libusb/os/poll_posix.c +38 -5
- package/libusb/libusb/os/poll_posix.h +3 -0
- package/libusb/libusb/os/poll_windows.c +277 -626
- package/libusb/libusb/os/poll_windows.h +11 -44
- package/libusb/libusb/os/sunos_usb.c +1695 -0
- package/libusb/libusb/os/sunos_usb.h +80 -0
- package/libusb/libusb/os/threads_posix.c +24 -26
- package/libusb/libusb/os/threads_posix.h +73 -21
- package/libusb/libusb/os/threads_windows.c +71 -157
- package/libusb/libusb/os/threads_windows.h +68 -44
- package/libusb/libusb/os/wince_usb.c +276 -420
- package/libusb/libusb/os/wince_usb.h +23 -28
- package/libusb/libusb/os/windows_common.h +78 -58
- package/libusb/libusb/os/windows_nt_common.c +1010 -0
- package/libusb/libusb/os/windows_nt_common.h +110 -0
- package/libusb/libusb/os/windows_nt_shared_types.h +147 -0
- package/libusb/libusb/os/windows_usbdk.c +830 -0
- package/libusb/libusb/os/windows_usbdk.h +103 -0
- package/libusb/libusb/os/windows_winusb.c +4391 -0
- package/libusb/libusb/os/windows_winusb.h +783 -0
- package/libusb/libusb/strerror.c +41 -7
- package/libusb/libusb/sync.c +41 -13
- package/libusb/libusb/version.h +1 -1
- package/libusb/libusb/version_nano.h +1 -1
- package/libusb/libusb-1.0.pc.in +1 -1
- package/libusb/msvc/appveyor.bat +27 -0
- package/libusb/msvc/config.h +5 -4
- package/libusb/msvc/ddk_build.cmd +87 -43
- package/libusb/msvc/fxload_2010.vcxproj +24 -104
- package/libusb/msvc/fxload_2012.vcxproj +24 -107
- package/libusb/msvc/fxload_2013.vcxproj +24 -107
- package/libusb/msvc/fxload_2015.vcxproj +91 -0
- package/libusb/msvc/fxload_2017.vcxproj +114 -0
- package/libusb/msvc/fxload_sources +1 -1
- package/libusb/msvc/getopt_2010.vcxproj +16 -75
- package/libusb/msvc/getopt_2012.vcxproj +16 -79
- package/libusb/msvc/getopt_2013.vcxproj +16 -79
- package/libusb/msvc/getopt_2015.vcxproj +73 -0
- package/libusb/msvc/getopt_2017.vcxproj +98 -0
- package/libusb/msvc/getopt_sources +6 -2
- package/libusb/msvc/hotplugtest_2010.vcxproj +18 -99
- package/libusb/msvc/hotplugtest_2012.vcxproj +18 -102
- package/libusb/msvc/hotplugtest_2013.vcxproj +18 -102
- package/libusb/msvc/hotplugtest_2015.vcxproj +83 -0
- package/libusb/msvc/hotplugtest_2017.vcxproj +106 -0
- package/libusb/msvc/hotplugtest_sources +1 -1
- package/libusb/msvc/libusb_2005.sln +20 -20
- package/libusb/msvc/libusb_2010.sln +57 -46
- package/libusb/msvc/libusb_2012.sln +57 -46
- package/libusb/msvc/libusb_2013.sln +57 -50
- package/libusb/msvc/libusb_2015.sln +59 -52
- package/libusb/msvc/libusb_2017.sln +186 -0
- package/libusb/msvc/libusb_dll.dsp +2 -2
- package/libusb/msvc/libusb_dll_2005.vcproj +30 -2
- package/libusb/msvc/libusb_dll_2010.vcxproj +26 -90
- package/libusb/msvc/libusb_dll_2012.vcxproj +28 -96
- package/libusb/msvc/libusb_dll_2013.vcxproj +28 -96
- package/libusb/msvc/libusb_dll_2015.vcxproj +107 -0
- package/libusb/msvc/libusb_dll_2017.vcxproj +134 -0
- package/libusb/msvc/libusb_dll_wince.vcproj +9 -1
- package/libusb/msvc/libusb_sources +10 -5
- package/libusb/msvc/libusb_static.dsp +2 -2
- package/libusb/msvc/libusb_static_2005.vcproj +32 -4
- package/libusb/msvc/libusb_static_2010.vcxproj +24 -83
- package/libusb/msvc/libusb_static_2012.vcxproj +25 -87
- package/libusb/msvc/libusb_static_2013.vcxproj +25 -87
- package/libusb/msvc/libusb_static_2015.vcxproj +98 -0
- package/libusb/msvc/libusb_static_2017.vcxproj +117 -0
- package/libusb/msvc/libusb_static_wince.vcproj +20 -26
- package/libusb/msvc/libusb_wince.sln +88 -88
- package/libusb/msvc/listdevs_2010.vcxproj +16 -99
- package/libusb/msvc/listdevs_2012.vcxproj +16 -102
- package/libusb/msvc/listdevs_2013.vcxproj +16 -102
- package/libusb/msvc/listdevs_2015.vcxproj +83 -0
- package/libusb/msvc/listdevs_2017.vcxproj +106 -0
- package/libusb/msvc/listdevs_sources +2 -1
- package/libusb/msvc/stress_2010.vcxproj +20 -101
- package/libusb/msvc/stress_2012.vcxproj +20 -104
- package/libusb/msvc/stress_2013.vcxproj +20 -104
- package/libusb/msvc/stress_2015.vcxproj +87 -0
- package/libusb/msvc/stress_2017.vcxproj +110 -0
- package/libusb/msvc/stress_sources +21 -0
- package/libusb/msvc/testlibusb_2010.vcxproj +82 -0
- package/libusb/msvc/testlibusb_2012.vcxproj +83 -0
- package/libusb/msvc/testlibusb_2013.vcxproj +83 -0
- package/libusb/msvc/testlibusb_2015.vcxproj +83 -0
- package/libusb/msvc/testlibusb_2017.vcxproj +106 -0
- package/libusb/msvc/testlibusb_sources +20 -0
- package/libusb/msvc/xusb_2010.vcxproj +17 -98
- package/libusb/msvc/xusb_2012.vcxproj +17 -101
- package/libusb/msvc/xusb_2013.vcxproj +17 -101
- package/libusb/msvc/xusb_2015.vcxproj +83 -0
- package/libusb/msvc/xusb_2017.vcxproj +106 -0
- package/libusb/msvc/xusb_sources +1 -1
- package/libusb/tests/stress.c +2 -2
- package/libusb/tests/testlib.c +0 -4
- package/libusb/travis-autogen.sh +39 -0
- package/libusb.gypi +13 -2
- package/package.json +23 -13
- package/prebuilds/android-arm/node.napi.armv7.node +0 -0
- package/prebuilds/android-arm64/node.napi.armv8.node +0 -0
- package/prebuilds/darwin-x64+arm64/node.napi.node +0 -0
- package/prebuilds/linux-arm/node.napi.armv6.node +0 -0
- package/prebuilds/linux-arm/node.napi.armv7.node +0 -0
- package/prebuilds/linux-arm64/node.napi.armv8.node +0 -0
- package/prebuilds/linux-ia32/node.napi.node +0 -0
- package/prebuilds/linux-x64/node.napi.glibc.node +0 -0
- package/prebuilds/linux-x64/node.napi.musl.node +0 -0
- package/prebuilds/win32-ia32/node.napi.node +0 -0
- package/prebuilds/win32-x64/node.napi.node +0 -0
- package/src/device.cc +7 -7
- package/src/node_usb.cc +43 -1
- package/src/node_usb.h +1 -0
- package/src/uv_async_queue.h +33 -25
- package/test/usb.coffee +12 -4
- package/tsc/index.ts +68 -8
- package/tsc/usb/bindings.ts +19 -1
- package/tsc/usb/index.ts +66 -68
- package/tsc/usb/interface.ts +2 -2
- package/tsc/webusb/index.ts +187 -75
- package/tsc/webusb/webusb-device.ts +28 -17
- package/.github/workflows/prebuild.yml +0 -48
- package/Readme.md +0 -339
- package/dist/webusb/typed-event-target.d.ts +0 -11
- package/dist/webusb/typed-event-target.js +0 -21
- package/dist/webusb/typed-event-target.js.map +0 -1
- package/docs/assets/css/main.css +0 -2660
- package/docs/assets/images/icons.png +0 -0
- package/docs/assets/images/icons@2x.png +0 -0
- package/docs/assets/images/widgets.png +0 -0
- package/docs/assets/images/widgets@2x.png +0 -0
- package/docs/assets/js/main.js +0 -248
- package/docs/assets/js/search.js +0 -1
- package/docs/classes/usb_bindings.device.html +0 -1338
- package/docs/classes/usb_bindings.libusbexception.html +0 -234
- package/docs/classes/usb_bindings.transfer.html +0 -344
- package/docs/classes/usb_capability.capability.html +0 -297
- package/docs/classes/usb_device.extendeddevice.html +0 -766
- package/docs/classes/usb_endpoint.endpoint.html +0 -472
- package/docs/classes/usb_endpoint.inendpoint.html +0 -766
- package/docs/classes/usb_endpoint.outendpoint.html +0 -582
- package/docs/classes/usb_interface.interface.html +0 -648
- package/docs/classes/webusb.webusb-1.html +0 -615
- package/docs/classes/webusb_mutex.mutex.html +0 -270
- package/docs/classes/webusb_typed_event_target.typedeventtarget.html +0 -443
- package/docs/classes/webusb_webusb_device.webusbdevice.html +0 -904
- package/docs/index.html +0 -500
- package/docs/interfaces/usb.deviceevents.html +0 -242
- package/docs/interfaces/usb_descriptors.bosdescriptor.html +0 -293
- package/docs/interfaces/usb_descriptors.capabilitydescriptor.html +0 -274
- package/docs/interfaces/usb_descriptors.configdescriptor.html +0 -388
- package/docs/interfaces/usb_descriptors.devicedescriptor.html +0 -464
- package/docs/interfaces/usb_descriptors.endpointdescriptor.html +0 -370
- package/docs/interfaces/usb_descriptors.interfacedescriptor.html +0 -407
- package/docs/interfaces/webusb.usboptions.html +0 -226
- package/docs/modules/index.html +0 -173
- package/docs/modules/usb.html +0 -173
- package/docs/modules/usb_bindings.html +0 -2319
- package/docs/modules/usb_capability.html +0 -156
- package/docs/modules/usb_descriptors.html +0 -176
- package/docs/modules/usb_device.html +0 -156
- package/docs/modules/usb_endpoint.html +0 -164
- package/docs/modules/usb_interface.html +0 -156
- package/docs/modules/webusb.html +0 -165
- package/docs/modules/webusb_mutex.html +0 -156
- package/docs/modules/webusb_typed_event_target.html +0 -156
- package/docs/modules/webusb_webusb_device.html +0 -156
- package/docs/modules.html +0 -156
- package/libusb/INSTALL +0 -234
- package/libusb/README +0 -28
- package/libusb/libusb/os/windows_usb.c +0 -5347
- package/libusb/libusb/os/windows_usb.h +0 -971
- package/libusb/msvc/fxload_2010.vcxproj.filters +0 -25
- package/libusb/msvc/fxload_2012.vcxproj.filters +0 -25
- package/libusb/msvc/getopt_2010.vcxproj.filters +0 -26
- package/libusb/msvc/getopt_2012.vcxproj.filters +0 -26
- package/libusb/msvc/hotplugtest_2010.vcxproj.filters +0 -14
- package/libusb/msvc/hotplugtest_2012.vcxproj.filters +0 -14
- package/libusb/msvc/libusb_dll_2010.vcxproj.filters +0 -81
- package/libusb/msvc/libusb_dll_2012.vcxproj.filters +0 -84
- package/libusb/msvc/libusb_static_2010.vcxproj.filters +0 -74
- package/libusb/msvc/libusb_static_2012.vcxproj.filters +0 -74
- package/libusb/msvc/listdevs_2010.vcxproj.filters +0 -14
- package/libusb/msvc/listdevs_2012.vcxproj.filters +0 -14
- package/libusb/msvc/stress_2010.vcxproj.filters +0 -25
- package/libusb/msvc/stress_2012.vcxproj.filters +0 -25
- package/libusb/msvc/xusb_2010.vcxproj.filters +0 -14
- package/libusb/msvc/xusb_2012.vcxproj.filters +0 -14
- package/tsc/webusb/typed-event-target.ts +0 -23
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
|
package/libusb/README.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# libusb
|
|
2
|
+
|
|
3
|
+
[](https://travis-ci.org/libusb/libusb)
|
|
4
|
+
[](https://ci.appveyor.com/project/LudovicRousseau/libusb)
|
|
5
|
+
[](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/
|
|
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
|
package/libusb/Xcode/config.h
CHANGED