Richard Hughes
29c220db9f
Add VerifyUpdate to update the device checksums server-side
2016-12-15 17:09:37 +00:00
Richard Hughes
102ddb8fda
trivial: Remove some code that cannot be reached
...
Found using Coverity.
2016-11-09 20:14:15 +00:00
Richard Hughes
dd7713d27d
trivial: Fix a tiny resource leak if the signature file cannot be opened
...
Found using Coverity.
2016-11-09 19:28:38 +00:00
Richard Hughes
7d78347549
Fix libfwupd self tests when a host-provided fwupd is not available
...
Resolves: https://github.com/hughsie/fwupd/issues/64
2016-08-31 11:41:46 +01:00
Richard Hughes
abf42df355
Add fwupd_client_get_status()
2016-08-17 17:46:15 +01:00
Richard Hughes
876c007b1a
Allow providers to export percentage completion
2016-08-17 17:46:15 +01:00
Richard Hughes
c2651fb687
trivial: Do not timeout of very long firmware operations
2016-08-16 18:13:50 +01:00
Richard Hughes
ce38d94d5e
trivial: Get rid of useless internal-only gtk-doc markup
2016-06-29 11:25:25 +01:00
Richard Hughes
7289a6b5f0
Add a GetDetailsLocal() method to eventually replace GetDetails()
...
This allows us to return multiple results from one file, for instance where the
firmware.cab file contains multiple metainfo.xml files.
This allows us to show all the entries in the firmware file, rather than
searching for the installed device that matches and falling back to just the
first listed item.
2016-05-29 09:57:24 +01:00
Mario Limonciello
71a5b98d30
Add support for a --force flag to override provider warnings
...
Under some circumstances a provider may want to prevent a user from
performing a flash without additional user interaction.
Providers can opt into this behavior by checking for
FWUPD_INSTALL_FLAG_FORCE in the update routine.
2016-05-10 15:41:16 -05: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
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
5ac25f32e0
Generate gtk-doc documentation for libfwupd
2016-04-01 11:22:31 +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
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