fwupd/libfwupd
Richard Hughes cddf5b5b89 Only auto-add counterpart GUIDs when required
Doing this unconditionally means we accidentally 'bleed' one device mode into
another in a non-obvious way. For instance, a device might have two operating
modes with different GUIDs. If firmware is supplied for both modes in the same
cabinet archive then we might accidentally match the 'wrong' firmware when
the daemon has observed a mode switch and added the counterpart GUIDs.

We only really need the counterpart GUIDs when switching between Jabra, 8bitdo
and DFU devices where the DFU bootloader VID:PID is not manually tagged with
`CounterpartGuid` in a quirk file. In the general case lets keep it simple to
avoid difficult to find bugs.
2020-04-08 13:55:39 +01:00
..
fwupd-client.c trivial: Allow compiling without <glib-unix.h> 2019-11-26 17:15:45 +00:00
fwupd-client.h Add a new property Interactive to the daemon 2019-11-11 11:16:21 -06:00
fwupd-common-private.h trivial: Fix missing G_BEGIN_DECLS's from public includes 2019-02-10 08:59:07 +00:00
fwupd-common.c Allow building on Windows with MinGW 2019-12-03 16:33:43 +00:00
fwupd-common.h fu-tool: Save device state to @LOCALSTATEDIR@/lib/fwupd/state.json on actions 2019-02-28 10:32:45 -06: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 Export the device state as part of the D-Bus interface 2020-04-07 15:04:01 +01:00
fwupd-device.h Export the device state as part of the D-Bus interface 2020-04-07 15:04:01 +01:00
fwupd-enums-private.h Export the device state as part of the D-Bus interface 2020-04-07 15:04:01 +01:00
fwupd-enums.c Only auto-add counterpart GUIDs when required 2020-04-08 13:55:39 +01:00
fwupd-enums.h Only auto-add counterpart GUIDs when required 2020-04-08 13:55:39 +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-release-private.h Allow client code to construct objects from GVariant blobs 2019-07-03 11:44:31 +01:00
fwupd-release.c Export the release urgency 2020-04-02 13:22:07 +01:00
fwupd-release.h Export the release urgency 2020-04-02 13:22:07 +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 Load the signature to get the aliased CDN-safe version of the metadata 2020-04-03 16:27:04 +01:00
fwupd-remote.h Load the signature to get the aliased CDN-safe version of the metadata 2020-04-03 16:27:04 +01:00
fwupd-self-test.c Export the release urgency 2020-04-02 13:22:07 +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 Use '#pragma once' to avoid a lot of boilerplate 2019-02-09 08:42:30 -06:00
fwupd.map Export the device state as part of the D-Bus interface 2020-04-07 15:04:01 +01:00
meson.build Load the signature to get the aliased CDN-safe version of the metadata 2020-04-03 16:27:04 +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()