| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
| |
Use a new file descriptor from the timerfd system calls to handle
timeouts. On supported systems, this means that there is less hassle
figuring out when the poll() timeout should be, since
libusb_get_next_timeout() will always return 0 and the timeout events will
be triggered as regular activity on the file descriptor set.
Add API function libusb_pollfds_handle_timeouts() to detect whether
you're on a platform with the timing headache, and flesh out the
surrounding documentation.
|
| |
|
| |
|
| |
|
|
|
|
| |
...because the OS does this for us.
|
| |
|
|
|
|
|
| |
The -fvisibility and -Wno-pointer-sign options are not available on
old GCC versions.
|
| |
|
| |
|
|
|
|
| |
[dsd: tweak configure.ac change]
|
|
|
|
| |
It's here!
|
| |
|
|
|
|
|
|
|
| |
Contrary to libusb 0.1, libusb 1.0 does not support out-of-tree building
for the documentation part. This patch fixes that by using a
doxygen.cfg.in file, which contains @top_srcdir@ to refer to the
location of the libusb source code.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Hopefully mostly complete. Some constants were renamed and move into
enums.
|
|
|
|
| |
This also includes a libusb_get_pollfds API change
|
|
|
|
|
|
|
| |
Instead of timers, add a mechanism for informing the parent app when the
next timeout is due to happen, so that it can call us at that time.
As we no longer use signals, signalfd has also been removed.
|
|
|
|
| |
J F pointed out that this option only works on gcc 4.3 and newer.
|
|
|
|
|
| |
I've taken over the libusb project, and what was previously known as fpusb
will eventually be released as libusb-1.0.
|
|
|
|
| |
Also fix some warnings
|
|
Basic library structure which supports enumerating detected USB devices
|