- 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.
-
- 04 May, 2016 1 commit
-
-
Explorer09 authored
Rationale (copied from htop issue #471): The function name "setValues" is misleading. For most OOP (object- oriented programming) contexts, setXXX functions mean they will change some member variables of an object into something specified in function arguments. But in the *Meter_setValues() case, the new values are not from the arguments, but from a hard-coded source. The caller is not supposed to change the values[] to anything it likes, but rather to "update" the values from the source. Hence, updateValues is a better name for this family of functions.
-
- 11 Mar, 2016 1 commit
-
-
Explorer09 authored
Two changes in this commit: - All meters now explicitly specify "maxItems" property, even for just 1 item. (Exception is "container" CPU meter classes, which use CUSTOM_METERMODE.) - "maxItems" being 0 is now allowed. This will let bar meters and graph meters render an empty meter.
-
- 17 Mar, 2015 1 commit
-
-
Hisham Muhammad authored
-
- 23 Jan, 2015 1 commit
-
-
Hisham Muhammad authored
Kinda runs, but functionality from the original main loop is still missing. Patience.
-
- 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.)
-
- 16 Jan, 2014 1 commit
-
-
Hisham Muhammad authored
See https://bugzilla.redhat.com/show_bug.cgi?id=987805 for details. (thanks to Dawid Gajownik for the detailed analysis!)
-
- 05 Dec, 2012 1 commit
-
-
Hisham Muhammad authored
Changes in object model: separate class objects to store vtable. Also, nicer UTF-8 display of big numbers.
-
- 26 Dec, 2011 2 commits
-
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-
- 26 May, 2011 1 commit
-
-
Hisham Muhammad authored
-
- 23 Nov, 2010 1 commit
-
-
Hisham Muhammad authored
-
- 22 Nov, 2010 1 commit
-
-
Hisham Muhammad authored
Fix subtree hiding Fix reading of CPU values in hidden threads Fix hiding of zombie processes as kernel threads Remove "debug proc" code Code cleanup in processElements
-
- 25 Feb, 2010 1 commit
-
-
Hisham Muhammad authored
-
- 09 Mar, 2008 1 commit
-
-
Hisham Muhammad authored
Reduces resulting code size.
-
- 12 Jul, 2006 1 commit
-
-
Hisham Muhammad authored
Avoid unnecessary operations when processing entries on ProcessList.
-
- 06 Jun, 2006 1 commit
-
-
Hisham Muhammad authored
-
- 10 Apr, 2006 1 commit
-
-
Hisham Muhammad authored
- add AllCPUsMeter; - because of that, the new .htoprc is incompatible with previous released versions.
-
- 04 Mar, 2006 1 commit
-
-
Hisham Muhammad authored
-