summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* trivial: Fix example downstream spec fileRichard Hughes2022-09-121-0/+1
|
* trivial: Fix some docs warnings when compiling the tarballRichard Hughes2022-09-123-4/+5
|
* trivial: post release version bumpRichard Hughes2022-09-122-4/+4
|
* Release version 0.4.00.4.0Richard Hughes2022-09-121-0/+18
|
* Allow emulating failed eventsRichard Hughes2022-09-125-0/+80
| | | | | This is required to emulate devices that just reset (without completing the current transfer) when asked to reset.
* Do not copy event data when not-requiredRichard Hughes2022-09-101-3/+48
| | | | | This will prevent crashes if the caller is casting from a const buffer to a mutable buffer.
* trivial: Be more careful with buffers in case the usb.ids file format changesRichard Hughes2022-09-091-1/+4
|
* Ignore usb.ids classes, subclasses and protocolsRichard Hughes2022-09-091-0/+4
|
* Fix loading events using _g_usb_device_event_load()Richard Hughes2022-09-091-1/+1
|
* trivial: Ignore -Wgnu-variable-sized-type-not-at-endRichard Hughes2022-09-091-0/+1
| | | | There's literally nothing we can do about it.
* trivial: Fix two -Wunused-variable warningsRichard Hughes2022-09-091-0/+4
|
* trivial: Fix the ColorMunki self testsRichard Hughes2022-09-091-4/+3
| | | | PVS: Converting type 'gssize' to type 'gboolean' can lead to a loss of high-order bits.
* Save device events when requiredRichard Hughes2022-09-0810-7/+816
| | | | | | This allows us to simulate an entire context of devices, simulating responses as if the hardware is connected. This allows building rich device-specific unit tests in programs like fwupd, without having to have the hardware attached.
* trivial: Update the ColorHug test to reflect realityRichard Hughes2022-09-061-1/+1
|
* trivial: Ignore more requests when emulating a deviceRichard Hughes2022-09-061-0/+20
|
* trivial: Use a unique JSON key name for the IDRichard Hughes2022-09-061-4/+5
|
* trivial: Use a boolean flag for cache controlRichard Hughes2022-09-061-2/+10
| | | | There's no point keep asking the device for BOS descriptors when it has none.
* trivial: Check the handle before getting BOS descriptorsRichard Hughes2022-09-061-0/+4
|
* trivial: Fix clang-tidy ordering issueRichard Hughes2022-09-061-1/+1
|
* trivial: Fix up some docgen headersRichard Hughes2022-09-062-25/+1
|
* Skip some functionality when emulatingRichard Hughes2022-09-051-0/+12
|
* Include the platform ID in the JSON fileRichard Hughes2022-09-051-0/+10
|
* Serialize the GUsbDevice to and from JSON formatRichard Hughes2022-09-0521-13/+722
| | | | This allows us to write tests that mock up entire devices.
* Cache the list of interfaces and descriptorsRichard Hughes2022-09-053-94/+104
| | | | | This can speed up device enumeration, and also allows us to emulate the interfaces or descriptors in the future.
* trivial: Use @self for instance dataRichard Hughes2022-09-0510-482/+471
|
* Use G_DECLARE_DERIVABLE_TYPE to reduce boilerplateRichard Hughes2022-09-0510-217/+190
|
* trivial: Use @self for instance dataRichard Hughes2022-09-044-115/+114
|
* Reformat the code using clang-formatRichard Hughes2022-09-0429-2197/+2169
| | | | | This frees up mental energy when reviewing patches and is something I should have done a long time ago.
* Add support for getting BOS descriptorsRichard Hughes2022-09-048-0/+275
|
* Use g_autoptr() in a lot more placesRichard Hughes2022-09-044-281/+155
| | | | We started using this several months ago and nobody even noticed.
* trivial: post release version bumpRichard Hughes2022-08-142-6/+6
|
* trivial: Fix a docs warning when buildingRichard Hughes2022-06-161-1/+1
|
* trivial: Fix case of single-line commentsRichard Hughes2022-06-161-12/+12
|
* trivial: Use SPDX-License-Identifier in one more placeRichard Hughes2022-06-161-12/+1
|
* trivial: Remove some duplicate header includesRichard Hughes2022-06-1611-20/+0
|
* Only include the start year in the copyright headerRichard Hughes2022-06-1611-11/+11
| | | | | The end year is legally and functionally redundant, and more importantly causes cherry-pick conflicts when trying to maintain old branches.
* gusb: Add some umockdev based testsBenjamin Berg2022-06-154-1/+231
| | | | The primary purpose for this is to test the hotplug codepaths.
* Never dispatch idle events after the context has been destroyedRichard Hughes2022-06-151-12/+37
| | | | | Also, reduce the number of idle sources by batching them up as much as possible.
* Release version 0.3.100.3.10Richard Hughes2022-01-101-0/+7
|
* trivial: Remove the '1:1 already exists' debug lines on rescanRichard Hughes2022-01-061-3/+1
|
* Add API to change the hotplug poll intervalRichard Hughes2022-01-063-3/+79
|
* trivial: post release version bumpRichard Hughes2021-12-072-6/+6
|
* Release version 0.3.90.3.9Richard Hughes2021-12-071-0/+9
|
* trivial: Sync spec file with downstreamRichard Hughes2021-12-071-3/+1
|
* trivial: Fix FreeBSD CIRichard Hughes2021-12-071-2/+2
|
* Fix hotplug after threaded device removalRichard Hughes2021-12-071-1/+1
| | | | Somehow this worked when we unref'd the context but did not ref it.
* Fix version script check for GNU BFD linker on FreeBSDTing-Wei Lan2021-10-102-2/+10
| | | | | | | | | | | | | | | | | | On FreeBSD, symbols 'environ' and ' __progname' are defined in crt1.o and referenced by libc.so. This makes it different from platforms which define 'environ' in libc.so. GNU BFD linker fails to link an executable if these two symbols are not put into the global section of the version script because a shared library should not reference a local symbol defined in a different object file. GNU gold and LLVM LLD don't have the problem. This means the current check for --version-script fails on FreeBSD when GNU BFD linker is used. The failure can be avoided by linking a shared library instead of an executable, but meson doesn't support passing additional arguments to the compiler in its 'has_link_argument' method. Instead of adding these two unused symbols to the real version script, use a smaller version script specifically made for the test.
* Don't hard-code the list of OS supporting --version-scriptTing-Wei Lan2021-10-101-2/+3
| | | | | Instead of keeping a list of OS in the build file, it should be better to run a check to determine if it is supported by the linker.
* trivial: post release version bumpRichard Hughes2021-10-062-5/+5
|
* Release version 0.3.80.3.8Richard Hughes2021-10-061-0/+11
|