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 |
|
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
|
5bf2837485
|
Add fwupd_result_has_device_flag()
|
2016-03-29 19:18:52 +01: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
|
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
|
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 |
|
Richard Hughes
|
0f41340740
|
Add FwupdClient to libfwupd
This is a client-side object which can get results from the daemon.
|
2016-03-17 10:04:19 +00:00 |
|
Richard Hughes
|
7542c53749
|
Add a self test framework for libfwupd
|
2016-03-17 09:59:20 +00:00 |
|
Richard Hughes
|
1aec596e5f
|
Add FwupdResult to libfwupd
This is a client-side object representing a result from the daemon.
|
2016-03-17 09:57:48 +00:00 |
|
Richard Hughes
|
b94f2f0488
|
Export FwupdUpdateFlags in libfwupd
|
2016-03-17 09:52:00 +00:00 |
|
Richard Hughes
|
a475eecda2
|
Export FwupdUpdateState in libfwupd
|
2016-03-17 09:48:34 +00:00 |
|
Richard Hughes
|
c1e3ded9a3
|
Add fwupd_trust_flag_to_string()
|
2016-03-17 09:43:04 +00:00 |
|
Richard Hughes
|
da887df142
|
trivial: Add note for next API break
|
2016-03-17 09:42:52 +00:00 |
|
Richard Hughes
|
2d041f370f
|
trivial: post branch version bump
|
2016-03-16 18:14:11 +00:00 |
|
Richard Hughes
|
23583f9d0b
|
Add fwupd_device_flag_to_string()
|
2016-03-15 16:31:47 +00:00 |
|
Richard Hughes
|
9a410ce459
|
Add an unlock method for devices
This is based on an idea from Mario Limonciello which can be used to enable a
PCI OptionROM read, or possibly enable ESRT functionality.
|
2016-03-02 10:17:02 +00:00 |
|
Richard Hughes
|
b75c92db47
|
Require AC power before scheduling some types of firmware update
Fixes half of https://github.com/hughsie/fwupd/issues/42
|
2016-02-20 20:25:56 +00:00 |
|
Richard Hughes
|
441785d215
|
trivial: Fix up some harmless lint, no code changes
|
2015-07-28 14:56:19 +01:00 |
|
Richard Hughes
|
d7dba98e68
|
Move boolean properties on the device to a set of flags
This is much less boilerplate and allows us to expand in the future.
|
2015-05-05 16:02:20 +01:00 |
|
Richard Hughes
|
046db72555
|
Add an UNKNOWN status so we can return meaningful enum values
|
2015-04-24 12:33:16 +01:00 |
|
Richard Hughes
|
8a08f9d8f3
|
Verify firmware if a detached signature is present
|
2015-04-14 15:41:44 +01:00 |
|
Richard Hughes
|
36a889034c
|
Add helper code to validate public key signatures
We'll use this in the future for checking device firmware.
|
2015-04-14 13:53:19 +01:00 |
|
Richard Hughes
|
f910ac9541
|
trivial: Also export the status enum codes
|
2015-03-19 10:54:06 +00:00 |
|
Richard Hughes
|
8645ec9ad5
|
Create a libfwupd shared library
|
2015-03-19 10:54:05 +00:00 |
|