fwupd/libfwupdplugin
Richard Hughes 584db3a066 Indicate devices that need data retained typically only useful for ->probe()
This includes snapshot data like GUdevDevice that is only very rarely useful
after `FuDevice->probe()` has been completed. Add a warning so that we can
identify affected plugins and provide some grace period.

This should reduce the idle RSS by ~200kB when we flip the swithc in the future.
2023-02-23 10:47:08 +00:00
..
tests Refactor the hwids functionality 2023-01-18 07:04:44 +00:00
fu-acpi-table.c Add a generic ACPI table parser 2023-02-18 20:08:34 +00:00
fu-acpi-table.h Add a generic ACPI table parser 2023-02-18 20:08:34 +00:00
fu-archive-firmware.c trivial: add missing colon in function docs 2022-12-17 07:23:09 -06:00
fu-archive-firmware.h Add fu_archive_firmware_get_image_fnmatch() for future use 2022-12-17 07:44:27 +00:00
fu-archive.c trivial: Add the closure user_data to the introspection 2023-02-21 08:15:47 +00:00
fu-archive.h archive: Add writing support 2022-05-21 08:21:55 -04:00
fu-backend-private.h Add support for platform capability descriptors so devices can set quirks 2022-09-13 12:07:35 +01:00
fu-backend.c trivial: Set the backend ID when added 2023-01-10 20:34:52 +00:00
fu-backend.h trivial: Remove the padding from FuXxxClass structs 2022-09-28 14:42:04 +01:00
fu-bios-settings-private.h Add support for loading default BIOS settings policy 2022-08-24 12:59:42 -05:00
fu-bios-settings.c trivial: Fix reading from garbage when getting the pending reboot 2022-12-15 17:27:22 +00:00
fu-bios-settings.h trivial: Unify ambiguity between bios-attrs and bios-settings 2022-08-24 07:20:01 -05:00
fu-bluez-device.c trivial: Fix warning: declared with a const-qualified typedef 2023-02-13 12:34:46 +00:00
fu-bluez-device.h trivial: Reduce runtime RSS requirement for each device subclass 2023-01-10 20:43:31 +00:00
fu-byte-array.c trivial: Add convenience API for future use 2022-12-13 20:38:49 +00:00
fu-byte-array.h trivial: Add convenience API for future use 2022-12-13 20:38:49 +00:00
fu-bytes.c trivial: Fix an integer overflow issue when parsing oprom images 2022-08-30 17:34:33 +01:00
fu-bytes.h Split out the GByte helpers to a new source file 2022-06-14 14:36:52 -05:00
fu-cabinet.c Do not allow LZX compressed cabinet archives 2023-01-04 16:06:00 +00:00
fu-cabinet.h Be smarter and include less header files per source file 2022-06-14 14:36:52 -05:00
fu-cfi-device.c trivial: Use a better error message disambiguate an error message 2022-06-23 21:56:06 +01:00
fu-cfi-device.h trivial: Reduce runtime RSS requirement for each device subclass 2023-01-10 20:43:31 +00:00
fu-cfu-common.c trivial: Fix typos 2022-05-21 13:49:36 -04:00
fu-cfu-common.h trivial: Export the CFU enum conversion functions 2021-09-25 21:16:18 +01:00
fu-cfu-offer.c Fix FuCfuOffer XML roundtrip 2022-07-01 13:57:18 +01:00
fu-cfu-offer.h Add FuCfuPayload and FuCfuOffer 2021-09-20 14:43:34 +01:00
fu-cfu-payload.c Make the FuFirmware->parse() vfunc more helpful 2022-06-27 15:40:11 -05:00
fu-cfu-payload.h Add FuCfuPayload and FuCfuOffer 2021-09-20 14:43:34 +01:00
fu-chunk-private.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-chunk.c Split out the GByte helpers to a new source file 2022-06-14 14:36:52 -05:00
fu-chunk.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-common-darwin.c trivial: Use a better error message disambiguate an error message 2022-06-23 21:56:06 +01:00
fu-common-freebsd.c Be smarter and include less header files per source file 2022-06-14 14:36:52 -05:00
fu-common-guid.c Be smarter and include less header files per source file 2022-06-14 14:36:52 -05:00
fu-common-guid.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-common-linux.c Be smarter and include less header files per source file 2022-06-14 14:36:52 -05:00
fu-common-private.h trivial: Speed up the build by about 9% 2022-09-29 12:42:50 +01:00
fu-common-windows.c trivial: Use a better error message disambiguate an error message 2022-06-23 21:56:06 +01:00
fu-common.c Fix a critical warning when parsing an empty kernel cmdline 2023-02-22 21:37:45 +00:00
fu-common.h Be more nuanced when considering if the system is on AC power 2023-02-21 17:27:35 +00:00
fu-context-private.h trivial: Add FuProgress to fu_context_load_hwinfo() 2023-01-30 14:47:44 +00:00
fu-context.c Be more nuanced when considering if the system is on AC power 2023-02-21 17:27:35 +00:00
fu-context.h Be more nuanced when considering if the system is on AC power 2023-02-21 17:27:35 +00:00
fu-coswid-common.c Make the CoSWID parser more full-featured 2022-10-07 16:25:31 +01:00
fu-coswid-common.h Make the CoSWID parser more full-featured 2022-10-07 16:25:31 +01:00
fu-coswid-firmware.c Support loading COSWID when only one role has been set 2022-10-24 16:12:00 +01:00
fu-coswid-firmware.h Add coSWID and uSWID parsers to libfwupdplugin 2022-03-15 14:37:02 +00:00
fu-crc.c Split out the CRC and sum functions to new source files 2022-06-14 14:36:52 -05:00
fu-crc.h Split out the CRC and sum functions to new source files 2022-06-14 14:36:52 -05:00
fu-device-locker.c trivial: Fix warning: do not use 'else' after 'return' 2023-02-13 12:34:46 +00:00
fu-device-locker.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-device-metadata.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-device-private.h trivial: Fix warning: function has a definition with different parameter names 2023-02-13 12:34:46 +00:00
fu-device-progress.c Set the device percentage and status for the duration 2023-02-13 16:47:38 +00:00
fu-device-progress.h Set the device percentage and status for the duration 2023-02-13 16:47:38 +00:00
fu-device.c Indicate devices that need data retained typically only useful for ->probe() 2023-02-23 10:47:08 +00:00
fu-device.h Indicate devices that need data retained typically only useful for ->probe() 2023-02-23 10:47:08 +00:00
fu-dfu-firmware-private.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-dfu-firmware.c Check firmware magic in a more standard way 2022-07-14 14:48:15 +01:00
fu-dfu-firmware.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-dfuse-firmware.c Check firmware magic in a more standard way 2022-07-14 14:48:15 +01:00
fu-dfuse-firmware.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-dump.c Split out the dump helpers to a new source file 2022-06-14 14:36:52 -05:00
fu-dump.h Split out the dump helpers to a new source file 2022-06-14 14:36:52 -05:00
fu-efi-common.c trivial: Remove a duplicate line 2022-09-09 19:23:29 +01:00
fu-efi-common.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-efi-firmware-common.c Check firmware magic in a more standard way 2022-07-14 14:48:15 +01:00
fu-efi-firmware-common.h Split out the GByteArray helpers to a new source file 2022-06-14 14:36:52 -05:00
fu-efi-firmware-file.c trivial: Use fu_bytes_new_offset() in more places 2022-07-25 17:07:33 +01:00
fu-efi-firmware-file.h Split out the GByteArray helpers to a new source file 2022-06-14 14:36:52 -05:00
fu-efi-firmware-filesystem.c Check firmware magic in a more standard way 2022-07-14 14:48:15 +01:00
fu-efi-firmware-filesystem.h Split out the GByteArray helpers to a new source file 2022-06-14 14:36:52 -05:00
fu-efi-firmware-section.c Check firmware magic in a more standard way 2022-07-14 14:48:15 +01:00
fu-efi-firmware-section.h Split out the GByteArray helpers to a new source file 2022-06-14 14:36:52 -05:00
fu-efi-firmware-volume.c Check firmware magic in a more standard way 2022-07-14 14:48:15 +01:00
fu-efi-firmware-volume.h Split out the GByteArray helpers to a new source file 2022-06-14 14:36:52 -05:00
fu-efi-signature-list.c trivial: add missing log domain for efi signature list 2022-10-28 13:18:48 -05:00
fu-efi-signature-list.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-efi-signature-private.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-efi-signature.c Allow patching firmware files at known offsets 2022-01-05 09:51:45 +00:00
fu-efi-signature.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-efivar-darwin.c Fix build for MacOS 2022-03-15 14:37:28 +00:00
fu-efivar-freebsd.c Split out the path helpers to a new source file 2022-06-14 14:36:52 -05:00
fu-efivar-impl.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-efivar-linux.c Split out the path helpers to a new source file 2022-06-14 14:36:52 -05:00
fu-efivar-windows.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-efivar.c Remove some deprecated API 2022-06-03 13:47:11 -05:00
fu-efivar.h Remove some deprecated API 2022-06-03 13:47:11 -05:00
fu-fdt-firmware.c Improve FDT parsing compatibility 2023-01-18 07:59:45 +00:00
fu-fdt-firmware.h Add support for Flattened Devicetree aka FDT firmware 2022-07-08 14:05:20 +01:00
fu-fdt-image.c Add support for Flattened Devicetree aka FDT firmware 2022-07-08 14:05:20 +01:00
fu-fdt-image.h Add support for Flattened Devicetree aka FDT firmware 2022-07-08 14:05:20 +01:00
fu-firmware-common.c Lots of spelling fixes 2022-12-29 13:57:31 +00:00
fu-firmware-common.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-firmware.c trivial: Create the parent directories when using fu_firmware_write_file() 2023-01-11 16:25:26 +00:00
fu-firmware.h Lots of spelling fixes 2022-12-29 13:57:31 +00:00
fu-fit-firmware.c Lots of spelling fixes 2022-12-29 13:57:31 +00:00
fu-fit-firmware.h Add support for Flat Image Tree aka FIT firmware 2022-07-08 14:05:20 +01:00
fu-fmap-firmware.c Check firmware magic in a more standard way 2022-07-14 14:48:15 +01:00
fu-fmap-firmware.h trivial: Remove the padding from FuXxxClass structs 2022-09-28 14:42:04 +01:00
fu-fuzzer-firmware.c.in trivial: Enable fatal-criticals harder when fuzzing 2022-07-25 17:07:33 +01:00
fu-fuzzer-main.c trivial: Do not use g_assert() in self test code 2021-09-24 22:20:21 +01:00
fu-hid-device.c trivial: Fix debugging with FU_HID_DEVICE_VERBOSE 2022-12-15 16:41:55 +00:00
fu-hid-device.h trivial: Reduce runtime RSS requirement for each device subclass 2023-01-10 20:43:31 +00:00
fu-hwids-config.c Refactor the hwids functionality 2023-01-18 07:04:44 +00:00
fu-hwids-dmi.c Refactor the hwids functionality 2023-01-18 07:04:44 +00:00
fu-hwids-fdt.c Correctly fall back to the compatible vendor when FDT vendor is missing 2023-02-14 13:52:04 +00:00
fu-hwids-kenv.c Refactor the hwids functionality 2023-01-18 07:04:44 +00:00
fu-hwids-private.h Refactor the hwids functionality 2023-01-18 07:04:44 +00:00
fu-hwids-smbios.c Refactor the hwids functionality 2023-01-18 07:04:44 +00:00
fu-hwids.c Refactor the hwids functionality 2023-01-18 07:04:44 +00:00
fu-hwids.h Refactor the hwids functionality 2023-01-18 07:04:44 +00:00
fu-i2c-device.c trivial: Fix a critical warning when using old kernel versions 2022-10-13 18:34:00 +01:00
fu-i2c-device.h trivial: Reduce runtime RSS requirement for each device subclass 2023-01-10 20:43:31 +00:00
fu-ifd-bios.c Make the FuFirmware->parse() vfunc more helpful 2022-06-27 15:40:11 -05:00
fu-ifd-bios.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-ifd-common.c Be smarter and include less header files per source file 2022-06-14 14:36:52 -05:00
fu-ifd-common.h trivial: gi-docgenize some of the function comments 2022-06-14 14:36:52 -05:00
fu-ifd-firmware.c Check firmware magic in a more standard way 2022-07-14 14:48:15 +01:00
fu-ifd-firmware.h Split out the GByteArray helpers to a new source file 2022-06-14 14:36:52 -05:00
fu-ifd-image.c trivial: gi-docgenize some of the function comments 2022-06-14 14:36:52 -05:00
fu-ifd-image.h Split out the GByteArray helpers to a new source file 2022-06-14 14:36:52 -05:00
fu-ifwi-cpd-firmware.c Check firmware magic in a more standard way 2022-07-14 14:48:15 +01:00
fu-ifwi-cpd-firmware.h Add support for IFWI Intel Code Partition (aka CPD) firmware 2022-06-28 10:09:58 +01:00
fu-ifwi-fpt-firmware.c Lots of spelling fixes 2022-12-29 13:57:31 +00:00
fu-ifwi-fpt-firmware.h Add support for IFWI Intel Flash Program Tool (aka FPT) firmware 2022-06-28 10:09:58 +01:00
fu-ihex-firmware.c trivial: Be less verbose when parsing IHEX files 2022-10-27 15:29:45 +01:00
fu-ihex-firmware.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-intel-thunderbolt-firmware.c Export the generic Intel Thunderbolt firmware format 2022-08-30 14:20:14 +01:00
fu-intel-thunderbolt-firmware.h Export the generic Intel Thunderbolt firmware format 2022-08-30 14:20:14 +01:00
fu-intel-thunderbolt-nvm.c Set the firmware contents even when subclassing ->parse() 2022-09-10 09:16:05 +01:00
fu-intel-thunderbolt-nvm.h Export the generic Intel Thunderbolt firmware format 2022-08-30 14:20:14 +01:00
fu-io-channel.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-io-channel.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-kenv.c Be smarter and include less header files per source file 2022-06-14 14:36:52 -05:00
fu-kenv.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-kernel.c trivial: Fix impossible crash when the firmware search path is NULL 2022-09-09 19:23:29 +01:00
fu-kernel.h Add shared functionality to get the parsed kernel cmdline 2022-09-02 14:35:48 +01:00
fu-linear-firmware.c Check firmware magic in a more standard way 2022-07-14 14:48:15 +01:00
fu-linear-firmware.h Add a linear firmware wrapper 2022-06-28 10:09:58 +01:00
fu-mei-device.c Fix a tiny memory leak when probing MEI devices 2022-12-12 17:29:17 +00:00
fu-mei-device.h trivial: Reduce runtime RSS requirement for each device subclass 2023-01-10 20:43:31 +00:00
fu-mem.c trivial: Add a fu_memread_uint24_safe() to make some code more correct 2022-07-14 11:03:13 +01:00
fu-mem.h trivial: Add a fu_memread_uint24_safe() to make some code more correct 2022-07-14 11:03:13 +01:00
fu-mutex.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-oprom-firmware.c Check firmware magic in a more standard way 2022-07-14 14:48:15 +01:00
fu-oprom-firmware.h Add support for parsing OptionROM firmware 2022-06-28 10:09:58 +01:00
fu-path-private.h Split out the path helpers to a new source file 2022-06-14 14:36:52 -05:00
fu-path.c Allow overriding lock directory with an environment variable 2023-02-01 20:44:56 -06:00
fu-path.h trivial: Add FU_PATH_KIND_SYSFSDIR_DMI for future use 2023-01-16 20:23:28 +00:00
fu-pefile-firmware.c Add a pefile firmware parser 2023-01-06 17:32:59 +00:00
fu-pefile-firmware.h Add a pefile firmware parser 2023-01-06 17:32:59 +00:00
fu-plugin-private.h Add some more profiling to debug custom device GType creation 2022-10-07 14:41:48 +01:00
fu-plugin-vfuncs.h Speed up the daemon startup by ~2% by doing dlsym much less 2021-11-09 12:02:07 +00:00
fu-plugin.c trivial: Add FuProgress to FuPlugin->backend_device_added() 2023-02-17 06:52:49 +00:00
fu-plugin.h trivial: Add FuProgress to FuPlugin->backend_device_added() 2023-02-17 06:52:49 +00:00
fu-progress.c Add API to wait for a device 2023-02-01 09:42:08 +00:00
fu-progress.h Convert FuProgress to a FINAL object 2022-12-11 20:26:15 +00:00
fu-quirks.c trivial: Add the closure user_data to the introspection 2023-02-21 08:15:47 +00:00
fu-quirks.h trivial: Add the closure user_data to the introspection 2023-02-21 08:15:47 +00:00
fu-security-attr.c trivial: Unify ambiguity between bios-attrs and bios-settings 2022-08-24 07:20:01 -05:00
fu-security-attr.h Set the target value on the security attribute 2022-08-01 07:12:18 +01:00
fu-security-attrs-private.h trivial: Export fu_security_attrs_get_by_appstream_id() for future use 2022-07-14 14:49:00 +01:00
fu-security-attrs.c Add security attribute for OEM specific implementations of BIOS rollback protection 2022-11-18 14:28:13 +00:00
fu-security-attrs.h trivial: Export fu_security_attrs_get_by_appstream_id() for future use 2022-07-14 14:49:00 +01:00
fu-self-test.c Do not run the FuProgress self tests by default 2023-02-18 16:38:45 +00:00
fu-smbios-private.h Refactor the hwids functionality 2023-01-18 07:04:44 +00:00
fu-smbios.c Fix SMBIOS struct parsing when there are three NULs in a row 2023-02-10 13:11:25 +00:00
fu-smbios.h Remove the now unnecessary fu_smbios_to_string() 2022-06-14 14:36:52 -05:00
fu-srec-firmware.c trivial: Fix warning: repeated branch in conditional chain 2023-02-13 12:34:46 +00:00
fu-srec-firmware.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-string.c trivial: Add the closure user_data to the introspection 2023-02-21 08:15:47 +00:00
fu-string.h trivial: Add the closure user_data to the introspection 2023-02-21 08:15:47 +00:00
fu-sum.c Split out the memory helpers to a new source file 2022-06-14 14:36:52 -05:00
fu-sum.h Split out the CRC and sum functions to new source files 2022-06-14 14:36:52 -05:00
fu-udev-device-private.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-udev-device.c Indicate devices that need data retained typically only useful for ->probe() 2023-02-23 10:47:08 +00:00
fu-udev-device.h trivial: read vbios_version on dGPUs 2023-02-16 14:40:51 -06:00
fu-usb-device-ds20.c Add support for platform capability descriptors so devices can set quirks 2022-09-13 12:07:35 +01:00
fu-usb-device-ds20.h trivial: Remove the padding from FuXxxClass structs 2022-09-28 14:42:04 +01:00
fu-usb-device-fw-ds20.c Ignore missing NUL when parsing DS20 quirk data 2022-09-22 14:23:20 +01:00
fu-usb-device-fw-ds20.h Add support for platform capability descriptors so devices can set quirks 2022-09-13 12:07:35 +01:00
fu-usb-device-ms-ds20.c Lots of spelling fixes 2022-12-29 13:57:31 +00:00
fu-usb-device-ms-ds20.h Add support for platform capability descriptors so devices can set quirks 2022-09-13 12:07:35 +01:00
fu-usb-device-private.h Add support for emulating and recording devices 2023-02-10 14:43:25 +00:00
fu-usb-device.c trivial: Fix -Wunused-variable with old GUsb versions 2023-02-15 20:14:12 +00:00
fu-usb-device.h trivial: Reduce runtime RSS requirement for each device subclass 2023-01-10 20:43:31 +00:00
fu-uswid-firmware.c Always search for uSWID data in the image 2023-01-06 14:23:13 +00:00
fu-uswid-firmware.h Support firmware with uSWID header version 2 2022-04-18 17:48:52 +01:00
fu-version-common.c Add fu_version_from_uint24() for future usage 2022-12-11 20:25:52 +00:00
fu-version-common.h Add fu_version_from_uint24() for future usage 2022-12-11 20:25:52 +00:00
fu-version.c trivial: Fix a GObjectIntrospection warning by using the correct prefix 2021-08-28 06:50:50 -05:00
fu-version.h.in trivial: Fix a GObjectIntrospection warning by using the correct prefix 2021-08-28 06:50:50 -05:00
fu-volume-private.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-volume.c Respect user requested paths for ESP even if they aren't volumes 2023-01-11 16:26:07 +00:00
fu-volume.h trivial: Speed up the build by about 9% 2022-09-29 12:42:50 +01:00
fwupdplugin.h Add a generic ACPI table parser 2023-02-18 20:08:34 +00:00
fwupdplugin.map Indicate devices that need data retained typically only useful for ->probe() 2023-02-23 10:47:08 +00:00
meson.build Add a generic ACPI table parser 2023-02-18 20:08:34 +00:00
README.md trivial: Return an error from fu_context_get_smbios_data() 2022-10-24 13:58:00 +01:00

