Age | Commit message (Collapse) | Author |
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
|
|
|
|
* 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>
|
|
|
|
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>
|
|
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>
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Let $ShellParam$ groups change it again -- this fixes an issue where
some modules were displaying with the wrong ViewType.
|
|
|
|
|
|
|
|
|
|
Includes the hardinfo-required source files directly instead of
using a git submodule. The original is unmaintained.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Fixes
https://github.com/lpereira/hardinfo/issues/317
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Fixes https://github.com/lpereira/hardinfo/issues/304
After 9eaf1a7a96aabc021594bcc6f5fe2ef60da8fb0c, the
whole key part, including the opening and closing '$',
is stored in INFO_TREE_COL_DATA so that the
key_*() functions can be used against it anywhere.
The first '$' no longer needs to be skipped.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Just dumps the conf/keyfile-format output. Very useful for
development.
Try `hardinfo -s -w -r -f shell >shell_dump.txt`
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Dumps any "moreinfo" for all items.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Fixes https://github.com/lpereira/hardinfo/issues/223
The first item to use it will be Devices/Processors/Package Info.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Build the configuration file path using g_get_user_config_dir() instead of g_get_home_dir().
|
|
Fix small typo in 1906d3027dc3ad8b9b5533712299d48e265c852c
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
For benchmark results, the current machine will be highlighted in the list
by using the shell's select marker.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Use just the symbolic name "hardinfo", allowing for icon packs to
provide alternative icons.
Fixes #227
|
|
Like 96980fbf494d9c453c6b558967c90c55e41abe2d, but the html version
of that function. Fixes https://github.com/lpereira/hardinfo/issues/217
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
|
|
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
|
|
|
|
The string is constructed one word at a time, "About", X, "Module"
and it ends up being very strange in languages other than English.
Cutting out the module makes it a little better, and not much is
lost. A module could add "Module" to it's title, and then at
least that string can be translated as a complete unit.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
GtkStock has been deprecated in GTK+ 3.0, so use strings that work
in both GTK+ 2 and GTK+ 3.
|
|
The about modules strings were marked for translation
and translated, but the about dialog wasn't using the
translation.
Signed-off-by: Burt P <pburt0@gmail.com>
|