Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
98 commits
Select commit Hold shift + click to select a range
4d9fc62
linux_usbfs: Fixed excessive check
lunixoid Oct 28, 2017
bb172b4
linux_usbfs: Set urb->buffer_length for isochronous transfers
jceel Nov 22, 2017
e5ec22e
linux_udev: Initialize pointer before calling external API
victortoso Dec 13, 2017
21540e4
linux_usbfs: Remove old comment
victortoso Dec 13, 2017
61dc33a
Windows: Fix libusb_get_string_descriptor for HID devices
AndyChunyu Mar 8, 2017
9d4a6ea
Windows: Report correct usagePage and usage values for HID
AndyChunyu Mar 8, 2017
1bd541e
Solaris: Add detach/attach kernel driver support
Dec 2, 2016
ba86d27
Misc: Fix pre-commit hook to not emit errors in non-Bash shells
dickens Dec 26, 2017
d8c1f7c
Examples: Improvements to xusb's support for Microsoft OS descriptors
dickens Dec 27, 2017
0fece89
Examples: Misc. cleanup to xusb
dickens Dec 27, 2017
fa19c15
Windows: testlibusb example for VS2015
hacker2490 Jul 29, 2016
2ae2348
Windows: Add VS 2010/2012/2013/2017 project files for testlibusb
dickens Dec 27, 2017
8aad7fd
linux_usbfs: Improve isochronous transfer submission and error reporting
dickens Dec 27, 2017
539a323
Misc: Fix testlibusb build on VS2013 and earlier and suppress warnings
dickens Dec 27, 2017
3dca962
hotplug: Improve internal structure and deregistration mechanism
dickens Dec 28, 2017
4d5df70
linux_usbfs: libusb_init() should succeed if no devices are present
dickens Dec 28, 2017
8e1a282
examples: ezusb: Renamed header guard variable to not use reserved id…
seanm Sep 14, 2016
830a9cb
Fix unused parameter warnings
seanm Dec 28, 2017
f66c63e
examples: xusb: replaced insecure sprintf with snprintf
seanm Dec 28, 2017
7338c2d
core: Fixed deprecated attribute to work on clang
seanm Dec 28, 2017
c1d8c8d
Removed accidental double semi colons at end of line
seanm Dec 28, 2017
0b3d4c6
Fixed various trivial cppcheck 1.80 warnings
seanm Dec 28, 2017
96b89f9
WinCE: Fixed incorrect check of return value, found by cppcheck
seanm Dec 28, 2017
db00b07
hotplug: Cast ssize_t to int in error path to avoid compiler warning
dickens Dec 29, 2017
6402a10
Misc: Add _CRT_SECURE_NO_WARNINGS to testlibusb to suppress warning C…
dickens Dec 29, 2017
8d248ab
Windows: Kill perpetually growing list of hub driver names
dickens Jan 3, 2018
c74dce8
Windows: Improve enumeration process
dickens Jan 3, 2018
3001f93
Misc: Ensure that both WINVER and _WIN32_WINNT are defined for Window…
dickens Jan 4, 2018
4be3202
Windows: Improve locking in threading abstraction
dickens Jan 4, 2018
af1f175
Windows: Fix some minor style issues
dickens Jan 4, 2018
886e396
Windows: Remove unused DLL functions and header definitions
dickens Jan 4, 2018
c4438b3
Windows: Kill empty functions and switch to runtime checking
dickens Jan 4, 2018
3f69af8
Windows: Constify variables that aren't supposed to change
dickens Jan 4, 2018
f06c4f5
Windows: Further improve thread abstraction
dickens Jan 4, 2018
bb0a3e8
POSIX: Improve threading abstraction as done in f06c4f5b
dickens Jan 4, 2018
def3743
Windows: Be a bit smarter when setting composite interfaces
dickens Jan 4, 2018
839235a
Windows: Remove port member from device's private structure
dickens Jan 4, 2018
71a779d
Windows: Rework WinUSB enumeration process to fix issues on Win8+
dickens Jan 5, 2018
12c3047
WinCE: Add back mistakenly removed errno variable
dickens Jan 5, 2018
c2791c3
WinCE: Remove empty function for unsupported ISO transfers
dickens Jan 5, 2018
664c43d
WinCE: Give a variable a more appropriate name, matching other patterns
dickens Jan 5, 2018
cbf2cc8
Misc: Fix minor discrepancies in WinCE MSVC files
dickens Jan 5, 2018
e25e0ce
Misc: Add missing files to VS2005 projects for libusb
dickens Jan 5, 2018
6dd2b7f
Misc: Fix linker options in getopt VS project files
dickens Jan 5, 2018
8b6639e
Misc: Fix references section in fxload VS project files
dickens Jan 5, 2018
9843b68
Misc: Sort projects alphabetically in VS solution files
dickens Jan 5, 2018
4da478c
Misc: Add TargetName to getopt VS project files to supress warning
dickens Jan 5, 2018
798969f
Windows: UsbDk: Fix some strange type-casting
dickens Jan 5, 2018
6733f24
Windows: UsbDk: Fix spelling of InterruptTransferType enum
dickens Jan 5, 2018
2c1f796
Windows: UsbDk: Use a better macro for getting context
dickens Jan 5, 2018
6cffee5
Windows: UsbDk: Cache system redirector handle
dickens Jan 5, 2018
6239788
Windows: UsbDk: Remove unnecessary empty functions
dickens Jan 5, 2018
af66830
Windows: UsbDk: Fix direction determination for control transfers
dickens Jan 5, 2018
aacfff6
Windows: UsbDk: Return appropriate error code for malloc failure
dickens Jan 5, 2018
f3b387f
Windows: UsbDk: Fix some minor style/naming issues
dickens Jan 5, 2018
0865774
Windows: Add check for ERROR_FILE_NOT_FOUND, which means device removed
dickens Jan 7, 2018
d0779e9
Windows: Rework poll() emulation to a much simpler and effective design
dickens Jan 7, 2018
54884e8
Windows: Enable dynamic selection between WinUSB and UsbDk backends
dickens Jan 8, 2018
020103a
Windows: Ditch UsbDk build configuration
sameehj Jan 15, 2017
fc00bb7
Misc: Replace "Mac OS X" with "macOS", its current name
seanm Dec 29, 2017
6bd5658
darwin: Configure Xcode project to specify tab/space, indent amount
seanm Dec 29, 2017
3bffd5c
Added some Xcode-related items to .gitignore
seanm Dec 29, 2017
0f59214
darwin: Cleanup and fixes related to Mac OS IOUSBLib interface checks
seanm Dec 29, 2017
8606571
darwin: Replaced low-level mach API with pthread API
seanm Dec 29, 2017
d2ebbf7
darwin: Untangle clock_* API tests from atomics tests
seanm Dec 29, 2017
297238c
darwin: Changed weirdo fixed-sized typedefs with the usual IOUSBLib.h…
seanm Dec 29, 2017
678a43b
core: Fixed clang -Wcomma warning
seanm Dec 29, 2017
d88c58e
Windows: Fix MinGW build warnings/errors
dickens Jan 8, 2018
ca0b6c0
Fix appveyor scripts for Cygwin and MinGW to build as intended
dickens Jan 9, 2018
55ced77
Windows: Added isochronous support via libusbk
JoshBlake Nov 30, 2013
7a91d7c
core: Add definition for LIBUSB_SUPER_SPEED_PLUS (10Gb/s)
dickens Jan 9, 2018
03f1008
linux_usbfs: Add support for reporting super speed plus devices
dickens Jan 9, 2018
3f6a48d
darwin: extend enum libusb_speed for 10000MBit/s case
seanm Dec 30, 2017
c8069cd
darwin: Test use of kUSBDeviceSpeedSuper against SDK version
seanm Jan 8, 2018
4f9d585
darwin: Suppress deprecation warning when building against 10.13 SDK
seanm Jan 5, 2018
fef88bf
darwin: Improve error checking to prevent (very unlikely) null derefe…
seanm Jan 5, 2018
84209b4
libusb 1.0.22-rc1
dickens Jan 9, 2018
e5a7bb5
Windows: Check composite interfaces before calling functions
dickens Jan 28, 2018
4687401
Windows: Regenerate libusb-1.0.def file from latest DLL
dickens Jan 28, 2018
8ddd8d9
libusb 1.0.22-rc2
dickens Jan 28, 2018
cd7aeec
Windows: Always search for "USB" PnP enumerator class
dickens Feb 2, 2018
32617df
Windows: Fix race condition between submit and handle events
patstew Jan 31, 2018
8551e4a
Windows: Fix hid_abort_transfers blocking
Feb 10, 2018
8e03a65
Windows: UsbDk: Implement get_config_descriptor_by_value()
dickens Feb 24, 2018
8681342
libusb 1.0.22-rc3
dickens Feb 24, 2018
828ec95
Windows: Plug HANDLE leak
dickens Mar 12, 2018
81ce8be
Windows: WinUSB: Do not assume that driver implements CancelIoEx()
dickens Mar 12, 2018
76b0677
Windows: UsbDk: Fix potential buffer overflow
dickens Mar 12, 2018
d236b63
Windows: WinUSB: Guard against erroneous reporting of devices
dickens Mar 12, 2018
0aac390
Windows: Restructure DDK/MSVC project files
dickens Mar 12, 2018
2da989c
Windows: WinUSB: Allow caching config descriptors to fail
dickens Mar 17, 2018
b0fcdea
libusb 1.0.22-rc4
dickens Mar 17, 2018
dc5e33e
Windows: Add back resource and definition files to VS DLL projects
dickens Mar 20, 2018
f692552
examples: testlibusb: Fix DDK build warning
dickens Mar 25, 2018
0034b2a
libusb 1.0.22
dickens Mar 25, 2018
5912d56
Move to brew bundle
stephengroat Mar 30, 2018
c14ab5f
os/darwin: switch from using ResetDevice to USBDeviceReEnumerate
hjelmn Jul 26, 2018
abe6487
Merge remote-tracking branch 'upstream/master' into merge-upstream
jgavris Aug 1, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,7 @@ Release
*.orig
.dirstamp
.amend
xcuserdata
*.xcuserdatad
*.xccheckout
*.xcscmblueprint
8 changes: 7 additions & 1 deletion .private/pre-commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,13 @@
BRANCH_OFFSET=10000
################################################################################

