Commit Graph

778 Commits

Author SHA1 Message Date
Michael McConville 6a21d2f3a6 Fix enumeratoin of on-CPU processes in OpenBSD 2015-09-19 12:45:22 -04:00
Michael McConville ad1a0ad08d Replace some remaining tabs 2015-09-19 12:21:22 -04:00
Michael McConville 571cbc0aa1 Change more fprintf(stderr, ...); exit(...); to err[x](...). Tweak a few existing ones and fix some style. 2015-09-19 12:15:26 -04:00
Michael McConville e2bbd5cfa4 Change some tabs to three spaces 2015-09-19 12:08:34 -04:00
trebmuh c5d725daf9 Update htop.desktop
fix
2015-09-19 00:12:41 +02:00
Hisham Muhammad 9c14fa6fad Merge pull request #273 from kaefer/fix-glibtoolize-detection
Mac build fixes
2015-09-18 15:41:41 -03:00
Michael McConville a9a5a539cf (Very) initial working OpenBSD port 2015-09-18 00:46:48 -04:00
trebmuh b0e074f6b6 Update htop.desktop
This one is adding FR localisation to the desktop file.
Cheers.
2015-09-17 20:04:18 +02:00
kaefer 02727bda81 ignore which errors 2015-09-17 08:44:34 +02:00
Michael McConville 445222e48c Clean up some needless malloc casts, convert some mallocs to callocs, and fix some style 2015-09-16 23:42:36 -04:00
Patrick Marlier b37d4f172f Fix a case where the usertime calculation can overflow (see issue #202) 2015-09-14 22:51:14 +02:00
kaefer 40525d85bc removing unnecessary include, which on top breaks compiling 2015-09-14 16:18:51 +02:00
kaefer 661a4cec4a fix glibtoolize detection 2015-09-14 10:03:17 +02:00
Hisham Muhammad 1d805b36b4 Bring changelog up-to-date :) 2015-09-11 16:29:19 -03:00
Hisham Muhammad 8e81119c33 Merge branch 'master' of https://github.com/hishamhm/htop 2015-09-11 13:42:04 -03:00
Hisham Muhammad 0c2ccde306 Detect when libtoolize is called glibtoolize.
It's the case on Darwin, and might be in other BSDs as well.
As referred in #268.
Supersedes PR #269.
2015-09-11 13:39:06 -03:00
Hisham Muhammad a92f803903 Merge pull request #268 from jweyrich/darwin-fixes
Darwin fixes - duplicate & conflicting decls
2015-09-10 16:41:53 -03:00
Jardel Weyrich e52c070ef5 Remove conflicting declarations. 2015-09-10 10:46:44 -03:00
Jardel Weyrich ffacac14a9 Remove duplicate declaration. 2015-09-10 10:45:22 -03:00
Hisham Muhammad 229d005851 Merge pull request #262 from eworm-de/calloc
fix calloc() calls
2015-09-08 14:43:33 -03:00
Christian Hesse e8970b6f32 fix calloc() calls
* size_t nmemb (number of elements) first, then size_t size
* do not assume char is size 1 but use sizeof()
* allocate for char, not pointer to char (found by Michael McConville,
  fixes #261)
2015-09-07 07:52:39 +02:00
Hisham Muhammad 2df36ee2f2 Merge pull request #254 from eworm-de/kilobyte-precision
kilobytes is the smallest unit and never has precision
2015-08-29 19:45:47 -03:00
Christian Hesse bf456972b7 kilobytes is the smallest unit and never has precision
Signed-off-by: Christian Hesse <mail@eworm.de>
2015-08-29 21:22:46 +02:00
Hisham Muhammad a859e9204c Merge pull request #253 from eworm-de/clock
get a useful tolal for clock meter
2015-08-29 16:18:51 -03:00
Hisham Muhammad 08392ce5d3 Merge pull request #255 from eworm-de/missing-blank
add missing blank
2015-08-29 16:14:00 -03:00
Christian Hesse ba3504fa26 add missing blank 2015-08-28 11:29:33 +02:00
Christian Hesse 804bd37dca get a useful tolal for clock meter 2015-08-28 10:15:00 +02:00
Hisham Muhammad 8a2dd83efa call for action! 2015-08-27 23:44:58 -03:00
Hisham Muhammad a008cb73a4 Updated README 2015-08-27 23:44:15 -03:00
Hisham Muhammad 7985724933 Fixes for color glitches in ncurses ABI6.
Could no longer reproduce #244 after these fixes.
2015-08-27 21:45:02 -03:00
Hisham Muhammad bdadd45a88 Fix indentation. 2015-08-27 21:37:06 -03:00
Hisham Muhammad bde3406add Merge branch 'master' of https://github.com/hishamhm/htop 2015-08-27 19:14:45 -03:00
Hisham Muhammad 3c4326b450 Don't select last item when clicking past the end of the panel. 2015-08-27 19:14:25 -03:00
Hisham Muhammad 6082db2121 Improve feedback when moving meters. 2015-08-27 19:14:13 -03:00
Hisham Muhammad f6c31eeaf5 Handle KEY_RECLICK events generated by ScreenManager 2015-08-27 18:43:22 -03:00
Hisham Muhammad f6d48c172c Merge pull request #247 from eworm-de/dual-meters-margin
remove extra space in dual meters without margins
2015-08-27 18:42:36 -03:00
Christian Hesse 696e36cb45 remove extra space in dual meters without margins 2015-08-27 22:40:35 +02:00
Hisham Muhammad f585fc9825 Merge pull request #208 from eworm-de/dynamic-unit
Dynamic unit
2015-08-27 17:33:24 -03:00
Hisham Muhammad 79356dc125 Merge pull request #250 from eworm-de/ascii-blank
use ASCII blank even for graphical meter in UTF-8 mode
2015-08-27 17:32:33 -03:00
Christian Hesse cf47f4fca1 use dynamic units for text display
Signed-off-by: Christian Hesse <mail@eworm.de>
2015-08-27 06:13:27 +02:00
Christian Hesse 6f58fbc5dd make units more dynamic
Signed-off-by: Christian Hesse <mail@eworm.de>
2015-08-27 06:13:27 +02:00
Hisham Muhammad f3a9f5406b Merge pull request #248 from eworm-de/wctype
include wctype.h for iswprint()
2015-08-26 23:42:32 -03:00
Christian Hesse 93b811a051 use ASCII blank even for graphical meter in UTF-8 mode
If the terminal has no font with braille characters we see... Nothing
useful. Use an ASCII blank at least, so we have an idea about what's
going on.
2015-08-25 17:40:36 +02:00
Christian Hesse f10cbaa812 include wctype.h for iswprint() 2015-08-25 15:23:50 +02:00
Hisham Muhammad 8f07868fef A more portable version of the note suggested in #113.
Closes #113.
2015-08-20 02:17:11 -03:00
Hisham Muhammad 0507cd38f7 Merge pull request #43 from ErkiDerLoony/master
Fix tree view if userland threads are hidden.
2015-08-20 02:15:04 -03:00
Hisham Muhammad 544c7efa6b Omit non-printable characters with widechar curses.
Closes PR #111.
2015-08-20 02:07:24 -03:00
Hisham Muhammad c7387fac15 Fix mouse click on meters setup function bar 2015-08-20 01:34:52 -03:00
Hisham Muhammad 4597014ea3 Standardize variable name. 2015-08-20 01:27:07 -03:00
Hisham Muhammad f019f4cd9e Merge pull request #221 from eworm-de/define-array-size
use a define for graphical meter array size
2015-08-20 01:26:38 -03:00