Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | libusb0.sys backend integration - part 1 (Graeme Gill)c189 | Pete Batard | 2010-03-08 | 3 | -37/+978 |
| | |||||
* | dynamically load Cfgmgr32.dll exports (Graeme Gill)r188 | Pete Batard | 2010-03-03 | 2 | -54/+51 |
| | |||||
* | better fix for poll_dbg and MSVC6r186 | Pete Batard | 2010-03-02 | 1 | -44/+28 |
| | |||||
* | removed poll_dbg to keep MSVC6 users happyr185 | Pete Batard | 2010-03-02 | 1 | -22/+44 |
| | |||||
* | fixed cygwin warning with poll_dbgr184 | Pete Batard | 2010-03-02 | 1 | -1/+1 |
| | |||||
* | renamed windows_compat to poll_windows | Pete Batard | 2010-03-02 | 6 | -9/+9 |
| | |||||
* | renamed unistd_posix.h to poll_posix.h | Pete Batard | 2010-03-02 | 4 | -4/+4 |
| | |||||
* | fixed MinGW warnings | Pete Batard | 2010-03-02 | 2 | -2/+1 |
| | |||||
* | poll fd notification improvements (windows poll layer) | Pete Batard | 2010-03-02 | 3 | -32/+82 |
| | | | | | call usbi_fd_notification on new fd also improves DYNAMIC_FDS option | ||||
* | poll fd notification improvements (core) | Pete Batard | 2010-03-02 | 1 | -30/+45 |
| | | | | factorized code from libusb_open into new function usbi_fd_notification | ||||
* | use usbi logging facility in poll layer | Pete Batard | 2010-03-01 | 1 | -45/+39 |
| | |||||
* | fixed issue with DYNAMIC_FDS (Jere Knaappila)r180 | Pete Batard | 2010-02-26 | 1 | -1/+1 |
| | |||||
* | fixed a typo in usbi_mutex_unlockr179 | Pete Batard | 2010-02-26 | 2 | -1/+2 |
| | | | | also added mutex release in libusb_unref_device | ||||
* | fixed missing brackets that prevented DYNAMIC_FDS from working properlyr178 | Pete Batard | 2010-02-25 | 1 | -6/+7 |
| | |||||
* | fixed small issue when HID get feature is not availabler177 | Pete Batard | 2010-02-25 | 1 | -1/+3 |
| | |||||
* | added nonbuffered stdio logging option in compatibility layerr176 | Pete Batard | 2010-02-25 | 1 | -0/+8 |
| | |||||
* | added fd detection update option in usbi_poll() | Pete Batard | 2010-02-25 | 1 | -6/+57 |
| | | | | when DYNAMIC_FDS is enabled, poll returns with EINTR when fds are modified | ||||
* | reverts some of the changes from dbd439/6c7a1e (r173)r175 | Pete Batard | 2010-02-24 | 6 | -7/+7 |
| | |||||
* | includes simplification and cleanup (os)r173 | Pete Batard | 2010-02-24 | 3 | -6/+3 |
| | |||||
* | includes simplification and cleanup (core) | Pete Batard | 2010-02-24 | 6 | -15/+7 |
| | |||||
* | renamed _libusb_ unistd calls to usbi_r172 | Pete Batard | 2010-02-24 | 6 | -72/+72 |
| | |||||
* | added unistd_posix.hr171 | Pete Batard | 2010-02-24 | 1 | -0/+12 |
| | |||||
* | moved standard calls redefinitions into a separate .h | Pete Batard | 2010-02-24 | 3 | -17/+5 |
| | | | | This applies to read/write/close/poll/pipe -> unistd_posix.h | ||||
* | merge abstraction for POSIX Threads and integration changes (Michael Plante, ↵r169 | Pete Batard | 2010-02-24 | 15 | -333/+684 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 reportsr168 | Pete Batard | 2010-02-22 | 2 | -28/+54 |
| | |||||
* | updated copyright notice and credits in sourcer167 | Pete Batard | 2010-02-20 | 4 | -6/+8 |
| | |||||
* | added detection of uninitialized devices on openr166 | Pete Batard | 2010-02-19 | 1 | -0/+6 |
| | |||||
* | fixed cygwin warningr165 | Pete Batard | 2010-02-19 | 1 | -1/+1 |
| | |||||
* | fixed improper parent when reusing device + cosmetics fixesr164 | Pete Batard | 2010-02-18 | 1 | -2/+6 |
| | |||||
* | revert r102/f0d352: handle_timeouts() CORE modificationr163 | Pete Batard | 2010-02-18 | 1 | -56/+4 |
| | |||||
* | ERROR_SEM_TIMEOUT + FORCE_INSTANT_TIMEOUTS for cancellationr161 | Pete Batard | 2010-02-18 | 1 | -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 reportsr160 | Pete Batard | 2010-02-17 | 1 | -8/+23 |
| | |||||
* | improved windows_set_configurationr159 | Pete Batard | 2010-02-17 | 1 | -1/+5 |
| | |||||
* | removed unofficial versioning from commentsr158 | Pete Batard | 2010-02-17 | 1 | -4/+4 |
| | |||||
* | fixed aggressive transfer cancellationr157 | Pete Batard | 2010-02-17 | 1 | -13/+15 |
| | |||||
* | revert back to call copy_transfer_data always in callbackr156 | Pete Batard | 2010-02-16 | 1 | -6/+1 |
| | | | | previous change there was unnecessary and actually messed up control transfers | ||||
* | fixed HID interrupt transfers + HID cosmetics improvementsr155 | Pete Batard | 2010-02-16 | 1 | -11/+21 |
| | |||||
* | fixed libusb_strerror to be in line with core patch 6/7r154 | Pete Batard | 2010-02-15 | 1 | -34/+32 |
| | |||||
* | fixed signed/unsigned comparison: int->size_tr153 | Michael Plante | 2010-02-12 | 1 | -2/+2 |
| | |||||
* | moved real-time functionality out of timer thread (Michael Plante)r152 | Pete Batard | 2010-02-12 | 1 | -104/+96 |
| | | | | | also cleanup single-index arrays, remove unnecessary goto and additional cleanup | ||||
* | fix 2 timer-related bugs (unlikely)r151 | Michael Plante | 2010-02-12 | 1 | -4/+5 |
| | | | | | * failed to check CreateSemaphore() * index out of bounds on timer_index | ||||
* | added detection of HID report IDs for interrupt transfersr150 | Pete Batard | 2010-02-11 | 2 | -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_REPORTSr149 | Pete Batard | 2010-02-11 | 1 | -4/+9 |
| | | | | clarification for the compilation option above | ||||
* | fixed bad HID input report data when using controlr148 | Pete Batard | 2010-02-11 | 2 | -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 detectionr147 | Pete Batard | 2010-02-10 | 2 | -19/+29 |
| | | | | introduces the use of multiple driver names in the USB API backends | ||||
* | fixed memory leak dues to HID collections in set_composite_devicer146 | Pete Batard | 2010-02-10 | 1 | -6/+15 |
| | |||||
* | r145: fixed memory leak in _libusb_pollr145 | Pete Batard | 2010-02-09 | 1 | -15/+27 |
| | |||||
* | r144: preliminary fix for composite HID mouse and keyboard detectionr144 | Pete Batard | 2010-02-08 | 1 | -0/+11 |
| | |||||
* | r143: fixed a couple of issues with HIDr143 | Pete Batard | 2010-02-08 | 1 | -4/+8 |
| | |||||
* | r142: - fixed claiming of interfaces >0 for non-composite (Dave C.) + better ↵r142 | Pete Batard | 2010-02-07 | 2 | -28/+43 |
| | | | | | | | autoclaim handling - moved compilation options from config_msvc.h to windows_usb.c - processed remaining TODOs |