fwupd/libfwupd
Richard Hughes 70f9124545 Show translated firmware release notes when provided
Send the users locale to the daemon so that it can be used to prefer
the localized update text over the default en_US version.

    $ LANG=fr_FR.UTF8 fwupdmgr get-details test.cab
    ...
    └─ACME Plan 9:
          Nouvelle version: 0.0.5
          Licence:          Propriétaire
          Urgence:          Faible
          Fournisseur:      ACME Ltd.
          Description:      Cette version stable corrige des bugs.

I decided to send the locale to the daemon rather than change the
`Description` to return GVariant to `a{ss}` as we also probably want
to support things like localized summary and URLs too in the future.
2021-10-24 18:59:15 +01:00
..
tests Remove PLUGINBUILDDIR and use G_TEST_SRCDIR and G_TEST_BUILDDIR instead 2021-10-21 18:36:22 +01:00
fwupd-client-private.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fwupd-client-sync.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fwupd-client-sync.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fwupd-client.c Show translated firmware release notes when provided 2021-10-24 18:59:15 +01:00
fwupd-client.h Show translated firmware release notes when provided 2021-10-24 18:59:15 +01:00
fwupd-common-private.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fwupd-common.c Show HSiLevel=0 attributes in JSON security output 2021-09-02 21:41:11 +01:00
fwupd-common.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fwupd-context-test.c trivial: Do not use g_assert() in self test code 2021-09-24 22:20:21 +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 trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fwupd-device.c trivial: Codespell fixes 2021-10-14 09:09:54 -05:00
fwupd-device.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fwupd-enums-private.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fwupd-enums.c Show the user a warning if updating may affect full-disk-encryption 2021-10-09 08:09:38 +01:00
fwupd-enums.h Show the user a warning if updating may affect full-disk-encryption 2021-10-09 08:09:38 +01:00
fwupd-error.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fwupd-error.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fwupd-plugin-private.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fwupd-plugin.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fwupd-plugin.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fwupd-release-private.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fwupd-release.c trivial: Add two missing properties in the JSON output 2021-09-04 13:53:12 +01:00
fwupd-release.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fwupd-remote-private.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fwupd-remote.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fwupd-remote.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fwupd-request-private.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fwupd-request.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fwupd-request.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fwupd-security-attr-private.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fwupd-security-attr.c Allow adding GUIDs to each HSI security attr 2021-09-03 22:03:28 +01:00
fwupd-security-attr.h Allow adding GUIDs to each HSI security attr 2021-09-03 22:03:28 +01:00
fwupd-self-test.c Remove PLUGINBUILDDIR and use G_TEST_SRCDIR and G_TEST_BUILDDIR instead 2021-10-21 18:36:22 +01:00
fwupd-thread-test.c trivial: Do not use g_assert() in self test code 2021-09-24 22:20:21 +01:00
fwupd-version.c trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fwupd-version.h.in trivial: don't use same variable definition as config.h in code 2021-08-24 11:18:40 -05:00
fwupd.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fwupd.map Show translated firmware release notes when provided 2021-10-24 18:59:15 +01:00
meson.build Remove PLUGINBUILDDIR and use G_TEST_SRCDIR and G_TEST_BUILDDIR instead 2021-10-21 18:36:22 +01:00
README.md Remove support for --ignore-power by frontends 2021-09-21 13:13:52 -05:00

libfwupd

Planned API/ABI changes for next release

  • Typedef FwupdFeatureFlags to guint64 so it's the same size on all platforms
  • Remove the soup-session fallback property in FwupdClient.
  • Remove fwupd_device_set_vendor_id() and fwupd_device_get_vendor_id()
  • Remove the deprecated flags like FWUPD_DEVICE_FLAG_MD_SET_ICON
  • Remove fwupd_release_get_uri() and fwupd_release_set_uri()
  • Rename fwupd_client_install_release2_async() to fwupd_client_install_release_async()
  • Remove fwupd_device_set_protocol() and fwupd_device_get_protocol()
  • Remove deprecated install flag FWUPD_INSTALL_FLAG_IGNORE_POWER

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()