Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Clean up existing whitespace | Daniel Flanagan | 2019-10-31 | 1 | -1/+1 |
| | |||||
* | Protect against overflows in RichString_setAttrn | Hisham Muhammad | 2018-02-26 | 1 | -0/+6 |
| | |||||
* | Check for failure in allocations. | Hisham | 2016-02-02 | 1 | -2/+3 |
| | |||||
* | Introduce CLAMP macro. Unify all MIN(MAX(a,b),c) uses. | Explorer09 | 2016-01-15 | 1 | -4/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | 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--) . | ||||
* | Array entries have been oddly flipped here for years. | Hisham Muhammad | 2015-11-23 | 1 | -2/+1 |
| | |||||
* | Fixes for color glitches in ncurses ABI6. | Hisham Muhammad | 2015-08-27 | 1 | -10/+7 |
| | | | | Could no longer reproduce #244 after these fixes. | ||||
* | include wctype.h for iswprint() | Christian Hesse | 2015-08-25 | 1 | -0/+4 |
| | |||||
* | Omit non-printable characters with widechar curses. | Hisham Muhammad | 2015-08-20 | 1 | -1/+1 |
| | | | | Closes PR #111. | ||||
* | Extra checks. | Hisham Muhammad | 2015-08-20 | 1 | -1/+1 |
| | |||||
* | Make Unicode strings safe for ncurses 6 ABI. | Hisham Muhammad | 2015-08-20 | 1 | -4/+4 |
| | | | | Closes #241. | ||||
* | Do not trust isalpha(c) for values > 255. | Hisham Muhammad | 2015-03-23 | 1 | -1/+1 |
| | | | | | | | Fixes #174. Conflicts: Panel.c | ||||
* | Changes for supporting separate platform subdirectories. | Hisham Muhammad | 2014-11-24 | 1 | -1/+1 |
| | |||||
* | Refactored key handlers. | Hisham Muhammad | 2014-11-19 | 1 | -7/+10 |
| | | | | | | Made the logic more modular, hopefully easier to follow, and removed repeated code. Plus, some optimization in RichString code. | ||||
* | alignment improvements | Hisham Muhammad | 2014-02-27 | 1 | -0/+1 |
| | |||||
* | Add extra checks in configure.ac for different locations of (n)curses.h | Hisham Muhammad | 2013-02-26 | 1 | -0/+2 |
| | |||||
* | search and filter for the strace and lsof screens! | Hisham Muhammad | 2012-11-10 | 1 | -13/+14 |
| | |||||
* | Remove old memory debugging routines. We have Valgrind nowadays. | Hisham Muhammad | 2011-12-26 | 1 | -1/+0 |
| | |||||
* | major header cleanup | Hisham Muhammad | 2011-12-26 | 1 | -9/+11 |
| | |||||
* | try to use unicode headers first | Hisham Muhammad | 2011-11-03 | 1 | -5/+5 |
| | |||||
* | Try harder to find the ncurses header, fixes detection in SuSE SLES9. | Hisham Muhammad | 2011-09-08 | 1 | -3/+7 |
| | | | | | (thanks to Moritz Barsnick) | ||||
* | Remove arbitrary limit from rich strings | Hisham Muhammad | 2010-11-22 | 1 | -51/+74 |
| | | | | | | | | | 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 | ||||
* | warning fixes | Hisham Muhammad | 2010-02-25 | 1 | -6/+6 |
| | |||||
* | fix to minor bug affecting the build process, a maintenance release will ↵ | Hisham Muhammad | 2009-06-08 | 1 | -2/+2 |
| | | | | follow shortly. | ||||
* | changes for htop 0.8.2 | Hisham Muhammad | 2009-06-02 | 1 | -2/+7 |
| | |||||
* | catch nonprintable characters | Hisham Muhammad | 2009-03-11 | 1 | -1/+3 |
| | |||||
* | Add Unicode support, enabled with the --enable-unicode | Hisham Muhammad | 2008-03-09 | 1 | -16/+84 |
| | | | | | | flag, which requires libncursesw. Thanks to Sergej Pupykin! | ||||
* | IO-wait time now counts as idle time, which is a more | Hisham Muhammad | 2007-11-09 | 1 | -9/+9 |
| | | | | | | | accurate description. It is still available in split time, now called detailed CPU time. (thanks to Samuel Thibault for the report) | ||||
* | Perform RichString operations by hand. | Hisham Muhammad | 2006-07-12 | 1 | -33/+18 |
| | | | | | Avoid unnecessary operations when processing entries on ProcessList. | ||||
* | Updates for new version of the MakeHeader.py script. | Hisham Muhammad | 2006-06-06 | 1 | -2/+1 |
| | |||||
* | Initial import. | Hisham Muhammad | 2006-03-04 | 1 | -0/+83 |