9f1884c28f
Fix generation of openbsd/Platform.h and replace a vestigial dummy CPU utilization value
2015-10-09 14:57:01 -04:00
e906c0dddb
Merge pull request #287 from etosan/master
...
PPID and JID update fix
2015-10-07 20:48:46 -03:00
93f05b459f
fixed broken merge, where I forgot to check linux/Platform.c so that it matches upstream
2015-10-06 20:05:55 +02:00
23bf564d73
Fixed reparenting issue. PPID should be updated each refresh as any process can get reparented to either
...
PID1 or even any other PID (if there are custom reapers in the system).
Similar issue with jails, elevated process can ask kernel to attach itself into any jail at any time,
thus JID and jail name can change each refresh cycle.
2015-10-06 19:50:19 +02:00
214d0cff0d
merge with 'upstream/master'
2015-10-06 19:39:12 +02:00
3ea7b34735
attempt to return to upstream/master
2015-10-06 19:39:01 +02:00
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
56193323ce
let's let the user find SIGIOT if the look for it :)
2015-10-06 12:58:53 -03:00
ee0d602a47
Merge branch 'master' of https://github.com/hishamhm/htop
2015-10-06 12:52:48 -03:00
125c23ef23
Fix build in FreeBSD, and make sure SIGTERM is always the default.
2015-10-06 12:50:31 -03:00
384c92f7e4
Merge pull request #286 from mmcco/master
...
Add OpenBSD signals
2015-10-06 12:42:13 -03:00
c4eb99f264
Add header file reference for OpenBSD signals
2015-10-06 11:32:40 -04:00
77f12bbecd
Add OpenBSD signals
2015-10-06 11:25:16 -04:00
2379835910
Added platform dependent DEFAULT_SIGNAL define, for now for:
...
FreeBSD
Linux
Other platforms will have it undefined for now.
2015-10-06 14:04:22 +02:00
86417e4157
Unless I move signal definitions into the comment used for header generation,
...
htop fails to compile with:
```text
SignalsPanel.c:32:49: error: use of undeclared identifier 'Platform_signals'
Panel_set(this, i, (Object*) ListItem_new(Platform_signals[i].name, Platform_signals[i].number));
^
1 error generated.
*** Error code 1
```
2015-10-06 12:46:37 +02:00
7859857fdd
add hint about system configuration file
2015-10-06 08:18:56 +02:00
3fe2f3e28e
Move list of signals to platform-specific code.
...
Implementations for Linux (tested) and FreeBSD (still untested, thanks to @etosan for providing the table).
Darwin and OpenBSD(ping @mmcco) builds should be broken now, pending their own tables.
2015-10-06 03:02:49 -03:00
fbb4c49edd
gcc warning cleanups.
2015-10-05 11:27:44 -03:00
bf276a0993
Merge pull request #274 from mmcco/master
...
Cleanup and initial OpenBSD support
2015-10-05 11:22:50 -03:00
5c2b0a6bbc
Merge pull request #283 from eworm-de/editorconfig
...
add editorconfig file to give hints to editors
2015-10-05 11:19:59 -03:00
1cda2d7397
add editorconfig file to give hints to editors
...
We use an unusual indent of three spaces. Let's give editors a hint
about that.
2015-10-05 11:13:17 +02:00
68c3270be8
Merge pull request #281 from etosan/master
...
Added preliminary attempt at jails support on FreeBSD - JID and JAIL (name) columns
2015-09-30 22:28:40 -03:00
8c00fa4582
Added preliminary attempt at jails support on FreeBSD - JID and JAIL (name) columns, somewhat more correct kernel "thread" detection.
...
Seems FreeBSD kernel can spawn both kernel processes (what is what htop currently sees) and kernel threads.
For now let's consider kernel processes kernel "threads".
2015-09-30 22:04:26 +02:00
2d1507ad5a
Merge pull request #275 from trebmuh/patch-1
...
Update htop.desktop (FR l10n)
2015-09-21 14:17:21 -03:00
6a21d2f3a6
Fix enumeratoin of on-CPU processes in OpenBSD
2015-09-19 12:45:22 -04:00
ad1a0ad08d
Replace some remaining tabs
2015-09-19 12:21:22 -04:00
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
e2bbd5cfa4
Change some tabs to three spaces
2015-09-19 12:08:34 -04:00
c5d725daf9
Update htop.desktop
...
fix
2015-09-19 00:12:41 +02:00
9c14fa6fad
Merge pull request #273 from kaefer/fix-glibtoolize-detection
...
Mac build fixes
2015-09-18 15:41:41 -03:00
a9a5a539cf
(Very) initial working OpenBSD port
2015-09-18 00:46:48 -04:00
b0e074f6b6
Update htop.desktop
...
This one is adding FR localisation to the desktop file.
Cheers.
2015-09-17 20:04:18 +02:00
02727bda81
ignore which errors
2015-09-17 08:44:34 +02:00
445222e48c
Clean up some needless malloc casts, convert some mallocs to callocs, and fix some style
2015-09-16 23:42:36 -04:00
b37d4f172f
Fix a case where the usertime calculation can overflow (see issue #202 )
2015-09-14 22:51:14 +02:00
40525d85bc
removing unnecessary include, which on top breaks compiling
2015-09-14 16:18:51 +02:00
661a4cec4a
fix glibtoolize detection
2015-09-14 10:03:17 +02:00
1d805b36b4
Bring changelog up-to-date :)
2015-09-11 16:29:19 -03:00
8e81119c33
Merge branch 'master' of https://github.com/hishamhm/htop
2015-09-11 13:42:04 -03:00
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
a92f803903
Merge pull request #268 from jweyrich/darwin-fixes
...
Darwin fixes - duplicate & conflicting decls
2015-09-10 16:41:53 -03:00
e52c070ef5
Remove conflicting declarations.
2015-09-10 10:46:44 -03:00
ffacac14a9
Remove duplicate declaration.
2015-09-10 10:45:22 -03:00
229d005851
Merge pull request #262 from eworm-de/calloc
...
fix calloc() calls
2015-09-08 14:43:33 -03:00
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
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
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
a859e9204c
Merge pull request #253 from eworm-de/clock
...
get a useful tolal for clock meter
2015-08-29 16:18:51 -03:00
08392ce5d3
Merge pull request #255 from eworm-de/missing-blank
...
add missing blank
2015-08-29 16:14:00 -03:00
ba3504fa26
add missing blank
2015-08-28 11:29:33 +02:00