summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-08-10Always pulse status bar while spawning processes synchronouslyLeandro Pereira
2019-08-10Update Russian translation (#428)Leandro A. F. Pereira
Update Russian translation
2019-08-10Merge pull request #437 from bp0/inputdevlinksLeandro A. F. Pereira
input devices fix vendor links
2019-08-10usb: use sysfs info by default (#434)Leandro A. F. Pereira
usb: use sysfs info by default
2019-08-10Merge branch 'master' into usb3Leandro A. F. Pereira
2019-08-10Add GTK_CHECK_VERSION(2, 18, 0) for links in labelBurt P
Alternative to https://github.com/lpereira/hardinfo/pull/418 Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-10gpu_util: fix intel nice nameBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-10name cleanup for x86 model strings and intel pci device stringsBurt P
x86 CPU: * Remove (R), (TM), etc * AMD: remove redundant "X2 Dual Core", "X4 Quad Core", etc * Move vendor to front if not already * Remove speed, as the actual speed is usually right next to it * Remove "CPU", "APU", "Processor" to shorten * Compress space Intel GPU: * Remove (R) * Abbreviate "Generation": "Gen" * Remove "Processor", "Controller", and "Device" to shorten * Compress space Some examples: x86 CPU: 'AMD Turion(tm) 64 Mobile Technology ML-32' ---> 'AMD Turion 64 Mobile ML-32' 'Cyrix MediaGXtm MMXtm Enhanced' ---> 'Cyrix MediaGX MMX Enhanced' 'Transmeta(tm) Crusoe(tm) Processor TM5800' ---> 'Transmeta Crusoe TM5800' 'VIA Nano X2 L4350 @ 1.6+ GHz' ---> 'VIA Nano X2 L4350' 'AMD Athlon(tm) 64 X2 Dual-Core Processor TK-53' ---> 'AMD Athlon 64 X2 TK-53' 'Embedded AMD Opteron(tm) Processor 23KS EE' ---> 'AMD Embedded Opteron 23KS EE' 'Intel(R) Atom(TM) x5-Z8300 CPU @ 1.44GHz' ---> 'Intel Atom x5-Z8300' 'Intel(R) Pentium(R) III CPU - S 1400MHz' ---> 'Intel Pentium III - S' 'Dual Core AMD Opteron(tm) Processor 165' ---> 'AMD Dual Core Opteron 165' 'Genuine Intel(R) CPU T1350 @ 1.86GHz' ---> 'Intel T1350' 'AMD Phenom(tm) 9350e Quad-Core Processor' ---> 'AMD Phenom 9350e Quad-Core' Intel GPU: 'Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller' ---> 'Atom/Celeron/Pentium x5-E8000/J3xxx/N3xxx Integrated Graphics' '4th Generation Core Processor Family Integrated Graphics Controller' ---> '4th Gen Core Family Integrated Graphics' 'Mobile GM965/GL960 Integrated Graphics Controller (secondary)' ---> 'Mobile GM965/GL960 Integrated Graphics (secondary)' 'Mobile 915GM/GMS/910GML Express Graphics Controller' ---> 'Mobile 915GM/GMS/910GML Express Graphics' Also: Fix/replace the appf() and SEQ() that were peppered about. Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-10bug fix for ids file searchBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-10auto_free: update with auto_free_on_exit(), use to free arm_ids_file in ↵Burt P
arm_data.c Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-10arm: use arm.ids for implementer/part lookupBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-10vendor.ids: update and move to sysobj_earlyBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-10sdcard.ids: Transcend InformationBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-10bench: add rpi4 resultsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-10arm/processor: add BCM2838Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-10benchmark: make sure lookup key is uniqueBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
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-08-10input devices fix vendor linksBurt P
Fix #435 https://github.com/lpereira/hardinfo/issues/435 Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-10usb: bug fix for usb.ids file searchOndrej Čerman
2019-08-09usb: Added vendor link based on reported manufacturerOndrej Čerman
2019-08-04usb: use sysfs by default (that is usually faster than lsusb)Ondrej Čerman
2019-08-04usb: added more propertiesOndrej Čerman
2019-08-04usb: added usb.ids parsingOndrej Čerman
2019-07-31Remove old open_url() in favor or uri_open()Burt P
See: https://github.com/lpereira/hardinfo/pull/417#discussion_r308512774 Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-30Update Russian translationTotalCaesar659
2019-07-29udisks2: get sdcard oem/manufacturerBurt P
udisks doesn't provide, but it can be looked up using attributes from sysfs. Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-29replace idle_free() with auto_free() from sysobjBurt P
* auto_free() works in both report mode and gui mode. * auto_free() only creates one recuring event for the whole system rather than idle_free()'s one event per call. * auto_free_ex() allows specifying the free function to use. * auto_free() is thread-aware, free_auto_free_thread_final() can be used to clean up on thread exit. * auto_free() has some tweakability. Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-29vendor_match() sentinel attributeBurt P
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-29vendor.ids update and vendor.{h,c} improvements from sysobj versionBurt P
* more fields in struct Vendor. * match_case -> match_rule and new match rule "exact". match_rule remains compatible with match_case for old conf format. * matches must be "whole word" matches so "Harmony" no longer hits for "ARM". * Parts outside of () are checked first, so "Foo (formerly Barly)" matches Foo before Barly, even though Barly is longer and would otherwise match first. * vendor_list type (a blessed GSList*) and helper functions to manage it. Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-29usb: added interface labelOndrej Čerman
2019-07-29usb: Workaround when lsusb parses same interface multiple timesOndrej Čerman
2019-07-29usb: sorted sysfs usb devices listOndrej Čerman
2019-07-29usb: added info from sysfsOndrej Čerman
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