aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-07-29shell: strend('#') group label in new detail viewBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-29struct Info: handle groups with the same name in flatten()Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-29rpi4b 4gb version, make all mem values M(i)BBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-29raspberry pi memory typesBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-29shell.c: small fix for labelBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-29dmi_util: extended handle data typeBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-29struct Info: make info_add_computed_group() use info_unflatten()Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-29struct info unflatten [v2]Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-14Fix buffer overflow in fbenchLeandro Pereira
2019-07-14Fix buffer overflow when performing parallel benchmarksLeandro Pereira
2019-07-14Pulse status bar while filling out PCI informationLeandro Pereira
Maybe this could use the async version too, so multiple lspci can be spawned concurrently?
2019-07-12Add new vendorsLeandro Pereira
2019-07-12Tweak border in detailviewLeandro Pereira
2019-07-12Show links for vendorsLeandro Pereira
2019-07-12Add functions to get a formatted link for a vendorLeandro Pereira
2019-07-11Misc. cleanups in struct Info implementationLeandro Pereira
2019-07-11info struct bug Fixes, add tagged update fieldsBurt P
* tag was always included even when it didn't need to be. Now only include it when tag specified, flagged, or includes an icon. This messed up the existing update fields system. * The update fields system has been changed to allow updating by tag instead of the translated label. By label still works, however. I think it would be best to switch to using tags in the future. * info_flatten() calls flatten_shell_param() after flatten_group() which could cause a field name or tag to be used after it was freed. Created special free functions to handle this after all is used. Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-11rpi_data: Add Raspberry Pi 4B 1GB and 2GB versionsBurt P
Source: https://elinux.org/RPi_HardwareHistory Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-11Ensure UpdateInterval $ShellParam$ have a dollar signLeandro Pereira
2019-07-11Mark `tag' field in InfoField as a scaffolding elementLeandro Pereira
Whenever every module is converted to struct Info, manually-specified tags will be useless.
2019-07-11Do not copy InfoField while flatteningLeandro Pereira
2019-07-10benchmark: add extra fields to result for revision and informationBurt P
* add an integer revision field * add an extra information string field * zlib benchmark: new revision[1] is 2, so that old results are obviously old, and now the zlib version string will be stored in extra information. [1] as of 6a8e19a14305079b03e45eeb0580a45104f300dd Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-10shell/report.c: fix "return with no value"Juro Bystricky
Fix the warning: report.c: In function ‘make_icon_css’: shell/report.c:103:9: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type] Failure of the sanity test at the beginning of "make_icon_css" will result in returning of a random value instead of a gchar*. With this patch we return a gchar* to an empty string instead. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2019-07-10devices/storage: small fixesOndrej Čerman
2019-07-10devices/storage: added partitions infoOndrej Čerman
2019-07-10ubuntu flavors: vanilla png -> svgBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-10Use SVG for distro iconsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-10UbuntuFlavor -> DistroFlavor: perhaps more easily used by non-ubuntu distrosBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-10Add SVG icon support in report HTML and Xubuntu icon to demonstrateBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-10computer/os: Ubuntu flavorsBurt P
See: https://github.com/lpereira/hardinfo/issues/404 Signed-off-by: Burt P <pburt0@gmail.com>
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-06Allow passing more flags to info_field(), info_field_update(), etcLeandro Pereira
2019-07-06Add `free_name_on_flatten` flag to struct InfoFieldLeandro Pereira
2019-07-06No need to have some_member_with_default_value in struct InfoFieldLeandro Pereira
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