aboutsummaryrefslogtreecommitdiff
path: root/includes/hardinfo.h
AgeCommit message (Collapse)Author
2024-05-21FIX binreloc dirs hardcoded - add verbose outputhwspeedy
2024-05-21FIX BinReloc localedir hardinfo2 pot - fix translations not foundroot
2024-05-13FIX remove flashing intensity from gui benchmark - FIX #31hwspeedy
2024-05-01FIX Added strwrap function and fixed width for OS, Security & Env varshwspeedy
2024-04-28FIX focuslost, missing status updates, benchmark aborting improvedhwspeedy
2024-04-25FIX Added more Themeshwspeedy
2024-03-06FIX hardinfo lib-loading cleanup, params clean uphwspeedy
2024-02-08CLEANUP - remove old stuffbigbear
2024-02-08PR681 - implicit function declarationbigbear
2024-02-08ADD Package building for hardinfo2bigbear
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
2023-08-14Update copyright year to 2023L. Pereira
2021-11-07Update copyright informationL Pereira
2021-04-03Add command-line parameter to quieten HardInfo when in non-GUI modeLeandro Pereira
2021-03-06Update HARDINFO_COPYRIGHT_LATEST_YEAR to 2021Leandro Pereira
2020-05-17Fix more formatting errorsLeandro Pereira
2020-05-03hi_module_get_about() should return a const pointerLeandro Pereira
2020-01-17shell: new flag/funcs for escaping label part in keysBurt P
Will allow formerly forbidden characters in a label, "#$=" See: https://github.com/lpereira/hardinfo/issues/509 Signed-off-by: Burt P <pburt0@gmail.com>
2020-01-05firmware: switched to D-BusOndrej Čerman
2019-12-27fmt_opts param for pango/html/text formattingBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-12-26computer/display: add notes for wanted extern utilsBurt 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-14update copyright latest yearBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-14Benchmark: fixes, user_note, verifiable test dataBurt P
* fix zlib display order * fix cryptohash MiB/s calculation * revision and params for other benchmarks * allow attaching user note to bench result with -u * don't inlcude the new result value bits if they are empty/invalid in bench_value_to_str(). bench_value_from_str() doesn't need to be modified. * bench_results: clean old result cpu name for x86 * use problem_marker() from dmi_memory to mark old version bench results * benchmark: verifiable test data size and content - The test data benchmark.data is stored in a file that could be edited to change the size or content. /* to guarantee size */ gchar *get_test_data(gsize min_size); /* to checksum content */ char *md5_digest_str(const char *data, unsigned int len); Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-10Always pulse status bar while spawning processes synchronouslyLeandro Pereira
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-29replace idle_free() with auto_free() from sysobjBurt P
* 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>
2019-07-29usb: added info from sysfsOndrej Čerman
2019-06-29h_sysfs_read_*() should take const pointers as argsLeandro Pereira
2019-06-26devices/dmi_memory.c: shell viewtype=1 version, other tweaksBurt P
* add -std=c99 for dmi_memory.c to use unicode * -std=c99 is picky about inline functions Signed-off-by: Burt P <pburt0@gmail.com>
2018-12-02Perhaps fix implicit-pointer-decl warning for suseBurt P
(#298) I don't know what -W... would cause this to be checked by the compiler so I can't test it. It's not -Wimplicit-pointer-decl, at least not in gcc 8.2.0. This fix is a guess based on what I've read in other patches trying to fix this. Signed-off-by: Burt P <pburt0@gmail.com>
2018-11-30add hardinfo param for maximum number of benchmark results to includeBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-11-04params: html_ok -> markup_okBurt P
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>
2018-11-04add very-verbose parameterBurt P
Dumps any "moreinfo" for all items. Signed-off-by: Burt P <pburt0@gmail.com>
2018-10-22don't use html in text-only outputBurt P
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>
2018-05-25fix for #251 missing <unistd.h> at "hardinfo.h"PICCORO Lenz McKAY
2018-04-24hardinfo: add cli option to skip benchmarksBurt P
If you just need the hardware report, this makes it so much faster. Signed-off-by: Burt P <pburt0@gmail.com>
2018-02-27Add cli param to format result for -bBurt P
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>
2017-08-14Begin getting rid of callbacks returning stringsLeandro Pereira
Strings were never a good choice to begin with. However, with the efforts to improve translatability, they became even worse. This is an attempt to clean up the current mess and provide a more structured way for modules to commmunicate with the shell. The Computer module has been partially converted and changes will be provided next. It's partially converted since some of its information is still stored as strings. The Shell still only understands strings; that's why the structured data is converted to a string the way it is. Once all modules are converted, the Shell can be modified to handle struct Info directly without having to parse the .ini-like strings.
2017-08-14Move hardinfo_clean_label() and hardinfo_clean_value() to util.cBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-04Remove tree_view_save_image()/cb_save_graphic() -related.Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-04About dialog changesBurt P
* Use a define for copyright latest year, also used by `hardinfo --version` * Don't translate Jakub Szypulka * Add myself to contributors list Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-19Support for pgettext()Burt P
Attempt adding support for pgettext without the bulk of standard gettext.h Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-19Make locale dir match install pathBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12Fixup translation supportBurt P
* Use `bash updatepo.sh` instead of `make pot`. `make pot` will cause absolute paths to appear in hardinfo.pot of whomever last ran it. * C_() and NC_() support added for contexts Signed-off-by: Burt P <pburt0@gmail.com>
2017-06-05Fallback g_strv_contains() imp when using glib<2.44Burt P
Also, some stray whitespace removed. Signed-off-by: Burt P <pburt0@gmail.com>
2014-01-03Add initial translation support (patch from rodin.s)Julien Lavergne
2012-01-26Better manage moreinfo hashesLeandro Pereira
Have only one for the whole program and use per-module namespaces/prefixes so that each module can clear its own information easily.
2010-05-03Move files from hardinfo2 to root.Leandro A. F. Pereira