Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bumped internal versionpbr321 | Pete Batard | 2010-11-13 | 2 | -2/+2 |
| | |||||
* | [INTERNAL - NOT FOR RELEASE] stdint.h -> additional_includes | Pete Batard | 2010-11-13 | 2 | -4/+9 |
| | |||||
* | removed the need for _open_osfhandle() | Pete Batard | 2010-11-13 | 2 | -31/+12 |
| | | | | | * use _open() always * avoid the _open_osfhandle() redefinition on cygwin | ||||
* | use _close() rather than CloseHandle() in usbi_close() | Pete Batard | 2010-11-13 | 2 | -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 versionpbr320 | Pete Batard | 2010-11-01 | 2 | -2/+2 |
| | |||||
* | fixed bus number set to zero for some devices | Pete Batard | 2010-11-01 | 1 | -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 enum | Pete Batard | 2010-11-01 | 1 | -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 improvements | Pete Batard | 2010-10-28 | 1 | -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 improvementspbr319 | Pete Batard | 2010-10-28 | 3 | -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 improvementspbr318 | Pete Batard | 2010-10-27 | 3 | -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.txtpbr317 | Pete Batard | 2010-10-27 | 5 | -4/+67 |
| | | | | * also _bd.cmd fixes and improvements | ||||
* | proper removal of advapi32 library dependency | Pete Batard | 2010-10-27 | 3 | -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 Batard | 2010-10-27 | 7 | -4/+4 |
| | |||||
* | added /MT option for DDK builds | Pete Batard | 2010-10-27 | 5 | -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 | ||||
* | [INTERNAL - NOT FOR RELEASE] add stdint.h to archivespbr316 | Pete Batard | 2010-10-27 | 3 | -2/+3 |
| | |||||
* | fixed error C1001 when using DDK 64 bit .lib in VS2008 | Pete Batard | 2010-10-27 | 1 | -1/+10 |
| | | | | | | | * DDK 64 bit static lib generated the following in VS2008 projects: "fatal error C1001: An internal error has occurred in the compiler. (compiler file 'f:\dd\vctools\compiler\utc\src\p2\p2symtab.c', line 1823)" * http://jpassing.com/2009/10/21/ltcg-issues-with-the-win7amd64-environment-of-wdk-7600/ | ||||
* | remove unneeded lib refs from DDK source | Pete Batard | 2010-10-26 | 1 | -4/+1 |
| | |||||
* | bumped internal versionpbr315 | Pete Batard | 2010-10-26 | 2 | -2/+2 |
| | |||||
* | enum: allow out of hierarchical order processing of hubs | Pete Batard | 2010-10-26 | 1 | -8/+2 |
| | | | | | * Windows makes no guarantee that hubs are enumerated in root to leaf order * Should address the issue reported by gorlik as part of trac #68 | ||||
* | removed SetupAPI, AdvAPI32 and OLE32 dependencies | Pete Batard | 2010-10-26 | 12 | -96/+61 |
| | | | | | * this ensures that libusb dependent applications only need to link with libusb on Windows | ||||
* | set DLL API call declarations to static | Pete Batard | 2010-10-26 | 1 | -1/+2 |
| | | | | | * prevents redefinition warnings when an app is statically linking against SetupAPI.lib in MSVC for instance. | ||||
* | switched MSVC project files from MBCS to Unicode | Pete Batard | 2010-10-26 | 11 | -43/+43 |
| | | | | | | * MBCS (which is different from UTF-8) only makes sense if supporting Windows 95/98, which we don't * also switched all string functions to use char* | ||||
* | merged latest from official | Pete Batard | 2010-10-18 | 3 | -55/+63 |
| | | | | 678c242705b29f9cb6cc421b5625a6485ae58047 & 9cd9059bf9baac69a9d6c909f4c1e000592fa260 | ||||
* | fixed potentially non unique return value for htab_hashpbr314 | Pete Batard | 2010-10-14 | 4 | -8/+9 |
| | | | | * also increased htab size to 1021, from a .h macro | ||||
* | fixed trac #68 (incorrect buffer size for HID reports)pbr313 | Pete Batard | 2010-10-13 | 3 | -13/+8 |
| | | | | | * this regression was introduced in pbr301 * reported by gorlik | ||||
* | [INTERNAL - NOT FOR RELEASE] edit message for bump.sh | Pete Batard | 2010-10-13 | 1 | -1/+1 |
| | |||||
* | fixed missing malloc check in htab_hash()pbr312 | Pete Batard | 2010-10-12 | 3 | -7/+7 |
| | | | | | * spotted by Michael Plante * also some cleanup | ||||
* | bumped internal versionpbr311 | Pete Batard | 2010-10-12 | 2 | -2/+2 |
| | |||||
* | hash function for session id now uses a proper hash table | Pete Batard | 2010-10-12 | 1 | -9/+169 |
| | | | | * hash table functions modified from glibc (LGPL) | ||||
* | addressed TODOs from new_enum | Pete Batard | 2010-10-11 | 1 | -87/+40 |
| | | | | | | * use realloc for unref * pick VID/PID from PCI HCD * cleanup | ||||
* | Windows enumeration overhaul | Pete Batard | 2010-10-11 | 2 | -855/+673 |
| | | | | | | | * changed device enumeration to rely on session ids (hashed device ID) * all enumeration passes now occur in a single call * also removed the separate HCD list (allows PCI hotplug of HCDs) * additional cleanup | ||||
* | [INTERNAL - NOT FOR RELEASE] minor script updates | Pete Batard | 2010-10-07 | 3 | -3/+12 |
| | |||||
* | bumped internal versionpbr310 | Pete Batard | 2010-10-06 | 2 | -2/+2 |
| | |||||
* | fixed missing $M_LDFLAGS from libusb/Makefile.am | Pete Batard | 2010-10-06 | 1 | -1/+1 |
| | | | | * problem was introduced by recent -version-info patch from official | ||||
* | bumped internal versionpbr309 | Pete Batard | 2010-10-05 | 2 | -2/+2 |
| | |||||
* | fixed missed index -> _index in poll_windows.c debug messages | Pete Batard | 2010-10-05 | 1 | -2/+2 |
| | | | | * follow up from cygwin shadow warning fix | ||||
* | bumped internal versionpbr308 | Pete Batard | 2010-10-05 | 2 | -2/+2 |
| | |||||
* | fixed index shadow warnings from cygwin (from official) | Pete Batard | 2010-10-05 | 2 | -86/+86 |
| | |||||
* | small fixup to be in check with proposed official | Pete Batard | 2010-10-05 | 2 | -2/+2 |
| | |||||
* | Populate the pkg-config Libs.private field | Mike Frysinger | 2010-10-05 | 2 | -4/+12 |
| | |||||
* | Linux: fix build failure when CLOCK_MONOTONIC does not exist | Mike Frysinger | 2010-10-05 | 1 | -5/+6 |
| | | | | This is not available on all platforms. | ||||
* | Update libtool version info | Daniel Drake | 2010-10-05 | 2 | -8/+12 |
| | | | | | | | With input from various people on the mailing list, update the libtool versioning info and start to update this on every release. The next libusb release will not need a change here. All following ones will. | ||||
* | bumped internal versionpbr307 | Pete Batard | 2010-10-04 | 2 | -2/+2 |
| | |||||
* | fixed erroneous checks on SetupDi calls | Pete Batard | 2010-10-04 | 1 | -2/+2 |
| | |||||
* | bumped internal versionpbr306 | Pete Batard | 2010-09-21 | 2 | -2/+2 |
| | |||||
* | [INTERNAL - NOT FOR RELEASE] removed string version handling from bump.sh | Pete Batard | 2010-09-21 | 1 | -3/+1 |
| | |||||
* | force the handling of version stringification in the .rc | Pete Batard | 2010-09-21 | 3 | -2/+4 |
| | | | | * this removes the version string from libusb_version.h | ||||
* | fixed missing def entries for function calls with no args | Pete Batard | 2010-09-21 | 2 | -1/+58 |
| | | | | * this is needed for libusb_getversion() in MinGW32 | ||||
* | bumped internal versionpbr305 | Pete Batard | 2010-09-21 | 2 | -3/+3 |
| | |||||
* | [INTERNAL - NOT FOR RELEASE] added bump.sh script | Pete Batard | 2010-09-21 | 1 | -0/+35 |
| |