Nikolas Garofil
1ed564fd0b
Revert "Added support for and fixed on Linux"
...
This reverts commit 43c7c0373b
.
2009-11-07 18:13:21 +01:00
Nikolas Garofil
43c7c0373b
Added support for and fixed on Linux
2009-11-07 18:06:07 +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
4dd54b3df6
if_gw: no need to free unused obj->data.s
2009-11-03 23:23:23 +01:00
Phil Sutter
f61d8d108f
text_object: completely remove the need for data.ifblock
2009-11-03 23:23:23 +01:00
Phil Sutter
9a770295d1
drop useless ifblock.str
2009-11-03 23:23:23 +01:00
Phil Sutter
66c187e7a1
no need to save the args passed to if_empty and if_match
2009-11-03 23:23:23 +01:00
Phil Sutter
7304378d73
drop a few unused fields from struct text_object
2009-11-03 23:23:23 +01:00
Phil Sutter
f98a360089
drop now unused SIZE_DEFAULTS macro
2009-11-03 23:23:23 +01:00
Phil Sutter
041059f1c2
specials: convert stippled_hr object to new style
2009-11-03 23:23:23 +01:00
Phil Sutter
3458db80aa
specials: convert tab object to new style
2009-11-03 23:23:23 +01:00
Phil Sutter
50e2b5961a
specials: convert gauge objects to new style
2009-11-03 23:23:23 +01:00
Phil Sutter
bbec0db498
specials: convert graph objects to new style
2009-11-03 23:23:23 +01:00
Phil Sutter
a4777c7c55
misc smaller fixes
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
42dfb7ac69
move loadavg and loadgraph code to common.c
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
ac99833646
text_object: use field i instead of cpu_index
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
0de0047bdc
obsd_sensors: cleanup code (untested)
2009-11-03 23:23:22 +01:00
Phil Sutter
0740e91911
diskio: convert to generic object payload
2009-11-03 23:23:22 +01:00
Phil Sutter
0dc60481cf
top: convert to generic object payload
2009-11-03 23:23:22 +01:00
Phil Sutter
4b0c1d3226
mboxscan: convert to generic object payload
2009-11-03 23:23:22 +01:00
Phil Sutter
dd36fc4caa
mixer: convert to generic object payload
2009-11-03 23:23:22 +01:00
Phil Sutter
c45decda5e
curl: convert to generic object payload
2009-11-03 23:23:22 +01:00
Phil Sutter
4716969cc6
weather objects: convert to generic object payload
2009-11-03 23:23:22 +01:00
Phil Sutter
046ae1dd61
rss: convert to generic object payload
2009-11-03 23:23:22 +01:00
Phil Sutter
9202a9da87
eve: convert to generic object payload
2009-11-03 23:23:22 +01:00
Phil Sutter
94ac89e091
sysfs objects: convert to generic object payload
2009-11-03 23:23:22 +01:00
Phil Sutter
d2be5980ca
tcp_portmon: convert to generic object payload
2009-11-03 23:23:22 +01:00
Phil Sutter
8d1640f30b
fs_*: convert to generic object payload
2009-11-03 23:23:22 +01:00
Phil Sutter
f6942c8c98
tailhead: convert to generic object payload
2009-11-03 23:23:22 +01:00
Phil Sutter
8165a91f0a
nvidia: convert to generic text object payload
2009-11-03 23:23:22 +01:00
Phil Sutter
d1b2c7eac3
local_mails: put code to where it belongs
...
Note that the code does not only use a pre-processor generator for
defining the print functions, but also for their prototypes. Sadly, this
generated a conflict in mboxscan.c which this patch resolves, too.
2009-11-03 01:50:28 +01:00
Phil Sutter
fa9135f9df
mail: put imap and pop3 code to where it belongs
2009-11-03 01:50:28 +01:00
Phil Sutter
8b76d8fb60
net_stats: outsource network-related objects
2009-11-03 01:50:28 +01:00
Phil Sutter
9efa29be28
combine: outsource code
2009-11-03 01:50:28 +01:00
Phil Sutter
37658b540b
scroll: outsource code
2009-11-03 01:50:28 +01:00
Phil Sutter
24d9e8bf24
read_tcp: outsource code
2009-11-03 01:50:28 +01:00
Phil Sutter
7a168c377b
exec: put all exec-related stuff into it's own file
...
While here, also merge the execi and texeci fields of struct
text_object, so more common code can be shared in between.
2009-11-03 01:50:28 +01:00
Phil Sutter
2631f42820
ibm: put specific code to where it belongs
2009-11-03 01:50:28 +01:00
Phil Sutter
7fc1c801aa
gw_info: move code to where it belongs
2009-11-03 01:50:28 +01:00
Phil Sutter
a106b52698
curl: put init and print code to where it belongs
...
This also fixes a bug in arg parsing, effectively forcing an interval to
be specified.
2009-10-12 21:33:02 +02:00
Phil Sutter
ad8dd36cb7
weather objects: move init and print code to weather.c
2009-10-12 21:33:02 +02:00
Phil Sutter
6a2f58a25c
rss: move init and print code into rss.c
2009-10-12 21:33:02 +02:00
Phil Sutter
ddca4aac68
spend some time with eve.{c,h}
...
* minimise core code hooks
* drop useless exporting of private functions (and make them static)
* reorder functions in eve.c so no prototypes are needed
* drop massive header include and add double include barrier in eve.h
2009-10-12 21:33:02 +02:00
Phil Sutter
700a32b2e7
sysfs objects: merge init and print routines
2009-10-12 21:33:02 +02:00
Phil Sutter
da7876468f
tcp_portmon: drop useless function pointer cast, use OBJ_ARG
2009-10-12 21:33:02 +02:00
Phil Sutter
4d70cf07b8
fs_bar, fs_bar_free: merge init and print routines
2009-10-12 21:33:02 +02:00