1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-26 12:27:52 +00:00
Commit Graph

2257 Commits

Author SHA1 Message Date
Brenden Matthews
5c3a6581d1 Update version, copyright. 2012-05-03 16:32:24 -07:00
Brenden Matthews
04a0c8850f Bump for release. 2012-05-03 14:35:33 -07:00
Brenden Matthews
029eee8118 Remove unneeded variables. 2012-05-03 14:22:32 -07:00
Alessandro Di Marco
f5850b713a New graph switch (-d) turning histograms into lines
Signed-off-by: Alessandro Di Marco <dmr@ethzero.com>
Signed-off-by: Brenden Matthews <brenden@diddyinc.com>
2012-05-03 14:13:47 -07:00
Brenden Matthews
ccc3dd1147 Version bump. 2012-05-03 14:05:28 -07:00
Brenden Matthews
83bf5e3f85 Build fix for Lua >=5.2.
See Gentoo bug at https://bugs.gentoo.org/show_bug.cgi?id=407089.
2012-03-07 11:11:12 -08:00
Pavel Labath
d884152376 add mpd_date function that shows date for current track (sf.net #3440445)
patch submitted by Andrey Tikhonov
2012-01-29 21:12:21 +01:00
Pavel Labath
00c9687c21 Fix "rhost undeclared" (sf.net #3466456)
patch by Jaromír Cápík
2012-01-03 10:36:43 +01:00
Pavel Labath
bf06e2afa3 Fix spelling error in the manpage
noticed by Vincent C.
2011-12-08 12:46:45 +01:00
Pavel Labath
742dbbffaa Fix execi when interval is larger than system uptime (sf.net #3432429)
bug reported by Deciare
2011-11-05 17:21:23 +01:00
Pavel Labath
505a4bb6b1 Use statfs64 for $fs_* to support very large volumes
bug reported by puppetm.
2011-11-01 16:18:11 +01:00
Brenden Matthews
97ff689cf4 RFC 3501 only requires + for IMAP continuation. 2011-10-25 15:57:45 -07:00
Brenden Matthews
586da564b5 Fix IMAP regression from b751e93291. 2011-10-25 15:33:17 -07:00
Brenden Matthews
8891495558 Fix another regression from c1277d650b. 2011-10-25 15:32:52 -07:00
Brenden Matthews
c1277d650b Fix for regression introduced by 951cb1ac7e. 2011-10-25 15:19:45 -07:00
Brenden Matthews
9a0402341b Check for ncurses correctly. 2011-10-25 10:53:59 -07:00
Pavel Labath
f6aac5981e Increase MAX_NET_INTERFACES to 64
also change a magic constant in net_stat.h to reflect the fact that it depends on
MAX_NET_INTERFACES. For more info, see sf.net #2872682 and gentoo bug #384505
2011-10-25 18:53:09 +02:00
Pavel Labath
1248fd2139 Fix graph updating for large (>512pix) graphs (sf.net #3253656)
apparently, this was actually a feature as someone made it deliberately act that way. However, I
agree with the bug reporter that it is strange so I remove it.
2011-10-23 20:51:55 +02:00
Pavel Labath
152cdb4cc3 Fix xmms2 stream updating (sf.net #3150884)
Currently the variables related to xmms2 in conky do not update if the currently playing track
has any of its information updated (ie: the title changes). This results in incorrect behaviour
for streams where the same track is continually played but the title and artist change as new
songs are played. The attached patch corrects this issue by changing conky to respond to a
callback that fires when xmms2 media library entries are updated. After the callback fires, the
patch checks to see if the media library entry that changed corresponds to the currently playing
song and if it does updates the conky xmms2 related variables accordingly.

A different version of the patch was previously submitted and accepted into conky. Unfortunately,
this patch contained a bug that caused conky xmms2 variables to be updated when any media library
information was updated. However, the previous patch was reverted as a result of a commit the
made conky compatible with a new version of the xmms2 client api.

Patch submitted by Tamim Khan.

Signed-off-by: Pavel Labath <pavelo@centrum.sk>
2011-10-19 16:39:08 +02:00
Pavel Labath
21c4e8a3ef Remove now obsolete comment about quotes in execgraph in docs 2011-10-18 19:51:32 +02:00
Pavel Labath
d6aab26cfa Make execgraph working again (sf.net #3185428)
ps: the graph parsing code is a mess and in desperate need of a rewrite, that's why i'm not
pushing this code to master, as it's only a stop-gap measure
2011-10-18 19:48:49 +02:00
Pavel Labath
b751e93291 Support IMAP responses which arrive fragmented (sf.net #3182411)
bug reported by Richard De Boer
2011-10-16 12:04:42 +02:00
Nikolas Garofil
f9025174bc Let $acpitemp use /sys instead of /proc
From the 2.6.36 changelog (http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.36):
Mark the ACPI thermal procfs I/F deprecated, because /sys/class/thermal/ is already available and has been working for years w/o any problem.
The ACPI thermal procfs I/F will be removed in 2.6.37
2011-10-15 19:39:43 +02:00
Pavel Labath
324de5934e Ignore whitespace in parameters of $pid_* (sf.net #3423766)
This enables one to pass the output of $top to these variables. It was not possible before,
because $top pads the pids with spaces.
2011-10-15 14:11:04 +02:00
Pavel Labath
70032e713a Don't abort when config references a non-existant hwmon file
this sort of fixes sf.net #3306538. The person there correctly tested for the existance of the
file with $if_existing, but the problem is we run the callbacks regardless of the conditional
tests.
2011-10-15 14:10:40 +02:00
Pavel Labath
8905dbb313 Add uid to "top" output (sf.net #3178916)
original patch submitted by Thomas Wiegner, I added support for printing of raw uids.
2011-10-10 21:54:18 +02:00
Pavel Labath
7ddec25d60 add vim modeline to top.h 2011-10-10 21:44:58 +02:00
Pavel Labath
12968587a4 Remove SECRIT_MULTILINE_CHAR hack
Noone knows what it was supposed to do and removing it seems to fix sf.net #3411610 (and probably
a few others). If it turns out it was doing something useful, we will try to reintroduce it
without breaking other things.
2011-10-10 20:51:35 +02:00
Pavel Labath
27647cad81 Don't crash when expanding undefined template (sf.net #3306537)
bug reported by denisfr
2011-10-09 15:02:52 +02:00
Peter Hercek
eada1d62c7 mem_vsize and mem_res need to be 64 bit (sf.net #3366272)
if process allocated 4GiB or more of ram then {top mem_vsize} did not report correct number

Signed-off-by: Pavel Labath <pavelo@centrum.sk>
2011-10-02 19:34:02 +02:00
Pavel Labath
b3d96b3b34 Don't crash when using out-of-range cpu numbers (sf.net #3368243)
bug reported by Ormaaj
2011-10-02 19:16:29 +02:00
Pavel Labath
422cc24ba2 Link with -lbsd on GNU/kFreeBSD to find optreset (sf.net #3387121) 2011-10-01 23:25:29 +02:00
Pavel Labath
906dbb5b89 Remove zlib dependency
I'm not sure why was that even there, as we don't use zlib.
2011-10-01 22:57:17 +02:00
Pavel Labath
425b6df7c4 Fix quoting problem in configure.ac
since "not supported on foo" is sometimes assigned to want_bar variables, we need to quote them
properly when testing them.
2011-10-01 22:41:04 +02:00
Pavel Labath
d46eed65dc Revert "Fix short_units for below kilo values."
I revert this, because it breaks padding for numbers < 1000, which causes ugly text shifts when
numbers change from <1000 to >1000. If someone disagrees with this, we can talk about it in
 #conky. I asked before doing this, but noone seemed to care.

This "fixes" bug #3389641 on sf.net, reported by sakalisc.

This reverts commit c9cf08d9e9.
2011-09-18 19:19:23 +02:00
Pavel Labath
ccc50cef48 Use monotonic time when calculating the update interval (fixes sf.net #2970255)
when the system clock is moved backwards, the update interval would be calculated incorrectly. If
it was moved back far enough, conky would use 100% cpu. Conky now uses monotonic clock to prevent
this. If it turns out to be unsupported on some platform, an appropriate fallback can be added.

problem reported by norsetto
2011-09-17 13:07:16 +02:00
Pavel Labath
e6088bcfe2 Support imap passwords with strange characters (sf.net #3402448)
conky now sends the password using the length + string format, which should not need any quoting
of special characters. Hopefully, we won't find a server which does not support this encoding.

bug reported by Brent
2011-09-16 22:23:55 +02:00
skizzhg
9943ad2700 Explained that mixer requires OSS and added the device list. 2011-08-25 18:42:58 +02:00
Pavel Labath
03a56731ab Fix 'conky-1.8.1 does not build with curl-7.21.7' (sf.net #3383906)
In the new version of curl, types.h no longer exists. I just removed the offending include as
is seems to be unnecessary.

bug reported by billie80.
2011-08-01 22:36:25 +02:00
Pavel Labath
ab235b7ac6 Revert "$mixer: report more reasonable values for mono devices"
the user reports this didn't fix the problem (see sf.net #3131452)

This reverts commit 540f78f0bd.
2011-01-02 14:22:40 +01:00
Pavel Labath
540f78f0bd $mixer: report more reasonable values for mono devices 2011-01-01 11:38:08 +01:00
Tiago Vale
2f2480833f Added support for POWER_SUPPLY_POWER_NOW In Linux
apparently POWER_SUPPLY_CURRENT_NOW was deprecated and replaced by POWER_SUPPLY_POWER_NOW. In my
system, ever since kernel 2.6.36.1 battery lifetime showed "unknown" in conky. Check
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532000.

Signed-off-by: Pavel Labath <pavelo@centrum.sk>
2010-12-30 16:59:29 +01:00
Nikos Ntarmos
0d6a37beee FreeBSD supports addr and if_running
Signed-off-by: Nikos Ntarmos <ntarmos@cs.uoi.gr>
Signed-off-by: Pavel Labath <pavelo@centrum.sk>
2010-12-09 19:27:22 +01:00
Nikos Ntarmos
4c0b1e936c xmms2 and audacious bars exist only under X
Signed-off-by: Nikos Ntarmos <ntarmos@cs.uoi.gr>
Signed-off-by: Pavel Labath <pavelo@centrum.sk>
2010-12-09 19:24:38 +01:00
Nikos Ntarmos
f607145f13 kvm_proc needs synchronized access
Signed-off-by: Nikos Ntarmos <ntarmos@cs.uoi.gr>
Signed-off-by: Pavel Labath <pavelo@centrum.sk>
2010-12-09 19:00:47 +01:00
Nikos Ntarmos
792da5a7db apcupsd and iostats work on FreeBSD
Signed-off-by: Nikos Ntarmos <ntarmos@cs.uoi.gr>
Signed-off-by: Pavel Labath <pavelo@centrum.sk>
2010-12-09 18:53:10 +01:00
Nikos Ntarmos
33565ef0d6 Build fixes for bmpx
Signed-off-by: Nikos Ntarmos <ntarmos@cs.uoi.gr>
Signed-off-by: Pavel Labath <pavelo@centrum.sk>
2010-12-07 19:11:26 +01:00
Nikos Ntarmos
da4f602694 fclose(3) instead of pclose(3) as the latter seems to leak file descriptors
Signed-off-by: Nikos Ntarmos <ntarmos@cs.uoi.gr>
Signed-off-by: Pavel Labath <pavelo@centrum.sk>
2010-12-05 21:08:20 +01:00
Brenden Matthews
5c555deb64 Fix for segfault in top_name stuff. 2010-10-19 17:36:29 -07:00
Brenden Matthews
c9bde0065e Bump rev. 2010-10-15 11:29:55 -07:00