summaryrefslogtreecommitdiff
path: root/libusb
Commit message (Collapse)AuthorAgeFilesLines
* libusb0.sys backend integration - part 1 (Graeme Gill)c189Pete Batard2010-03-083-37/+978
|
* dynamically load Cfgmgr32.dll exports (Graeme Gill)r188Pete Batard2010-03-032-54/+51
|
* better fix for poll_dbg and MSVC6r186Pete Batard2010-03-021-44/+28
|
* removed poll_dbg to keep MSVC6 users happyr185Pete Batard2010-03-021-22/+44
|
* fixed cygwin warning with poll_dbgr184Pete Batard2010-03-021-1/+1
|
* renamed windows_compat to poll_windowsPete Batard2010-03-026-9/+9
|
* renamed unistd_posix.h to poll_posix.hPete Batard2010-03-024-4/+4
|
* fixed MinGW warningsPete Batard2010-03-022-2/+1
|
* poll fd notification improvements (windows poll layer)Pete Batard2010-03-023-32/+82
| | | | | call usbi_fd_notification on new fd also improves DYNAMIC_FDS option
* poll fd notification improvements (core)Pete Batard2010-03-021-30/+45
| | | | factorized code from libusb_open into new function usbi_fd_notification
* use usbi logging facility in poll layerPete Batard2010-03-011-45/+39
|
* fixed issue with DYNAMIC_FDS (Jere Knaappila)r180Pete Batard2010-02-261-1/+1
|
* fixed a typo in usbi_mutex_unlockr179Pete Batard2010-02-262-1/+2
| | | | also added mutex release in libusb_unref_device
* fixed missing brackets that prevented DYNAMIC_FDS from working properlyr178Pete Batard2010-02-251-6/+7
|
* fixed small issue when HID get feature is not availabler177Pete Batard2010-02-251-1/+3
|
* added nonbuffered stdio logging option in compatibility layerr176Pete Batard2010-02-251-0/+8
|
* added fd detection update option in usbi_poll()Pete Batard2010-02-251-6/+57
| | | | when DYNAMIC_FDS is enabled, poll returns with EINTR when fds are modified
* reverts some of the changes from dbd439/6c7a1e (r173)r175Pete Batard2010-02-246-7/+7
|
* includes simplification and cleanup (os)r173Pete Batard2010-02-243-6/+3
|
* includes simplification and cleanup (core)Pete Batard2010-02-246-15/+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
* merge abstraction for POSIX Threads and integration changes (Michael Plante, ↵r169Pete Batard2010-02-2415-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 reportsr168Pete Batard2010-02-222-28/+54
|
* updated copyright notice and credits in sourcer167Pete Batard2010-02-204-6/+8
|
* 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
|
* 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
|
* 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
* fixed memory leak dues to HID collections in set_composite_devicer146Pete Batard2010-02-101-6/+15
|
* r145: fixed memory leak in _libusb_pollr145Pete Batard2010-02-091-15/+27
|
* r144: preliminary fix for composite HID mouse and keyboard detectionr144Pete Batard2010-02-081-0/+11
|
* r143: fixed a couple of issues with HIDr143Pete Batard2010-02-081-4/+8
|
* r142: - fixed claiming of interfaces >0 for non-composite (Dave C.) + better ↵r142Pete Batard2010-02-072-28/+43
| | | | | | | autoclaim handling - moved compilation options from config_msvc.h to windows_usb.c - processed remaining TODOs