fwupd/libfwupdplugin
Mario Limonciello 3006d238d6 Automatically obsolete negative duplicate attributes
To a user there is no point to explicitly showing two failures for
encrypted RAM if the system supports SME and TSME both.

To show them a single failure, de-duplicate the attributes by appstream
ID during depsolve.

If the plugin didn't explicitly set obsoletes and two attributes are both
failures and both share the same appstream ID obsolete one of them.
2022-04-12 11:59:49 -05:00
..
tests Add coSWID and uSWID parsers to libfwupdplugin 2022-03-15 14:37:02 +00:00
fu-archive-firmware.c Add FuArchiveFirmware 2021-11-26 13:47:04 +00:00
fu-archive-firmware.h Add FuArchiveFirmware 2021-11-26 13:47:04 +00:00
fu-archive.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-archive.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-backend.c Increase the chances of success of WAIT_FOR_REPLUG on WIN32 2022-01-06 13:20:34 -06:00
fu-backend.h Increase the chances of success of WAIT_FOR_REPLUG on WIN32 2022-01-06 13:20:34 -06:00
fu-bluez-device.c Allow devices to build instance IDs more easily 2022-03-03 09:13:29 +00:00
fu-bluez-device.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-cabinet.c Backfill SHA256 when generating metadata from cab files 2022-02-25 10:31:03 +00:00
fu-cabinet.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-cfi-device.c Add a plugin for the CH341A device 2022-04-03 16:29:30 +01:00
fu-cfi-device.h Add a plugin for the CH341A device 2022-04-03 16:29:30 +01:00
fu-cfu-common.c trivial: Export the CFU enum conversion functions 2021-09-25 21:16:18 +01:00
fu-cfu-common.h trivial: Export the CFU enum conversion functions 2021-09-25 21:16:18 +01:00
fu-cfu-offer.c Add FuCfuPayload and FuCfuOffer 2021-09-20 14:43:34 +01:00
fu-cfu-offer.h Add FuCfuPayload and FuCfuOffer 2021-09-20 14:43:34 +01:00
fu-cfu-payload.c Add FuCfuPayload and FuCfuOffer 2021-09-20 14:43:34 +01: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 trivial: Prevent critical warning when calling fu_chunk_array_new() on zero-sized data 2021-12-12 11:16:03 +00:00
fu-chunk.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-common-cab.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-common-cab.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-common-darwin.c Fix build for MacOS 2022-03-15 14:37:28 +00:00
fu-common-freebsd.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-common-guid.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -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 trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-common-private.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-common-version.c Try harder to convert to a version into a correct semver 2022-02-11 15:28:05 +00:00
fu-common-version.h Try harder to convert to a version into a correct semver 2022-02-11 15:28:05 +00:00
fu-common-windows.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-common.c Add fu_common_reverse_uint8() for future functionality 2022-03-31 16:34:27 +01:00
fu-common.h Add fu_common_reverse_uint8() for future functionality 2022-03-31 16:34:27 +01:00
fu-context-private.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-context.c trivial: Add some more annotations for language bindings 2022-01-03 22:46:23 +00:00
fu-context.h Do not allow UEFI updates when the lid is closed 2021-12-29 19:18:26 +00:00
fu-coswid-firmware.c trivial: Fix -Wundef warning when compiling without libcbor 2022-03-18 10:38:12 +00:00
fu-coswid-firmware.h Add coSWID and uSWID parsers to libfwupdplugin 2022-03-15 14:37:02 +00:00
fu-deprecated.h Install development files for libfwupdplugin 2019-11-27 11:32:43 +00:00
fu-device-locker.c trivial: Do not check the device superclass when closing 2021-12-02 16:21:29 +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 recently introduced gtkdoc warning 2021-10-29 11:38:04 +01:00
fu-device.c Set the context automatically when setting the device proxy 2022-04-11 15:36:13 +01:00
fu-device.h Do not show unconnected or unreachable devices in the client tools 2022-03-15 14:08:17 +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 Allow patching firmware files at known offsets 2022-01-05 09:51:45 +00: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 trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-dfuse-firmware.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-efi-common.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05: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 trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-efi-firmware-common.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-efi-firmware-file.c Allow patching firmware files at known offsets 2022-01-05 09:51:45 +00:00
fu-efi-firmware-file.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-efi-firmware-filesystem.c trivial: Fix a fuzzing crash for a corrupt IFD image 2021-10-15 20:05:55 +01:00
fu-efi-firmware-filesystem.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-efi-firmware-section.c Allow patching firmware files at known offsets 2022-01-05 09:51:45 +00:00
fu-efi-firmware-section.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-efi-firmware-volume.c Allow patching firmware files at known offsets 2022-01-05 09:51:45 +00:00
fu-efi-firmware-volume.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-efi-signature-list.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -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 trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -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 trivial: Add a missing error check when creating a stream 2021-12-10 16:00:07 +00: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 trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-efivar.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-firmware-common.c trivial: Codespell fixes 2021-10-14 09:09:54 -05: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 Allow padding firmware sections in builder XML files 2022-02-09 13:31:55 +00:00
fu-firmware.h Allow patching firmware files at known offsets 2022-01-05 09:51:45 +00:00
fu-fmap-firmware.c Allow patching firmware files at known offsets 2022-01-05 09:51:45 +00:00
fu-fmap-firmware.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-fuzzer-firmware.c.in Do not leak when calling fu_firmware_parse() multiple times 2021-11-24 15:46:18 +00:00
fu-fuzzer-main.c trivial: Do not use g_assert() in self test code 2021-09-24 22:20:21 +01:00
fu-hash.py trivial: update python black style to 21.6b0 2021-06-16 06:41:46 -05:00
fu-hid-device.c trivial: Add some more annotations for language bindings 2022-01-03 22:46:23 +00:00
fu-hid-device.h Allow using interrupt transfers for HID devices 2021-10-05 15:08:44 +01:00
fu-hwids.c Allow overriding HwId data from the config file 2021-11-10 17:59:52 +00:00
fu-hwids.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-i2c-device.c Allow devices to build instance IDs more easily 2022-03-03 09:13:29 +00:00
fu-i2c-device.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-ifd-bios.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -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 trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-ifd-common.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-ifd-firmware.c Check the IFD sections have non-zero data length 2022-02-09 13:31:55 +00:00
fu-ifd-firmware.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-ifd-image.c Allow patching firmware files at known offsets 2022-01-05 09:51:45 +00:00
fu-ifd-image.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-ihex-firmware.c Allow patching firmware files at known offsets 2022-01-05 09:51:45 +00:00
fu-ihex-firmware.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05: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 trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-kenv.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-mutex.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-plugin-private.h Speed up the daemon startup by ~2% by doing dlsym much less 2021-11-09 12:02:07 +00: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: Remove some long dead docs about fu_plugin_device_add_delay() 2022-03-16 09:18:29 +00:00
fu-plugin.h libfwupdplugin: add a helper to set a config file to secure 2021-12-17 11:05:05 -06:00
fu-progress.c trivial: Never return the invalid value from fu_progress_get_percentage() 2022-03-30 18:42:01 +01:00
fu-progress.h Allow using a per-device global percentage completion 2021-09-13 14:28:15 +01:00
fu-quirks.c trivial: Add a missing possible CFI quirk key 2022-03-31 15:44:54 +01:00
fu-quirks.h trivial: Clarify the unit for the device remove delay 2022-03-03 11:26:17 +00:00
fu-security-attrs-private.h tpm: Actually add the v1.2 device 2021-11-10 14:08:08 +00:00
fu-security-attrs.c Automatically obsolete negative duplicate attributes 2022-04-12 11:59:49 -05:00
fu-security-attrs.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-self-test.c Automatically obsolete negative duplicate attributes 2022-04-12 11:59:49 -05:00
fu-smbios-private.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-smbios.c Get the SMBIOS table on Windows 2022-02-07 14:04:44 +00:00
fu-smbios.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-srec-firmware.c trivial: Fix some 'Comparison of narrow type with wide type in loop condition' 2022-04-05 14:45:42 +01:00
fu-srec-firmware.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -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 trivial: Fix a small memory leak when getting the udev parent 2022-03-25 21:12:53 +00:00
fu-udev-device.h trivial: Add missing API wrapper for future functionality 2022-02-21 18:57:20 +00:00
fu-usb-device-private.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-usb-device.c Correctly probe USB-2 hubs with more than 7 ports 2022-03-30 07:09:26 +01:00
fu-usb-device.h Add fu_usb_device_add_interface() for plugins to use 2022-01-04 22:05:37 +00:00
fu-uswid-firmware.c Add coSWID and uSWID parsers to libfwupdplugin 2022-03-15 14:37:02 +00:00
fu-uswid-firmware.h Add coSWID and uSWID parsers to libfwupdplugin 2022-03-15 14:37:02 +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 trivial: Add some more annotations for language bindings 2022-01-03 22:46:23 +00:00
fu-volume.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fwupdplugin.h Add FuArchiveFirmware 2021-11-26 13:47:04 +00:00
fwupdplugin.map Add a plugin for the CH341A device 2022-04-03 16:29:30 +01:00
meson.build Fix build for MacOS 2022-03-15 14:37:28 +00:00
README.md Allow using a per-device global percentage completion 2021-09-13 14:28:15 +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.

