Phil Sutter
1160e74d35
convert fs bars to double
2009-12-04 22:18:54 +01:00
Phil Sutter
361e5eba83
convert exec bars to double
2009-12-04 22:18:54 +01:00
Phil Sutter
b2c305a995
convert execbarval to double
2009-12-04 22:18:54 +01:00
Phil Sutter
3361ea907b
convert *speedgraphval to double
2009-12-04 22:18:54 +01:00
Phil Sutter
a68a523d40
convert diskiographval_* to double
2009-12-04 22:18:54 +01:00
Phil Sutter
1382915d1e
convert loadgraphval to double
2009-12-04 22:18:54 +01:00
Phil Sutter
f74ae19944
convert apcupsd_loadbarval to double
2009-12-04 22:18:54 +01:00
Phil Sutter
c52ee46cc3
convert entropy_barval to double
2009-12-04 22:18:54 +01:00
Phil Sutter
2fc1efa8d5
convert lua_barval to double
2009-12-04 22:18:54 +01:00
Phil Sutter
f1a57e40aa
convert audacious_barval to double
2009-12-04 22:18:53 +01:00
Phil Sutter
e2e7c47c48
convert xmms2_barval to double
2009-12-04 22:18:53 +01:00
Phil Sutter
202bbf01ff
convert mpd_barval to double
2009-12-04 22:18:53 +01:00
Phil Sutter
9e587ae6d5
convert smapi_bat_barval to double
2009-12-04 22:18:53 +01:00
Phil Sutter
db2b056969
convert swap_barval to double
2009-12-04 22:18:53 +01:00
Phil Sutter
c5a8949784
convert mem_barval to double
2009-12-04 22:18:53 +01:00
Phil Sutter
d46a2cb1b2
convert cpu_barval to double
2009-12-04 22:18:53 +01:00
Phil Sutter
bfd7eabc0f
convert get_battery_perct_bar to double
2009-12-04 22:18:53 +01:00
Phil Sutter
4133d8fdbe
convert wireless_link_barval to double
2009-12-04 22:18:53 +01:00
Phil Sutter
e5d32f4ad0
convert meter type object values from uint8_t to double
2009-12-04 22:17:40 +01:00
Phil Sutter
1e25633fc1
rename specials field "graph_scale" to a generic "scale"
2009-12-04 00:53:11 +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
dae785e5d0
introduce scale field for bar and gauge specials
2009-12-02 01:36:22 +01:00
Phil Sutter
a49fb53ea3
fix scaling for exec*graph
2009-12-01 23:59:12 +01:00
Pavel Labath
018ca8e0ef
Fix $memgraph and $cpugraph in a way that doesn't break other things
2009-12-01 23:45:31 +01:00
Pavel Labath
24ebff6a62
Fix $memgraph (i think)
2009-12-01 14:20:35 +01:00
Nikolas Garofil
e24bc153b3
Fix building without X11
2009-12-01 14:07:22 +01:00
Nikolas Garofil
a2c9ac648d
Fix compiling without C99
2009-12-01 12:35:23 +01:00
Phil Sutter
d3aafc4a75
reenable top for all target OS's
...
Occurs to work fine on FreeBSD, the other BSD's probably need more work,
anyway.
2009-12-01 00:45:17 +01:00
Phil Sutter
d4bc07b1f1
fix for compiling on freebsd
2009-12-01 00:32:33 +01:00
Phil Sutter
b6a57a8f77
cleanup free_text_objects()
2009-12-01 00:32:33 +01:00
Phil Sutter
3f00e817c5
free desktop information where it should be done
2009-12-01 00:32:33 +01:00
Phil Sutter
5ed38bfe0d
convert top objects to callbacks.free
2009-12-01 00:32:33 +01:00
Phil Sutter
ba47b49d88
move free_all_processes() to where it really should be
2009-12-01 00:32:33 +01:00
Phil Sutter
8ef2f13e9d
convert xmms2 objects to callbacks.free
2009-12-01 00:32:33 +01:00
Phil Sutter
6fb5302778
convert mpd objects to callbacks.free
2009-12-01 00:32:33 +01:00
Phil Sutter
4c4a7c4096
convert nameserver to callbacks.free
2009-12-01 00:32:33 +01:00
Phil Sutter
781bc7b024
convert gateway objects to callbacks.free
2009-12-01 00:32:33 +01:00
Phil Sutter
93c2079af0
generically free obj->sub if non-zero in free_text_objects()
2009-12-01 00:32:33 +01:00
Phil Sutter
87472a3daa
convert cmdline_to_pid to callbacks.free
2009-12-01 00:32:33 +01:00
Phil Sutter
ede0838e17
drop struct information parameter from generate_text_internal()
2009-12-01 00:32:33 +01:00
Phil Sutter
0f8b7d1186
cleanup generate_text_internal()
2009-12-01 00:32:33 +01:00
Phil Sutter
92ae6fab8a
replace substitute_newlines() object typecheck with object field
...
This is the more generic way, although I doubt this is really error
preventing. To me, it's not totally clear as to when
substitute_newlines() is forbidden and when not. Maybe someone (the
author?) can shed light on the internal algorithm of this feature.
2009-12-01 00:32:33 +01:00
Phil Sutter
c9f1c318aa
convert OBJ_text to callbacks
...
This is tricky: there is no such thing as $text. In fact, everything
below TEXT in the conkyrc which is NOT a text object will become one of
type OBJ_text.
To make life easy, introduce a function obj_be_plain_text() converting a
given object to the given plain text.
2009-12-01 00:32:33 +01:00
Phil Sutter
e569803324
convert if_updatenr to callbacks.iftest
2009-12-01 00:32:33 +01:00
Phil Sutter
841a3814c8
convert $updates to callbacks.print
2009-12-01 00:32:32 +01:00
Phil Sutter
ffec9dd50c
font: convert to callbacks.print
2009-12-01 00:32:32 +01:00
Phil Sutter
95b92d6cff
new_font: convert to common signature
2009-12-01 00:32:32 +01:00
Phil Sutter
e5b25fd30a
unconditionally call load_fonts()
...
Since load_fonts() iterates over font_count fonts which is initially -1,
it turns into a NOP when no fonts where added.
2009-12-01 00:32:32 +01:00
Phil Sutter
68a09f7a02
gid_name, uid_name: outsource sub object parsing and convert to callbacks.print
2009-12-01 00:32:32 +01:00
Phil Sutter
4ba0f9ff4f
pid objects: convert to callbacks.print
2009-12-01 00:32:32 +01:00