aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-04Refactor module_selected_show_info()Leandro Pereira
This is still *very* messy, but... The idea here is to change the ViewType as early as possible, because a new ViewType that isn't related to the treeviews will be introduced.
2019-07-04Rename SummaryView to DetailViewLeandro Pereira
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-04Rename Shell->{info,moreinfo} to {info,moreinfo}_treeLeandro Pereira
2019-07-04There's no need for the side bar to be resizableLeandro Pereira
2019-07-04Add distro icons for Ubuntu and Clear Linux OSLeandro Pereira
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-30Update Fedora logoLeandro Pereira
The initial conversion from SVG didn't yield a good image.
2019-06-30Updated contributors listOndrej Čerman
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-29Fix Computer->Memory after b2b1302baLeandro 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-29Only prepend $ITEM-g-i$ while flattening if there are iconsLeandro Pereira
Otherwise, the field updater would look for a field $ITEM-g-i$FieldName, which it has no way of knowing about.
2019-06-29Show Warning icon in CPU Vulnerabilities section if unmitigatedLeandro Pereira
2019-06-29Support icons in InfoFieldsLeandro Pereira
2019-06-29add build-* dirs to .gitignoreBurt P
I have build-gtk3/ and build-dbg/ that are annoying me in the git status. ...if you don't mind. Signed-off-by: Burt P <pburt0@gmail.com>
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-29Allow more dynamic InfoGroup creationLeandro Pereira
2019-06-29h_sysfs_read_*() should take const pointers as argsLeandro 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-29dmi_util: make cache static, use cache free functionBurt 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-29dmi_util.c: add simple cache for dmidecode readsBurt 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>