summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* r145: fixed memory leak in _libusb_pollr145Pete Batard2010-02-091-15/+27
|
* r144: preliminary fix for composite HID mouse and keyboard detectionr144Pete Batard2010-02-081-0/+11
|
* r143: fixed a couple of issues with HIDr143Pete Batard2010-02-081-4/+8
|
* r142: - fixed claiming of interfaces >0 for non-composite (Dave C.) + better ↵r142Pete Batard2010-02-073-31/+43
| | | | | | | autoclaim handling - moved compilation options from config_msvc.h to windows_usb.c - processed remaining TODOs
* r141: HID I/O Overhaul:r141Pete Batard2010-02-064-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 sectionsr140Pete Batard2010-02-032-8/+2
|
* r139: improved CancelIoEx vs CancelIo detection(Michael Plante, Orin Eman)r139Pete Batard2010-02-031-13/+11
|
* r138b: oops - don't leave debug code in commits!r138bPete Batard2010-02-031-1/+0
|
* r138: additional DDK/SDK versions checks for cancel_io inline (MSVC7+ users ↵r138Pete Batard2010-02-031-1/+6
| | | | only)
* r137: compat layer TODOs and small fixes:r137Pete Batard2010-02-024-22/+42
| | | | | | - use CancelIoEx when available - handle pending Overlapped / extra data - move windows version to compat
* r136: updated .gitignore: added doxygen.cfg and xusb binaryr136Michael Plante2010-02-021-0/+2
|
* r135: stopped modifying errno if succeeded.r135Michael Plante2010-02-021-7/+11
|
* r134: fixed some silly /W3 warnings in MSVCr134Michael Plante2010-02-021-4/+4
|
* r133: fixed missing LONG_PTR reference using intptr_t instead since that's ↵r133Michael Plante2010-02-021-1/+1
| | | | in one of our headers
* r132: harmonized compatibility layer function names (_libusb prefix always, ↵r132Pete Batard2010-02-024-51/+69
| | | | | | rather than _for_poll suffix) additional minor xusb improvements.
* r131: fixed various /W4 warnings for MSVC (core files)r131Pete Batard2010-02-012-2/+2
|
* r130: fixed *size in HidD_GetPhysicalDescriptor and fixed various /W4 ↵Pete Batard2010-02-013-22/+35
| | | | warnings for MSVC (windows files)
* 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
* r128: additional cygwin fixes for concurrencyPete Batard2010-01-302-2/+4
|
* r127: merged concurrency branch with master (native improved concurrency ↵Pete Batard2010-01-303-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 usersPete Batard2010-01-301-1/+1
|
* r125: oops - fixed check for OS_WINDOWS in previous patchPete Batard2010-01-301-1/+1
|
* r124: removes #error on previous commit and fixes thing ourselvesPete Batard2010-01-302-13/+13
|
* r123: reverted the use of usb_interface in core and forced interface to be ↵Pete Batard2010-01-295-32/+45
| | | | undefined always on Windows
* r122: fixed poll conflict on cygwin (all compat functions renamed to ↵Pete Batard2010-01-286-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 Batard2010-01-281-16/+39
|
* r120: vc2005 express fixes (Orin Eman)Pete Batard2010-01-283-6/+6
|
* r119: xusb improvements for mass storage (Alan Stern)Pete Batard2010-01-272-50/+89
|
* r118: more readable xusb output and added automated endpoint generation for ↵Pete Batard2010-01-261-58/+71
| | | | Mass Storage
* r117: fixed missing API_EXPORTED for the new libusb_strerror callPete Batard2010-01-261-1/+1
|
* r116: DDK build completion (Orin Eman):Pete Batard2010-01-267-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 Batard2010-01-253-1/+53
|
* r114: sources update and build script (Orin Eman)Pete Batard2010-01-254-18/+80
| | | | | OACR 28719 warning removal (Orin Eman) minor code cleanup
* r113: HID part 4 (feature complete) + rc file copyright update (Peter Stuge)Pete Batard2010-01-253-26/+176
|
* r112: fixed missing mutex unlock on malloc fail, and destroy mutex/cv in ↵Michael Plante2010-01-251-1/+13
| | | | usbi_io_exit
* r111: destroy core.c mutexes when done, and fix a few unlikely memory leaksMichael Plante2010-01-241-1/+13
|
* r110: fixed missing handle_timeouts_locked, which was removed with r102Pete Batard2010-01-241-0/+45
|
* r109: workaround for broken timercmp on both windows and some posix systems ↵Michael Plante2010-01-241-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 Plante2010-01-241-8/+25
| | | | OriginalFilename depend on debug vs release
* r107: removed unnecessary dependency on MFC in the resource scriptPete Batard2010-01-241-2/+2
|
* r106: Fixed leak in usbi_alloc_device when pthread_mutex_init failsMichael Plante2010-01-241-1/+3
|
* r105: added MS Sidewinder HID test in xusb.c + minor changes/improvementsPete Batard2010-01-233-13/+91
|
* r104: thread safety change for pipe_number globalMichael Plante2010-01-231-2/+5
| | | | Signed-off-by: Michael Plante <michael.plante@gmail.com>
* r103: HID part 3 (WIP)Pete Batard2010-01-223-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 modificationPete Batard2010-01-221-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 Batard2010-01-2110-37/+717
|
* r100: added MSVC6 project files (Michael Plante)Pete Batard2010-01-215-0/+608
|
* r99b: oops - fixed removal of API_EXPORTEDPete Batard2010-01-211-0/+3
|
* r99: DDK/sources x64 final fix and additional MSVC fixes (/MT)Pete Batard2010-01-216-26/+17
|
* r98: additional MSVC6 fixesPete Batard2010-01-213-17/+17
|