type -P git &>/dev/null || { echo "git command not found. Aborting." >&2; exit 1; }
if [ "$BASH_VERSION" = '' ]; then
TYPE_CMD="type git >/dev/null 2>&1"
else
TYPE_CMD="type -P git &>/dev/null"
fi

eval $TYPE_CMD || { echo "git command not found. Aborting." >&2; exit 1; }

NANO=`git log --oneline | wc -l`
NANO=`expr $NANO + $BRANCH_OFFSET`
Expand Down
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,8 @@ addons:
- ubuntu-toolchain-r-test

before_install:
# brew upgrade sets the return code to 1 if the latest version is already installed. the true command
# is used to reset the return code to 0.
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; brew upgrade automake libtool ; true; fi
# brew bundle installs or upgrades packages in Brewfile
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update && brew bundle && brew bundle cleanup --force; fi

script:
- ./autogen.sh && make clean && make
Expand Down
34 changes: 32 additions & 2 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,37 @@ Copyright © 2010-2012 Michael Plante <michael.plante@gmail.com>
Copyright © 2011-2013 Hans de Goede <hdegoede@redhat.com>
Copyright © 2012-2013 Martin Pieuchot <mpi@openbsd.org>
Copyright © 2012-2013 Toby Gray <toby.gray@realvnc.com>
Copyright © 2013-2015 Chris Dickens <christopher.a.dickens@gmail.com>
Copyright © 2013-2018 Chris Dickens <christopher.a.dickens@gmail.com>

