aboutsummaryrefslogtreecommitdiff
path: root/modules/computer.c
AgeCommit message (Collapse)Author
2017-07-19computer.c: minor cosmetic fixes in hi_get_field()Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-19Find a value for OS->Language field, Computer summary headers translatableBurt P
Note: "Computer" summary (not Computer->Summary). Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-19Fix Python detection, add Perl6, scan_dev() tweakBurt P
* Python2 detection needs to look at stderr instead of stdout * Python3 detection looks at stdout * Perl6 detection * scan_dev() now captures stdout and stderr and ignores the one it doesn't want. This prevents messages from appearing in the console when the scan happens. Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12User Info and Development header strings made translatableBurt P
Finishes https://github.com/lpereira/hardinfo/issues/38 Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12Remove unused c-format strings, make "pixels" translatableBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12Changes related to gettext and shell interface quirksBurt P
* Fixes for "..." special fields. * Computer->Summary and Computer->OS are more translatable, and and if the label is translated, the special code for updating the ... will still work. * Devices->Memory labels are currently not translated, some limitations exist. The labels were being double-translated on update. The earlier fix for Summary->RAM breaks if they are translated. * A bunch of trailing whitespace in the edited files was removed by the editor, and that created some noise in the diff. A rather frustrating experience. Signed-off-by: Burt P <pburt0@gmail.com>
2017-04-10Fixed compile warning in computer.cTotalCaesar659
Fixed compile warning in computer.c: [ 70%] Building C object CMakeFiles/computer.dir/modules/computer.c.o In file included from /home/maxpayne/hardinfo/modules/computer.c:27:0: /home/maxpayne/hardinfo/modules/computer.c: In function ‘callback_os’: /home/maxpayne/hardinfo/modules/computer.c:421:30: warning: too many arguments for format [-Wformat-extra-args] return g_strdup_printf(_("[$ShellParam$]\n" ^ /home/maxpayne/hardinfo/includes/hardinfo.h:28:30: note: in definition of macro ‘_’ #define _(STRING) gettext(STRING) ^
2016-12-30Do not return an empty value if computer::hi_get_field() is calledLeandro Pereira
Return a helpful string instead to help translators
2016-12-29Make computer module auto-updating fields translatableLeandro Pereira
2016-12-29Make load average work with locales that uses ',' for decimal separatorLeandro Pereira
2016-09-17Also check for " hypervisor" string to determine if running on a VMLeandro Pereira
2016-07-30Fix Python version informationLeandro Pereira
2016-07-24Add CMake and Golang to Development sectionLeandro Pereira
2016-07-24Show bits of entropy available to /dev/(u)randomLeandro Pereira
2016-06-10typo in commenttheHacker
2015-10-25revert commit [d5afcb6851]; fix the real cause of missing RAM display (use ↵jamesbond
moreinfo_lookup rather than hi_more_info); fix usb display crashing (util.c now looks for lsusb in /usr/sbin first); fix glibc version not showing (glibc located in /lib64/libc.so.6); initial support for DDR3 spd-decoding (incomplete, the manufacturer is not shown yet).
2015-10-25fix missing RAM memory due to functions of the same name being exported in ↵jamesbond
different shared libraries (fix: make the functions private).
2014-01-03Add initial translation support (patch from rodin.s)Julien Lavergne
2013-03-27Computer/Development: improve regex pattern, add clang and dmdhasufell
2012-01-27Remove "lib" prefix from modulesLeandro Pereira
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.
2012-01-08Add group information.Leandro Pereira
Closes http://bugs.hardinfo.org/showreport.php?bugid=54
2012-01-07Show moterboard information in the new summary screenLeandro Pereira
2010-05-03Move files from hardinfo2 to root.Leandro A. F. Pereira