fwupd/libfwupd
Richard Hughes a785a1c2f6 Remove the confusing ALLOW_OFFLINE and ALLOW_ONLINE flags
Over the months the original meaning of ALLOW_OFFLINE and ALLOW_ONLINE have be
lost, and there is now a confusing mixture of uses in the source tree. With this
commit we make it clear the UPDATABLE flag is used to specify when the device is
updatable (e.g. from the desktop live session, or from the systemd offline
updates mode, or both) and the NEEDS_REBOOT flag lets us know when the update
is actually going to be done.

For instance, a UEFI UpdateCapsule can be *scheduled* from either the desktop
or from the update mode (but the latter would be a bit weird), but does require
a reboot. Some devices might only be updatable outside the live session, for
instance a hard drive update or a GPU update -- there's just too much going on
with a live session and we want to tightly control what's running during the
firmware flash.

This also means we don't have to "retry" the update when scheduling an update
that really can be scheduled whenever, but just requires a reboot to apply.
2017-08-26 18:09:21 +01:00
..
fwupd-client.c trivial: Remove or downgrade some superfluous warnings 2017-07-21 13:38:27 +01:00
fwupd-client.h Add --version option to fwupdmgr 2017-07-04 20:49:27 +01:00
fwupd-common-private.h Export some more API for dealing with checksums 2017-06-09 10:11:58 +01:00
fwupd-common.c Export some more API for dealing with checksums 2017-06-09 10:11:58 +01:00
fwupd-common.h Export some more API for dealing with checksums 2017-06-09 10:11:58 +01:00
fwupd-device-private.h libfwupd: Split up FwupdResult into FwupdDevice and FwupdRelease 2017-06-05 17:34:36 +01:00
fwupd-device.c trivial: adjust get-details and get-devices output Display Name output 2017-07-13 16:22:19 -05:00
fwupd-device.h Add the ability to restrict the firmware installation to specific vendor IDs 2017-06-12 20:22:25 +01:00
fwupd-enums-private.h Add the ability to restrict the firmware installation to specific vendor IDs 2017-06-12 20:22:25 +01:00
fwupd-enums.c Remove the confusing ALLOW_OFFLINE and ALLOW_ONLINE flags 2017-08-26 18:09:21 +01:00
fwupd-enums.h Remove the confusing ALLOW_OFFLINE and ALLOW_ONLINE flags 2017-08-26 18:09:21 +01:00
fwupd-error.c trivial: Spit out non-enum functionality into a common file 2017-06-06 16:27:47 +01:00
fwupd-error.h Move the UPower functionality to a plugin 2016-12-12 16:28:16 +00:00
fwupd-release-private.h libfwupd: Split up FwupdResult into FwupdDevice and FwupdRelease 2017-06-05 17:34:36 +01:00
fwupd-release.c trivial: Actually generate complete GObjectIntrospection data 2017-06-21 15:32:08 +01:00
fwupd-release.h trivial: Actually generate complete GObjectIntrospection data 2017-06-21 15:32:08 +01:00
fwupd-remote-private.h Support embedded devices with local firmware metadata 2017-07-28 17:41:24 +01:00
fwupd-remote.c Add a FirmwareBaseURI parameter to the remote configs 2017-08-23 14:22:12 +01:00
fwupd-remote.h Add a FirmwareBaseURI parameter to the remote configs 2017-08-23 14:22:12 +01:00
fwupd-result.c trivial: adjust get-details and get-devices output Display Name output 2017-07-13 16:22:19 -05:00
fwupd-result.h Allow multiple checksums on devices and releases 2017-06-06 20:06:53 +01:00
fwupd-self-test.c Remove the confusing ALLOW_OFFLINE and ALLOW_ONLINE flags 2017-08-26 18:09:21 +01:00
fwupd-version.h.in trivial: Fix substitution of FWUPD_x_VERSION in fwupd-version.h 2017-04-19 10:15:16 +01:00
fwupd.h trivial: Spit out non-enum functionality into a common file 2017-06-06 16:27:47 +01:00
fwupd.map Add the Meson build system as an alternate to autotools 2017-04-12 16:35:18 +01:00
meson.build Add a FirmwareBaseURI parameter to the remote configs 2017-08-23 14:22:12 +01:00
README.md Allow multiple checksums on devices and releases 2017-06-06 20:06:53 +01:00

Planned API Changes

When we next bump soname the following changes are planned:

  • {sa{sv}} -> {a{sv}} -- we don't always want to send the device ID
  • Rename FU_DEVICE_FLAG -> FWUPD_DEVICE_FLAG
  • Remove all deprecated API
  • Remove FWUPD_RESULT_KEY_DEVICE_CHECKSUM_KIND
  • Rename GetDetailsLocal() -> GetDetails()
  • Rename UpdateMetadataWithId() -> UpdateMetadata()
  • Make DeviceAdded emit a FwupdDevice, not a FwupdResult
  • Unexport fwupd_result_to_data() and fwupd_result_new_from_data()