summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fixed continuous polling during timeout (Graeme Gill)c194Pete Batard2010-03-111-1/+3
|
* residuals from previous mergec193Pete Batard2010-03-101-3/+3
|
* moved usbi_fd_notification call after usbi_add_pollfdPete Batard2010-03-104-24/+19
|
* residuals from previous mergec192Pete Batard2010-03-102-551/+2
|
* merge up to r202c191Pete Batard2010-03-1022-129/+144
|
* libusb0.sys backend integration - part 2 (Graeme Gill)c190Pete Batard2010-03-1045-40/+4918
|
* 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
|
* changed calling convention to __stdcall (VS2008)Pete Batard2010-03-034-10/+26
|
* added msvc/config.h inclusion error for MinGW/cygwinr187Pete Batard2010-03-031-0/+5
|
* 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-0214-23/+23
|
* 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
|
* reattach driver when detached in xusb (Xiaofan Chen)r183Pete Batard2010-03-011-0/+11
|
* xusb improvements for HID test: int. vs bulk (Xiaofan Chen)r182Pete Batard2010-03-011-2/+2
|
* xusb improvements and fixesr181Pete Batard2010-02-281-12/+24
|
* 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
|
* 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