Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r145: fixed memory leak in _libusb_pollr145 | Pete Batard | 2010-02-09 | 1 | -15/+27 |
| | |||||
* | r144: preliminary fix for composite HID mouse and keyboard detectionr144 | Pete Batard | 2010-02-08 | 1 | -0/+11 |
| | |||||
* | r143: fixed a couple of issues with HIDr143 | Pete Batard | 2010-02-08 | 1 | -4/+8 |
| | |||||
* | r142: - fixed claiming of interfaces >0 for non-composite (Dave C.) + better ↵r142 | Pete Batard | 2010-02-07 | 3 | -31/+43 |
| | | | | | | | autoclaim handling - moved compilation options from config_msvc.h to windows_usb.c - processed remaining TODOs | ||||
* | r141: HID I/O Overhaul:r141 | Pete Batard | 2010-02-06 | 4 | -133/+316 |
| | | | | | | | | - 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 | ||||
* | r140: further simplification of the core include sectionsr140 | Pete Batard | 2010-02-03 | 2 | -8/+2 |
| | |||||
* | r139: improved CancelIoEx vs CancelIo detection(Michael Plante, Orin Eman)r139 | Pete Batard | 2010-02-03 | 1 | -13/+11 |
| | |||||
* | r138b: oops - don't leave debug code in commits!r138b | Pete Batard | 2010-02-03 | 1 | -1/+0 |
| | |||||
* | r138: additional DDK/SDK versions checks for cancel_io inline (MSVC7+ users ↵r138 | Pete Batard | 2010-02-03 | 1 | -1/+6 |
| | | | | only) | ||||
* | r137: compat layer TODOs and small fixes:r137 | Pete Batard | 2010-02-02 | 4 | -22/+42 |
| | | | | | | - use CancelIoEx when available - handle pending Overlapped / extra data - move windows version to compat | ||||
* | 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 |
| |