Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-11-30 | computer/os: fix loop in parse_os_release | Ondrej Čerman | |
2018-11-19 | Added MATE version detection | Ondrej Čerman | |
2018-10-13 | Display status of ASLR in Computer->Operating System | Leandro Pereira | |
2018-09-23 | computer/languages: fix crash when no other locales installed | Burt P | |
Fix a crash when `locale -va` returns empty. Signed-off-by: Burt P <pburt0@gmail.com> | |||
2018-06-15 | computer/languages.c: requested changes | Burt P | |
Signed-off-by: Burt P <pburt0@gmail.com> | |||
2018-06-15 | languages.c: popen() -> g_spawn_command_line_sync(), capture stderr | Burt P | |
I don't know if this would ever leak. Signed-off-by: Burt P <pburt0@gmail.com> | |||
2018-05-16 | Parse /usr/lib/os-release while detecting distribution | Leandro Pereira | |
2018-04-24 | computer/display: use x_util for display information | Burt 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-02 | Computer/Display: Add X Display Name | Burt 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-10-29 | Fixed possible memory leak (#201) | Roman Kalashnikov | |
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. | |||
2017-08-25 | boots.c: capture stderr to prevent a leak | Burt P | |
The only error would be inability to access /var/log/wtmp. Signed-off-by: Burt P <pburt0@gmail.com> | |||
2017-08-21 | Make OpenGL Renderer Unknown translatable | Burt P | |
Signed-off-by: Burt P <pburt0@gmail.com> | |||
2017-08-14 | More "Making locale information translatable" | Burt P | |
Continuation of TotalCaesar659's work, but with the labels broken out of the c-format string, and the values cleaned of ampersands. | |||
2017-08-14 | More "Making module information translatable" | Burt P | |
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> | |||
2017-08-14 | Making locale information translatable | TotalCaesar659 | |
2017-08-14 | Making module information translatable | TotalCaesar659 | |
2017-08-04 | No need to check if a /etc/${distro}-release file exists | Leandro Pereira | |
Files are going to be opened for reading anyway. | |||
2017-08-04 | Plug memleak when detecting distribution | Leandro Pereira | |
If the output of `lsb_release -d` didn't contain a "Description: " substring, it would leak. | |||
2017-08-04 | computer/os: quiet warnings, add comment for translators | Burt P | |
Signed-off-by: Burt P <pburt0@gmail.com> | |||
2017-07-30 | boots.c, environment.c: cleanup | Burt P | |
* mixed tab/space indent -> all space * break translatable labels out of format strings Signed-off-by: Burt P <pburt0@gmail.com> | |||
2017-07-30 | alsa.c: cleanup | Burt P | |
* mixed tab/space indent -> all space * break translatable labels out of format strings Signed-off-by: Burt P <pburt0@gmail.com> | |||
2017-07-29 | Refactor distribution detection routine | Leandro Pereira | |
2017-07-29 | Re-mark some strings for translation | Leandro Pereira | |
2017-07-29 | Improve desktop environment detection when reading XDG env vars | Leandro Pereira | |
2017-07-28 | Plug memory leaks after refactoring desktop detection routine | Leandro Pereira | |
Also detect session type (Wayland, X11, etc). | |||
2017-07-28 | Refactor desktop environment detection routine | Leandro Pereira | |
Code is longer, but is more readable. | |||
2017-07-24 | Check for NULL before g_strstrip() to assertion failure warnings | Burt P | |
GLib-CRITICAL **: g_strchug: assertion 'string != NULL' failed Signed-off-by: Burt P <pburt0@gmail.com> | |||
2017-07-21 | computer/os.c: another libc detection fix | Burt P | |
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> | |||
2017-07-19 | uptime: fix seg fault if uptime < 1 hour | Burt P | |
Initialize full_fmt to NULL so free() won't crash if it wasn't used. Signed-off-by: Burt P <pburt0@gmail.com> | |||
2017-07-19 | filesystem: make strings translatable | Burt P | |
Plus a couple other minor tweaks. Signed-off-by: Burt P <pburt0@gmail.com> | |||
2017-07-19 | Find a value for OS->Language field, Computer summary headers translatable | Burt P | |
Note: "Computer" summary (not Computer->Summary). Signed-off-by: Burt P <pburt0@gmail.com> | |||
2017-07-19 | Use const for gettext strings | Burt P | |
Signed-off-by: Burt P <pburt0@gmail.com> | |||
2017-07-12 | Make bits of entropy string translatable | Burt P | |
Signed-off-by: Burt P <pburt0@gmail.com> | |||
2017-07-12 | Use ngettext to make uptime translatable | Burt P | |
Signed-off-by: Burt P <pburt0@gmail.com> | |||
2017-07-12 | User Info and Development header strings made translatable | Burt P | |
Finishes https://github.com/lpereira/hardinfo/issues/38 Signed-off-by: Burt P <pburt0@gmail.com> | |||
2017-07-12 | Fix Computer -> Summary -> RAM for non-English | Burt P | |
Signed-off-by: Burt P <pburt0@gmail.com> | |||
2017-07-09 | Simplify libc detection code | Leandro Pereira | |
2017-07-09 | Do not derefernce NULL pointer if '\n' is not found in ldconfig out | Leandro Pereira | |
2017-07-09 | Use strchr() instead of strstr() when looking for a single char | Leandro Pereira | |
2017-07-09 | Make libc strings translatable | Leandro Pereira | |
2017-07-09 | Use g_spawn_command_line_sync() to detect libc version | Leandro Pereira | |
No need to invoke the shell using popen(), and have it redirect output from stderr to stdout in the diet libc case. This also hides possible errors during detection. | |||
2017-07-09 | libc detection cosmetic fix | Burt P | |
Signed-off-by: Burt P <pburt0@gmail.com> | |||
2017-07-09 | Fix diet libc detection | Burt P | |
diet libc outputs usage/version to stderr. Function is also a little cleaner now. Signed-off-by: Burt P <pburt0@gmail.com> | |||
2017-07-09 | Add diet libc to libc detection | Burt P | |
Demonstrate how a libc implementation without ldconfig might work. Signed-off-by: Burt P <pburt0@gmail.com> | |||
2017-07-09 | Use ldconfig to detect C library implementation and version | Burt P | |
Signed-off-by: Burt P <pburt0@gmail.com> | |||
2017-07-09 | OS: Improve C library detection | Burt P | |
Based on a patch from Ubuntu/Debian. | |||
2016-12-29 | Make load average work with locales that uses ',' for decimal separator | Leandro Pereira | |
2016-07-30 | Handle lsmod not being found | Leandro Pereira | |
2016-07-24 | Show bits of entropy available to /dev/(u)random | Leandro Pereira | |
2016-02-02 | fix null vendor in display and null version, the strings in get_srt must be ↵ | mckaygerhard | |
translated AFTER getting and putting in pointers |