aboutsummaryrefslogtreecommitdiff
path: root/modules/computer.c
AgeCommit message (Collapse)Author
2020-01-03storage: updated listOndrej Čerman
2019-12-29summary: remove extra columns from storage/input dev. valuesOndrej Čerman
2019-12-27computer: vendor fieldsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-12-26computer/display: add notes for wanted extern utilsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-10Always pulse status bar while spawning processes synchronouslyLeandro 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-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-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-06Copy CPU vulnerability name to InfoFieldLeandro Pereira
Fixes #392
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-04Also consider "vulnerable" when looking at CPU vulnerabilitiesLeandro 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-06-29Show kernel command lineLeandro Pereira
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-29Show Warning icon in CPU Vulnerabilities section if unmitigatedLeandro Pereira
2019-06-29Show CPU vulnerabilities in Security screenLeandro 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-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-28Use Processor/Memory to be more consistent with items in DevicesLeandro Pereira
2019-06-28Add ltrace and awk to Computer->DevelopmentLeandro Pereira
2019-06-27Force ViewType=0 for Computer->DevelopmentLeandro Pereira
2019-06-27Add more compilers and tools to the development sectionLeandro Pereira
2019-06-26computer.c: fix a couple compile warningsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-25Show machine type in Computer->SummaryLeandro Pereira
2019-06-20move devices/memory to computer/memory usageBurt P
As discussed in https://github.com/lpereira/hardinfo/issues/345 Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-18Add information about SELinux and other LSMsLeandro Pereira
2019-06-18Use security-low icon from the GNOME Adwaita themeLeandro Pereira
2019-06-18Start Computer/SecurityBurt P
As requested in https://github.com/lpereira/hardinfo/issues/342 Signed-off-by: Burt P <pburt0@gmail.com>
2018-11-19Re-enabled desktop enviroment fieldOndrej Čerman
2018-10-13Display status of ASLR in Computer->Operating SystemLeandro Pereira
2018-09-08computer.c: catch more SBCsBurt P
Firefly ROC-RK3328-CC and Firefly ROC-RK3399-PC Signed-off-by: Burt P <pburt0@gmail.com>
2018-05-18Fix compiler warnings generated with GCC 8Leandro Pereira
2018-04-24computer/display: use x_util for display informationBurt P
This commit fixes: * #200 now using xrandr to get screen info instead of gdk, so it works from the cli * #27 opengl core and compatibility versions are both listed * #230 (by removing extension list) Signed-off-by: Burt P <pburt0@gmail.com>
2017-11-02Computer/Display: Add X Display NameBurt P
A field exists in struct _DisplayInfo, but it wasn't being filled or shown. Perhaps fix: https://github.com/lpereira/hardinfo/issues/181 Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-27dmi: requested changesBurt P
Change requested by lpereira in https://github.com/lpereira/hardinfo/pull/160 Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-27DMI: allow specifying type for dmi_chassis_type_str()Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-27Create dmi_util.c and move *_util.c to hardinfo/Burt P
These stand alone interfaces and are used across modules, so just make them available to any module by default. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-27DMI: dmi_chassis_type_str() maps chassis-type to stringBurt P
dmi_chassis_type_str() is moved from code in computer.c:detect_machine_type(). It makes sense to keep it with dmi, as it maps a dmi-defined value to a string. This way it can be used in both dmi.c and computer.c. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-27Use dmi_get_str() to get chassis type; start to detect SBCBurt P
Removes a FIXME. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-25Add another virtualbox test; make virt strings translatableBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-21Remove duplicate group headers in computer summaryBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-21Fix gambas environment detection for gambas X.Y.99 (git)PICCORO Lenz McKAY
fix detection for strings and also justify that when gambas are development version git or trunk svn build the versions beetween compiler and interpreter can differs,
2017-08-21Add OpenGL Renderer to benchmark result detailsBurt P
For the GPU Drawing benchmark at least, it should give some idea of the graphics capabilities of the machine. This is the only data hardinfo currently has about that. Maybe in the future, more advanced GPU information could be given. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-15Use info_field_printf() in the computer moduleLeandro Pereira
2017-08-14Begin conversion of Computer module to use struct InfoLeandro Pereira
2017-08-14Add Gambas compiler,runtime and IDE to developmentPICCORO Lenz McKAY
Added Gambas compiler,runtime and IDE to development, gambas has a runtime, a compiler and a complete ide, all can be used separatelly but IDE depends on compiler, and compiler depends on runtime.. Gambas its the Visual development most easyle for Linux, theres no languaje similar to Visual Basic but with the power and concepts of Java in Linux.. a hole covered b gambas...
2017-08-11Separate processor name and description + count cores and threadsBurt P
* add cpu_procs_cores_threads() function to get counts from sysfs/topology * each platform must now provide processor_name() and processor_describe() * processor_name_default(): returns a list of unique processor->model_name * processor_describe_default(): returns "N physical; M cores; L threads" * processor_describe_by_counting_names(): returns a list of unique processor->model_name with Nx prefix (ex: "4x ARM Cortex A53 + 4x ARM Cortex A33") * x86: _name and _describe use defaults * arm: _name returns name of SOC, if available, _describe returns processor_describe_by_counting_names() * all other platforms: _name and _describe use defaults * Computer module summary now shows both name and description for CPU Signed-off-by: Burt P <pburt0@gmail.com>