Commit Graph

7346 Commits

Author SHA1 Message Date
Richard Hughes
fd9b9db5b3 Unexport fu_common_instance_id_strsafe()
We want plugins to use the instance ID builder instead now.
2022-06-14 14:36:52 -05:00
Richard Hughes
f759569a9f Unexport fu_common_extract_archive()
We have a FuFirmware helper now, which doesn't use a temp dir.
2022-06-14 14:36:52 -05:00
Richard Hughes
25dccf09f7 Unexport fu_common_spawn_sync()
This isn't something we want plugins to use.
2022-06-14 14:36:52 -05:00
Richard Hughes
425fedcca1 trivial: Remove fu_byte_array_set_size_full() 2022-06-14 14:36:52 -05:00
Richard Hughes
ed1b13da28 Split out the memory helpers to a new source file 2022-06-14 14:36:52 -05:00
Richard Hughes
4b1313b406 Split out the GByte helpers to a new source file 2022-06-14 14:36:52 -05:00
Richard Hughes
9d33c29e92 Split out the string helpers to a new source file 2022-06-14 14:36:52 -05:00
Richard Hughes
c6581fb7a6 Split out the GByteArray helpers to a new source file 2022-06-14 14:36:52 -05:00
Richard Hughes
3fe9c0de34 Split out the CRC and sum functions to new source files 2022-06-14 14:36:52 -05:00
Richard Hughes
0d1ba6667f trivial: Remove a few ctags headers that snuck in 2022-06-14 17:57:38 +01:00
Richard Hughes
9b29d70f31 Add a progress flag to indicate for when the child returns early
Using `fu_progress_finished(fu_progress_get_child(progress))` is IMHO
a hacky workaround.
2022-06-14 14:31:19 +01:00
Richard Hughes
e60a877c46 uefi-capsule: Do not generate a capsule header for the FMP GUID
In theory, hardware with FMP should have fw_type=0x4 in the ESRT which
sets `_NO_CAPSULE_HEADER_FIXUP` -- but in reality that is not always
the case.
2022-06-14 14:11:26 +01:00
Sean Rhodes
6a1ceebd4c
plugins/intel-spi: Correct BIOS Control Device (#4742)
Correct the BIOS Control Device, which is should be 31.

This can be found on Intel doc numbers:
* 334819 (APL)
* 336561 (GLK)

Signed-off-by: Sean Rhodes <sean@starlabs.systems>
2022-06-14 09:07:48 +00:00
Richard Hughes
28395271e9 trivial: Fix a tiny memory leak with fwupdtool get-plugins 2022-06-13 20:17:45 +01:00
Richard Hughes
2ae4587a1c trivial: Add three more update categories 2022-06-13 13:00:38 +01:00
Mario Limonciello
47756bbdf3 trivial: fix publishing of docker containers 2022-06-13 06:56:35 -05:00
Mario Limonciello
ae59855233 trivial: Revert "Revert "build(deps): bump docker/build-push-action from 1 to 3""
This reverts commit 7ac253dbb8.

It seems this didn't fix container generation.
2022-06-13 00:39:54 -05:00
Mario Limonciello
996fc8d242 trivial: Revert "Revert "build(deps): bump actions/upload-artifact from 2 to 3""
This reverts commit 793aa9a365.
2022-06-13 00:39:38 -05:00
Gaël PORTAY
88db2a3f9e genesys: scaler: Fix calling to parent's vfunc close()
This uses the internal flag FU_DEVICE_INTERNAL_FLAG_USE_PARENT_FOR_OPEN,
to fix the calling to the parent's vfunc close() (it was calling the
parent's vfunc open() on close()).
2022-06-12 08:22:57 -04:00
Gaël PORTAY
d5b7206a3a trivial: genesys: Another nitpick round
See commit e6f049625e.
2022-06-12 08:22:57 -04:00
Gaël PORTAY
58102313bc genesys: usbhub: Do not claim interface
This removes the claim for interface 0; and removes both vfunc open()
and close() that become useless.

Fixes https://github.com/fwupd/fwupd/issues/4730
2022-06-12 07:02:49 -04:00
Gaël PORTAY
2e719aeb94 genesys: usbhub: Remove vfunc _probe()
This removes the vfunc _probe() that is not used anymore.
2022-06-12 07:02:49 -04:00
Richard Hughes
422d8cfa17 trivial: Fix FreeBSD CI build 2022-06-12 08:42:46 +01:00
Richard Hughes
ac03f02f4c trivial: gi-docgenize some of the function comments 2022-06-11 21:26:46 +01:00
Richard Hughes
06a2dcf62b Remove gtkdoc build option
We've seen that gi-docgen is active and other projects are switching to
it. Remove the legacy (and slow) gtk-doc build support.
2022-06-11 21:26:46 +01:00
Richard Hughes
4b98d730e7 Use the latest LTS version for CI, harder 2022-06-11 21:26:46 +01:00
Richard Hughes
51ac33be7e Use the latest LTS version for CI 2022-06-11 17:10:06 +01:00
Richard Hughes
182c2c8445 scsi: Allow UFS disks to define the signed status in metadata 2022-06-11 11:06:01 +01:00
Richard Hughes
b3f69c1c47 scsi: Use the SCSI target to correctly set the physical ID
We don't want to include the SCSI LUN in the physical ID, as this is a
logical concept not relating to the hardware device.

Use the UDev devtype to find the 'correct' parent.
2022-06-11 11:06:01 +01:00
Richard Hughes
3a2f8e5d40 Fix a warning when using 'fwupdtool install-blob
Do not re-use the global FuProgress object for multiple operations.
2022-06-11 11:05:08 +01:00
Richard Hughes
b9172ae5c5 logitech-bulkcontroller: Reset the progress counter when required 2022-06-11 11:05:08 +01:00
Richard Hughes
9a33c96b7c logitech-bulkcontroller: Split up two distinct progress sections 2022-06-11 11:05:08 +01:00
Richard Hughes
31275cf89a logitech-bulkcontroller: Use fu_progress_step_done() when writing chunks 2022-06-11 11:05:08 +01:00
Richard Hughes
2b10848e57 logitech-bulkcontroller: Only move the progressbar forwards when writing 2022-06-11 11:05:08 +01:00
Mario Limonciello
7ac253dbb8 Revert "build(deps): bump docker/build-push-action from 1 to 3"
This reverts commit 77928fc4b3.
2022-06-10 21:51:15 -05:00
Mario Limonciello
793aa9a365 Revert "build(deps): bump actions/upload-artifact from 2 to 3"
This reverts commit 0a79a6e737.
2022-06-10 21:50:45 -05:00
Richard Hughes
46f4d9b993 genesys: Add a trivial missed quirk key 2022-06-10 19:00:23 +01:00
Gaël PORTAY
d15f0b1cca steelseries: fizz: Use fu_common_strsafe() 2022-06-10 10:07:28 -04:00
Gaël PORTAY
8d4d2f2087 steelseries: Add hid support to detect Bluetooth devices 2022-06-10 10:07:28 -04:00
Richard Hughes
619677fc3f redfish: Also reconnect the network during BMC re-coldplug 2022-06-10 13:15:08 +01:00
Richard Hughes
b75553cb49 redfish: Be more helpful when debugging connection failures 2022-06-10 13:15:08 +01:00
Richard Hughes
09f9ea7d06 redfish: Autoconnect the Redfish network device when rebooting the BMC 2022-06-10 11:09:26 +01:00
Gaël PORTAY
99f310e11a steelseries: Add datasz to fu_steelseries_device_cmd()
Additionaly, this:
 - removes the unused function fu_steelseries_device_get_transfer_size()
 - renames function fu_steelseries_device_command_error_to_error() to
  fu_steelseries_fizz_command_error_to_error()
2022-06-09 10:57:26 -04:00
Gaël PORTAY
40ba65ce28 steelseries: fizz: Fiz command size
The size of a command is 8bits long.
2022-06-09 10:57:26 -04:00
Richard Hughes
9f8d75ad37 trivial: Disable the win32 msi install CI test
Wine 7.9 make installing and removing msi packages *intermittently*
fail, and that's now being shipped in Fedora updates. :/
2022-06-08 17:26:30 +01:00
Richard Hughes
fa1708e76f Correctly set the progress steps when loading backends 2022-06-08 15:41:45 +01:00
Richard Hughes
314003df90 Correctly set the progress steps when loading plugins 2022-06-08 15:41:45 +01:00
Richard Hughes
0ef11aee0c Add each USB device manually to correctly set the progress steps 2022-06-08 15:41:45 +01:00
Richard Hughes
4c3a35c842 trivial: Fix a weird win32 compile failure
Windows is defining `interface` as a keyword when including headers.
2022-06-08 15:41:11 +01:00
Richard Hughes
7ce625fddd Fix windows CI using the latest meson version 2022-06-08 15:24:25 +01:00