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
Richard Hughes
c8a60c9073
trivial: Squash a warning when compiling the self tests
2016-03-17 13:09:51 +00:00
Richard Hughes
8e9762d174
Use libfwupd inside the daemon
...
This also entailed writing some compat defines to work on FuDevices without
casting each one to a FwupdResult.
2016-03-17 10:14:17 +00:00
Richard Hughes
cb07a3eb3f
Use FwupdClient from libfwupd in fwupdmgr
2016-03-17 10:09:03 +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
6d39d37039
Show device flags in 'fwupdmgr get-devices'
2016-03-15 21:40:36 +00:00
Richard Hughes
16d8f6212d
Return the device flags when getting firmware details
...
This allows us to see if a local firmware file can be installed on the local
machine, and crucially, whether it has to be installed on or off-line.
2016-03-15 21:40:36 +00:00
Richard Hughes
23583f9d0b
Add fwupd_device_flag_to_string()
2016-03-15 16:31:47 +00:00
Richard Hughes
5883ccae57
Add a plugin for SteelSeries hardware
2016-03-14 14:56:11 +00:00
Richard Hughes
dad1e193cd
Run vendor plugins as required
...
This allows us to run plugins from AppStream metadata values.
2016-03-14 14:54:21 +00:00
Richard Hughes
80a77bcfd8
Use g_usb_context_wait_for_replug()
2016-03-14 14:47:44 +00:00
Richard Hughes
b4572d4c8c
trivial: post release version bump
2016-03-14 09:32:05 +00:00
Richard Hughes
f1d06338ec
Release fwupd 0.6.3
2016-03-14 09:30:08 +00:00
Richard Hughes
d090514f15
Add a simple plugin infrastructure
...
This allows vendors to write small self-contained modules that can be used to
override the default behaviour in the various providers.
2016-03-13 09:52:55 +00:00
Richard Hughes
ffa323b231
Revert "Allow defining update vfuncs with no runtime support"
...
This reverts commit 780a3e59ff
.
2016-03-11 08:48:58 +00:00
Richard Hughes
780a3e59ff
Allow defining update vfuncs with no runtime support
...
This allows providers to decide at runtime if a device can be updated online.
2016-03-11 08:21:22 +00:00
Richard Hughes
935769bf4d
trivial: Fix comment header
2016-03-11 08:21:10 +00:00
Richard Hughes
da9804d8be
Show ignored DFU devices in dfu-util, but not in fwupd
...
This allows desktop software to ignore the device, but leaves the device
controllable by the dfu-tool command line client.
2016-03-07 08:47:11 +00:00
Richard Hughes
d8b6d8a1f5
Export the attribute and quirk values in libdfu
2016-03-07 08:44:14 +00:00
Richard Hughes
c9620ac61e
Ignore the DFU runtime on the DW1820A
2016-03-07 08:42:12 +00:00
Richard Hughes
2fd64ecef8
trivial: Fix a method prefix to reflect reality
2016-03-07 08:21:39 +00:00
Richard Hughes
41b1f6c7c4
trivial: Fix tiny build warning with GCC6
2016-03-03 08:13:03 +00:00
Mario Limonciello
7ebdc1b148
trivial: Adjust ESRT enable function to match fwupdate change.
...
This was changed to have a fwup_ prefix and be clearer:
b817715900
2016-03-02 10:23:34 -06:00
Richard Hughes
65dfbfe54f
Do not use deprecated API from libappstream-glib
2016-03-02 13:43:21 +00:00
Richard Hughes
aaa0772618
Only read PCI OptionROM firmware when devices are manually unlocked
...
This allows us to do two things:
* Start up much faster, now typically under 150ms on fast machines
* Stop hard-locking machines with dodgy hardware or non-free kernel drivers
The last point in particular was causing gnome-software a bad reputation, as
fwupd was only auto-started the when gnome-software was launched, which read
the Option ROM which then hardlocked some machines.
Note: We still unconditionally read the Option ROM when verifying, although
this is a seldom used feature, and easier to correlate with hard lockups on
faulty hardware.
2016-03-02 10:17:02 +00:00
Mario Limonciello
29a7f95beb
Add ESRT enable method into UEFI provider.
2016-03-02 10:17:02 +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
46d6180f29
Correct the BCD version number for DFU 1.1
...
This prevents a warning about invalid version numbers for newer hardware.
I have no idea why 1.1 would be encoded as 0x0110 rather than 0x0101 but
dfu-util seems to do the same thing.
2016-03-02 09:57:38 +00:00
Richard Hughes
bdb62db907
Install the hardcoded firmware AppStream file
...
This currently contains a few USB 3.0 chips which we know about, but can't
actually update ourselves.
2016-02-29 11:20:26 +00:00