Pete Batard
6ffaea6307
[internal] modified _bump script
pbr337
2011-05-09 21:43:10 +01:00
Pete Batard
fb7c03b1c7
Move library release version number from configure.ac to libusb/version.h
2011-05-09 21:39:14 +01:00
Pete Batard
d2858ef6f6
[mingw] fixed Unicode support (reported by sirreal)
2011-04-15 02:08:10 +01:00
Pete Batard
58aae15046
[internal] switched to Visual Studio 2010
2011-03-16 02:01:04 +00:00
Pete Batard
098b40d792
[integration] more merging for integration with -stuge
pbr336
2011-03-08 17:52:17 +00:00
Pete Batard
6d4f27e0fc
[xusb] fixed mass storage test data not being freed
2011-03-08 14:24:27 +00:00
Pete Batard
5a0c8efc94
[enum] fixed short device initialization
...
* some devices (eg. hubs) could fail to be properly setup
because of short initialization added in pbr333 (memleak issue)
* use device_address instead of bus_number for check
2011-03-08 14:23:53 +00:00
Pete Batard
5c2824c464
[windows_backends] removed dummy open/close for HUBs
2011-03-08 13:48:58 +00:00
Pete Batard
7ad14d9b6c
[internal] bumped internal version
pbr335
2011-03-07 19:03:36 +00:00
Pete Batard
00d3fa801e
[integration] merged latest from -stuge branch
...
* also switched to using POLL_NFDS_TYPE in windows_usb.c
2011-03-07 19:02:27 +00:00
Austyn Krutsinger
c11ede2913
[xusb] added Sony PS3 SixAxis test
...
* also removed dependency on libusb's config.h
2011-03-07 17:27:41 +00:00
Chris Johns
53f0488ad7
[autogen] fixed >> instead of > typo in create_def
2011-03-07 16:07:11 +00:00
Pete Batard
6f055e472c
bumped internal version
pbr334
2011-03-03 23:41:52 +00:00
Pete Batard
ae34d85e93
[mingw32] fixed non C99 compliant OVERLAPPED in winbase.h
...
* issue and workaround similar to
fb33bf2691 for cygwin
* issue reported by Dave Camarillo
2011-03-03 16:55:51 +00:00
Pete Batard
ddaecc3e8a
[winusb] removed unused variable
pbr333
2011-03-02 00:50:49 +00:00
Pete Batard
348bd2bb5f
[topology] removed debug message
2011-03-02 00:37:18 +00:00
Pete Batard
5c4a76dc9b
[xusb] removed HID support
2011-03-02 00:26:17 +00:00
Pete Batard
d91e712036
[windows-backends] remove HID support
2011-03-02 00:22:08 +00:00
Pete Batard
40579b271e
[xusb] minor improvements
2011-03-02 00:07:28 +00:00
Pete Batard
615a830efb
[enum] fixed memory leaks when a device is already open
...
* enum could reinit data from an open device
* also avoid freeing data from any existing device
2011-03-02 00:06:49 +00:00
Pete Batard
ac1dcba5e2
[INTERNAL - NOT FOP RELEASE] libusb.h -> include/libusb-1.0
...
* suggested by Chris Johns
* also copy the .def from MinGW to ensure regenerated one is used
2011-02-25 12:49:19 +00:00
Pete Batard
aefe4c8623
fixed that hare-brained zero prefixing on .def creation
...
* issue reported by Chris Johns
pbr332
2011-02-25 12:10:21 +00:00
Chris Johns
6356d874db
fix out of source build for DLL generation
pbr331
2011-02-24 19:51:16 +00:00
Pete Batard
fdd50d7556
[INTERNAL] remove CRs in repo, part 5
2011-02-24 18:24:40 +00:00
Pete Batard
fd955d888e
[INTERNAL] remove CRs in repo, part 4
2011-02-24 18:23:22 +00:00
Pete Batard
0f7c89f680
[INTERNAL] remove CRs in repo, part 3
2011-02-24 18:12:21 +00:00
Pete Batard
6e971690e8
[INTERNAL] remove CRs in repo, part 2
2011-02-24 18:11:02 +00:00
Pete Batard
d7c22a6f62
[INTERNAL] remove CRs in repo, part 1
2011-02-24 18:05:13 +00:00
Pete Batard
9dc299236c
fixed libusb_get_port_path using zombie parents
...
* add a call to libusb_get_device_list to ensure the parents exist
* modified API as a context is required for get_device_list
pbr330
2011-02-22 15:45:51 +00:00
Pete Batard
315216385f
bumped internal version
pbr329
2011-02-21 18:42:05 +00:00
Pete Batard
d47ed6ce6c
different approach to topology retrieval
...
* uses get_port, get_port_path, get_parent as suggested by Alan Stern
* adds parent_dev and port_number to the libusb device struct
* uses calloc on device struct, to handle currently missing backend implementations
* xusb updated to use new calls
2011-02-21 18:41:38 +00:00
Pete Batard
99e9ca3985
added sorting of .def file
...
* suggested by Michael Plante
2011-02-21 16:05:43 +00:00
Pete Batard
c537f6f9d9
prevent set_configuration request from being sent using WinUSB
...
* multiple WinUSB set configuration requests can stall a device and
WinUSB does not support setting of alt configuration in the first place
* issue reported and investigated by Xiaofan Chen
2011-02-21 15:35:50 +00:00
Pete Batard
b0a72dd7a7
use eol= in .gitattributes (requires git >= 1.7.3)
...
* eol=lf does not work with autocrlf=true on Windows for older git
2011-02-21 13:16:29 +00:00
Pete Batard
39f2e49d54
minor code improvements to xusb
2011-02-03 17:51:44 +00:00
Pete Batard
85b004e9f0
bumped internal version
pbr328
2011-01-31 22:46:21 +00:00
Pete Batard
beeb853a0d
merged latest official changes
...
* up to 295c9d12e2
2011-01-30 01:24:59 +00:00
Pete Batard
43aecbb8f0
fixed windows_init() return value on subsequent calls
...
* windows_init was set to return LIBUSB_ERROR_OTHER always
if first run initialization was not executed
* issue reported by Konrad Rosenbaum
2011-01-20 16:21:32 +00:00
Pete Batard
1363b3af32
added topology information retrieval to xusb
pbr327
2011-01-20 12:56:45 +00:00
Pete Batard
453b8bd631
updated .def file for libusb_get_device_topology
2011-01-20 12:56:31 +00:00
Pete Batard
c34d9497f3
added get_device_topology optional API call
...
* Windows only, unsupported on other platforms
2011-01-20 12:45:26 +00:00
Pete Batard
4f7cc4982a
[INTERNAL - TESTING] removed test file for line ending conversion
pbr326
2011-01-18 16:27:45 +00:00
Pete Batard
8494522bfe
xusb: better hex dump, with address and printable ASCII
2011-01-18 15:59:49 +00:00
Pete Batard
3a1a1b19b0
fixed VS2010 IntelliSense warnings
2011-01-18 12:42:51 +00:00
Pete Batard
fb33bf2691
cygwin: switched back to -std=gnu99
...
* cygwin recently changed their definition of OVERLAPPED
in winbase.h to using anonymous structs/unions
* anonymous struct unions are a GNU extension and ignored
in standard C
* this resulted in the OVERLAPPED hEvent handle being
moved to an improper location, and invalid handle errors
2011-01-18 11:54:10 +00:00
Pete Batard
b8f2b83a39
removed the enforcing of WINAPI for cygwin
...
* a.k.a. "I'm not convinced."
2011-01-17 17:03:34 +00:00
Pete Batard
0816743fe7
bumped internal version
pbr325
2010-12-10 15:24:13 +00:00
Pete Batard
8f49bcfd45
[INTERNAL - TESTING] test file for line ending conversion
2010-12-09 10:55:03 +00:00
Pete Batard
140189d302
[INTERNAL - TESTING] added -crlf option for .test files
2010-12-09 10:50:24 +00:00
Pete Batard
7093b1f585
fixed assertion failure on non USB HID
...
* typical ancestors: 'ROOT\HIDCLASS\0000' -> 'HTREE\ROOT\0' -> NULL
resulted in session_id 0 being returned
* single case for non USB HID, newly inserted or unexpected unlisted
is now being used, for performance reasons, as we'll still hear
about any implementation bugs from people not being able to access
an ignored device anyway (i.e. no need to be too forceful)
2010-12-04 23:48:36 +00:00