Pete Batard
7b7157d5ba
fixed trac #68 (incorrect buffer size for HID reports)
...
* this regression was introduced in pbr301
* reported by gorlik
pbr313
2010-10-13 22:34:57 +01:00
Pete Batard
501f1e1a06
[INTERNAL - NOT FOR RELEASE] edit message for bump.sh
2010-10-13 22:33:02 +01:00
Pete Batard
5c7ef20119
fixed missing malloc check in htab_hash()
...
* spotted by Michael Plante
* also some cleanup
pbr312
2010-10-12 23:10:26 +01:00
Pete Batard
c7a064548d
bumped internal version
pbr311
2010-10-12 19:22:30 +01:00
Pete Batard
c6a552ee3c
hash function for session id now uses a proper hash table
...
* hash table functions modified from glibc (LGPL)
2010-10-12 19:21:29 +01:00
Pete Batard
f7b57e0b19
addressed TODOs from new_enum
...
* use realloc for unref
* pick VID/PID from PCI HCD
* cleanup
2010-10-11 19:14:03 +01:00
Pete Batard
bd5bd8a163
Windows enumeration overhaul
...
* changed device enumeration to rely on session ids (hashed device ID)
* all enumeration passes now occur in a single call
* also removed the separate HCD list (allows PCI hotplug of HCDs)
* additional cleanup
2010-10-11 12:49:02 +01:00
Pete Batard
16aa45995b
[INTERNAL - NOT FOR RELEASE] minor script updates
2010-10-07 21:56:37 +01:00
Pete Batard
46b1c51e94
bumped internal version
pbr310
2010-10-06 13:37:26 +01:00
Pete Batard
7b54f2789d
fixed missing $M_LDFLAGS from libusb/Makefile.am
...
* problem was introduced by recent -version-info patch from official
2010-10-06 13:34:01 +01:00
Pete Batard
0ee1745f01
bumped internal version
pbr309
2010-10-05 19:49:47 +01:00
Pete Batard
af66e5a985
fixed missed index -> _index in poll_windows.c debug messages
...
* follow up from cygwin shadow warning fix
2010-10-05 19:49:39 +01:00
Pete Batard
a5ea045efa
bumped internal version
pbr308
2010-10-05 14:07:51 +01:00
Pete Batard
34dd9c8bfe
fixed index shadow warnings from cygwin (from official)
2010-10-05 14:07:43 +01:00
Pete Batard
e0e7ffde56
small fixup to be in check with proposed official
2010-10-05 12:53:31 +01:00
Mike Frysinger
d4de93e6e9
Populate the pkg-config Libs.private field
2010-10-05 11:55:47 +01:00
Mike Frysinger
96a33edad3
Linux: fix build failure when CLOCK_MONOTONIC does not exist
...
This is not available on all platforms.
2010-10-05 11:53:18 +01:00
Daniel Drake
9e172a7829
Update libtool version info
...
With input from various people on the mailing list, update the libtool
versioning info and start to update this on every release.
The next libusb release will not need a change here. All following ones will.
2010-10-05 11:53:05 +01:00
Pete Batard
55b62476e3
bumped internal version
pbr307
2010-10-04 13:39:43 +01:00
Pete Batard
cf1b3cf3e9
fixed erroneous checks on SetupDi calls
2010-10-04 13:31:56 +01:00
Pete Batard
2590159c40
bumped internal version
pbr306
2010-09-21 15:44:53 +01:00
Pete Batard
91bb08eaba
[INTERNAL - NOT FOR RELEASE] removed string version handling from bump.sh
2010-09-21 15:44:44 +01:00
Pete Batard
c9502f2d1c
force the handling of version stringification in the .rc
...
* this removes the version string from libusb_version.h
2010-09-21 15:42:30 +01:00
Pete Batard
54e0ee800d
fixed missing def entries for function calls with no args
...
* this is needed for libusb_getversion() in MinGW32
2010-09-21 15:24:22 +01:00
Pete Batard
f391318695
bumped internal version
pbr305
2010-09-21 13:51:26 +01:00
Pete Batard
73a263bf20
[INTERNAL - NOT FOR RELEASE] added bump.sh script
2010-09-21 13:51:18 +01:00
Pete Batard
0c3fdebd60
minor .rc improvements
...
* remove no longer needed debug filename
* add NUL terminators & official URL
2010-09-21 12:10:55 +01:00
Pete Batard
9b4ff54b66
handle versioning through libusb_version.h
...
* libusb_version.h.in is now used to generate libusb_version.h
* removes the need for libusb-1.0.rc.in and libusbi.h.in
* new LIBUSB_PACKAGE_VERSION added as .rc can't stringify macros
2010-09-21 11:58:00 +01:00
Pete Batard
b9ce8875aa
fixed previous patch and updated .def for new calls
pbr304
2010-09-21 11:05:28 +01:00
Graeme Gill
b9823a693e
Fix a race condition
...
See http://sourceforge.net/mailarchive/message.php?msg_name=4BD920C5.3090909%40argyllcms.com
2010-09-21 10:51:38 +01:00
Ludovic Rousseau
6bbdc6128f
Add a missing argument to libusb_wait_for_event
...
In the libusb_wait_for_event() sample code for section "Letting other
threads do the work for you" libusb_wait_for_event() was used without the
struct timeval *tv parameter.
The sample code was invalid and could not be compiled.
2010-09-21 10:47:20 +01:00
Hector Martin
5e6cff30dc
Linux: Fix endian handling for usbfs/sysfs
...
usbfs endian-swaps, sysfs doesn't, not the other way around. This fixes
configurator descriptors in big-endian systems when using sysfs. usbfs
is untested.
Signed-off-by: Hector Martin <hector@marcansoft.com >
2010-09-21 10:40:39 +01:00
Pete Batard
46c16ccbf7
fixed .def generation broken by previous commit
pbr303
2010-09-20 23:51:39 +01:00
Pete Batard
6a3c5a6fa4
merged latest official changes
...
* up to e65f69a7ef
2010-09-20 16:09:23 +01:00
Pete Batard
dfc99bb006
replaced LIBUSB_API with LIBUSB_CALL
2010-09-20 15:39:26 +01:00
Pete Batard
94039837f6
added libusb version display to xusb
pbr302
2010-09-20 13:28:04 +01:00
Pete Batard
3713ffddf4
updated libusb-1.0.def for libusb_getversion()
2010-09-20 13:27:31 +01:00
Pete Batard
8afd26e510
added libusb_getversion()
...
* new struct libusb_version has also been defined
* libusbi.h.in is now being used to fill in the version from configure.ac
2010-09-20 13:27:00 +01:00
Pete Batard
a1f3c26bfa
added libusb version nano
2010-09-20 13:25:18 +01:00
Pete Batard
195e7beb2a
fixed missing winioctl.h header for cygwin
pbr301
2010-09-06 17:15:23 +01:00
Pete Batard
35f01dd9b1
use IOCTLs for HID reports (input, output, feature)
...
* fixes feature reports not providing actual read size (reported by Axel Rohde)
* removes the USE_HIDD_FOR_REPORTS macro
* IOCTL usage inspired from HIDAPI by Alan Ott
2010-09-06 16:54:41 +01:00
Pete Batard
16cb5e2e87
[INTERNAL - NOT FOR RELEASE] binary snapshots improvements
...
* one set of examples (static ones)
* adds examples source
* examples at root
2010-08-23 12:33:48 +01:00
Pete Batard
5006604a96
workaround for unavailable _strdup on MinGW32
pbr300
2010-08-21 01:29:36 +01:00
Pete Batard
34582d44ac
fixed possible buffer overflow in windows_error_str()
...
* also added removal of CR/LF
pbr299
2010-08-19 16:27:08 +01:00
Pete Batard
d981c21632
added full support for filter drivers
...
* precedence is driver > upper filter > lower filter and defined
in struct driver_lookup lookup from set_device_paths()
2010-08-19 16:18:25 +01:00
Pete Batard
e68165152f
added limited support for filter drivers
...
* first lower filter driver only
* driver currently has precedence over filter driver
pbr298
2010-08-18 21:25:05 +01:00
Pete Batard
443ee055b2
removed root from list of DDK include paths
...
* fixes an issue where DDK would use the config.h from MinGW/cygwin in root instead of using msvc's
pbr297
2010-08-17 16:26:14 +01:00
Pete Batard
02043e6e0e
removed _debug suffix for debug DLL
2010-08-17 15:49:14 +01:00
Pete Batard
bff90e0aa9
fixed errcode shadow warning in MinGW-w64 (windows backend)
pbr296
2010-08-17 13:40:23 +01:00
Pete Batard
ebe4dbd2ef
fixed errcode shadow warning in MinGW-w64 (core)
2010-08-17 13:35:44 +01:00