Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
* 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>
|
|
Source:
https://elinux.org/RPi_HardwareHistory
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
|
|
Whenever every module is converted to struct Info, manually-specified
tags will be useless.
|
|
|
|
* add an integer revision field
* add an extra information string field
* zlib benchmark: new revision[1] is 2, so that old results are obviously old,
and now the zlib version string will be stored in extra information.
[1] as of 6a8e19a14305079b03e45eeb0580a45104f300dd
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Fix the warning:
report.c: In function ‘make_icon_css’:
shell/report.c:103:9: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]
Failure of the sanity test at the beginning of "make_icon_css" will result in returning
of a random value instead of a gchar*.
With this patch we return a gchar* to an empty string instead.
Signed-off-by: Juro Bystricky <juro.bystricky@intel.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>
|
|
See: https://github.com/lpereira/hardinfo/issues/404
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
|
|
|
|
Fixes #392
|
|
|
|
|
|
|
|
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>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
|
|
|
|
Only include one copy of each icon in the source, by using
css class rather than img with src for each instance.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
|
|
|
|
|
|
This change has been made mostly because we need more control in how
things are displayed, and fighting GTK+ so that this is possible isn't
going to cut it.
For instance, it is now possible to display links -- albeit only
external links at the moment, but internal links will be possible,
allowing for instance for one to click in a kernel module dependency to
know more about that particular module. Links will also be useful to
go to the vendor website, and maybe other things (like web search for
Vendor + Product ID) and whatnot.
Eventually this will replace the summary view altogether. That code
has a lot of drawbacks, including not being able to have its contents
copied to the clipboard, appear in reports, or have auto-updating
fields. It stays for now, but it will be gone before 0.6 is released.
I had forgotten how messy this code is. One of the reasons I lost the
interest in this project... I want to hack on a nicer code base but I
also lack the strong motivation to write the shell from the scratch.
|
|
This is still *very* messy, but...
The idea here is to change the ViewType as early as possible, because
a new ViewType that isn't related to the treeviews will be introduced.
|
|
|
|
When parsing the -- now preferred -- os-release file, the distro ID is
"Debian", which is lowercased.
|
|
|
|
|
|
|