Other contributors:
Adrian Bunk
Akshay Jaggi
Alan Ott
Alan Stern
Alex Vatchenko
Andrew Fernandes
Andy Chunyu
Andy McFadden
Angus Gratton
Anil Nair
Anthony Clay
Antonio Ospite
Artem Egorkine
Aurelien Jarno
Bastien Nocera
Bei Zhang
Benjamin Dobell
Brent Rector
Carl Karsten
Christophe Zeitouny
Colin Walters
Dave Camarillo
David Engraf
David Moore
Davidlohr Bueso
Dmitry Fleytman
Doug Johnston
Evan Hunter
Federico Manzan
Felipe Balbi
Florian Albrechtskirchinger
Expand All @@ -41,23 +51,34 @@ Hans Ulrich Niedermann
Hector Martin
Hoi-Ho Chan
Ilya Konstantinov
Jakub Klama
James Hanko
Jeffrey Nichols
Johann Richard
John Sheu
Jonathon Jongsma
Joost Muller
Josh Gao
Joshua Blake
Justin Bischoff
KIMURA Masaru
Karsten Koenig
Konrad Rzepecki
Kuangye Guo
Lars Kanis
Lars Wirzenius
Lei Chen
Luca Longinotti
Marcus Meissner
Markus Heidelberg
Martin Ettl
Martin Koegler
Matthew Stapleton
Matthias Bolte
Michel Zou
Mike Frysinger
Mikhail Gusarov
Morgan Leborgne
Moritz Fischer
Ларионов Даниил
Nicholas Corgan
Expand All @@ -66,10 +87,17 @@ Orin Eman
Paul Fertser
Pekka Nikander
Rob Walker
Romain Vimont
Roman Kalashnikov
Sameeh Jubran
Sean McBride
Sebastian Pipping
Sergey Serb
Simon Haggett
Simon Newton
Stefan Agner
Stefan Tauner
Steinar H. Gunderson
Thomas Röfer
Tim Hutt
Tim Roberts
Expand All @@ -81,9 +109,11 @@ Uri Lublin
Vasily Khoruzhick
Vegard Storheil Eriksen
Venkatesh Shukla
Vianney le Clément de Saint-Marcq
Victor Toso
Vitali Lovich
William Skellenger
Xiaofan Chen
Zoltán Kovács
Роман Донченко
parafin
xantares
4 changes: 4 additions & 0 deletions Brewfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
brew 'automake'
brew 'libtool'
brew 'autoconf'
brew 'm4'
18 changes: 18 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,6 +1,24 @@
For detailed information about the changes below, please see the git log or
visit: http://log.libusb.info

