aboutsummaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2017-07-19net.c: add predictable network names from systemdBurt P
See: https://github.com/systemd/systemd/blob/master/src/udev/udev-builtin-net_id.c#L20 Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-19net.c: cosmetic changesBurt P
* Mixed tab/space indent -> all spaces indent * Remove trailing whitespace Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-16Use Unicode bargraphs for WiFi signal strength indicatorLeandro Pereira
2017-07-12Make bits of entropy string translatableBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12Use ngettext to make uptime translatableBurt P
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-12Add column for localized field descriptions to Devices->MemoryBurt P
To get around the earlier problems with localized labels in the memory view, add a column "Description" that uses the localized labels. 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-07-12Fix Computer -> Summary -> RAM for non-EnglishBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12s390: multiple cpu, topolog, cpufreqBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12cpu topology: add book and drawerBurt P
Apparently used in s390. Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12x86,arm,riscv: small fixes and flag definition cosmetic tweaksBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12arm: don't mark empty strings for translationBurt P
gettext("") is reserved by gettext. Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12x86,arm,riscv: make flag definitions translatableBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12riscv: improve ISA string decodingBurt P
* Handle unknown future standard extensions better * Handle extension version numbers instead of just ignoring them * Test file riscv_fake_cpuinfo made more tricky Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12parisc: multiple procs, topology, cpufreq, more cpuinfo fieldsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12minor changesBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12ia64: multiple procs, topology, cpufreq, more cpuinfo fieldsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12riscv: improvementsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12riscv: show extension setsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12riscv: initial supportBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12The rest of processor.c using cpu_util.Burt P
Those currently not using topology or cpufreq, but could in the future. Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12Move common processor stuff into cpu_util.{h,c}Burt P
* PROC_CPUINFO define used in testing * STRIFNULL(), UNKIFNULL() EMPIFNULL() macros used in reading cpuinfo * byte order, topology, and cpufreq data structures and functions that are platform independent * processor_has_flag() helper Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12s390: add testBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12sh (superh): fixes, add testsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12m68k: fixes, add testBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12ia64: fixes, add testBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12parisc: fixes, add testBurt P
It really didn't work at all before. Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12alpha: add frequency, add testBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12mips: fix, add testBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12sparc: add cpu capabilities listBurt P
Also, fixes a bug found in testing. Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12Add CMake options to allow testing various platform's processor.cBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12Cleanup all platform's proccessor.c, use translatable labels.Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12Handle x86_64 the same way as arm64Burt P
Removes some symlinks x86_64 -> x86. Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12x86: make cache info translatableBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12arm: re-re-order ARM detailsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12x86,arm,ppc: more processor label strings translatableBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12x86: remove "Has FPU"Burt P
FPU is listed in capabilities. Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12x86,arm,ppc: code commentsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12x86: remove large sprintf() format string from translationBurt P
It was broken into smaller pieces by earlier commits. Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12x86,arm,ppc: more processor info strings translatableBurt P
Additional labels made translatable and some cleanup. Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12x86,arm,ppc: make processor info strings more easily translatedBurt P
Make some recently added info labels easy to translate. Includes the topology and frequency scaling strings. Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-09Simplify libc detection codeLeandro Pereira
2017-07-09Do not derefernce NULL pointer if '\n' is not found in ldconfig outLeandro Pereira
2017-07-09Use strchr() instead of strstr() when looking for a single charLeandro Pereira
2017-07-09Make libc strings translatableLeandro Pereira
2017-07-09Use g_spawn_command_line_sync() to detect libc versionLeandro Pereira
No need to invoke the shell using popen(), and have it redirect output from stderr to stdout in the diet libc case. This also hides possible errors during detection.
2017-07-09libc detection cosmetic fixBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-09Fix diet libc detectionBurt P
diet libc outputs usage/version to stderr. Function is also a little cleaner now. Signed-off-by: Burt P <pburt0@gmail.com>