summaryrefslogtreecommitdiffstats
path: root/freebsd
AgeCommit message (Collapse)Author
2015-10-19Regenerate platform-dependent headers.Hisham Muhammad
Closes #293.
2015-10-06Fixed reparenting issue. PPID should be updated each refresh as any process ↵Martin "eto" Misuth
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-06attempt to return to upstream/masterMartin "eto" Misuth
2015-10-06Added platform dependent DEFAULT_SIGNAL define, for now for:Martin "eto" Misuth
FreeBSD Linux Other platforms will have it undefined for now.
2015-10-06Unless I move signal definitions into the comment used for header generation,Martin "eto" Misuth
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-06Move list of signals to platform-specific code.Hisham Muhammad
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-05Merge pull request #274 from mmcco/masterHisham Muhammad
Cleanup and initial OpenBSD support
2015-09-30Added preliminary attempt at jails support on FreeBSD - JID and JAIL (name) ↵Martin "eto" Misuth
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-16Clean up some needless malloc casts, convert some mallocs to callocs, and ↵Michael McConville
fix some style
2015-09-07fix calloc() callsChristian Hesse
* 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-08-20Make column width calculation dynamic.Hisham Muhammad
Closes #228.
2015-06-07Cast FreeBSDProcess_new to Process_NewLance Chen
`Process_new_fn` had been renamed to `Process_New` in d880def0e9b5dcce07917aa7cc71e49bddf21c16
2015-06-07Re-run MakeHeader.py on freebsd/FreeBSDProcess.cLance Chen
Several functions and struct had changed in b291fba02b8d9bb52cd8a23ef5fffbba4f89ff0a
2015-04-09Fixes to use platform-specific compare routines.Hisham Muhammad
2015-03-16Major advances in FreeBSD port.Hisham Muhammad
2015-03-16Get FreeBSD tree to compile again with latest changes.Hisham Muhammad
2014-11-27Add a stub for the battery meter.Hisham Muhammad
2014-11-27"get max pid" for FreeBSDHisham Muhammad
2014-11-27Load averages for FreeBSD!Hisham Muhammad
2014-11-27Add uptime calculation code.Hisham Muhammad
2014-11-27Uptime meter for FreeBSD.Hisham Muhammad
This will produce too much replicated code. I think I'll use a lighter abstraction in things like this.
2014-11-27Reading swap data!Hisham Muhammad
2014-11-27Reading first bits of data!Hisham Muhammad
2014-11-27Beginnings of FreeBSD port!Hisham Muhammad