Brenden Matthews
cf9e498b24
Update copyright notices.
2010-01-01 15:46:17 -08:00
Phil Sutter
3361ea907b
convert *speedgraphval to double
2009-12-04 22:18:54 +01:00
Phil Sutter
4133d8fdbe
convert wireless_link_barval to double
2009-12-04 22:18:53 +01:00
Phil Sutter
82ef68aafa
hook in the scale value for bar and gauge objects
...
This patch already implements complete auto-scaling for bars and gauges,
therefore introducing a flags field in order to signal whether
auto-scaling is enabled (and the scale field contains just the max value
seen so far).
2009-12-04 00:50:13 +01:00
Phil Sutter
4c4a7c4096
convert nameserver to callbacks.free
2009-12-01 00:32:33 +01:00
Phil Sutter
bd752e8506
merge {down,up}speedgraph to callbacks.graphval
2009-12-01 00:29:28 +01:00
Phil Sutter
a11a1a1253
wireless_link_bar: convert to callbacks.barval
2009-11-30 23:35:49 +01:00
Phil Sutter
970420106c
fix new_graph parameters
...
One should never print into buffers without knowing their size. Although
new_graph consumes only a single char, this may already be too much.
2009-11-22 21:12:54 +01:00
Phil Sutter
c2eb77c3f0
realise seamless integration of new_bar_in_shell
...
The decision about whether to print ASCII or X11 bar is done from within
specials.c, so all those #ifdef + if () blocks can be dropped. This also
implicitly enables the ASCII bar for some bar printing objects which where
forgotten before.
2009-11-22 02:09:46 +01:00
Phil Sutter
80e41032cd
{down,up}speedgraph: convert to match common signature
2009-11-19 23:52:39 +01:00
Phil Sutter
40792b7d05
fix compiling for freebsd
...
Tested using default options, lua disabled as only lua50 available in
7.2-RELEASE.
2009-11-15 01:36:17 +01:00
Nikolas Garofil
ce99d1a782
Use a define for the maximum number of network devices
2009-11-07 23:46:46 +01:00
Nikolas Garofil
74145a7fef
Fix building with --disable-x11 --disable-lua --disable-ncurses
2009-11-07 12:21:48 +01:00
Phil Sutter
e909cdd4eb
scan_graph: allow giving a "hint" about a good scale value
...
This is more or less a temporary fix to restore the former behaviour. In
the long term objects will define a max value, which will be of use for
all kinds of meters.
2009-11-06 00:10:00 +01:00
Phil Sutter
bbec0db498
specials: convert graph objects to new style
2009-11-03 23:23:23 +01:00
Phil Sutter
22251dca51
specials: introduce dedicated per-object data and merge graph objects
2009-11-03 23:23:23 +01:00
Phil Sutter
63079a2075
local_mails: convert to generic object payload
...
This also includes a little header include cleanup.
2009-11-03 23:23:22 +01:00
Phil Sutter
3a365bcd33
if_up: convert to generic object payload
2009-11-03 23:23:22 +01:00
Phil Sutter
c8f07daceb
net_stats: convert to generic object payload
2009-11-03 23:23:22 +01:00
Phil Sutter
8b76d8fb60
net_stats: outsource network-related objects
2009-11-03 01:50:28 +01:00