Mario Limonciello
26767845f1
trivial: dell: add missing icon for TPM devices
2017-09-28 10:25:30 -04:00
Mario Limonciello
fa2d5f60e4
trival: debian: filter no-symbols-control-file during build for CI
...
e17c06 intentionally dropped this - it will be stored in
the debian branch based on when things land in debian
2017-09-28 10:17:33 -04:00
Mario Limonciello
0bc77d0658
trivial: debian: explicitly set section for libfwupd2
2017-09-28 10:15:40 -04:00
Mario Limonciello
0a06270d0e
trivial: debian: update standards version
2017-09-28 10:10:13 -04:00
Mario Limonciello
e17c060925
trivial: Drop the Debian symbols file
...
This will stay on the debian packaging tree this is based off of.
It's really not useful in an upstream context.
2017-09-28 09:23:52 +01:00
Richard Hughes
7f6d78fb1b
Add fwupd_remote_get_checksum() to use in client programs
2017-09-28 09:23:52 +01:00
Richard Hughes
d727929327
Generate the LD script from the GObject Introspection data
...
Also, we now verify the version script is correct each time we run the tests;
the consequences of getting the version script wrong are terribly bad.
Note, we can't actually use generated .map file for two reasons:
1. We don't hard depend on GObject Introspection
2. The map file is required to build the lib that the GIR is built from
To avoid the circular dep, and to ensure we don't change exported API
accidentaly actually check in a version of the version script to git.
2017-09-28 09:23:52 +01:00
Richard Hughes
9342996e7e
trivial: Use more defined result keys for FwupdRemote
...
Specifically here we want to use 'RemoteId' rather than just 'Id'...
2017-09-28 09:23:52 +01:00
Richard Hughes
b2fb80925c
trivial: Remove fwupd_remote_get_filename()
...
The data for these was just being generated internally based on the ID and the
basename of the original URI, and that's easy for the calling application to do
itself.
2017-09-28 09:23:52 +01:00
Richard Hughes
642ec13754
trivial: Remove GetUpdates as it is no longer used
2017-09-28 09:23:52 +01:00
Richard Hughes
eb53042c20
trivial: Use FuProgressbar in dfu-tool
2017-09-28 09:23:52 +01:00
Richard Hughes
b73ff8a346
trivial: Use FwupdStatus in the dfu plugin
2017-09-28 09:23:52 +01:00
Richard Hughes
e0bd53e439
trivial: Use standard _to_variant() and _from_variant() forms
2017-09-28 09:23:52 +01:00
Richard Hughes
9e79223ecf
trivial: C99ify more for-loops
2017-09-28 09:23:52 +01:00
Richard Hughes
7965721015
trivial: Restore a sensible amount of padding in the FwupdClientClass
...
We broke API recently, we might as well go full throttle.
2017-09-28 09:23:52 +01:00
Richard Hughes
603e42d527
trivial: Include the releases as part of the device a{sv} array
2017-09-28 09:23:52 +01:00
Richard Hughes
5b20c18656
trivial: Convert FwupdRemote from a FINAL to DERIVABLE type
...
The latter is best-practice in a library so that objects can be superclassed by
client programs.
2017-09-28 09:23:52 +01:00
Richard Hughes
9e1b14067c
trivial: Always use a a{sv} type to return value
...
Mixing sa{sv} and a{sv} made everything very confusing...
2017-09-28 09:23:52 +01:00
Richard Hughes
10c6a89563
trivial: Do not use 'provider' in the public API
2017-09-28 09:23:52 +01:00
Richard Hughes
80893e29fe
trivial: Remove FwupdResult from libfwupd
2017-09-28 09:23:52 +01:00
Richard Hughes
696934a7c3
trivial: Remove deprecated FwupdResult API
2017-09-28 09:23:52 +01:00
Richard Hughes
fbc5101e56
trivial: Remove the deprecated FWUPD_RESULT_KEY_DEVICE_CHECKSUM_KIND
2017-09-28 09:23:52 +01:00
Richard Hughes
b86ef97b36
trivial: Remove fwupd_remote_build_uri()
...
This also removes the long-deprecated fwupd_remote_get_uri() and fwupd_remote_get_uri_asc()
2017-09-28 09:23:52 +01:00
Richard Hughes
ba73c76d69
trivial: Remove the deprecated fwupd_client_update_metadata()
...
Also, rename fwupd_client_update_metadata_with_id() to it's now-removed counterpart.
2017-09-28 09:23:52 +01:00
Richard Hughes
07f963a52d
trivial: Remove the deprecated fwupd_client_get_details()
...
Also, rename fwupd_client_get_details_local() to it's now-removed counterpart.
2017-09-28 09:23:52 +01:00
Richard Hughes
eb94c14022
trivial: Remove the deprecated fwupd_client_get_devices()
...
Also, rename fwupd_client_get_devices_simple() to it's now-removed counterpart.
2017-09-28 09:23:52 +01:00
Richard Hughes
f90cc4507f
trivial: Remove two more deprecated defines
2017-09-28 09:23:52 +01:00
Richard Hughes
94110f5983
Remove some deprecated #define names and bump the soname
...
Also, bump soname as we're going to clean up a lot of things now.
Many thanks to Mario Limonciello for all the Debian-specific changes.
2017-09-28 09:23:52 +01:00
Richard Hughes
53e04cf508
Prevent fwupd from mounting filesystems
...
Fixes: https://github.com/hughsie/fwupd/issues/270
2017-09-27 12:41:23 +01:00
Richard Hughes
d3e4e7dcec
Revert "Drop CAP_SYS_ADMIN"
...
This reverts commit 297ea34f1b
.
2017-09-27 12:40:28 +01:00
Richard Hughes
5cc168fa79
uefi: Do not use system-specific infomation for PCI devices
...
We should not use system quirks for version formatting or use the SMBIOS name
as a prefix for non-integral devices.
2017-09-26 19:50:37 +01:00
Richard Hughes
2fac59f64a
trivial: Refactor the UEFI resource coldplug into a new helper
...
No functional changes.
2017-09-26 19:50:37 +01:00
Richard Hughes
9b4a66c8f8
uefi: Support uploading the firmware splash image
2017-09-26 19:50:37 +01:00
Richard Hughes
d8790e19a9
trivial: Factor out the call to fwup_set_up_update_with_buf() for future use
2017-09-26 19:50:37 +01:00
Mario Limonciello
5a8e8ee88d
dell: only set coldplug delay when we know we need it
...
It's not very common to have a system with a Synaptics MST hub or
a dock plugged in. Avoid slowing down fwupd enumeration in the
common scenario.
2017-09-26 08:56:07 -04:00
Mario Limonciello
e401edd107
dell: only run SMI to toggle host MST GPIO on systems with host MST
...
As type-C docks become more common MST controllers in the host are
going to become rarer. This should be a manageable whitelist
and prevent running the SMI on the majority of systems.
2017-09-26 08:56:07 -04:00
Mario Limonciello
5a3ff3a446
trivial: dell create a function for looking up system ID
...
Enough places look for it that code duplication should go away.
2017-09-26 08:56:07 -04:00
Mario Limonciello
48cae2cb5e
dell: add functionality to blacklist HW with problems
...
This is certainly a problem lower in the stack, but at least provide
a method to block these systems from bringing down fwupd until it's
fixed.
2017-09-26 08:56:07 -04:00
Mario Limonciello
e0e6a0b885
dell: only run on intended chassis
...
For example if trying to run on a server, they might support some
dell SMI but are architected differently.
2017-09-26 08:56:07 -04:00
Mario Limonciello
a790c1d360
trivial: update debci configuration
2017-09-26 08:44:52 -04:00
Mario Limonciello
d7b37c8667
trivial: fix missing-call-to-dpkg-maintscript-helper
2017-09-25 15:14:37 -05:00
Mario Limonciello
3bc46392d0
add ubuntu CI
2017-09-25 15:14:37 -05:00
Philip Withnall
9aa0f8680c
po/make-images: Drop unnecessary fontmap
...
This was causing problems building on Jessie, and turns out to be unused
anyway:
AttributeError: 'gi.repository.PangoCairo' object has no attribute 'font_map_get_default'
Signed-off-by: Philip Withnall <withnall@endlessm.com>
2017-09-22 08:38:30 -05:00
Mario Limonciello
48a164657e
thunderbolt-power: always run after thunderbolt plugin
...
It's important to make sure that coldplug finished on thunderbolt
as this is what thunderbolt-power uses to make intelligent decisions
2017-09-22 05:51:20 +08:00
Richard Hughes
08a37992f9
Allow plugins to depend on each other
...
The only things that plugins can declare is that they should be run before,
after or never with regard to another plugin.
2017-09-21 17:09:06 +01:00
Mario Limonciello
feb038099b
trivial: test if running in a container in build scripts
...
This allows people to build without docker without root.
2017-09-21 21:52:06 +08:00
Mario Limonciello
39c4436c3d
trivial: dell: move fu_dell_supported into plugin
...
Eventually fu-dell-common will not be used by synaptics, and it's
already not using this function.
2017-09-21 06:23:24 +08:00
Richard Hughes
7ada7a8678
Add support for SMBIOSv3
...
Fixes https://github.com/hughsie/fwupd/issues/262
2017-09-20 22:08:21 +01:00
Mario Limonciello
1edb50ed2f
trivial: dell: remove needless includes
2017-09-20 09:11:02 -05:00
Mario Limonciello
9a30ef284d
dell: prefer to use hwids to get DMI keys and DE table
...
libsmbios is still used as a fallback in some cases, mostly
because it's not clear whether or not ProductSKU is available
in all instances.
2017-09-20 09:11:02 -05:00