412 Commits

Author SHA1 Message Date
Pete Batard 0758c0d9a9 fixed non duplicated overlapped event in usbi_pipe()
prevents MSVC debug from complaining about invalid handle on CloseHandle()
r218
2010-03-19 16:39:31 +00:00
Pete Batard 585cfa46f3 made sure usbi_close() is only called for the pipe (core) 2010-03-19 16:35:25 +00:00
Pete Batard 6ad309343b fixed "unable to cancel I/O" message on pipe closure (XP) r217 2010-03-19 13:39:53 +00:00
Pete Batard ee77b38b19 minor edits and changes (INSTALL_WIN, 2008 sln) 2010-03-19 13:16:56 +00:00
Pete Batard 4fb45e7328 README_MSVC.txt -> INSTALL_WIN.txt r216 2010-03-19 12:15:29 +00:00
Pete Batard e36b809e53 renamed 2005 and 2008 MSVC solution files
2005 will be used a master and the only one included in release.
2008 will be kept in the development tree only for convenience.
2010-03-19 11:43:14 +00:00
Pete Batard f569696ea9 libusb_pollfd() now returns an error on Windows r215 2010-03-18 20:17:19 +00:00
Peter Stuge f43d8e65db removed trailing whitespaces (Windows backend) r214b 2010-03-18 12:44:55 +00:00
Peter Stuge b7d9c71fb3 removed trailing whitespaces (core) 2010-03-18 12:43:34 +00:00
Pete Batard 8978ed4f59 fixed missing mutex for transfer access (Graeme Gill) r213 2010-03-18 01:14:51 +00:00
Pete Batard 7c8348fff2 simplified pipe/read/write by using a signaling event only r212 2010-03-18 00:47:42 +00:00
Pete Batard 307f3f4289 readability improvements in poll_windows.c r211 2010-03-17 14:59:20 +00:00
Pete Batard 070d871037 fixed typos in windows_usb.c (Graeme Gill) 2010-03-17 14:57:54 +00:00
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