- 15 Jan, 2016 1 commit
-
-
Explorer09 authored
With the CLAMP macro replacing the combination of MIN and MAX, we will have at least two advantages: 1. It's more obvious semantically. 2. There are no more mixes of confusing uses like MIN(MAX(a,b),c) and MAX(MIN(a,b),c) and MIN(a,MAX(b,c)) appearing everywhere. We unify the 'clamping' with a single macro. Note that the behavior of this CLAMP macro is different from the combination `MAX(low,MIN(x,high))`. * This CLAMP macro expands to two comparisons instead of three from MAX and MIN combination. In theory, this makes the code slightly smaller, in case that (low) or (high) or both are computed at runtime, so that compilers cannot optimize them. (The third comparison will matter if (low)>(high); see below.) * CLAMP has a side effect, that if (low)>(high) it will produce weird results. Unlike MIN & MAX which will force either (low) or (high) to win. No assertion of ((low)<=(high)) is done in this macro, for now. This CLAMP macro is implemented like described in glib <http://developer.gnome.org/glib/stable/glib-Standard-Macros.html> and does not handle weird uses like CLAMP(a++, low++, high--) .
-
- 23 Nov, 2015 1 commit
-
-
Hisham Muhammad authored
-
- 28 Aug, 2015 1 commit
-
-
Hisham Muhammad authored
Could no longer reproduce #244 after these fixes.
-
- 25 Aug, 2015 1 commit
-
-
Christian Hesse authored
-
- 20 Aug, 2015 3 commits
-
-
Hisham Muhammad authored
Closes PR #111.
-
Hisham Muhammad authored
-
Hisham Muhammad authored
Closes #241.
-
- 23 Mar, 2015 2 commits
-
-
Hisham Muhammad authored
Fixes #174. Conflicts: Panel.c
-
Hisham Muhammad authored
Fixes #174.
-
- 24 Nov, 2014 1 commit
-
-
Hisham Muhammad authored
-
- 20 Nov, 2014 1 commit
-
-
Hisham Muhammad authored
Made the logic more modular, hopefully easier to follow, and removed repeated code. Plus, some optimization in RichString code.
-
- 27 Feb, 2014 1 commit
-
-
Hisham Muhammad authored
-
- 26 Feb, 2013 1 commit
-
-
Hisham Muhammad authored
-
- 10 Nov, 2012 1 commit
-
-
Hisham Muhammad authored
-
- 26 Dec, 2011 2 commits
-
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-
- 03 Nov, 2011 1 commit
-
-
Hisham Muhammad authored
-
- 08 Sep, 2011 1 commit
-
-
Hisham Muhammad authored
(thanks to Moritz Barsnick)
-
- 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
-
- 08 Jun, 2009 1 commit
-
-
Hisham Muhammad authored
-
- 02 Jun, 2009 1 commit
-
-
Hisham Muhammad authored
-
- 11 Mar, 2009 1 commit
-
-
Hisham Muhammad authored
-
- 09 Mar, 2008 1 commit
-
-
Hisham Muhammad authored
flag, which requires libncursesw. Thanks to Sergej Pupykin!
-
- 09 Nov, 2007 1 commit
-
-
Hisham Muhammad authored
accurate description. It is still available in split time, now called detailed CPU time. (thanks to Samuel Thibault for the report)
-
- 12 Jul, 2006 1 commit
-
-
Hisham Muhammad authored
Avoid unnecessary operations when processing entries on ProcessList.
-
- 06 Jun, 2006 1 commit
-
-
Hisham Muhammad authored
-
- 04 Mar, 2006 1 commit
-
-
Hisham Muhammad authored
-