Age | Commit message (Collapse) | Author |
|
Touched files were changed to 0755 in
6f8cedca0671ab68514352c64579546547804475
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
|
|
* Break "Not found" out of a c-format
* Tweak GDB regex. Old one would grab only closing paren
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 the same strategies from laptop-detect[1] to detect physical
machine type.
[1] https://gitlab.com/debiants/laptop-detect
|
|
Files are going to be opened for reading anyway.
|
|
If the output of `lsb_release -d` didn't contain a "Description: "
substring, it would leak.
|
|
* Each key name must be unique, so using stat values as keys
causes problems if two stats have the same stat value.
* Show all stats, not just those in the form "%d %explaination"
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Require 2.10, so checking anything less isn't needed.
Signed-off-by: Burt P <pburt0@gmail.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>
|
|
Shows some code that could be simplified if GTK+2 requirement was
increased.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Renamed in GTK+2.0, but compatibility macro remained until 3.0.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
gtk3 uses uber-graph.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Make sure the whole set exists so they aren't mixed.
Used in util.c and uptime.c
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>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Fixes strings not being translated in the CLI.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Used as part of https://github.com/lpereira/hardinfo/issues/100
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
also reflect a format markdown for better
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Old load graph still uses ints internally.
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>
|
|
|
|
* Language is to be in the form ll or ll_CC,
(examples: "es" for Spanish, "ru_UA" for Russian/Ukraine)
https://www.gnu.org/software/gettext/manual/html_node/Header-Entry.html
* X-Poedit-KeywordsList is for xgettext -k to find
strings in source files, not for humans.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* include includes/
* output git description in stats
* fix spelling mistake
* set/reset X-Poedit-Basepath header
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
After breaking labels out of c-format strings, save any old
translations that are missing.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* mixed tab/space indent -> all space
* break translatable labels out of format strings
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* mixed tab/space indent -> all space
* break translatable labels out of format strings
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* More easily translated.
* The strings are more likely to be re-usable.
* A small change to one, or to a shell param, does not lose all
of them.
spd-decode.c still has many labels that are untranslatable, or stuck in
c-format strings.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* More easily translated.
* The strings are more likely to be re-usable.
* A small change to one, or to a shell param, does not lose all
of them.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* More easily translated.
* The strings are more likely to be re-usable.
* A small change to one, or to a shell param, does not lose all
of them.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
|
|
On compliant window managers, they will be modal dialogs, shown
in the middle of the screen. Similar to the report dialog and
the sync manager.
|
|
|
|
|
|
Also detect session type (Wayland, X11, etc).
|
|
Code is longer, but is more readable.
|
|
As requested in/fixes #71.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|