Richard Hughes
09c703638f
trivial: Pass the FwupdClient to fu_util_device_to_string()
...
This will be useful for future code that needs the system state for
translated messages, e.g. system battery level.
2022-05-18 15:03:00 -05:00
Richard Hughes
714a87771d
trivial: Use FwupdClient in fu_util_print_tree()
...
This allows us to print the tree title without generating it from the caller.
2022-05-18 15:03:00 -05:00
Richard Hughes
c9dd8cb256
trivial: Make the FwupdClient host properties RW
...
We'll need this for future functionality when using client in fwupdtool.
2022-05-18 15:03:00 -05:00
Richard Hughes
31c1d03ebc
trivial: Fix a gi-docgen warning with the latest version
2022-05-18 13:20:47 +01:00
Richard Hughes
21774cb228
trivial: Remove some dead code in the scsi plugin
2022-05-18 13:19:18 +01:00
Lukas Märdian
8702600928
debian: debci: don't stderr-fail the autopkgtest on modprobe error
...
it's optional as tests can be skipped, if mtdram module isn't there
Signed-off-by: Lukas Märdian <slyon@ubuntu.com>
2022-05-18 06:56:02 -05:00
Ryan Lee
a0ba6a612e
ccgx: add Lenovo USB-C dock to the quirk file
2022-05-18 01:43:48 -05:00
Gaël PORTAY
d7ffd821ff
bluetooth: Set version if REV has been set
2022-05-18 02:23:59 -04:00
Richard Hughes
91f23d67ab
Export the system battery levels on the D-Bus interface
2022-05-18 07:16:07 +01:00
Richard Hughes
679628c091
Move the battery attributes down into libfwupd
...
This allows us to show the current value and the threshold on the CLI
and in tools like gnome-firmware.
2022-05-18 07:16:07 +01:00
Richard Hughes
f06061701c
Allow setting the quirk ID from the quirk entry
...
Allow the admin to override the inhibit(s) on devices using a similar
format to the other kvs. For instance, setting two different quirks and
clearing another could be done using:
Quirk = usb-blocked:Device defective,needs-reboot:Reboot system,not-authorized:
This also allows unsetting the quirk, which was impossible before as
`@value` was always non-NULL.
2022-05-17 16:54:01 +01:00
Lukas Märdian
16ef6a3a4a
debian: debci: load the 'mtdram' module, to make it execute the mtd-self-test
2022-05-17 08:57:05 -05:00
Gaël PORTAY
3e00d0269e
trivial: steelseries: Rename Proton to Status+
2022-05-17 16:52:42 +03:00
Gaël PORTAY
d802f469e2
trivial: steelseries: gamepad: Remove duplicated local
...
The local and the parameter are duplicated variables for the same
object.
2022-05-17 16:52:42 +03:00
Gaël PORTAY
47a6341676
trivial: steelseries: Group quirks by device
2022-05-17 16:52:42 +03:00
Gaël PORTAY
efe0a1ef3f
trivial: steelseries: Update README.md
2022-05-17 16:52:42 +03:00
Gaël PORTAY
788d26cc72
trivial: Add device-test for Steelseries Rival 3 Wireless
2022-05-17 09:49:17 -04:00
Gaël PORTAY
508922c20c
steelseries: Add support for Rival 3 Wireless
2022-05-17 05:17:35 -04:00
Richard Hughes
3c30072b77
trivial: Use the packaged version of gi-docgen in Fedora CI
2022-05-17 09:46:17 +01:00
Richard Hughes
4a46376137
Always be arch-explicit for OS deps, harder
...
This fixes d8ba0bd178
to also add the
variant when the package name is not specfied.
Fixes https://github.com/fwupd/fwupd/issues/4636
2022-05-17 09:46:17 +01:00
Mario Limonciello
48544bd2ac
trivial: skip mtd tests if not working off mtdram test device
...
(LP: #1973598 )
2022-05-16 11:22:30 -05:00
Richard Hughes
7b806dbb2a
Pass the socket address when setting up the daemon
2022-05-14 20:47:50 +01:00
Richard Hughes
065b2a33f4
Use StartServiceCtrlDispatcherA for the daemon on Windows
2022-05-14 20:47:50 +01:00
Richard Hughes
0f89c48556
Build a dummy event message file for Windows
...
This means we don't get the 'No description found, please repair'
message when viewing messages in the Windows Event Viewer.
2022-05-13 15:08:39 +01:00
Richard Hughes
7ce3820b07
Use exe_wrapper = '/usr/bin/wine' when cross-compiling
...
This should probably move to /usr/share/mingw/toolchain-mingw64.meson
and this patch can be reverted when that happens.
2022-05-13 14:50:03 +01:00
Richard Hughes
e185475fd4
Log errors and warnings to the win32 eventlog
2022-05-12 14:13:43 -05:00
Richard Hughes
7934b7ddb0
trivial: Include libgusb-2.dll in the local build too
2022-05-12 18:29:12 +01:00
Richard Hughes
d23fd085f8
Split out daemon startup into two files
...
The Win32 StartServiceCtrlDispatcher service startup is very different
from the usual Linux exec() mechanism.
Split out the D-Bus daemon into a new object so we can consume it from
a different binary in the future.
This looks like a big change but it's 99% just moving code around.
2022-05-12 16:37:45 +01:00
Richard Hughes
1846b36fb2
dfu: Fix a trivial memory leak introduced in the last commit
2022-05-12 11:58:22 +01:00
Richard Hughes
3047ed1517
dfu: Set the DfuDevice as a proxy to the DfuTarget
...
Set the alt_name_for_display as the target name and use the logical ID
as the target alt-name. This allows us to use the ->to_string() vfunc.
2022-05-12 08:38:18 +01:00
Chen HungNien
5bc1b60bf0
[fwupd:dfu] Update dfu quirk file for SPIT pccam's chips
2022-05-12 08:36:46 +01:00
Richard Hughes
a489ec13bb
trivial: Automatically set the socket address on Windows
2022-05-11 10:11:06 -05:00
Richard Hughes
1c1f180d84
trivial: Set up the interactive console earlier in fwupdmgr
2022-05-11 10:11:06 -05:00
Richard Hughes
e138da23b7
trivial: Workaround Windows setting the codepage to 1252
2022-05-11 10:11:06 -05:00
Richard Hughes
0604ef4324
trivial: Print the custom socket address to the console
2022-05-11 10:11:06 -05:00
Richard Hughes
418d883ea7
Allow specifying a non-file D-Bus transport
...
e.g. on Windows you can do:
FWUPD_DBUS_SOCKET=tcp:host=localhost,port=12345
2022-05-11 10:11:06 -05:00
Richard Hughes
bbd6010929
trivial: Remove ca-bundle.crt, harder
2022-05-11 10:11:06 -05:00
Richard Hughes
812562c6b4
Do not install ca-bundle.crt on win32 as it's no longer required
2022-05-11 09:07:48 -05:00
Richard Hughes
909907455e
colorhug: Add the bootloader VID/PID used for the first batch of devices
2022-05-11 12:34:59 +01:00
Richard Hughes
a826f0134a
colorhug: Never set a NULL version when the FW inface data is NULL
...
This fixes updating from ColorHug(1) devices on old firmware versions,
but doesn't affect ColorHug2.
2022-05-11 12:34:59 +01:00
Mario Limonciello
53e3ae340b
trivial: libfwupd: fix an unused variable in Win32
2022-05-10 14:52:24 -05:00
Mario Limonciello
9633e555e2
trivial: use double quote for motd sed statement
2022-05-10 18:57:17 +01:00
Mario Limonciello
00b115d85d
trivial: don't run check-license on headers in dist/
2022-05-10 18:57:17 +01:00
Mario Limonciello
23bead8a56
trivial: don't check for null/false returns on dist or subprojects
2022-05-10 18:57:17 +01:00
Mario Limonciello
20fb170607
trivial: ci: generate NEWS and VERSION after MSI is done
...
These files don't need to be in the MSI, they're just used for CI
to add to the release on Github.
2022-05-10 18:57:17 +01:00
Mario Limonciello
8253bd5d51
trivial: disable motd for local win32 build too
2022-05-10 18:57:17 +01:00
Richard Hughes
c0a668ab18
Allow the device to pause the polling when writing firmware
2022-05-10 18:51:17 +01:00
Richard Hughes
b149300a9f
Download in-process when using fwupdtool
...
This also means we get progress completion.
2022-05-10 09:13:45 -05:00
Richard Hughes
861881691e
trivial: Fix -Wunused-variable compile warning
2022-05-10 13:12:10 +01:00
Richard Hughes
c56e0ba4cc
Use the native CA store on Windows when possible
2022-05-10 13:09:44 +01:00