summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
* [INTERNAL - NOT FOR RELEASE] add stdint.h to archivespbr316Pete Batard2010-10-273-2/+3
|
* fixed error C1001 when using DDK 64 bit .lib in VS2008Pete Batard2010-10-271-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 sourcePete Batard2010-10-261-4/+1
|
* bumped internal versionpbr315Pete Batard2010-10-262-2/+2
|
* enum: allow out of hierarchical order processing of hubsPete Batard2010-10-261-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 dependenciesPete Batard2010-10-2612-96/+61
| | | | | * this ensures that libusb dependent applications only need to link with libusb on Windows
* set DLL API call declarations to staticPete Batard2010-10-261-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 UnicodePete Batard2010-10-2611-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 officialPete Batard2010-10-183-55/+63
| | | | 678c242705b29f9cb6cc421b5625a6485ae58047 & 9cd9059bf9baac69a9d6c909f4c1e000592fa260
* fixed potentially non unique return value for htab_hashpbr314Pete Batard2010-10-144-8/+9
| | | | * also increased htab size to 1021, from a .h macro
* fixed trac #68 (incorrect buffer size for HID reports)pbr313Pete Batard2010-10-133-13/+8
| | | | | * this regression was introduced in pbr301 * reported by gorlik
* [INTERNAL - NOT FOR RELEASE] edit message for bump.shPete Batard2010-10-131-1/+1
|
* fixed missing malloc check in htab_hash()pbr312Pete Batard2010-10-123-7/+7
| | | | | * spotted by Michael Plante * also some cleanup
* bumped internal versionpbr311Pete Batard2010-10-122-2/+2
|
* hash function for session id now uses a proper hash tablePete Batard2010-10-121-9/+169
| | | | * hash table functions modified from glibc (LGPL)
* addressed TODOs from new_enumPete Batard2010-10-111-87/+40
| | | | | | * use realloc for unref * pick VID/PID from PCI HCD * cleanup
* Windows enumeration overhaulPete Batard2010-10-112-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 updatesPete Batard2010-10-073-3/+12
|
* bumped internal versionpbr310Pete Batard2010-10-062-2/+2
|
* fixed missing $M_LDFLAGS from libusb/Makefile.amPete Batard2010-10-061-1/+1
| | | | * problem was introduced by recent -version-info patch from official
* bumped internal versionpbr309Pete Batard2010-10-052-2/+2
|
* fixed missed index -> _index in poll_windows.c debug messagesPete Batard2010-10-051-2/+2
| | | | * follow up from cygwin shadow warning fix
* bumped internal versionpbr308Pete Batard2010-10-052-2/+2
|
* fixed index shadow warnings from cygwin (from official)Pete Batard2010-10-052-86/+86
|
* small fixup to be in check with proposed officialPete Batard2010-10-052-2/+2
|
* Populate the pkg-config Libs.private fieldMike Frysinger2010-10-052-4/+12
|
* Linux: fix build failure when CLOCK_MONOTONIC does not existMike Frysinger2010-10-051-5/+6
| | | | This is not available on all platforms.
* Update libtool version infoDaniel Drake2010-10-052-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 versionpbr307Pete Batard2010-10-042-2/+2
|
* fixed erroneous checks on SetupDi callsPete Batard2010-10-041-2/+2
|
* bumped internal versionpbr306Pete Batard2010-09-212-2/+2
|
* [INTERNAL - NOT FOR RELEASE] removed string version handling from bump.shPete Batard2010-09-211-3/+1
|
* force the handling of version stringification in the .rcPete Batard2010-09-213-2/+4
| | | | * this removes the version string from libusb_version.h
* fixed missing def entries for function calls with no argsPete Batard2010-09-212-1/+58
| | | | * this is needed for libusb_getversion() in MinGW32
* bumped internal versionpbr305Pete Batard2010-09-212-3/+3
|
* [INTERNAL - NOT FOR RELEASE] added bump.sh scriptPete Batard2010-09-211-0/+35
|