Phil Sutter
43ee33a28d
check return type of dup() in exec.c
2009-12-28 03:02:05 +01:00
Pavel Labath
b4feb01818
Fix memory allocation problem in exec.c
...
Bug reported by c0nv1ct.
2009-12-10 23:09:56 +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
a49fb53ea3
fix scaling for exec*graph
2009-12-01 23:59:12 +01:00
Phil Sutter
b6a57a8f77
cleanup free_text_objects()
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
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
9581914f7d
reuse barval callbacks where applicable
2009-12-01 00:28:53 +01:00
Phil Sutter
a5ff5d39d0
merge execibar to callbacks.barval
2009-11-30 23:59:13 +01:00
Phil Sutter
b2b9155514
fix execigauge conversion to callbacks
2009-11-30 23:49:58 +01:00
Phil Sutter
685d4ca4e8
fix execbar merge to callbacks
2009-11-30 23:48:54 +01:00
Phil Sutter
d989f5b34a
cleanup exec.c
2009-11-29 21:28:58 +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
Nikolas Garofil
6ee76e5c55
Fix compiling with --disable-x11
2009-11-22 14:05:11 +01:00
Phil Sutter
66df73f74a
implement ASCII gauge and enable all gauge objects for use with no X
2009-11-22 02:09:46 +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
a1ddcc0786
fix potential buffer overflow in parse_conky_vars()
2009-11-16 19:52:48 +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
76b433c809
drop struct text_object field f
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
b74e0494de
exec: convert to generic object payload
2009-11-03 23:23:22 +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