summaryrefslogtreecommitdiff
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* added threads_windows to source browserr271Michael Plante2010-04-262-2/+2
|
* general whitespace cleanupMichael Plante2010-04-242-4/+4
|
* added missing calling convention for callbacks in dpfpPete Batard2010-04-182-13/+13
| | | | also whitespaces in dpfp.c
* switched DDK calling convention for examples to __cdeclr260Pete Batard2010-04-184-10/+4
|
* DDK build (sources) advapi32.lib dependencyPete Batard2010-04-162-2/+4
| | | | also removed unneeded user32.lib dependency from libusb_sources (suggested by Michael Plante)
* [INTERNAL - NOT FOR RELEASE] MSVC 2008 advapi.lib dependencyPete Batard2010-04-162-8/+8
|
* added advapi32.lib dependency reference in xusb.cPete Batard2010-04-161-1/+3
|
* better handling of attach/detach for Linux in xusb.cr254Pete Batard2010-04-161-12/+14
|
* added more explicit library dependencies in xusb.c (MSVC)Tim Roberts2010-04-161-0/+6
|
* set default messaging level to warnings in xusbr248Pete Batard2010-04-081-2/+2
|
* fixed "ignoring return value of 'fwrite'" warning with gccr247Pete Batard2010-04-081-2/+4
|
* addressed MSVC warnings prompted by previous changer246Pete Batard2010-04-082-8/+8
|
* added binary dump option to xusb (-b)Pete Batard2010-04-081-11/+34
| | | | also switched boolean variables to actual bool
* fixed HID record size computation in xusbPete Batard2010-04-081-7/+10
|
* fixed arglen warning from previous commitr242Pete Batard2010-04-061-5/+5
|
* xusb improvements (parameter handling + debug enable)r241Pete Batard2010-04-061-83/+87
|
* xusb HID test improvements (Feature Reports)Michael Plante2010-04-061-63/+85
| | | | Issue reported by Axel Rohde
* ddk_build improvements (DLL option, static lib default)r230Pete Batard2010-03-292-0/+6
|
* enabled reuse of windows_error_str for wdir225Pete Batard2010-03-232-8/+8
| | | | additional cleanup
* renamed 2005 and 2008 MSVC solution filesPete Batard2010-03-192-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)r214bPeter Stuge2010-03-181-22/+22
|
* _stdcall calling convention for VS2005 DLL project filesr201Pete Batard2010-03-082-8/+0
| | | | also keeps default calling convention for non DLL project files with VS2008
* xusb improvements (parameters checks)r200Pete Batard2010-03-081-47/+81
|
* more residual cleanup (Michael Plante)r191Pete Batard2010-03-032-4/+4
|
* changed calling convention to __stdcall (VS2008)Pete Batard2010-03-032-0/+8
|
* renamed windows_compat to poll_windowsPete Batard2010-03-022-2/+2
|
* 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
|
* exclude dpfp_threaded if pthread is not available (MinGW)r174Pete Batard2010-02-241-1/+8
|
* includes simplification and cleanup (core)Pete Batard2010-02-242-3/+0
|
* merge abstraction for POSIX Threads and integration changes (Michael Plante, ↵r169Pete Batard2010-02-2412-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 sourcer167Pete Batard2010-02-201-2/+4
|
* xusb improvements (feature reports)r162Pete Batard2010-02-181-2/+13
|
* r141: HID I/O Overhaul:r141Pete Batard2010-02-061-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, ↵r132Pete Batard2010-02-021-7/+25
| | | | | | rather than _for_poll suffix) additional minor xusb improvements.
* r129: xusb fixes for Mass Storage test (Alan Stern):Pete Batard2010-01-311-6/+19
| | | | | | - forces command length to 31 - null termination of vid/pid/rev strings - big endian detection
* r126: fixed sscanf_s test for MSVC6 usersPete Batard2010-01-301-1/+1
|
* r124: removes #error on previous commit and fixes thing ourselvesPete Batard2010-01-301-2/+2
|
* r123: reverted the use of usb_interface in core and forced interface to be ↵Pete Batard2010-01-291-5/+21
| | | | undefined always on Windows
* r122: fixed poll conflict on cygwin (all compat functions renamed to ↵Pete Batard2010-01-281-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 Batard2010-01-281-16/+39
|
* r120: vc2005 express fixes (Orin Eman)Pete Batard2010-01-282-4/+4
|
* r119: xusb improvements for mass storage (Alan Stern)Pete Batard2010-01-271-46/+83
|
* r118: more readable xusb output and added automated endpoint generation for ↵Pete Batard2010-01-261-58/+71
| | | | Mass Storage
* r116: DDK build completion (Orin Eman):Pete Batard2010-01-264-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 Batard2010-01-251-1/+1
|
* r105: added MS Sidewinder HID test in xusb.c + minor changes/improvementsPete Batard2010-01-231-8/+82
|
* r101: MSVC6 & VS 2005 updates (Michael Plante & Orin Eman)Pete Batard2010-01-214-4/+334
|
* r100: added MSVC6 project files (Michael Plante)Pete Batard2010-01-212-0/+205
|