Commit Graph

4635 Commits

Author SHA1 Message Date
Mario Limonciello
74037577f8 src/Makefile.am: reshuffle so enableable bits are only referenced when on 2016-05-10 12:57:45 -05:00
Mario Limonciello
f81f42a84c Add support for a new device field "Flashes Left".
For devices that can report the number of flash cycles supported this field can
be used to prevent allowing the device to be flashed again.
2016-05-10 12:21:09 -05:00
Richard Hughes
21542abb0a Set the device description when parsing local firmware files
We were overwriting the update description, so we never noticed before.
2016-04-29 10:55:16 +01:00
Richard Hughes
662920ccf7 Show 'Unknow Device' in fwupdmgr when a device name is not set 2016-04-28 18:28:16 +01:00
Richard Hughes
dde7a2f6e6 Re-match devices when the AppStream metadata is updated
This allows us to notify clients watching for the 'supported' property for
new devices added to the LVFS.
2016-04-28 16:56:23 +01:00
Richard Hughes
422e866bc8 Match the AppStream metadata after a device has been adedd
This allows us to match specific properties by watching the ::DeviceChanged()
signal.
2016-04-28 16:56:23 +01:00
Richard Hughes
8ca33784ec Add device-added, device-removed and device-changed signals
This allows us to watch a specific device from client code without
re-requesting the device list on every Changed() signal.
2016-04-28 16:56:23 +01:00
Richard Hughes
cfc44fa0ae Add a 'monitor' debugging command for fwupdmgr
This allows us to watch for signals from the daemon.
2016-04-28 16:56:23 +01:00
Richard Hughes
1773e83060 Add fwupd_client_connect()
This exposes the client connection functionality so we can watch for signals
without being forced to perform an action beforehand.
2016-04-28 16:56:23 +01:00
Richard Hughes
4f4e1f3478 Add a 'supported' flag to the FuDevice
This is TRUE when the device has been found in the LVFS metadata.
2016-04-28 16:56:23 +01:00
Richard Hughes
37e9d777e5 Fix a critical warning when restarting the daemon
Emit the Status property with the correct type
2016-04-28 16:56:23 +01:00
Mario Limonciello
f4e0e88f7c Add summary and name field for Rival SteelSeries
Fixes: https://bugs.launchpad.net/ubuntu/+source/fwupd/+bug/1575248
2016-04-28 09:00:28 -05:00
Richard Hughes
654f6b82f3 Return all update descriptions newer than the installed version
Fixes: https://github.com/hughsie/fwupd/issues/45
2016-04-25 12:30:49 +01:00
Richard Hughes
3c694baf2d trivial: Make it clear the version from get-updates is an update version 2016-04-25 12:28:08 +01:00
Richard Hughes
1d3567056c trivial: Fix alignment of multi-line update descriptions 2016-04-25 12:17:42 +01:00
Richard Hughes
f76956be6f Make the device display name nicer 2016-04-15 09:02:28 +01:00
Richard Hughes
cfad8da070 Merge pull request #44 from hughsie/wip/superm1/reorder-get-devices
Re-order output of get-devices to be easier to read
2016-04-15 07:53:08 +01:00
Mario Limonciello
d9c234aeb3 trivial: update get-results error to be clearer 2016-04-14 13:44:01 -05:00
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