libusb 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/.travis.yml +1 -0
- data/History.md +8 -0
- data/README.md +5 -15
- data/Rakefile +8 -1
- data/ext/extconf.rb +49 -12
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/AUTHORS +12 -1
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/COPYING +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/ChangeLog +18 -2
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/INSTALL +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/Makefile.am +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/Makefile.in +31 -18
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/NEWS +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/PORTING +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/README +5 -3
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/TODO +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/Xcode/common.xcconfig +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/Xcode/config.h +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/Xcode/debug.xcconfig +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/Xcode/libusb.xcconfig +0 -0
- data/ext/libusb-1.0.20/Xcode/libusb.xcodeproj/project.pbxproj +865 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/Xcode/libusb_debug.xcconfig +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/Xcode/libusb_release.xcconfig +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/Xcode/release.xcconfig +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/aclocal.m4 +35 -32
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/android/README +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/android/config.h +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/android/jni/Android.mk +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/android/jni/Application.mk +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/android/jni/examples.mk +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/android/jni/libusb.mk +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/android/jni/tests.mk +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/compile +1 -1
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/config.guess +13 -160
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/config.h.in +6 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/config.sub +26 -12
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/configure +244 -20
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/configure.ac +27 -4
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/depcomp +1 -1
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/doc/Makefile.am +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/doc/Makefile.in +19 -6
- data/ext/libusb-1.0.20/doc/doxygen.cfg.in +2334 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/examples/Makefile.am +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/examples/Makefile.in +19 -6
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/examples/dpfp.c +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/examples/dpfp_threaded.c +15 -10
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/examples/ezusb.c +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/examples/ezusb.h +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/examples/fxload.c +28 -7
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/examples/getopt/getopt.c +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/examples/getopt/getopt.h +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/examples/getopt/getopt1.c +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/examples/hotplugtest.c +21 -3
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/examples/listdevs.c +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/examples/sam3u_benchmark.c +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/examples/xusb.c +2 -1
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/install-sh +170 -196
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb-1.0.pc.in +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/Makefile.am +15 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/Makefile.in +192 -53
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/core.c +218 -100
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/descriptor.c +3 -1
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/hotplug.c +26 -9
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/hotplug.h +8 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/io.c +432 -290
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/libusb-1.0.def +2 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/libusb-1.0.rc +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/libusb.h +11 -10
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/libusbi.h +106 -29
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/os/darwin_usb.c +27 -67
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/os/darwin_usb.h +3 -7
- data/ext/libusb-1.0.20/libusb/os/haiku/Makefile.am +5 -0
- data/ext/libusb-1.0.20/libusb/os/haiku/Makefile.in +810 -0
- data/ext/libusb-1.0.20/libusb/os/haiku/aclocal.m4 +1193 -0
- data/ext/libusb-1.0.20/libusb/os/haiku/compile +347 -0
- data/ext/libusb-1.0.20/libusb/os/haiku/config.guess +1421 -0
- data/ext/libusb-1.0.20/libusb/os/haiku/config.sub +1807 -0
- data/ext/libusb-1.0.20/libusb/os/haiku/configure +17579 -0
- data/ext/libusb-1.0.20/libusb/os/haiku/configure.ac +8 -0
- data/ext/libusb-1.0.20/libusb/os/haiku/depcomp +791 -0
- data/ext/libusb-1.0.20/libusb/os/haiku/haiku_pollfs.cpp +378 -0
- data/ext/libusb-1.0.20/libusb/os/haiku/haiku_usb.h +112 -0
- data/ext/libusb-1.0.20/libusb/os/haiku/haiku_usb_backend.cpp +550 -0
- data/ext/libusb-1.0.20/libusb/os/haiku/haiku_usb_raw.cpp +255 -0
- data/ext/libusb-1.0.20/libusb/os/haiku/haiku_usb_raw.h +180 -0
- data/ext/libusb-1.0.20/libusb/os/haiku/install-sh +501 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20/libusb/os/haiku}/ltmain.sh +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20/libusb/os/haiku}/m4/libtool.m4 +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20/libusb/os/haiku}/m4/ltoptions.m4 +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20/libusb/os/haiku}/m4/ltsugar.m4 +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20/libusb/os/haiku}/m4/ltversion.m4 +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20/libusb/os/haiku}/m4/lt~obsolete.m4 +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20/libusb/os/haiku}/missing +1 -1
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/os/linux_netlink.c +4 -4
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/os/linux_udev.c +1 -2
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/os/linux_usbfs.c +46 -49
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/os/linux_usbfs.h +1 -1
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/os/netbsd_usb.c +9 -73
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/os/openbsd_usb.c +9 -73
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/os/poll_posix.c +2 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/os/poll_posix.h +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/os/poll_windows.c +3 -1
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/os/poll_windows.h +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/os/threads_posix.c +3 -3
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/os/threads_posix.h +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/os/threads_windows.c +3 -1
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/os/threads_windows.h +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/os/wince_usb.c +87 -250
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/os/wince_usb.h +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/os/windows_common.h +1 -1
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/os/windows_usb.c +267 -181
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/os/windows_usb.h +22 -7
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/strerror.c +5 -2
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/sync.c +2 -1
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/libusb/version.h +1 -1
- data/ext/libusb-1.0.20/libusb/version_nano.h +1 -0
- data/ext/libusb-1.0.20/ltmain.sh +9655 -0
- data/ext/libusb-1.0.20/m4/libtool.m4 +7992 -0
- data/ext/libusb-1.0.20/m4/ltoptions.m4 +384 -0
- data/ext/libusb-1.0.20/m4/ltsugar.m4 +123 -0
- data/ext/libusb-1.0.20/m4/ltversion.m4 +23 -0
- data/ext/libusb-1.0.20/m4/lt~obsolete.m4 +98 -0
- data/ext/libusb-1.0.20/missing +215 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/tests/Makefile.am +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/tests/Makefile.in +19 -6
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/tests/libusb_testlib.h +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/tests/stress.c +0 -0
- data/ext/{libusb-1.0.19 → libusb-1.0.20}/tests/testlib.c +0 -0
- data/lib/libusb.rb +1 -0
- data/lib/libusb/call.rb +1 -0
- data/lib/libusb/context.rb +5 -2
- data/lib/libusb/stdio.rb +25 -0
- data/lib/libusb/version_gem.rb +1 -1
- data/libusb.gemspec +2 -1
- metadata +152 -115
- metadata.gz.sig +0 -0
- data/ext/libusb-1.0.19/Xcode/libusb.xcodeproj/project.pbxproj +0 -1
- data/ext/libusb-1.0.19/doc/doxygen.cfg.in +0 -1288
- data/ext/libusb-1.0.19/libusb/version_nano.h +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a70a49c54714bfac3447b6dea8c1d93e6921985c
|
4
|
+
data.tar.gz: 54d453912040ca5b2c65e1b6aa129ce9b2b559c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a0e00959b7d17f590d8ffc8708f6cf5da93d365efb922a668135047650a8278f77dcb8484066def32af7237dc90a02a24d1d1b9cb280cbb9d21f3d7399f2be4
|
7
|
+
data.tar.gz: d4518a07a200486947377e19a69a4710bc83dae8d088d1ba4fe336f0d917876eb5c4d9560decef13b1aac9f8d6efc961faf58a57f9a1c6f51f0559f9b755e7ac
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/.travis.yml
CHANGED
data/History.md
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
0.5.1 / 2015-09-29
|
2
|
+
------------------
|
3
|
+
* Add ability to force use of the system or builtin libusb-1.0 library.
|
4
|
+
Use: gem install libusb -- --enable-system-libusb / --disable-system-libusb
|
5
|
+
* Update to libusb-1.0.20.
|
6
|
+
* Build Windows binary gems per rake-compiler-dock.
|
7
|
+
* Fix memory leak in Context#pollfds and use libusb_free_pollfds() if available.
|
8
|
+
|
1
9
|
0.5.0 / 2015-01-08
|
2
10
|
------------------
|
3
11
|
* Add support for BOS describtors of libusb-1.0.16
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
<!-- -*- coding: utf-8 -*- -->
|
2
2
|
|
3
|
-
[![Build Status](https://travis-ci.org/larskanis/libusb.
|
3
|
+
[![Build Status](https://travis-ci.org/larskanis/libusb.svg)](https://travis-ci.org/larskanis/libusb)
|
4
4
|
|
5
5
|
Access USB devices from Ruby
|
6
6
|
============================
|
@@ -89,6 +89,7 @@ If none could be found, a bundled libusb version is built and used, instead.
|
|
89
89
|
Latest code can be used in this way:
|
90
90
|
|
91
91
|
$ git clone git://github.com/larskanis/libusb.git
|
92
|
+
$ bundle
|
92
93
|
$ rake install_gem
|
93
94
|
|
94
95
|
Device hotplug support
|
@@ -117,21 +118,10 @@ systems.
|
|
117
118
|
Cross compiling for Windows
|
118
119
|
---------------------------
|
119
120
|
|
120
|
-
Libusb-gem can be
|
121
|
-
|
122
|
-
git repo, cross compiled and included in the generated libusb.gem.
|
121
|
+
Libusb-gem can be cross built for the win32 platform, using the [rake-compiler-dock](https://github.com/larskanis/rake-compiler-dock) .
|
122
|
+
Just run:
|
123
123
|
|
124
|
-
|
125
|
-
|
126
|
-
$ apt-get install mingw32
|
127
|
-
|
128
|
-
On MacOS X, if you have MacPorts installed:
|
129
|
-
|
130
|
-
$ port install i386-mingw32-gcc
|
131
|
-
|
132
|
-
Download and cross compile libusb for win32:
|
133
|
-
|
134
|
-
$ rake cross gem
|
124
|
+
$ rake gem:windows
|
135
125
|
|
136
126
|
If everything works, there should be `libusb-VERSION-x86-mingw32.gem` in the pkg
|
137
127
|
directory.
|
data/Rakefile
CHANGED
@@ -7,25 +7,32 @@ require 'pathname'
|
|
7
7
|
require 'uri'
|
8
8
|
require 'ostruct'
|
9
9
|
require 'rake/clean'
|
10
|
+
require 'rake_compiler_dock'
|
10
11
|
|
11
12
|
task :gem => :build
|
12
13
|
task :compile do
|
13
14
|
sh "ruby ext/extconf.rb"
|
14
15
|
end
|
16
|
+
|
15
17
|
task :test=>:compile do
|
16
18
|
sh "ruby -w -W2 -I. -Ilib -e \"#{Dir["test/test_*.rb"].map{|f| "require '#{f}';"}.join}\" -- -v"
|
17
19
|
end
|
20
|
+
|
18
21
|
travis_tests = %w[test_libusb_capability.rb test_libusb_structs.rb test_libusb_version.rb]
|
19
22
|
task :travis=>:compile do
|
20
23
|
sh "ruby -w -W2 -I. -Ilib -e \"#{travis_tests.map{|f| "require 'test/#{f}';"}.join}\" -- -v"
|
21
24
|
end
|
22
25
|
task :default => :test
|
23
26
|
|
27
|
+
task 'gem:windows' do
|
28
|
+
RakeCompilerDock.sh "bundle && rake cross gem"
|
29
|
+
end
|
30
|
+
|
24
31
|
COMPILE_HOME = Pathname( "./tmp" ).expand_path
|
25
32
|
STATIC_SOURCESDIR = COMPILE_HOME + 'sources'
|
26
33
|
|
27
34
|
# Fetch tarball from sourceforge
|
28
|
-
LIBUSB_VERSION = ENV['LIBUSB_VERSION'] || '1.0.
|
35
|
+
LIBUSB_VERSION = ENV['LIBUSB_VERSION'] || '1.0.20'
|
29
36
|
LIBUSB_SOURCE_URI = URI( "http://downloads.sourceforge.net/project/libusb/libusb-1.0/libusb-#{LIBUSB_VERSION}/libusb-#{LIBUSB_VERSION}.tar.bz2" )
|
30
37
|
LIBUSB_TARBALL = STATIC_SOURCESDIR + File.basename( LIBUSB_SOURCE_URI.path )
|
31
38
|
|
data/ext/extconf.rb
CHANGED
@@ -7,27 +7,58 @@ if RUBY_PLATFORM =~ /java/
|
|
7
7
|
# JRuby's C extension support is disabled by default, so we can not easily test
|
8
8
|
# for udev availability and therefore suppose to have none.
|
9
9
|
have_udev = false
|
10
|
+
|
11
|
+
# Implement very simple verions of mkmf-helpers used below
|
12
|
+
def enable_config(name, default=nil)
|
13
|
+
if ARGV.include?("--enable-#{name}")
|
14
|
+
true
|
15
|
+
elsif ARGV.include?("--disable-#{name}")
|
16
|
+
false
|
17
|
+
else
|
18
|
+
default
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
def arg_config(name)
|
23
|
+
ARGV.include?(name)
|
24
|
+
end
|
10
25
|
else
|
11
26
|
require 'mkmf'
|
12
27
|
have_udev = true
|
13
28
|
end
|
14
29
|
|
30
|
+
def do_help
|
31
|
+
print <<HELP
|
32
|
+
usage: ruby #{$0} [options]
|
33
|
+
|
34
|
+
--enable-system-libusb / --disable-system-libusb
|
35
|
+
Force use of system or builtin libusb library.
|
36
|
+
Default is to prefer system libraries and fallback to builtin.
|
37
|
+
HELP
|
38
|
+
exit! 0
|
39
|
+
end
|
40
|
+
|
41
|
+
do_help if arg_config('--help')
|
15
42
|
|
16
|
-
|
17
|
-
|
18
|
-
|
43
|
+
def libusb_usable?
|
44
|
+
begin
|
45
|
+
Module.new do
|
46
|
+
extend FFI::Library
|
19
47
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
48
|
+
root_path = File.expand_path("../..", __FILE__)
|
49
|
+
ext = FFI::Platform::LIBSUFFIX
|
50
|
+
prefix = FFI::Platform::LIBPREFIX.empty? ? 'lib' : FFI::Platform::LIBPREFIX
|
51
|
+
bundled_dll = File.join(root_path, "lib/#{prefix}usb-1.0.#{ext}")
|
52
|
+
bundled_dll_cygwin = File.join(root_path, "bin/#{prefix}usb-1.0.#{ext}")
|
53
|
+
ffi_lib(["#{prefix}usb-1.0", bundled_dll, bundled_dll_cygwin])
|
54
|
+
end
|
55
|
+
true
|
56
|
+
rescue LoadError
|
57
|
+
false
|
26
58
|
end
|
27
|
-
|
28
|
-
# Unable to load libusb library on this system,
|
29
|
-
# so we build our bundled version:
|
59
|
+
end
|
30
60
|
|
61
|
+
def build_bundled_libusb(have_udev)
|
31
62
|
libusb_dir = Dir[File.expand_path('../../ext/libusb-*', __FILE__)].first
|
32
63
|
root_dir = File.expand_path('../..', __FILE__)
|
33
64
|
raise "could not find embedded libusb sources" unless libusb_dir
|
@@ -47,6 +78,12 @@ rescue LoadError
|
|
47
78
|
Dir.chdir old_dir
|
48
79
|
end
|
49
80
|
|
81
|
+
unless enable_config('system-libusb', libusb_usable?)
|
82
|
+
# Unable to load libusb library on this system,
|
83
|
+
# so we build our bundled version:
|
84
|
+
build_bundled_libusb(have_udev)
|
85
|
+
end
|
86
|
+
|
50
87
|
File.open("Makefile", "w") do |mf|
|
51
88
|
mf.puts "# Dummy makefile since libusb-1.0 is usable on this system"
|
52
89
|
mf.puts "all install::\n"
|
@@ -8,20 +8,22 @@ 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-2015 Chris Dickens <christopher.a.dickens@gmail.com>
|
11
12
|
|
12
13
|
Other contributors:
|
14
|
+
Akshay Jaggi
|
13
15
|
Alan Ott
|
14
16
|
Alan Stern
|
15
17
|
Alex Vatchenko
|
16
18
|
Andrew Fernandes
|
17
19
|
Anthony Clay
|
20
|
+
Antonio Ospite
|
18
21
|
Artem Egorkine
|
19
22
|
Aurelien Jarno
|
20
23
|
Bastien Nocera
|
21
24
|
Bei Zhang
|
22
25
|
Benjamin Dobell
|
23
26
|
Carl Karsten
|
24
|
-
Chris Dickens
|
25
27
|
Colin Walters
|
26
28
|
Dave Camarillo
|
27
29
|
David Engraf
|
@@ -32,6 +34,7 @@ Felipe Balbi
|
|
32
34
|
Florian Albrechtskirchinger
|
33
35
|
Francesco Montorsi
|
34
36
|
Francisco Facioni
|
37
|
+
Gaurav Gupta
|
35
38
|
Graeme Gill
|
36
39
|
Gustavo Zacarias
|
37
40
|
Hans Ulrich Niedermann
|
@@ -48,7 +51,9 @@ Kuangye Guo
|
|
48
51
|
Lars Kanis
|
49
52
|
Lars Wirzenius
|
50
53
|
Luca Longinotti
|
54
|
+
Marcus Meissner
|
51
55
|
Markus Heidelberg
|
56
|
+
Martin Ettl
|
52
57
|
Martin Koegler
|
53
58
|
Matthias Bolte
|
54
59
|
Mike Frysinger
|
@@ -64,15 +69,21 @@ Rob Walker
|
|
64
69
|
Sean McBride
|
65
70
|
Sebastian Pipping
|
66
71
|
Simon Haggett
|
72
|
+
Simon Newton
|
67
73
|
Thomas Röfer
|
74
|
+
Tim Hutt
|
68
75
|
Tim Roberts
|
76
|
+
Tobias Klauser
|
69
77
|
Toby Peterson
|
78
|
+
Tormod Volden
|
70
79
|
Trygve Laugstøl
|
71
80
|
Uri Lublin
|
72
81
|
Vasily Khoruzhick
|
73
82
|
Vegard Storheil Eriksen
|
83
|
+
Venkatesh Shukla
|
74
84
|
Vitali Lovich
|
75
85
|
Xiaofan Chen
|
76
86
|
Zoltán Kovács
|
77
87
|
Роман Донченко
|
88
|
+
parafin
|
78
89
|
xantares
|
File without changes
|
@@ -1,14 +1,30 @@
|
|
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
|
+
2015-09-13: v1.0.20
|
5
|
+
* Add Haiku support
|
6
|
+
* Fix multiple memory and resource leaks (#16, #52, #76, #81)
|
7
|
+
* Fix possible deadlock when executing transfer callback
|
8
|
+
* New libusb_free_pollfds() API
|
9
|
+
* Darwin: Fix devices not being detected on OS X 10.8 (#48)
|
10
|
+
* Linux: Allow larger isochronous transfer submission (#23)
|
11
|
+
* Windows: Fix broken builds Cygwin/MinGW builds and compiler warnings
|
12
|
+
* Windows: Fix broken bus number lookup
|
13
|
+
* Windows: Improve submission of control requests for composite devices
|
14
|
+
* Examples: Add two-stage load support to fxload (#12)
|
15
|
+
* Correctly report cancellations due to timeouts
|
16
|
+
* Improve efficiency of event handling
|
17
|
+
* Improve speed of transfer submission in multi-threaded environments
|
18
|
+
* Various other bug fixes and improvements
|
19
|
+
The (#xx) numbers are libusb issue numbers, see ie:
|
20
|
+
https://github.com/libusb/libusb/issues/16
|
21
|
+
|
4
22
|
2014-05-30: v1.0.19
|
5
23
|
* Add support for USB bulk streams on Linux and Mac OS X (#11)
|
6
24
|
* Windows: Add AMD and Intel USB-3.0 root hub support
|
7
25
|
* Windows: Fix USB 3.0 speed detection on Windows 8 or later (#10)
|
8
26
|
* Added Russian translation for libusb_strerror strings
|
9
27
|
* 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
28
|
|
13
29
|
2014-01-25: v1.0.18
|
14
30
|
* Fix multiple memory leaks
|
File without changes
|
File without changes
|
@@ -1,7 +1,7 @@
|
|
1
|
-
# Makefile.in generated by automake 1.
|
1
|
+
# Makefile.in generated by automake 1.15 from Makefile.am.
|
2
2
|
# @configure_input@
|
3
3
|
|
4
|
-
# Copyright (C) 1994-
|
4
|
+
# Copyright (C) 1994-2014 Free Software Foundation, Inc.
|
5
5
|
|
6
6
|
# This Makefile.in is free software; the Free Software Foundation
|
7
7
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -15,7 +15,17 @@
|
|
15
15
|
@SET_MAKE@
|
16
16
|
|
17
17
|
VPATH = @srcdir@
|
18
|
-
am__is_gnu_make =
|
18
|
+
am__is_gnu_make = { \
|
19
|
+
if test -z '$(MAKELEVEL)'; then \
|
20
|
+
false; \
|
21
|
+
elif test -n '$(MAKE_HOST)'; then \
|
22
|
+
true; \
|
23
|
+
elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
|
24
|
+
true; \
|
25
|
+
else \
|
26
|
+
false; \
|
27
|
+
fi; \
|
28
|
+
}
|
19
29
|
am__make_running_with_option = \
|
20
30
|
case $${target_option-} in \
|
21
31
|
?) ;; \
|
@@ -81,12 +91,6 @@ host_triplet = @host@
|
|
81
91
|
@BUILD_EXAMPLES_TRUE@am__append_1 = examples
|
82
92
|
@BUILD_TESTS_TRUE@am__append_2 = tests
|
83
93
|
subdir = .
|
84
|
-
DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \
|
85
|
-
$(srcdir)/Makefile.in $(srcdir)/Makefile.am \
|
86
|
-
$(top_srcdir)/configure $(am__configure_deps) \
|
87
|
-
$(srcdir)/config.h.in $(srcdir)/libusb-1.0.pc.in COPYING TODO \
|
88
|
-
compile config.guess config.sub depcomp install-sh missing \
|
89
|
-
ltmain.sh
|
90
94
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
91
95
|
am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
|
92
96
|
$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
|
@@ -94,6 +98,8 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
|
|
94
98
|
$(top_srcdir)/libusb/version.h $(top_srcdir)/configure.ac
|
95
99
|
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
96
100
|
$(ACLOCAL_M4)
|
101
|
+
DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
|
102
|
+
$(am__configure_deps) $(am__DIST_COMMON)
|
97
103
|
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
98
104
|
configure.lineno config.status.lineno
|
99
105
|
mkinstalldirs = $(install_sh) -d
|
@@ -186,6 +192,10 @@ ETAGS = etags
|
|
186
192
|
CTAGS = ctags
|
187
193
|
CSCOPE = cscope
|
188
194
|
DIST_SUBDIRS = libusb doc examples tests
|
195
|
+
am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
|
196
|
+
$(srcdir)/libusb-1.0.pc.in AUTHORS COPYING ChangeLog INSTALL \
|
197
|
+
NEWS README TODO compile config.guess config.sub depcomp \
|
198
|
+
install-sh ltmain.sh missing
|
189
199
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
190
200
|
distdir = $(PACKAGE)-$(VERSION)
|
191
201
|
top_distdir = $(distdir)
|
@@ -278,6 +288,7 @@ NMEDIT = @NMEDIT@
|
|
278
288
|
OBJDUMP = @OBJDUMP@
|
279
289
|
OBJEXT = @OBJEXT@
|
280
290
|
OS_DARWIN = @OS_DARWIN@
|
291
|
+
OS_HAIKU = @OS_HAIKU@
|
281
292
|
OS_LINUX = @OS_LINUX@
|
282
293
|
OS_NETBSD = @OS_NETBSD@
|
283
294
|
OS_OPENBSD = @OS_OPENBSD@
|
@@ -347,6 +358,7 @@ psdir = @psdir@
|
|
347
358
|
sbindir = @sbindir@
|
348
359
|
sharedstatedir = @sharedstatedir@
|
349
360
|
srcdir = @srcdir@
|
361
|
+
subdirs = @subdirs@
|
350
362
|
sysconfdir = @sysconfdir@
|
351
363
|
target_alias = @target_alias@
|
352
364
|
top_build_prefix = @top_build_prefix@
|
@@ -382,7 +394,6 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi
|
|
382
394
|
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
|
383
395
|
$(am__cd) $(top_srcdir) && \
|
384
396
|
$(AUTOMAKE) --gnu Makefile
|
385
|
-
.PRECIOUS: Makefile
|
386
397
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
387
398
|
@case '$?' in \
|
388
399
|
*config.status*) \
|
@@ -635,15 +646,15 @@ dist-xz: distdir
|
|
635
646
|
$(am__post_remove_distdir)
|
636
647
|
|
637
648
|
dist-tarZ: distdir
|
638
|
-
@echo WARNING: "Support for
|
639
|
-
|
649
|
+
@echo WARNING: "Support for distribution archives compressed with" \
|
650
|
+
"legacy program 'compress' is deprecated." >&2
|
640
651
|
@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
|
641
652
|
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
|
642
653
|
$(am__post_remove_distdir)
|
643
654
|
|
644
655
|
dist-shar: distdir
|
645
|
-
@echo WARNING: "Support for distribution archives
|
646
|
-
|
656
|
+
@echo WARNING: "Support for shar distribution archives is" \
|
657
|
+
"deprecated." >&2
|
647
658
|
@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
|
648
659
|
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
|
649
660
|
$(am__post_remove_distdir)
|
@@ -679,17 +690,17 @@ distcheck: dist
|
|
679
690
|
esac
|
680
691
|
chmod -R a-w $(distdir)
|
681
692
|
chmod u+w $(distdir)
|
682
|
-
mkdir $(distdir)/_build $(distdir)/_inst
|
693
|
+
mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
|
683
694
|
chmod a-w $(distdir)
|
684
695
|
test -d $(distdir)/_build || exit 0; \
|
685
696
|
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
|
686
697
|
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
|
687
698
|
&& am__cwd=`pwd` \
|
688
|
-
&& $(am__cd) $(distdir)/_build \
|
689
|
-
&&
|
699
|
+
&& $(am__cd) $(distdir)/_build/sub \
|
700
|
+
&& ../../configure \
|
690
701
|
$(AM_DISTCHECK_CONFIGURE_FLAGS) \
|
691
702
|
$(DISTCHECK_CONFIGURE_FLAGS) \
|
692
|
-
--srcdir
|
703
|
+
--srcdir=../.. --prefix="$$dc_install_base" \
|
693
704
|
&& $(MAKE) $(AM_MAKEFLAGS) \
|
694
705
|
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
695
706
|
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
@@ -870,6 +881,8 @@ uninstall-am: uninstall-pkgconfigDATA
|
|
870
881
|
mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
|
871
882
|
uninstall-am uninstall-pkgconfigDATA
|
872
883
|
|
884
|
+
.PRECIOUS: Makefile
|
885
|
+
|
873
886
|
|
874
887
|
.PHONY: dist-up
|
875
888
|
dist-up: dist
|
File without changes
|
File without changes
|
@@ -2,9 +2,10 @@ libusb
|
|
2
2
|
======
|
3
3
|
|
4
4
|
libusb is a library for USB device access from Linux, Mac OS X,
|
5
|
-
Windows
|
6
|
-
It is written in C and licensed under the GNU
|
7
|
-
License version 2.1 or, at your option, any later
|
5
|
+
Windows, OpenBSD/NetBSD and Haiku userspace.
|
6
|
+
It is written in C (Haiku backend in C++) and licensed under the GNU
|
7
|
+
Lesser General Public License version 2.1 or, at your option, any later
|
8
|
+
version (see COPYING).
|
8
9
|
|
9
10
|
libusb is abstracted internally in such a way that it can hopefully
|
10
11
|
be ported to other operating systems. Please see the PORTING file
|
@@ -24,4 +25,5 @@ http://mailing-list.libusb.info
|
|
24
25
|
- Xiaofan Chen <xiaofanc@gmail.com>
|
25
26
|
- Ludovic Rousseau <ludovic.rousseau@gmail.com>
|
26
27
|
- Nathan Hjelm <hjelmn@users.sourceforge.net>
|
28
|
+
- Chris Dickens <christopher.a.dickens@gmail.com>
|
27
29
|
(Please use the mailing list rather than mailing developers directly)
|