Commit Graph

  • c1f00180ff r126: fixed sscanf_s test for MSVC6 users Pete Batard 2010-01-30 21:00:23 +00:00
  • f95401139f r125: oops - fixed check for OS_WINDOWS in previous patch Pete Batard 2010-01-30 14:50:44 +00:00
  • bf4f54160c r124: removes #error on previous commit and fixes thing ourselves Pete Batard 2010-01-30 01:40:41 +00:00
  • afe70cedf7 r123: reverted the use of usb_interface in core and forced interface to be undefined always on Windows Pete Batard 2010-01-29 20:04:35 +00:00
  • 47c83183c0 r122: fixed poll conflict on cygwin (all compat functions renamed to _libusb_####) - fixed sscanf_s undefined for non MS compilers - fixed cygiwn warnings in windows_usb.c Pete Batard 2010-01-28 23:18:52 +00:00
  • 37b685c355 r121: some more small improvements for xusb.c (vid:pid as cmdline parameter) Pete Batard 2010-01-28 15:56:04 +00:00
  • c69d51d779 r120: vc2005 express fixes (Orin Eman) Pete Batard 2010-01-28 13:32:38 +00:00
  • 388620e21f r119: xusb improvements for mass storage (Alan Stern) Pete Batard 2010-01-27 21:23:31 +00:00
  • fa2f3231db r118: more readable xusb output and added automated endpoint generation for Mass Storage Pete Batard 2010-01-26 15:32:57 +00:00
  • 8271c03ee4 r117: fixed missing API_EXPORTED for the new libusb_strerror call Pete Batard 2010-01-26 02:05:53 +00:00
  • 03265db68a r116: DDK build completion (Orin Eman): - lsusb/xusb sources + ddk_build call - missing libusb_strerror in .def - removed "handle_timeouts_locked unused" warning in in io.c for MinGW Pete Batard 2010-01-26 01:46:17 +00:00
  • 9459dd37f0 r115: added libusb_strerror (Francesco Montorsi) Pete Batard 2010-01-25 22:21:31 +00:00
  • f581c91677 r114: sources update and build script (Orin Eman) OACR 28719 warning removal (Orin Eman) minor code cleanup Pete Batard 2010-01-25 21:55:46 +00:00
  • 95eccbda1f r113: HID part 4 (feature complete) + rc file copyright update (Peter Stuge) Pete Batard 2010-01-25 17:39:29 +00:00
  • 60b10a1c31 r112: fixed missing mutex unlock on malloc fail, and destroy mutex/cv in usbi_io_exit Michael Plante 2010-01-25 00:58:33 -06:00
  • b5eed0cacc r111: destroy core.c mutexes when done, and fix a few unlikely memory leaks Michael Plante 2010-01-24 17:15:36 -06:00
  • 849d2915d6 r110: fixed missing handle_timeouts_locked, which was removed with r102 Pete Batard 2010-01-24 23:21:26 +00:00
  • 04ff7aab6a r109: workaround for broken timercmp on both windows and some posix systems (latter according to linux manpage, which says glibc does not have this problem) Michael Plante 2010-01-24 14:39:59 -06:00
  • c1978b3955 r108: Made version info more easily configurable by hand and made OriginalFilename depend on debug vs release Michael Plante 2010-01-24 09:32:08 -06:00
  • 8949436aaf r107: removed unnecessary dependency on MFC in the resource script Pete Batard 2010-01-24 22:46:36 +00:00
  • 5869484e21 r106: Fixed leak in usbi_alloc_device when pthread_mutex_init fails Michael Plante 2010-01-23 18:28:50 -06:00
  • 628bd43bc2 r105: added MS Sidewinder HID test in xusb.c + minor changes/improvements Pete Batard 2010-01-23 23:28:55 +00:00
  • 6b34ff4ed7 r104: thread safety change for pipe_number global Signed-off-by: Michael Plante <[email protected]> Michael Plante 2010-01-22 19:58:40 -06:00
  • c7fa44ff83 r103: HID part 3 (WIP) - 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 Pete Batard 2010-01-22 20:25:55 +00:00
  • f0d3526217 r102: handle_timeouts() CORE modification - 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() Pete Batard 2010-01-22 20:08:15 +00:00
  • 72c4defd45 r101: MSVC6 & VS 2005 updates (Michael Plante & Orin Eman) Pete Batard 2010-01-21 20:01:45 +00:00
  • dba186a53d r100: added MSVC6 project files (Michael Plante) Pete Batard 2010-01-21 18:40:19 +00:00
  • fe531d9ad5 r99b: oops - fixed removal of API_EXPORTED Pete Batard 2010-01-21 17:41:47 +00:00
  • 5e98c8b1a3 r99: DDK/sources x64 final fix and additional MSVC fixes (/MT) Pete Batard 2010-01-21 17:38:43 +00:00
  • a535ea35cd r98: additional MSVC6 fixes Pete Batard 2010-01-21 12:10:43 +00:00
  • c8bec80afb r97: minor fixes for cygwin and sources Pete Batard 2010-01-21 11:19:59 +00:00
  • 3fa6b35e7e r96: added sources support (Orin Eman) Pete Batard 2010-01-21 02:55:30 +00:00
  • 0c568de2e3 r95: added .rc file for DLL (Michael Plante & Orin Eman) Pete Batard 2010-01-21 01:52:52 +00:00
  • 0fc4348172 r94: removed the need for DDK includes + minor fixes Pete Batard 2010-01-21 01:34:53 +00:00
  • 5590301e7f r93: HID part 2 (WIP) - 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 Pete Batard 2010-01-20 20:29:45 +00:00
  • 8242029421 r92: updated .gitignore Pete Batard 2010-01-20 01:59:09 +00:00
  • 4375c79225 r91: additional MSVC fixes - use of api/sdkddkver.h for Win7 version and greater reliance on DDK files (Orin Eman) - reorganized includes in windows_usb.c Pete Batard 2010-01-19 01:36:19 +00:00
  • e158221159 r90: more compilation environment fixes: - 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 Pete Batard 2010-01-19 00:55:30 +00:00
  • 7a8f7d1826 r89: extended API support - 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 Pete Batard 2010-01-18 20:32:38 +00:00
  • 2012ca7b23 r88: final fix for MSVC/x64 (long in Windows' timeval struct) Pete Batard 2010-01-16 22:45:00 +00:00
  • ed6d3b36b8 r87: fixed empty lines at the start of sln files Pete Batard 2010-01-16 22:24:30 +00:00
  • d2f60798db r86: VS2005 compatibility update and pthread-win32_x64 helpers Minor comment clarification in libusb.h Pete Batard 2010-01-16 15:20:51 +00:00
  • a93cef02ff r85: fixed MSVC warnings for x64 and reverted ssize_t to int for libusb_get_device_list change introduced with r52. Added definition on ssize_t in libusb.h for MSVC platforms. Pete Batard 2010-01-16 01:20:45 +00:00
  • 12e3f9c159 r84: updated README_MSVC.txt Pete Batard 2010-01-15 22:07:00 +00:00
  • d3fbf0f066 r83: missing vcproj for the DLL Pete Batard 2010-01-15 21:10:57 +00:00
  • 5f46b891de r82: added x64 support for MSVC and finalized directory structure. Also amended README_MSVC.txt to reflect a better setup for the required DDK directories Pete Batard 2010-01-15 20:59:54 +00:00
  • 82ab1e7dc6 r81: amend previous workaround (should only apply to non Windows platforms) Pete Batard 2010-01-15 20:57:52 +00:00
  • b96e16e75f r80: workaround for interface macro redefinition on Windows (removes the need for #undef interface in end user sources) Pete Batard 2010-01-15 12:35:02 +00:00
  • 8981e69c7d r79: fixed remaining cygwin warnings (toupper casts) Pete Batard 2010-01-15 03:41:52 +00:00
  • 4c00402587 r78: fixed remaining cygwin warnings (missing prototypes) Pete Batard 2010-01-15 03:15:09 +00:00
  • 9db92e640a r77: fixed non executable perm of autogen.sh Pete Batard 2010-01-15 01:26:13 +00:00
  • 3cb9ac7d88 r76: added cygwin support - use AM_CFLAGS instead of CFLAGS (configure.ac) - added -Werror in visibility attribute test to properly detect on cygwin (configure.ac) - moved -Wshadow to AM_CFLAGS and disabled it on cygwin (configure.ac) - emulated _open_osfhandle in windows_compat.c - removed unneeded <tchar> include in windows_usb.c Pete Batard 2010-01-15 01:19:47 +00:00
  • 1626ee0042 r75: fixed missing <stdarg.h> include in xusb.c for UNIX platforms Pete Batard 2010-01-14 15:50:39 +00:00
  • 40e8e4185a r74: fixes CR/LF conversions introduced with previous changes Pete Batard 2010-01-14 15:44:47 +00:00
  • e6ef1694db r73: moved -pthread option to CFLAGS for platforms that need it Pete Batard 2010-01-14 14:09:46 +00:00
  • 995c7df391 fixed MSVC warnings (/W4 or MSVC6) Pete Batard 2010-01-14 13:34:11 +00:00
  • e452335742 Fix CR/LF inconsistencies Pete Batard 2010-01-14 12:57:07 +00:00
  • 6cc0e6afc4 svn r70 (last import from svn): - fixed the non retrieval of interface #0 on some specific conditions (PROPER) Pete Batard 2010-01-14 01:44:36 +00:00
  • 48c56e2682 svn r68: - fixed improper WINVER for Visual Studio on Windows 7 and DDK include errors Pete Batard 2010-01-14 01:43:51 +00:00
  • 9ab74d5af1 svn r66: - fix for the infamous XP port number issue (using SPDRP_ADDRESS) Pete Batard 2010-01-14 01:43:10 +00:00
  • 08a9b98aff svn r65: - fixed improper selection of Release instead of Debug, for Debug conf in sln file Pete Batard 2010-01-14 01:42:18 +00:00
  • cc67a67e8f svn r64: - added .def file for MSVC6 dll build (Michael Plante) - prevented conflicts with pdb and HTML logs for lsusb & xusb Pete Batard 2010-01-14 01:41:28 +00:00
  • 83b01ba2dd svn r63: - updated Visual Studio 2008 projects files (fixed missing options for Debug) Pete Batard 2010-01-14 01:40:09 +00:00
  • fdcf676350 svn r62: More MSVC6 compatibility - perr() without variadic in xusb.c (Michael Plante) - dropped LOOP_CONTINUE variadic in windows_usb.c Pete Batard 2010-01-14 01:39:29 +00:00
  • f6a685a4ea svn r61: - fixes improper allocation of overlapped in pipe_for_poll() Pete Batard 2010-01-14 01:39:04 +00:00
  • f004b2d00d svn r60: - fixed missing warning for failure to detect port# on XP (added failed string details) Pete Batard 2010-01-14 01:38:23 +00:00
  • e026f61422 svn r59: - MSVC6 fixes for variadic log macros (Michael Plante) Pete Batard 2010-01-14 01:37:47 +00:00
  • 29ed28f769 svn r58: - fixed missing warning for failure to detect port# on XP Pete Batard 2010-01-14 01:37:05 +00:00
  • c9bc1c48ad svn r56: - MSVC6 compatible printb in windows_compat.c Pete Batard 2010-01-14 01:36:07 +00:00
  • aace9f53a0 svn r55: - fixes list_for_each_entry calls for Darwin and Linux Pete Batard 2010-01-14 01:35:29 +00:00
  • 71613013b9 svn r54: - fixes missing config_msvc.h Pete Batard 2010-01-14 01:34:40 +00:00
  • a32c101a47 svn r52: MSVC compatibility update: - changed ssize_t to int for libusb_get_device_list (do we really expect that many devices?). Also in lsusb.c - redefined inline to __inline in libusb.h - remove the unistd.h include for OS_WINDOWS - api/ vs ddk/ for ddk includes - changed variadics using ,fmt... to ,... and __VA_ARGS__ - list_for_each_entry now requires a type parameter - libusb_cpu_to_le16 as inline - time.h vs sys/time.h - harmonization of #ifdef vs #if defined() within individual files - defined an empty __drv_preferredFunction(func,why) before #include <cfgmgr32.h>, as it only applies to obsolete functions - excluded USB_HUB_CAPS redefinition from MSVC - new msvc top directory for includes (stdint.h inttypes.h and pthread) - new config_msvc.h file - new README_MSVC and MSVC project files - removed various warnings (signed/unsigned comparisons, cast, etc) Pete Batard 2010-01-14 01:31:38 +00:00
  • ff8fec009e svn r51: - Fix to use the proper pthread-win32 library name ('libpthreadGC2.a') with MinGW Pete Batard 2010-01-14 01:29:12 +00:00
  • 3d2f8edda5 svn r50: - MSVC6 compatibility (Michael Plante): new driver backend implementation and other compatibility fixes Pete Batard 2010-01-14 01:28:23 +00:00
  • 94c6737e0f svn r48: - less annoying windows_set_configuration Pete Batard 2010-01-14 01:27:50 +00:00
  • e44f764c22 svn r46: - auto-claim of interface for control transfers (improves v0.1 compatibility) Pete Batard 2010-01-14 01:27:09 +00:00
  • 762989c9ba svn r44: - fixed configure.ac for libusb handled timeouts - fixed crash on invalid fds in windows_compat.c - xusb improvements for mass storage test Pete Batard 2010-01-14 01:26:34 +00:00
  • 191930f700 svn r42: - code cleanup - device reset improvement (tentative) - inquiry request for Mass Storage in xusb.c Pete Batard 2010-01-14 01:26:01 +00:00
  • 0cf1a367fa svn r40: - feature complete! - added transfer cancellation - added device reset - additional code cleanup Pete Batard 2010-01-14 01:25:18 +00:00
  • 055b0136bf svn r38: - bulk/interrupt I/O at last! - endpoint handling - minor code improvements Pete Batard 2010-01-14 01:24:28 +00:00
  • 434caf7c49 svn r37: - windows_set_interface_altsetting (untested) - windows_set_configuration (untested) - updated xusb.c test program, with comprehensive XBox Controller test and preparation for bulk transfers test on Mass Storage device Pete Batard 2010-01-14 01:23:19 +00:00
  • 368130bd31 svn r35: - new non-controversial composite device interface enumeration - full XP support with port number detection workaround trade-off - dropped read_registry_key - dropped get_composite_interface_path - factorized interface details enumeration - dropped requirement -lws2_32 from configure.ac and added -lole32 (for string to GUID conversion) - removed debug mode from windows_compat.c Pete Batard 2010-01-14 01:22:31 +00:00
  • f688da4ae7 svn r33: - ControlSet001 vs CurrentControlSet fix - IOCTL_USB_GET_HUB_CAPABILITIES vs IOCTL_USB_GET_HUB_CAPABILITIES_EX fix Pete Batard 2010-01-14 01:21:27 +00:00
  • 13fb3cf6be svn r31: - poll improvements (fd mutex locks, ...) - minor improvements and bugfixes Pete Batard 2010-01-14 01:20:44 +00:00
  • 0d7fe86147 svn r29: - "poll we can believe in" (requires superficial modifications to core files) - move the "interface" fix into windows_compat.h Pete Batard 2010-01-14 01:19:29 +00:00
  • e36fa2bba9 svn r27: - redesigned posix compatibility layer (poll & pipe) - library control pipe support (WIP) Pete Batard 2010-01-14 01:17:48 +00:00
  • bdcbace881 svn r25: - WinUSB composite device support (with DeviceClasses registry lookup) - better interface handling - other minor improvements Pete Batard 2010-01-14 01:16:33 +00:00
  • eacdaf7c21 svn r22: Partial async I/O (control only) with custom poll and OVERLAPPED pointers as fds. Should read device strings. Also some provisions for composite devices. Pete Batard 2010-01-14 01:15:20 +00:00
  • f47443958e svn r18: basic open/close & claim/release interface + detection of WinUSB and driverless devices (priv->driver) Pete Batard 2010-01-14 01:14:09 +00:00
  • 0768325f83 svn r13: add winusb to the mix: query first interface and pipes on device open Pete Batard 2010-01-14 01:12:45 +00:00
  • 107c5d988d svn r12: hires timer fix (v3) - uses picoseconds and thread affinity Pete Batard 2010-01-14 01:12:16 +00:00
  • 967842d93c svn r11: remove dpfp compilation (doesn't work on Windows) and add the xusb test program Pete Batard 2010-01-14 01:11:25 +00:00
  • edae10e465 svn r10: device descriptors and config descriptors caching code cleanup Pete Batard 2010-01-14 01:10:14 +00:00
  • 9696c973e4 svn r9: general code cleanup Pete Batard 2010-01-14 01:09:07 +00:00
  • 1d5dc87cb6 svn r8: remove handles from private structures plus init cleanup Pete Batard 2010-01-14 01:08:33 +00:00
  • eb090e7c3a svn r7: initialize paths for non hub devices Pete Batard 2010-01-14 01:07:39 +00:00
  • 58f65adc31 svn r6: add configuration descriptors retrieval Pete Batard 2010-01-14 01:04:57 +00:00
  • 4998935ad3 svn r5: code cleanup (mostly hub enumeration) and completion Pete Batard 2010-01-14 01:00:41 +00:00
  • aa118f2c02 svn r4: revert back to using interface for variable names as in master branch Pete Batard 2010-01-14 00:58:30 +00:00
  • ed8c467fca svn r3: clock_getime plus small fixes Pete Batard 2010-01-14 00:37:54 +00:00