Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
from copyright holders - see: https://github.com/lpereira/hardinfo/issues/530 https://github.com/lpereira/hardinfo/issues/707
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Will allow formerly forbidden characters in a label, "#$="
See:
https://github.com/lpereira/hardinfo/issues/509
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* 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>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* 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>
|
|
|
|
See:
https://github.com/lpereira/hardinfo/pull/417#discussion_r308512774
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* 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>
|
|
|
|
|
|
* 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>
|
|
(#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>
|
|
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>
|
|
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>
|
|
|
|
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>
|
|
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.
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* 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>
|
|
Attempt adding support for pgettext without
the bulk of standard gettext.h
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* 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>
|
|
Also, some stray whitespace removed.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
|
|
Have only one for the whole program and use per-module namespaces/prefixes
so that each module can clear its own information easily.
|
|
|