libfwupdplugin

This library is only partially API and ABI stable. Keeping unused, unsafe and deprecated functions around forever is a maintenance burden and so symbols are removed when branching for new minor versions.

Use ./contrib/migrate.py to migrate up out-of-tree plugins to the new API.

Remember: Plugins should be upstream!

1.5.5

  • fu_common_is_cpu_intel(): Use fu_common_get_cpu_vendor() instead.
  • fu_firmware_strparse_uintXX(): Use fu_firmware_strparse_uintXX_safe() instead.
  • fu_plugin_get_usb_context(): Remove, as no longer required.
  • fu_plugin_set_usb_context(): Remove, as no longer required.
  • fu_plugin_runner_usb_device_added(): Use fu_plugin_runner_backend_device_added() instead.
  • fu_plugin_runner_udev_device_added(): Use fu_plugin_runner_backend_device_added() instead.
  • fu_plugin_runner_udev_device_changed(): Use fu_plugin_runner_backend_device_added() instead.
  • FuHidDevice->open(): Use the FuDevice superclass instead.
  • FuHidDevice->close(): Use the FuDevice superclass instead.
  • FuUsbDevice->probe(): Use the FuDevice superclass instead.
  • FuUsbDevice->open(): Use the FuDevice superclass instead.
  • FuUsbDevice->close(): Use the FuDevice superclass instead.
  • FuUdevDevice->to_string(): Use the FuDevice superclass instead.
  • FuUdevDevice->probe(): Use the FuDevice superclass instead.
  • FuUdevDevice->open(): Use the FuDevice superclass instead.
  • FuUdevDevice->close(): Use the FuDevice superclass instead.

