Commit Graph

8 Commits

Author SHA1 Message Date
Adrian C. (anrxc) e929bea270 widgets: cleanup behind the last commit 363c03e 2012-06-18 01:31:42 +02:00
Arvydas Sidorenko 363c03e79c Fixed io.lines() bug
In Lua 5.2 io.lines() has to be used to iterate until EOF, otherwise
the fd will not be closed and eventually tons of naughty messages
will start to pop up saying that no more fd can be opened.

Signed-off-by: Arvydas Sidorenko <asido4@gmail.com>
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2012-06-18 01:28:01 +02:00
Arvydas Sidorenko 41cc2c0e27 Ported vicious.widgets module to lua 5.2
Signed-off-by: Arvydas Sidorenko <asido4@gmail.com>
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2012-06-18 01:26:31 +02:00
Joerg T. (Mic92) eeb27a2916 [cpu] fix division by zero
In rare cases diff_total seems to become 0.
2011-09-24 17:43:27 +02:00
Adrian C. (anrxc) 6522f58011 cpu: another 10 percent optimization from Joerg 2011-03-17 04:26:20 +01:00
Adrian C. (anrxc) 753ce61de0 cpu: calculation and optimization fixes by Joerg 2011-03-15 05:02:55 +01:00
Adrian C. (anrxc) 448275a386 widgets: reuse existing datasets where appropriate
Gmail, mbox, raid, weather and wifi could return the old value in case
there isn't new data, no need for N/A to be so common on our wibox.
2010-04-02 01:08:12 +02:00
Adrian C. (anrxc) 237470c8f4 API: transform widgets namespace table to a directory 2010-03-14 01:55:33 +01:00