aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-05-09Fix enum declarationTrung Le
2020-05-09s/info_field_printf/info_fieldTrung Lê
Co-authored-by: Leandro A. F. Pereira <leandro@hardinfo.org>
2020-05-09Fix format not a string literal warningTrung Lê
Fixes https://github.com/lpereira/hardinfo/issues/541
2020-05-04vendor.ids: add winbondBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2020-05-04Try to find ROM devices and don't count them as RAMBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2020-05-03Add script to convert benchmark.conf to benchmark.jsonLeandro Pereira
The new server will send and retrieve information in JSON, as that was what was easier to do. Having a more verbose format makes things a whole lot easier to work with, too, so there's this bonus. This script replicates some of the work that HardInfo does to adapt the various versions of benchmark.conf, including cleaning up the CPU names and whatnot. (Might be a good idea to store the raw values in the database too just in case.) Results seem sane from a first glance, but this will need some testing. The idea is to use this script once, use it to rewrite the benchmark result loader, and then populate the server with this information. After that, this script can be thrown away.
2020-05-03Remove redundant check from gen_machine_id()Leandro Pereira
2020-05-03Reindent benchmark list in benches.cLeandro Pereira
2020-05-03Refactor how benchmark.conf is loaded when including resultsLeandro Pereira
This is a scaffolding method to add support for JSON benchmark results without disrupting current working code. (Should also have plugged a memory leak.)
2020-05-03Move "need to cleanup CPU name" code to a helper functionLeandro Pereira
2020-05-03Reindent bench_results.cLeandro Pereira
2020-05-03Misc. cleanups in benchmark.cLeandro Pereira
2020-05-03hi_exported_methods() should return a const pointerLeandro Pereira
2020-05-03Simplify benchmark:::hi_module_init()Leandro Pereira
2020-05-03hi_module_get_about() should return a const pointerLeandro Pereira
2020-05-03Reindent benchmark.cLeandro Pereira
2020-05-03Reindent syncmanager.[ch]Leandro Pereira
2020-05-03Show distro code name, if presentLeandro Pereira
2020-05-03Disable warnings about deprecated functionsLeandro Pereira
Until we port this to GTK4 or something, we'll have to live with those.
2020-02-10Update Russian translationTotalCaesar659
2020-02-08Sensors: groups inside add_sensor; group by type or by dev sourceOndrej Čerman
2020-02-08Sensors: Updated labelsOndrej Čerman
2020-02-08Sensors: Added item iconsOndrej Čerman
2020-02-08Added bolt iconOndrej Čerman
Source: cropped from gnome icon battery-good-charging
2020-02-08Added fan iconOndrej Čerman
Original source: https://www.gnome-look.org/p/1115367/
2020-02-08Sensors: Added device sectionsOndrej Čerman
2020-01-26Make Computer->Summary contain more information from the summary viewLeandro Pereira
2020-01-22util_edid: use weak function instead of macroBurt P
Suggested-by: Leandro Pereira <leandro@hardinfo.org> Signed-off-by: Burt P <pburt0@gmail.com>
2020-01-22util_edid: make buildable on glib<2.52Burt P
Not a perfect fix, but moves forward. Need to look at this more later. Signed-off-by: Burt P <pburt0@gmail.com>
2020-01-17info: fixes for escaped label flagBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2020-01-17shell: remove some debug printfsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2020-01-17benchmark: "This Machine" in resultsBurt P
To test the new label escape stuff, and for https://github.com/lpereira/hardinfo/issues/516 Signed-off-by: Burt P <pburt0@gmail.com>
2020-01-17shell: new flag/funcs for escaping label part in keysBurt P
Will allow formerly forbidden characters in a label, "#$=" See: https://github.com/lpereira/hardinfo/issues/509 Signed-off-by: Burt P <pburt0@gmail.com>
2020-01-17vendor.ids: sort + sort toolBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2020-01-17revert 1b66b4442410ef6a7f - sort vendor.idsBurt P
Some vendors were lost. Signed-off-by: Burt P <pburt0@gmail.com>
2020-01-17pci_util.h: fix usage commentBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2020-01-17pci: sort list of devicesBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2020-01-17pci_util: use GSList for pcid_listBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2020-01-08vendor.ids: sort by nameBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2020-01-05firmware: switched to D-BusOndrej Čerman
2020-01-04Updated vendors.idsOndrej Čerman
- Updated Chicony and Sapphire - Added Google and RaidSonic
2020-01-04vendor.ids: SSKBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2020-01-04pci: include a minimum pci.ids with classes, note when pci.ids is missingBurt P
Noticed that the RPi4 has a PCIe bus, but pci.ids is not included with the standard Raspbian image, so everything is "(Unknown)." Now there will be some basic information about what the device is, and a note about installing pci.ids for more information. Signed-off-by: Burt P <pburt0@gmail.com>
2020-01-04pci_util: provide .slot_str in pci_get_device_sysfs()Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2020-01-03util_pci: alternate pci.ids locationBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2020-01-03pci: on second thought, only use class for missing device in listBurt P
The details will still show the specific device is unknown. Signed-off-by: Burt P <pburt0@gmail.com>
2020-01-03pci_util: read class strings from pci.ids, use class for unknown productBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2020-01-03pci: get list from sysfs without using lscpi/pciutilsBurt P
The lspci-using code is still there as fallback. Signed-off-by: Burt P <pburt0@gmail.com>
2020-01-03cpubits.h header guardBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2020-01-03cpubits macro fixesBernhard Übelacker