aboutsummaryrefslogtreecommitdiff
path: root/shell/shell.c
AgeCommit message (Collapse)Author
2024-02-08FIX Change to hardinfo2.pnghwspeedy
2024-02-08FIX Name/Desc syncbigbear
2024-02-08CLEANUP - remove old stuffbigbear
2024-02-08FIX GCC Warningsbigbear
2024-02-08FIX Missing icons, menu about, cleaningbigbear
2024-02-08PR681 - implicit function declarationbigbear
2024-02-08ADD Package building for hardinfo2bigbear
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
2023-10-27Fix build without libsouprezso
2023-08-14Add option to synchronize during startupL. Pereira
2021-11-07Hack: make ASan happy by moving definition of lginterval to shellL Pereira
These globals are really nasty and one of the reasons I hate looking at the HardInfo code.
2021-11-07Update copyright informationL Pereira
2021-04-03Add command-line parameter to quieten HardInfo when in non-GUI modeLeandro Pereira
2020-10-09Show graph's title at selecting sensor itemSergio Vieira
2020-05-25Fix build with GTK+3Leandro Pereira
2020-05-15Show Network Updater button in the toolbar if availableLeandro Pereira
2020-05-15Fix compile warnings in SyncManager/ShellLeandro Pereira
2020-05-13Show "Benchmarking..." dialog on top of sync managerLeandro Pereira
2020-01-17shell: remove some debug printfsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2020-01-17shell: new flag/funcs for escaping label part in keysBurt P
Will allow formerly forbidden characters in a label, "#$=" See: https://github.com/lpereira/hardinfo/issues/509 Signed-off-by: Burt P <pburt0@gmail.com>
2019-12-27shell: fix key_mi_tag()Burt P
new flag ^ wasn't skipped Signed-off-by: Burt P <pburt0@gmail.com>
2019-12-27shell: cleanupBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-12-27fmt_opts param for pango/html/text formattingBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-12-27shell: add key flag for strings expected to contian vendorsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-22various: entry hide flag, fix text format report, fix key_*() funcsBurt P
* fix key_is_highlighted() and key_wants_details() so that they don't look for flags in the label. * fix -r -f text, g_hash-related warnings from icon cache * add MODULE_FLAG_HIDE flag to hide module entries instead of using the '#' at the beginning of string hack, which didn't work everywhere, and screwed up translated strings. * hide GPU Drawing benchmark See: https://github.com/lpereira/hardinfo/issues/329 Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-10Clear detail view when switching view typesLeandro Pereira
This avoids the detail view to be populated should the new view type be empty (e.g. no printers set up in the machine).
2019-08-10shell/info: allow newlines in valuesBurt P
Also fixed a FIXME: use g_key_file_get_string_list(). Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-29uri_handler functions from sysobjBurt P
This allows link clicks to be intercepted so that they might be used by the application internally before falling back to the system uri handler. I've also found the default GTK label link handler to be unreliable outside of GNOME Shell, and this will use xdg-open instead. Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-29shell: strend('#') group label in new detail viewBurt 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-12Tweak border in detailviewLeandro Pereira
2019-07-12Show links for vendorsLeandro 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-11Ensure UpdateInterval $ShellParam$ have a dollar signLeandro Pereira
2019-07-06Ensure DetailView is cleared out when more_info used to be clearedLeandro Pereira
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-04Fix detailview scroll position restoring when auto-reloading sectionLeandro Pereira
2019-07-04Small appearance tweaks for DetailViewLeandro 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-04Rename Shell->{info,moreinfo} to {info,moreinfo}_treeLeandro Pereira
2019-07-04There's no need for the side bar to be resizableLeandro Pereira
2019-06-29Fix Computer->Memory after b2b1302baLeandro Pereira
2019-06-29Support icons in InfoFieldsLeandro Pereira
2019-06-28Only add icons if keys begin with Icon$ prefix (not Icon)Leandro Pereira
2019-06-28Always reset view type to normalLeandro Pereira
Let $ShellParam$ groups change it again -- this fixes an issue where some modules were displaying with the wrong ViewType.
2019-06-25Show icons in View menu in GTK+3 buildsLeandro Pereira
2019-06-25ShellNote should be colored in GTK+3 buildsLeandro Pereira