- 10 Feb, 2019 1 commit
-
-
Alan Barr authored
Unsigned numbers should be using "%u". Raised by cppcheck
-
- 05 Apr, 2018 1 commit
-
-
Hisham Muhammad authored
-
- 26 Feb, 2018 1 commit
-
-
Kang-Che Sung (宋岡哲) authored
glibc 2.28 no longer defines 'major' and 'minor' in <sys/types.h> and requires us to include <sys/sysmacros.h>. (glibc 2.25 starts deprecating the macros in <sys/types.h>.) Now do include the latter if found on the system. At the moment, let's also utilize AC_HEADER_MAJOR in configure script. However as Autoconf 2.69 has not yet updated the AC_HEADER_MAJOR macro to reflect the glibc change [1], so add a workaround code. Fixes #663. Supersedes pull request #729. Reference: [1] https://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commit;h=e17a30e987d7ee695fb4294a82d987ec3dc9b974 Signed-off-by: Kang-Che Sung <explorer09@gmail.com>
-
- 18 Feb, 2018 1 commit
-
-
Hisham Muhammad authored
I was occasionally passing negative values to size_t. Plus, this better reflects the intent of the variant argument. Reported by Coverity: https://scan8.coverity.com/reports.htm#v13253/p10402/fileInstanceId=22093891&defectInstanceId=7543346&mergedDefectId=174179&fileStart=251&fileEnd=500
-
- 04 Feb, 2018 1 commit
-
-
Vladimir Panteleev authored
Linux commit 06eb61844d841d0032a9950ce7f8e783ee49c0d0 ("sched/debug: Add explicit TASK_IDLE printing") exposes kthreads idling using TASK_IDLE in procfs as "I (idle)". Until now, when sorting the STATE ("S") column, htop used the raw value of the state character for comparison, however that led to the undesirable effect of TASK_IDLE ('I') tasks being sorted above tasks that were running ('R'). Thus, explicitly recognize the idle process state, and sort it below others.
-
- 14 Sep, 2017 1 commit
-
-
Hisham Muhammad authored
-
- 27 Jul, 2017 1 commit
-
-
Hisham Muhammad authored
Calls marked with xSnprintf shouldn't fail. Abort program cleanly if any of them does.
-
- 26 Jul, 2017 1 commit
-
-
Hisham Muhammad authored
This is/was necessary only on macOS, because you needed root in order to read the process list. This was never necessary on Linux, and it also raises security concerns, so now it needs to be enabled explicitly at build time.
-
- 10 Jul, 2017 1 commit
-
-
Hisham Muhammad authored
Thanks @Sworddragon for the heads up. See #88.
-
- 29 Dec, 2016 1 commit
-
-
Tomasz Kramkowski authored
In all the cases where sprintf was being used within htop, snprintf could have been used. This patch replaces all uses of sprintf with snprintf which makes sure that if a buffer is too small to hold the resulting string, the string is simply cut short instead of causing a buffer overflow which leads to undefined behaviour. `sizeof(variable)` was used in these cases, as opposed to `sizeof variable` which is my personal preference because `sizeof(variable)` was already used in one way or another in other parts of the code.
-
- 01 Oct, 2016 1 commit
-
-
Hisham authored
translate dev_t to major:minor on other platforms. Closes #316.
-
- 06 Sep, 2016 1 commit
-
-
Ivan Kozik authored
BFS-patched kernels can have kernel threads with priority -101. This change makes priority -101 display as "RT", just like priority -100. Related: https://github.com/hishamhm/htop/issues/314
-
- 20 Jun, 2016 1 commit
-
-
Hisham authored
-
- 19 Jun, 2016 1 commit
-
-
Hisham authored
-
- 30 May, 2016 1 commit
-
-
Hisham authored
-
- 26 May, 2016 1 commit
-
-
Hisham authored
Closes #483.
-
- 04 May, 2016 1 commit
-
-
Hisham authored
-
- 20 Feb, 2016 1 commit
-
-
Hisham authored
Display them properly. Not fully convinced of the "no perm" message...
-
- 10 Feb, 2016 1 commit
-
-
Hisham authored
-
- 02 Feb, 2016 1 commit
-
-
Hisham authored
-
- 07 Dec, 2015 1 commit
-
-
Michael Klein authored
- replaces uid check from d18e9a48
-
- 02 Dec, 2015 1 commit
-
-
Michael Klein authored
on Darwin, htop needs to run with root privileges to display information about other users processes. This commit makes running htop SUID root a bit more safe.
-
- 20 Aug, 2015 1 commit
-
-
Hisham Muhammad authored
Closes #228.
-
- 19 Aug, 2015 1 commit
-
-
David Hunt authored
Fixes building on case-insensitive filesystems where String.h gets confused with <string.h>. From d734dacea0a10d0465dad4e95b3421511e7da112 Mon Sep 17 00:00:00 2001 From: David Hunt <dhunt@iolanthe.attlocal.net> Date: Sat, 11 Jul 2015 20:56:31 -0500 Subject: [PATCH 1/8] Rename String to StringUtils
-
- 07 Aug, 2015 1 commit
-
-
Tobias Geerinckx-Rice authored
Add a setting to hide all but the last component from the programme path, leaving only the "basename". Makes htop more usable on smaller screens, or systems with longer than average paths. Off by default. "Highlight program basename" will still be respected, to further visually separate process names from their arguments.
-
- 20 May, 2015 1 commit
-
-
sherpya authored
-
- 01 Apr, 2015 1 commit
-
-
Hisham Muhammad authored
-
- 23 Mar, 2015 1 commit
-
-
Hisham Muhammad authored
Conflicts: htop.c htop.h
-
- 21 Mar, 2015 1 commit
-
-
Hisham Muhammad authored
-
- 17 Mar, 2015 1 commit
-
-
Hisham Muhammad authored
-
- 16 Mar, 2015 1 commit
-
-
Hisham Muhammad authored
-
- 15 Mar, 2015 1 commit
-
-
Hisham Muhammad authored
-
- 23 Feb, 2015 2 commits
-
-
Hisham Muhammad authored
-
Hisham Muhammad authored
Conflicts: Process.c Process.h ProcessList.c ScreenManager.c linux/LinuxProcessList.c
-
- 20 Feb, 2015 1 commit
-
-
Hisham Muhammad authored
-
- 22 Jan, 2015 1 commit
-
-
Hisham Muhammad authored
This is a work-in-progress, code is currently broken. (Some actions, and notably, the header, are missing.)
-
- 27 Nov, 2014 1 commit
-
-
Hisham Muhammad authored
-
- 24 Nov, 2014 2 commits
-
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-
- 14 Oct, 2014 1 commit
-
-
Valmiky Arquissandas authored
-