aboutsummaryrefslogtreecommitdiff
path: root/widgets/cpu.lua
AgeCommit message (Collapse)AuthorFiles
2012-06-18widgets: cleanup behind the last commit 363c03eAdrian C. (anrxc)1
2012-06-18Fixed io.lines() bugArvydas Sidorenko1
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-18Ported vicious.widgets module to lua 5.2Arvydas Sidorenko1
Signed-off-by: Arvydas Sidorenko <asido4@gmail.com> Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2011-09-24[cpu] fix division by zeroJoerg T. (Mic92)1
In rare cases diff_total seems to become 0.
2011-03-17cpu: another 10 percent optimization from JoergAdrian C. (anrxc)1
2011-03-15cpu: calculation and optimization fixes by JoergAdrian C. (anrxc)1
2010-04-02widgets: reuse existing datasets where appropriateAdrian C. (anrxc)1
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-03-14API: transform widgets namespace table to a directoryAdrian C. (anrxc)1