Commit Graph

121 Commits

Author SHA1 Message Date
Hisham Muhammad
a7fcbba75a Add missing header, silence warning. Should fix #292. 2015-11-02 10:46:04 -05:00
Hisham Muhammad
fd5dd6605a Merge pull request #299 from mmcco/master
OpenBSD port updates and error exit improvements
2015-11-02 08:46:40 -05:00
Michael McConville
cd3d2337f8 Replace all err.h function uses with CRT_fatalError(). Failing with
err.h functions corrupts the terminal when using curses.
2015-11-01 13:26:57 -05:00
Hisham Muhammad
bd93b2e1d7 Initialize variables, silence warnings. 2015-10-24 23:28:29 -04:00
Hisham Muhammad
71190654bc Calculate CPU averages on Darwin (See #295). 2015-10-23 13:46:21 -02:00
Hisham Muhammad
78f2933e2b Regenerate platform-dependent headers.
Closes #293.
2015-10-19 17:22:54 -02:00
Hisham Muhammad
cc0fc3655d Add Darwin signals (same as FreeBSD)
https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man3/signal.3.html
2015-10-06 13:03:47 -03:00
Hisham Muhammad
bf276a0993 Merge pull request #274 from mmcco/master
Cleanup and initial OpenBSD support
2015-10-05 11:22:50 -03: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
445222e48c Clean up some needless malloc casts, convert some mallocs to callocs, and fix some style 2015-09-16 23:42:36 -04:00
kaefer
40525d85bc removing unnecessary include, which on top breaks compiling 2015-09-14 16:18:51 +02:00
Jardel Weyrich
e52c070ef5 Remove conflicting declarations. 2015-09-10 10:46:44 -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
9428010121 Make column width calculation dynamic.
Closes #228.
2015-08-20 00:32:47 -03:00
Hisham Muhammad
f70649a178 Standardize indentation. 2015-08-19 13:56:46 -03:00
David Hunt
907f8298a0 CPU per process implemented 2015-08-19 13:52:57 -03:00
David Hunt
57ab332d5a Fix the thread counts 2015-08-19 13:52:38 -03:00
David Hunt
6463ea2956 Fixed CPU updating 2015-08-19 13:52:18 -03:00
David Hunt
7f3faa276a Static CPU meter 2015-08-19 13:52:04 -03:00
David Hunt
43ef703f03 Start supporting actual data 2015-08-19 13:51:49 -03:00
David Hunt
70e7c8db59 Added darwin with working battery meter 2015-08-19 13:47:26 -03:00