Pete Batard
3e60c76fa3
[internal] bumped internal version
pbr348
2012-01-08 19:56:11 +00:00
Pete Batard
214507c5d9
[revert] revert Chinese NLS libtool patch
...
* see r265 = b7c99f781f
* more than 18 months have elapsed since the fix has
been integrated in libtool => most people should have
upgraded by now
2012-01-08 19:52:55 +00:00
Michael Plante
7bc424c1a9
[msvc] update MSVC6 project files for Unicode
...
* also removes unneeded library dependencies
2012-01-08 19:44:23 +00:00
Pete Batard
c7224c9c90
[misc] align with master
...
* up to "Core: Fix #122 warning: no previous prototype for ‘usbi_log_v’"
a8e2e7cab2
2012-01-08 01:52:40 +00:00
Pete Batard
e182dbad23
[USB 3.0] added SuperSpeed speed ID for USB_NODE_CONNECTION_INFORMATION_EX
...
* tests condicted using a Renesas PCIE USB 3.0 controller and driver
and a mass storage USB 3.0 confirm that USB_NODE_CONNECTION_INFORMATION_EX
uses (undocumented) value 3 for SuperSpeed
2012-01-07 23:30:23 +00:00
Pete Batard
6f2d9378a0
[revert] "[core] is_device_interface_accessible() prototype"
...
This reverts commit 200fe7158a .
2012-01-07 23:28:30 +00:00
Pete Batard
4cc72d0cfb
[core] amended previous commit and added libusb_strerror support
...
* typo fixes and race condition warning suggested by Alan Stern
2011-11-18 17:19:16 +00:00
Pete Batard
200fe7158a
[core] is_device_interface_accessible() prototype
...
* also introduces 3 new driver related error codes
2011-11-17 17:49:55 +00:00
Pete Batard
554274a9c5
[xusb] fix additional MSVC6 errors and warnings
...
* warning C4761: integral size mismatch in argument;
2011-11-15 01:26:31 +00:00
Pete Batard
67826b8f80
[msvc] fix additional MSVC6 errors and warnings
...
* error C2065: 'LONG_PTR' : undeclared identifier; in poll_windows
* warning C4761: integral size mismatch in argument; in libusb.h
* issue reported by Satz Klauer
2011-11-15 01:11:12 +00:00
Pete Batard
65c4ed8f26
[internal] bumped internal version
...
* also added -j2 to _bm.sh
pbr347
2011-11-13 23:16:33 +00:00
Pete Batard
075916a350
[msvc] fix for MSVC6 preprocessor not accepting blank parameters
...
* unlike later iterations of Visual Studio, MSVC6 does not accept
blank parameters on macro calls [eg. CALL(a, ,b)]
* blank params were used with the DLL_DECLARE and DLL_LOAD macros
* issue reported by Satz Klauer
2011-11-13 23:10:15 +00:00
Pete Batard
b19b25514b
[wdk] ddk_build improvements
...
* easier to spot comments
* simplify errors through the use of a %PWD%
* used a BUILD_CMD variable with updated options
2011-11-07 17:45:55 +00:00
Austyn Krutsinger
1753c93467
[xusb] PS3 Controller support improvements
...
* display bluetooth addresses of controller and master
2011-11-06 16:57:24 +00:00
Pete Batard
40e10e2448
[internal] bumped internal version
pbr346
2011-11-02 13:53:19 +00:00
Pete Batard
46b86093e5
[xusb] fix Clang warning about unused variable
2011-11-02 13:48:51 +00:00
Pete Batard
cf3b3dcdb7
[windows] fix Clang warnings about unused assignations
2011-11-02 13:47:35 +00:00
Pete Batard
3a1ff351bf
[xusb] fix usleep() not available in Clang
2011-11-02 13:15:27 +00:00
Pete Batard
c4ca16e6cc
[xusb] address warnings
...
* uint32_t* being caset to int*
* simplify allocation using calloc
* fix VS2010 Intellisense warnings
2011-11-02 12:30:31 +00:00
Pete Batard
7d33b9cca8
[windows] memory allocation improvements
...
* add missing warning on alloc failure
* prefer calloc() to malloc()
* add casts to address VS2010 IntelliSense warnings
2011-11-02 12:22:01 +00:00
Pete Batard
f63e7bbf6b
[xusb] added recipient for WCID device control request
...
* note that WinUSB prevents proper use of LIBUSB_RECIPIENT_INTERFACE
for Extended Properties: http://www.lvr.com/forum/index.php?topic=331
2011-11-02 11:25:42 +00:00
Pete Batard
54244d1e39
[xusb] remove unused variable
2011-10-31 01:46:56 +00:00
Pete Batard
52a0e1857c
[xusb] fix wrong IF index value for OS Feature Descriptor retrieval
2011-09-23 21:28:21 +01:00
Pete Batard
2d786399ab
[internal] bumped internal version
pbr345
2011-09-23 14:14:22 +01:00
Pete Batard
63dc2ef327
[darwin] fix "non-POSIX variable name" from automake with X-Code
...
* introduced by the windres step improvement:
libusb/Makefile.am:28: pkg_v_rc_$(V: non-POSIX variable name
libusb/Makefile.am:29: pkg_v_rc_$(AM_DEFAULT_VERBOSITY: non-POSIX variable name
2011-09-23 13:57:39 +01:00
Peter Stuge
fad9572c6b
[autotools] improves "cleaner windres step"
...
* reverts 3209815810
2011-09-23 13:18:03 +01:00
Peter Stuge
46c8847c0c
[logging] improve "remove warnings when logging is disabled for MinGW/cygwin"
...
* reverts 5292589344
2011-09-23 13:15:47 +01:00
Nathan Hjelm
6ea372d8e5
[darwin] add topology-analysis code to OS X backend
2011-09-23 13:12:39 +01:00
Dave Camarillo
c40394342a
[enum] fix bad realloc trigger for the unref_list array
...
* indexes were outgrowing the array before realloc,
resulting in out of bound access and crash.
2011-09-23 13:10:22 +01:00
Pete Batard
15f4edbfd0
[xusb] added readout of MS WinUSB Feature Descriptors
...
* These descriptors are used for automated WinUSB driver
installation on Windows 8
* http://msdn.microsoft.com/en-us/library/windows/hardware/hh450799.aspx
2011-09-22 18:02:53 +01:00
Pete Batard
fdd1b02625
[internal] bumped internal version
pbr344
2011-09-19 21:22:12 +01:00
Pete Batard
9651e53db7
[USB 3.0] added native Windows 8 support
2011-09-19 21:19:20 +01:00
Pete Batard
32c45cbdf2
[misc] align with 1.0.9-rc1
2011-09-19 21:17:46 +01:00
Pete Batard
3f0578677e
[WDK] fixes case sensitivity test when copying the DLL
2011-09-19 13:10:23 +01:00
Pete Batard
5dc579ab36
[internal] bumped internal version
pbr343
2011-09-12 14:28:13 +01:00
Pete Batard
5292589344
[logging] remove warnings when logging is disabled for MinGW/cygwin
...
* also trailing whitespaces and formatting
2011-09-12 14:27:29 +01:00
Pete Batard
5f950c84fe
[MinGW] fix that annoying timercmp warning in io.c
...
* MinGW was issuing a "suggest parenthesis" warning with timercmp
2011-09-12 12:48:22 +01:00
Pete Batard
3209815810
[autotools] cleaner windres step
2011-09-12 12:46:26 +01:00
Pete Batard
0a752d777d
[autotools] force Windows version to Windows 2000 or later
2011-09-12 11:51:11 +01:00
Pete Batard
302aee7d0c
[internal] bumped internal version
pbr342
2011-09-06 12:30:22 +01:00
Pete Batard
3fbf9a9b69
[samples] return NULL in dpfp_threaded poll_thread_main to avoid Cygwin warning
2011-09-06 12:29:55 +01:00
Vitali Lovich
a6479690a3
[contrib] add non-officially supported CMake support
2011-09-06 12:18:58 +01:00
Peter Stuge
4504b66235
add missing LIBUSB_CLASS codes
2011-09-06 12:15:25 +01:00
Pete Batard
50ba04d3ec
get_device_speed fixes and addons
...
* fixed typos and missing breaks
* device_speed in .def
* device_speed in xusb
2011-09-06 12:00:42 +01:00
Nathan Hjelm
48c695606e
Darwin: Optimize device iteration further using saved device location
2011-09-06 11:11:13 +01:00
Trygve Laugstøl
037234078b
Darwin: Provide libusb_get_device_speed() data
2011-09-06 11:09:35 +01:00
Nathan Hjelm
bf12efb464
Darwin: Improve device enumeration performance and save device location
...
[stuge: Formatting fixes and split out libusb_get_device_speed() change]
2011-09-06 11:09:23 +01:00
Pete Batard
4fe08970e2
Windows: Provide libusb_get_device_speed() data
...
* use (currently superspeed unaware) USB_NODE_CONNECTION_INFORMATION_EX
[stuge: Explicitly convert OS device speeds to libusb device speeds]
2011-09-06 11:02:40 +01:00
Hans de Goede
605c730422
Linux: Provide libusb_get_device_speed() data from sysfs
...
Signed-off-by: Hans de Goede <[email protected] >
2011-09-06 10:53:53 +01:00
Hans de Goede
c384ec68aa
Add new API function libusb_get_device_speed()
...
Reworked version of my earlier patch, largely modelled after (if not
copy and pasted from) Trygve Laugstøl's <[email protected] > similar
commit 5a6541e0d80fb1f21e2b960bc2337a612f9d74fb in
git://git.libusb.org/libusb-trygvis.git
http://git.libusb.org/libusb-trygvis.git
http://git.libusb.org/?p=libusb-trygvis.git;a=commitdiff;h=5a6541e0d
This patch does not add any OS specific code. The supporting code in
each backend follows in separate patches.
Signed-off-By: Hans de Goede <[email protected] >
2011-09-06 10:53:23 +01:00