Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | added threads_windows to source browserr271 | Michael Plante | 2010-04-26 | 2 | -2/+2 |
| | |||||
* | general whitespace cleanup | Michael Plante | 2010-04-24 | 2 | -4/+4 |
| | |||||
* | added missing calling convention for callbacks in dpfp | Pete Batard | 2010-04-18 | 2 | -13/+13 |
| | | | | also whitespaces in dpfp.c | ||||
* | switched DDK calling convention for examples to __cdeclr260 | Pete Batard | 2010-04-18 | 4 | -10/+4 |
| | |||||
* | DDK build (sources) advapi32.lib dependency | Pete Batard | 2010-04-16 | 2 | -2/+4 |
| | | | | also removed unneeded user32.lib dependency from libusb_sources (suggested by Michael Plante) | ||||
* | [INTERNAL - NOT FOR RELEASE] MSVC 2008 advapi.lib dependency | Pete Batard | 2010-04-16 | 2 | -8/+8 |
| | |||||
* | added advapi32.lib dependency reference in xusb.c | Pete Batard | 2010-04-16 | 1 | -1/+3 |
| | |||||
* | better handling of attach/detach for Linux in xusb.cr254 | Pete Batard | 2010-04-16 | 1 | -12/+14 |
| | |||||
* | added more explicit library dependencies in xusb.c (MSVC) | Tim Roberts | 2010-04-16 | 1 | -0/+6 |
| | |||||
* | set default messaging level to warnings in xusbr248 | Pete Batard | 2010-04-08 | 1 | -2/+2 |
| | |||||
* | fixed "ignoring return value of 'fwrite'" warning with gccr247 | Pete Batard | 2010-04-08 | 1 | -2/+4 |
| | |||||
* | addressed MSVC warnings prompted by previous changer246 | Pete Batard | 2010-04-08 | 2 | -8/+8 |
| | |||||
* | added binary dump option to xusb (-b) | Pete Batard | 2010-04-08 | 1 | -11/+34 |
| | | | | also switched boolean variables to actual bool | ||||
* | fixed HID record size computation in xusb | Pete Batard | 2010-04-08 | 1 | -7/+10 |
| | |||||
* | fixed arglen warning from previous commitr242 | Pete Batard | 2010-04-06 | 1 | -5/+5 |
| | |||||
* | xusb improvements (parameter handling + debug enable)r241 | Pete Batard | 2010-04-06 | 1 | -83/+87 |
| | |||||
* | xusb HID test improvements (Feature Reports) | Michael Plante | 2010-04-06 | 1 | -63/+85 |
| | | | | Issue reported by Axel Rohde | ||||
* | ddk_build improvements (DLL option, static lib default)r230 | Pete Batard | 2010-03-29 | 2 | -0/+6 |
| | |||||
* | enabled reuse of windows_error_str for wdir225 | Pete Batard | 2010-03-23 | 2 | -8/+8 |
| | | | | additional cleanup | ||||
* | renamed 2005 and 2008 MSVC solution files | Pete Batard | 2010-03-19 | 2 | -0/+0 |
| | | | | | 2005 will be used a master and the only one included in release. 2008 will be kept in the development tree only for convenience. | ||||
* | removed trailing whitespaces (Windows backend)r214b | Peter Stuge | 2010-03-18 | 1 | -22/+22 |
| | |||||
* | _stdcall calling convention for VS2005 DLL project filesr201 | Pete Batard | 2010-03-08 | 2 | -8/+0 |
| | | | | 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 |
| | |||||
* | more residual cleanup (Michael Plante)r191 | Pete Batard | 2010-03-03 | 2 | -4/+4 |
| | |||||
* | changed calling convention to __stdcall (VS2008) | Pete Batard | 2010-03-03 | 2 | -0/+8 |
| | |||||
* | renamed windows_compat to poll_windows | Pete Batard | 2010-03-02 | 2 | -2/+2 |
| | |||||
* | 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 |
| | |||||
* | exclude dpfp_threaded if pthread is not available (MinGW)r174 | Pete Batard | 2010-02-24 | 1 | -1/+8 |
| | |||||
* | includes simplification and cleanup (core) | Pete Batard | 2010-02-24 | 2 | -3/+0 |
| | |||||
* | merge abstraction for POSIX Threads and integration changes (Michael Plante, ↵r169 | Pete Batard | 2010-02-24 | 12 | -55/+38 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | updated copyright notice and credits in sourcer167 | Pete Batard | 2010-02-20 | 1 | -2/+4 |
| | |||||
* | xusb improvements (feature reports)r162 | Pete Batard | 2010-02-18 | 1 | -2/+13 |
| | |||||
* | r141: HID I/O Overhaul:r141 | Pete Batard | 2010-02-06 | 1 | -47/+96 |
| | | | | | | | | - discard report ID from buffer (new hid_buffer in transfer_priv & new copy_transfer_data backend call) - overflow detection - extended HID xusb test Also: - fixed ill placed memset on composite device siblings detection | ||||
* | r132: harmonized compatibility layer function names (_libusb prefix always, ↵r132 | Pete Batard | 2010-02-02 | 1 | -7/+25 |
| | | | | | | rather than _for_poll suffix) additional minor xusb improvements. | ||||
* | r129: xusb fixes for Mass Storage test (Alan Stern): | Pete Batard | 2010-01-31 | 1 | -6/+19 |
| | | | | | | - forces command length to 31 - null termination of vid/pid/rev strings - big endian detection | ||||
* | r126: fixed sscanf_s test for MSVC6 users | Pete Batard | 2010-01-30 | 1 | -1/+1 |
| | |||||
* | r124: removes #error on previous commit and fixes thing ourselves | Pete Batard | 2010-01-30 | 1 | -2/+2 |
| | |||||
* | r123: reverted the use of usb_interface in core and forced interface to be ↵ | Pete Batard | 2010-01-29 | 1 | -5/+21 |
| | | | | undefined always on Windows | ||||
* | r122: fixed poll conflict on cygwin (all compat functions renamed to ↵ | Pete Batard | 2010-01-28 | 1 | -3/+3 |
| | | | | | | | _libusb_####) - fixed sscanf_s undefined for non MS compilers - fixed cygiwn warnings in windows_usb.c | ||||
* | r121: some more small improvements for xusb.c (vid:pid as cmdline parameter) | Pete Batard | 2010-01-28 | 1 | -16/+39 |
| | |||||
* | r120: vc2005 express fixes (Orin Eman) | Pete Batard | 2010-01-28 | 2 | -4/+4 |
| | |||||
* | r119: xusb improvements for mass storage (Alan Stern) | Pete Batard | 2010-01-27 | 1 | -46/+83 |
| | |||||
* | r118: more readable xusb output and added automated endpoint generation for ↵ | Pete Batard | 2010-01-26 | 1 | -58/+71 |
| | | | | Mass Storage | ||||
* | r116: DDK build completion (Orin Eman): | Pete Batard | 2010-01-26 | 4 | -3/+83 |
| | | | | | | - lsusb/xusb sources + ddk_build call - missing libusb_strerror in .def - removed "handle_timeouts_locked unused" warning in in io.c for MinGW | ||||
* | r115: added libusb_strerror (Francesco Montorsi) | Pete Batard | 2010-01-25 | 1 | -1/+1 |
| | |||||
* | r105: added MS Sidewinder HID test in xusb.c + minor changes/improvements | Pete Batard | 2010-01-23 | 1 | -8/+82 |
| | |||||
* | r101: MSVC6 & VS 2005 updates (Michael Plante & Orin Eman) | Pete Batard | 2010-01-21 | 4 | -4/+334 |
| | |||||
* | r100: added MSVC6 project files (Michael Plante) | Pete Batard | 2010-01-21 | 2 | -0/+205 |
| |