aboutsummaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2019-07-07computer/display.c: handle unknown session typeBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-06Use optional parameters to info_field() to specify iconsLeandro Pereira
2019-07-06Fix compiler warnings in SPD decoderLeandro Pereira
2019-07-06Copy CPU vulnerability name to InfoFieldLeandro Pereira
Fixes #392
2019-07-06struct info: add field sort option to InfoGroupBurt P
Fields are sorted on flatten. Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-06Memory devices: enable more warnings and cleanupBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-06Memory devices: add iconsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-05devices/storage: fixed current mediaOndrej Čerman
2019-07-04Also consider "vulnerable" when looking at CPU vulnerabilitiesLeandro Pereira
2019-07-04Use DetailView for SHELL_VIEW_NORMAL and the more info displayLeandro Pereira
This change has been made mostly because we need more control in how things are displayed, and fighting GTK+ so that this is possible isn't going to cut it. For instance, it is now possible to display links -- albeit only external links at the moment, but internal links will be possible, allowing for instance for one to click in a kernel module dependency to know more about that particular module. Links will also be useful to go to the vendor website, and maybe other things (like web search for Vendor + Product ID) and whatnot. Eventually this will replace the summary view altogether. That code has a lot of drawbacks, including not being able to have its contents copied to the clipboard, appear in reports, or have auto-updating fields. It stays for now, but it will be gone before 0.6 is released. I had forgotten how messy this code is. One of the reasons I lost the interest in this project... I want to hack on a nicer code base but I also lack the strong motivation to write the shell from the scratch.
2019-07-04Use "debian" for Debian distrocodeLeandro Pereira
When parsing the -- now preferred -- os-release file, the distro ID is "Debian", which is lowercased.
2019-07-04Plug memory leak in dmi_socket_info()Leandro Pereira
2019-07-02x86: use new dmi_* typesBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-02Memory devices: Direct-RDRAM type detect from DMIBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-02Memory devices: RDRAM type detect from DMIBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-02dmi_util/memory devices: fixes for 32-bit systemsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-02Memory devices: try and get code bytes from DMI mfgr stringBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-02Memory devices: DMI may provide mfgr codesBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-02Memory devices: show bank in locator if neededBurt P
If a locator of array > socket is not unique, then use array > bank > socket in the list. As suggested in https://github.com/lpereira/hardinfo/issues/386 Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-02Memory devices: also ignore "Unknown" for DMI manufacturerBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-02devices/storage: fix crash on double freeBurt P
`media_comp` doesn't always get set, so needs to be set to null after free to be re-used. Fixes: https://github.com/lpereira/hardinfo/issues/394 Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-30devices/storage: Better storage media labelsOndrej Čerman
2019-06-29Show kernel command lineLeandro Pereira
2019-06-29Merge pull request #382 from bp0/mem9Leandro A. F. Pereira
Memory Devices: Fix DMI to SPD matching
2019-06-29Bring back distro iconsLeandro Pereira
Only Arch Linux, Debian, and Fedora for the moment. Too lazy to go find icons for other distros right now.
2019-06-29Remove duplicated Arch Linux entryLeandro Pereira
2019-06-29Rename Fedora id to "fedora"Leandro Pereira
2019-06-29Clean up distro-detecting codeLeandro Pereira
2019-06-29Memory Devices: Fix DMI to SPD matchingBurt P
Should fix https://github.com/lpereira/hardinfo/issues/380 Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-29Show Warning icon in CPU Vulnerabilities section if unmitigatedLeandro Pereira
2019-06-29Memory Devices: more details for DDR3Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-29Show CPU vulnerabilities in Security screenLeandro Pereira
2019-06-29fix a somewhat confusing memory fault/leakBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-29Computer Summary RAM tweakBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-29Memory Devices: add ranks, io pins, voltages for ddr3Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-29Memory Devices: fix spd revision for ddr and ddr2Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-29Memory Devices: mfg date for ddr3Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-29Memory Devices: dram vendor for ddr3Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-29Memory Devices: add rank from DMIBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-29Memory Devices: unkifnull() a couple types_str usesBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-29Computer Summary: use info from Memory Devices in RAM fieldBurt P
Show size and type if SPD or DMI memory information was available. Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-29Memory Devices: a little name cleanupBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-29Memory Devices: update SPD manufacturer codesBurt P
* based on list in recent decode-dimms * move to separate file for easier maintenance Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-29Memory Devices improvementsBurt P
* note if ddr3 is installed but ee1004 is used * create an SPD "array" if no DMI arrays exist * show mem types in array info * include any SPD-detected modules even if they are types that can't be decoded currently Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-29benchmark/zlib: new version of zlib benchmarkBurt P
The new version uses a fixed time (7s) and the results are much more consistent than the previous version. A couple results for the new version, one "low" and one "high", replace the old results, which were quite strange. Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-28Use Processor/Memory to be more consistent with items in DevicesLeandro Pereira
2019-06-28Show PCI device icons based on classLeandro Pereira
2019-06-28Use USB icon for USB hubsLeandro Pereira
2019-06-28Better benchmark in progress dialog in GTK+3Leandro Pereira
While the shell isn't rewritten to take advantage of GTK+3 only, let's just ignore these deprecation warnings.
2019-06-28Add ltrace and awk to Computer->DevelopmentLeandro Pereira