aboutsummaryrefslogtreecommitdiff
path: root/includes/info.h
AgeCommit message (Collapse)Author
2024-02-08LICENSE Changed to GPL2+ for project and source code According to approval ↵bigbear
from copyright holders - see: https://github.com/lpereira/hardinfo/issues/530 https://github.com/lpereira/hardinfo/issues/707
2021-11-07Update copyright informationL Pereira
2020-01-17info: fixes for escaped label flagBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2020-01-05firmware: switched to D-BusOndrej Čerman
2020-01-03storage: updated listOndrej Čerman
2019-12-29summary: remove extra columns from storage/input dev. valuesOndrej Čerman
2019-12-27shell: add key flag for strings expected to contian vendorsBurt 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-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-10computer/os: Ubuntu flavorsBurt P
See: https://github.com/lpereira/hardinfo/issues/404 Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-06Use optional parameters to info_field() to specify iconsLeandro Pereira
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-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-06-29Support icons in InfoFieldsLeandro Pereira
2019-06-29Allow more dynamic InfoGroup creationLeandro Pereira
2018-05-18Fix compiler warnings generated with GCC 8Leandro Pereira
2017-08-15Add info_field_printf() to reduce some sturct Info field boilerplateLeandro Pereira
2017-08-14Begin getting rid of callbacks returning stringsLeandro Pereira
Strings were never a good choice to begin with. However, with the efforts to improve translatability, they became even worse. This is an attempt to clean up the current mess and provide a more structured way for modules to commmunicate with the shell. The Computer module has been partially converted and changes will be provided next. It's partially converted since some of its information is still stored as strings. The Shell still only understands strings; that's why the structured data is converted to a string the way it is. Once all modules are converted, the Shell can be modified to handle struct Info directly without having to parse the .ini-like strings.