Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Include the USB bus in the generated platform_id | Richard Hughes | 2020-02-14 | 1 | -11/+6 | |
| | | | | | | | | | | | The existing logic here was unsound; the recursion only checked the string for length 0 after it had gone up the tree to the parent, and so would never match. This meant if you had identical devices with the same port hierarchy on different USB busses they had the *same* physical ID. This really upsets projects like fwupd which use the physical ID to stay the same on device replug (which worked fine), but also dedupe devices with the same physical ID, which is what broke here. | |||||
* | trivial: Add exported symbol g_usb_version_string in the right place | Richard Hughes | 2020-02-11 | 1 | -0/+1 | |
| | | | | Fixes the last point in https://github.com/hughsie/libgusb/issues/27 | |||||
* | trivial: add missing symbols to ver file | Emmanuel Pacaud | 2020-02-11 | 1 | -0/+4 | |
| | ||||||
* | trivial: typo fix | Emmanuel Pacaud | 2020-02-11 | 1 | -1/+1 | |
| | ||||||
* | trivial: post release version bump | Richard Hughes | 2020-01-30 | 2 | -5/+5 | |
| | ||||||
* | Release version 0.3.30.3.3 | Richard Hughes | 2020-01-30 | 1 | -0/+12 | |
| | ||||||
* | trivial: Define a G_USB_DEVICE_CLAIM_INTERFACE_NONE rather than using '0' | Richard Hughes | 2020-01-21 | 1 | -0/+1 | |
| | ||||||
* | trivial: Use spaces and tabs consistently | Richard Hughes | 2020-01-21 | 7 | -263/+263 | |
| | ||||||
* | Wrap the upstream libusb_strerror() | Richard Hughes | 2020-01-21 | 2 | -39/+2 | |
| | | | | We depend on a libusb to always define this. | |||||
* | trivial: Remove useless gtk-doc comment sections | Richard Hughes | 2020-01-21 | 2 | -45/+0 | |
| | ||||||
* | Use '#pragma once' to reduce boilerplate | Richard Hughes | 2020-01-21 | 15 | -62/+15 | |
| | ||||||
* | trivial: Use SPDX-License-Identifier tags | Richard Hughes | 2020-01-21 | 25 | -360/+26 | |
| | ||||||
* | trivial: Fix the copyright statements for GUsbEndpoint | Richard Hughes | 2020-01-21 | 5 | -3/+5 | |
| | ||||||
* | trivial: Fix include dir for exported header | Richard Hughes | 2020-01-21 | 1 | -1/+1 | |
| | ||||||
* | Add a thin glib wrapper around libusb_endpoint_descriptor | Emmanuel Pacaud | 2020-01-20 | 8 | -0/+368 | |
| | ||||||
* | Fix high number of wakeups when checking the GUsbContext | Richard Hughes | 2020-01-20 | 1 | -2/+2 | |
| | | | | | | | | | | | In 985b9e4ec39ac521e7398a8e3017c96f2c4d75ec I mistakenly thought this was the timeout for the added/removed context checking, which was Windows-specific. It actually was the main context event thread, which is running all the time. Switch the poll timeout to be 2s, (still down from the default 60s!) which is a better compromise between battery life and context shutdown performance. Fixes https://github.com/hughsie/libgusb/issues/24 | |||||
* | trivial: post release version bump | Richard Hughes | 2020-01-06 | 2 | -5/+5 | |
| | ||||||
* | Release version 0.3.20.3.2 | Richard Hughes | 2020-01-06 | 2 | -3/+13 | |
| | ||||||
* | Fix compilation on macOS | Richard Hughes | 2019-12-04 | 1 | -1/+4 | |
| | | | | Fixes https://github.com/hughsie/libgusb/issues/11 | |||||
* | trivial: Create static and shared libraries where required | Richard Hughes | 2019-12-03 | 1 | -1/+1 | |
| | ||||||
* | Use a 1ms timeout in the Windows event thread | Richard Hughes | 2019-12-03 | 1 | -1/+5 | |
| | | | | | This avoids blocking for multiple seconds when trying to destroy the context, which could happen quite a few times in the self tests. | |||||
* | Do not use deprecated libusb API | Richard Hughes | 2019-12-03 | 2 | -0/+11 | |
| | ||||||
* | Use has_link_argument() to detect linker flags | Richard Hughes | 2019-12-03 | 1 | -2/+2 | |
| | ||||||
* | trivial: Move the CI to Fedora 31 | Richard Hughes | 2019-12-03 | 2 | -5/+5 | |
| | ||||||
* | trivial: Allow compiling as a subproject | Richard Hughes | 2019-11-23 | 2 | -1/+15 | |
| | ||||||
* | trivial: Don't force specific linker flash when cross building | Richard Hughes | 2019-11-23 | 1 | -1/+4 | |
| | ||||||
* | trivial: post release version bump | Richard Hughes | 2019-11-16 | 2 | -4/+4 | |
| | ||||||
* | Release version 0.3.10.3.1 | Richard Hughes | 2019-11-16 | 2 | -1/+14 | |
| | ||||||
* | Add g_usb_device_get_spec() | Richard Hughes | 2019-11-15 | 3 | -0/+25 | |
| | | | | Sometimes we do care about the USB version number of the device. | |||||
* | trivial: Don't use brackets for G_USB_x_VERSION | Richard Hughes | 2019-11-15 | 1 | -3/+3 | |
| | | | | This allows us to join them as strings if required. | |||||
* | trivial: Remove untrue statement | Richard Hughes | 2019-11-15 | 1 | -1/+0 | |
| | ||||||
* | gi: made actual_length introspection annotations | grindhold | 2019-09-26 | 1 | -3/+3 | |
| | | | | | | the actual_length parameter of GUsbDevice's transfer-methods should be out parameters. otherwise the generated vala bindings will cause programs to segfault. | |||||
* | build: Add -Wswitch-enum | Benjamin Berg | 2019-06-14 | 1 | -0/+1 | |
| | | | | | This means we still get errors for missing enum values in switches even in combination with -Wswitch-default and default cases. | |||||
* | trivial: Fix some typos spotted using codespell | Richard Hughes | 2019-04-08 | 8 | -11/+11 | |
| | ||||||
* | Make gir generation optional. | maxice8 | 2019-02-03 | 2 | -0/+3 | |
| | | | | fixes #13 | |||||
* | Merge pull request #14 from maxice8/fix-cross-gir | Richard Hughes | 2019-02-03 | 1 | -0/+1 | |
|\ | | | | | gusb/meson.build: pass -DGUSB_COMPILATION to gir compiler | |||||
| * | gusb/meson.build: pass -DGUSB_COMPILATION to gir compiler | maxice8 | 2019-02-03 | 1 | -0/+1 | |
|/ | | | | | | | | This fixes cross building of gir using Yocto Project/Buildroot method. This is also done on atk with -DATK_COMPILATION and gdk-pixbuf with -DGDK_PIXBUF_COMPILATION. | |||||
* | Add COMMITMENT file as part of GPL Common Cure Rights Commitment | Richard Hughes | 2018-06-18 | 1 | -0/+45 | |
| | | | | | | | | | | This is part of more broader commitment Red Hat along with IBM, Google, and Facebook made in November 2017. More on this can be found online: https://www.redhat.com/en/blog/fostering-greater-open-source-development & https://www.redhat.com/en/about/gplv3-enforcement-statement | |||||
* | Add g_usb_version_string() for fwupd | Richard Hughes | 2018-04-19 | 3 | -1/+47 | |
| | ||||||
* | trivial: Fix example spec file | Richard Hughes | 2018-02-27 | 1 | -3/+2 | |
| | ||||||
* | trivial: post release version bump | Richard Hughes | 2018-02-15 | 2 | -7/+7 | |
| | ||||||
* | Release version 0.3.00.3.0 | Richard Hughes | 2018-02-15 | 2 | -1/+13 | |
| | ||||||
* | trivial: Update README to reflect stability | Richard Hughes | 2017-12-19 | 2 | -7/+5 | |
| | ||||||
* | trivial: Update RELEASE to reflect our new Meson future | Richard Hughes | 2017-12-19 | 2 | -54/+51 | |
| | ||||||
* | trivial: Remove long-dead file | Richard Hughes | 2017-12-19 | 1 | -2/+0 | |
| | ||||||
* | Remove the automake build system | Richard Hughes | 2017-12-19 | 12 | -814/+0 | |
| | ||||||
* | Provide a meson configure argument for disabling the docs | Richard Hughes | 2017-12-19 | 2 | -0/+3 | |
| | ||||||
* | trivial: Remove dead meson code | Richard Hughes | 2017-12-19 | 1 | -1/+0 | |
| | ||||||
* | Add Travis integration | Richard Hughes | 2017-12-19 | 4 | -0/+48 | |
| | ||||||
* | trivial: Fix two -Wswitch-default warnings | Richard Hughes | 2017-12-19 | 2 | -0/+4 | |
| |