summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* bumped internal versionpbr329Pete Batard2011-02-212-2/+2
|
* different approach to topology retrievalPete Batard2011-02-218-84/+96
| | | | | | | * 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
* added sorting of .def filePete Batard2011-02-212-556/+558
| | | | * suggested by Michael Plante
* prevent set_configuration request from being sent using WinUSBPete Batard2011-02-211-6/+19
| | | | | | * 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
* use eol= in .gitattributes (requires git >= 1.7.3)Pete Batard2011-02-211-8/+7
| | | | * eol=lf does not work with autocrlf=true on Windows for older git
* minor code improvements to xusbPete Batard2011-02-031-7/+6
|
* bumped internal versionpbr328Pete Batard2011-01-312-2/+2
|
* merged latest official changesPete Batard2011-01-308-84/+118
| | | | * up to 295c9d12e25bc2dbdd8b42bd67a1f7120f0631a1
* fixed windows_init() return value on subsequent callsPete Batard2011-01-201-3/+3
| | | | | | * windows_init was set to return LIBUSB_ERROR_OTHER always if first run initialization was not executed * issue reported by Konrad Rosenbaum
* added topology information retrieval to xusbpbr327Pete Batard2011-01-203-2/+6
|
* updated .def file for libusb_get_device_topologyPete Batard2011-01-201-0/+10
|
* added get_device_topology optional API callPete Batard2011-01-206-0/+71
| | | | * Windows only, unsupported on other platforms
* [INTERNAL - TESTING] removed test file for line ending conversionpbr326Pete Batard2011-01-183-7/+2
|
* xusb: better hex dump, with address and printable ASCIIPete Batard2011-01-181-6/+22
|
* fixed VS2010 IntelliSense warningsPete Batard2011-01-181-13/+16
|
* cygwin: switched back to -std=gnu99Pete Batard2011-01-181-1/+1
| | | | | | | | | * 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
* removed the enforcing of WINAPI for cygwinPete Batard2011-01-171-1/+1
| | | | * a.k.a. "I'm not convinced."
* bumped internal versionpbr325Pete Batard2010-12-102-2/+2
|
* [INTERNAL - TESTING] test file for line ending conversionPete Batard2010-12-091-0/+5
|
* [INTERNAL - TESTING] added -crlf option for .test filesPete Batard2010-12-091-1/+2
|
* fixed assertion failure on non USB HIDPete Batard2010-12-041-5/+1
| | | | | | | | | * 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)
* prevent LF -> CRLF conversion of configure.ac and Makefile.amPete Batard2010-12-021-0/+2
| | | | | | | | * if configure.ac uses DOS format, quoting multiple lines can produce an error in cygwin * if Makefile.am uses DOS format, you might get the error AC_CONFIG_MACRO_DIR([m4]) conflicts with ACLOCAL_AMFLAGS=-I m4 in libtoolize
* unconstrained ancestors lookup for HID and other devicespbr324Pete Batard2010-12-013-33/+15
| | | | | | | | * Some HID devices (Logitech) had interfaces that used more than 2 levels to get to a listed ancestor, which resulted to assertion failure * new implementation no longer constrains lookup level * issue reported by Phong Truong
* [INTERNAL - NOT FOR RELEASE] updated _bd.cmdpbr323Pete Batard2010-11-233-2/+10
|
* edited INSTALL_WINT to reflect the path changesPete Batard2010-11-221-5/+5
|
* moved WDK/DDK build scripts to /msvcPete Batard2010-11-224-8/+8
|
* moved MSVC projects files to /msvcPete Batard2010-11-2210-140/+140
|
* code readability: always use apib->id for comparisonsPete Batard2010-11-221-8/+8
|
* fixed default WinUSB timeout and ineffective policy settingsGraeme Gill2010-11-221-34/+56
| | | | | | | * default WinUSB timeout was 5 seconds, which may be to small. PIPE_TRANSFER_TIMEOUT policy is now set to infinite for all EPs. * other WinUSB policy settings were called before the endpoints had been set. This is now fixed.
* also apply the new "libusb.h" include to the dpfp samplesPete Batard2010-11-182-2/+2
|
* bumped internal versionpbr322Pete Batard2010-11-182-2/+2
|
* [INTERNAL - NOT FOR RELEASE] removed stdint.h dependencyPete Batard2010-11-182-11/+6
|
* removed "'guid_to_string' defined but not used" warningPete Batard2010-11-181-0/+2
| | | | * issued in MinGW/cygwin when ENABLE_DEBUG_LOGGING is not set
* use #include "libusb.h" in the samplesPete Batard2010-11-1811-33/+25
| | | | * also removed unneeded ../msvc/ lib dir for VS2005
* removed dependency on stdint.h for MS binary snapshot usersPete Batard2010-11-187-25/+31
| | | | | | | | * binary snapshot users, with a version of Visual Studio < 10 don't have stdint.h available * stdint.h is referenced in libusb.h * ssize_t, uint8_t and uint16_t are now defined in libusb.h when required
* fixed device interface path not freed for HID collectionsPete Batard2010-11-181-13/+22
| | | | | | | * while additional HID collections might be ignored, existing code assumed that the device interface path was always assigned, which could create a leak * issue reported by Stephano Antonelli
* bumped internal versionpbr321Pete Batard2010-11-132-2/+2
|
* [INTERNAL - NOT FOR RELEASE] stdint.h -> additional_includesPete Batard2010-11-132-4/+9
|
* removed the need for _open_osfhandle()Pete Batard2010-11-132-31/+12
| | | | | * use _open() always * avoid the _open_osfhandle() redefinition on cygwin
* use _close() rather than CloseHandle() in usbi_close()Pete Batard2010-11-132-8/+8
| | | | | | | | * use of CloseHandle() prevented the pipe fds from being relinquished on libusb_exit() * leaked fds could lead to the OS running out of new fds and LIBUSB_ERROR_NO_MEM being returned as a result * issue reported by Stephano Antonelli
* bumped internal versionpbr320Pete Batard2010-11-012-2/+2
|
* fixed bus number set to zero for some devicesPete Batard2010-11-011-48/+40
| | | | | | | | * bus number could be set to zero if devices were listed before their hubs in the GEN pass * init_device now detects the issue and fixes it * further code simplification with the introduction of a new get_ancestor_session_id call
* improved handling of newly connected devices during enumPete Batard2010-11-011-10/+15
| | | | | | * changed assertions that failed enum on newly connected or disconnected, to warnings about device being ignored * misc. additional logging message improvements
* hub handling improvementsPete Batard2010-10-281-10/+51
| | | | | | * hub driver API now allows the retrieval of descriptors * hub API now detects if default hub driver has been overridden * comments fixup + enum debug template
* more enumeration bugfixes and improvementspbr319Pete Batard2010-10-283-26/+27
| | | | | | | * previously opened devices were not being added to the discovered list * provide device information on cache descriptor errors * disconnected device is not an assertion failure * code readability
* minor enumeration bugfixes and improvementspbr318Pete Batard2010-10-273-8/+10
| | | | | | | * dev_interface_details is not available on GEN pass but some warning messages attempt to reference that pointer * skip device if interface path cannot be sanitized * check the return value of init_device() and bail out on error
* [INTERNAL - NOT FOR RELEASE] snapshot _README.txtpbr317Pete Batard2010-10-275-4/+67
| | | | * also _bd.cmd fixes and improvements
* proper removal of advapi32 library dependencyPete Batard2010-10-273-3/+8
| | | | | | | * advapi32 was still being used through RegQueryValueEx and RegCloseKey * also fixed overzealous removal of kernel32.lib, which prevented DLL generation from WDK/DDK
* [INTERNAL - NOT FOR RELEASE] prefixed internal files with _Pete Batard2010-10-277-4/+4
|
* added /MT option for DDK buildsPete Batard2010-10-275-20/+32
| | | | | | | | * default for ddk was to use MSVCRT, which produces static libs that cannot be used in MSVC with /MT (libcmt) * ddk_build script now allows users to chose between /MD and /MT compatibility * also simplified libusb_sources and updated INSTALL_WIN.txt