Commit Graph

90 Commits

Author SHA1 Message Date
Yehezkel Bernat
94e7f75ef3 Updates for thunderbolt plugin
* Minor changes in Thunderbolt README file
* Remove PCI-oriented GUID
* Handle Thunderbolt controller in safe-mode
* Get progress status updates for Thunderbolt
* Fix for Thunderbolt FW version display
* Style changes from pull request review
2017-01-21 15:44:26 +00:00
Mario Limonciello
24afb470f2 Introduce plugin for Synaptics MST hubs 2017-01-16 11:23:43 -06:00
Richard Hughes
05133fefb7 Add support for flashing the ChaosKey 2017-01-09 12:21:35 +00:00
Richard Hughes
66a24da646 trivial: Actually allow compiling with libelf 2017-01-07 22:07:13 +00:00
Richard Hughes
a59777ad8d Add initial skeleton for Intel Thunderbolt support 2016-12-16 12:41:57 +00:00
Mario Limonciello
e781bb9b64 trivial: fix cosmetic fallout from provider -> plugin
some code (such as libfwupd) still internally refers to provider,
but this will need to be more carefully massaged
2016-12-13 12:25:09 -06:00
Richard Hughes
59a9344c1e Move the UPower functionality to a plugin 2016-12-12 16:28:16 +00:00
Richard Hughes
864363e139 Add support for Logitech Unifying devices
If you do not have Unifying hardware you can emulate writing firmware using:

$ fu-unifying-tool write file.hex -v --emulate=bootloader-nordic
2016-12-12 15:36:53 +00:00
Richard Hughes
cff38bcb3a Convert the providers to plugins to simplify code and for future features
This is a large commit that removes all the providers and turns them into
plugins. I think having both providers _and_ plugins was super confusing.

Plugins are loaded at runtime so you could in theory develop a new plugin
without putting it in the fwupd source tree, although there are no installed
headers or PC files as I'm not sure it's a good idea at this stage.

This commit moves all the per-provider docs, tests, notes, debug dumps and test
data to plugin-specific directories -- these also allows the plugin author to
"own" more of the source tree so we don't enforce fu- prefixes and the style
guide everywhere.

This allows us to run the same action on all the plugins in the future, so we
could have a prepare(FuPlugin, FuDevice) and cleanup(FuPlugin, FuDevice) run
on *all* plugins, so doing an update using one plugin would allow us to work
around hardware quirks in other plugins.

If I've broken your out-of-tree provider it's trivial to port to the new API
with sed and a fixed up build file. If you need help please let me know.
2016-12-12 12:31:23 +00:00
Richard Hughes
b4a24f6035 trivial: Post branch version bump 2016-12-12 12:31:23 +00:00
Richard Hughes
319a6bab12 Move the plugins into plugin-specific directories
This will allow us to add further documentation here in the future.
2016-12-12 11:52:03 +00:00
Richard Hughes
d8e8134bdf trivial: Move the libdfu test files to under libdfu 2016-12-12 11:17:11 +00:00
Richard Hughes
28bbab532a Unexport libebitdo
Nothing is ever going to use this except fwupd, so it makes no sense adding the
extra overhead.
2016-12-09 09:56:31 +00:00
Philip Withnall
bc339aa657 Fix redeclaration of polkit autocleanup functions
ifdef cannot be used to determine if a C symbol is defined, as it’s
evaluated by the preprocessor, before symbols are parsed. Instead, try
to detect whether polkit.h is suitably recent enough to define its own
auto-cleanup functions.

