Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove buggy "completed_synchronously" flag (Graeme Gill)r205 | Pete Batard | 2010-03-12 | 3 | -10/+15 |
| | | | | | setting this flag in windows_usb.c could be missed by poll use the overlapped.Internal status instead | ||||
* | fixed continuous polling during timeout (Graeme Gill)r204 | Pete Batard | 2010-03-11 | 1 | -1/+3 |
| | |||||
* | moved usbi_fd_notification call after usbi_add_pollfdr203 | Pete Batard | 2010-03-10 | 4 | -24/+22 |
| | |||||
* | fixed build error with DDK 6001r202 | Pete Batard | 2010-03-09 | 1 | -1/+1 |
| | |||||
* | _stdcall calling convention for VS2005 DLL project filesr201 | Pete Batard | 2010-03-08 | 4 | -12/+4 |
| | | | | also keeps default calling convention for non DLL project files with VS2008 | ||||
* | xusb improvements (parameters checks)r200 | Pete Batard | 2010-03-08 | 1 | -47/+81 |
| | |||||
* | fix libtool issue when building shared libs with Chinese localer199 | Pete Batard | 2010-03-08 | 1 | -0/+6 |
| | | | | | This patch modifies the ltmain.sh (and therefore libtool) scripts to force the locale to C, even if not defined. | ||||
* | removed unneeded versioning/options from autotool scriptsr198 | Pete Batard | 2010-03-06 | 2 | -10/+1 |
| | |||||
* | moved libusb-1.0.rc to libusb/ (where the .def is located) | Pete Batard | 2010-03-06 | 6 | -7/+4 |
| | |||||
* | removed resource.h | Pete Batard | 2010-03-06 | 3 | -27/+2 |
| | |||||
* | added .rc info to DLLs produced with MinGW/cygwinr197 | Pete Batard | 2010-03-05 | 2 | -1/+5 |
| | |||||
* | revert debug changes from previous commitr196 | Pete Batard | 2010-03-05 | 1 | -3/+3 |
| | |||||
* | remove "-0" suffix for MinGW/cygwin generated DLLsr195 | Pete Batard | 2010-03-05 | 1 | -5/+5 |
| | | | | | See "7.2 Libtool's versioning system" and "4.2 Link mode" of the GNU libtool documentation. | ||||
* | fixed unref of devices that already exist (Travis Robinson)r194 | Pete Batard | 2010-03-05 | 1 | -2/+6 |
| | |||||
* | small improvements and cleanup suggested by Graeme Gillr193 | Pete Batard | 2010-03-04 | 1 | -5/+8 |
| | |||||
* | fixed uint64_t warnings (Graeme Gill)r192 | Pete Batard | 2010-03-04 | 1 | -3/+3 |
| | |||||
* | more residual cleanup (Michael Plante)r191 | Pete Batard | 2010-03-03 | 4 | -11/+12 |
| | |||||
* | removed unneeded CMAPI definitionr190 | Pete Batard | 2010-03-03 | 1 | -5/+5 |
| | |||||
* | residual corrections from previous commits (Michael Plante)r189 | Pete Batard | 2010-03-03 | 8 | -11/+19 |
| | |||||
* | dynamically load Cfgmgr32.dll exports (Graeme Gill)r188 | Pete Batard | 2010-03-03 | 2 | -54/+51 |
| | |||||
* | changed calling convention to __stdcall (VS2008) | Pete Batard | 2010-03-03 | 4 | -10/+26 |
| | |||||
* | added msvc/config.h inclusion error for MinGW/cygwinr187 | Pete Batard | 2010-03-03 | 1 | -0/+5 |
| | |||||
* | 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 | 14 | -23/+23 |
| | |||||
* | 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 |
| | |||||
* | reattach driver when detached in xusb (Xiaofan Chen)r183 | Pete Batard | 2010-03-01 | 1 | -0/+11 |
| | |||||
* | xusb improvements for HID test: int. vs bulk (Xiaofan Chen)r182 | Pete Batard | 2010-03-01 | 1 | -2/+2 |
| | |||||
* | xusb improvements and fixesr181 | Pete Batard | 2010-02-28 | 1 | -12/+24 |
| | |||||
* | 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 |
| | |||||
* | exclude dpfp_threaded if pthread is not available (MinGW)r174 | Pete Batard | 2010-02-24 | 1 | -1/+8 |
| | |||||
* | includes simplification and cleanup (os)r173 | Pete Batard | 2010-02-24 | 3 | -6/+3 |
| | |||||
* | includes simplification and cleanup (core) | Pete Batard | 2010-02-24 | 8 | -18/+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 | ||||
* | fixed obsolete config_msvc.h and pthread-win32 referencesr170 | Pete Batard | 2010-02-24 | 7 | -70/+21 |
| | | | | also cleaned up msvc/config.h | ||||
* | merge abstraction for POSIX Threads and integration changes (Michael Plante, ↵r169 | Pete Batard | 2010-02-24 | 39 | -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 reportsr168 | Pete Batard | 2010-02-22 | 2 | -28/+54 |
| |