aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-08-09arm: Try to lookup the SOC name from dt/compatibleBurt P
Just ARM for now, but maybe this will become more generic and it will be possible to have the processor package name and description seperate, even for x86 and whatnot. Also perhaps work in Sockets/Threads/Cores information. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-09arm: use decoded name instead of generic linux name for model_nameBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-09Handle mixed cores in get_processor_name(), ex: big.LITTLE or TegraBurt P
In the future, I think a processor will need a name and a description. Name as the straight name of the processor or SOC, and description as what name is now, with 4x and whatnot. x86 description might be "8 cores, 16 threads" or similar. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-09Benchmark: fix zlib section name, add some ARM resultsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-07cmake: fix mistake that broken gui benchmark for gtk2Burt P
I broke it. Signed-off-by: Burt P <pburt0@gmail.com>
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-07Update Russian translationTotalCaesar659
2017-08-06computer.c: tweaksBurt P
* 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>
2017-08-06GTK3 changes for syncmanager.cBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-06Update hardinfo.pot and .po files (after typo fixes)Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-04Detect physical machine typeLeandro Pereira
Use the same strategies from laptop-detect[1] to detect physical machine type. [1] https://gitlab.com/debiants/laptop-detect
2017-08-04No need to check if a /etc/${distro}-release file existsLeandro Pereira
Files are going to be opened for reading anyway.
2017-08-04Plug memleak when detecting distributionLeandro Pereira
If the output of `lsb_release -d` didn't contain a "Description: " substring, it would leak.
2017-08-04network: fix network statisticsBurt P
* 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>
2017-08-04Remove unnecessary GTK_CHECK_VERSION()sBurt P
Require 2.10, so checking anything less isn't needed. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-04computer/os: quiet warnings, add comment for translatorsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-04ws_scan.sh ignore deps/Burt 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-04Change some GTK_CHECK_VERSION()s to earliest version supportedBurt P
Shows some code that could be simplified if GTK+2 requirement was increased. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-04benchmarks: hide gui bench for gtk3+Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-04gtk_notebook_set_page() -> gtk_notebook_set_current_page()Burt P
Renamed in GTK+2.0, but compatibility macro remained until 3.0. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-04loadgraph: back to gtk2 onlyBurt P
gtk3 uses uber-graph. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-04Translations of Days Hours Minutes SecondsBurt P
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>
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-08-04hardinfo CLI translation fixesBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-31Call setlocale() to clear the default "C" locale for CLIBurt P
Fixes strings not being translated in the CLI. Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-31Tool to help save old label translationsBurt P
Used as part of https://github.com/lpereira/hardinfo/issues/100 Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-30Update README to corrected informationPICCORO Lenz McKAY
also reflect a format markdown for better
2017-07-30gtk3: loadgraph/uber-graph: support multiple lines on the graphBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-30gtk3: some leftovers from recent commitsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-30gtk3: Christian Hergert's uber-graph replacing loadgraphBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-30loadgraph: make loadgraph opaque, sample gdoubleBurt P
Old load graph still uses ints internally. Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-30gtk: TODO:GTK3 noteBurt 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-07-30po/*.po header tweaksBurt P
* 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>
2017-07-30po/updatepo.sh: updatesBurt P
* include includes/ * output git description in stats * fix spelling mistake * set/reset X-Poedit-Basepath header Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-30Save translated column headers, clean up obsolete stringsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-30Salvage translated field labelsBurt P
After breaking labels out of c-format strings, save any old translations that are missing. Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-30Update hardinfo.pot and .po filesBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-30devices.c: printf with no format stringBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-30boots.c, environment.c: cleanupBurt P
* mixed tab/space indent -> all space * break translatable labels out of format strings Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-30alsa.c: cleanupBurt P
* mixed tab/space indent -> all space * break translatable labels out of format strings Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-30spd-decode.c: break column headers out of format stringsBurt P
* 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>
2017-07-30benchmark.c: break column headers out of format stringsBurt P
* 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>
2017-07-30computer.c: break column headers out of format stringsBurt P
* 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>
2017-07-30network: make all column headers translatableBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-29Refactor distribution detection routineLeandro Pereira
2017-07-29Make about dialogs transientLeandro Pereira
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.
2017-07-29Re-mark some strings for translationLeandro Pereira