aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-10-09Fixed compilation warning when building on GTK3TotalCaesar659
2017-09-28Fix more compilation warnings when building with GTK+3TotalCaesar659
2017-09-26shell: select Computer Summary at startBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-09-21Russian translation updateTotalCaesar659
2017-09-21Ensure report saving dialog buttons are translatableTotalCaesar659
2017-09-21Do not use deprecated GtkDialog method when building for GTK+ 3TotalCaesar659
2017-09-10Remove the appended "Module" from about module dialog titleBurt P
The string is constructed one word at a time, "About", X, "Module" and it ends up being very strange in languages other than English. Cutting out the module makes it a little better, and not much is lost. A module could add "Module" to it's title, and then at least that string can be translated as a complete unit. Signed-off-by: Burt P <pburt0@gmail.com>
2017-09-10Fix compilation warning when benchmarkingTotalCaesar659
2017-09-06Fix compilation warningTotalCaesar659
2017-09-04Build fix after 8913af3eLeandro Pereira
Fixes #188.
2017-09-04Add prototype for processor_frequency_desc()Leandro Pereira
2017-09-03bench results: Show unknown instead of 0 kB for old resultsBurt P
Other minor tweaks. Signed-off-by: Burt P <pburt0@gmail.com>
2017-09-03Do not use deprecated GtkStockTotalCaesar659
GtkStock has been deprecated in GTK+ 3.0, so use strings that work in both GTK+ 2 and GTK+ 3.
2017-09-03Conditionally compile PowerPC and ARM code while summarizing DTLeandro Pereira
Also, use properly-named variables and plug a memory leak.
2017-09-03Clean up device tree codeLeandro Pereira
- No need for a global dtr variable: just pass it around as parameters - Internal functions marked static
2017-09-02Updated Russian translationTotalCaesar659
2017-08-28ARM: Add some mediatek SOCsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-27Show motherboard version again after DMI refactoringLeandro Pereira
2017-08-27dmi: check for null from dmi_get_str() in dmi_chassis_type_str()Burt P
Fix a crash when there is no DMI available. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-27Fix 802.11 signal to bar conversionLeandro Pereira
Just steal the code from GNOME shell: https://github.com/GNOME/gnome-shell/blob/9cc143aaee8aa7c33d7815f744f8dc9e958bddf8/js/ui/status/network.js#L89-L98
2017-08-27dmi: requested changesBurt P
Change requested by lpereira in https://github.com/lpereira/hardinfo/pull/160 Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-27devices/dmi: keys only need to be unique in the same groupBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-27DMI: allow specifying type for dmi_chassis_type_str()Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-27Create dmi_util.c and move *_util.c to hardinfo/Burt P
These stand alone interfaces and are used across modules, so just make them available to any module by default. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-27DMI: Add more string names, display more informationBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-27DMI: dmi_chassis_type_str() maps chassis-type to stringBurt P
dmi_chassis_type_str() is moved from code in computer.c:detect_machine_type(). It makes sense to keep it with dmi, as it maps a dmi-defined value to a string. This way it can be used in both dmi.c and computer.c. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-27DMI: add dmi_sysfs_root() to find path for dmi in sysfsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-27devices: tweak get_motherboard() to only use one translated stringBurt P
Also, simplify now that an empty DMI string is returned as null. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-27DMI: empty result return NULL; don't suggest root if rootBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-27devices: get_motherboard() fallbacks for board_name and board_vendorBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-27DMI: dmi_get_str() add "system-manufacturer"Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-27devices: use dmi_get_str() in get_motherboard()Burt P
Now that group names are translatable, this seems a better way. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-27DMI: make labels translatableBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-27DMI: dmi_get_str() cleanup string before returningBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-27Use dmi_get_str() to get chassis type; start to detect SBCBurt P
Removes a FIXME. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-27DMI: create single dmi_get_str() that uses sysfs with dmidecode fallbackBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-25Add another virtualbox test; make virt strings translatableBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-25boots.c: capture stderr to prevent a leakBurt P
The only error would be inability to access /var/log/wtmp. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-21samba.c: popen() leaks via stderrBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-21Use translations for about module dialogBurt P
The about modules strings were marked for translation and translated, but the about dialog wasn't using the translation. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-21Translate unit labels in Devices/MemoryBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-21Make OpenGL Renderer Unknown translatableBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-21Remove duplicate group headers in computer summaryBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-21Fix gambas environment detection for gambas X.Y.99 (git)PICCORO Lenz McKAY
fix detection for strings and also justify that when gambas are development version git or trunk svn build the versions beetween compiler and interpreter can differs,
2017-08-21Add ability to specify selected row, use it in benchmark resultsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-21bench_results: store int processors/cores/threadsBurt P
In the future, won't have to rely on a translated string. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-21Don't include benchmark result that was canceledBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-21Add OpenGL Renderer to benchmark result detailsBurt P
For the GPU Drawing benchmark at least, it should give some idea of the graphics capabilities of the machine. This is the only data hardinfo currently has about that. Maybe in the future, more advanced GPU information could be given. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-21benchmark.conf: restore an very old but interesting resultBurt P
An old PPC result from hardinfo 5.1. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-21bench_results: fix language translation issues for stored stringsBurt P
* cpu_config string is translated as loaded * if board or cpu_desc is missing, it is left null, stored empty, and translated to (Unknown) only when displayed. Signed-off-by: Burt P <pburt0@gmail.com>