Remember: Plugins should be upstream!

Migrating from older API

  • Migrate from fu_common_is_cpu_intel() to fu_common_get_cpu_vendor()
  • Migrate from fu_firmware_strparse_uintXX() to fu_firmware_strparse_uintXX_safe()
  • Remove calls to fu_plugin_get_usb_context() and fu_plugin_set_usb_context()
  • Migrate from fu_plugin_runner_usb_device_added(), fu_plugin_runner_udev_device_added() and fu_plugin_runner_udev_device_changed() to fu_plugin_runner_backend_device_added()
  • Migrate from FuHidDevice->open() and FuHidDevice->close() to using the superclass helpers
  • Migrate from FuUsbDevice->probe(), FuUsbDevice->open() and FuUsbDevice->close() to using the superclass helpers
  • Migrate from FuUdevDevice->to_string(), FuUdevDevice->probe(), FuUdevDevice->open() and FuUdevDevice->close() to using the superclass helpers
  • Migrate from fu_device_get_protocol() to fu_device_get_protocols() and fu_device_set_protocol() to fu_device_add_protocol()
  • Migrate from fu_device_has_custom_flag() to fu_device_has_private_flag()
  • Migrate from fu_udev_device_set_readonly() to fu_udev_device_set_flags()
  • Migrate from fu_device_sleep_with_progress() to fu_progress_sleep() -- but be aware the unit of time has changed from seconds to milliseconds
  • Migrate from fu_device_get_status() to fu_progress_get_status()
  • Migrate from fu_device_set_status() to fu_progress_set_status()
  • Migrate from fu_device_get_progress() to fu_progress_get_percentage()
  • Migrate from fu_device_set_progress_full() to fu_progress_set_percentage_full()
  • Migrate from fu_device_set_progress() to fu_progress_set_steps(), fu_progress_add_step() and fu_progress_done -- see the FuProgress docs for more details!

Planned API/ABI changes for next release

  • Nothing yet.