Richard Hughes
6c924a69c4
Add fu_udev_device_set_flags()
...
This allows us to specify with more detail how the device is opened.
2019-12-05 14:08:48 -06:00
Richard Hughes
f1a7122250
Add a dell-bios
version format
...
Dell does not include the first byte in the ESRT value, ignoring it. Using a
`quad` means we get versions like `0.1.4.0` rather than `1.4.0` which confuses
both users comparing versions to the vendor website, and also anyone trying to
do analysis on the firmware.
2019-12-04 16:22:46 +00:00
Richard Hughes
1fbcb1a180
Do not do semver conversion in fu_common_vercmp()
...
We don't know the version format, and so it's impossible to do it reliably --
just do it in the caller where we *do* know the FuDevice version format.
2019-12-04 15:45:30 +00:00
Richard Hughes
df8833e875
trivial: Deprecate fu_common_version_parse()
...
This hardcodes the version format of 'triplet' which isn't always correct for
obvious reasons.
2019-12-04 15:45:30 +00:00
Richard Hughes
f21add626c
trivial: Support 'plain' in fu_common_version_from_uintXX()
2019-12-04 15:45:30 +00:00
Richard Hughes
5ef1862cc5
Add the sysfs 'description' as the one-line device summary
2019-12-04 15:27:09 +00:00
Richard Hughes
3d48c1bbbc
trivial: Also print the parent keys when using FU_UDEV_DEVICE_DEBUG
2019-12-04 15:27:09 +00:00
Richard Hughes
d865d2473e
trivial: Add fu_common_version_from_uint64()
2019-12-04 14:50:41 +00:00
Richard Hughes
45a00738d8
Allow building on Windows with MinGW
...
Add various fixes to enable us to build a selection of useful USB plugins.
Also, skip tests that don't make sense on WIN32 or that will not work.
With much help from Mario Limonciello <mario.limonciello@dell.com> -- Thanks!
2019-12-03 16:33:43 +00:00
Richard Hughes
10079e6b8c
Export the raw device version to the client --verbose output
...
It turns out this is really useful for debugging UEFI firmware updates which
typically use the 0x-prefixed version numbers without a version format.
2019-12-02 06:51:25 +00:00
Richard Hughes
4f023420c6
Export the device protocol to the client --verbose output
...
It turns out this is useful for debugging.
2019-12-01 06:31:05 -06:00
Mario Limonciello
0ef2fde83f
trivial: libfwupdplugin: clarify name of self test
2019-11-27 14:32:31 +00:00
Mario Limonciello
5beceda89b
trivial: Move progressbar out of libfwupdplugin
...
The intention with f0f504c740
was to
not offer this in the plugin, but when rebasing 6b0e66354b
this was forgotten to be removed.
2019-11-27 08:18:02 -06:00
Richard Hughes
3ed2ac8315
trivial: Unexport fu_test_get_filename()
...
We don't actually need either of the things it provides (looking up in source
and built, and converting to an absolute path) so just replace it with
g_build_filename() instead.
This also has the advantage that it does the right thing on Windows.
2019-11-27 12:45:35 +00:00
Richard Hughes
606fa91dae
trivial: Unexport fu_test_compare_lines()
...
It's only used two places in the self tests.
2019-11-27 12:45:35 +00:00
Richard Hughes
f3d5207351
trivial: Unexport fu_test_loop_run_with_timeout()
2019-11-27 12:45:35 +00:00
Richard Hughes
00f66f659d
trivial: Do not include non-introspectable functions in the GIR
...
If we do need these for managed languages, we can of course create boxed types
when requried.
2019-11-27 12:45:35 +00:00
Richard Hughes
a0d81c726f
trivial: Fix up a few introspection problems in FwupdPlugin
2019-11-27 12:45:35 +00:00
Richard Hughes
3ee52ca4dd
trivial: Include the Fwupd GIR in the FwupdPLugin GIR
2019-11-27 12:45:35 +00:00
Richard Hughes
6a710c3c23
trivial: Never add duplicate symbols to the map file
2019-11-27 12:45:35 +00:00
Richard Hughes
aed7826c8f
trivial: Properly namespace the defines in the exported header
2019-11-27 12:45:35 +00:00
Mario Limonciello
11503c23ee
Install development files for libfwupdplugin
...
This splits out all development files, including headers into their
own packages where relevant.
Notably absent is `fu-hash.h` which is used for determining taint.
Out of tree developed plugins should still taint the daemon.
2019-11-27 11:32:43 +00:00
Mario Limonciello
6b0e66354b
Convert libfwupdprivate to a shared library libfwupdplugin
2019-11-27 11:32:43 +00:00