summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Windows 7 device description retrievala172Pete Batard2010-03-175-56/+107
| | | | plus other improvements and cleanup.
* added x86 & x64 installers to resource liba171Pete Batard2010-03-155-146/+74
| | | | plus various other improvements
* merge r205-207a170Pete Batard2010-03-153-20/+55
|
* added missing driver_installer.h and other small MSVC changesa169Pete Batard2010-03-158-51/+67
|
* installer that works from start to finish at last! (WIP)a168Pete Batard2010-03-128-142/+318
| | | | | 2 way communication between the processes device_id for specific driver installation
* merged r202 to r204a167Pete Batard2010-03-126-26/+26
|
* pipe communication between installer and other improvementsa166Pete Batard2010-03-125-37/+251
|
* added Vista/7 privilege escalation (WIP)a165Pete Batard2010-03-115-50/+449
|
* fixed chkinf errors and warningsa164Pete Batard2010-03-091-7/+10
|
* removed resource.h + add cfmgr32 DLL refsa163Pete Batard2010-03-095-10/+25
|
* merged master's r201a162Pete Batard2010-03-0813-103/+98
|
* merged r197a161Pete Batard2010-03-0625-221/+400
|
* fixed residuals of previous mergea160Pete Batard2010-02-253-28/+13
|
* merged with master's r175a159Pete Batard2010-02-2444-1190/+1129
|\
| * reverts some of the changes from dbd439/6c7a1e (r173)r175Pete Batard2010-02-246-7/+7
| |
| * exclude dpfp_threaded if pthread is not available (MinGW)r174Pete Batard2010-02-241-1/+8
| |
| * includes simplification and cleanup (os)r173Pete Batard2010-02-243-6/+3
| |
| * includes simplification and cleanup (core)Pete Batard2010-02-248-18/+7
| |
| * renamed _libusb_ unistd calls to usbi_r172Pete Batard2010-02-246-72/+72
| |
| * added unistd_posix.hr171Pete Batard2010-02-241-0/+12
| |
| * moved standard calls redefinitions into a separate .hPete Batard2010-02-243-17/+5
| | | | | | | | This applies to read/write/close/poll/pipe -> unistd_posix.h
| * fixed obsolete config_msvc.h and pthread-win32 referencesr170Pete Batard2010-02-247-70/+21
| | | | | | | | also cleaned up msvc/config.h
| * merge abstraction for POSIX Threads and integration changes (Michael Plante, ↵r169Pete Batard2010-02-2439-864/+823
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Peter Stuge) v1.0.6 release Darwin: support multiple calls to libusb_init Credit to Orin Eman for finding this bug. Darwin: use logging functions Use usbi_warn, usbi_err, and usbi_info instead of _usbi_log. Darwin: fix memory leak in process_device Credit to Mike Colagrosso for finding this bug. Add internal abstraction for POSIX Threads This prepares for a Windows backend without dependency on pthreads-w32. pthread_* is renamed to usbi_* and PTHREAD_* to USBI_*. A usbi_mutex_static_t and usbi_mutex_static_lock() and _unlock() are introduced for statically initialized mutexes, since they may be implemented using other types when pthreads mutexes aren't used. Move -pthread from libusb/Makefile.am to host-specific AM_CFLAGS in configure.ac. AM_CFLAGS is already used in Makefile.am. (Numerous merge conflicts resolved by Michael Plante) misc fixes to pthreads abstraction * windows_compat.h should not be directly included (use libusbi.h) * windows_usb.c still had some references to pthread_mutex_[un]lock Add libusb_strerror() to get short error message in English from enum (Merge conflicts resolved by Michael Plante) Better cleanup on errors, stricter types and some good casts Avoid various memory leaks in error code paths and remove warnings. Also add usbi_cond_destroy in os/threads_posix.h because it's used for cleanup now. (Merge conflicts resolved by Michael Plante) Rename all interface parameters to usb_interface or interface_number (Merge conflicts resolved by Michael Plante) Add type parameter to the list_for_each_entry() and _safe() macros (Merge conflicts resolved by Michael Plante) VA_ARGS workaround for logging with MSVC6 (Merge conflicts resolved by Michael Plante) Fix context memory leak in libusb_init() * Now holds default_context_lock for duration of libusb_init * Doesn't allocate it if not needed Fix the last MSVC /W3 warning removal of pthreads from MSVC and mingw * removed pthread*.lib from linking in msvc6 (2005/8 not yet edited) * added threads_windows.[ch] to all project files in msvc6 * added usbi_cond_signal to both threading versions, unused * added native windows threading code, now used removed redundant time.h includes removed pthread-win32 informational solution files updated MSVC 2005/2008 for thread abstraction fixed DDK build fixed cygwin's use of POSIX threads fixed dpfp/dpfp_threaded for MinGW compatibility config_msvc.h -> msvc/config.h pthread abstraction for DLL project files fixed bad reference to thread_windows in 2005 DLL vcproj cygwin ifdef is not required in threads_windows.h - removed fixed residuals from previous patches moved thread source detection into autotool scripts
| * improved HID feature reportsr168Pete Batard2010-02-222-28/+54
| |
| * updated copyright notice and credits in sourcer167Pete Batard2010-02-205-8/+12
| |
| * added detection of uninitialized devices on openr166Pete Batard2010-02-191-0/+6
| |
| * fixed cygwin warningr165Pete Batard2010-02-191-1/+1
| |
| * fixed improper parent when reusing device + cosmetics fixesr164Pete Batard2010-02-181-2/+6
| |
| * revert r102/f0d352: handle_timeouts() CORE modificationr163Pete Batard2010-02-181-56/+4
| |
| * xusb improvements (feature reports)r162Pete Batard2010-02-181-2/+13
| |
| * ERROR_SEM_TIMEOUT + FORCE_INSTANT_TIMEOUTS for cancellationr161Pete Batard2010-02-181-1/+16
| | | | | | | | | | added ERROR_SEM_TIMEOUT case in windows_transfer_callback, FORCE_INSTANT_TIMEOUTS compilation option + uint8_t fix for ddk_build
| * fixed HID feature reportsr160Pete Batard2010-02-171-8/+23
| |
| * improved windows_set_configurationr159Pete Batard2010-02-171-1/+5
| |
| * removed unofficial versioning from commentsr158Pete Batard2010-02-171-4/+4
| |
| * fixed aggressive transfer cancellationr157Pete Batard2010-02-171-13/+15
| |
| * revert back to call copy_transfer_data always in callbackr156Pete Batard2010-02-161-6/+1
| | | | | | | | previous change there was unnecessary and actually messed up control transfers
| * fixed HID interrupt transfers + HID cosmetics improvementsr155Pete Batard2010-02-161-11/+21
| |
| * fixed libusb_strerror to be in line with core patch 6/7r154Pete Batard2010-02-151-34/+32
| |
* | added dynamic resource handling for DDL extraction (WIP)a158Pete Batard2010-02-248-16/+576
| |
* | fixed a couple issues with driver-install vcproja157Pete Batard2010-02-152-12/+18
| |
* | added inf generation and installation (WIP)a156Pete Batard2010-02-154-24/+161
| |
* | added missing vcproja155Pete Batard2010-02-151-0/+285
| |
* | new winusb automated driver installation brancha154Pete Batard2010-02-156-40/+224
|/
* fixed signed/unsigned comparison: int->size_tr153Michael Plante2010-02-121-2/+2
|
* moved real-time functionality out of timer thread (Michael Plante)r152Pete Batard2010-02-121-104/+96
| | | | | also cleanup single-index arrays, remove unnecessary goto and additional cleanup
* fix 2 timer-related bugs (unlikely)r151Michael Plante2010-02-121-4/+5
| | | | | * failed to check CreateSemaphore() * index out of bounds on timer_index
* added detection of HID report IDs for interrupt transfersr150Pete Batard2010-02-112-8/+105
| | | | | processing of HID report IDs in hid_open using HidP_GetValueCaps added corresponding DLL call
* changed HID_USE_LAST_REPORTS to USE_HIDD_FOR_REPORTSr149Pete Batard2010-02-111-4/+9
| | | | clarification for the compilation option above
* fixed bad HID input report data when using controlr148Pete Batard2010-02-112-2/+9
| | | | | removes the use of transfer->buffer as dest in hid_copy_transfer_data uses private hid_dest copy from windows_transfer_priv instead
* final fix for composite HID mouse and keyboard detectionr147Pete Batard2010-02-102-19/+29
| | | | introduces the use of multiple driver names in the USB API backends