1. 26 Jul, 2017 1 commit
  2. 23 Jul, 2017 1 commit
    • Richard's avatar
      Mark some things as const · d5faf643
      Richard authored
      Several string pointer arrays pointed to const strings
      but were not const themselves.
      
      A few various structures and arrays were also marked const.
      d5faf643
  3. 25 Mar, 2017 1 commit
  4. 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
  5. 26 May, 2016 1 commit
  6. 02 Feb, 2016 1 commit
  7. 12 Jan, 2016 1 commit
  8. 02 Dec, 2015 1 commit
  9. 17 Sep, 2015 1 commit
  10. 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
  11. 15 May, 2015 1 commit
    • Christian Hesse's avatar
      fix compiler warnings · 08829cbc
      Christian Hesse authored
      gcc gives warnings like this:
      
      warning: ignoring return value of ‘fscanf’, declared with attribute
      warn_unused_result
      
      Assign value to a variable, cast to (void) to discard it.
      08829cbc
  12. 23 Mar, 2015 2 commits
  13. 22 Apr, 2014 1 commit
  14. 05 Dec, 2012 1 commit
  15. 10 Nov, 2012 1 commit
  16. 03 Jan, 2012 1 commit
  17. 26 Dec, 2011 1 commit
  18. 24 Sep, 2011 1 commit
  19. 24 Aug, 2010 1 commit
  20. 31 Jul, 2010 1 commit
  21. 25 Feb, 2010 1 commit
  22. 08 Jun, 2009 1 commit
  23. 02 Jun, 2009 1 commit
  24. 09 Mar, 2008 1 commit
  25. 24 Aug, 2006 1 commit
  26. 11 Jul, 2006 1 commit
    • Hisham Muhammad's avatar
      Performance improvement hackathon: improve process comparison routines, · 5d48ab8c
      Hisham Muhammad authored
      disable useless code in release builds such as runtime type-checking on
      dynamic data structures and process fields that are not being computed,
      faster(?) method for verifying the process owner (still need to ensure
      correctness), don't destroy and create process objects for hidden kernel
      threads over and over. Phew. I shouldn't be doing all this today, but I
      could not resist.
      5d48ab8c
  27. 06 Jun, 2006 1 commit
  28. 03 Jun, 2006 1 commit
  29. 30 May, 2006 2 commits
  30. 09 May, 2006 1 commit
  31. 23 Mar, 2006 1 commit
  32. 04 Mar, 2006 1 commit