Commit Graph

5517 Commits

Author SHA1 Message Date
Mario Limonciello
72ec147259 Re-order output of get-devices to be easier to read 2016-04-14 13:10:34 -05:00
Mario Limonciello
68a462c9b6 Set the system's DMI product name as the DisplayName for UEFI
It might not be technically correct if multiple ESRT entries
are supported on the system, but these don't currently exist
and this is an improvement over it being set to null and
showing messages like:
"(null) has firmware updates"
2016-04-14 12:02:31 -05:00
Mario Limonciello
bfedfea62e Remove non-interactive pinentry setting from fu-keyring
691e02d652 [fu_keyring_setup] added a signing
server and configured to not have interactive pin entry
[gpgme_set_pinentry_mode]

This signing server was reverted in 5c35abb1a5
but the non-interactive pin entry setting for gpgme remained.

This functionality was only added in gnupg 2.1. If not running on gnupg 2.1
gpgme will give silent errors when importing keys.  The silent errors were
fixed in 0.7.0 in c5e8921dfd.  Unfortunately
that makes an implicit dependency on gnupg 2.1 to use fwupd.

This commit will allow older gnupg versions (< 2.1) to continue to work without
negative implications for fwupd.
2016-04-05 08:53:01 -05:00
Richard Hughes
903b029829 Fix big endian issues when reading and writing DFU and DfuSe files
Fixes https://github.com/hughsie/fwupd/issues/43
2016-04-03 10:46:42 +01:00
Richard Hughes
1b853eb971 Fix libdfu CRC check for big endian architectures
dfu_firmware_generate_crc32() generates a uint in the host byte order, the
proper fix is to write the checksum in LE format like the other fields.
2016-04-03 09:41:28 +01:00
Richard Hughes
540df18d97 Add dfu_image_get_element_default() 2016-04-03 09:38:23 +01:00
Mario Limonciello
54c09e9c43 Fix libdfu CRC check for big endian architectures
This is the first fix needed for #43, there are others yet.
2016-04-02 16:07:02 -05:00
Richard Hughes
a71c331923 trivial: post release version bump 2016-04-01 14:42:01 +01:00
Richard Hughes
837cc2405f Release fwupd 0.7.0 2016-04-01 14:40:19 +01:00
Richard Hughes
5ac25f32e0 Generate gtk-doc documentation for libfwupd 2016-04-01 11:22:31 +01:00
Richard Hughes
f7c81e312a Allow the test suite to run in %check 2016-04-01 10:25:05 +01:00
Richard Hughes
f3f4e8dae5 Revert "Allow overriding the location of the provider offline files for test suite"
This reverts commit 661cd75b41.
2016-04-01 10:25:05 +01:00
Richard Hughes
06c804890a Revert "Allow overridding the location of the pending database for test suite"
This reverts commit 5c1999b4ec.
2016-04-01 10:25:05 +01:00
Richard Hughes
a9de272370 trivial: Fix build warning when compiling 'make check' 2016-04-01 10:25:05 +01:00
Richard Hughes
cf1767c5fa Split out the libdfu-devel package
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1322589
2016-04-01 08:16:04 +01:00
Richard Hughes
2ba4ef2dc2 trivial: Remove a boilerplate gtk-doc message 2016-04-01 08:16:04 +01:00
Richard Hughes
0195b86a1f trivial: Use g_autoptr() when checking for the bus 2016-04-01 08:09:26 +01:00
Richard Hughes
571274ebc1 trivial: Remove trailing whitespace 2016-04-01 08:06:05 +01:00
Mario Limonciello
5da7789376 trivial: typo 2016-03-31 21:52:06 -05:00
Mario Limonciello
925c137eb9 Add some basic explanation of how to use fwupd with various frontends 2016-03-31 19:59:30 -05:00
Mario Limonciello
c48bba4128 trivial: s/Debian/Ubuntu 2016-03-31 19:45:02 -05:00
Mario Limonciello
cc72c19357 trivial: use a bulleted list instead 2016-03-31 19:43:46 -05:00
Mario Limonciello
1ba10f1571 Update README.md for changes that have happened in the project 2016-03-31 19:42:13 -05:00
Mario Limonciello
e6e445ee4c Validate that the dbus system bus is available before running libfwupd tests
In a chroot (or buildd) environment dbus isn't necessarily available so this
test will always fail.
2016-03-31 17:27:58 -05:00
Mario Limonciello
661cd75b41 Allow overriding the location of the provider offline files for test suite 2016-03-31 13:41:14 -05:00
Mario Limonciello
5c1999b4ec Allow overridding the location of the pending database for test suite 2016-03-31 13:37:33 -05:00
Richard Hughes
2a1a9b61cc trivial: Use g_autoptr() in FuProviderUefi 2016-03-31 11:35:05 +01:00
Richard Hughes
7105e42af8 trivial: Do not show the argument list for an internal error 2016-03-31 11:23:04 +01:00
Richard Hughes
88492a3cd0 trivial: Add some more self tests for enums 2016-03-31 11:16:56 +01:00
Richard Hughes
12de5d8f23 Return errors of the correct type when using libfwupd
This also allows us to skip errors when doing 'make check' in a VM with no
hardware devices.
2016-03-31 11:04:49 +01:00
Richard Hughes
77df553db7 trivial: Be more explicit about testing for import success 2016-03-31 09:08:28 +01:00
Richard Hughes
fe490ebb80 Use g_auto() in FuKeyring
This simplifies function cleanup.
2016-03-31 09:00:16 +01:00
Mario Limonciello
c5e8921dfd Test that GPG key import actually was successful (or didn't change a key already in the keyring) 2016-03-30 23:59:48 -05:00
Richard Hughes
9559bbe42d Connect to UPower at startup 2016-03-29 19:18:52 +01:00
Richard Hughes
53ec7ea39e Do not return updates that require AC when on battery
This prevents us showing updates in GNOME Software that can't actually be
installed without an error.
2016-03-29 19:18:52 +01:00
Richard Hughes
5bf2837485 Add fwupd_result_has_device_flag() 2016-03-29 19:18:52 +01:00
Richard Hughes
b8956d41ee Do not use /tmp for downloaded files
The files are signed but downloading into user-cachedir is probably safer.
2016-03-29 19:18:18 +01:00
Richard Hughes
e4141f4f23 trivial: Print the fingerprint of the sig used for verification 2016-03-29 11:26:51 +01:00
Mario Limonciello
bb49bd52b9 Add Alienware to the version quirk table 2016-03-21 08:56:52 -05:00
Richard Hughes
b8f6b737e6 Show the checksum kind in the fwupdmgr output 2016-03-18 12:33:47 +00:00
Richard Hughes
af2f3f9288 Allow SHA-256 hashes when verifying
Although, stick to the old default of SHA-1 for now.
2016-03-18 12:33:47 +00:00
Richard Hughes
1f2f6ce1cd Allow other checksum kinds in FwupdResult
SHA1 is still the default, but others are allowed as well.
2016-03-18 12:33:47 +00:00
Richard Hughes
48a5117fde trivial: Allow different checksum types in FuRom 2016-03-18 12:33:47 +00:00
Richard Hughes
f3c1b56e73 trivial: Fix a potential crash spotted with clang 2016-03-18 12:33:47 +00:00
Richard Hughes
bdea096742 trivial: Add asserts for valid cancellables and errors in FwupdClient 2016-03-18 12:33:47 +00:00
Richard Hughes
9d8126ec63 libfwup: Fix up some NULL/FALSE confusion 2016-03-18 12:33:47 +00:00
Richard Hughes
bd046c8a19 libdfu: Fix up some NULL/FALSE confusion 2016-03-18 12:33:47 +00:00
Richard Hughes
b3849683b6 trivial: Remove all 'suspicious commas' 2016-03-18 12:33:47 +00:00
Richard Hughes
2d6e186800 Rename some of the new libfwupd API to align with the D-Bus names 2016-03-18 09:20:40 +00:00
Richard Hughes
ac97288ddb Emit a FwupdClient::changed when the daemon emits this signal 2016-03-17 13:10:16 +00:00