Phil Sutter
171af5db53
git ignore temporary files in lua/
2009-11-05 22:06:03 +01:00
Phil Sutter
556751c8c9
top: drop problematic field totalmem
...
The field totalmem was formerly used to hold the percentage of used mem
by a process. So at update time, the field info.memmax was being
addressed, which is potentially being updated at the same time, As all
updating routines potentially run in parallel. Though there is an
(quite) easy fix for this: calculate the percentage upon object
printing. This works because conky synchronises all update routines
right before printing the result. (To omit locking on it's own.)
2009-11-03 23:24:09 +01:00
Phil Sutter
e08bc8fad7
enum special_types: define nonspecial for completeness
2009-11-03 23:23:23 +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
d9ec45b25d
drop struct text_object field pair, since it got unused due to latest commits
2009-11-03 23:23:23 +01:00
Phil Sutter
76b433c809
drop struct text_object field f
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
0bed05997b
review load* code
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
90ed7d8a2c
mail: convert to generic object payload
2009-11-03 23:23:22 +01:00
Phil Sutter
35ecbb3330
mail: use a private common struct mail_s instead of info.mail
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
2112b1f0ee
drop now unused sensor field
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
f2188a67a1
ibm: 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
0740e91911
diskio: convert to generic object payload
2009-11-03 23:23:22 +01:00
Phil Sutter
aa4d61d3d7
combine: convert to generic object payload
2009-11-03 23:23:22 +01:00
Phil Sutter
64ec783475
scroll: convert to generic object payload
2009-11-03 23:23:22 +01:00
Phil Sutter
bf9263bc5e
read_tcp: convert to generic object payload
2009-11-03 23:23:22 +01:00
Phil Sutter
b74e0494de
exec: 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
f31e5cefe7
fs_bar, fs_bar_free: 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
1d73d82b87
convert tztime 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
eff3f75014
text_object: introduce a generic payload pointer
2009-11-03 23:23:22 +01:00
Phil Sutter
c3430dc587
nvidia: fix syntax in variables.xml
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