summaryrefslogtreecommitdiff
path: root/libusb
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-072-28/+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-062-86/+217
| | | | | | | | - 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
* 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-023-44/+44
| | | | | | 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)
* 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
* 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-301-11/+11
|
* r123: reverted the use of usb_interface in core and forced interface to be ↵Pete Batard2010-01-294-27/+24
| | | | undefined always on Windows
* r122: fixed poll conflict on cygwin (all compat functions renamed to ↵Pete Batard2010-01-285-32/+31
| | | | | | | _libusb_####) - fixed sscanf_s undefined for non MS compilers - fixed cygiwn warnings in windows_usb.c
* 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-262-0/+3
| | | | | | - 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-252-0/+52
|
* r114: sources update and build script (Orin Eman)Pete Batard2010-01-253-18/+19
| | | | | OACR 28719 warning removal (Orin Eman) minor code cleanup
* r113: HID part 4 (feature complete) + rc file copyright update (Peter Stuge)Pete Batard2010-01-252-25/+175
|
* 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)
* 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-232-5/+9
|
* 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-222-369/+485
| | | | | | | | - 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()
* r99: DDK/sources x64 final fix and additional MSVC fixes (/MT)Pete Batard2010-01-211-1/+1
|
* r98: additional MSVC6 fixesPete Batard2010-01-212-1/+7
|
* r97: minor fixes for cygwin and sourcesPete Batard2010-01-213-7/+6
|
* r96: added sources support (Orin Eman)Pete Batard2010-01-214-5/+68
|
* r94: removed the need for DDK includes + minor fixesPete Batard2010-01-212-93/+284
|
* r93: HID part 2 (WIP)Pete Batard2010-01-204-104/+796
| | | | | | | | | | - 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
* r91: additional MSVC fixesPete Batard2010-01-191-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 Batard2010-01-191-1/+1
| | | | | | - 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 supportPete Batard2010-01-182-124/+623
| | | | | | | | | - 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 Batard2010-01-161-3/+4
|
* r86: VS2005 compatibility update and pthread-win32_x64 helpersPete Batard2010-01-161-1/+1
| | | | Minor comment clarification in libusb.h
* r85: fixed MSVC warnings for x64 and reverted ssize_t to int for ↵Pete Batard2010-01-165-8/+17
| | | | libusb_get_device_list change introduced with r52. Added definition on ssize_t in libusb.h for MSVC platforms.
* r81: amend previous workaround (should only apply to non Windows platforms)Pete Batard2010-01-151-9/+6
|
* r80: workaround for interface macro redefinition on Windows (removes the ↵Pete Batard2010-01-157-93/+95
| | | | need for #undef interface in end user sources)