Commit Graph

576 Commits

Author SHA1 Message Date
niko 19604ca8a0 [net] fix division by zero 2011-11-26 12:55:43 +01:00
J. Thalheim 541cc90a0c Merge branch 'master' of http://git.sysphere.org/vicious
Conflicts:
	widgets/bat.lua
2011-11-21 10:50:25 +01:00
Adrian C. (anrxc) 45c6ebaeb6 bat: fix time calculation, bug introduced in 350e924 2011-11-20 17:44:04 +01:00
J. Thalheim 5c7df93baa [bat] Fix bug introduced in 78e3d37fb5
Instead of setting the remaining time to reasonable values, remaining
time was always set to 0, because of math.min().
2011-11-20 09:09:15 +01:00
J. Thalheim e77576ac69 Merge branch 'master' of http://git.sysphere.org/vicious into HEAD
Conflicts:
	widgets/bat.lua
	widgets/thermal.lua
2011-11-20 02:19:16 +01:00
J. Thalheim cd4b04df44 thermal: remove unnecessary read 2011-11-19 02:24:34 +01:00
Adrian C. (anrxc) 350e9240ea bat: another workaround for broken ACPI implementations 2011-11-19 02:20:08 +01:00
Mic92 8f6232dbdb Merge pull request #1 from wtfcoder/master
Prevent negative numbers when chargining

This happens on some laptops such as Acer
2011-11-17 12:56:03 -08:00
Wtfcoder 78e3d37fb5 Some laptops such as Acer timeline cause time remaining to be a massive negative number when charging. 2011-11-17 22:10:56 +07:00
J. Thalheim 4d8c8bfae6 [thermal] remove unnecessary read 2011-11-16 13:19:07 +01:00
Joerg T. (Mic92) 4d4e639ecf Rename widget sumup to countfiles 2011-10-25 20:47:39 +02:00
Joerg T. (Mic92) a67b52c226 Merge branch 'master' of http://git.sysphere.org/vicious 2011-09-24 21:15:14 +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
Joerg T. (Mic92) d794616e64 [cpu] fix division by zero
In rare cases diff_total seems to become 0.
2011-09-18 12:59:33 +02:00
Joerg T. (Mic92) 007c1b8469 Merge branch 'master' of http://git.sysphere.org/vicious
Conflicts:
	widgets/net.lua
2011-09-03 13:56:30 +02:00
Adrian C. (anrxc) 059442d039 net: sanitize time computation to avoid division by zero 2011-09-03 12:10:51 +02:00
Joerg T. (Mic92) 25b375bd6b [pulse] round volume to integer 2011-09-02 05:13:32 +02:00
Joerg T. (Mic92) b4158a869a [pulse] round volume to integer 2011-09-01 16:08:02 +02:00
Adrian C. (anrxc) 18e1823ded vicious: cleanup tabs and bad intendation 2011-08-18 20:44:04 +02:00
Joerg T. (Mic92) cf996f2ea3 [net] calculate time in a more clean way 2011-08-18 20:39:33 +02:00
Joerg T. (Mic92) f1844decef Allocate reg table with all values in one shot 2011-08-18 20:39:22 +02:00
Joerg T. (Mic92) 4d7b640752 fix white space as well 2011-08-18 20:01:41 +02:00
Joerg T. (Mic92) ffb51b4a39 [net] Fix whitespace 2011-08-18 19:59:11 +02:00
Joerg T. (Mic92) fde2b12e02 [net] calculate time in a more clean way 2011-08-18 19:48:22 +02:00
Joerg T. (Mic92) 7c14161608 Allocate reg table with all values in one shot 2011-08-18 19:43:09 +02:00
Joerg T. (Mic92) e2cdb97e2f Merge branch 'master' of http://git.sysphere.org/vicious 2011-08-18 19:39:52 +02:00
Adrian C. (anrxc) b11d251ef0 README: provide multigraph usage example 2011-08-07 22:17:26 +02:00
Adrian C. (anrxc) 44aea3786f bat: better fix for missing rate in 31d7b2f
Thanks to Ikke for debugging this.
2011-07-12 23:54:13 +02:00
Joerg T. (Mic92) f523e39540 Merge branch 'master' of http://git.sysphere.org/vicious 2011-07-02 10:06:42 +02:00
Adrian C. (anrxc) e01a8ebe21 vicious: document mem.bcuse 2011-06-30 01:06:43 +02:00
Adrian C. (anrxc) 1384b69384 mem: provide mem.bcuse for Gabriel 2011-06-30 01:02:43 +02:00
Joerg T. (Mic92) 12a338bf62 Merge branch 'master' of http://git.sysphere.org/vicious
Conflicts:
	contrib/init.lua
	helpers.lua
	widgets/init.lua
