summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-08-14Update hardinfo.pot and .po filesBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-14po/es.po: Save some old translated strings; clear obsolete stringsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-14Update Russian translationTotalCaesar659
2017-08-14cmake: add info.c to gtk3 build/link listBurt P
Fixes #150. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-14dmi: fail if only never succeeded in dmi_get_info_sys()Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-14Begin conversion of Computer module to use struct InfoLeandro Pereira
2017-08-14Begin getting rid of callbacks returning stringsLeandro Pereira
Strings were never a good choice to begin with. However, with the efforts to improve translatability, they became even worse. This is an attempt to clean up the current mess and provide a more structured way for modules to commmunicate with the shell. The Computer module has been partially converted and changes will be provided next. It's partially converted since some of its information is still stored as strings. The Shell still only understands strings; that's why the structured data is converted to a string the way it is. Once all modules are converted, the Shell can be modified to handle struct Info directly without having to parse the .ini-like strings.
2017-08-14Build fix for es.poLeandro Pereira
2017-08-14usb.c: tweaks and make strings translatableBurt P
Only tested __scan_usb_lsusb(). I can't test __scan_usb_procfs() or __scan_usb_sysfs() because those do not work on any machine I have access to. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-14vendor.c: expand vendor list with x86 vendor idsBurt P
x86/processor.c uses vendor_get_name() with the CPUID vendor string as argument. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-14More "Making PCI devices information translatable"Burt P
Continuation of TotalCaesar659's work, but with the labels broken out of the c-format string. Several more strings made translatable. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-14More "Making input devices information translatable"Burt P
Continuation of TotalCaesar659's work, but with the labels broken out of the c-format string. Some tweaks to the handling of vendor information and other cleanup. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-14vendor.c: tweaksBurt P
* nVidia tweak * Don't strdup() vendor_get_*() results, they return const and nobody's freeing them anyway. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-14More "Making locale information translatable"Burt P
Continuation of TotalCaesar659's work, but with the labels broken out of the c-format string, and the values cleaned of ampersands.
2017-08-14Move hardinfo_clean_label() and hardinfo_clean_value() to util.cBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-14More "Making module information translatable"Burt P
Continuation of TotalCaesar659's work, but with the labels broken out of the c-format string, and the Dependencies header translatable as well. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-14Making input devices information translatableTotalCaesar659
2017-08-14Making PCI devices information translatableTotalCaesar659
2017-08-14Making locale information translatableTotalCaesar659
2017-08-14Making module information translatableTotalCaesar659
2017-08-14Spanish updates translations (#136)PICCORO Lenz McKAY
Updates the Spanish translation: reuse old strings, CPU, devices, and tree strings, and CPU instruction sets.
2017-08-14po/ru.po: Save some old translated strings; clear obsolete stringsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-14po/de.po: Save some old translated strings; clear obsolete stringsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-14po/fr.po: Save some old translated strings; clear obsolete stringsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-14device: minor tweaksBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-14device tree: memory leakBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-14Add Gambas compiler,runtime and IDE to developmentPICCORO Lenz McKAY
Added Gambas compiler,runtime and IDE to development, gambas has a runtime, a compiler and a complete ide, all can be used separatelly but IDE depends on compiler, and compiler depends on runtime.. Gambas its the Visual development most easyle for Linux, theres no languaje similar to Visual Basic but with the power and concepts of Java in Linux.. a hole covered b gambas...
2017-08-14Use product version information in device::getMotherboardLeandro Pereira
This will return something like: ThinkPad X220 / 42917J10 (LENOVO) As opposed to just: 42917J10 LENOVO
2017-08-14Add more DMI information (product, etc)Leandro Pereira
2017-08-14Create man pagePICCORO Lenz McKAY
2017-08-13Add AUTHORS.mdBurt P
Generate an AUTHORS file using comments made by LAFP and the following sources: * `git-summary` * Code comments and file headers * About HardInfo -> shell/callbacks.c: cb_about() Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-12x86: add microcode version to reported informationBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-11fix: core_ids are not uniqueBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-11Make MHz translatable in CPU listBurt P
It was kindof translatable before, but as part of a messy use-once c-format string. In this form it is re-usable elsewhere. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-11CPU Frequency Desc and benchmark result re-formatBurt P
Current CPU configurations aren't properly represented in Hardinfo. For SMT, each hardware thread is still reported as a CPU. Clusters with different CPU clock rates are not reported. It is common for ARM to pair a cluster of fast cores with a cluster of slower, but more power-efficient cores. These changes attempt to address this. The getProcessorFrequency method now returns the processor's max frequency for all its cores. While the new getProcessorFrequencyDesc lists each unique frequency with a prefix Nx with the count of cores at that freqency. Benchmark results have been reformated to use the de-prefixed getProcessorName and getProcessorFrequencyDesc. As an example from benchmark.conf: 4x AMD Phenom(tm) II X4 940 Processor | 800 MHz becomes: AMD Phenom(tm) II X4 940 Processor | 4x 800 MHz Which, I think, makes much more sense, as it works well with this kind of thing: Qualcomm Snapdragon 691 | 4x 1400 MHz + 4x 800 MHz Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-11Make procs/cores/threads description string translatable with plural formsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-11Separate processor name and description + count cores and threadsBurt P
* add cpu_procs_cores_threads() function to get counts from sysfs/topology * each platform must now provide processor_name() and processor_describe() * processor_name_default(): returns a list of unique processor->model_name * processor_describe_default(): returns "N physical; M cores; L threads" * processor_describe_by_counting_names(): returns a list of unique processor->model_name with Nx prefix (ex: "4x ARM Cortex A53 + 4x ARM Cortex A33") * x86: _name and _describe use defaults * arm: _name returns name of SOC, if available, _describe returns processor_describe_by_counting_names() * all other platforms: _name and _describe use defaults * Computer module summary now shows both name and description for CPU Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-09Declare proc_cmp() as staticLeandro Pereira
2017-08-09Add translator credits to the about dialogLeandro Pereira
Just translate the msgid "translator-credits". If left untranslated, the about dialog will hide the tab.
2017-08-09Implement more ways to detect laptop machinesLeandro Pereira
2017-08-09Fix off-by-one error when detecting physical machine typeLeandro Pereira
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>