1. 04 Feb, 2018 1 commit
    • Vladimir Panteleev's avatar
      Add support for Linux TASK_IDLE · 87be623e
      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.
      87be623e
  2. 14 Sep, 2017 1 commit
  3. 27 Jul, 2017 1 commit
  4. 26 Jul, 2017 1 commit
  5. 10 Jul, 2017 1 commit
  6. 29 Dec, 2016 1 commit
    • Tomasz Kramkowski's avatar
      Replace all uses of sprintf with snprintf · 2b5c1b4b
      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.
      2b5c1b4b
  7. 01 Oct, 2016 1 commit
  8. 06 Sep, 2016 1 commit
  9. 20 Jun, 2016 1 commit
  10. 19 Jun, 2016 1 commit
  11. 30 May, 2016 1 commit
  12. 26 May, 2016 1 commit
  13. 04 May, 2016 1 commit
  14. 20 Feb, 2016 1 commit
  15. 10 Feb, 2016 1 commit
  16. 02 Feb, 2016 1 commit
  17. 07 Dec, 2015 1 commit
  18. 02 Dec, 2015 1 commit
  19. 20 Aug, 2015 1 commit
  20. 19 Aug, 2015 1 commit
    • David Hunt's avatar
      Rename String to StringUtils. · 5e602f18
      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
      5e602f18
  21. 07 Aug, 2015 1 commit
    • Tobias Geerinckx-Rice's avatar
      New setting: "Show program path" · 293eec42
      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.
      293eec42
  22. 20 May, 2015 1 commit
  23. 01 Apr, 2015 1 commit
  24. 23 Mar, 2015 1 commit
  25. 21 Mar, 2015 1 commit
  26. 17 Mar, 2015 1 commit
  27. 16 Mar, 2015 1 commit
  28. 15 Mar, 2015 1 commit
  29. 23 Feb, 2015 2 commits
  30. 20 Feb, 2015 1 commit
  31. 22 Jan, 2015 1 commit
  32. 27 Nov, 2014 1 commit
  33. 24 Nov, 2014 2 commits
  34. 14 Oct, 2014 2 commits
  35. 03 May, 2014 2 commits
  36. 25 Apr, 2014 1 commit