- 12 Feb, 2016 1 commit
-
-
Hung-Yi Chen authored
-
- 11 Feb, 2016 2 commits
- 02 Feb, 2016 1 commit
-
-
Hisham authored
-
- 31 Jan, 2016 1 commit
-
-
Hisham authored
-
- 15 Jan, 2016 1 commit
-
-
Explorer09 authored
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--) .
-
- 04 Jan, 2016 1 commit
-
-
Hisham Muhammad authored
-
- 03 Jan, 2016 1 commit
-
-
Michael McConville authored
These are never necessary when using the standard library.
-
- 02 Jan, 2016 1 commit
-
-
Michael McConville authored
-
- 17 Dec, 2015 1 commit
-
-
Martin "eto" Misuth authored
this caused htop to show processes as if freebsd kernel was their parent. on next pass reparenting code took chance to run, and that caused process to jump around. this fixed behaviour should be the correct one
-
- 13 Dec, 2015 3 commits
-
-
Martin "eto" Misuth authored
-
Martin "eto" Misuth authored
-
Martin "eto" Misuth authored
-
- 12 Dec, 2015 1 commit
-
-
Martin "eto" Misuth authored
-
- 11 Dec, 2015 1 commit
-
-
Martin "eto" Misuth authored
-
- 03 Dec, 2015 1 commit
-
-
Michael Klein authored
- currently implemented for darwin and linux
-
- 19 Oct, 2015 1 commit
-
-
Hisham Muhammad authored
Closes #293.
-
- 06 Oct, 2015 6 commits
-
-
Martin "eto" Misuth authored
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.
-
Martin "eto" Misuth authored
-
Hisham Muhammad authored
-
Martin "eto" Misuth authored
FreeBSD Linux Other platforms will have it undefined for now.
-
Martin "eto" Misuth authored
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 ```
-
Hisham Muhammad authored
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.
-
- 30 Sep, 2015 1 commit
-
-
Martin "eto" Misuth authored
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".
-
- 17 Sep, 2015 1 commit
-
-
Michael McConville authored
-
- 07 Sep, 2015 1 commit
-
-
Christian Hesse authored
* 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)
-
- 20 Aug, 2015 1 commit
-
-
Hisham Muhammad authored
Closes #228.
-
- 07 Jun, 2015 2 commits
-
-
Lance Chen authored
`Process_new_fn` had been renamed to `Process_New` in d880def0
-
Lance Chen authored
Several functions and struct had changed in b291fba0
-
- 09 Apr, 2015 1 commit
-
-
Hisham Muhammad authored
-
- 17 Mar, 2015 1 commit
-
-
Hisham Muhammad authored
-
- 16 Mar, 2015 1 commit
-
-
Hisham Muhammad authored
-
- 27 Nov, 2014 8 commits
-
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-
Hisham Muhammad authored
This will produce too much replicated code. I think I'll use a lighter abstraction in things like this.
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-