2018-03-24: v1.0.22:
* New libusb_set_option() API
* Fix transfer timeout not being cleared upon resubmission
* Report super speed plus devices on modern Linux and macOS
* Darwin: Improve support for macOS Sierra and High Sierra
* Darwin: SDK fixes and improvements
* Linux: Let initialization succeed when no devices are present
* Linux: Mark internal file descriptors with CLOEXEC flag
* Solaris: Add support for attach/detach kernel driver
* Windows: Add dynamic UsbDk backend selection
* Windows: Add isochronous transfer support via libusbK
* Windows: Add Visual Studio 2017 support
* Windows: Fix enumeration problems on Windows 8 and later
* Windows: Major rework of poll() emulation
* Windows: Numerous HID API fixes
* Windows: Support cancelation of individual transfers (Vista and later)
* Various other bug fixes and improvements

2016-10-01: v1.0.21:
* Core: Refactor code related to transfer flags and timeout handling
* Darwin: Ignore root hub simulation devices
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![Build status](https://ci.appveyor.com/api/projects/status/xvrfam94jii4a6lw?svg=true)](https://ci.appveyor.com/project/LudovicRousseau/libusb)
[![Coverity Scan Build Status](https://scan.coverity.com/projects/2180/badge.svg)](https://scan.coverity.com/projects/libusb-libusb)

libusb is a library for USB device access from Linux, Mac OS X,
libusb is a library for USB device access from Linux, macOS,
Windows, OpenBSD/NetBSD and Haiku userspace.
It is written in C (Haiku backend in C++) and licensed under the GNU
Lesser General Public License version 2.1 or, at your option, any later
Expand Down
64 changes: 32 additions & 32 deletions Xcode/libusb.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -210,47 +210,47 @@

/* Begin PBXFileReference section */
006AD41C1C8C5A90007F8C6A /* hotplugtest */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = hotplugtest; sourceTree = BUILT_PRODUCTS_DIR; };
006AD4231C8C5AAE007F8C6A /* hotplugtest.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = hotplugtest.c; sourceTree = "<group>"; };
006AD4231C8C5AAE007F8C6A /* hotplugtest.c */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.c.c; path = hotplugtest.c; sourceTree = "<group>"; tabWidth = 4; usesTabs = 1; };
008FBF311628B79300BC5BE2 /* libusb-1.0.0.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = "libusb-1.0.0.dylib"; sourceTree = BUILT_PRODUCTS_DIR; };
008FBF541628B7E800BC5BE2 /* core.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = core.c; sourceTree = "<group>"; };
008FBF551628B7E800BC5BE2 /* descriptor.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = descriptor.c; sourceTree = "<group>"; };
008FBF561628B7E800BC5BE2 /* io.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = io.c; sourceTree = "<group>"; };
008FBF5A1628B7E800BC5BE2 /* libusb.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = libusb.h; sourceTree = "<group>"; };
008FBF671628B7E800BC5BE2 /* libusbi.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = libusbi.h; sourceTree = "<group>"; };
008FBF6C1628B7E800BC5BE2 /* darwin_usb.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = darwin_usb.c; sourceTree = "<group>"; };
008FBF6D1628B7E800BC5BE2 /* darwin_usb.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = darwin_usb.h; sourceTree = "<group>"; };
008FBF711628B7E800BC5BE2 /* poll_posix.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = poll_posix.h; sourceTree = "<group>"; };
008FBF741628B7E800BC5BE2 /* threads_posix.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = threads_posix.c; sourceTree = "<group>"; };
008FBF751628B7E800BC5BE2 /* threads_posix.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = threads_posix.h; sourceTree = "<group>"; };
008FBF7A1628B7E800BC5BE2 /* sync.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = sync.c; sourceTree = "<group>"; };
008FBF7B1628B7E800BC5BE2 /* version.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = version.h; sourceTree = "<group>"; };
008FBF7C1628B7E800BC5BE2 /* version_nano.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = version_nano.h; sourceTree = "<group>"; };
008FBFA41628B84200BC5BE2 /* config.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = config.h; sourceTree = "<group>"; };
008FBF541628B7E800BC5BE2 /* core.c */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.c.c; path = core.c; sourceTree = "<group>"; tabWidth = 4; usesTabs = 1; };
008FBF551628B7E800BC5BE2 /* descriptor.c */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.c.c; path = descriptor.c; sourceTree = "<group>"; tabWidth = 4; usesTabs = 1; };
008FBF561628B7E800BC5BE2 /* io.c */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.c.c; path = io.c; sourceTree = "<group>"; tabWidth = 4; usesTabs = 1; };
008FBF5A1628B7E800BC5BE2 /* libusb.h */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.c.h; path = libusb.h; sourceTree = "<group>"; tabWidth = 4; usesTabs = 1; };
008FBF671628B7E800BC5BE2 /* libusbi.h */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.c.h; path = libusbi.h; sourceTree = "<group>"; tabWidth = 4; usesTabs = 1; };
008FBF6C1628B7E800BC5BE2 /* darwin_usb.c */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 2; lastKnownFileType = sourcecode.c.c; path = darwin_usb.c; sourceTree = "<group>"; tabWidth = 2; usesTabs = 0; };
008FBF6D1628B7E800BC5BE2 /* darwin_usb.h */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 2; lastKnownFileType = sourcecode.c.h; path = darwin_usb.h; sourceTree = "<group>"; tabWidth = 2; usesTabs = 0; };
008FBF711628B7E800BC5BE2 /* poll_posix.h */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.c.h; path = poll_posix.h; sourceTree = "<group>"; tabWidth = 4; usesTabs = 1; };
008FBF741628B7E800BC5BE2 /* threads_posix.c */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.c.c; path = threads_posix.c; sourceTree = "<group>"; tabWidth = 4; usesTabs = 1; };
008FBF751628B7E800BC5BE2 /* threads_posix.h */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.c.h; path = threads_posix.h; sourceTree = "<group>"; tabWidth = 4; usesTabs = 1; };
008FBF7A1628B7E800BC5BE2 /* sync.c */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.c.c; path = sync.c; sourceTree = "<group>"; tabWidth = 4; usesTabs = 1; };
008FBF7B1628B7E800BC5BE2 /* version.h */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.c.h; path = version.h; sourceTree = "<group>"; tabWidth = 4; usesTabs = 1; };
008FBF7C1628B7E800BC5BE2 /* version_nano.h */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.c.h; path = version_nano.h; sourceTree = "<group>"; tabWidth = 4; usesTabs = 1; };
008FBFA41628B84200BC5BE2 /* config.h */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.c.h; path = config.h; sourceTree = "<group>"; tabWidth = 4; usesTabs = 1; };
008FBFA61628B87000BC5BE2 /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = System/Library/Frameworks/CoreFoundation.framework; sourceTree = SDKROOT; };
008FBFA81628B88000BC5BE2 /* IOKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = IOKit.framework; path = System/Library/Frameworks/IOKit.framework; sourceTree = SDKROOT; };
008FBFAA1628B8CB00BC5BE2 /* libobjc.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libobjc.dylib; path = usr/lib/libobjc.dylib; sourceTree = SDKROOT; };
008FBFBD1628B9FE00BC5BE2 /* xusb */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = xusb; sourceTree = BUILT_PRODUCTS_DIR; };
008FBFD71628BA0E00BC5BE2 /* dpfp.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = dpfp.c; sourceTree = "<group>"; };
008FBFDB1628BA0E00BC5BE2 /* dpfp_threaded.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = dpfp_threaded.c; sourceTree = "<group>"; };
008FBFDC1628BA0E00BC5BE2 /* ezusb.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = ezusb.c; sourceTree = "<group>"; };
008FBFDD1628BA0E00BC5BE2 /* ezusb.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ezusb.h; sourceTree = "<group>"; };
008FBFE11628BA0E00BC5BE2 /* fxload.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = fxload.c; sourceTree = "<group>"; };
008FBFE71628BA0E00BC5BE2 /* listdevs.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = listdevs.c; sourceTree = "<group>"; };
008FBFED1628BA0E00BC5BE2 /* xusb.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = xusb.c; sourceTree = "<group>"; };
008FBFD71628BA0E00BC5BE2 /* dpfp.c */ = {isa = PBXFileReference; indentWidth = 4; lastKnownFileType = sourcecode.c.c; path = dpfp.c; sourceTree = "<group>"; tabWidth = 4; usesTabs = 1; };
008FBFDB1628BA0E00BC5BE2 /* dpfp_threaded.c */ = {isa = PBXFileReference; indentWidth = 4; lastKnownFileType = sourcecode.c.c; path = dpfp_threaded.c; sourceTree = "<group>"; tabWidth = 4; usesTabs = 1; };
008FBFDC1628BA0E00BC5BE2 /* ezusb.c */ = {isa = PBXFileReference; indentWidth = 4; lastKnownFileType = sourcecode.c.c; path = ezusb.c; sourceTree = "<group>"; tabWidth = 4; usesTabs = 1; };
008FBFDD1628BA0E00BC5BE2 /* ezusb.h */ = {isa = PBXFileReference; indentWidth = 4; lastKnownFileType = sourcecode.c.h; path = ezusb.h; sourceTree = "<group>"; tabWidth = 4; usesTabs = 1; };
008FBFE11628BA0E00BC5BE2 /* fxload.c */ = {isa = PBXFileReference; indentWidth = 4; lastKnownFileType = sourcecode.c.c; path = fxload.c; sourceTree = "<group>"; tabWidth = 4; usesTabs = 1; };
008FBFE71628BA0E00BC5BE2 /* listdevs.c */ = {isa = PBXFileReference; indentWidth = 4; lastKnownFileType = sourcecode.c.c; path = listdevs.c; sourceTree = "<group>"; tabWidth = 4; usesTabs = 1; };
008FBFED1628BA0E00BC5BE2 /* xusb.c */ = {isa = PBXFileReference; indentWidth = 4; lastKnownFileType = sourcecode.c.c; path = xusb.c; sourceTree = "<group>"; tabWidth = 4; usesTabs = 1; };
008FBFF51628BB8B00BC5BE2 /* dpfp */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = dpfp; sourceTree = BUILT_PRODUCTS_DIR; };
008FC0051628BBDB00BC5BE2 /* dpfp_threaded */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = dpfp_threaded; sourceTree = BUILT_PRODUCTS_DIR; };
008FC0151628BC0300BC5BE2 /* fxload */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = fxload; sourceTree = BUILT_PRODUCTS_DIR; };
008FC0261628BC6B00BC5BE2 /* listdevs */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = listdevs; sourceTree = BUILT_PRODUCTS_DIR; };
1438D77817A2ED9F00166101 /* hotplug.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = hotplug.c; sourceTree = "<group>"; };
1438D77917A2ED9F00166101 /* hotplug.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = hotplug.h; sourceTree = "<group>"; };
1438D77C17A2EDCD00166101 /* poll_posix.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = poll_posix.c; sourceTree = "<group>"; };
1438D77E17A2F0EA00166101 /* strerror.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = strerror.c; sourceTree = "<group>"; };
1443EE8416417E63007E0579 /* common.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = common.xcconfig; sourceTree = SOURCE_ROOT; };
1443EE8516417E63007E0579 /* debug.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = debug.xcconfig; sourceTree = SOURCE_ROOT; };
1443EE8616417E63007E0579 /* libusb_debug.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = libusb_debug.xcconfig; sourceTree = SOURCE_ROOT; };
1443EE8716417E63007E0579 /* libusb.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = libusb.xcconfig; sourceTree = SOURCE_ROOT; };
1443EE8816417E63007E0579 /* release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = release.xcconfig; sourceTree = SOURCE_ROOT; };
1443EE8916417EA6007E0579 /* libusb_release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = libusb_release.xcconfig; sourceTree = SOURCE_ROOT; };
1438D77817A2ED9F00166101 /* hotplug.c */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.c.c; path = hotplug.c; sourceTree = "<group>"; tabWidth = 4; usesTabs = 1; };
1438D77917A2ED9F00166101 /* hotplug.h */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.c.h; path = hotplug.h; sourceTree = "<group>"; tabWidth = 4; usesTabs = 1; };
1438D77C17A2EDCD00166101 /* poll_posix.c */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.c.c; path = poll_posix.c; sourceTree = "<group>"; tabWidth = 4; usesTabs = 1; };
1438D77E17A2F0EA00166101 /* strerror.c */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.c.c; path = strerror.c; sourceTree = "<group>"; tabWidth = 4; usesTabs = 1; };
1443EE8416417E63007E0579 /* common.xcconfig */ = {isa = PBXFileReference; indentWidth = 4; lastKnownFileType = text.xcconfig; path = common.xcconfig; sourceTree = SOURCE_ROOT; tabWidth = 4; usesTabs = 1; };
1443EE8516417E63007E0579 /* debug.xcconfig */ = {isa = PBXFileReference; indentWidth = 4; lastKnownFileType = text.xcconfig; path = debug.xcconfig; sourceTree = SOURCE_ROOT; tabWidth = 4; usesTabs = 1; };
1443EE8616417E63007E0579 /* libusb_debug.xcconfig */ = {isa = PBXFileReference; indentWidth = 4; lastKnownFileType = text.xcconfig; path = libusb_debug.xcconfig; sourceTree = SOURCE_ROOT; tabWidth = 4; usesTabs = 1; };
1443EE8716417E63007E0579 /* libusb.xcconfig */ = {isa = PBXFileReference; indentWidth = 4; lastKnownFileType = text.xcconfig; path = libusb.xcconfig; sourceTree = SOURCE_ROOT; tabWidth = 4; usesTabs = 1; };
1443EE8816417E63007E0579 /* release.xcconfig */ = {isa = PBXFileReference; indentWidth = 4; lastKnownFileType = text.xcconfig; path = release.xcconfig; sourceTree = SOURCE_ROOT; tabWidth = 4; usesTabs = 1; };
1443EE8916417EA6007E0579 /* libusb_release.xcconfig */ = {isa = PBXFileReference; indentWidth = 4; lastKnownFileType = text.xcconfig; path = libusb_release.xcconfig; sourceTree = SOURCE_ROOT; tabWidth = 4; usesTabs = 1; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down
17 changes: 7 additions & 10 deletions appveyor_cygwin.bat
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
echo on
SetLocal EnableDelayedExpansion

if [%Configuration%] NEQ [Debug] goto releaseWin32

:releaseWin32
if [%Platform%] NEQ [Win32] exit 0
if [%Configuration%] NEQ [Release] exit 0
C:\cygwin\bin\bash -e -l -c "mkdir build-Win32-cygwin"
C:\cygwin\bin\bash -e -l -c ./autogen.sh
C:\cygwin\bin\bash -e -l -c "cd build-Win32-cygwin"
C:\cygwin\bin\bash -e -l -c "build-Win32-cygwin/../configure"
C:\cygwin\bin\bash -e -l -c "make -j4"
C:\cygwin\bin\bash -e -l -c "make install"
if [%Platform%] NEQ [Win32] exit 0

C:\cygwin\bin\bash -e -l -c "./bootstrap.sh" || exit /B
C:\cygwin\bin\bash -e -l -c "mkdir build-Win32-cygwin" || exit /B
C:\cygwin\bin\bash -e -l -c "cd build-Win32-cygwin && ../configure --enable-examples-build --enable-tests-build" || exit /B
C:\cygwin\bin\bash -e -l -c "cd build-Win32-cygwin && make -j4" || exit /B
C:\cygwin\bin\bash -e -l -c "cd build-Win32-cygwin && make install" || exit /B
Loading