| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
This frees up mental energy when reviewing patches and is something I
should have done a long time ago.
|
|
|
|
|
| |
The end year is legally and functionally redundant, and more importantly
causes cherry-pick conflicts when trying to maintain old branches.
|
| |
|
| |
|
|
|
|
|
|
| |
The libusb_set_pollfd_notifiers() function will only work on Linux and we can
use a thread to do exactly the same thing in a cross platform way with a lot
less code.
|
|
|
|
|
|
|
|
|
|
| |
As a result, g_usb_source_{new,destroy} have been moved to a private
header, and are called from the get_source and finalize methods of
GUsbContext.
Note that the GUsbSource is lazy allocated and only created when
g_usb_context_get_source is called for the first time for a particular
GUsbContext.
|
|
|
|
|
| |
This is because libusb_get_pollfds won't return NULL unless OOM or on
Windows, which is not supported at the moment.
|
| |
|
|
So that we can include our headers from other headers in the form of:
include <gusb/gusb-foo.h>
And still have a working local build.
|