399 Commits

Author SHA1 Message Date
Pete Batard ccc8239a84 fixed 2005 vcproj file (Martin Kaiser) r210 2010-03-17 01:43:40 +00:00
Pete Batard 8715b79e7a fixed problems with previous fix r209 2010-03-17 01:36:39 +00:00
Pete Batard b92fa32a29 fixed use of original_handle in lieu of handle (Graeme Gill) r208 2010-03-15 23:08:32 +00:00
Pete Batard f06e130f77 added partial CancelIoEx emulation for XP and earlier
also added warning when CancelIo tries to cancel I/O started
from another thread
r207
2010-03-15 13:54:09 +00:00
Pete Batard 78710622a4 fixed NTSTATUS issue with MinGW (Xiaofan Chen) r206 2010-03-14 22:51:32 +00:00
Pete Batard 8c1de7a64d remove buggy "completed_synchronously" flag (Graeme Gill)
setting this flag in windows_usb.c could be missed by poll
use the overlapped.Internal status instead
r205
2010-03-12 12:59:04 +00:00
Pete Batard 2b47cdb7c8 fixed continuous polling during timeout (Graeme Gill) r204 2010-03-11 13:58:32 +00:00
Pete Batard b35a7e03dc moved usbi_fd_notification call after usbi_add_pollfd r203 2010-03-10 20:39:07 +00:00
Pete Batard f4b7fdd527 fixed build error with DDK 6001 r202 2010-03-09 15:49:32 +00:00
Pete Batard e23692f3ea _stdcall calling convention for VS2005 DLL project files
also keeps default calling convention for non DLL project files with VS2008
r201
2010-03-08 20:26:30 +00:00
Pete Batard 19f97761a0 xusb improvements (parameters checks) r200 2010-03-08 20:14:05 +00:00
Pete Batard 3b33bade39 fix libtool issue when building shared libs with Chinese locale
This patch modifies the ltmain.sh (and therefore libtool) scripts to
force the locale to C, even if not defined.
r199
2010-03-08 00:40:31 +00:00
Pete Batard bb6dcbdf19 removed unneeded versioning/options from autotool scripts r198 2010-03-06 00:39:09 +00:00
Pete Batard 858b13ab77 moved libusb-1.0.rc to libusb/ (where the .def is located) 2010-03-06 00:37:21 +00:00
Pete Batard 4ef54da318 removed resource.h 2010-03-06 00:21:40 +00:00
Pete Batard 122229e5f9 added .rc info to DLLs produced with MinGW/cygwin r197 2010-03-05 20:11:14 +00:00
Pete Batard 0da28601fa revert debug changes from previous commit r196 2010-03-05 02:26:44 +00:00
Pete Batard 14fb6e2622 remove "-0" suffix for MinGW/cygwin generated DLLs
See "7.2 Libtool's versioning system" and "4.2 Link mode"
of the GNU libtool documentation.
r195
2010-03-05 01:59:01 +00:00
Pete Batard 842c719c2f fixed unref of devices that already exist (Travis Robinson) r194 2010-03-05 00:13:51 +00:00
Pete Batard 51509cff24 small improvements and cleanup suggested by Graeme Gill r193 2010-03-04 16:00:51 +00:00
Pete Batard 90b88cbddf fixed uint64_t warnings (Graeme Gill) r192 2010-03-04 00:25:14 +00:00
Pete Batard 666106e836 more residual cleanup (Michael Plante) r191 2010-03-03 20:36:46 +00:00
Pete Batard bb23fcc74b removed unneeded CMAPI definition r190 2010-03-03 20:32:24 +00:00
Pete Batard 5ca0d11008 residual corrections from previous commits (Michael Plante) r189 2010-03-03 20:19:44 +00:00
Pete Batard ad460bca72 dynamically load Cfgmgr32.dll exports (Graeme Gill) r188 2010-03-03 20:17:15 +00:00
Pete Batard 6320efeb75 changed calling convention to __stdcall (VS2008) 2010-03-03 16:41:35 +00:00
Pete Batard 9ac1a90bdf added msvc/config.h inclusion error for MinGW/cygwin r187 2010-03-03 02:56:27 +00:00
Pete Batard b25d4fd10c better fix for poll_dbg and MSVC6 r186 2010-03-02 20:46:46 +00:00
Pete Batard f20223074c removed poll_dbg to keep MSVC6 users happy r185 2010-03-02 20:34:35 +00:00
Pete Batard efee8c0871 fixed cygwin warning with poll_dbg r184 2010-03-02 16:18:27 +00:00
Pete Batard 32f130a540 renamed windows_compat to poll_windows 2010-03-02 16:13:33 +00:00
Pete Batard 35d428fd02 renamed unistd_posix.h to poll_posix.h 2010-03-02 15:57:46 +00:00
Pete Batard 4c38f2bef9 fixed MinGW warnings 2010-03-02 15:53:43 +00:00
Pete Batard 12f7a5344e poll fd notification improvements (windows poll layer)
call usbi_fd_notification on new fd
also improves DYNAMIC_FDS option
2010-03-02 15:41:07 +00:00
Pete Batard 4637f267b0 poll fd notification improvements (core)
factorized code from libusb_open into new function usbi_fd_notification
2010-03-02 15:39:01 +00:00
Pete Batard 4072ec828c use usbi logging facility in poll layer 2010-03-01 18:19:50 +00:00
Pete Batard 1c72741123 reattach driver when detached in xusb (Xiaofan Chen) r183 2010-03-01 16:43:48 +00:00
Pete Batard 158799ca3f xusb improvements for HID test: int. vs bulk (Xiaofan Chen) r182 2010-03-01 16:08:20 +00:00
Pete Batard a3e487f1b9 xusb improvements and fixes r181 2010-02-28 22:31:06 +00:00
Pete Batard f7c451a30c fixed issue with DYNAMIC_FDS (Jere Knaappila) r180 2010-02-26 13:22:09 +00:00
Pete Batard bdeed5cbbb fixed a typo in usbi_mutex_unlock
also added mutex release in libusb_unref_device
r179
2010-02-26 01:39:11 +00:00
Pete Batard fceedd4d30 fixed missing brackets that prevented DYNAMIC_FDS from working properly r178 2010-02-25 22:45:55 +00:00
Pete Batard cd5200d62b fixed small issue when HID get feature is not available r177 2010-02-25 20:25:54 +00:00
Pete Batard 778360b4e9 added nonbuffered stdio logging option in compatibility layer r176 2010-02-25 19:36:27 +00:00
Pete Batard b4859ac74c added fd detection update option in usbi_poll()
when DYNAMIC_FDS is enabled, poll returns with EINTR when fds are modified
2010-02-25 19:33:18 +00:00
Pete Batard f2297884fa reverts some of the changes from dbd439/6c7a1e (r173) r175 2010-02-24 23:04:03 +00:00
Pete Batard 2745941df4 exclude dpfp_threaded if pthread is not available (MinGW) r174 2010-02-24 22:18:41 +00:00
Pete Batard 6c7a1e0ca4 includes simplification and cleanup (os) r173 2010-02-24 22:06:18 +00:00
Pete Batard dbd439fa2c includes simplification and cleanup (core) 2010-02-24 22:05:40 +00:00
Pete Batard 0a40fde82d renamed _libusb_ unistd calls to usbi_ r172 2010-02-24 19:04:06 +00:00