2011-05-11 18:44:25 +02:00
Adrian C. (anrxc) 324563e51b Next release, tag 2.0.3
Thanks to Jörg Thalheim and his work on improving Vicious, we can make
this tag.
2011-05-10 22:40:34 +02:00
Joerg T. (Mic92) dcc2b60cd8 vicious: load widget modules only when needed
There's no more need to edit init files and manually disable widgets.

Signed-off-by: Joerg T. (Mic92) <jthalheim@gmail.com>
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2011-05-10 00:50:41 +02:00
Joerg T. (Mic92) 2e461f101d Load widgets as needed instead of all at startup 2011-05-09 19:14:52 +02:00
Joerg T. (Mic92) 80da3d6b40 Merge branch 'master' of http://git.sysphere.org/vicious 2011-05-09 18:40:08 +02:00
Perry Hargrave 06e8f7c68a mpd: allow named keys or positional arguments
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2011-04-25 21:21:32 +02:00
Joerg T. (Mic92) bd5337e81c Merge branch 'master' of http://git.sysphere.org/vicious
Conflicts:
	README
	widgets/dio.lua
2011-04-04 19:58:50 +02:00
Adrian C. (anrxc) 729ceb7865 dio: import string.match() 2011-03-29 16:41:24 +02:00
Adrian C. (anrxc) c2f7fbcf23 dio: provide stats for all devices, rewritten by Joerg
Old dio.lua was moved to contrib. New one is used like CPU widget is,
request the device or parition in the format argument, {sda read_mb}
as an example. New widget doesn't provide scheduler information, but I
don't know anyone who used that. If you think this is wrong let me
know.
2011-03-29 02:21:53 +02:00
Joerg T. (Mic92) aba6c83a8d dio: Rewrite using /proc/diskstats
- no needs for additional arguments anymore
- table format is change from {read_mb} to {sda read_mb} etc.
- widget take care of counter resets
- now return usage/sec instead of usage/time_between_widget_calls
2011-03-21 21:04:57 +01:00
Joerg T. (Mic92) a2cde1fac0 Merge branch 'master' of http://git.sysphere.org/vicious 2011-03-21 20:58:34 +01:00
Adrian C. (anrxc) 6522f58011 cpu: another 10 percent optimization from Joerg 2011-03-17 04:26:20 +01:00
Joerg T. (Mic92) bf5e2b7bc6 Merge branch 'master' of http://git.sysphere.org/vicious 2011-03-15 21:22:38 +01:00
Adrian C. (anrxc) 753ce61de0 cpu: calculation and optimization fixes by Joerg 2011-03-15 05:02:55 +01:00
Adrian C. (anrxc) f85d9444d9 gmail: fixed misleading comment 2011-03-09 06:53:13 +01:00
Joerg T. (Mic92) 4bcd10b8ad Merge branch 'master' of http://git.sysphere.org/vicious 2011-02-26 17:06:19 +01:00
Adrian C. (anrxc) 31d7b2fc6b bat: fixed "no such device" for current and power 2011-02-21 06:46:49 +01:00
Adrian C. (anrxc) d38584386d helpers: properly handle magic characters 2011-02-15 05:47:21 +01:00
Adrian C. (anrxc) 6ddad318e0 bat: added power_now support
Looks like current_now will eventually be deprecated. Thanks to Conrad
Calmez for finding this bug report:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532000
2011-02-15 03:49:43 +01:00