Mario Limonciello
eba19fb94d
Introduce an s390x cross compile target to CI
2017-09-08 09:24:54 +01:00
Mario Limonciello
c15b126b00
trivial: Don't enable tests in data/tests unless -Denable-tests is set
2017-09-08 09:24:54 +01:00
Richard Hughes
564ad3103b
trivial: Fix up a formatting specifier in FuSmbios
...
Fixes: https://github.com/hughsie/fwupd/issues/233
2017-09-08 09:03:45 +01:00
Mario Limonciello
abdd612722
Add a test target for Debian build, but compiled under clang
2017-09-07 19:18:04 -05:00
Mario Limonciello
b59d6a1f33
Add a README about CI
2017-09-07 19:18:04 -05:00
Richard Hughes
a6bd5580d3
Add ModifyRemote as an easy way to enable and disable remotes like the LVFS
...
For example:
$ fwupdmgr modify-remote lvfs-testing Enabled true
2017-09-07 23:02:58 +01:00
Richard Hughes
f4cc7cc1ac
trivial: Use -Wunused-variable by default
2017-09-07 21:58:04 +01:00
Mario Limonciello
705fd1600b
trivial: remove unused variable in unifying ( Fixes : #229 )
2017-09-07 21:54:44 +01:00
Richard Hughes
1941c44559
Do not auto-open all USB devices at startup
...
Fixes: https://github.com/hughsie/fwupd/issues/220
2017-09-07 19:00:51 +01:00
Richard Hughes
a81ee67356
dfu: Use FuDeviceLocker
2017-09-07 19:00:51 +01:00
Richard Hughes
68e6065f0d
unifying: Use FuDeviceLocker
2017-09-07 19:00:51 +01:00
Richard Hughes
7ca38ce446
colorhug: Use FuDeviceLocker
2017-09-07 19:00:51 +01:00
Richard Hughes
4edeeda345
ebitdo: Use FuDeviceLocker
2017-09-07 19:00:51 +01:00
Richard Hughes
e3e7a7b7d1
altos: Use FuDeviceLocker
2017-09-07 19:00:51 +01:00
Richard Hughes
5b4d7dce0a
steelseries: Use FuDeviceLocker
2017-09-07 19:00:51 +01:00
Richard Hughes
92faae9a41
usb: Use FuDeviceLocker
2017-09-07 19:00:51 +01:00
Richard Hughes
7c52580f9c
Add FuDeviceLocker to simplify device open/close lifecycles
...
We can use the power of g_autoptr() to automatically close devices that have
gone out of scope. When everything is converted we can drop the GUsbContect
AUTO_OPEN_DEVICES flag which is making us look bad in powertop.
2017-09-07 19:00:51 +01:00
Richard Hughes
0f224225f7
dfu: Remove DEVO support
...
The hardware does not support the DFU specification enough for a metadata table
to be embedded, so there's no way to reliably detect the 'devo' cipher, thus
making the support useless.
2017-09-07 18:39:23 +01:00
Richard Hughes
fd931a962f
dfu: Remove the now-unused symtab support
2017-09-07 18:39:23 +01:00
Richard Hughes
68480a2069
trivial: Move the libdfu sources to the dfu plugin
2017-09-07 18:39:23 +01:00
Richard Hughes
53237d26a1
Remove the ELF support from libdfu and move the code to the altos plugin
...
This was a mistake originally for two reasons:
* The only device to use ELF as a deliverable is the altos devices
* ELF has nothing to do with the DFU specification
This moves the code to where it belongs.
2017-09-07 18:39:23 +01:00
Richard Hughes
2a533b8de2
Use -Werror when building in Travis CI
...
Do NOT do this for normal package builds.
With much help from Mario Limonciello, many thanks.
2017-09-07 18:25:48 +01:00
Mario Limonciello
8e9e61c6f6
trivial: debian: try to fix debci
2017-09-07 10:43:52 -05:00
Mario Limonciello
c791d5ba92
trivial: drop libebitdo transitional packages
2017-09-07 10:43:52 -05:00
Richard Hughes
3ab07ffb4c
trivial: Properly detach the ColorHug test DFU device
2017-09-07 12:01:32 +01:00
Richard Hughes
7ac92109eb
trivial: Remove useless config.h defines
...
The HAVE_UEFI_UNLOCK and HAVE_UEFI_GUID defines are always present for the
libfwup version we require.
2017-09-06 23:07:50 +01:00
Richard Hughes
54237e276d
trivial: Use upstreamed libfwup functions added in 0.5
2017-09-06 23:07:50 +01:00
Richard Hughes
5075fa9c5b
trivial: Remove some defines added in 0.3
...
For reference, we depend on at least 0.5...
2017-09-06 23:07:50 +01:00
Richard Hughes
4022700bc8
Do not install the libdfu helper library
...
In reality fwupd is the only user and we don't want to hold this library to the
same kind of API and ABI guarantees of libfwupd.
2017-09-06 16:21:32 +01:00
Richard Hughes
49e5e05aa8
Parse the SMBIOS DMI table directly
...
The Linux DMI class still does not provide the information we need, and parsing
the blob directly also allows the Dell and Redfish plugins to get the raw data.
2017-09-05 18:10:36 +01:00
Richard Hughes
1b090802f3
usb: Disable the fallback USB plugin
...
It's not super useful. If this has no bad effects for a couple of releases we
can either remove it completely or move the functionality to the test plugin.
2017-09-05 18:08:29 +01:00
Richard Hughes
ff597b1db4
trivial: Ignore the .pot file in the po directory
...
Also, reindent to 4 spaces.
2017-09-05 09:10:06 +01:00
Mario Limonciello
268d180e3b
Test for missing language translations at build time
...
This will help fix prevent issues such as
https://github.com/hughsie/fwupd/pull/216
happening at release time
2017-09-04 21:20:14 -05:00
Richard Hughes
19ff7b9571
trivial: Add fu_device_to_string()
...
This allows us to easily print the FwupdDevice, the FwupdRelease and the
daemon-specific metadata. This can only be called from the daemon or plugins.
2017-09-04 13:27:48 +01:00
Richard Hughes
adc9dadcf2
trivial: Fix the included headers for fu-common.h
...
The GCancellable object is in gio-2.0.
2017-09-04 13:19:27 +01:00
Richard Hughes
7133ca3924
trivial: Fix a tiny memory leak in DfuPatch
2017-09-01 19:42:40 +01:00
Richard Hughes
499429a4e9
Fix the libdfu self test failure on s390 and ppc64
...
We have to be careful converting the little endian keys and values to and from
a 'bare' uint8 buffer.
2017-09-01 19:36:19 +01:00
Piotr Drąg
396c788c5b
trivial: Update LINGUAS
...
Add Asturian, Finnish, and Chinese (Traditional).
2017-09-01 17:34:24 +01:00
Richard Hughes
57bddd2cd4
trivial: post release version bump
2017-09-01 15:29:13 +01:00
Richard Hughes
de3507d9c0
Release fwupd 0.9.7
2017-09-01 14:59:09 +01:00
Richard Hughes
45838f3606
trivial: Sync translations from Transifex
2017-09-01 14:54:44 +01:00
Richard Hughes
7081975a1a
trivial: Sync example spec file with downstream
2017-09-01 14:54:23 +01:00
Richard Hughes
4f0c828ca6
Fix build with newer versions of libgudev
...
Newer versions include the g_autoptr() macros in the installed headers.
2017-09-01 14:53:14 +01:00
Mario Limonciello
bb9d3b14dd
Revert "dell: prefer to detect supported systems from OEM strings"
...
This reverts commit 257c14ebd1
.
Although this is the preferable way to detect Dell systems this was
leading to executing SMI on some systems with problems.
libsmbios has some memory issues that need to be fixed first.
2017-08-31 16:48:45 -05:00
Richard Hughes
ad1d9b1769
trivial: Fix a tiny leak in FwupdRemote
2017-08-31 20:07:06 +01:00
Richard Hughes
f315719851
trivial: Fix up a literal format string in fwupdmgr
2017-08-31 20:00:01 +01:00
Yehezkel Bernat
ced27e8cbc
thunderbolt: add description to all FwLocation objects
...
Completing what discussed in https://github.com/hughsie/fwupd/pull/214
Signed-off-by: Yehezkel Bernat <yehezkel.bernat@intel.com>
2017-08-31 13:11:52 -05:00
Mario Limonciello
a65ce8392b
trivial: use fu_device_has_flag instead of fwupd_device_has_flag
2017-08-31 13:11:27 -05:00
Mario Limonciello
d63e7317db
trivial: dell: turn device back on for thunderbolt plugin, not tbtfwu plugin
2017-08-31 13:00:32 -05:00
Mario Limonciello
c2ed0cb2bc
trivial: update remaining use of ALLOW_ONLINE to UPDATABLE
2017-08-31 12:59:26 -05:00