1.5.6

  • fu_device_get_protocol(): Use fu_device_get_protocols() instead.
  • fu_device_set_protocol(): Use fu_device_add_protocol() instead.

1.6.2

  • fu_device_has_custom_flag(): Use fu_device_has_private_flag() instead.

1.6.3

  • fu_device_sleep_with_progress(): Use fu_progress_sleep() instead -- but be aware the unit of time has changed from seconds to milliseconds.
  • fu_device_get_status(): Use fu_progress_get_status() instead.
  • fu_device_set_status(): Use fu_progress_set_status() instead.
  • fu_device_get_progress(): Use fu_progress_get_percentage() instead.
  • fu_device_set_progress_full(): Use fu_progress_set_percentage_full() instead.
  • fu_device_set_progress(): Use fu_progress_set_steps(), fu_progress_add_step() and fu_progress_done() -- see the FuProgress docs for more details!

1.8.2

  • fu_udev_device_pread_full(): Use fu_udev_device_pread() instead -- as the latter now specifies the buffer length.
  • fu_udev_device_pread_full(): Use fu_udev_device_pwrite() instead -- as the latter now specifies the buffer length.
  • fu_udev_device_ioctl_full(): Use fu_udev_device_ioctl() instead -- as the latter now always specifies the timeout.
  • fu_udev_device_new_full(): Use fu_udev_device_new() instead -- as the latter always specifies the context.
  • fu_usb_device_new_full(): Use fu_usb_device_new() instead -- as the latter always specifies the context.
  • fu_device_new_with_context(): Use fu_device_new() instead -- as the latter always specifies the context.
  • fu_plugin_has_custom_flag(): Use fu_plugin_has_private_flag() instead.
  • fu_efivar_secure_boot_enabled_full(): Use fu_efivar_secure_boot_enabled() instead -- as the latter always specifies the error.
  • fu_progress_add_step(): Add a 4th parameter to the function to specify the nice name for the step, or NULL.
  • fu_backend_setup(): Now requires a FuProgress, although it can be ignored.
  • fu_backend_coldplug: Now requires a FuProgress, although it can be ignored.
  • FuPluginVfuncs->setup: Now requires a FuProgress, although it can be ignored.
  • FuPluginVfuncs->coldplug: Now requires a FuProgress, although it can be ignored.
  • fu_common_crc*: Use fu_crc prefix, i.e. remove the _common
  • fu_common_sum*: Use fu_sum prefix, i.e. remove the _common
  • fu_byte_array_set_size_full(): Use fu_byte_array_set_size instead -- as the latter now always specifies the fill char.
  • fu_common_string*: Use fu_string prefix, i.e. remove the _common
  • fu_common_bytes*: Use fu_bytes prefix, i.e. remove the _common
  • fu_common_set_contents_bytes(): Use fu_bytes_set_contents() instead
  • fu_common_get_contents_bytes(): Use fu_bytes_get_contents() instead
  • fu_common_read*: Use fu_memread prefix, i.e. replace the _common with _mem
  • fu_common_write*: Use fu_memwrite prefix, i.e. replace the _common with _mem
  • fu_common_bytes_compare_raw(): Use fu_memcmp_safe() instead
  • fu_common_spawn_sync(): Use g_spawn_sync() instead, or ideally not at all!
  • fu_common_extract_archive(): Use FuArchiveFirmware() instead.
  • fu_common_instance_id_strsafe(): Use fu_device_add_instance_strsafe() instead.
  • fu_common_kernel_locked_down(): Use fu_kernel_locked_down instead.
  • fu_common_check_kernel_version(): Use fu_kernel_check_version instead.
  • fu_common_get_firmware_search_path(): Use fu_kernel_get_firmware_search_path instead.
  • fu_common_set_firmware_search_path(): Use fu_kernel_set_firmware_search_path instead.
  • fu_common_reset_firmware_search_path(): Use fu_kernel_reset_firmware_search_path instead.
  • fu_common_firmware_builder(): You should not be using this.
  • fu_common_realpath(): You should not be using this.
  • fu_common_uri_get_scheme(): You should not be using this.
  • fu_common_dump*: Use fu_dump prefix, i.e. remove the _common
  • fu_common_error_array_get_best(): You should not be using this.
  • fu_common_cpuid(): Use fu_cpuid instead.
  • fu_common_get_cpu_vendor(): Use fu_cpu_get_vendor instead.
  • fu_common_vercmp_full(): Use fu_version_compare() instead.
  • fu_common_version_ensure_semver(): Use fu_version_ensure_semver() instead.
  • fu_common_version_from_uint*(): Use fu_version_from_uint*() instead.
  • fu_common_strtoull(): Use fu_strtoull() instead -- as the latter always specifies the error.
  • fu_smbios_to_string(): Use fu_firmware_to_string() instead -- as FuSmbios is a FuFirmware superclass.
  • fu_common_cab_build_silo(): You should not be using this.
  • fu_i2c_device_read_full(): Use fu_i2c_device_read instead.
  • fu_i2c_device_write_full(): Use fu_i2c_device_write instead.
  • fu_firmware_parse_full(): Remove the addr_end parameter, and ensure that offset is a gsize.

1.8.5

  • fu_volume_new_esp_default(): Use fu_context_get_esp_volumes() instead.
  • fu_plugin_set_secure_config_value(): Set FWUPD_PLUGIN_FLAG_SECURE_CONFIG and use fu_plugin_set_config_value()

1.8.7

  • fu_mei_device_connect(): Drop the explicit GUID parameter and match in the quirk file instead.
  • fu_context_get_smbios_data(): Add a GError