Richard Hughes
d42bd85059
trivial: Do not use the deprecated allow-none introspection argument
...
It's been deprecated since 2014... oops.
https://blogs.gnome.org/desrt/2014/05/27/allow-none-is-dead-long-live-nullable/
2021-04-19 14:46:42 +01:00
Richard Hughes
382524d82f
trivial: Fix potential crash when doing crazy things
...
Fix the asan crash when feeding the value back into itself, e.g
fu_firmware_set_version (firmware, fu_firmware_get_version (firmware));
2021-01-28 14:13:59 +00:00
Richard Hughes
a14de30153
trivial: Require <string.h> for strlen() and memcpy()
2020-12-14 16:49:03 +00:00
Mario Limonciello
fbd3508655
trivial: correct some documentation typos
2020-09-17 13:51:59 -05:00
Richard Hughes
7b57ce226b
libfwupd: Allow storing metadata on the security attr
2020-07-01 20:10:39 +01:00
Richard Hughes
dc805b41f1
trivial: Remove unused variables
2020-07-01 20:10:39 +01:00
Richard Hughes
19a60e62bc
trivial: Check for the _UNKNOWN enum when mashalling to GVariant
2020-06-17 18:37:27 +01:00
Richard Hughes
b246bcaecb
Allow client tools to translate the HSI attributes and results
...
To do this, rely on the AppStream ID to map to a translated string (providing a
fallback for clients that do not care) and switch the free-form result string
into a set of enumerated values that can be translated.
This fixes some of the problems where some things have to be enabled to "pass"
and other attributes have to be some other state. For cases where we want the
user to "do" something, provide a URL to a wiki page that we update out-of-band
of fwupd releases.
2020-05-18 17:03:49 +01:00
Richard Hughes
0613b3cdf3
trivial: Fix the docstring for fwupd_security_attr_set_name()
2020-05-15 16:17:27 +01:00
Richard Hughes
cae111d1de
Save the plugin that created the FwupdSecurityAttr
...
This is really useful for debugging.
2020-05-15 16:17:27 +01:00
Richard Hughes
173acd2e07
Add FwupdSecurityAttr to libfwupd
...
This will be used to store security attributes about platform security.
2020-05-11 17:52:41 +01:00