aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-07-06Cleanup group comparison functionsLeandro Pereira
Reduce code repetition by using an array of GCompareFunc function pointers.
2019-07-06Ensure DetailView is cleared out when more_info used to be clearedLeandro Pereira
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-06struct info: try bools instead of flagsBurt P
2019-07-06struct info: add macros as described by lpereiraBurt P
See: https://github.com/lpereira/hardinfo/pull/393#issuecomment-507893260 Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-06struct info: add morinfo() tag and flags supportBurt P
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-05[v3] shell: fix icons with flagsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-05shell: key_* functions use constBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-04Also consider "vulnerable" when looking at CPU vulnerabilitiesLeandro Pereira
2019-07-04Plug memory leak when flattening a struct InfoLeandro Pereira
2019-07-04shell/report: icon cache using cssBurt P
Only include one copy of each icon in the source, by using css class rather than img with src for each instance. Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-04shell/report: add icons to HTML reportsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-04Update GNUInstallDirs.cmakeBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-04Fix detailview scroll position restoring when auto-reloading sectionLeandro Pereira
2019-07-04Small appearance tweaks for DetailViewLeandro Pereira
2019-07-04Add .clang-format from Lwan to help indent HardInfo codeLeandro 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-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