Signed-off-by: Richard Hughes <richard@hughsie.com>
2016-11-22 16:13:33 +00:00
Richard Hughes
013bb77ee9 Always make sure we're getting a C99 compiler
Spotted by pwithnall, many thanks.
2016-11-22 16:05:51 +00:00
Richard Hughes
1deda31cae Make libelf support optional 2016-11-22 15:39:57 +00:00
Richard Hughes
1e8a7bcbd5 trivial: post release version bump 2016-10-19 15:12:06 +01:00
Richard Hughes
eff5da7156 Enable the stack protection in local builds
This means we crash just the same way as the distro packages.
2016-09-29 19:43:57 +01:00
Richard Hughes
e994c331d8 trivial: post release version bump 2016-09-19 15:38:30 +01:00
Richard Hughes
ad55f1f8f0 trivial: post release version bump 2016-08-29 09:53:38 +01:00
Richard Hughes
3667ee7b22 libdfu: Add initial ELF reading and writing support 2016-08-26 18:44:00 +01:00
Richard Hughes
be8d2006c2 trivial: Actually use the warning flags 2016-08-26 10:20:35 +01:00
Richard Hughes
864aa7ef58 Do not use the deprecated GNOME_COMPILE_WARNINGS 2016-08-25 11:51:05 +01:00
Mario Limonciello
baee07b2cb Add a summary of providers that are enabled from configure 2016-08-24 13:58:43 -05:00
Mario Limonciello
d45a5e86d8 Conditionally enable all providers based upon what's installed
If all dependencies are found, then turn on the provider, but don't
fail autogen if something is missing.

This should help with the cause of 49c1588 while still letting the
common situation (sh autogen.sh) enable it by default.
2016-08-24 13:58:25 -05:00
Mario Limonciello
662a2d53fb trivial: correct verison valid for UEFI unlock 2016-08-23 14:21:12 -05:00
Richard Hughes
49c15885e0 Disable the Dell specific code by default
Adding new external deps upsets people building using jhbuild.
2016-08-23 13:15:22 +01:00
Mario Limonciello
ba876711de trivial: update version of fwupdate needed for UEFI_GUID
It landed here:
64b4cd53ba
which is after the version was declared as 5.
2016-08-11 15:25:47 -04:00
Mario Limonciello
308d8dd348 Embed fwupd version in generated libfwupd and libdfu documentation 2016-07-29 13:25:05 -05:00
Richard Hughes
33a518a615 Add another compile warning and fix up any build failures 2016-07-27 16:57:36 +01:00
Richard Hughes
c042ff8490 Add a small library for talking with 0bitdo hardware 2016-07-27 13:54:51 +01:00
Richard Hughes
f192bf025a trivial: Switch to compiling with C99 by default
We're already using non-MSVC features like g_autoptr().
2016-07-22 08:41:59 +01:00
Mario Limonciello
958ead697b Add Dell TPM and TB15/WD15 support via new Dell provider.
This provider will provide support for items that can be flashed
as capsules but aren't present in the ESRT table.

The MST hub and TBT NVM are not yet updatable, but GUIDs are
created to represent them when they are.
2016-07-13 12:30:25 -05:00
Richard Hughes
fcceb2f54a trivial: post release version bump 2016-06-13 13:37:17 +01:00
Richard Hughes
069392c82c trivial: post release version bump 2016-05-13 14:53:54 +01:00
Richard Hughes
a71c331923 trivial: post release version bump 2016-04-01 14:42:01 +01:00
Richard Hughes
5ac25f32e0 Generate gtk-doc documentation for libfwupd 2016-04-01 11:22:31 +01:00
Richard Hughes
2d041f370f trivial: post branch version bump 2016-03-16 18:14:11 +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
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
65dfbfe54f Do not use deprecated API from libappstream-glib 2016-03-02 13:43:21 +00:00
Mario Limonciello
29a7f95beb Add ESRT enable method into UEFI provider. 2016-03-02 10:17:02 +00:00
Richard Hughes
778c6b62d0 trivial: post release version bump 2016-02-12 16:52:20 +00:00
Richard Hughes
d9099ce288 trivial: post release version bump 2016-01-19 12:59:54 +00:00
Richard Hughes
1227c73168 trivial: post release version bump 2015-12-07 16:22:37 +00:00
Richard Hughes
832c334548 Fix compile with --disable-shared 2015-12-01 11:41:16 +00:00
Richard Hughes
fd50193cd8 trivial: Bump the dep on libcolorhug 2015-11-25 10:33:28 +00:00
Richard Hughes
8e02ee2a60 libdfu: Add a pkgconfig file 2015-11-23 09:17:43 +00:00
Richard Hughes
a941c3a9e9 Use new API available in fwup 0.5
This allows us to schedule a UEFI update without writing a temp file.
2015-11-17 11:06:29 +00:00