summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-02-12Fix crash when emptying column. Closes #381.Hisham
2016-02-12Merge pull request #387 from gaod/masterHisham Muhammad
Suppress compiler warnings on FreeBSD
2016-02-13Suppress compiler warnings.Hung-Yi Chen
2016-02-12Fix implicit define isnan()Bernard Spil
2016-02-11Merge pull request #363 from myfreeweb/freebsd-memory-fixHisham Muhammad
Fix process memory on FreeBSD
2016-02-11Minor tweaks to the READMEHisham
2016-02-11Merge pull request #365 from deric/masterHisham Muhammad
Add travis badge, update README
2016-02-11link to the official website, paypal donate buttonTomas Barton
2016-02-11remove Debian instructionsTomas Barton
2016-02-11Merge branch 'master' of https://github.com/hishamhm/htopHisham
2016-02-11don't mention installing to /usrTomas Barton
2016-02-11add travis badge, code formatting, updated compilation instructionsTomas Barton
2016-02-11fix process memory on FreeBSDGreg V
2016-02-11Merge pull request #359 from myfreeweb/freebsd-batteryHisham Muhammad
Add FreeBSD battery support
2016-02-11add FreeBSD battery supportGreg V
2016-02-10Final touches to ChangeLog2.0.0Hisham
2016-02-10Support -1 as tpgidHisham
2016-02-03Shorten the code using the err() function.Hisham
2016-02-03Be stricter!Hisham
2016-02-02Avoid crash on huge screens.Hisham
Fix by @Explorer09 (see discussion on #355).
2016-02-02Try to make threads less confusing.Hisham
2016-02-02Initialize default meter modes properly.Hisham
2016-02-02Exit on failure!Hisham
2016-02-02Merge branch 'reuse-comm'Hisham
2016-02-02Merge branch 'xalloc'Hisham
2016-02-02Reuse comm object if possible, avoid useless repetitions of free+strdup.Hisham
2016-02-02Check for failure in allocations.Hisham
2016-02-02Update generated headers.Hisham
2016-01-31Add generated header.Hisham
2016-01-31Differentiate threads by default.Hisham
2016-01-31Add allocation testsHisham
2016-01-21Merge pull request #351 from Explorer09/graph-heightHisham Muhammad
GRAPH_HEIGHT macro and 'dot' variable
2016-01-21Change variable 'dot' to avoid division by reciprocal.Explorer09
(Cherry-picked from d56bcd8e0d8d6a177fc2e40db32fc73ea4588684, the experimental graph coloring branch) The variable 'dot' in GraphMeterMode_draw now means "maximum number of dots per value (column) in graph". The old meaning was "amount of value that is to be represented by a dot" and was always a fraction. Due to a limitation in floating point computing, if GRAPH_HEIGHT were not a power of 2, then rounding errors will occur on numbers like (1.0/3). (Currently GRAPH_HEIGHT is 4 and so no precision loss.) 'dot' was used as a divisor, and it's "division by a reciprocal". We change that to simple multiplication.
2016-01-21New macro GRAPH_HEIGHT for Graph Meter heightExplorer09
(Cherry-picked from e93028d7fa0c5f00b5dc3336fd28abaf905cd572, the experimental graph coloring branch) Currently GRAPH_HEIGHT=4 . This prevents hard-coding the height of the graph meters, and allows user to change it at compile-time.
2016-01-20Merge pull request #349 from Explorer09/clamp-macroHisham Muhammad
Introduce CLAMP macro. Unify all MAX(l,MIN(h,x)) uses.
2016-01-15Introduce CLAMP macro. Unify all MIN(MAX(a,b),c) uses.Explorer09
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--) .
2016-01-13Merge pull request #347 from mklein-de/darwin32+64Hisham Muhammad
Darwin: replace vm_statistics64_* with vm_statistics_*
2016-01-13Darwin: replace vm_statistics64_* with vm_statistics_*Michael Klein
Works with: - Darwin 9.8.0 (OS X 10.5.8) PPC - Darwin 15.2.0 (OS X 10.11.2) Intel
2016-01-13Merge pull request #346 from mklein-de/vikeysHisham Muhammad
vi keys: translate ALT-h/j/k/l to arrow keys
2016-01-12vi keys: translate ALT-h/j/k/l to arrow keysMichael Klein
2016-01-12refactor *Screen classes, add InfoScreen superclassHisham Muhammad
2016-01-12Merge branch 'mklein-de-envscreen'Hisham Muhammad
2016-01-12Merge branch 'envscreen' of https://github.com/mklein-de/htop into ↵Hisham Muhammad
mklein-de-envscreen
2016-01-11Merge branch 'master' of https://github.com/hishamhm/htopHisham Muhammad
2016-01-11Present IO-Wait as a dot in monochrome. Fixes #345.Hisham Muhammad
Thank you @Explorer09 for the report!
2016-01-06Merge pull request #343 from FreedomBen/typo-priorityHisham Muhammad
Fix typo: prority => priority
2016-01-06Fix typo: prority => priorityBenjamin Porter
2016-01-06drop privileges before reading environmentMichael Klein
2016-01-06Merge remote-tracking branch 'upstream/master' into envscreenMichael Klein
2016-01-06Merge pull request #315 from mklein-de/suidHisham Muhammad
add some security checks when running SUID root