| Age | Commit message (Collapse) | Author | 
|---|
|  |  | 
|  |  | 
|  | This way, it's possible to add less specific icons for some categories
(e.g. net/bluetooth, net/wireless, net/ethernet, falling back to net/). | 
|  |  | 
|  |  | 
|  | 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> | 
|  | Signed-off-by: Burt P <pburt0@gmail.com> | 
|  | Signed-off-by: Burt P <pburt0@gmail.com> | 
|  | Signed-off-by: Burt P <pburt0@gmail.com> | 
|  | See: https://github.com/lpereira/hardinfo/issues/404
Signed-off-by: Burt P <pburt0@gmail.com> | 
|  | Signed-off-by: Burt P <pburt0@gmail.com> | 
|  | When parsing the -- now preferred -- os-release file, the distro ID is
"Debian", which is lowercased. | 
|  |  | 
|  |  | 
|  |  | 
|  |  | 
|  | As discussed in
https://github.com/lpereira/hardinfo/issues/345
Signed-off-by: Burt P <pburt0@gmail.com> | 
|  |  | 
|  | As requested in https://github.com/lpereira/hardinfo/issues/342
Signed-off-by: Burt P <pburt0@gmail.com> | 
|  | Signed-off-by: Burt P <pburt0@gmail.com> | 
|  | Using clang-format options:
BasedOnStyle:  LLVM
IndentWidth:     4
ColumnLimit:     100
TabWidth:        8
UseTab:          Never
AlignEscapedNewlines: Left
AlwaysBreakAfterReturnType: None
AllowShortBlocksOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: false
AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: true
Signed-off-by: Burt P <pburt0@gmail.com> | 
|  |  | 
|  |  | 
|  |  | 
|  | Fix a crash when `locale -va` returns empty.
Signed-off-by: Burt P <pburt0@gmail.com> | 
|  | Signed-off-by: Burt P <pburt0@gmail.com> | 
|  | I don't know if this would ever leak.
Signed-off-by: Burt P <pburt0@gmail.com> | 
|  |  | 
|  | 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> | 
|  | 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> | 
|  | Warnings, found using PVS-Studio:
hardinfo/modules/devices/usb.c	397	err	V773 The function was exited without releasing the 'temp' pointer. A memory leak is possible.
hardinfo/modules/computer/uptime.c 33 err V773 The function was exited without releasing the 'ui' pointer. A memory leak is possible. | 
|  | The only error would be inability to access /var/log/wtmp.
Signed-off-by: Burt P <pburt0@gmail.com> | 
|  | Signed-off-by: Burt P <pburt0@gmail.com> | 
|  | Continuation of TotalCaesar659's work, but with the labels
broken out of the c-format string, and the values cleaned of
ampersands. | 
|  | Continuation of TotalCaesar659's work, but with the labels
broken out of the c-format string, and the Dependencies header
translatable as well.
Signed-off-by: Burt P <pburt0@gmail.com> | 
|  |  | 
|  |  | 
|  | Files are going to be opened for reading anyway. | 
|  | If the output of `lsb_release -d` didn't contain a "Description: "
substring, it would leak. | 
|  | Signed-off-by: Burt P <pburt0@gmail.com> | 
|  | * mixed tab/space indent -> all space
* break translatable labels out of format strings
Signed-off-by: Burt P <pburt0@gmail.com> | 
|  | * mixed tab/space indent -> all space
* break translatable labels out of format strings
Signed-off-by: Burt P <pburt0@gmail.com> | 
|  |  | 
|  |  | 
|  |  | 
|  | Also detect session type (Wayland, X11, etc). | 
|  | Code is longer, but is more readable. | 
|  | GLib-CRITICAL **: g_strchug: assertion 'string != NULL' failed
Signed-off-by: Burt P <pburt0@gmail.com> | 
|  | Starting in Debian 9, ldconfig requires root, and so it can't be
used to get the GLIBC version. Try `ldd --version` first. It should
give the same results.
Signed-off-by: Burt P <pburt0@gmail.com> | 
|  | Initialize full_fmt to NULL so free() won't crash if it wasn't used.
Signed-off-by: Burt P <pburt0@gmail.com> |