Age | Commit message (Collapse) | Author |
|
Also fixed a FIXME: use g_key_file_get_string_list().
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
See:
https://github.com/lpereira/hardinfo/pull/417#discussion_r308512774
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
udisks doesn't provide, but it can be looked up using attributes from
sysfs.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* auto_free() works in both report mode and gui mode.
* auto_free() only creates one recuring event for the whole
system rather than idle_free()'s one event per call.
* auto_free_ex() allows specifying the free function to use.
* auto_free() is thread-aware, free_auto_free_thread_final()
can be used to clean up on thread exit.
* auto_free() has some tweakability.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* more fields in struct Vendor.
* match_case -> match_rule and new match rule "exact". match_rule
remains compatible with match_case for old conf format.
* matches must be "whole word" matches so "Harmony" no longer hits
for "ARM".
* Parts outside of () are checked first, so "Foo (formerly Barly)"
matches Foo before Barly, even though Barly is longer and would
otherwise match first.
* vendor_list type (a blessed GSList*) and helper functions to manage
it.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
|
|
|
|
|
|
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Maybe this could use the async version too, so multiple lspci can be
spawned concurrently?
|
|
|
|
|
|
* tag was always included even when it didn't need to be. Now only
include it when tag specified, flagged, or includes an icon.
This messed up the existing update fields system.
* The update fields system has been changed to allow updating by tag
instead of the translated label. By label still works, however.
I think it would be best to switch to using tags in the future.
* info_flatten() calls flatten_shell_param() after flatten_group()
which could cause a field name or tag to be used after it was freed.
Created special free functions to handle this after all is used.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
|
|
|
|
See: https://github.com/lpereira/hardinfo/issues/404
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
|
|
Reduce code repetition by using an array of GCompareFunc function
pointers.
|
|
Fields are sorted on flatten.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
|
|
See:
https://github.com/lpereira/hardinfo/pull/393#issuecomment-507893260
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
|
|
Otherwise, the field updater would look for a field $ITEM-g-i$FieldName,
which it has no way of knowing about.
|
|
|
|
|
|
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
|
|
|
|
partitions list
|
|
|
|
|
|
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Part of (#298).
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
(#298)
E: hardinfo no-return-in-nonvoid-function /home/abuild/rpmbuild/BUILD/hardinfo-20181022T194523/hardinfo/pci_util.c:202, 160
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
(#298)
E: hardinfo no-return-in-nonvoid-function /home/abuild/rpmbuild/BUILD/hardinfo-20181022T194523/hardinfo/gpu_util.c:37, 405
E: hardinfo no-return-in-nonvoid-function /home/abuild/rpmbuild/BUILD/hardinfo-20181022T194523/hardinfo/gpu_util.c:37, 405
Signed-off-by: Burt P <pburt0@gmail.com>
|