Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r136: updated .gitignore: added doxygen.cfg and xusb binaryr136 | Michael Plante | 2010-02-02 | 1 | -0/+2 |
| | |||||
* | r135: stopped modifying errno if succeeded.r135 | Michael Plante | 2010-02-02 | 1 | -7/+11 |
| | |||||
* | r134: fixed some silly /W3 warnings in MSVCr134 | Michael Plante | 2010-02-02 | 1 | -4/+4 |
| | |||||
* | r133: fixed missing LONG_PTR reference using intptr_t instead since that's ↵r133 | Michael Plante | 2010-02-02 | 1 | -1/+1 |
| | | | | in one of our headers | ||||
* | r132: harmonized compatibility layer function names (_libusb prefix always, ↵r132 | Pete Batard | 2010-02-02 | 4 | -51/+69 |
| | | | | | | rather than _for_poll suffix) additional minor xusb improvements. | ||||
* | r131: fixed various /W4 warnings for MSVC (core files)r131 | Pete Batard | 2010-02-01 | 2 | -2/+2 |
| | |||||
* | r130: fixed *size in HidD_GetPhysicalDescriptor and fixed various /W4 ↵ | Pete Batard | 2010-02-01 | 3 | -22/+35 |
| | | | | warnings for MSVC (windows files) | ||||
* | 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 | ||||
* | r128: additional cygwin fixes for concurrency | Pete Batard | 2010-01-30 | 2 | -2/+4 |
| | |||||
* | r127: merged concurrency branch with master (native improved concurrency ↵ | Pete Batard | 2010-01-30 | 3 | -216/+441 |
| | | | | | | | | | | | | | | | | | | | | | | | | handling for Windows files) [c119->c137]: c119: concurrency handling: - use semaphore in init/exit (Orin Eman) - use separate thread for timer and remove the need for affinity restoration - minor code readability improvements (moved GUIDs to .h) c120: removed unneeded disabling of APIs in winusb_exit & hid_exit c121: changed CreateThread to _beginthreadex, so CRT works properly when mem is low (Michael Plante) c122: made name of named-semaphore unique across the system per-process (Michael Plante) c123: allow timer thread to quit gracefully, and cleanup many of the handles (Michael Plante) c124: fixed concurrent_usage if init fails (Michael Plante) c125: drop PulseEvent in timer thread and use semaphore for response (Orin Eman). c126: removed pthread dependency in windows_compat.c c127: fixed missing reset of timer_request when event has already been handled c128: additional fixes for timer thread: - closed timer_mutex handles, and fixed volatile warning regarding interlocked ops (Michael Plante) - missing ResetEvent and possible missing request handling fix (Orin Eman) - additional fixes c129: use of spinlocks and critical sections in windows_compat.c for mutexes (Orin Eman, Michael Plante) c130: fixed missing spinlock in exit_polling c131: made spinlock static, changed to LONG, and casted off volatile in InterlockedExchange calls (Michael Plante) c132: additional security checks when entering critical sections in windows_compat.c c133: brought latest master commits to the concurrency branch [r119 -> r122] c134: fixed unfortunate inverted comparison introduced in c132 c135: fixed timer thread warnings with MinGW c136: brought latest master commits to the concurrency branch [r123 -> r126] c137: removed pthread.h and sched.h includes from windows_usb.c | ||||
* | r126: fixed sscanf_s test for MSVC6 users | Pete Batard | 2010-01-30 | 1 | -1/+1 |
| | |||||
* | r125: oops - fixed check for OS_WINDOWS in previous patch | Pete Batard | 2010-01-30 | 1 | -1/+1 |
| | |||||
* | r124: removes #error on previous commit and fixes thing ourselves | Pete Batard | 2010-01-30 | 2 | -13/+13 |
| | |||||
* | r123: reverted the use of usb_interface in core and forced interface to be ↵ | Pete Batard | 2010-01-29 | 5 | -32/+45 |
| | | | | undefined always on Windows | ||||
* | r122: fixed poll conflict on cygwin (all compat functions renamed to ↵ | Pete Batard | 2010-01-28 | 6 | -35/+34 |
| | | | | | | | _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 | 3 | -6/+6 |
| | |||||
* | r119: xusb improvements for mass storage (Alan Stern) | Pete Batard | 2010-01-27 | 2 | -50/+89 |
| | |||||
* | r118: more readable xusb output and added automated endpoint generation for ↵ | Pete Batard | 2010-01-26 | 1 | -58/+71 |
| | | | | Mass Storage | ||||
* | r117: fixed missing API_EXPORTED for the new libusb_strerror call | Pete Batard | 2010-01-26 | 1 | -1/+1 |
| | |||||
* | r116: DDK build completion (Orin Eman): | Pete Batard | 2010-01-26 | 7 | -3/+141 |
| | | | | | | - 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 | 3 | -1/+53 |
| | |||||
* | r114: sources update and build script (Orin Eman) | Pete Batard | 2010-01-25 | 4 | -18/+80 |
| | | | | | OACR 28719 warning removal (Orin Eman) minor code cleanup | ||||
* | r113: HID part 4 (feature complete) + rc file copyright update (Peter Stuge) | Pete Batard | 2010-01-25 | 3 | -26/+176 |
| | |||||
* | r112: fixed missing mutex unlock on malloc fail, and destroy mutex/cv in ↵ | Michael Plante | 2010-01-25 | 1 | -1/+13 |
| | | | | usbi_io_exit | ||||
* | r111: destroy core.c mutexes when done, and fix a few unlikely memory leaks | Michael Plante | 2010-01-24 | 1 | -1/+13 |
| | |||||
* | r110: fixed missing handle_timeouts_locked, which was removed with r102 | Pete Batard | 2010-01-24 | 1 | -0/+45 |
| | |||||
* | r109: workaround for broken timercmp on both windows and some posix systems ↵ | Michael Plante | 2010-01-24 | 1 | -1/+1 |
| | | | | (latter according to linux manpage, which says glibc does not have this problem) | ||||
* | r108: Made version info more easily configurable by hand and made ↵ | Michael Plante | 2010-01-24 | 1 | -8/+25 |
| | | | | OriginalFilename depend on debug vs release | ||||
* | r107: removed unnecessary dependency on MFC in the resource script | Pete Batard | 2010-01-24 | 1 | -2/+2 |
| | |||||
* | r106: Fixed leak in usbi_alloc_device when pthread_mutex_init fails | Michael Plante | 2010-01-24 | 1 | -1/+3 |
| | |||||
* | r105: added MS Sidewinder HID test in xusb.c + minor changes/improvements | Pete Batard | 2010-01-23 | 3 | -13/+91 |
| | |||||
* | r104: thread safety change for pipe_number global | Michael Plante | 2010-01-23 | 1 | -2/+5 |
| | | | | Signed-off-by: Michael Plante <michael.plante@gmail.com> | ||||
* | r103: HID part 3 (WIP) | Pete Batard | 2010-01-22 | 3 | -371/+487 |
| | | | | | | | | - get_interface_details() now has an optional SP_DEVINFO_DATA parameter - usbi_handle_transfer_cancellation() now called from windows_cancel_transfer() - set_report/get_report (WIP) and improved HID support functions - better support for sync I/O in hid_submit_control_transfer - hid_abort_transfers | ||||
* | r102: handle_timeouts() CORE modification | Pete Batard | 2010-01-22 | 1 | -28/+33 |
| | | | | | - apply the same trick as usbi_handle_disconnect() to handle_timeouts(), so that usbi_handle_transfer_cancellation() can now be called from the backend without locking after a timeout. - remove the unneeded handle_timeouts_locked() | ||||
* | r101: MSVC6 & VS 2005 updates (Michael Plante & Orin Eman) | Pete Batard | 2010-01-21 | 10 | -37/+717 |
| | |||||
* | r100: added MSVC6 project files (Michael Plante) | Pete Batard | 2010-01-21 | 5 | -0/+608 |
| | |||||
* | r99b: oops - fixed removal of API_EXPORTED | Pete Batard | 2010-01-21 | 1 | -0/+3 |
| | |||||
* | r99: DDK/sources x64 final fix and additional MSVC fixes (/MT) | Pete Batard | 2010-01-21 | 6 | -26/+17 |
| | |||||
* | r98: additional MSVC6 fixes | Pete Batard | 2010-01-21 | 3 | -17/+17 |
| | |||||
* | r97: minor fixes for cygwin and sources | Pete Batard | 2010-01-21 | 3 | -7/+6 |
| | |||||
* | r96: added sources support (Orin Eman) | Pete Batard | 2010-01-21 | 4 | -5/+68 |
| | |||||
* | r95: added .rc file for DLL (Michael Plante & Orin Eman) | Pete Batard | 2010-01-21 | 3 | -6/+142 |
| | |||||
* | r94: removed the need for DDK includes + minor fixes | Pete Batard | 2010-01-21 | 3 | -94/+285 |
| | |||||
* | r93: HID part 2 (WIP) | Pete Batard | 2010-01-20 | 5 | -107/+805 |
| | | | | | | | | | | - added composite HID device support in xusb.c - fixed signed/unsigned bug in windows_compat.c (Orin Eman) - added support for synchronous completion of async requests - composite HID device support (ClassGUID fallback for driver unavail., read interface number from MI_##, extra path for HID) - generic interface_by_endpoint and get_valid_interface - added HID struct in priv - HID submit_control_transfer | ||||
* | r92: updated .gitignore | Pete Batard | 2010-01-20 | 1 | -0/+6 |
| | |||||
* | r91: additional MSVC fixes | Pete Batard | 2010-01-19 | 1 | -16/+12 |
| | | | | | - use of api/sdkddkver.h for Win7 version and greater reliance on DDK files (Orin Eman) - reorganized includes in windows_usb.c | ||||
* | r90: more compilation environment fixes: | Pete Batard | 2010-01-19 | 13 | -30/+952 |
| | | | | | | - added Visual Studio 2005 (MSVC8) solution and project files (Orin Eman) - renamed VS 2008 solution and project files - fixed "warning: undefined symbols not allowed" for MinGW/cygwin in configure.ac | ||||
* | r89: extended API support | Pete Batard | 2010-01-18 | 4 | -128/+635 |
| | | | | | | | | | - composite devices as a separate backend API - mutidriver support in composite devices interface - HID: device interface path, open/close (WIP) - added HID test in xusb.c - fixed Windows version and DDK support - smaller fixes | ||||
* | r88: final fix for MSVC/x64 (long in Windows' timeval struct) | Pete Batard | 2010-01-16 | 1 | -3/+4 |
| |