Age | Commit message (Collapse) | Author |
|
|
|
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
The html_ok param added in
970174b0897d40b804808632784ffa1544d9da93
is misleading. It turns out that it is not HTML,
but Pango Markup that is used by GTK, and a subset of that
happens to also work as HTML4 for the HTML report generation.
This change renames html_ok to markup_ok in ProgramParameters
and adds a comment explaining what common set of tags may be
used.
Also, if report generation happens as a fallback after GUI
initialization failed, then also disable markup, unless report
will be generated as HTML.
Pango markup info at:
https://developer.gnome.org/pango/stable/PangoMarkupFormat.html
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>
|
|
Fixes https://github.com/lpereira/hardinfo/issues/266
This is also needed so that vendor urls can be links where
appropriate.
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().
|
|
If you just need the hardware report, this makes it so much
faster.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
For running benchmarks from the command line, add a new param
to specify the output format:
-g "conf" gives a line suitable for benchmark.conf
-g "shell" gives the complete "moreinfo" shell data
-g "short" (or nothing) gives the bench_value string as before
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* Use gtk_widget_get_window() instead of ->window
cmake:
* add option to build against gtk3 `-DHARDINFO_GTK3=1`
* combine hardinfo-shell static library and hardinfo
* disable guibench for gtk3
hardinfo/util.c:
* widget_set_cursor() gtk3 changes
* For now, the whole function tree_view_save_image() is disabled
for gtk3.
shell/shell.c:
* add gtk_notebook_set_page() compatibility macro if not defined
* shell_summary_add_item() fixes
* Disable RANGE_GET_VALUE() RANGE_SET_VALUE() macros for GTK3. This
is a nigtmare onion to try and peel.
shell/callbacks.c:
* gtk_about_dialog_set_name() -> gtk_about_dialog_set_program_name()
after GTK+2.12.
shell/loadgraph.c:
* builds, but not yet functioning under gtk3
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Plus a couple other minor tweaks.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Hack a way to skip unavailable entries. Now "Resources" is
avaialbe outside of x86 when it wasn't before.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
|
|
Also, some stray whitespace removed.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Fixed compile warning in utils.c:
[ 37%] Building C object CMakeFiles/hardinfo.dir/hardinfo/util.c.o
/home/maxpayne/hardinfo/hardinfo/util.c: In function ‘seconds_to_string’:
/home/maxpayne/hardinfo/hardinfo/util.c:105:34: warning: too many arguments for format [-Wformat-extra-args]
return g_strdup_printf(ngettext("%d hour, ", "%d hours, ", hours), hours,
^
/home/maxpayne/hardinfo/hardinfo/util.c:108:37: warning: too many arguments for format [-Wformat-extra-args]
return g_strdup_printf(ngettext("%d day, ", "%d days, ", days), days,
^
[ 39%] Linking C executable hardinfo
|
|
|
|
|
|
|
|
|
|
moreinfo_lookup rather than hi_more_info); fix usb display crashing (util.c now looks for lsusb in /usr/sbin first); fix glibc version not showing (glibc located in /lib64/libc.so.6); initial support for DDR3 spd-decoding (incomplete, the manufacturer is not shown yet).
|
|
|
|
this breaks strict compilers
|
|
Have only one for the whole program and use per-module namespaces/prefixes
so that each module can clear its own information easily.
|
|
|
|
|