summaryrefslogtreecommitdiffstats
path: root/RichString.h
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'hishamhm-pull-960'Nathan Scott2020-08-201-1/+1
|\
| * Clean up existing whitespaceDaniel Flanagan2019-10-311-1/+1
| |
* | Re-generate all headers with latest scripts/MakeHeader.pyNathan Scott2020-08-181-8/+8
|/ | | | Sync-up missing extern declarations for many functions.
* Protect against overflows in RichString_setAttrnHisham Muhammad2018-02-261-0/+4
|
* Introduce CLAMP macro. Unify all MIN(MAX(a,b),c) uses.Explorer092016-01-151-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--) .
* Fixes for color glitches in ncurses ABI6.Hisham Muhammad2015-08-271-1/+1
| | | | Could no longer reproduce #244 after these fixes.
* include wctype.h for iswprint()Christian Hesse2015-08-251-0/+4
|
* Extra checks.Hisham Muhammad2015-08-201-1/+1
|
* Make Unicode strings safe for ncurses 6 ABI.Hisham Muhammad2015-08-201-2/+2
| | | | Closes #241.
* Refactored key handlers.Hisham Muhammad2014-11-191-2/+4
| | | | | | Made the logic more modular, hopefully easier to follow, and removed repeated code. Plus, some optimization in RichString code.
* Add extra checks in configure.ac for different locations of (n)curses.hHisham Muhammad2013-02-261-0/+2
|
* search and filter for the strace and lsof screens!Hisham Muhammad2012-11-101-5/+3
|
* Remove old memory debugging routines. We have Valgrind nowadays.Hisham Muhammad2011-12-261-1/+0
|
* major header cleanupHisham Muhammad2011-12-261-9/+7
|
* use unicode header firstHisham Muhammad2011-11-031-5/+5
|
* Try harder to find the ncurses header, fixes detection in SuSE SLES9.Hisham Muhammad2011-09-081-3/+7
| | | | | (thanks to Moritz Barsnick)
* Remove arbitrary limit from rich stringsHisham Muhammad2010-11-221-21/+26
| | | | | | | | | 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 fixesHisham Muhammad2010-02-251-5/+5
|
* fix to minor bug affecting the build process, a maintenance release will ↵Hisham Muhammad2009-06-081-2/+2
| | | | follow shortly.
* changes for htop 0.8.2Hisham Muhammad2009-06-021-2/+5
|
* catch nonprintable charactersHisham Muhammad2009-03-111-0/+1
|
* Add Unicode support, enabled with the --enable-unicodeHisham Muhammad2008-03-091-4/+40
| | | | | | flag, which requires libncursesw. Thanks to Sergej Pupykin!
* IO-wait time now counts as idle time, which is a moreHisham Muhammad2007-11-091-2/+2
| | | | | | | accurate description. It is still available in split time, now called detailed CPU time. (thanks to Samuel Thibault for the report)
* Fix GCC 4.3 issues: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=416852Hisham Muhammad2007-08-101-2/+2
|
* Perform RichString operations by hand.Hisham Muhammad2006-07-121-6/+3
| | | | | Avoid unnecessary operations when processing entries on ProcessList.
* Regenerated all headers.Hisham Muhammad2006-06-061-2/+4
|
* Initial import.Hisham Muhammad2006-03-041-0/+43

© 2014-2024 Faster IT GmbH | imprint | privacy policy