Mario Limonciello
9ac53e28b1
Add information about compile-time dependency versions
...
Since the codebase looks at these versions for turning on and off
functionality it will be useful to use this for debugging
2017-07-24 15:30:28 -05:00
Richard Hughes
70d13a5a58
unifying: Make sure the percentage completion goes from 0% to 100%
...
Pre-filter the pending LuDeviceBootloaderRequest's after they are parsed so
that we know exactly how many packets need to be sent to the hardware.
As shown in https://github.com/hughsie/fwupd/issues/155 , people get worried
if the progress bar finishes before 100% as they'll wonder if all the writing
completed successfully.
2017-07-24 12:02:14 +01:00
Richard Hughes
b31791a11f
trivial: Allow setting the unifying bootloader address for self tests
2017-07-24 11:54:31 +01:00
Richard Hughes
da928d1da7
unifying: Fix trivial error handler warning
2017-07-24 11:46:54 +01:00
Richard Hughes
1ad45caeec
Use new GUsb functionality to fix flashing Unifying devices
...
This avoids open()ing and close()ing multiple times on hotplug -- which in
itself isn't a huge problem as the requests are refcounted in libusb, but it
matters hugely when a plugin accidentally closes a device that was not opened.
As all the devices are going to be opened anyway (to read the vendor strings)
and the cost of keeping the device is open is tiny, just get libgusb to
auto-open *all* devices and keep them open for the duration.
Fixes: https://github.com/hughsie/fwupd/issues/155
2017-07-24 11:08:25 +01:00
Richard Hughes
f592b06722
dell: Fix the last of the memory leaks in the self tests
...
Fixes: https://github.com/hughsie/fwupd/issues/158
2017-07-24 10:55:03 +01:00
Richard Hughes
4bfcae2921
trivial: Fix a tiny leak in the Dell plugin
2017-07-24 10:51:29 +01:00
Richard Hughes
535664cd1e
Run the plugin coldplug methods in a predictable order
...
When reading with g_dir_read_name() the returned files do not have to be sorted
in any particular order and could even change between invokation. This patch
makes debugging the interactions between plugins much easier.
2017-07-24 10:32:06 +01:00
Mario Limonciello
5f6a574fd7
fix some more memory leaks in dell plugin ( #158 )
2017-07-21 13:17:47 -05:00
Mario Limonciello
24add2222b
trivial: debian: correct duplicate descriptions in control file
2017-07-21 13:16:15 -05:00
Richard Hughes
ca52a8541e
trivial: Fix self tests after downgrading warnings commit
2017-07-21 15:42:32 +01:00
Richard Hughes
3cca1c65c2
trivial: Remove or downgrade some superfluous warnings
...
Fixes bugs like https://github.com/hughsie/fwupd/issues/159
2017-07-21 13:38:27 +01:00
Richard Hughes
c3c50fba4c
libdfu: Fix a crash if elf32_newehdr() fails
2017-07-21 13:07:00 +01:00
Richard Hughes
061ad8c5e8
trivial: Make fu_dell_detect_dock() slightly more NULL-deref safe
2017-07-19 09:14:56 +01:00
Mario Limonciello
11ca8122c3
Revert "trivial: fix some more memory leaks in dell plugin ( #158 )"
...
This reverts commit 49aba8cd87
.
That was prematurely committed, my apologies.
2017-07-18 16:00:03 -05:00
Mario Limonciello
32899e5ff7
dell: use plugin hash table instead
2017-07-18 15:53:38 -05:00
Mario Limonciello
49aba8cd87
trivial: fix some more memory leaks in dell plugin ( #158 )
2017-07-18 15:53:38 -05:00
Mario Limonciello
d817c53697
Correct a memory leak in Dell plugin ( Fixes #158 )
2017-07-18 10:35:21 -05:00
Richard Hughes
3745e8e481
trivial: Fix spelling of delimiter
2017-07-18 10:20:59 +01:00
Mario Limonciello
ef2079b20a
trivial: clarify delimitter in use for fwupd.conf is a semicolon
2017-07-17 14:50:17 -05:00
Mario Limonciello
f6005940e6
debian: enable test suite via /etc/fwupd.conf
2017-07-17 14:46:50 -05:00
Mario Limonciello
47c2e9b6a8
rpm: enable test suite via /etc/fwupd.conf
2017-07-17 14:46:32 -05:00
Mario Limonciello
5033d9c92e
Add capability to enable test suite via /etc/fwupd.conf
2017-07-17 14:45:51 -05:00
Mario Limonciello
a8a3c6f6b6
debian: run lintian as part of CI
...
If any new changes are introduced that break plicy, this should
catch them much sooner.
2017-07-17 14:35:20 -05:00
Mario Limonciello
c29b398ad0
trivial: fix various spelling errors
2017-07-17 13:07:05 -05:00
Mario Limonciello
531a223b80
trivial: debian: recusively cleanup on purge
2017-07-17 12:34:08 -05:00
Mario Limonciello
ed8e4a54cf
trivial: debian: remove transient items on purge ( Closes : #868464 , #868465 )
2017-07-17 12:15:28 -05:00
Mario Limonciello
531f6a210a
trivial: debian: update standards version
2017-07-17 12:15:28 -05:00
Mario Limonciello
b036d0c4ad
trivial: debian: add missing dh-strip-nondeterminism dependency
2017-07-17 12:15:28 -05:00
Mario Limonciello
5ad8555f46
trivial: debian: correct some linitian errors about fwupd-tests
2017-07-17 12:15:28 -05:00
Mario Limonciello
92be642cb4
trivial: debian: move DFU introspection to it's own package
2017-07-17 12:15:22 -05:00
Mario Limonciello
e9bcab0f8f
Default to "en" for UEFI capsule graphics
...
"C" is not a supported locale code per ISO 639-2
see https://lintian.debian.org/tags/unknown-locale-code.html
for more information
2017-07-17 11:56:40 -05:00
Richard Hughes
4851158249
trivial: Fix a -Wsign-compare warning on 32 bit
2017-07-17 16:39:35 +01:00
Richard Hughes
e8b5db66f4
Fix a hang on 32 bit computers
...
It turns out using a string hash for a pointer object doesn't always work...
2017-07-17 14:18:29 +01:00
Mario Limonciello
5735fd67c1
trivial: set engine back to idle
...
A regression from 9945edbe74
causes
a missing newline for many actions because it doesn't go back to idle
2017-07-13 16:22:19 -05:00
Mario Limonciello
790701f32b
trivial: adjust get-details and get-devices output Display Name output
...
This returns them back to the more readable 0.8.x behavior where
devices have the name first and then all the details indented.
2017-07-13 16:22:19 -05:00
Richard Hughes
32684f2344
Check all the device GUIDs against the blacklist when added
...
To the user it's not obvious which is the default GUID.
See https://github.com/hughsie/fwupd/issues/127
2017-07-13 09:32:26 +01:00
Mario Limonciello
8e1297f46d
trivial: move compilation instructions to github wiki
...
New problems will be introduced with software outside of fwupd.
It's better to document compilation difficulties to be expected
in the wiki.
2017-07-10 16:49:53 -05:00
Mario Limonciello
c9ff8f1e33
trivial: Add a Dockerfile for Ubuntu zesty (17.04)
...
This won't be run through CI (already have Debian coverage)
but it should make it easier to check Ubuntu/Debian deviations
in the future
2017-07-10 16:30:24 -05:00
Mario Limonciello
1d588e0970
trivial: debian: back off polkit-1 dependency
...
Should allow this to compile in more places now that ITS rules
are packaged locally
2017-07-10 16:30:24 -05:00
Mario Limonciello
df430376fc
policy: fix compilation on a variety of configurations
...
* Meson >=0.41.0, (unreleased) polkit 0.114+ don't use data_dirs argument
* Meson >=0.41.0, older polkit, use local ITS rules with data_dirs argument
* Meson <0.41.0, any polkit, use custom policy building rules
Later on when meson 0.41.0+ and polkit 0.114+ is in many stable distros
this commit can be reverted and dependencies updated.
Fixes : #107
2017-07-10 16:30:24 -05:00
Mario Limonciello
f0bb65efa8
trivial: correct version comparison for polkit 0.114 in meson.build
2017-07-10 16:30:24 -05:00
Mario Limonciello
815c2d5ba0
trivial: packaging: lower appstream-glib requirements to match meson.build
2017-07-10 16:30:24 -05:00
Richard Hughes
492131daa5
trivial: Include all the GTypes in the generated docs
2017-07-10 21:02:52 +01:00
Mario Limonciello
dc8c985159
trivial: back the requirement on appstream-glib to 0.6.9
...
The items that 0.6.13 requires are now guarded by a version test.
This should allow running fwupd master on more distros that haven't
yet picked up appstream-glib 0.6.13.
2017-07-10 14:32:42 -05:00
Mario Limonciello
e68b118044
uefi: test for kernel support during coldplug
...
The kernel offers two interfaces for manipulation of EFI variables.
Make sure that at least one of these is available.
If another interface is added (and supported by efivar) then this
list will need to be appended as well.
This was raised as a potential problem in #100 .
2017-07-10 14:11:22 -05:00
Mario Limonciello
c7e5322454
dell, uefi: Display all errors recorded by efi_error tracing, not just the first one
2017-07-10 14:11:10 -05:00
Richard Hughes
c633edc773
unifying: Don't log a warning when an unknown report is parsed
...
Fixes: https://github.com/hughsie/fwupd/issues/151
2017-07-07 13:42:45 +01:00
Mario Limonciello
8cb067d528
trivial: uefi: whitespace
2017-07-06 12:39:33 -05:00
Mario Limonciello
f043f1f94b
uefi: record boot variables to system log during updates ( #152 )
...
This doesn't strictly resolve the encountered issue, but
it will aide in debugging these types of issues in the future.
2017-07-06 12:37:10 -05:00