Richard Hughes
b3dca14e90
trivial: Never compare a string against zero to avoid warnings
2017-07-06 18:28:01 +01:00
Richard Hughes
79acb58c7e
uefi: Fix crash when the product name is NULL
...
...bad things happen when you try to free a const char...
2017-07-06 18:27:01 +01:00
Mario Limonciello
c1a4bd469d
uefi,dell: make error messages from installing capsules useful
...
Before:
$ fwupdmgr install XPS_test.cab
Retrying as an offline update...
Scheduling… UEFI firmware update failed: -1
After:
$ fwupdmgr install XPS_test.cab
Retrying as an offline update...
Scheduling… UEFI firmware update failed: libfwup.c:733 get_paths(): could not find shim or fwup on ESP: No such file or directory
2017-07-06 11:38:33 -05:00
Mario Limonciello
7dabe954e2
trivial: set FWUPD_GIT_DESCRIBE even if git isn't installed
2017-07-06 09:26:54 -05:00
Mario Limonciello
b04c13e1cf
Include optional git checkout information in --version
...
When users are running from git this should aide in
debugging if they have a fix included.
2017-07-05 17:49:50 -05:00
Mario Limonciello
7e9924d7a7
trivial: Adjust get-devices output order
...
Since changing how the data was shuffled from earlier fwupd versions
the device name is no longer output at the top of the list, fix that.
2017-07-05 17:16:18 -05:00
Mario Limonciello
be3a994922
Display UEFI firmware type
...
This will be more important as devices include more than
one entry in the ESRT.
2017-07-05 17:16:18 -05:00
Mario Limonciello
74e0a320bf
trivial: debian: Add libcairo-dev to build-dependencies
2017-07-05 13:43:47 -05:00
Richard Hughes
89483f1bb9
Add --version option to fwupdmgr
...
$ fwupdmgr --version
client version: 0.9.6
daemon version: 0.9.6
Fixes https://github.com/hughsie/fwupd/issues/153
2017-07-04 20:49:27 +01:00
Richard Hughes
459b6eb9b4
trivial: Fix the colord version check in the example spec file
2017-07-04 16:32:09 +01:00
Richard Hughes
e5f83588d1
trivial: post release version bump
2017-07-04 13:32:06 +01:00
Richard Hughes
d832b1edca
Release fwupd 0.9.5
2017-07-04 13:30:01 +01:00
Richard Hughes
822e134e94
unifying: Split up the HID++2.0 and HID++1.0 functionality
2017-07-04 13:19:09 +01:00
Richard Hughes
2a247e85e3
unifying: Allow flashing in bootloader modes
2017-07-03 20:17:50 +01:00
Richard Hughes
07bdf87b86
trivial: Add defines for the 'very-long' register read/write
2017-07-03 20:17:43 +01:00
Richard Hughes
55e0207b96
trivial: Add installed firmware tests for the K780
2017-07-03 20:17:43 +01:00
Richard Hughes
b1af7496b1
unifying: Show the hardware version when the hardware provides this
2017-06-28 14:19:11 +01:00
Richard Hughes
55e6d9a74f
unifying: Only add the feature Root on HID++2.0 devices
2017-06-28 14:18:56 +01:00
Richard Hughes
42b6439892
unifying: Switch to a floating point HID++ version
2017-06-28 14:17:30 +01:00
Richard Hughes
2c1bd0236c
unifying: Only call HID++2.0 features on version 2+ devices
...
Also, ignore HID++1.0 replies from HID++2.0 devices and use the correct
function ID for getDfuStatus to avoid an error.
2017-06-28 12:10:02 +01:00
Richard Hughes
e97c5eb013
unifying: Manually set the HID++ version for runtime devices
2017-06-28 12:09:51 +01:00
Richard Hughes
653119fef8
unifying: Use a longer timeout for some operations
2017-06-28 12:09:51 +01:00
Richard Hughes
22dc937184
unifying: Use __attribute__((packed)) for structs sent to the hardware
2017-06-28 12:09:51 +01:00
Richard Hughes
f21cda4fed
unifying: Clear the feature map when a device is reprobed
2017-06-28 12:09:51 +01:00
Richard Hughes
695d01ed93
unifying: Keep the devices open, closing in finalize
2017-06-28 12:09:51 +01:00
Richard Hughes
c3b5b24287
unifying: Fix a confusing debug message
2017-06-28 12:05:32 +01:00
Richard Hughes
ae15bc2649
unifying: Filter by SwId when making HID++2.0 requests
...
Using the default value of '0' is what the kernel is using (related, libratbag
is using 0x08) and makes hotplug unreliable.
2017-06-28 12:05:32 +01:00
Richard Hughes
668f91419d
unifying: Allow large HID++ version numbers
...
Apparently, '4.3' is a perfectly valid version number.
2017-06-28 12:05:32 +01:00
Richard Hughes
f1399580b5
unifying: Do not allow closing a non-open device
2017-06-28 12:05:32 +01:00
Richard Hughes
38451999ff
unifying: Actually enforce the device_id checks
2017-06-28 12:05:32 +01:00
Richard Hughes
8884676c5d
unifying: Ping before trying to get the feature indexes
...
This reduces log spew for disconnected-but-paired devices.
2017-06-28 12:05:32 +01:00
Richard Hughes
45e3a03d15
trivial: Make a debug message less alarming
2017-06-28 12:05:32 +01:00
Richard Hughes
c4195b075d
trivial: Add an installed test for the K780
2017-06-28 12:05:32 +01:00
Richard Hughes
433fbb4574
trivial: Do not cache junk if the LVFS returns 404
2017-06-28 12:05:32 +01:00
Mario Limonciello
d97eb03b6b
trivial: debian: calculate version number using git describe again
...
This will be more representative of what the build actually is
rather than a mismarked tag.
If the checkout doesn't include a tag, fallback to parsing meson.build
though.
2017-06-26 13:01:29 -05:00
Mario Limonciello
3db79f2ec2
trivial: Fixup the arch build to work on Travis
...
* Use sed to adjust package version while running script rather than `makepkg`
* Run script as root so it can modify `/build`
* Run `makepkg` as nobody rather than "build"
* Separate build/install steps
2017-06-26 12:57:55 -05:00
Bruno Pagani
1cc7d8d271
Add Arch Linux to CI
2017-06-26 09:50:11 -05:00
Mario Limonciello
db42f2bd27
trivial: don't pull debhelper from experimental on debian CI anymore
...
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=865363 has been
fixed
2017-06-26 08:55:49 -05:00
Richard Hughes
72975f0077
unifying: Only mark the device as active once the probe has completed
2017-06-24 07:40:38 +01:00
Richard Hughes
765c679498
unifying: Only detach the device if required
2017-06-24 07:24:15 +01:00
Mario Limonciello
43775d03f9
debian: use dpkg-divert to adjust the launch script for CI testing
...
This means that if someone wants to use the test inteface with
packages, no hacky launching needed.
Just:
2017-06-22 14:44:58 -05:00
Mario Limonciello
6db2a4057c
debian: split out the test suite to it's own package
...
Most people won't be running the installed-tests, but make it
easy enough for them to get at them if they want to
2017-06-22 13:59:14 -05:00
Mario Limonciello
cca4297153
trivial: Switch installedtests from python2 to python3
2017-06-22 13:42:59 -05:00
Richard Hughes
25f6a42f26
trivial: Fix the location of the hardware installed test cache
2017-06-22 19:03:52 +01:00
Richard Hughes
2877237f8a
trivial: Fix CI harder
2017-06-22 15:49:40 +01:00
Richard Hughes
5d9e9f4a36
trivial: Fix the CI build for the new hardware installed tests
2017-06-22 11:21:03 +01:00
Richard Hughes
ed34991bd8
Do not unlock devices when doing VerifyUpdate
...
We used to do this dance to avoid reading the Option ROM on hardware by default
(some faulty hardware would crash...) but now we're doing the verify update in
the daemon there's no need to split this into two steps.
Fixes: https://github.com/hughsie/fwupd/issues/149
2017-06-22 10:37:10 +01:00
Richard Hughes
b9bddfd7ac
trivial: Ensure the verify component is replaced on veriy-update, not merged
2017-06-22 10:34:18 +01:00
Richard Hughes
08f12de44c
trivial: Avoid warning when doing verify-update multiple times
...
Applications always need a valid source with newer appstream-glib versions;
even in this case where the source is the hardware itself.
2017-06-22 10:33:32 +01:00
Richard Hughes
3045d1ca3f
unifying: Do not poll when we're waiting for device replug
...
If we happen to poll when the device is in the *process* of closing then the
open() fails in a weird way. If we're flashing it's probably a good idea to not
be too clever anyway...
2017-06-22 09:38:10 +01:00