aboutsummaryrefslogtreecommitdiff
path: root/shell/report.c
AgeCommit message (Collapse)Author
2024-04-22FIX Spelling hardinfo->hardinfo2, fixup translations for h->h2hwspeedy
2024-04-02FIX Implicit ctype functions - missing includehwspeedy
2024-03-06FIX hardinfo lib-loading cleanup, params clean uphwspeedy
2024-02-08PR681 - implicit function declarationbigbear
2024-02-08LICENSE Changed to GPL2+ for project and source code According to approval ↵bigbear
from copyright holders - see: https://github.com/lpereira/hardinfo/issues/530 https://github.com/lpereira/hardinfo/issues/707
2021-11-07Update copyright informationL Pereira
2021-04-03Add command-line parameter to quieten HardInfo when in non-GUI modeLeandro Pereira
2019-12-27report: set fmt_opts for HTML reportsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-12-27fmt_opts param for pango/html/text formattingBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-10-24report: handle newlines in valuesBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-22various: entry hide flag, fix text format report, fix key_*() funcsBurt P
* fix key_is_highlighted() and key_wants_details() so that they don't look for flags in the label. * fix -r -f text, g_hash-related warnings from icon cache * add MODULE_FLAG_HIDE flag to hide module entries instead of using the '#' at the beginning of string hack, which didn't work everywhere, and screwed up translated strings. * hide GPU Drawing benchmark See: https://github.com/lpereira/hardinfo/issues/329 Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-14report: show icons for module entry in HTML reportBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-31Remove old open_url() in favor or uri_open()Burt P
See: https://github.com/lpereira/hardinfo/pull/417#discussion_r308512774 Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-10shell/report.c: fix "return with no value"Juro Bystricky
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>
2019-07-10Add SVG icon support in report HTML and Xubuntu icon to demonstrateBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-04shell/report: icon cache using cssBurt P
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>
2019-07-04shell/report: add icons to HTML reportsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-11-04report: add "shell" report formatBurt P
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>
2018-11-04add very-verbose parameterBurt P
Dumps any "moreinfo" for all items. Signed-off-by: Burt P <pburt0@gmail.com>
2018-11-04shell/report: allow "moreinfo" details to appear in reportsBurt P
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>
2018-03-12report: highlight "selected" itemsBurt P
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>
2018-02-22report.c: don't try to use column values that weren't provided (html version)Burt P
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>
2017-12-09report.c: don't try to use colum values that weren't providedBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-09-21Ensure report saving dialog buttons are translatableTotalCaesar659
2017-09-21Do not use deprecated GtkDialog method when building for GTK+ 3TotalCaesar659
2017-08-07Reset some file modes to 0644Burt P
Touched files were changed to 0755 in 6f8cedca0671ab68514352c64579546547804475 Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-06GTK3 changes for syncmanager.cBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-30GTK3 updatesBurt P
* 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>
2017-07-30Started GTK3 supportTotalCaesar659
2017-04-09Update report.cTotalCaesar659
2016-11-25Fix use after free while generating reportsLeandro Pereira
Found with AddressSanitizer.
2016-07-30Close stream if ReportContext couldn't be createdLeandro Pereira
2014-01-03Add initial translation support (patch from rodin.s)Julien Lavergne
2012-01-27Cleanups in report.cLeandro Pereira
2011-12-04Remove all usages of if (ptr) free(ptr) since free() already performs ↵Leandro Pereira
null-checks.
2010-05-03Move files from hardinfo2 to root.Leandro A. F. Pereira