Martin "eto" Misuth
2379835910
Added platform dependent DEFAULT_SIGNAL define, for now for:
...
FreeBSD
Linux
Other platforms will have it undefined for now.
11 years ago
Hisham Muhammad
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.
11 years ago
Patrick Marlier
b37d4f172f
Fix a case where the usertime calculation can overflow (see issue #202 )
11 years ago
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 )
11 years ago
Hisham Muhammad
5e4f1e46cc
Reduce scope of variables.
11 years ago
Hisham Muhammad
9428010121
Make column width calculation dynamic.
...
Closes #228 .
11 years ago
David Hunt
5e602f18d5
Rename String to StringUtils.
...
Fixes building on case-insensitive filesystems where String.h gets confused with <string.h>.
From d734dacea0a10d0465dad4e95b3421511e7da112 Mon Sep 17 00:00:00 2001
From: David Hunt <dhunt@iolanthe.attlocal.net>
Date: Sat, 11 Jul 2015 20:56:31 -0500
Subject: [PATCH 1/8] Rename String to StringUtils
11 years ago
peter-warhzner
6f6f0e36ad
Fix typo in comment
11 years ago
Maks Naumov
1bdee6b6ba
Fix sort by cstime
11 years ago
Christian Hesse
08829cbc3b
fix compiler warnings
...
gcc gives warnings like this:
warning: ignoring return value of ‘fscanf’, declared with attribute
warn_unused_result
Assign value to a variable, cast to (void) to discard it.
11 years ago
Hisham Muhammad
f4f6d54ffd
Fix compilation of OpenVZ support.
...
Closes #185 .
Closes #190 .
11 years ago
Hisham Muhammad
2f45008477
Enable OOM support unconditionally on Linux.
...
Read OOM data only if column is enabled.
Make sort ordering more consistent. Closes #182 .
11 years ago
Hisham Muhammad
b291fba02b
Fixes to use platform-specific compare routines.
11 years ago
Hisham Muhammad
4c24a9b462
Fixes to subclassing Process.
11 years ago
Hisham Muhammad
7cb8cb05fb
Simplify constructors.
11 years ago
Hisham Muhammad
d0c72c3fb2
Move FunctionBar inside Panel
11 years ago
Hisham Muhammad
4e064e0db7
Build fixes to resync with FreeBSD changes.
11 years ago
Hisham Muhammad
272e2d9b34
Major advances in FreeBSD port.
11 years ago
Hisham Muhammad
7fd4af80ff
Linux build fixes.
11 years ago
Hisham Muhammad
adbfe3c3f1
Get FreeBSD tree to compile again with latest changes.
11 years ago
Hisham Muhammad
be1700cf94
Isolate portable and Linux-specific process fields.
11 years ago
Hisham Muhammad
e3fe3962cb
Move more Linux-specific code into Linux subdir.
11 years ago
Hisham Muhammad
e7d6eb6a82
Fix deletion of processes. Closes #172 .
...
Conflicts:
linux/LinuxProcess.c
11 years ago
Hisham Muhammad
a4b03e8875
Improve reading of cgroups.
11 years ago
Hisham Muhammad
39a725abc2
Fix deletion of processes. Closes #172 .
11 years ago
Hisham Muhammad
0a184b769f
Merge fixes
11 years ago
Hisham Muhammad
50000d808e
Silence warnings reported in #70 .
11 years ago
Hisham Muhammad
9780c312f4
Fix allocation of processes. Closes #166 .
...
Conflicts:
Process.c
Process.h
ProcessList.c
ScreenManager.c
linux/LinuxProcessList.c
11 years ago
Hisham Muhammad
6f868b00c0
Fix allocation of processes. Closes #166 .
11 years ago
Hisham Muhammad
83a829a286
Remove bogus assertion. Closes #159 .
11 years ago
Hisham Muhammad
c2108e5a48
Another mega-patch for the refactoring process.
...
Kinda runs, but functionality from the original main loop
is still missing. Patience.
11 years ago
Hisham Muhammad
3383d8e556
Sorry about the mega-patch.
...
This is a work-in-progress, code is currently broken.
(Some actions, and notably, the header, are missing.)
11 years ago
Hisham Muhammad
36b7832884
Fix initialization of cpuData structure. Closes #159 .
11 years ago
Hisham Muhammad
430c7c9a9b
Move platform-dependent parts of Linux battery meter.
11 years ago
Hisham Muhammad
b4f6b11092
Move "get max pid" code into platform specific area.
11 years ago
Hisham Muhammad
529095607c
Isolate cross-platform code for load average.
11 years ago
Hisham Muhammad
e748401588
Build fix.
11 years ago
Hisham Muhammad
ca03094bb2
Make UptimeMeter cross-platform again.
11 years ago
Hisham Muhammad
2dcdd87658
Move UptimeMeter back into cross-platform code.
...
We'll just isolate the platform-dependent bit.
11 years ago
Hisham Muhammad
357e7a3243
Move UptimeMeter into platform-dependent area.
...
Set up environment to move other meters.
11 years ago
Hisham Muhammad
cda6bdd56b
Add ProcessList_delete to the variable interface.
11 years ago
Hisham Muhammad
ff4d1b466f
Build fixes.
11 years ago
Hisham Muhammad
6afacee50d
A little refactoring
11 years ago
Hisham Muhammad
aaaaf063a1
Builds on Linux again!
11 years ago
Hisham Muhammad
26422af608
Files moved and added for supporting separate platforms.
11 years ago