fwupd/libfwupd
Richard Hughes 7bcb8d4385 Export FwupdPlugin so we can convey enumerated system errors to the end user
For instance, we can tell the user that UEFI UpdateCapsule is disabled in the
system firmware, or that efivarfs is not mounted. This is much better than
creating "dummy" devices which are really just hacks around the problem because
no better API existed. THe dummy devices cause as many problems as they solve.

Plugins have to set FWUPD_PLUGIN_FLAG_USER_WARNING if a warning should be shown
to the user, and only one warning will be shown of each failure type.

It is expected that GUI clients like gnome-software and gnome-firmware would use
this API to notify the user the localized message for why firmware updates are
not being shown.

Fixes https://github.com/fwupd/fwupd/issues/2456
2020-10-13 15:56:49 +01:00
..
fwupd-client-private.h libfwupd: Add async versions of the library for GUI tools 2020-09-03 15:46:57 +01:00
fwupd-client-sync.c Export FwupdPlugin so we can convey enumerated system errors to the end user 2020-10-13 15:56:49 +01:00
fwupd-client-sync.h Export FwupdPlugin so we can convey enumerated system errors to the end user 2020-10-13 15:56:49 +01:00
fwupd-client.c Export FwupdPlugin so we can convey enumerated system errors to the end user 2020-10-13 15:56:49 +01:00
fwupd-client.h Export FwupdPlugin so we can convey enumerated system errors to the end user 2020-10-13 15:56:49 +01:00
fwupd-common-private.h libfwupd: Add async versions of the library for GUI tools 2020-09-03 15:46:57 +01:00
fwupd-common.c trivial: don't show OS release paths checked 2020-10-03 06:58:13 -05:00
fwupd-common.h fwupd: Export fwupd_client_download_bytes() into the client library 2020-07-08 19:00:42 +01:00
fwupd-deprecated.h trivial: Fix missing G_BEGIN_DECLS's from public includes 2019-02-10 08:59:07 +00:00
fwupd-device-private.h Allow client code to construct objects from GVariant blobs 2019-07-03 11:44:31 +01:00
fwupd-device.c Add the concept of firmware 'branches' 2020-09-30 18:33:00 +01:00
fwupd-device.h Add the concept of firmware 'branches' 2020-09-30 18:33:00 +01:00
fwupd-enums-private.h Export FwupdPlugin so we can convey enumerated system errors to the end user 2020-10-13 15:56:49 +01:00
fwupd-enums.c Export FwupdPlugin so we can convey enumerated system errors to the end user 2020-10-13 15:56:49 +01:00
fwupd-enums.h Export FwupdPlugin so we can convey enumerated system errors to the end user 2020-10-13 15:56:49 +01:00
fwupd-error.c libfwupd: Add a new error type for user action needed 2019-11-01 14:31:03 +00:00
fwupd-error.h libfwupd: Add a new error type for user action needed 2019-11-01 14:31:03 +00:00
fwupd-plugin-private.h Export FwupdPlugin so we can convey enumerated system errors to the end user 2020-10-13 15:56:49 +01:00
fwupd-plugin.c Export FwupdPlugin so we can convey enumerated system errors to the end user 2020-10-13 15:56:49 +01:00
fwupd-plugin.h Export FwupdPlugin so we can convey enumerated system errors to the end user 2020-10-13 15:56:49 +01:00
fwupd-release-private.h Allow client code to construct objects from GVariant blobs 2019-07-03 11:44:31 +01:00
fwupd-release.c Add the concept of firmware 'branches' 2020-09-30 18:33:00 +01:00
fwupd-release.h Add the concept of firmware 'branches' 2020-09-30 18:33:00 +01:00
fwupd-remote-private.h libfwupd: Add a new private function fwupd_remote_set_remotes_dir 2019-08-29 11:44:32 -05:00
fwupd-remote.c libfwupd: Add fwupd_remote_load_signature_bytes() for when a file is not available 2020-07-09 20:57:00 +01:00
fwupd-remote.h libfwupd: Add fwupd_remote_load_signature_bytes() for when a file is not available 2020-07-09 20:57:00 +01:00
fwupd-security-attr-private.h libfwupd: Do not export the HSI AppStream IDs 2020-10-08 16:36:56 +01:00
fwupd-security-attr.c trivial: correct some documentation typos 2020-09-17 13:51:59 -05:00
fwupd-security-attr.h libfwupd: Do not export the HSI AppStream IDs 2020-10-08 16:36:56 +01:00
fwupd-self-test.c Export FwupdPlugin so we can convey enumerated system errors to the end user 2020-10-13 15:56:49 +01:00
fwupd-version.h.in Use '#pragma once' to avoid a lot of boilerplate 2019-02-09 08:42:30 -06:00
fwupd.h Export FwupdPlugin so we can convey enumerated system errors to the end user 2020-10-13 15:56:49 +01:00
fwupd.map Export FwupdPlugin so we can convey enumerated system errors to the end user 2020-10-13 15:56:49 +01:00
meson.build Export FwupdPlugin so we can convey enumerated system errors to the end user 2020-10-13 15:56:49 +01:00
README.md trivial: Remove GetUpdates as it is no longer used 2017-09-28 09:23:52 +01:00

Migration from Version 0.9.x

  • Rename FU_DEVICE_FLAG -> FWUPD_DEVICE_FLAG
  • Rename FWUPD_DEVICE_FLAG_ALLOW_ONLINE -> FWUPD_DEVICE_FLAG_UPDATABLE
  • Rename FWUPD_DEVICE_FLAG_ALLOW_OFFLINE -> FWUPD_DEVICE_FLAG_ONLY_OFFLINE
  • Rename fwupd_client_get_devices_simple -> fwupd_client_get_devices
  • Rename fwupd_client_get_details_local -> fwupd_client_get_details
  • Rename fwupd_client_update_metadata_with_id -> fwupd_client_update_metadata
  • Rename fwupd_remote_get_uri -> fwupd_remote_get_metadata_uri
  • Rename fwupd_remote_get_uri_asc -> fwupd_remote_get_metadata_uri_sig
  • Rename fwupd_remote_build_uri -> fwupd_remote_build_firmware_uri
  • Switch FWUPD_RESULT_KEY_DEVICE_CHECKSUM_KIND to fwupd_checksum_guess_kind()
  • Rename fwupd_result_update_() to fwupd_release_()
  • Rename fwupd_result_() to fwupd_device_()
  • Convert FwupdResult to FwupdDevice in all callbacks
  • Rename fwupd_device_provider -> fwupd_device_plugin
  • Convert hash types sa{sv} -> a{sv}
  • Convert fwupd_client_get_updates() -> fwupd_client_get_upgrades()