Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove unneeded sanity check in cache_config_descriptorspbr294 | Pete Batard | 2010-08-10 | 2 | -8/+3 |
| | | | | | | | * issue reported by Benjamin Dobell (with additional input from Tim Roberts) * unlike interface numbers, bConfigurationValue are not required to be in order * also produces actual bConfigurationValue in debug output * small whitespace fix in windows_usb.h | ||||
* | removed WinUsb_QueryInterfaceSettings() call in winusb_claim_interface | Pete Batard | 2010-08-10 | 1 | -35/+28 |
| | | | | | | | * issue reported by Benjamin Dobell * WinUsb_QueryInterfaceSettings does not work on any other interface but the first one (WinUSB limitation) * this change should allow the use of WinUSB in lieu of usbccgp * also improvements to core readability | ||||
* | VS 2008 project files now use default for most options | Pete Batard | 2010-08-06 | 4 | -86/+8 |
| | | | | * also fixed DLL generation that was set to MT(d) to using MD(d) | ||||
* | Darwin: Cache device configuration value | Nathan Hjelm | 2010-08-05 | 2 | -51/+75 |
| | | | | | | Cache device configuration value to bring the Darwin backend more in line with the libusb spec. To handle buggy devices GetConfiguration is not called unless the device has more than one configuration. | ||||
* | [INTERNAL - NOT FOR RELEASE] bm.sh improvements | Pete Batard | 2010-08-05 | 1 | -1/+5 |
| | | | | | added -m32 LDFLAGS added DLLTOOLFLAGS for 32 bit multilib generation | ||||
* | creates MinGW and MS DLLs that are fully interchangeablepbr293 | Pete Batard | 2010-08-05 | 4 | -1/+452 |
| | | | | | | | 1. because we use WINAPI, the def file MUST have the @n aliases - there's no way around as MinGW's .o use decoration always for __stdcall, and this can't be turned off 2. our "dumb" autogen create_def() script simply creates the whole range of aliases (we might improve on this in the future) 3. dlltool must be called manually to create the import lib from the def, *with the --kill-at option* 4. a CREATE_IMPORT_LIB autotools variable is introduced to selectively run dlltool or not | ||||
* | more safe string macros improvementspbr292 | Pete Batard | 2010-08-03 | 2 | -4/+6 |
| | |||||
* | fixed bad .def directory for MSVC6 DLL project file | Pete Batard | 2010-08-03 | 1 | -1/+1 |
| | |||||
* | [INTERNAL - NOT FOR RELEASE] include .def in binary snapshot | Pete Batard | 2010-08-02 | 1 | -0/+1 |
| | |||||
* | reverted to using a (generated) .def file for DLL exportspbr291 | Pete Batard | 2010-08-02 | 9 | -80/+157 |
| | | | | | | | | added libusb-1.0.def (plus reference in MS projects) removed LIBUSB_EXP/__declspec(dllexport) from libusb.h removed LIBUSB_DLL_BUILD macros added -Wl,--add-stdcall-alias linker option for MinGW/cygwin for DLL generation added sed script in autogen to update the libusb-1.0.def | ||||
* | minor improvements | Pete Batard | 2010-08-02 | 2 | -14/+14 |
| | | | | | | | | cast pointer to void* for safe_free always use safe_strlen in lieu of strlen avoid the use of a strlen parameter in a macro don't feed negative values to min() in safe_strncat set uninitialized DLL functions to NULL | ||||
* | fixed bad cleanup in winusb_release_interface()pbr290 | Pete Batard | 2010-08-01 | 1 | -2/+3 |
| | | | | also minor fixes (whitespace, debug output) | ||||
* | fixed mishandling of null terminators in safe_strncpy() | Pete Batard | 2010-08-01 | 1 | -1/+1 |
| | |||||
* | fixed bad string duplication for WinUSB pathspbr289 | Pete Batard | 2010-07-31 | 1 | -2/+2 |
| | |||||
* | enforce proper line terminators for MSVC and .sh files | Pete Batard | 2010-07-31 | 17 | -3682/+3689 |
| | |||||
* | more residuals from official: samplespbr288 | Pete Batard | 2010-07-30 | 3 | -18/+5 |
| | |||||
* | more residuals from official: core | Pete Batard | 2010-07-30 | 3 | -13/+5 |
| | |||||
* | more residuals from official: core | Pete Batard | 2010-07-29 | 2 | -3/+2 |
| | |||||
* | fixed residuals from official: autogen.sh | Pete Batard | 2010-07-29 | 1 | -1/+3 |
| | |||||
* | fix -Wshadow warnings for cywginpbr287 | Pete Batard | 2010-07-29 | 1 | -1/+5 |
| | | | | does so by setting gcc to -std=c99 instead -std=gnu99 for MinGW/cygwin | ||||
* | fix missing linefeeds at the end of windows_usb.c/h | Pete Batard | 2010-07-29 | 2 | -2/+2 |
| | |||||
* | removed double entry in AUTHORS | Pete Batard | 2010-07-29 | 1 | -1/+0 |
| | |||||
* | fixed residuals from official for autoconf/automake | Pete Batard | 2010-07-29 | 2 | -17/+13 |
| | |||||
* | fixed -Wshadow compilation errors when using cygwin | Pete Batard | 2010-07-29 | 4 | -31/+23 |
| | | | | NB: this only fixes -Wshadow errors, not -Wshadow warnings | ||||
* | fixed residuals from official for core files | Pete Batard | 2010-07-29 | 4 | -15/+21 |
| | |||||
* | fixed residuals from official for Darwin | Pete Batard | 2010-07-29 | 1 | -0/+5 |
| | |||||
* | [INTERNAL - NOT FOR RELEASE] added MinGW64 to "daily" builds | Pete Batard | 2010-07-29 | 2 | -12/+38 |
| | |||||
* | fixed inconsistencies between prototypes and declarationspbr286 | Xiaofan Chen | 2010-07-29 | 1 | -3/+3 |
| | |||||
* | merged backend integration changes from official branch | Michael Plante | 2010-07-29 | 9 | -51/+75 |
| | |||||
* | fix bashisms | Aurelien Jarno | 2010-07-29 | 1 | -4/+4 |
| | |||||
* | bring autoconf/automake in line with official | Daniel Drake | 2010-07-29 | 3 | -28/+40 |
| | |||||
* | Add reference counting to default contextpbr285 | Daniel Drake | 2010-07-29 | 1 | -10/+38 |
| | | | | | | | | Michael Plante pointed out that if 2 users call libusb_init(NULL) within a process, we end up creating 2 default contexts, one of which is lost. Add reference counting so that the default context is reused and destroyed only after the last user. | ||||
* | Fix libusb_init() error handling | Daniel Drake | 2010-07-29 | 1 | -3/+4 |
| | | | | | | 9996ccaed7 introduced a problem in that mutexes could be destroyed in the error handling codepath before they had been created. Pointed out by Michael Plante. | ||||
* | Darwin: handle kIOReturnUnderrunpbr284 | Hoi-Ho Chan | 2010-07-29 | 2 | -1/+4 |
| | | | | | | This return code indicates that the device returned a data packet less than the max packet size. In libusb backend terms, this is a successful transfer. | ||||
* | Darwin: write iso transfer details into correct packets | Hoi-Ho Chan | 2010-07-29 | 1 | -1/+1 |
| | |||||
* | Darwin: fix interface object leak | Nathan Hjelm | 2010-07-29 | 1 | -1/+4 |
| | |||||
* | Darwin: clean up some debug messages | Nathan Hjelm | 2010-07-29 | 1 | -3/+3 |
| | |||||
* | Darwin: Don't open devices during scan unless we have to unsuspend | Nathan Hjelm | 2010-07-29 | 1 | -6/+10 |
| | |||||
* | Linux: Handle early complete of multi-URB transfer | Peter Stuge | 2010-07-29 | 1 | -5/+13 |
| | |||||
* | Linux: Fix log message commit | Daniel Drake | 2010-07-29 | 1 | -2/+3 |
| | | | | Forgot to test this. | ||||
* | Only initialize the default context when it is requested | Ludovic Rousseau | 2010-07-29 | 1 | -2/+7 |
| | |||||
* | Linux: fix log message that was being unconditionally sent to stderr (#44) | Daniel Drake | 2010-07-29 | 1 | -4/+3 |
| | | | | | | | | | | This message was put in place to aid libusb-compat-0.1 users, who may run into the change that libusb-0.1 allowed you to usb_open() a device that you don't have write access to, but libusb-1.0 does not. As explained on the ticket this change is dangerous so it should go through the usual logging mechanism. I also added a similar regular log message to libusb-compat-0.1. | ||||
* | improved readout of string descriptors in xusbpbr283 | Pete Batard | 2010-06-14 | 1 | -8/+12 |
| | | | | reads man/prod/ser strings using the relevant string index | ||||
* | fixed string indexes being ignored by HID | Pete Batard | 2010-06-14 | 2 | -29/+39 |
| | | | | issue reported by Axel Rohde | ||||
* | Fix 2 documentation typospbr282 | Ludovic Rousseau | 2010-06-11 | 1 | -2/+2 |
| | |||||
* | add AM_MAINTAINER_MODE | Ludovic Rousseau | 2010-06-11 | 1 | -0/+2 |
| | |||||
* | added usbi_fd_notification to libusbi.h | Pete Batard | 2010-06-11 | 1 | -0/+1 |
| | | | | (official's fc0af8e3f76925ad09e0fbc6d233d500753ee375) | ||||
* | [INTERNAL - NOT FOR RELEASE] attempt to workaround trac issues | Pete Batard | 2010-06-09 | 1 | -1/+1 |
| | |||||
* | additional HID error messagespbr281 | Pete Batard | 2010-05-24 | 1 | -5/+9 |
| | |||||
* | improved auto-release with support for concurrent auto-claim | Pete Batard | 2010-05-24 | 2 | -70/+127 |
| | | | | also switched to using the __device_handle_priv macro everywhere and factorized the autoclaim/autorelease calls. |