Vincent Breitmoser
f3aa025872
Added format_human_readable option (sf.net #2803345 , thanks Vincent).
2009-06-09 14:52:18 -06:00
Nikolas Garofil
c392152d3a
extra displayoptions for battery_short and make sure full isn't handled as unknown
2009-06-08 21:15:18 +02:00
Nikos Ntarmos
3361596592
Include sys/param.h for FreeBSD
...
We need this on FreeBSD as some of the constants used in ucred.h and
mount.h are defined there.
Signed-off-by: Nikos Ntarmos <ntarmos@cs.uoi.gr>
Signed-off-by: Brenden Matthews <brenden@rty.ca>
2009-06-08 13:05:20 -06:00
Nikos Ntarmos
d934d11e48
Check for deleted and not expunged emails
...
This should fix bug #2802529 . I've also revamped the X-Mozilla-Status
header handling which was kind of fishy till now.
Disclaimer: I have no mbox folders around to test it.
Signed-off-by: Nikos Ntarmos <ntarmos@cs.uoi.gr>
Signed-off-by: Brenden Matthews <brenden@rty.ca>
2009-06-08 13:05:20 -06:00
Nikolas Garofil
25e46ca341
Fix compiling without X11
2009-06-07 18:41:10 +02:00
Nikolas Garofil
b11f2466af
need_to_load_fonts shouldn't be used without X11
2009-06-07 15:01:48 +02:00
Brenden Matthews
a9c8ae4145
Make device argument optional for most net stats.
...
We can use DEFAULTNETDEV for more than just up/downspeedgraph.
2009-06-06 22:56:29 -06:00
Brenden Matthews
00e559aef8
reload_config() fix, fix default net graph args.
...
Closing the X display on reload caused some weirdness. We can just
leave it open between reloads. For whatever reason we had a macro
inside quotes for the default net device.
2009-06-06 22:53:40 -06:00
Brenden Matthews
815dcf872d
Update command opts docs.
2009-06-06 18:10:20 -06:00
Brenden Matthews
e5abd481cd
Fix some stupidity in 33754ecebe
.
2009-06-06 17:42:02 -06:00
Brenden Matthews
33754ecebe
Let lua_graph behave more like other graphs.
...
Changed llua_getinteger() to llua_getnumber() returning a double, so
that you can use floating point values in graphs etc. Lua graph will
scale like other graphs (except execgraph) by default now, and you can
manually set a scale with the scale argument.
2009-06-06 17:25:34 -06:00
Brenden Matthews
8e81d4e816
Merge branch 'master' of git.omp.am:/home/omp/git/conky
2009-06-06 12:20:13 -06:00
Pavel Labath
aa68da1ce6
Fix bug in template code.
...
Signed-off-by: Brenden Matthews <brenden@rty.ca>
2009-06-06 12:18:46 -06:00
Nikolas Garofil
e4934b9f08
Let wireless_link_bar work in shell
2009-06-06 20:04:20 +02:00
Phil Sutter
3170b5191a
Add a better fix for the $addr update problem
...
In general, initialising last_update_time to next_update_time upon
startup doesn't make sense, as some update functions check for the
distance between the two being higher than a given epsilon to prevent
updating too often. This means that they won't trigger when
update_stuff() is being run for the first time.
2009-06-06 18:18:31 +02:00
Phil Sutter
26ecdcf562
Revert "Bugfix: $addr and $addrs couldn't find ip's before the first update."
...
This reverts commit 8ffb8b238d
.
Surely, there is a better solution for that.
2009-06-06 18:14:06 +02:00
Nikolas Garofil
8ffb8b238d
Bugfix: $addr and $addrs couldn't find ip's before the first update.
...
When you started "$updates|${addr eth0}" displayed "0|No Address",
after the first update you got something normal like "1|192.168.0.1"
This patch should fix this.
2009-06-06 17:41:51 +02:00
Brenden Matthews
22733a0b4a
Fix 6994caa18b
.
...
Introduced a regression with commit
6994caa18b
by getting too happy with
OpenMP.
2009-06-06 03:56:22 -06:00
Brenden Matthews
384a41cb6e
Unbreak $combine.
2009-06-06 03:04:36 -06:00
Brenden Matthews
4b35fe5db4
s/IMLIB2/Imlib2/g
2009-06-06 02:32:51 -06:00
Brenden Matthews
8686ce0347
Apparently some people want more than 64 fonts.
2009-06-06 02:13:42 -06:00
Pavel Labath
c76b7f577d
A couple more fixes for the template machinery
...
Signed-off-by: Brenden Matthews <brenden@rty.ca>
2009-06-05 21:07:32 -06:00
Phil Sutter
20e4e19f83
add entropy_perc
...
There is no rounding done, so e.g. 3.6% get 3%. But double casting and
calling round_to_int() is just too ugly.
2009-06-04 22:51:25 +02:00
Phil Sutter
9d7fc86275
branch conditionally
...
In case of undefined MATH there were empty branches which could lead to
decreased performance in totally unoptimised code. ;)
2009-06-04 22:00:52 +02:00
Phil Sutter
8407d6b3c9
clarify what the preprocessor define does here
2009-06-04 21:46:45 +02:00
Nikolas Garofil
f3fd389ea0
read_tcp werkt maar moet nog stresstesten ondergaan
2009-06-04 19:39:18 +02:00
Nikolas Garofil
25a6fca902
Let entropy_bar, mpd_bar and apcupsd_loadbar work in shell
2009-06-04 18:45:58 +02:00
Brenden Matthews
ff57d1a85e
Make Imlib2 global cache flushing actually work.
2009-06-03 13:31:16 -06:00
Brenden Matthews
904354f93b
Added some better cache control options for Imlib2.
2009-06-03 13:24:53 -06:00
Nikolas Garofil
3656bced46
some c standards only allow initialisations at the start of a function
2009-06-03 19:17:45 +02:00
Nikolas Garofil
1085ec48cc
Make it possible to compile without C99
2009-06-03 18:24:48 +02:00
Nikolas Garofil
5388fc33f6
Let lua_bar work in shell
2009-06-03 17:58:00 +02:00
Toni Spets
09ac517343
Merge OpenBSD patches from ports
2009-06-03 09:16:23 +03:00
Brenden Matthews
6994caa18b
Minor refactoring for template code.
2009-06-02 14:51:46 -06:00
Pavel Labath
44ead331cd
Make templates work with --disable-x11
...
part of the template-handling code was in #ifdef X11, which caused conky to dump core when
compiled without x11.
as a bonus, I changed tests !=' ' to !isspace in two places as it was causing strange effects
Signed-off-by: Brenden Matthews <brenden@rty.ca>
2009-06-02 14:48:59 -06:00
Pavel Labath
8540821323
Fix core dumps while handling templates
...
Conky would dump core when encountering templates with no parameters (both $templateX and
${templateX}) and when the line contained improperly nested {}.
Signed-off-by: Brenden Matthews <brenden@rty.ca>
2009-06-02 14:48:59 -06:00
Nikolas Garofil
abf515d901
Let execibar work in shell
2009-06-02 21:23:00 +02:00
Nikolas Garofil
7807d369ad
Let battery_bar work in shell
2009-06-02 19:16:21 +02:00
Nikolas Garofil
1a9d0bdccd
Let fs_bar and fs_bar_free work in shell
2009-06-01 16:09:34 +02:00
Nikolas Garofil
faa9086168
Let cpubar work in shell
2009-06-01 15:07:24 +02:00
Nikolas Garofil
0b8b6ccbae
Let swapbar work in shell
2009-06-01 13:48:04 +02:00
Nikolas Garofil
bfc791f08b
Let membar work in shell
2009-06-01 12:19:25 +02:00
Pavel Labath
0cb91fc3db
Fix mouse click coordinates forwarded to the desktop window
...
Signed-off-by: Brenden Matthews <brenden@rty.ca>
2009-05-31 22:18:12 -06:00
Nikolas Garofil
c3df719716
Created a function to call bars in shell (not only execbar)
...
TODO use this function in other places
2009-06-01 02:23:47 +02:00
Nikolas Garofil
c91e2ed38e
Make sure that no X11 stuff is in the binary when not requested
2009-05-31 16:48:16 +02:00
Nikolas Garofil
01bc44aaf6
Don't check if output to X is requested when compiled without X
2009-05-31 16:29:12 +02:00
Brenden Matthews
295203dd4c
Fix an issue with reload_config()?
2009-05-30 21:06:49 -06:00
Phil Sutter
533075032a
Fix hostname resolution for mpd_host
...
When getaddrinfo() returns an IPv6 address, connect() fails since mpd
does not support IPv6. Reproduced by adding the name "localhost" to the
"::1" entry in /etc/hosts.
Signed-off-by: Brenden Matthews <brenden@rty.ca>
2009-05-30 19:55:06 -06:00
Alexander Graf
0632693be7
Fix if_existing
...
The if_existing with 2 arguments checking whether a file contains a specified
string did not work. This is fixed by this patch.
Signed-off-by: Brenden Matthews <brenden@rty.ca>
2009-05-30 16:21:42 -06:00
Brenden Matthews
39071d28e8
Be more graceful when handling IMAP problems.
2009-05-29 23:31:03 -06:00
Brenden Matthews
a31efb7fbe
Fix default sizing for bars/graphs/gauges.
...
Conflicts:
src/conky.c
2009-05-29 14:05:10 -06:00
Nikos Ntarmos
15eb14da5c
conf_cookie is there for kFreeBSD as well
...
Signed-off-by: Nikos Ntarmos <ntarmos@cs.uoi.gr>
Signed-off-by: Brenden Matthews <brenden@rty.ca>
2009-05-29 10:57:17 -06:00
Nikos Ntarmos
8553e33763
Include bsd/bsd.h on kFreeBSD
...
Signed-off-by: Nikos Ntarmos <ntarmos@cs.uoi.gr>
Signed-off-by: Brenden Matthews <brenden@rty.ca>
2009-05-29 10:57:17 -06:00
Brenden Matthews
650c39b602
Compilation fixes, fix a segfault on shutdown.
...
There was a missing 'break' in a switch/case statement which caused a
segfault on shutdown when using $if_up.
2009-05-28 21:27:56 -06:00
Nikos Ntarmos
b51d06d178
Gracefully exit from main_loop()
...
Signed-off-by: Nikos Ntarmos <ntarmos@cs.uoi.gr>
Signed-off-by: Brenden Matthews <brenden@rty.ca>
2009-05-28 21:27:56 -06:00
Nikos Ntarmos
c03655bdfa
free(3) previously strdup(3)'ed disp
...
Signed-off-by: Nikos Ntarmos <ntarmos@cs.uoi.gr>
Signed-off-by: Brenden Matthews <brenden@rty.ca>
2009-05-28 21:27:56 -06:00
Nikos Ntarmos
613a440fdc
XDestroyRegion(3) only for non-NULL regions
...
Signed-off-by: Nikos Ntarmos <ntarmos@cs.uoi.gr>
Signed-off-by: Brenden Matthews <brenden@rty.ca>
2009-05-28 21:27:55 -06:00
Nikos Ntarmos
0c62f02553
XCloseDisplay(3) on re-init_X11()
...
Signed-off-by: Nikos Ntarmos <ntarmos@cs.uoi.gr>
Signed-off-by: Brenden Matthews <brenden@rty.ca>
2009-05-28 21:27:55 -06:00
Nikos Ntarmos
ff72a55691
No need to check for loop variable value
...
If the first for-loop succedds in finding the desired interface, it will return to its caller. The only way we drop to the second for-loop is if nothing is found thus far, so no need to check for (i == 16).
Signed-off-by: Nikos Ntarmos <ntarmos@cs.uoi.gr>
Signed-off-by: Brenden Matthews <brenden@rty.ca>
2009-05-28 21:27:55 -06:00
Nikos Ntarmos
33451a9420
free(3) previously strndup(3)'ed diskio.dev
...
Signed-off-by: Nikos Ntarmos <ntarmos@cs.uoi.gr>
Signed-off-by: Brenden Matthews <brenden@rty.ca>
2009-05-28 21:27:55 -06:00
Nikos Ntarmos
dc2a8e1de8
free(3) strdup(3)'ed templates array
...
Signed-off-by: Nikos Ntarmos <ntarmos@cs.uoi.gr>
Signed-off-by: Brenden Matthews <brenden@rty.ca>
2009-05-28 21:27:55 -06:00
Nikos Ntarmos
a8300acbc5
free(3) previously strndup(3)'ed netstats.dev
...
Signed-off-by: Nikos Ntarmos <ntarmos@cs.uoi.gr>
Signed-off-by: Brenden Matthews <brenden@rty.ca>
2009-05-28 21:27:55 -06:00
Brenden Matthews
ed5dbc02bb
Simplify graph gradient stuff.
2009-05-26 11:44:16 -06:00
Brenden Matthews
d65c33146e
OMPtimize the gradient stuff.
2009-05-26 03:14:52 -06:00
Brenden Matthews
b0f37a63e8
Let the graphs be bigger.
2009-05-24 23:31:35 -06:00
Brenden Matthews
35a72f5a95
Fix some minor graph related bugs.
2009-05-24 23:16:36 -06:00
Brenden Matthews
d03df4a367
Allow ~/... and $HOME/... paths for more stuff.
2009-05-24 22:33:47 -06:00
Brenden Matthews
f1cc5cf032
Actually fix hddtemp parsing.
2009-05-24 18:15:05 -06:00
Brenden Matthews
1c4044252c
Revert "Fix array bounds problem in hddtemp code."
...
This reverts commit d0de7cbd63
.
2009-05-24 18:02:46 -06:00
Brenden Matthews
c92272a943
Fix segfault on reload.
2009-05-24 17:49:50 -06:00
Brenden Matthews
d0de7cbd63
Fix array bounds problem in hddtemp code.
2009-05-24 17:09:38 -06:00
Brenden Matthews
4a08fab0e6
Fix clipping, enable alpha for imlib2.
2009-05-24 16:52:48 -06:00
Brenden Matthews
4ec728fa42
Added fancy new 'temperature gradients' feature.
...
See docs for more details on 'temperature gradients', which can be
turned on with the -t switch on graphs. Also improved parsing of
options with $execgraph and $execigraph, but may cause some breakage.
2009-05-24 15:53:32 -06:00
Brenden Matthews
ee9364522a
Some OpenMP related fixes.
...
Fixes for commit 9c331dce49
.
2009-05-24 14:02:33 -06:00
Brenden Matthews
19ca4c071a
Merge branch 'master' of git.omp.am:/home/omp/git/conky
2009-05-24 13:48:10 -06:00
Brenden Matthews
4bfd545d2f
Clip out imlib2 buffer properly.
2009-05-24 13:47:44 -06:00
Joe Myre
7b7d038035
Merge branch 'master' of git.omp.am:/home/omp/git/conky
2009-05-24 14:24:07 -05:00
Brenden Matthews
06044bf7e5
Try and fix weirdness with hwmon/i2c/platform options.
2009-05-24 13:07:27 -06:00
Joe Myre
9c331dce49
omped it up
2009-05-24 10:41:35 -05:00
Brenden Matthews
bf2d9de16a
Add OpenMP to list of compiled in features (for -v).
2009-05-23 21:18:06 -06:00
Nikos Ntarmos
45e403f553
Allow src/apcupsd.c to compile cleanly on FreeBSD.
...
Signed-off-by: Brenden Matthews <brenden@rty.ca>
2009-05-23 21:08:32 -06:00
Nikos Ntarmos
12d0d1477f
Integrate FreeBSD diskio support.
...
This diff moves Linux-specific parts of diskio.c into linux.c and uses
the remaining diskio functions to correctly implement this functionality
for FreeBSD. It also hooks diskio.c to the FreeBSD build.
Signed-off-by: Brenden Matthews <brenden@rty.ca>
2009-05-23 21:08:32 -06:00
Nikos Ntarmos
0880c1722d
Remove unused variables and rearrange includes.
...
Signed-off-by: Brenden Matthews <brenden@rty.ca>
2009-05-23 21:08:31 -06:00
Nikos Ntarmos
38d4030e65
conf_cookie valid only for Linux.
...
Signed-off-by: Brenden Matthews <brenden@rty.ca>
2009-05-23 21:08:31 -06:00
Brenden Matthews
396494d4a0
Fixed parsing of $hwmon?
2009-05-23 21:01:59 -06:00
Brenden Matthews
c9951a3bac
Better checking for cases when inotify doesn't work.
2009-05-22 12:48:46 -06:00
Brenden Matthews
0dc7041e6f
Fix other parsing bug with hwmon.
2009-05-22 12:30:09 -06:00
Brenden Matthews
1779ef3efd
Fix (possibly overkill) hwmon parsing bug.
2009-05-22 12:29:41 -06:00
Brenden Matthews
7f0929d03c
Fix imlib2 cache setting.
2009-05-22 11:23:05 -06:00
Brenden Matthews
445fde109c
Fix backwards width/height args for image drawing.
2009-05-22 01:39:38 -06:00
Brenden Matthews
3ad217e447
Use original image size when not specified.
2009-05-22 01:18:07 -06:00
Brenden Matthews
b6dea2fce6
Oops, null pointer.
2009-05-20 11:53:43 -06:00
Brenden Matthews
a25e030036
Oh yeah, make sure it compiles without inotify.
...
Also removed BSD licensing stuff that pertains to old torsmo code.
2009-05-19 22:56:33 -06:00
Brenden Matthews
75d1a054be
Add message to show the Lua script was reloaded.
2009-05-19 22:51:50 -06:00
Brenden Matthews
011e52650b
Added inotify support for reloading Lua scripts automagically.
2009-05-19 22:49:42 -06:00
Brenden Matthews
dd5fbeb41b
Improve reload_config() window destruction/creation.
2009-05-19 21:34:43 -06:00
Brenden Matthews
baaba76678
Handle inotify stuff a bit better.
2009-05-19 20:35:02 -06:00
Brenden Matthews
0d3726d352
Oops, remove printf().
2009-05-19 20:23:44 -06:00
Brenden Matthews
ba0eb5d85d
Inotify support.
...
Added inotify support to reload the config when modified automatically
on systems that support it
2009-05-19 17:14:34 -06:00
Brenden Matthews
e05fc3ba38
Don't need a prev ptr in this list.
2009-05-18 15:49:40 -06:00
Filipe Ferreira
5552f4135e
Patch to fix rounding error with CPU values.
2009-05-17 23:30:10 -06:00
Brenden Matthews
6477962dc9
Added support for rending images by way of IMLIB2.
2009-05-17 23:11:22 -06:00
Brenden Matthews
ddcc8ceb70
Merge branch 'master' into imlib2
...
Conflicts:
extras/nano/conky.nanorc
extras/vim/syntax/conkyrc.vim
2009-05-17 22:11:40 -06:00
Brenden Matthews
6abbbd50f0
Merge branch 'lua'
...
Conflicts:
src/specials.c
2009-05-17 22:00:44 -06:00
Brenden Matthews
e7bf480d48
Fix null pointer boog in $top stuff.
2009-05-17 21:59:05 -06:00
Brenden Matthews
694b736f64
Merge branch 'master' into lua
2009-05-17 20:58:13 -06:00
Nikolas Garofil
914af765e4
execbar can now be used in the shell even when compiled with x11 support
2009-05-17 13:38:51 +02:00
Brenden Matthews
353f0b6ad7
More work on imlib2 stuff.
...
Seems to be some rendering corruption which I'm not sure the reason for,
but other than that I think it works okay.
2009-05-16 23:47:02 -06:00
Brenden Matthews
1dc7731f6d
Merge branch 'master' into imlib2
2009-05-16 22:24:45 -06:00
Brenden Matthews
41e46ffe41
Oops, remove debug printf().
2009-05-16 22:24:22 -06:00
Brenden Matthews
d26b946b7b
Merge branch 'master' into imlib2
2009-05-16 18:37:11 -06:00
Brenden Matthews
72d15db78a
Merge branch 'master' into lua
2009-05-16 18:37:04 -06:00
Brenden Matthews
344fa8498d
Merge branch 'master' of git.omp.am:/home/omp/git/conky
2009-05-16 18:28:19 -06:00
Brenden Matthews
d642a3f659
Fixed comment stuff for real this time?
2009-05-16 18:28:04 -06:00
Nikolas Garofil
94d75cc494
add missing var
2009-05-17 01:33:43 +02:00
Brenden Matthews
f2a69f37ad
Merge branch 'master' into lua
2009-05-16 17:08:50 -06:00
Brenden Matthews
debf4ec597
Remove unused var.
2009-05-16 17:08:37 -06:00
Brenden Matthews
dd606eb5ae
Merge branch 'master' of git.omp.am:/home/omp/git/conky into lua
...
Conflicts:
src/specials.c
2009-05-16 17:05:30 -06:00
Brenden Matthews
b661dbf5a7
More lua stuff.
2009-05-16 17:04:26 -06:00
Nikolas Garofil
dae78fb875
Execbar can now also be used on the shell
2009-05-17 00:37:22 +02:00
Brenden Matthews
69718f5b75
Oh my, parse lua output.
2009-05-16 15:06:29 -06:00
Brenden Matthews
72d2aad026
Merge branch 'master' into lua
2009-05-16 14:55:24 -06:00
Brenden Matthews
0e21a804ee
Couple minor lua changes.
2009-05-16 14:55:05 -06:00
Toni Spets
453908953f
Moved the Lua function calling to it's own function
2009-05-16 20:57:43 +03:00
Toni Spets
da5704fd74
Specifically ask for an integer from Lua for percentage
2009-05-16 20:37:53 +03:00
Nikolas Garofil
3762c5cb10
Use a builtin config without X11-support when compiled without it
...
also, make sure X isn't initialised when compiled without x11-support
2009-05-16 15:57:01 +02:00
Nikolas Garofil
2c35099b82
Bugfix: Segfault when starting with no configfile.
2009-05-16 13:14:45 +02:00
Toni Spets
66ba6e36c9
* Fix leaks
...
* Fix HUP behaviour - scripts are now reloaded on HUP
* Remove unneccessary calls to llua_close()
2009-05-15 23:35:18 +03:00
Toni Spets
b5934e5f69
Remove new lines from ERR messages
2009-05-15 23:01:08 +03:00
Toni Spets
90c9ac2723
Fix old copyright year
...
Change all fprintf's to ERR()
2009-05-15 21:48:11 +03:00
Toni Spets
a64e9f8950
Lua scripting support, initial commit
2009-05-15 21:08:51 +03:00
Brenden Matthews
b4ca1d146f
Merge branch 'master' of git.omp.am:/home/omp/git/conky
2009-05-13 12:29:09 -06:00
Brenden Matthews
9e79881b5f
Fix remove_comments()?
2009-05-13 12:28:53 -06:00
Nikolas Garofil
4db2119a2b
Bugfix: segfault with wrong config
...
Altough the following configuration is wrong, it should only produce a error
about a missing $endif but instead it also produced a segmentation fault:
TEXT
$if_gw$gw_ip$else
2009-05-13 20:25:14 +02:00
Brenden Matthews
1b94e22b5c
Merge branch 'master' into imlib2
2009-05-12 18:07:20 -06:00
Brenden Matthews
4910d33524
Fix comment removal stuff so that it doesn't break $color.
2009-05-12 18:05:51 -06:00
Brenden Matthews
18b174e967
Merge branch 'master' into imlib2
...
Conflicts:
src/Makefile.am
2009-05-12 17:52:49 -06:00
Nikolas Garofil
e0b2f75433
Don't check if_gw twice
2009-05-12 20:25:40 +02:00
Phil Sutter
580043075e
relying on the return value of scanf when using %n is bad
2009-05-12 00:49:40 +02:00
Phil Sutter
5d69d0378f
fix human readable precision calculation
...
This bug was quite hard to trigger (happens only with values 9.995-9.999
and 99.95-99.99), but I made it. ;)
2009-05-12 00:49:40 +02:00
Phil Sutter
322d77942a
hwmon: add args for value precalculation
2009-05-12 00:49:40 +02:00
Phil Sutter
ae7996bdd1
fix hwmon for 2.6.29, simplify code a bit
2009-05-12 00:49:40 +02:00
Nikolas Garofil
a01f968677
Bugfix: if_gw only outputs if another gw var is in the if block (sf id 2784627)
2009-05-11 19:47:24 +02:00
Nikolas Garofil
ae1b6c50e6
Remove even more x11-stuff with --disable-x11
2009-05-11 18:37:12 +02:00
Jaromir Smrcek
22601ff864
APC UPS fixes.
2009-05-10 13:37:04 -06:00
Nikolas Garofil
829201517e
no x11-stuff for apcupsd when disabled
2009-05-10 21:18:20 +02:00
Brenden Matthews
8cb0027f45
Various fixes.
...
Added missing apcupsd.[hc], added apcupsd_loadgauge, fixed compilation
errors, updated docs & syntax stuff.
2009-05-10 13:11:09 -06:00
Jaromir Smrcek
cf2c61b588
Added support for APC UPS daemon monitoring.
2009-05-10 12:58:06 -06:00
Brenden Matthews
d224810235
Merge branch 'master' of git.omp.am:/home/omp/git/conky
2009-05-10 11:52:32 -06:00
Lassi Selander
1399b4483f
Fix for previous xmms2 patch.
2009-05-10 11:44:57 -06:00
Nikolas Garofil
c53813a49f
no gauges, bars, ... when compiled without X11
2009-05-10 14:14:21 +02:00
Nikolas Garofil
09ad5ce3f1
optimize previous commit (thanks Plague)
2009-05-10 13:44:13 +02:00
Nikolas Garofil
f7568b0753
strcpy shouldn't be used for overlapping strings
2009-05-10 13:14:54 +02:00
Nikolas Garofil
2afe66ed01
Bugfix: removing comments worked only partially
...
All lines behind a comment line were also removed, comments should also be able
to start in the middle of line, \# shouldn't be replaced if it's in a comment
2009-05-10 12:48:22 +02:00
Brenden Matthews
197c4d5bc3
Update docs, remove deprecated code.
2009-05-09 23:30:42 -06:00
Brenden Matthews
80aaadb48f
Merge branch 'master' into imlib2
2009-05-09 21:14:39 -06:00
Brenden Matthews
24f97c45c6
Allow the use of '#' for comments within text area (can be escaped with '\#'.
...
Also refactored some code relating to the config file loading (since
there was some duplication of code).
2009-05-09 20:10:55 -06:00
Brenden Matthews
9dc5411681
Fix backwards mail stuff.
2009-05-09 19:20:05 -06:00
Brenden Matthews
db06b5f953
Fix build errors.
2009-05-09 11:20:04 -06:00
Nikolas Garofil
10495ed282
Bugfix: vars related to graphics produced wrong output when not running in X
2009-05-09 14:06:58 +02:00
Brenden Matthews
a45c8c9da4
Add missing source files (genius here).
2009-05-08 14:42:34 -06:00
Brenden Matthews
f7c793a514
Merge branch 'master' into imlib2
2009-05-08 14:38:55 -06:00
Nikolas Garofil
9153318329
Only include disp when needed
2009-05-08 16:04:16 +02:00
Nikolas Garofil
bd99fe5d81
Bugfix: run update_uname also without X11
2009-05-08 14:57:19 +02:00
Brenden Matthews
fdadbbf98e
Added top_name_width config option.
2009-05-07 17:49:32 -06:00
Brenden Matthews
a1fc53be97
Merge branch 'master' into imlib2
2009-05-07 12:49:13 -06:00
Nikolas Garofil
c1e47013ef
Bugfix: sometimes segfaults with cpubar
2009-05-07 18:44:45 +02:00
Brenden Matthews
31ed5ba178
Some work on imlib2 stuff.
2009-05-05 21:45:05 -06:00
Brenden Matthews
76dedfd563
Merge branch 'master' into imlib2
2009-05-05 17:44:12 -06:00
Brenden Matthews
af55c4afb1
Use a reduction here.
2009-05-05 17:43:45 -06:00
Brenden Matthews
8fbb3a9cfe
Merge branch 'master' into imlib2
2009-05-05 17:36:38 -06:00
Brenden Matthews
fde096c435
Added some completely pointless OpenMP optimizations(?)
2009-05-05 17:36:12 -06:00
Brenden Matthews
d6e5a6491f
Merge branch 'master' into imlib2
2009-05-04 13:22:51 -06:00
Brenden Matthews
eb2b7a4f30
Removed bits about BSD license.
2009-05-04 13:20:42 -06:00
Brenden Matthews
1b24763df1
Add copyright/license stuff to sony.[ch].
2009-05-04 13:19:44 -06:00
Brenden Matthews
0d31ff0f4f
Missing files, fix last commit.
...
Added sony.[ch] stuff, as well as the important change from commit
3dd1738fb9
2009-05-04 13:15:46 -06:00
Brenden Matthews
f6fe653401
Revert "Combine can now use other chars to seperate vars (used to be only space)"
...
This reverts commit 3dd1738fb9
.
2009-05-04 13:13:51 -06:00
Nikolas Garofil
3dd1738fb9
Combine can now use other chars to seperate vars (used to be only space)
...
Also undid the last change because sony.h was not included, feel free to submit
it again if you include this file and other sourcefiles needed (there is also
no definition of get_sony_fanspeed). If sony systems already have this file and
a definition of this function, please update the configure file so that support
for this is disabled by default and can be enabled by sony owners.
2009-05-04 12:58:52 +02:00
Yeon-Hyeong Yang
f8a6a4035c
Added Sony VAIO fanspeed info (thanks Yeon-Hyeong).
...
Also removed the README and man page from the repo, as they don't really
need to be there and just cause conflicts.
2009-05-03 21:23:59 -06:00
Brenden Matthews
a98a927116
Merge branch 'master' into imlib2
...
Conflicts:
configure.ac.in
src/conky.c
2009-05-01 23:29:21 -06:00
Brenden Matthews
27fff0d9cb
Fixed $texeci regression.
2009-05-01 23:05:06 -06:00
Yeon-Hyeong Yang
68ea7a7859
Added diskio_avg_samples patch (thanks Yeon-Hyeong)
2009-05-01 17:03:59 -06:00
Brenden Matthews
e8e6d1c819
Few misc doc related things.
...
Added the (incomplete) check_docs.py, to 'synchronize' the docs with the
code, as well as vim/nano syntax stuff.
Removed some unused OBJ_* stuff from text_objects.h, and updated docs
with some missing things. Also removed a couple deprecated objects
which were still documented.
2009-05-01 16:53:50 -06:00
Nikolas Garofil
e05e9ece8e
Added the combine variable
2009-04-30 21:05:59 +02:00
Jérôme Plût
ff9154216b
Make ALSA mixers available on Linux, and added $if_mixer_mute.
2009-04-28 10:56:49 -06:00
Brenden Matthews
2dfc0ee6b4
Fix minor environment variable bug.
2009-04-28 10:54:43 -06:00
Brenden Matthews
d1b6548c55
Minor for for mail args parsing.
2009-04-28 10:19:28 -06:00
Lassi Selander
49aee8707a
Various XMMS2 updates (thanks Lassi).
2009-04-28 10:02:24 -06:00
Phil Sutter
fb8ccd7a05
fix for enviroment variable expansion
2009-04-26 22:49:46 +02:00
Nikolas Garofil
6bc19d0396
Workaround for the problem that $goto only moves the first rss-item by making
...
it possible to specify the number of spaces you want in front of each rss-item
2009-04-19 00:42:01 +02:00
Nikolas Garofil
86b91db305
Bugfix: compilation without X11 broke after latest patches
2009-04-13 14:42:31 +02:00
Brenden Matthews
506f6ecc3b
Special default & gauge fixes.
2009-04-09 20:10:08 -06:00
Brenden Matthews
38ee788da4
Added default_bar/graph/gauge_size config options (thanks wire64 for the idea)
2009-04-09 16:00:40 -06:00
Or Cohen
b6e691e8ac
Minor fix for fs_used_perc, fs_free and fs_free_perc
2009-04-09 15:34:12 -06:00
Brenden Matthews
ea34b2c5e5
Fix xmms2 related compilation error?
2009-04-09 15:33:50 -06:00
Phil Sutter
7001e95186
be consistent when parsing args of cpu objects
...
The inconsistent naming of the cpu parameter in the docs led me to this,
so I also simplified parsing by introducing the macro SCAN_CPU(). Note
that this introduces a syntactical change to the config: the cpuN
argument now has to be passed at first position to $cpugraph.
2009-04-04 01:25:33 +02:00
Nikos Ntarmos
f91faa64b8
Add X11 display argument/conf entry (FR #2474243 )
...
Signed-off-by: Nikos Ntarmos <ntarmos@cs.uoi.gr>
Signed-off-by: Brenden Matthews <brenden@rty.ca>
2009-04-01 16:46:16 -06:00
Brenden Matthews
a301b24a8e
Fix compile error.
2009-03-29 23:35:42 -06:00
Brenden Matthews
f05829ad9a
Update copyright stuff, fix conky.conf weirdness.
2009-03-29 22:55:51 -06:00
Brenden Matthews
0d4f9499eb
Fixed bug in template stuff.
2009-03-29 20:27:38 -06:00
Nikos Ntarmos
99a496b3ea
Adding if_up support for FreeBSD.
...
Moved interface_up(...) from linux.{c.h} to common.{c,h} and taught it
to check for ENXIO as well to make it work on FreeBSD.
Signed-off-by: Nikos Ntarmos <ntarmos@cs.uoi.gr>
2009-03-29 01:25:57 +01:00
Nikos Ntarmos
50bac84006
Bringing FreeBSD up to date with latest commits
...
Several things were broken after the switch to 1.7-rc branches. This
diff fixes all compilations issues and updates some functions that were
left empty previously.
Signed-off-by: Nikos Ntarmos <ntarmos@cs.uoi.gr>
2009-03-29 01:25:51 +01:00
Nikos Ntarmos
15bd2ca5ec
sysfs is a Linux-only feature.
...
Moving sysfs-related functions and defs out of common.h and into
linux.h, as sysfs exists only on Linux, and updating openbsd.c,
netbsd.c, and freebsd.c accordingly.
Signed-off-by: Nikos Ntarmos <ntarmos@cs.uoi.gr>
2009-03-29 01:25:48 +01:00
Nikos Ntarmos
b3a91362de
Extra includes to fix compiling on FreeBSD
...
Signed-off-by: Nikos Ntarmos <ntarmos@cs.uoi.gr>
2009-03-29 01:25:43 +01:00
Nikos Ntarmos
b1da4bfdaa
Fix a typo and teach linux code to use data
...
Typo: __LINUX__ was used in a conditional code block, while the rest of
the code uses __linux__
data: free_text_objects(...) #define's 'data' to be 'obj->data' to make
the code more compact. The linux-specific parts of the code still
used obj->data, which should expand to obj->obj->data, which is
wrong.
Signed-off-by: Nikos Ntarmos <ntarmos@cs.uoi.gr>
2009-03-29 01:25:33 +01:00
Phil Sutter
2c3d57d841
add eval object, evaluating it's args
...
This object makes use of the possibility to escape dollar signs in TEXT.
Take the following example in the conkyrc:
| $${downspeed ${gw_iface}}
will be evaluated to (assuming the gw_iface is eth0):
| ${downspeed eth0}
and finally interpreted to print the gateway interface's downspeed rate.
2009-03-24 01:25:13 +01:00
Phil Sutter
12a40fd0a9
fix dollar escape in TEXT
...
The idea found in the code is any double dollar ($$) is being treated as
explicit dollar sign ($) instead of the start of a text object
reference. Due to missing update of the 's' variable, when creating a
text object for the text following the second dollar sign, the later was
prepended, leading to a double dollar in the output.
2009-03-24 00:40:22 +01:00
Phil Sutter
363bed34ac
fix temporary printing of "(null)" for mpd vars
...
To minimise the chance of printing variables in an undefined state, call
free() as late as possible (i.e., right before strdup()'ing the new
value).
2009-03-23 23:46:10 +01:00
Brenden Matthews
4c77eed1c3
Couple minor fixes.
...
Make X11_initialise() work as it should, clarified IBM/Lenovo aka smapi
support in configure script.
2009-03-19 13:42:21 -06:00
Brenden Matthews
5378d13cfb
some imlib2 work
2009-03-18 22:02:25 -06:00
Brenden Matthews
d399a128c9
Make print_config() stuff match configure.
2009-03-18 00:29:01 -06:00
Nikolas Garofil
37c460ed05
Fix: make sure compiling without X11 works
2009-03-17 18:36:46 +01:00
Brenden Matthews
293f6ad7e2
Fix possible mem leak with net stats.
2009-03-16 15:56:37 -06:00
Nikolas Garofil
2d524ce450
Merge branch 'master' of git.omp.am:/home/omp/git/conky
2009-03-16 21:21:11 +01:00
Nikolas Garofil
a074cb972a
No limits for environment variables
...
Use dynamic allocated memory for skey and svalue,
allocate the length of value so that there are no limits,
but don't use the %a gnu extension to maintain compatibility
2009-03-16 21:14:22 +01:00
Brenden Matthews
613df97a6c
Fix wacky net speed values on startup.
2009-03-16 14:14:18 -06:00
Brenden Matthews
c5e8f97619
Make gauge stuff look a little less funny.
2009-03-16 13:40:22 -06:00
Brenden Matthews
41b62122f5
Unbreak alias stuff.
...
It was broken by commit 98c64d8b3e
, I did
a lowsy job of checking the patch over.
2009-03-16 13:22:22 -06:00
aner
98c64d8b3e
I added Gagues to monitor variables
...
Signed-off-by: Brenden Matthews <brenden@rty.ca>
2009-03-15 19:36:11 -06:00
Nikos Ntarmos
e275b05242
Disk i/o support on FreeBSD patch.
...
Patch sf.net id #2657227 (thanks Nikos).
2009-03-15 19:11:49 -06:00
Brenden Matthews
513752626e
Fix compilation errors.
...
I hope I didn't break the alias stuff.
2009-03-15 18:35:45 -06:00
Nikolas Garofil
8bcc287958
fix problems with negative numbers (sf.net id #2644593 ) (thanks Zhoushen Huang)
2009-03-15 17:09:35 +01:00
Nikolas Garofil
9c0f04bc10
bugfix: segfault when nothing x11-related is mentioned before TEXT
2009-03-15 01:17:32 +01:00
Nikolas Garofil
d1baa243a8
Added alias configfile setting
...
This patch is written by a anonymous author, see patch on sf.net
id #2663691 . I changed it a bit so that it can't overwrite
existing environment variables and updated the docs and syntaxfiles
2009-03-07 15:12:09 +01:00
Phil Sutter
72e217fae2
fix padding of $processes
...
Padding to 4 digits allows for max 9999 processes, which should really
be more than enough for systems running conky. ;)
2009-03-01 21:12:16 +01:00
Phil Sutter
e6a9c02d11
fix padding in temp_print
2009-03-01 21:03:49 +01:00
Phil Sutter
ed42437dfc
introduce percent_print() for printing percentages
2009-03-01 20:53:47 +01:00
Phil Sutter
44c5a10e04
rewrite human_readable() to minimise padding
...
Also fix spaced_print(): when given a width of e.g. 3, output at least 3
characters, not 2 as it was before.
2009-03-01 20:24:22 +01:00
Nikolas Garofil
09ac943a3a
if_updatenr added
2009-03-01 15:10:01 +01:00
Phil Sutter
a9a59e5d28
move the custom defined memrchr to the right place
...
And make it static, as tailhead.c is the only user of it.
2009-02-25 00:23:56 +01:00
Phil Sutter
745eec145f
fix 966a05a984
2009-02-23 23:28:12 +01:00
Phil Sutter
64af164666
add help text for --print-config option
...
While here, fix also -C for builds with --disable-x11.
2009-02-22 19:05:53 +01:00
Phil Sutter
e3ed9c62fb
whitespace cleanup
2009-02-22 19:05:52 +01:00
Phil Sutter
2c44e6dccf
remove x11 dependency of fonts
...
Instead, we just ignore them. Less errors in output, little less
ifdef's.
2009-02-22 19:04:42 +01:00
Phil Sutter
e28f79a133
split off specials from conky.c
...
As a side effect, font and colour specific stuff got outsourced, too.
This is because the apropriate functions are used by conky.c as well as
specials.c, so they should be kept on their own.
In the long term I hope for positive impact on the X11 integration mess.
(Take e.g. the mass of X11 ifdefs cluttering conky.c.) Though this
commit contains no optimisations in this direction, just plain
outsourcing, to ensure minimised (intended: none) changes to conky's
interface behaviour.
2009-02-22 19:04:33 +01:00
Phil Sutter
3cd87aadf8
fix for building with --disable-x11
2009-02-22 03:08:28 +01:00
Phil Sutter
90a3e8de80
merge tail and head into a single source file
...
This allows having the same init-function for both objects. Code size
could be further reduced, as the print-functions share some code, too.
2009-02-22 03:00:35 +01:00
Phil Sutter
20809f3198
put tail and head code into separate files
...
In fact these two objects share a lot of code, so the bigger plan is to
merge them into a single file to share equal code.
This should not change anything to the code flow, besides making conky
startup a bit more robust due to less use of CRIT_ERR.
2009-02-22 03:00:26 +01:00
Phil Sutter
77c59b260d
merge ibm-acpi and smapi together
...
Well, not really. I don't dare putting it all together into a single
source file, as that would just not make sense. Instead, this patch
eliminates the --enable-smapi configure option and all related checks,
replacing them with the equivalents from --enable-ibm.
2009-02-22 02:58:42 +01:00
Phil Sutter
d500f1005a
outsource ibm-acpi stuff into it's own source file
...
Despite this is actually not much code and could stay inside linux.c as
well, this makes sense as I want to combine smapi and ibm-acpi
functionality. Virtually every user of a notebook made by IBM/Lenovo
will want both, so this should be a feature not a bug.
Besides making the ibm-acpi objects being built optionally, this should
not change anything to the code flow.
2009-02-22 02:58:29 +01:00
Phil Sutter
4161f90c6f
rewrite linux diskio code
...
Instead of using a hardcoded maximum number of slots for
stats of different disks, use a linked list. Also since the algorithm to
update each device's counters is the same for updating the totals, share
equal code, which in my eyes not only saves a bunch of LoC, but also
drastically increases readability.
2009-02-22 02:57:11 +01:00
Phil Sutter
a619cb3e3c
fix potential segfault
...
The segfault can be triggered by using any diskio object with a
non-existent device, as prepare_diskio_stat() then returns 0 and the
call to obj->data.diskio->current in conky.c:4050 pulls the trigger.
In fact, it's not a problem when the device doesn't exist, as
update_diskio() simply won't fill in any values. So skip the check and
upon device node appearance everything goes it's normal way.
While there, also eliminate double readout of the last line of
/proc/diskstats: after the last line has been read, FEOF is not yet set.
BUT fgets() will return NULL when trying to read the next line. So
better check for fgets()'s return value instead of using feof().
Also strncmp() is useless here, since we really want to compare the full
paths. Besides, text_buffer_size also should be big enough to not make a
difference here.
2009-02-22 02:55:22 +01:00
Phil Sutter
65c27816c4
fix coding style of the last few patches
...
Also, note that free() does not zero the passed pointer. So conditional
freeing always needs to look like this:
| if (var) {
| free(var);
| var = 0;
| }
2009-02-22 02:54:44 +01:00
Brenden Matthews
f92978c5e5
No space between number and units please.
2009-02-17 22:50:43 -07:00
Sattvik
482dd1b82f
Null mpd variables should have an empty string patch sf.net id #2564747 .
2009-02-17 22:42:08 -07:00
Tamim Khan
d1180b4729
XMMS2 fix and refactoring patch sf.net id #2579357 (thanks Tamim).
2009-02-17 22:29:42 -07:00
Nicolas Sierro
cf77d3f1f9
Extended support for local Maildir patch sf.net id #2561323 (thanks Nicolas).
2009-02-17 22:26:15 -07:00
Martin Tůma
f7aeae2c01
Fix shown battery status patch.
...
Fix shown battery status when the battery is not charging any more but is not full charged patch sf.net id #2556056 (thanks Martin).
2009-02-17 22:19:25 -07:00
Alexander Monakov
24ddc9665e
Fix nvidia memory frequency reading patch sf.net id #2493134 .
2009-02-17 22:10:15 -07:00
Alexander Monakov
966a05a984
Fix diskio_read/write patch sf.net id #2493084 (thanks Alexander).
2009-02-17 22:04:38 -07:00
Kim Holviala
27bb931e41
Patch by Kim Holviala sf.net id #2484548 .
...
* change the height of execbar and execibar to be the same as other
bars have by default (6 pixels)
* treat mixer values as percentages as they're usually 0-100 (switch
to spaced_print() with pad_percents)
* change temp_print() from snprintf() to spaced_print()
* remove decimals from temp_print() as none of the current sources can
supply values smaller than 1 degree (C or F, doesn't matter)
* add a space between number and the unit in human_readable()
* fix number printing in human_readable()
* network $upspeed and $downspeed now use human_readable()
2009-02-17 22:00:23 -07:00
Swoög
b516e19440
Patch to add $battery_short variable.
2009-02-17 21:49:45 -07:00
Brenden Matthews
b4cd98868f
Misc compilation fixes.
2009-02-17 21:45:06 -07:00
Nikolas Garofil
1085d2b27e
out_to_x can now be turned off
2009-02-15 18:58:03 +01:00
Nikolas Garofil
65bae86ca7
append_file output method
2009-02-12 22:45:18 +01:00
Nikolas Garofil
3a11f1469f
overwrite_file output method
2009-02-12 22:35:00 +01:00
Nikolas Garofil
4c25a9680e
Added output_to_stderr
2009-02-10 09:43:20 +01:00
Brenden Matthews
c3003dc1a3
Fix my last 'fix'.
2009-02-09 12:36:10 -07:00
Brenden Matthews
850f7dfbc1
Fix warning on older versions of gcc.
2009-02-08 10:29:49 -07:00
Brenden Matthews
5b9d47c039
Couple fixes for the top_time stuff.
2009-02-08 10:13:54 -07:00
Alexander Graf
9da5648d2a
better combine top, top_mem and top_time handlers
2009-02-08 17:19:10 +01:00
Alexander Graf
e6c9ff751c
Also free process list when ${top_time} is used
2009-02-08 16:16:12 +01:00
Alexander Graf
1ac4104e0b
top.c: Allow heavier optimization
...
This makes it possible for the compiler to do better optimizations by
adding "static" to functions which do not need to be exported.
Since some of them (e.g. the compare_*() functions) are called very
often, this may decrease conky's need of resources a bit.
2009-02-08 16:13:45 +01:00
Alexander Graf
04623066d7
Don't do unneeded sp_acopy() calls
2009-02-08 16:05:42 +01:00
Alexander Graf
9c679bf33f
Add ${top_time} sorting processes by CPU time
2009-02-07 15:01:50 +01:00
mipas
cd49afbd19
Build fix patch
...
This patch fixes build errors on some platforms due to missing includes.
2008-12-22 20:59:42 -07:00
Phil Sutter
c54b96fb24
simplify declaration of ifblock objects
...
Like OBJ_THREAD, OBJ_IF automatically calls obj_be_ifblock_if() when the
object matches.
2008-12-22 19:43:12 +01:00
Phil Sutter
dd31cc77eb
use a global struct moc_s
...
Since there is no choice of which moc player to get information from,
all moc objects' data source can be identical. Also hide some internal
data (the thread e.g.). Since from now on there can only be one moc
thread (not highlander ;), we don't need to treat the thread object
specially.
While here, fix indenting.
2008-12-22 19:36:24 +01:00
Phil Sutter
2f3fb23ff7
separate parsing and interpreting text objects for certain objects
...
All objects parsing text into objects formerly parsed and evaluated
their arguments each update interval. This does only make sense when the
parsed text could change between updates, which is the case for execp
and execpi objects, but none of the others. So have them parse the text
when creating them, so each update interval only the output has to be
re-extracted.
In fact, this should give a performance boost when using any of the
affected objects, as parsing the input text is quite expensive since
we're evaluating templates.
2008-12-22 18:36:44 +01:00
Phil Sutter
2de1840b39
move and add function prototypes to src/conky.c
2008-12-22 17:55:21 +01:00
Phil Sutter
da7bc63996
do not use a global ifblock stack
...
Using a global ifblock stack for all parsed ifblock objects causes
problems when doing sub-parsing in objects taking other objects as
parameters, because the possibly non-empty stack at startup leads to
false alarm when checking for stack emptiness after parsing the objects.
Use a void ** as the object to pass around, so callers don't need to
know struct ifblock_stack_obj.
2008-12-22 17:49:38 +01:00
Phil Sutter
05624868e3
treat mpd opjects as non-threaded
...
In fact, they are. But we don't want to treat them as those, because
the rewrite made the only situation when threaded objects matter
uncritical, i.e. when an object calls calling parse_conky_vars().
2008-12-20 16:17:22 +01:00
Phil Sutter
b31af01d91
add if_match object comparing strings, floats and ints
...
In general, argument types should match, but for combined long and
double usage the long is being converted to double before evaluation.
A few examples:
${if_match ${cpu} < 30}
${if_match "asdf" != "qwer"}
${if_match 0.5 < 0.50001}
${if_match 49.999 < 50}
2008-12-20 16:14:57 +01:00
Phil Sutter
1a35a68bca
fix segfault for diskiograph
...
The crux is to split args between those for scan_graph() on one hand and
prepare_diskio_stat() on the other hand. To make the code working with
minimal changes, move the yet optional devicename to the end.
General note on graphs:
- for all graphs there exist the optional arguments for scan_graph()
which come first and are optional (intended duplicate)
- all other args are object specific, and may be optional as well
2008-12-18 15:18:53 +01:00
Phil Sutter
757983ab56
internal rewrite of mpd support
...
Handle mpd internal information inside mpd.c. Use a refcounter to check
if the mpd-information can be freed (maybe useless). Remove the now
useless "full" flag of free_text_objects.
2008-12-18 13:40:21 +01:00
Brenden Matthews
35a2d09c5f
Merge branch 'master' of git://nwl.cc/~n0-1/conky
2008-12-17 17:03:33 -07:00
Phil Sutter
f85c1ea5a6
Make gateway objects also detect routes with missing RTF_GATEWAY flag
...
This was a bug, not a feature. From the FreeBSD manpage rtentry(9):
| Vt struct sockaddr *rt_gateway;
|
| The "target" of the route, which can either represent a destination in
| its own right (some protocols will put a link-layer address here), or
| some intermediate stop on the way to that destination (if the
| RTF_GATEWAY flag is set).
So for a default route with "dest" and "mask" both zero, either
RTF_GATEWAY is present, or "gate" is zero.
2008-12-17 02:37:07 +01:00
Brenden Matthews
479a06508f
Possible fix for minor IMAP idle bug.
2008-12-15 21:55:48 -07:00
Itai Zukerman
bb817b2cf7
Patch to allow escaping newlines in the config.
2008-12-15 21:17:56 -07:00
Brenden Matthews
621bad14f8
Merge branch 'master' of git://nwl.cc/~n0-1/conky
2008-12-15 21:01:58 -07:00
Phil Sutter
d321573c2d
simplify human_readable
...
The only change of behaviour occurs when adjusting the unit of positive
values. For some reason 1000LL was used, which has now been replaced by
1024LL. Usage of abs() and MAX() might be OS dependent, but it should
not be too hard to implement them by hand if they're missing somewhere.
2008-12-16 03:21:30 +01:00
Phil Sutter
d744f9bfbb
make use_spacer an enum
...
It was a static int before, holding the (already defined) enum's value,
which doesn't make sense. Also it's used only inside conky.c. Since
enums can't be assigned other values than what are defined, we can skip
checking for illegal spacer value at each invocation of spaced_print,
and then also drop the function name argument, which apparently didn't
make sense at all, because use_spacer is a global option.
2008-12-16 02:56:26 +01:00
Phil Sutter
0720a4fbc9
simplify diskio stats
...
Instead of splitting information, use diskio_stats[0] in diskio.c for
the totals. This saves a few branches, and frees some data from struct
information.
2008-12-16 02:32:30 +01:00
Brenden Matthews
2b128b7a7c
Merge branch 'master' of git://nwl.cc/~n0-1/conky
2008-12-15 18:00:05 -07:00
Phil Sutter
9a85812e06
here comes the big header include rewrite
...
Some statics are now defined by configure.ac.in, conky.h got a lot
smaller, which I see as a positive sign.
This patch should not change any functionality, just change what's
defined where. Some features I did/could not test are probably broken,
also compiling for any other OS surely won't complete now. Though I
think fixing these problems is as easy as including some missing
headers.
I've done compile checks with the following configure options:
./configure --enable-eve --enable-rss --enable-smapi
--enable-wlan --enable-debug --enable-testing
So what needs to be tested is:
- audacious
- BMPx
- xmms2
- nvidia
2008-12-15 23:12:33 +01:00
Phil Sutter
ec174bedf2
outsource ifblock and text_object helpers
2008-12-15 23:03:39 +01:00
Phil Sutter
ca66a26813
put text_object stuff into an own header
...
For now this is only the object type enum and struct text_object, but it
will do to prepare further outsourcing from both conky.c and conky.h.
2008-12-15 23:03:39 +01:00
Phil Sutter
fb4b8fd005
organise text objects in a linked list
...
In fact, this eases code a lot. Even the ifblock handling, which was the
biggest problem of the rewrite, could be cleaned up a lot.
2008-12-15 23:03:39 +01:00
Phil Sutter
62a6c0cbac
have a maximum width for all variable length mpd vars
...
Thanks to FreakGuard (IRC) preparing this one.
2008-12-15 19:40:54 +01:00
Phil Sutter
0f7ac0f5af
simplify free_text_objects a bit
2008-12-15 19:40:45 +01:00
Phil Sutter
a98d6e06ac
simplify if_existing evaluation
2008-12-15 19:40:37 +01:00
Brenden Matthews
60fc99ef71
Merge branch 'master' of git://nwl.cc/~n0-1/conky
...
Conflicts:
configure.ac.in
2008-12-14 22:42:20 -07:00
Phil Sutter
334447308f
enable DEV_NAME to handle symlinks
...
Using a macro is not possible anymore, so have a function dev_name() do
the job. Functionality is the same as the old DEV_NAME, unless the
specified path is a symlink in which case it's being dereferenced first.
To save callers from having to free the returned string, a static local
buffer is used (effectively rendering the function non-reentrant).
2008-12-14 17:53:31 +01:00
Phil Sutter
1ddb6a88b9
use the builtin config also as a default one
...
This depends on fopencookie, which is linux-specific. For BSD, there is
a similar function called funopen, which can be used as a drop-in
replacement.
2008-12-14 15:45:30 +01:00
Brenden Matthews
650be03fd4
Improve behaviour of $pb_battery.
2008-12-13 20:55:45 -07:00
Brenden Matthews
0a5942a94b
Move imap/pop3 stuff into mail.c
2008-12-14 04:22:36 +01:00
Brenden Matthews
77506c0e80
Move imap/pop3 stuff into mail.c
2008-12-13 19:53:05 -07:00
Phil Sutter
5445c8890a
fix disk_protect for linux-2.6.27
...
The path for the sysfs attribute has changed. Also negative values show
disabled disk protect, so catch this when interpreting the file's
content.
2008-12-14 02:51:50 +01:00
Phil Sutter
7a6ce89226
implement sample config printing support
...
This patch makes Conky print a sample config when being called with the
'-C' flag.
A short test showed an increase of ~10kbytes of the conky binary's size.
2008-12-12 15:38:01 +01:00
Phil Sutter
19a6e7c925
rewrite tcp-portmon hooks
...
Global variables belonging to tcp-portmon are now separated from
conky.c, cleaning up struct information and struct text_object a bit.
2008-12-11 15:28:21 +01:00
Phil Sutter
4b89c3b17d
make semantics of custom strndup() comply with glibc
...
From strdup(3):
| If s is longer than n, only n characters are copied, and a
| terminating null byte ('\0') is added.
So allocate at most n+1 bytes and make sure the last one is zero, as
strncpy() doesn't add it itself.
So in fact to allow a maximum space for string dup of 23, strndup() has
to be called like this:
| dup = strndup(src, 23 - 1);
FIXME: Find the critical points in code this change touches and make
sure the invocation there is correct.
2008-12-11 15:28:21 +01:00
Phil Sutter
f96e77c91b
rewrite template engine completely
...
Two things that pissed me off about the old one:
* only limited support for nesting templates
* totally broken output when using conditionals inside a template
The later one was the hard one to fix. ;)
It requires to already have the full text substituted before the text
objects are being created from it. Generating only the contained objects
broke, because the conditionals got wrong offsets to jump to.
After that was fixed, full nesting support is realised by simply
repeating the replacement until no more template objects are found.
2008-12-11 15:28:21 +01:00
Brenden Matthews
5a69344055
Fix call to timed_thread_test().
2008-12-09 16:37:24 -07:00
Brenden Matthews
dc3ed8df13
Removing old svn keywords.
2008-12-09 16:35:49 -07:00
Brenden Matthews
5a5e7fd8e2
Fix broken cpu usage stuff (due to a previous commit).
2008-12-09 16:15:06 -07:00
Brenden Matthews
a40cfd9702
Add an option to timed_thread_test() to not wait for the interval period (so that IMAP IDLE works better)
2008-12-09 01:37:59 -07:00
Phil Sutter
bb079848b1
rewrite hddtemp
2008-12-08 16:01:15 +01:00
Phil Sutter
a92601f069
fix for renamed DEBUG2 macro (again)
2008-12-08 15:05:29 +01:00
Phil Sutter
92bdce5d1a
set conky in dock mode to be withdrawn
...
Withdrawn windows are those you get from applications supporting the
'-w' flag, like e.g. gkrellm or all those sweet WindowMaker dockapps
(wmcpu and Co.). In Fluxbox, these windows are drawn into the slit. Most
other window managers put them into their "taskbar", AFAIK.
This patch makes Conky act exactly the same if the following settings
are selected:
| own_window yes
| own_window_type dock
2008-12-08 01:45:12 +01:00
Phil Sutter
f5259295cf
make unit of all temperatures selectable
...
This introduces a new configuration variable called "temperature_unit",
specifying the unit of all temperature sensors. To achieve this, each
object outputting a temperature has to call temp_print() like so:
| temp_print(p, p_max_size, <temp val as double>, <unit of val>);
to specify the input temperature unit, either one of the constants
TEMP_CELSIUS or TEMP_FAHRENHEIT.
2008-12-08 01:45:12 +01:00
Phil Sutter
1a4e4b3b69
fix runtime debugging macros
...
Sadly, configure --enable-debug defines the macro DEBUG which conflicts
with the level1 debugging output macro. Rename them to DBG() and DBG2().
2008-12-08 01:42:19 +01:00
Brenden Matthews
e2c49531f3
Limit $battery_percent to 100 (bug 2145006)
2008-12-07 15:58:40 -07:00
Brenden Matthews
39ba74a590
Don't put unit with hddtemp values for consistency (bug 2133107)
2008-12-07 15:54:40 -07:00
Brenden Matthews
1fcbecf4af
Fix broken $execbar (bug 2133709)
2008-12-07 15:49:04 -07:00
Brenden Matthews
5626eade7f
Fix last 'fix'
2008-12-07 15:44:10 -07:00
Brenden Matthews
9345e2bb8f
Allow more than 9 CPUs for CPU stats (bug 2155500)
2008-12-07 15:34:46 -07:00
Brenden Matthews
6fab949926
Removing $freq_dyn and $freq_dyn_g
...
I have decided to remove $freq_dyn and $freq_dyn_g due to license issues
(see sf.net tracker bug #2166612 )
2008-12-07 15:15:57 -07:00
Brenden Matthews
112772e361
Add some more debug messages to imap/pop3 stuff, refactor some pop3
...
code, add filename:lineno to DEBUG() macro.
2008-12-07 01:08:27 -07:00
Erik Waling
51fe4fa419
Fetch volume through Audacious API (thanks Erik)
2008-12-07 00:38:06 -07:00
Cesare Tirabassi
b64203b547
Fix for buffer overflow with $execi (thanks Cesare)
2008-12-07 00:31:53 -07:00
Lassi Selander
20b2d2f464
Adds a variable if_xmms2_connected to hide objects when xmms2d is not
...
running (thanks Lassi)
2008-12-07 00:22:05 -07:00
Pavol Rusnak
e4e9cf4311
Fix for wrong usage of strncat (thanks Pavol)
2008-12-07 00:18:34 -07:00
Phil
d1b139f8e2
since DEV_NAME() is used when calling, this check is needless
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1274 7f574dfc-610e-0410-a909-a81674777703
2008-12-06 19:10:27 +00:00
Phil
c4b98f0762
Add debugging output at runtime
...
The new command line option '-D' ('--debug') increases debugging level by one.
For debugging output a user could be interested in, use the macros DEBUG() and
DEBUG2(). Functionality is equal to the ERR() macro. DEBUG2() prints stuff only
if debugging level is greater one, which means that '--debug' has been
specified more than once. This patch also includes usage of the macros for the
new template object (as debugging syntax errors in templates is one thing a
user potentially needs to do).
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1273 7f574dfc-610e-0410-a909-a81674777703
2008-11-30 20:53:20 +00:00
Phil
ecb3004c0f
improve template support
...
* handle escaped characters in parameters to the template object, too
* add samples to the documentation
* do some code cleanup by outsourcing the string substitution into it's
own function
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1271 7f574dfc-610e-0410-a909-a81674777703
2008-11-29 13:02:42 +00:00
Phil
ce5eb880e7
add support for template objects
...
Basically you can define a template like this:
| template0 \1:\n ${fs_free \2} / ${fs_used \2}
and use it later like this:
| ${template0 root /}
| ${template0 boot /boot}
which is exactly the same as the following:
| root:
| ${fs_free /} / ${fs_used /}
| boot:
| ${fs_free /boot} / ${fs_used /boot}
hope you like it, I do already. :)
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1270 7f574dfc-610e-0410-a909-a81674777703
2008-11-29 01:34:54 +00:00
Phil
820e0d24c4
fix my own fix
...
The second parameter is optional, so have conky act accordingly. This time I
tested using either two or three params and it worked flawlessly.
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1269 7f574dfc-610e-0410-a909-a81674777703
2008-11-04 23:25:28 +00:00
Phil
f44003e07c
fix a potential segfault
...
* happened when passing wrong arguments to ${scroll}, particularly with only
one instead of the mandatory two unsigned ints
* as it's not clear whether %n will change the value returned by sscanf or not,
use a solution that works in both situations (%n incrementing the return
value or not)
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1268 7f574dfc-610e-0410-a909-a81674777703
2008-11-04 21:42:48 +00:00
Brenden Matthews
4be537a020
* Added $if_mpd_playing patch (thanks tarpman)
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1267 7f574dfc-610e-0410-a909-a81674777703
2008-10-08 11:44:27 +00:00
Brenden Matthews
1ab4b8ec51
* Applied OpenBSD patches
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1266 7f574dfc-610e-0410-a909-a81674777703
2008-10-08 11:41:16 +00:00
Brenden Matthews
e5fd6f8027
add openbsd.h to EXTRA_DIST
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1264 7f574dfc-610e-0410-a909-a81674777703
2008-10-01 18:12:02 +00:00
Brenden Matthews
bb74efed2e
remove quality debugging code
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1263 7f574dfc-610e-0410-a909-a81674777703
2008-09-29 01:38:57 +00:00
Brenden Matthews
7ea81e1913
add $mixer docs
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1262 7f574dfc-610e-0410-a909-a81674777703
2008-09-29 01:37:33 +00:00
Brenden Matthews
c5fcc5c6f1
handle BYE from server when idling (IMAP stuff)
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1261 7f574dfc-610e-0410-a909-a81674777703
2008-09-26 21:29:02 +00:00
Brenden Matthews
1849db04e1
respect IMAP IDLE timeout period
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1260 7f574dfc-610e-0410-a909-a81674777703
2008-09-26 21:09:48 +00:00
Brenden Matthews
ae92753584
close socket before exiting thread
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1259 7f574dfc-610e-0410-a909-a81674777703
2008-09-25 18:29:04 +00:00
Brenden Matthews
3115cd8389
improving IMAP IDLE support, more
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1258 7f574dfc-610e-0410-a909-a81674777703
2008-09-25 04:01:47 +00:00
Brenden Matthews
e80ec4cc5f
improving IMAP IDLE support
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1257 7f574dfc-610e-0410-a909-a81674777703
2008-09-25 03:11:24 +00:00
Brenden Matthews
c15287e798
fix small bug in imap idle stuff
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1256 7f574dfc-610e-0410-a909-a81674777703
2008-09-24 21:04:29 +00:00
Brenden Matthews
39270e951f
add $Id$ to moc stuff
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1255 7f574dfc-610e-0410-a909-a81674777703
2008-09-24 20:56:09 +00:00
Brenden Matthews
dfc4d44203
oops; forgot to add moc.[ch]
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1253 7f574dfc-610e-0410-a909-a81674777703
2008-09-24 20:53:58 +00:00
Brenden Matthews
7de6c1d061
* Introduced (buggy) support for IMAP IDLE
...
* Added support for MOC (the console audio player) (thanks henux)
* Added scroll step patch (thanks asto)
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1252 7f574dfc-610e-0410-a909-a81674777703
2008-09-24 06:59:45 +00:00
Brenden Matthews
0c2c9dd038
* Added small patch to support negative values (such as negative disk capacity) (thanks hinokind)
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1251 7f574dfc-610e-0410-a909-a81674777703
2008-09-12 05:03:38 +00:00
Brenden Matthews
6769495e10
* Improve Conky's overall interval timing
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1250 7f574dfc-610e-0410-a909-a81674777703
2008-09-12 03:01:33 +00:00
Brenden Matthews
8bb6b479a8
* Improve timed_thread timing
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1249 7f574dfc-610e-0410-a909-a81674777703
2008-09-11 22:27:19 +00:00
Brenden Matthews
0c59779528
maybe fix missing include bug ( http://bugs.gentoo.org/show_bug.cgi?id=235233 )
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1247 7f574dfc-610e-0410-a909-a81674777703
2008-09-11 15:44:48 +00:00
Brenden Matthews
7996b9d05c
oops, remove debug stuff
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1246 7f574dfc-610e-0410-a909-a81674777703
2008-09-11 03:22:37 +00:00
Brenden Matthews
4ca31d2ce4
* Improved hddtemp support
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1245 7f574dfc-610e-0410-a909-a81674777703
2008-09-11 03:21:39 +00:00
Brenden Matthews
068f6b5b09
* Fixed bug with freq_dyn on x86_64 (thanks Miroslav)
...
* Fixed buffer overflow in update_net_stats() (thanks Miroslav)
* Small fix for nvidia mem freq (thanks Cezary)
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1244 7f574dfc-610e-0410-a909-a81674777703
2008-09-08 04:48:13 +00:00
Phil
56ba0250ab
fix error reporting for battery_* variables
...
* reproduce with a config displaying stuff for BAT0 and BAT1
while only BAT0 is installed: the call to get_battery_stuff()
for the existent BAT0 will reset the static variable rep and
the errors for BAT1 will be reported over and over again
* this fix is not perfect: if both batteries are missing, only
the first errors will be reported; but better than flooding the
terminal
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1243 7f574dfc-610e-0410-a909-a81674777703
2008-09-01 23:46:48 +00:00
Phil
3adb16ea40
another indentation (and some whitespace) fixup
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1242 7f574dfc-610e-0410-a909-a81674777703
2008-09-01 23:08:09 +00:00
Phil
36e34a3c8d
enable max length argument for mpd_smart
...
* this also fixes mpd_title for changing lengths, e.g.
${mpd_title 2} ${mpd_title 3} ${mpd_title 4}
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1241 7f574dfc-610e-0410-a909-a81674777703
2008-09-01 22:30:54 +00:00
Phil
e873442ec5
fix indenting in construct_text_object()
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1240 7f574dfc-610e-0410-a909-a81674777703
2008-09-01 22:05:24 +00:00
Brenden Matthews
740eca5cf2
* Fix compile error when MPD support not enabled
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1236 7f574dfc-610e-0410-a909-a81674777703
2008-08-14 17:10:41 +00:00
Roman Bogorodskiy
6a5691ab70
We continue our good old tradition of breaking FreeBSD
...
code right before the release. This time, somebody refactored
the code to use freebsd.h, but forgot to include
freebsd.h to EXTRA_DIST, so the resulting tarball was
missing it and non-buildable on FreeBSD, thank you, kind man,
for doing it, please keep up breaking FreeBSD port, it's a
great pleasure for me to fix it all the time, and don't
even think to drop me email or ask me on IRC, I like
surprises very much.
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1235 7f574dfc-610e-0410-a909-a81674777703
2008-08-07 06:07:50 +00:00
Brenden Matthews
6cbffa71ef
remove hardcoded retry stuff; put -Werror back in (who the fk removed that?)
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1234 7f574dfc-610e-0410-a909-a81674777703
2008-08-05 18:43:24 +00:00
Brenden Matthews
961b70b6e6
* Add option to specify number of retries for IMAP/POP3 stuff (via -r)
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1233 7f574dfc-610e-0410-a909-a81674777703
2008-08-05 18:00:30 +00:00
Phil
d23271777d
little simplification and improvement of $nvidia
...
* check only the unique part of the argument
* print temperatures like all others (%.1f)
* do argument parsing in nvidia.c (so all specific stuff is at one place)
* little header cleanup
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1231 7f574dfc-610e-0410-a909-a81674777703
2008-08-03 13:27:00 +00:00
Brenden Matthews
c5dbd0afa9
add missing xmms2.h to dist
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1229 7f574dfc-610e-0410-a909-a81674777703
2008-07-30 02:03:42 +00:00
Brenden Matthews
1577667a70
s/kiB/KiB/g
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1227 7f574dfc-610e-0410-a909-a81674777703
2008-07-20 02:05:11 +00:00
Brenden Matthews
b9bdafb0df
improve last fix a bit
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1226 7f574dfc-610e-0410-a909-a81674777703
2008-07-17 03:14:37 +00:00
Brenden Matthews
69ff93d0ea
* Fixed bug with $if_empty and $mpd_* vars (sf.net #2008752 )
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1225 7f574dfc-610e-0410-a909-a81674777703
2008-07-17 02:38:04 +00:00
Brenden Matthews
ae4bd7cdf9
fix missing include
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1224 7f574dfc-610e-0410-a909-a81674777703
2008-07-15 01:05:37 +00:00
Nikolas Garofil
23321c408d
made defines of some literal values and defines to configure.ac.in
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1223 7f574dfc-610e-0410-a909-a81674777703
2008-07-12 10:25:05 +00:00
Nikolas Garofil
8745d71edf
Proper indenting for eve-code, made a define of the default netdev, and moved some defines to configure.ac.in
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1222 7f574dfc-610e-0410-a909-a81674777703
2008-07-12 01:22:40 +00:00
Nikolas Garofil
47462b5d1e
solve warnings
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1221 7f574dfc-610e-0410-a909-a81674777703
2008-07-09 23:05:48 +00:00
Philip Kovacs
b58d412441
removed gnulib completely. use a simple getnameinfo function check for --enable-portmon.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1218 7f574dfc-610e-0410-a909-a81674777703
2008-07-07 20:09:37 +00:00
Nikolas Garofil
9094035f8e
Fix bug in optional normal/log argument for graphs
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1217 7f574dfc-610e-0410-a909-a81674777703
2008-07-06 13:04:29 +00:00
Nikolas Garofil
97de8557b2
Made log/normal argument for graphs optional
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1216 7f574dfc-610e-0410-a909-a81674777703
2008-07-06 10:56:59 +00:00
Roman Bogorodskiy
67d66b03eb
- Use u_int instead of unsigned long for storing
...
vm related values returned by sysctl
- Minor style fix in preproccessor comments
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1215 7f574dfc-610e-0410-a909-a81674777703
2008-07-06 09:25:28 +00:00
Philip Kovacs
a2775d30d1
--libtool version of gnulib installed
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1211 7f574dfc-610e-0410-a909-a81674777703
2008-07-03 23:28:51 +00:00
Philip Kovacs
5619ce52ad
adjust #includes
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1208 7f574dfc-610e-0410-a909-a81674777703
2008-07-01 19:43:24 +00:00
Nikolas Garofil
fec88c0429
Compilation with --enable-testing works by removing stdio.h
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1207 7f574dfc-610e-0410-a909-a81674777703
2008-07-01 17:33:21 +00:00
Philip Kovacs
c7c822426c
latest gnulib sources
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1206 7f574dfc-610e-0410-a909-a81674777703
2008-07-01 14:46:13 +00:00
Nikolas Garofil
72f416212f
configure option for mathfunctions
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1204 7f574dfc-610e-0410-a909-a81674777703
2008-07-01 11:13:40 +00:00
Philip Kovacs
5ce58e014e
Add libgnu convenience lib, modules stdio and getaddrinfo.
...
We now make no assumption about availability of functions
such as snprintf and getnameinfo. If the target machine
doesnt have them, libgnu provides them.
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1203 7f574dfc-610e-0410-a909-a81674777703
2008-07-01 01:26:02 +00:00
Philip Kovacs
003785e754
Remove recently added _POSIX_C_SOURCE 200112L as it conflicts
...
with feature requirements for glibc when using snprintf.
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1200 7f574dfc-610e-0410-a909-a81674777703
2008-06-30 00:56:01 +00:00
Nikolas Garofil
5884358016
Get rid of obsolete gethostbyaddr and getservbyport
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1199 7f574dfc-610e-0410-a909-a81674777703
2008-06-29 09:26:15 +00:00
Brenden Matthews
35e1932ad1
fix missing entries in Makefile.am
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1198 7f574dfc-610e-0410-a909-a81674777703
2008-06-29 00:27:09 +00:00
Brenden Matthews
896863e2d8
Added support for EVE-Online skill monitoring (thanks Asbjørn); fixed up/downspeedgraph segfault
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1197 7f574dfc-610e-0410-a909-a81674777703
2008-06-28 20:14:04 +00:00
Brenden Matthews
66079c5585
Added sysfs AC adapter support patch (thanks Byron); Small compilation error fix
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1196 7f574dfc-610e-0410-a909-a81674777703
2008-06-28 19:17:49 +00:00
Phil
7f09a767f0
(re)define FALSE and TRUE, non-existent on my system
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1195 7f574dfc-610e-0410-a909-a81674777703
2008-06-25 21:06:54 +00:00
Phil
28478344ab
two new smapi variables and a bit of documentation improvement
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1194 7f574dfc-610e-0410-a909-a81674777703
2008-06-25 10:08:27 +00:00
Nikolas Garofil
312d3d6de8
Merge with conky1-extra, Changelog contains the changes
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1193 7f574dfc-610e-0410-a909-a81674777703
2008-06-21 20:37:58 +00:00
Nikolas Garofil
c1c34ae443
'inline' removed from functions that are called from different files
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1187 7f574dfc-610e-0410-a909-a81674777703
2008-06-21 14:18:44 +00:00
Kevin Lyles
54120a3d83
Re-arranged some if statements to reduce redundancy
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1185 7f574dfc-610e-0410-a909-a81674777703
2008-06-21 09:25:37 +00:00
Kevin Lyles
02dad6a2cb
Consolidated all barnum code into get_barnum
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1184 7f574dfc-610e-0410-a909-a81674777703
2008-06-21 09:25:29 +00:00
Kevin Lyles
bca75f302c
Consolidated all popen calls (and repeated surrounding code) into read_exec
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1183 7f574dfc-610e-0410-a909-a81674777703
2008-06-21 09:25:22 +00:00
Kevin Lyles
415d927a0e
Removed some redundancies between imap and pop3
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1182 7f574dfc-610e-0410-a909-a81674777703
2008-06-21 09:25:16 +00:00
Kevin Lyles
9a6f79b0e2
Renamed all my_infos to the more-descriptive tmp_info
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1181 7f574dfc-610e-0410-a909-a81674777703
2008-06-21 09:25:03 +00:00
Kevin Lyles
e7e874ac61
Renamed more global variables with global_ prefix
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1180 7f574dfc-610e-0410-a909-a81674777703
2008-06-21 09:24:56 +00:00
Kevin Lyles
e528397a02
Replaced the global text_object array and count with a text_object_list
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1179 7f574dfc-610e-0410-a909-a81674777703
2008-06-21 09:24:51 +00:00
Kevin Lyles
01ca7ad07a
Added comments to a couple of non-obvious lines (to me, anyway)
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1178 7f574dfc-610e-0410-a909-a81674777703
2008-06-21 09:24:39 +00:00
Kevin Lyles
d79958ac84
Split help output into a separate function
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1171 7f574dfc-610e-0410-a909-a81674777703
2008-06-19 19:59:30 +00:00
Kevin Lyles
5a8b03fba7
Moved global diskio variables into info
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1170 7f574dfc-610e-0410-a909-a81674777703
2008-06-19 19:58:07 +00:00
Kevin Lyles
2fd832f6b0
Refactored out some redundancy in the tab conversion code
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1169 7f574dfc-610e-0410-a909-a81674777703
2008-06-19 19:57:12 +00:00
Kevin Lyles
6d4829ca83
Removed some redundancy in mpd_elapsed and mpd_length
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1168 7f574dfc-610e-0410-a909-a81674777703
2008-06-19 19:56:30 +00:00
Kevin Lyles
9ffbf32b1d
Changed addr to print "No Address" when there is no address
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1167 7f574dfc-610e-0410-a909-a81674777703
2008-06-19 19:54:31 +00:00
Kevin Lyles
bb80900ca6
Refactored format_seconds and format_seconds_short
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1165 7f574dfc-610e-0410-a909-a81674777703
2008-06-19 07:04:11 +00:00
Kevin Lyles
40f2fcfd7b
Fixed compilation issues with --enable-testing
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1164 7f574dfc-610e-0410-a909-a81674777703
2008-06-19 06:17:53 +00:00
Nikolas Garofil
2e2765393e
magic nums to defines and don't check ut_name and ut_line length because it can't be larger then UT_NAMESIZE and UT_LINESIZE
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1162 7f574dfc-610e-0410-a909-a81674777703
2008-06-17 20:44:06 +00:00
Nikolas Garofil
6472addc09
3 Bufferoverflows in a struct utmp
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1161 7f574dfc-610e-0410-a909-a81674777703
2008-06-16 20:12:39 +00:00
Philip Kovacs
d036b5de5c
move audacious defs into header
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1159 7f574dfc-610e-0410-a909-a81674777703
2008-06-16 19:40:28 +00:00
Philip Kovacs
6bb956c6e0
restore audacious functionality broken by previous header spliting commits.
...
headers are for interfaces and typedefs, not data.
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1157 7f574dfc-610e-0410-a909-a81674777703
2008-06-15 20:17:37 +00:00
Kevin Lyles
c72a564cea
Removed all trailing whitespace
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1156 7f574dfc-610e-0410-a909-a81674777703
2008-06-15 18:38:33 +00:00
Roman Bogorodskiy
00b26c0834
More or less working on FreeBSD now.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1155 7f574dfc-610e-0410-a909-a81674777703
2008-06-15 07:08:52 +00:00
Kevin Lyles
610b0b628d
Split conky.h into several smaller header files
...
In order to do this correctly:
Removed duplicate includes
Fixed mpd functions to accept mpd_s instead of information
Freed mpd.h of any need to include conky.h (mpd.c still includes it for the constants)
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1154 7f574dfc-610e-0410-a909-a81674777703
2008-06-14 18:41:12 +00:00
Kevin Lyles
59704d5e3e
Moved struct process to top.h
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1153 7f574dfc-610e-0410-a909-a81674777703
2008-06-14 05:32:46 +00:00
Nikolas Garofil
83bf37fe85
Bugfix: execgraph scale 0-0 instead of 0-100
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1149 7f574dfc-610e-0410-a909-a81674777703
2008-06-08 20:39:07 +00:00
Nikolas Garofil
26bea66044
Bugfix: didn't work
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1143 7f574dfc-610e-0410-a909-a81674777703
2008-06-08 11:16:51 +00:00
Nikolas Garofil
a306817910
Bugfix: same text multiple times caused by if-family
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1141 7f574dfc-610e-0410-a909-a81674777703
2008-06-07 19:11:29 +00:00
Nikolas Garofil
538dbe4e91
Bugfix: DEV_NAME tried to read uninitialised mem
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1139 7f574dfc-610e-0410-a909-a81674777703
2008-06-07 12:34:07 +00:00
Nikolas Garofil
b24e258165
small changes to let code compile with enable-testing
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1134 7f574dfc-610e-0410-a909-a81674777703
2008-06-06 12:14:15 +00:00
Nikolas Garofil
3969388b4a
Bugfix: Lines printed to STDOUT with out_to_console were printed twice
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1127 7f574dfc-610e-0410-a909-a81674777703
2008-06-04 22:35:02 +00:00
Nikolas Garofil
a9624c80cc
Bugfix: chars followed by backspace should not be displayed
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1126 7f574dfc-610e-0410-a909-a81674777703
2008-06-04 08:51:15 +00:00
Nikolas Garofil
07269f678d
Bugfix: gw_iface with a empty routingtable no longer causes a crash
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1124 7f574dfc-610e-0410-a909-a81674777703
2008-06-04 08:09:49 +00:00
Brenden Matthews
8f8d5c1c8c
* Added --quiet patch (thanks sceptik)
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1123 7f574dfc-610e-0410-a909-a81674777703
2008-06-03 21:01:40 +00:00
Brenden Matthews
7ff7c1083c
* Added NVIDIA Graficcard support patch (thanks meissna)
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1122 7f574dfc-610e-0410-a909-a81674777703
2008-06-03 20:46:15 +00:00
Phil
bd6196c6b0
configurable if_up, may check for:
...
* IFF_UP flag,
* IFF_UP and IFF_RUNNING flags or
* IFF_UP, IFF_RUNNING flags and assigned address
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1121 7f574dfc-610e-0410-a909-a81674777703
2008-05-30 11:30:58 +00:00
Brenden Matthews
a7da3b17bc
docs; small code simplification
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1119 7f574dfc-610e-0410-a909-a81674777703
2008-05-06 22:41:28 +00:00
Brenden Matthews
c70e1ead9f
updating docs, syntax highlighting, code formatting
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1118 7f574dfc-610e-0410-a909-a81674777703
2008-05-06 21:44:23 +00:00
Roman Bogorodskiy
947dfb558d
Small portion of FreeBSD fixes:
...
- diskio.c is not needed for freebsd
- sync cpu freq related functions prototypes
- cleanup #indef's
It still doesn't compile on FreeBSD though.
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1117 7f574dfc-610e-0410-a909-a81674777703
2008-05-03 12:30:05 +00:00
Brenden Matthews
fda6b66eb9
* own_window_type dock patch (thanks Morgan).
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1115 7f574dfc-610e-0410-a909-a81674777703
2008-04-29 21:31:04 +00:00
Brenden Matthews
fcb1260a39
exclude reserved IPs with if_up
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1113 7f574dfc-610e-0410-a909-a81674777703
2008-04-22 22:59:04 +00:00
Brenden Matthews
39a00f4cfa
fixed hddtemp problems as well as some other misc things
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1112 7f574dfc-610e-0410-a909-a81674777703
2008-04-22 22:54:22 +00:00
Brenden Matthews
5c01c5991e
fixed crash on realloc due to use of strncpy
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1111 7f574dfc-610e-0410-a909-a81674777703
2008-04-22 21:54:49 +00:00
Brenden Matthews
1dafa537d4
add missing math.h include
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1110 7f574dfc-610e-0410-a909-a81674777703
2008-04-17 20:46:29 +00:00
Brenden Matthews
5c32bc6bc8
include stdarg.h for va_start/va_end
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1109 7f574dfc-610e-0410-a909-a81674777703
2008-04-17 20:40:53 +00:00
Brenden Matthews
feca8d2fb5
add missing include
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1107 7f574dfc-610e-0410-a909-a81674777703
2008-04-16 01:36:55 +00:00
Brenden Matthews
801cf11545
* Added patch for the following (thanks larsko):
...
* New $loadgraph to show a graph of load averages,
* add "show_graph_scale" option to turn off/on the showing of the
current max value for the graph,
* minor code fixes,
* update nano and vim syntax highlighting stuff.
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1104 7f574dfc-610e-0410-a909-a81674777703
2008-04-13 04:10:35 +00:00
Brenden Matthews
4d7ecc7951
* Getting rid of goto usage throughout code.
...
* Fix bug due to usage of gethostbyname() in threads (which is not
reentrant) by using gethostbyname_r() when available.
* Added patch for battery_time problem on 2.6.24 (thanks wedge).
* Added patch to fix broken xmms2 stuff (thanks sleipner).
* Added patch to fix SIGHUP/SIGUSR1 segfault (thanks norsetto).
* Added patch to improve $if_up (thanks Aseem).
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1103 7f574dfc-610e-0410-a909-a81674777703
2008-04-10 22:45:45 +00:00
Brenden Matthews
77f8e9bba7
define our own strndup() when its not available (thanks to Pippijn for the idea)
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1101 7f574dfc-610e-0410-a909-a81674777703
2008-04-02 19:46:09 +00:00
Brenden Matthews
a6a4a4c548
* Replacing strdup() with strndup() throughout
...
(this is probably going to break a few things)
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1100 7f574dfc-610e-0410-a909-a81674777703
2008-04-02 18:44:49 +00:00
Brenden Matthews
d46bcb0945
* Added patch to use mail_spool correctly (thanks Kapil)
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1099 7f574dfc-610e-0410-a909-a81674777703
2008-04-02 18:29:08 +00:00
Brenden Matthews
fa94cac75f
* Fixed segfault when configuration doesn't contain TEXT block (thanks
...
Pippijn).
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1098 7f574dfc-610e-0410-a909-a81674777703
2008-04-02 02:12:57 +00:00
Brenden Matthews
011f03b50d
docs
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1097 7f574dfc-610e-0410-a909-a81674777703
2008-04-01 21:37:49 +00:00
Brenden Matthews
c6c02f6cf9
capitalization consistency
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1096 7f574dfc-610e-0410-a909-a81674777703
2008-04-01 06:10:58 +00:00
Brenden Matthews
798207efbf
bump version; doc fixes
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1094 7f574dfc-610e-0410-a909-a81674777703
2008-04-01 04:59:00 +00:00
Phil
d923325773
make specifying hdd names more flexible
...
* the macro DEV_NAME() "removes" any leading "/dev/"
if existing
* the only object that needs the full path is hddtemp,
so add code there to add "/dev/" if necessary
(can't be done via macro)
* attempt to fix also the hddtemp output, as the
"degree"-sign seems to be inserted in utf-8 and
printed in latin.
* hddtemp breaks the rules by inserting the unit
itself, but as it could be either "C" or "F", this
would lead to confusion otherwise
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1091 7f574dfc-610e-0410-a909-a81674777703
2008-03-31 15:33:54 +00:00
Brenden Matthews
be2cd44e6d
doc cleanup
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1090 7f574dfc-610e-0410-a909-a81674777703
2008-03-31 04:56:39 +00:00
Brenden Matthews
bbdbf3b4e3
fix possible mem leak in prepare_diskio_stat, fix return value on failure
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1088 7f574dfc-610e-0410-a909-a81674777703
2008-03-31 03:56:03 +00:00
Brenden Matthews
0ee3efdc0f
make diskio accept devices starting with "/dev/"
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1087 7f574dfc-610e-0410-a909-a81674777703
2008-03-31 03:51:29 +00:00
Brenden Matthews
c2c6a63f5a
* Added mem_res and mem_vsize to $top.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1084 7f574dfc-610e-0410-a909-a81674777703
2008-03-30 07:04:25 +00:00
Brenden Matthews
ceedc66f8d
more battery cleanup
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1083 7f574dfc-610e-0410-a909-a81674777703
2008-03-30 04:02:53 +00:00
Brenden Matthews
fbb58187b5
add more checking in libmpdclient; make battery stuff look the same for sysfs and proc
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1082 7f574dfc-610e-0410-a909-a81674777703
2008-03-30 03:26:55 +00:00
Brenden Matthews
675b9fac96
mpd fix take 2
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1081 7f574dfc-610e-0410-a909-a81674777703
2008-03-30 02:29:12 +00:00
Brenden Matthews
3efefaf182
* Fixed bug in libmpdclient that caused file descriptors to be left open.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1080 7f574dfc-610e-0410-a909-a81674777703
2008-03-30 01:23:04 +00:00
Phil
00eb4ec9af
some relocation of header includes
...
* conky.h must come first, because it includes config.h
which again defines _GNU_SOURCE, which is necessary
for strdup() & Co.
* declaring cpu_separate in top.h makes no sense, as it
includes conky.h which declares cpu_separate itself
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1078 7f574dfc-610e-0410-a909-a81674777703
2008-03-29 12:44:29 +00:00
Phil
a8bb0d7052
fix typo
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1077 7f574dfc-610e-0410-a909-a81674777703
2008-03-29 11:49:10 +00:00
Phil
2da63063d8
make use of __attribute__
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1076 7f574dfc-610e-0410-a909-a81674777703
2008-03-29 11:35:02 +00:00
Phil
5c4fee8d32
implement upwards path traversal to find fs type
...
* yes, this is a feature and right now there is something
like a feature freeze.
* BUT I tested this with: /, /tmp, /dev/mapper, /dev, //,
/mnt/, /tmp/bla (the last one was non-existent, creating
it during runtime and even mounting tmpfs on it led to
expected results.
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1074 7f574dfc-610e-0410-a909-a81674777703
2008-03-29 11:09:47 +00:00
Phil
9d4c7ed14e
improve header style
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1073 7f574dfc-610e-0410-a909-a81674777703
2008-03-29 10:13:25 +00:00
Phil
871689ef5b
no 'a' modifier in C99
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1072 7f574dfc-610e-0410-a909-a81674777703
2008-03-29 10:11:16 +00:00
Phil
d75301498a
remove unused global mail_s instance
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1071 7f574dfc-610e-0410-a909-a81674777703
2008-03-29 09:59:27 +00:00
Phil
ab63c2b024
rename all shadowing variables for -Wshadow
...
* sadly intuitive names like "time" or "index" are already
globally defined (functions in time.h and string.h)
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1070 7f574dfc-610e-0410-a909-a81674777703
2008-03-29 09:58:09 +00:00
Phil
a16a96911a
fix register_iconv
...
* not sure but this looked completely wrong, as 'iconv'
is a function.
* if iconv_cd is NULL, iconv_count is 0 and therefore
realloc should do the same as malloc here.
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1069 7f574dfc-610e-0410-a909-a81674777703
2008-03-29 07:24:25 +00:00
Phil
2913a71216
the big relocation patch
...
* this moves all declarations to the beginning of their block
to prevent mixed declarations and code
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1068 7f574dfc-610e-0410-a909-a81674777703
2008-03-29 06:24:04 +00:00
Phil
4766f33456
don't use %Lu here, too
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1067 7f574dfc-610e-0410-a909-a81674777703
2008-03-29 05:28:33 +00:00
Phil
42a62c0178
clear naming for the global text objects
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1066 7f574dfc-610e-0410-a909-a81674777703
2008-03-29 05:23:45 +00:00
Phil
963bb6211c
fix thread definitions
...
* we code against interfaces (void *f(void *))
* casting function pointers to object pointers
is a no-no says gcc
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1065 7f574dfc-610e-0410-a909-a81674777703
2008-03-29 05:14:35 +00:00
Phil
fea715f038
declaring info in common.c is redundant
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1064 7f574dfc-610e-0410-a909-a81674777703
2008-03-29 04:55:41 +00:00
Phil
36a18732ea
ISO C99 forbids named variadic macros
...
* also at least a single variadic argument must be
specified, so this (absolutely perfect) code doesn't
work
* this should fix it without changing the way the
macros are to be called
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1063 7f574dfc-610e-0410-a909-a81674777703
2008-03-29 04:47:10 +00:00
Brenden Matthews
cb653c0baa
fix segfault
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1062 7f574dfc-610e-0410-a909-a81674777703
2008-03-29 04:41:37 +00:00
Phil
d151828d23
make intense use of const keyword
...
* accidential writes to const char * are being detected
at compile time
* also clean up casting at some places
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1059 7f574dfc-610e-0410-a909-a81674777703
2008-03-29 03:45:36 +00:00
Phil
418b3d62e0
match signedness and format when scanning into variables
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1058 7f574dfc-610e-0410-a909-a81674777703
2008-03-29 03:01:48 +00:00
Phil
ac2dd1b34b
use %llu instead of %Lu
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1057 7f574dfc-610e-0410-a909-a81674777703
2008-03-29 02:28:38 +00:00
Phil
ef3f404cca
fix potential segfault in get_ioscheduler().
...
returning a const char * instead of a char * will lead to
trouble if the string is then tried to be free()'d.
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1056 7f574dfc-610e-0410-a909-a81674777703
2008-03-29 02:19:36 +00:00
Phil
e306a2c2e8
some linting on function definitions
...
* instead of empty args "void" should always be specified.
Using this, the compiler can detect incorrect function calls,
like with update_stuff().
* No args seems to be interpreted as "unspecified args" by the
compiler, as with update_mail_count(). So no checking for
correctness of arguments when calling was done at all.
* This is not complete yet, as I still don't have any BSD for
testing.
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1055 7f574dfc-610e-0410-a909-a81674777703
2008-03-29 02:01:03 +00:00
Brenden Matthews
59c5fe4d11
oh yeah, battery_percent too
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1054 7f574dfc-610e-0410-a909-a81674777703
2008-03-28 23:23:21 +00:00
Brenden Matthews
60985a41e7
* Fixed messed up percentages (fs_free_perc, fs_used_perc, mpd_percent).
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1053 7f574dfc-610e-0410-a909-a81674777703
2008-03-28 23:17:01 +00:00
Brenden Matthews
8de47c132d
adding missing include to smapi code
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1052 7f574dfc-610e-0410-a909-a81674777703
2008-03-27 20:01:27 +00:00
Brenden Matthews
5c9e2dcbfc
minor updates; changing package naming to meet http://devmanual.gentoo.org/ebuild-writing/file-format/index.html guidelines to begin doing prereleases
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1051 7f574dfc-610e-0410-a909-a81674777703
2008-03-27 19:46:35 +00:00
Brenden Matthews
a56e669356
* Fixed battery_bar default size
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1049 7f574dfc-610e-0410-a909-a81674777703
2008-03-24 21:44:50 +00:00
Phil
3966025939
fix indenting in linux.c
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1048 7f574dfc-610e-0410-a909-a81674777703
2008-03-24 20:43:55 +00:00
Phil
749fb99edd
two conky fixes
...
* opened file for laptop_mode wasn't closed again
* hopefully fix reading interface addresses
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1047 7f574dfc-610e-0410-a909-a81674777703
2008-03-24 20:35:20 +00:00
Phil
004d1cb7ba
disk_protect - show queue protection state
...
* disk protection needs a kernel patch and is useful in combination with hdaps
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1045 7f574dfc-610e-0410-a909-a81674777703
2008-03-24 20:08:16 +00:00
Phil
d6953f4864
check validity of specified config
...
* I accidentially used wrong args when testing conky -> segfault
* reproduce using 'conky -c /this/doesnt/exist'
* code should be portable, but untested on freebsd
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1044 7f574dfc-610e-0410-a909-a81674777703
2008-03-24 19:24:55 +00:00
Brenden Matthews
c2c01423a8
* $battery_bar sysfs fix (thanks Marcus)
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1043 7f574dfc-610e-0410-a909-a81674777703
2008-03-24 05:09:09 +00:00
Brenden Matthews
7613414296
* Fixed linux.c compilation problem due to (suspected) broken linux
...
headers
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1042 7f574dfc-610e-0410-a909-a81674777703
2008-03-24 03:38:28 +00:00
Brenden Matthews
902ff4ca5c
fixed compilation with --disable-x11
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1041 7f574dfc-610e-0410-a909-a81674777703
2008-03-23 17:26:41 +00:00
Phil
6a528f4e17
support displaying current nameservers
...
* gathers information from /etc/resolv.conf
* included (still commented) code to prevent reading too often,
as I'm not sure whether reading from a real FS (not /proc or /sys)
could generate higher load in some cases -> comments please!
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1035 7f574dfc-610e-0410-a909-a81674777703
2008-03-22 22:58:26 +00:00
Phil
bcbca8cb5b
enable displaying the used ioscheduler for a given disk
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1034 7f574dfc-610e-0410-a909-a81674777703
2008-03-22 21:10:43 +00:00
Phil
d2ed065fdd
laptop_mode displays the current laptop mode
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1033 7f574dfc-610e-0410-a909-a81674777703
2008-03-22 20:13:51 +00:00
Phil
929f1d5878
fixed another memleak issue in smapi.c
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1032 7f574dfc-610e-0410-a909-a81674777703
2008-03-22 19:39:43 +00:00
Phil
8fd27c0026
make default gateway information accessible
...
* gw_iface prints the interface having a default gateway
* gw_ip prints the gatway's ip
* if_gw jumps if no default gateway exists
* when there are multiple gateways, gw_iface and gw_ip
only print "multiple" when they are different (allows
basic debugging of ones networking setup)
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1031 7f574dfc-610e-0410-a909-a81674777703
2008-03-22 19:06:09 +00:00
Phil
1fa2c2f809
bury dead code
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1030 7f574dfc-610e-0410-a909-a81674777703
2008-03-22 18:21:46 +00:00
Phil
9b222e23e9
hopefully fix spaced_print
...
* when printing only width bytes to buf, with
width being set to pad_percents which itself
is set by the user to zero, nothing is printed
* in the unlikely (but possible) case of width > size,
this could lead to a segfault
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1029 7f574dfc-610e-0410-a909-a81674777703
2008-03-22 18:18:25 +00:00
Phil
c1cb65ff6d
smapi review
...
* rewrote some functions in src/smapi.c for more
simplicity and less malloc/free hell
* added object cleanup in free_text_objects(),
valgrind said it was missing
* fixed indenting in construct_text_object()
* fixed use of spaced_print() in generate_text_internal()
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1028 7f574dfc-610e-0410-a909-a81674777703
2008-03-22 18:08:47 +00:00
Brenden Matthews
94bb46b868
added $execpi, new ebuild, various other misc updates
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1027 7f574dfc-610e-0410-a909-a81674777703
2008-03-22 06:10:54 +00:00
Brenden Matthews
ed92bf7f60
small fix for newly introduced bug in non-xft font loading--thanks Phil
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1025 7f574dfc-610e-0410-a909-a81674777703
2008-03-21 23:39:38 +00:00
Brenden Matthews
14f23fb664
fixing warning
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1024 7f574dfc-610e-0410-a909-a81674777703
2008-03-21 23:17:37 +00:00
Brenden Matthews
934c3a94e8
fixing up text_buffer_size stuff
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1021 7f574dfc-610e-0410-a909-a81674777703
2008-03-20 21:28:19 +00:00
Brenden Matthews
4fe68fcc04
fixing problem where p_max_size becomes <1
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1020 7f574dfc-610e-0410-a909-a81674777703
2008-03-20 20:56:13 +00:00
Brenden Matthews
46e129e7b1
* Added CRLF characters to POP3 and IMAP stuff (should play nicer with
...
some servers now).
* Added preliminary support for parsing the output of external commands
(via $execp)
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1019 7f574dfc-610e-0410-a909-a81674777703
2008-03-20 20:33:31 +00:00
Brenden Matthews
e48d5ce71e
cleaning up
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1018 7f574dfc-610e-0410-a909-a81674777703
2008-03-20 19:22:29 +00:00
Brenden Matthews
a76c4fb437
trying to fix more leaks
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1017 7f574dfc-610e-0410-a909-a81674777703
2008-03-20 05:28:23 +00:00
Brenden Matthews
2698046591
2008-03-19
...
* Fixed a number of small memory leaks.
* Performed some minor profiling on Conky; introduced
small_text_buffer_size and large_text_buffer_size config options instead
of just text_buffer_size.
* Fixed some minor bugs introduced by new patches.
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1014 7f574dfc-610e-0410-a909-a81674777703
2008-03-19 22:28:23 +00:00
Brenden Matthews
4ad58c9d04
adding $Id$
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1013 7f574dfc-610e-0410-a909-a81674777703
2008-03-18 17:10:27 +00:00
Brenden Matthews
6928262418
adding missing files
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1012 7f574dfc-610e-0410-a909-a81674777703
2008-03-18 17:09:47 +00:00
Brenden Matthews
b77da1255a
updating new file props
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1011 7f574dfc-610e-0410-a909-a81674777703
2008-03-18 17:08:22 +00:00
Brenden Matthews
a1452f5db4
* Applied 12 patches:
...
1) sysfs battery support (for Linux >=2.6.24) (thanks Kapil)
2) Improved audacious support patch (thanks Miroslav)
3) tp_smapi support patch for IBM laptops (thanks Phil)
4) user info patch (thanks Roland)
5) added conky build info patch (thanks Roland)
6) added if_up patch (thanks Phil)
7) added reload on SIGHUP patch (thanks Jonas)
8) added pad percentages patch (thanks Jonas)
9) added fs_type patch (thanks Ryan)
10) added xmms2 fixes patch (thanks Lassi)
11) fix sysfs crash patch (thanks Phil)
12) multiple ip patch ($addrs)
* Added more alignment support (top_middle, bottom_middle, middle_left,
and middle_right).
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1010 7f574dfc-610e-0410-a909-a81674777703
2008-03-18 00:23:16 +00:00
Brenden Matthews
dd3b471f2d
* Applied 2 patches:
...
1) sysfs battery support (for Linux >=2.6.24) (thanks Kapil)
2) Improved audacious support patch (thanks Miroslav)
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1009 7f574dfc-610e-0410-a909-a81674777703
2008-03-17 22:27:20 +00:00
Roman Bogorodskiy
ae8c4198b8
Fix compilation.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1008 7f574dfc-610e-0410-a909-a81674777703
2008-02-24 16:35:18 +00:00
Kevin Lyles
3d26a4880e
Reformatted all code
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1007 7f574dfc-610e-0410-a909-a81674777703
2008-02-20 20:30:45 +00:00
Kevin Lyles
3cf1a29768
Refactored the top and top_mem handling to use a switch statement
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1006 7f574dfc-610e-0410-a909-a81674777703
2008-02-20 10:01:31 +00:00
Kevin Lyles
9c3ae23a15
Fixed a few minor type issues
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1005 7f574dfc-610e-0410-a909-a81674777703
2008-02-20 10:01:23 +00:00
Kevin Lyles
c96f5b1143
Removed unused macros and removed X11 options from the options string unless X11 is enabled
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1004 7f574dfc-610e-0410-a909-a81674777703
2008-02-20 10:01:13 +00:00
Kevin Lyles
32c8f71eaa
Added missing break statements and a missing freebsd kernel check
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1003 7f574dfc-610e-0410-a909-a81674777703
2008-02-20 10:01:00 +00:00
Kevin Lyles
2a7a05342f
Fixed a typo and re-added an accidentally removed line
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1002 7f574dfc-610e-0410-a909-a81674777703
2008-02-20 10:00:45 +00:00
Kevin Lyles
9a44d8b1c8
Fixed broken compilation on FreeBSD
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1001 7f574dfc-610e-0410-a909-a81674777703
2008-02-19 18:48:54 +00:00
Kevin Lyles
e7b786d79a
Fixed round_to_int to handle negative numbers properly
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1000 7f574dfc-610e-0410-a909-a81674777703
2008-02-19 03:33:12 +00:00
Kevin Lyles
e39a3ad8e4
Fixed some typos and restored a few accidentally removed lines in the recent diskio patch.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@999 7f574dfc-610e-0410-a909-a81674777703
2008-02-10 11:14:19 +00:00
Brenden Matthews
d8a95d90b0
adding license header
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@998 7f574dfc-610e-0410-a909-a81674777703
2008-02-09 02:28:31 +00:00
Brenden Matthews
433b564e14
* Applied 2 patches:
...
1) Add diskio for individual devices
2) Improved output of units, added "short_units" option
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@996 7f574dfc-610e-0410-a909-a81674777703
2008-02-09 02:21:06 +00:00
Brenden Matthews
35b4ed3aff
2008-01-05
...
* Applied some more submitted patches:
1) Add long forms of (most of) the command-line options.
2) Added an option (top_cpu_separate) that emulates top's "separate
cpus" option. Processor usage is shown as a percentage of a
single processor on your system, instead of a percentage
of all processors combined.
3) Adds a parameter (time) to top and top_mem that will show the
cumulative CPU time of a process.
4) Simplified integer rounding.
5) Fixed the window width when a goto is used.
6) Fixed the window width when an offset is used.
(thanks Kevin Lyles).
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@994 7f574dfc-610e-0410-a909-a81674777703
2008-01-06 01:35:14 +00:00
Philip Kovacs
651be79121
applied submitted patches for get_ibm_acpi_volume bug,
...
realtime clock bug and kFreeBSD support (thanks KPH).
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@993 7f574dfc-610e-0410-a909-a81674777703
2007-12-31 00:00:35 +00:00
Philip Kovacs
622c190e37
Conky 1.4.9
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@990 7f574dfc-610e-0410-a909-a81674777703
2007-11-22 19:38:17 +00:00
Philip Kovacs
238fa198f0
clean up audacious legacy code; adjust ebuilds
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@989 7f574dfc-610e-0410-a909-a81674777703
2007-11-17 04:13:20 +00:00
Philip Kovacs
3048e239d2
Added support for Audacious 1.4.0 via --enable-audacious=yes|no|legacy:
...
(use 'yes' for audacious >= 1.4.0, 'legacy' for prior versions).
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@988 7f574dfc-610e-0410-a909-a81674777703
2007-11-17 03:43:21 +00:00
Philip Kovacs
dd572d3d24
Fix compilation error with --disable-x11 (bug #1830373 ).
...
Bump doc stylesheet from 4.3 to 4.4.
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@987 7f574dfc-610e-0410-a909-a81674777703
2007-11-14 21:41:08 +00:00
Toni Spets
bc984b40d4
Fixed cpu_count variable and one incorrectly typed ifdef
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@986 7f574dfc-610e-0410-a909-a81674777703
2007-11-04 13:14:55 +00:00
Toni Spets
68a853c285
SMP code for OpenBSD contributed by Paul Sonkoly
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@985 7f574dfc-610e-0410-a909-a81674777703
2007-11-04 11:20:55 +00:00
Philip Kovacs
73e578ee19
fix mpd_smart bug #1822773
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@984 7f574dfc-610e-0410-a909-a81674777703
2007-10-31 22:49:09 +00:00
Philip Kovacs
723771f304
add system config file to -v output
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@982 7f574dfc-610e-0410-a909-a81674777703
2007-10-23 22:06:02 +00:00
Philip Kovacs
c08db2aba5
Externalize default config file: /conky/conky.conf
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@981 7f574dfc-610e-0410-a909-a81674777703
2007-10-23 21:52:11 +00:00
Philip Kovacs
7c07529932
Remove ${tail /var/log/Xorg.0.log} from default text
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@979 7f574dfc-610e-0410-a909-a81674777703
2007-10-21 23:36:53 +00:00
Philip Kovacs
03d011678b
Initialize music_player_interval so built-in .conkyrc actual works.
...
Lower timed_thread minimum timing interval from 50 usecs to 10 usecs.
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@978 7f574dfc-610e-0410-a909-a81674777703
2007-10-21 18:04:53 +00:00
Philip Kovacs
fed57b7a50
start 1.4.9-svn; separate assert messages for clarity
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@977 7f574dfc-610e-0410-a909-a81674777703
2007-10-20 23:35:25 +00:00
Philip Kovacs
8d81c9a6d7
conky 1.4.8
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@974 7f574dfc-610e-0410-a909-a81674777703
2007-10-18 21:12:27 +00:00
Philip Kovacs
441cedd2ad
struct alignment patch #1812924
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@973 7f574dfc-610e-0410-a909-a81674777703
2007-10-17 20:31:27 +00:00
Philip Kovacs
0a7cb47470
fix uninitialized var warning
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@970 7f574dfc-610e-0410-a909-a81674777703
2007-10-03 01:43:40 +00:00
Brenden Matthews
58c1eb36c3
Multiple mailbox patch (thanks Ben Kibbey)
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@969 7f574dfc-610e-0410-a909-a81674777703
2007-10-02 23:57:41 +00:00
Brenden Matthews
da182541fb
oops; don't clear mpd stuff after setting status
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@968 7f574dfc-610e-0410-a909-a81674777703
2007-10-02 23:51:49 +00:00
Brenden Matthews
2d10c4c08d
* Small fix for $ibm_volume (thanks Kapil Hari Paranjape)
...
* Patch so $tail can read from a fifo file descriptor (thanks Ben Kibbey)
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@966 7f574dfc-610e-0410-a909-a81674777703
2007-09-28 20:16:16 +00:00
Brenden Matthews
7e2b84c93e
small mpd fix (fixes minor breakage in recent mpd improvements)
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@965 7f574dfc-610e-0410-a909-a81674777703
2007-09-28 19:50:58 +00:00
Toni Spets
60f4ea4fb7
OpenBSD cleanups, remove unsupported printf flag and fix non-dynamic cpu_freq
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@964 7f574dfc-610e-0410-a909-a81674777703
2007-09-17 04:40:13 +00:00
Philip Kovacs
fadea17e90
revise my comments for clarity
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@962 7f574dfc-610e-0410-a909-a81674777703
2007-09-02 17:14:15 +00:00
Philip Kovacs
94e918914d
thread stuff
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@961 7f574dfc-610e-0410-a909-a81674777703
2007-09-02 05:08:28 +00:00
Brenden Matthews
965031790a
* Zero out imap and pop3 stuff when the connection fails
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@960 7f574dfc-610e-0410-a909-a81674777703
2007-09-02 04:36:09 +00:00
Philip Kovacs
62f8ff9be7
mpd_interval -> music_player_interval
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@957 7f574dfc-610e-0410-a909-a81674777703
2007-09-02 04:26:08 +00:00
Brenden Matthews
87e4c550e4
* Fixed some minor memory leaks associated with SIGUSR1
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@956 7f574dfc-610e-0410-a909-a81674777703
2007-09-02 03:58:22 +00:00
Philip Kovacs
39a3bfe8f8
fix your math dummy
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@955 7f574dfc-610e-0410-a909-a81674777703
2007-09-02 03:29:38 +00:00
Brenden Matthews
16ea4f6587
* Improved performance slightly
...
* Added mpd_interval config option to specify an update interval for the
mpd thread
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@954 7f574dfc-610e-0410-a909-a81674777703
2007-09-02 03:02:33 +00:00
Philip Kovacs
38d2cdfc84
revert common.c
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@953 7f574dfc-610e-0410-a909-a81674777703
2007-09-02 02:25:01 +00:00
Philip Kovacs
cdbfb7dd53
timed thread code
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@952 7f574dfc-610e-0410-a909-a81674777703
2007-09-02 02:22:46 +00:00
Philip Kovacs
578609461f
timed thread stuff
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@951 7f574dfc-610e-0410-a909-a81674777703
2007-09-02 01:10:09 +00:00
Philip Kovacs
4515925991
timed thread stuff
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@950 7f574dfc-610e-0410-a909-a81674777703
2007-09-02 00:58:42 +00:00
Philip Kovacs
06f05f5da8
timed thread work
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@949 7f574dfc-610e-0410-a909-a81674777703
2007-09-01 21:18:52 +00:00
Philip Kovacs
9001e6857e
timed thread work
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@948 7f574dfc-610e-0410-a909-a81674777703
2007-09-01 21:07:40 +00:00
Philip Kovacs
4cdffa16c3
timed thread changes
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@947 7f574dfc-610e-0410-a909-a81674777703
2007-09-01 20:40:34 +00:00
Brenden Matthews
c09d5346a0
fix var clearing stuff in mpd thread
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@946 7f574dfc-610e-0410-a909-a81674777703
2007-09-01 20:36:56 +00:00
Brenden Matthews
0863020b6e
unlock mutexes correctly
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@945 7f574dfc-610e-0410-a909-a81674777703
2007-09-01 18:18:26 +00:00
Brenden Matthews
0ae51e37ee
fix clearing issue with mpd
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@944 7f574dfc-610e-0410-a909-a81674777703
2007-08-31 23:45:41 +00:00
Philip Kovacs
6c052dae9b
Fix timed thread race condition, seen esp. on new kernel scheduler (cfs).
...
Fix $audacious_title not being displayed when no length argument indicated.
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@943 7f574dfc-610e-0410-a909-a81674777703
2007-08-31 21:35:30 +00:00
Brenden Matthews
ef272217d9
* _Really_ fix mpd SIGPIPE issues
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@942 7f574dfc-610e-0410-a909-a81674777703
2007-08-31 18:32:51 +00:00
Brenden Matthews
c16e2a66fe
fixup mpd stuff
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@936 7f574dfc-610e-0410-a909-a81674777703
2007-08-31 03:37:32 +00:00
Brenden Matthews
12baf6c0b4
some small fixes for mpd stuff
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@935 7f574dfc-610e-0410-a909-a81674777703
2007-08-31 02:05:02 +00:00
Brenden Matthews
2fcd64d59e
* Use timed_thread for mpd
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@934 7f574dfc-610e-0410-a909-a81674777703
2007-08-30 17:21:30 +00:00
Brenden Matthews
9b71a6cd7b
* Fixed issue with SIGPIPE and mpd
...
* Updated COPYING (with more clarifications)
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@927 7f574dfc-610e-0410-a909-a81674777703
2007-08-27 20:26:58 +00:00
Brenden Matthews
196235df06
adding prss.h to makefile.am so its actually included in the dist
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@926 7f574dfc-610e-0410-a909-a81674777703
2007-08-24 02:00:18 +00:00
Roman Bogorodskiy
2addde8cc4
Never commit stuff before you're going to bed.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@925 7f574dfc-610e-0410-a909-a81674777703
2007-08-22 05:11:06 +00:00
Roman Bogorodskiy
3c0aaee4dc
Fix a typo - variable was used before declarated and
...
the code was broken, though it was under #ifdef i386,
so conky compiled fine on other arches.
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@924 7f574dfc-610e-0410-a909-a81674777703
2007-08-21 18:40:08 +00:00
Philip Kovacs
10a5ee6074
hwmon leveraging existing code
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@922 7f574dfc-610e-0410-a909-a81674777703
2007-08-13 23:14:01 +00:00
Philip Kovacs
f72122bd06
svn merge -rHEAD:918 .
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@921 7f574dfc-610e-0410-a909-a81674777703
2007-08-13 19:09:33 +00:00
Toni Spets
f296609096
really apply the hwmon patch (tracker item 1650894)
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@919 7f574dfc-610e-0410-a909-a81674777703
2007-08-13 17:33:41 +00:00
Philip Kovacs
1b509f9357
platform stuff
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@918 7f574dfc-610e-0410-a909-a81674777703
2007-08-13 00:56:42 +00:00
Philip Kovacs
33943bda7c
* Added var $platform which is similar to $i2c and accommodates the conversion
...
of many devices from /sys/bus/i2c/devices to /sys/bus/platform/devices.
* Removed config item post_21_kernel since it forced all i2c device lookups
to go to /sys/bus/platform/devices and some people may need a mix of both
i2c and platform devices.
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@917 7f574dfc-610e-0410-a909-a81674777703
2007-08-13 00:28:48 +00:00
Toni Spets
dc676df556
That one neither
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@916 7f574dfc-610e-0410-a909-a81674777703
2007-08-10 21:17:53 +00:00
Toni Spets
73869df9af
Whoops. Didn't see that coming.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@915 7f574dfc-610e-0410-a909-a81674777703
2007-08-10 21:16:44 +00:00
Toni Spets
116ff7b661
Removed more unused stuff from openbsd.c
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@914 7f574dfc-610e-0410-a909-a81674777703
2007-08-10 21:14:06 +00:00
Philip Kovacs
69a3ce9b9a
fix unused parameter warning
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@913 7f574dfc-610e-0410-a909-a81674777703
2007-08-10 21:08:09 +00:00
Toni Spets
fc7c9b5fae
Removed ACPI battery code for OpenBSD
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@912 7f574dfc-610e-0410-a909-a81674777703
2007-08-10 21:06:30 +00:00
Toni Spets
dbe5ee1f3f
Didn't remove all references to linkstatus ;-)
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@910 7f574dfc-610e-0410-a909-a81674777703
2007-08-10 20:57:14 +00:00
Toni Spets
8370c19025
Remove deprecated linkstatus completely from conky source
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@909 7f574dfc-610e-0410-a909-a81674777703
2007-08-10 20:51:36 +00:00
Toni Spets
5dbf418c2d
Fixed wireless documentation. Fixed wireless quality display when its zero. Added copyright notes.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@907 7f574dfc-610e-0410-a909-a81674777703
2007-08-10 20:38:58 +00:00
Philip Kovacs
64b34981f3
update copywrite dates where appropriate
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@905 7f574dfc-610e-0410-a909-a81674777703
2007-08-10 20:09:43 +00:00
Brenden Matthews
27b4c8550c
clarifying licensing
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@904 7f574dfc-610e-0410-a909-a81674777703
2007-08-10 19:53:44 +00:00
Toni Spets
772619e99a
Probably fixed wireless spacer
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@903 7f574dfc-610e-0410-a909-a81674777703
2007-08-08 08:59:44 +00:00
Toni Spets
b8b4694fca
Incorrectly pasted stuff in configure.ac.in screwed the build process. Updated ChangeLog.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@902 7f574dfc-610e-0410-a909-a81674777703
2007-08-08 02:12:46 +00:00
Toni Spets
6b553ec7de
Added spacer for wireless variables. Fixed some tabs. Disabled old wireless code.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@900 7f574dfc-610e-0410-a909-a81674777703
2007-08-07 23:18:02 +00:00
Toni Spets
602998c06d
Added wireless_link_qual_perc. Cleaned unused variables from wireless code. Updated prss source. Had 6 hours of sleep.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@898 7f574dfc-610e-0410-a909-a81674777703
2007-08-07 22:05:06 +00:00
Toni Spets
f5c69ca5a5
Whoops. Need some lunch ->
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@897 7f574dfc-610e-0410-a909-a81674777703
2007-08-07 12:54:13 +00:00
Toni Spets
a3e81ae59f
RSS was not really disabled when it was supposed to be. Experimental wireless support.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@896 7f574dfc-610e-0410-a909-a81674777703
2007-08-07 12:51:08 +00:00
Toni Spets
43f30219e9
Fixed incorrect ACPI battery percentage (using last known full capacity instead of designed capacity)
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@895 7f574dfc-610e-0410-a909-a81674777703
2007-08-07 06:17:25 +00:00
Toni Spets
3bc35afa30
Fixed major issues with ACPI batteries
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@894 7f574dfc-610e-0410-a909-a81674777703
2007-08-07 06:05:19 +00:00
Roman Bogorodskiy
cf49198176
Remove freebsd wifi stuff since the API seems to be
...
changed and I have no wifi devices to test it.
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@893 7f574dfc-610e-0410-a909-a81674777703
2007-08-06 16:42:48 +00:00
Brenden Matthews
7793867d6b
* Updated to libmpdclient 0.13.0
...
* Added post_21_kernel config param to specify kernels 2.6.22 and newer
so i2c works properly
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@890 7f574dfc-610e-0410-a909-a81674777703
2007-08-05 22:16:26 +00:00
Brenden Matthews
f95d63bf56
* Fixed potential issue on FreeBSD when nprocs < 10 (thanks zotrix)
...
* Added support for multiple batteries when using acpi (thanks Phil)
* a bunch of code cleanups (thanks Psychon)
* added max length paramater to mpd_title (thinks fow)
* a number of small bug fixes
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@889 7f574dfc-610e-0410-a909-a81674777703
2007-08-05 04:47:21 +00:00
Toni Spets
906e7e8bfd
Removed the first new line in RSS titles
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@888 7f574dfc-610e-0410-a909-a81674777703
2007-07-19 16:32:00 +00:00
Philip Kovacs
55811b7f53
Fix displaying 4 GB traffic after reloading network driver, patch #1754260 . thanks sohalt.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@886 7f574dfc-610e-0410-a909-a81674777703
2007-07-15 18:21:04 +00:00
Philip Kovacs
c559001bab
Fix PID display, patch #1753934 . thanks sohalt.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@885 7f574dfc-610e-0410-a909-a81674777703
2007-07-15 18:11:35 +00:00
Philip Kovacs
6c95750cc6
Right-justify top/top_mem vars (pid/cpu/mem} so they align on the decimal.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@881 7f574dfc-610e-0410-a909-a81674777703
2007-06-23 00:29:54 +00:00
Toni Spets
204886795a
Fixed crash when RSS feed item didn't have title
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@879 7f574dfc-610e-0410-a909-a81674777703
2007-06-06 14:19:09 +00:00
Philip Kovacs
02960c2c7f
fix scan_font nonsense
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@878 7f574dfc-610e-0410-a909-a81674777703
2007-06-05 19:02:51 +00:00
Philip Kovacs
a2cfdd4c67
fix scan_font nonsense
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@877 7f574dfc-610e-0410-a909-a81674777703
2007-06-05 18:54:39 +00:00
Toni Spets
2c8426dcc7
Again fixed things in the RSS code. Removed possible trailing \n from RSS data. Hopefully fixed iconv memory freeing problems. Graps had non-freed malloced data.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@876 7f574dfc-610e-0410-a909-a81674777703
2007-06-03 11:20:47 +00:00
Toni Spets
3872bafeef
Fixed memory leaks found with valgrind
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@875 7f574dfc-610e-0410-a909-a81674777703
2007-06-03 09:18:54 +00:00
Toni Spets
615fb19723
Crashing in RSS code probably fixed. Memory leak in prss fixed.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@874 7f574dfc-610e-0410-a909-a81674777703
2007-06-03 08:58:05 +00:00
Toni Spets
b6d1465635
RSS updates: more flexible output and updated prss code
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@873 7f574dfc-610e-0410-a909-a81674777703
2007-06-02 08:17:33 +00:00
Toni Spets
92e5028b99
Working multifeed RSS - needs testing
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@872 7f574dfc-610e-0410-a909-a81674777703
2007-06-01 15:49:49 +00:00
Toni Spets
a4841496e1
Forgot to uncomment one line in the RSS code.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@870 7f574dfc-610e-0410-a909-a81674777703
2007-06-01 11:46:14 +00:00
Toni Spets
f874e4e441
libcurl support added to download RSS feeds (automake and autoconf scripts still needs updating)
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@869 7f574dfc-610e-0410-a909-a81674777703
2007-06-01 11:37:19 +00:00
Toni Spets
3fdb6b7027
New initial RSS code. Parser written by Sisu (Mikko Sysikaski) with more portable libxml2. It is still unstable and in development.\n\nNote: automake and autoconf scripts needs to be updated to support libxml2\!
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@868 7f574dfc-610e-0410-a909-a81674777703
2007-06-01 10:42:57 +00:00
Toni Spets
90b318f9cb
cleaned openbsd code and changed warning/error printf's to ERR/CRIT_ERR
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@867 7f574dfc-610e-0410-a909-a81674777703
2007-05-06 13:00:35 +00:00
Roman Bogorodskiy
904d5c9afa
Oops, forgot to add rss.c file.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@866 7f574dfc-610e-0410-a909-a81674777703
2007-05-06 12:59:31 +00:00
Roman Bogorodskiy
85fdf4bf7e
- Remove debug printf's from RSS code
...
- Don't eat last char of the RSS title
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@865 7f574dfc-610e-0410-a909-a81674777703
2007-05-06 12:33:38 +00:00
Roman Bogorodskiy
3b03ca2a76
Experimental RSS code.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@864 7f574dfc-610e-0410-a909-a81674777703
2007-05-06 12:17:13 +00:00
Toni Spets
d5634abad4
apm should work with openbsd now
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@863 7f574dfc-610e-0410-a909-a81674777703
2007-05-06 12:13:38 +00:00
Toni Spets
a2fbf01fe2
fixed apm_adapter for both openbsd and freebsd and some build warnings cleaned
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@862 7f574dfc-610e-0410-a909-a81674777703
2007-05-06 09:32:21 +00:00
Toni Spets
f9cab2a051
get_battery_* stubs for openbsd.c
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@861 7f574dfc-610e-0410-a909-a81674777703
2007-05-06 07:25:00 +00:00
Roman Bogorodskiy
60764129c1
Fix build on teh free bds.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@859 7f574dfc-610e-0410-a909-a81674777703
2007-05-05 16:46:12 +00:00
Philip Kovacs
60b842df90
added color[0-9] variable patch (thanks jieryn)
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@858 7f574dfc-610e-0410-a909-a81674777703
2007-04-25 17:22:06 +00:00
Roman Bogorodskiy
7515d8319a
Fix build on FreeBSD on arches !(i386 or amd64).
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@857 7f574dfc-610e-0410-a909-a81674777703
2007-04-15 04:58:41 +00:00
Brenden Matthews
fc72692cc7
* Added if_existing patch for string matching (thanks cromka)
...
* Added hwmon support (thanks flitsch)
* Some xmms2 updates (thanks sleipner)
* Added $battery_percent and $battery_bar (thanks akash)
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@855 7f574dfc-610e-0410-a909-a81674777703
2007-04-06 06:11:53 +00:00
Brenden Matthews
3d9d260f4c
Added if_empty patch (thanks Erik)
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@854 7f574dfc-610e-0410-a909-a81674777703
2007-04-06 05:01:48 +00:00
Roman Bogorodskiy
a38ecf286d
Not sure if a right fix, but no segault at least.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@851 7f574dfc-610e-0410-a909-a81674777703
2007-03-28 18:43:53 +00:00
Roman Bogorodskiy
164839a299
Fix build on all platforms that doesn't have memrchr() function,
...
not just workaround it for OpenBSD only.
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@850 7f574dfc-610e-0410-a909-a81674777703
2007-03-28 17:53:40 +00:00
Brenden Matthews
f528f66c49
woops, forget to add openbsd source
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@849 7f574dfc-610e-0410-a909-a81674777703
2007-03-01 01:46:11 +00:00
Brenden Matthews
0ab1d8b96a
* OpenBSD support added to Conky (thanks hifi)
...
* Updated mboxscan stuff (thanks calmar)
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@848 7f574dfc-610e-0410-a909-a81674777703
2007-03-01 01:43:43 +00:00
Philip Kovacs
ed0a7b31ba
fix uninitialized warnings
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@845 7f574dfc-610e-0410-a909-a81674777703
2007-02-26 20:56:43 +00:00
Philip Kovacs
4f7f4bf11e
conky 1.4.6-svn trunk
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@836 7f574dfc-610e-0410-a909-a81674777703
2007-02-25 23:35:53 +00:00
Philip Kovacs
70add5d09d
include missing mboxscan.h;
...
fix signedness warnings
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@832 7f574dfc-610e-0410-a909-a81674777703
2007-02-14 19:45:18 +00:00
Brenden Matthews
45acd5c3b9
* Added buffer_text_size option to change the size of the buffer for
...
things like $exec, $tail, et cetera
* Added $mboxscan which lets you display the Subject and From fields
from recent email in an mbox file
* Disambiguated (is that a word?) $cpu docs
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@831 7f574dfc-610e-0410-a909-a81674777703
2007-02-12 01:03:10 +00:00
Philip Kovacs
b85ae9209b
fallback to gettimeofday () if no clock_gettime () (mac os)
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@830 7f574dfc-610e-0410-a909-a81674777703
2007-01-15 00:02:38 +00:00
Philip Kovacs
1ff451efdd
api change for dexter_timedsampler_new
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@829 7f574dfc-610e-0410-a909-a81674777703
2007-01-10 02:57:58 +00:00
Philip Kovacs
6776714d9a
remove ftp.[ch] from src/Makefile.am
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@827 7f574dfc-610e-0410-a909-a81674777703
2007-01-08 01:34:00 +00:00
Philip Kovacs
c268b7130e
claen up warnings
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@826 7f574dfc-610e-0410-a909-a81674777703
2007-01-08 01:27:30 +00:00
Philip Kovacs
3006f7574a
add config.rpath to satisfy AM_ICONV
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@825 7f574dfc-610e-0410-a909-a81674777703
2007-01-08 01:10:12 +00:00
Philip Kovacs
75a8cfc091
fix warnings
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@824 7f574dfc-610e-0410-a909-a81674777703
2006-12-29 23:38:57 +00:00
Brenden Matthews
5cfe6b093d
head/tail rewrite patch
...
diskio read/write patch
added check for zlib to configure script
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@823 7f574dfc-610e-0410-a909-a81674777703
2006-12-29 23:14:31 +00:00
Brenden Matthews
2ab7627099
removing useless code
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@821 7f574dfc-610e-0410-a909-a81674777703
2006-12-28 05:15:36 +00:00
Philip Kovacs
302fae854c
clear conky vars on disconnect/failure to open files
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@820 7f574dfc-610e-0410-a909-a81674777703
2006-12-26 20:49:35 +00:00
Brenden Matthews
c7f9e4033a
upgrading libmpdclient to 0.12.0
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@819 7f574dfc-610e-0410-a909-a81674777703
2006-12-23 08:06:36 +00:00
Philip Kovacs
1c35f432e5
Conky 1.5.0 -- client/server prototype
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@818 7f574dfc-610e-0410-a909-a81674777703
2006-12-23 06:01:16 +00:00
Philip Kovacs
c42fe7b6ab
add license info to timed thread modules; update NEWS
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@817 7f574dfc-610e-0410-a909-a81674777703
2006-12-13 16:54:59 +00:00
Philip Kovacs
9405f780d6
Conky 1.4.5
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@815 7f574dfc-610e-0410-a909-a81674777703
2006-12-13 01:57:46 +00:00
Philip Kovacs
5ff932ff21
split battery off into battery and battery_time
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@814 7f574dfc-610e-0410-a909-a81674777703
2006-12-12 23:21:14 +00:00
Philip Kovacs
a2429c3197
simplify battery expressions
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@813 7f574dfc-610e-0410-a909-a81674777703
2006-12-12 03:24:29 +00:00
Philip Kovacs
c15f5d485c
fix battery issues
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@812 7f574dfc-610e-0410-a909-a81674777703
2006-12-12 01:20:10 +00:00
Philip Kovacs
4e8212d978
close pop3/imap sockets
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@811 7f574dfc-610e-0410-a909-a81674777703
2006-12-11 19:04:58 +00:00
Philip Kovacs
09fda8a54f
fix boundary error in portmon code
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@810 7f574dfc-610e-0410-a909-a81674777703
2006-12-10 05:57:37 +00:00
Philip Kovacs
91ca82eb3b
fix peek table bug with new portmon code
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@809 7f574dfc-610e-0410-a909-a81674777703
2006-12-10 05:11:54 +00:00
Philip Kovacs
e4713dc790
use GLib GHashTable for port monitors
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@806 7f574dfc-610e-0410-a909-a81674777703
2006-12-09 05:40:08 +00:00
Philip Kovacs
e881609a07
complete/correct source and authorship attribution
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@805 7f574dfc-610e-0410-a909-a81674777703
2006-12-08 02:45:14 +00:00
Roman Bogorodskiy
de84fcac2a
Fix ${freq} and ${freq_g} on FreeBSD.
...
Reported by: Karsten Rothemund <karsten@photor.de>
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@804 7f574dfc-610e-0410-a909-a81674777703
2006-12-03 18:10:21 +00:00
Philip Kovacs
03d0ad83b8
test_timed_thread: acquire mutex before calculating future time
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@803 7f574dfc-610e-0410-a909-a81674777703
2006-12-02 23:07:21 +00:00
Philip Kovacs
fe7f6b52be
acquire mutex before pthread_cond_timedwait
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@802 7f574dfc-610e-0410-a909-a81674777703
2006-12-02 00:02:25 +00:00
Philip Kovacs
90f79edbea
entropy: close fp1 on fp2 open failure
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@801 7f574dfc-610e-0410-a909-a81674777703
2006-12-01 22:47:40 +00:00
Philip Kovacs
afcae6eba5
add max_length to audacious_title
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@800 7f574dfc-610e-0410-a909-a81674777703
2006-12-01 00:29:12 +00:00
Philip Kovacs
9a016c9377
added , , for crypto freaks
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@797 7f574dfc-610e-0410-a909-a81674777703
2006-11-30 20:46:34 +00:00
Philip Kovacs
57688b94d5
remove sleep() calls from pop2/imap code; remove debug statements on terminal. e.g. hints, thread destruction
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@796 7f574dfc-610e-0410-a909-a81674777703
2006-11-28 07:26:57 +00:00
Philip Kovacs
9609a330d8
add max_specials config item with default 512. really closes bug #1574523
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@793 7f574dfc-610e-0410-a909-a81674777703
2006-11-22 21:53:54 +00:00
Philip Kovacs
a860dd581b
fix compile error with --disable-xdamage when Xdamage.h not present
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@784 7f574dfc-610e-0410-a909-a81674777703
2006-11-20 20:17:46 +00:00
Philip Kovacs
73aa3c2b4c
how about actually reading the battery vars -- doh
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@782 7f574dfc-610e-0410-a909-a81674777703
2006-11-18 23:39:43 +00:00
Philip Kovacs
f6243f409a
ebuild changes for gvim/vim
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@780 7f574dfc-610e-0410-a909-a81674777703
2006-11-15 22:27:37 +00:00
Philip Kovacs
b85f8a65bc
linkstatus formatting
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@779 7f574dfc-610e-0410-a909-a81674777703
2006-11-15 20:35:32 +00:00
Philip Kovacs
ef3d0a19fe
linkstatus now follows use_spacer. closes bug #1577580
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@778 7f574dfc-610e-0410-a909-a81674777703
2006-11-15 20:24:43 +00:00
Philip Kovacs
d9cc831fdd
fix reported memory var overflow by using unsigned long long
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@775 7f574dfc-610e-0410-a909-a81674777703
2006-11-15 03:28:37 +00:00
Philip Kovacs
358abc96c0
typo
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@774 7f574dfc-610e-0410-a909-a81674777703
2006-11-15 01:49:47 +00:00
Philip Kovacs
7173afcbdf
set ptr to NULL after free
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@773 7f574dfc-610e-0410-a909-a81674777703
2006-11-15 01:48:06 +00:00
Philip Kovacs
5a91ebca4e
convert all thread activity to timed thread abstraction
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@772 7f574dfc-610e-0410-a909-a81674777703
2006-11-15 01:20:49 +00:00
Philip Kovacs
615f0be933
keywords
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@771 7f574dfc-610e-0410-a909-a81674777703
2006-11-14 22:31:12 +00:00
Philip Kovacs
eec3c9210b
new timed thread abstraction layer
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@770 7f574dfc-610e-0410-a909-a81674777703
2006-11-14 22:30:31 +00:00
Philip Kovacs
b681774918
fix compile error with --disable-x11
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@769 7f574dfc-610e-0410-a909-a81674777703
2006-11-14 22:10:28 +00:00
Philip Kovacs
57389448a9
minor cleanup
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@768 7f574dfc-610e-0410-a909-a81674777703
2006-11-14 05:27:28 +00:00
Philip Kovacs
e6af47a76f
audacious thread timing the correct way -- texeci's to follow
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@766 7f574dfc-610e-0410-a909-a81674777703
2006-11-14 02:04:27 +00:00
Roman Bogorodskiy
38d2d64b08
Cleanup wifi code a bit.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@758 7f574dfc-610e-0410-a909-a81674777703
2006-11-12 14:17:31 +00:00
Roman Bogorodskiy
60393cc107
Include <string.h> for strncpy().
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@757 7f574dfc-610e-0410-a909-a81674777703
2006-11-12 06:38:21 +00:00
Roman Bogorodskiy
112253e474
Fix build on FreeBSD.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@756 7f574dfc-610e-0410-a909-a81674777703
2006-11-12 06:11:47 +00:00
Philip Kovacs
4d3891e76d
Fixed BadWindow bugs ( #1568366 , #1588384 )
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@755 7f574dfc-610e-0410-a909-a81674777703
2006-11-12 04:14:29 +00:00
Philip Kovacs
ad33cf9904
close bug #1591609 ; remove deprecated vars
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@746 7f574dfc-610e-0410-a909-a81674777703
2006-11-11 01:15:28 +00:00
Philip Kovacs
5c61f80c41
add new config item - max_user_text - to allow for large config files
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@741 7f574dfc-610e-0410-a909-a81674777703
2006-11-09 00:33:46 +00:00
Philip Kovacs
9bbdaa03c5
SIGUSR1 fix on freebsd and linux
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@738 7f574dfc-610e-0410-a909-a81674777703
2006-11-08 03:06:42 +00:00
Philip Kovacs
2d4ba18b27
remove bogus cairo junk
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@737 7f574dfc-610e-0410-a909-a81674777703
2006-11-08 00:36:21 +00:00
Philip Kovacs
88024b07ce
fix sigsegv on SIGUSR1
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@736 7f574dfc-610e-0410-a909-a81674777703
2006-11-08 00:09:06 +00:00
Philip Kovacs
a3b5a1a1c2
comment out imlib2 until brenden finishes it
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@735 7f574dfc-610e-0410-a909-a81674777703
2006-11-07 22:02:50 +00:00
Philip Kovacs
7d71ea09e8
minor macro changes
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@733 7f574dfc-610e-0410-a909-a81674777703
2006-11-07 02:19:58 +00:00
Philip Kovacs
4b37a0e158
configure x11/xext/xdamage with pkg-config, etc.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@731 7f574dfc-610e-0410-a909-a81674777703
2006-11-07 01:19:32 +00:00
Philip Kovacs
15fd6d6586
removed all mldonkey and seti code -- totally broken
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@727 7f574dfc-610e-0410-a909-a81674777703
2006-11-05 00:23:18 +00:00
Philip Kovacs
a59cc4d5c5
missing hddtemp #ifdef's
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@724 7f574dfc-610e-0410-a909-a81674777703
2006-11-04 17:55:00 +00:00
Philip Kovacs
3b01e8967f
typo
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@723 7f574dfc-610e-0410-a909-a81674777703
2006-11-04 01:08:53 +00:00
Philip Kovacs
d8786f91b2
remove infopipe kruft
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@722 7f574dfc-610e-0410-a909-a81674777703
2006-11-04 01:05:47 +00:00
Philip Kovacs
03ebbf2cf4
remove infopipe support
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@718 7f574dfc-610e-0410-a909-a81674777703
2006-11-04 00:25:22 +00:00
Philip Kovacs
0411537dce
subversion Id keyword
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@717 7f574dfc-610e-0410-a909-a81674777703
2006-11-03 22:33:27 +00:00
Philip Kovacs
a04199bb95
change xmms.h header reference
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@714 7f574dfc-610e-0410-a909-a81674777703
2006-11-03 21:07:06 +00:00
Philip Kovacs
87953b122b
removal of xmms/bmp / addition of audacious/infopipe
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@713 7f574dfc-610e-0410-a909-a81674777703
2006-11-03 20:54:52 +00:00
Roman Bogorodskiy
a5de2b09d9
Stepan Zastupov's "fucking patch" (that's how he identifies it
...
himself) for WiFi stuff. Basicly, we use strlcpy() instead of
strncpy(). strlcpy() is avaible since FreeBSD 3.3 and on
Debian/kFreeBSD and simular systems it's possible to install
a third party lib to get a support for it (if somebody cares).
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@712 7f574dfc-610e-0410-a909-a81674777703
2006-10-19 18:52:14 +00:00
Roman Bogorodskiy
00e92953b6
Add WiFi signal level detection support on FreeBSD (patch by
...
Stepan Zastupov).
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@711 7f574dfc-610e-0410-a909-a81674777703
2006-10-18 16:02:28 +00:00
Philip Kovacs
e2d80ba894
lol
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@710 7f574dfc-610e-0410-a909-a81674777703
2006-10-07 01:42:37 +00:00
Roman Bogorodskiy
18a86d7075
Fix buffer overflow in parsing LC_ALL, LC_CTYPE and LANG environment
...
variables by using dynamic arrays for storing it. This should fix a
core dumps for users with locale name longer than 10 chars.
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@707 7f574dfc-610e-0410-a909-a81674777703
2006-10-05 17:25:23 +00:00
Brenden Matthews
fa2477a8d8
small xdamage fix
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@706 7f574dfc-610e-0410-a909-a81674777703
2006-10-02 08:33:08 +00:00
Philip Kovacs
58c3dd47ce
fix last line bug
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@703 7f574dfc-610e-0410-a909-a81674777703
2006-09-28 04:54:46 +00:00
Philip Kovacs
f3fed13727
fix differ in signedness warnings seen under gcc-4.1
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@699 7f574dfc-610e-0410-a909-a81674777703
2006-09-01 17:11:14 +00:00
Philip Kovacs
40f78b11c4
fix type-punning warnings with -fstrict-aliasing (active with gcc-4.1 -O2)
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@698 7f574dfc-610e-0410-a909-a81674777703
2006-09-01 17:00:53 +00:00
Philip Kovacs
681fb80260
fixed compilation errors with --disable-x11; bug #1547164
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@697 7f574dfc-610e-0410-a909-a81674777703
2006-08-27 19:03:52 +00:00
Roman Bogorodskiy
78a52eaf0b
Loop as much times as we tald to loop.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@696 7f574dfc-610e-0410-a909-a81674777703
2006-08-24 18:14:22 +00:00
Roman Bogorodskiy
a71b2f8c3f
Fix build when configured with "--disable-x11" by moving
...
print_version() out of #ifdef X11.
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@695 7f574dfc-610e-0410-a909-a81674777703
2006-08-24 18:01:22 +00:00
Philip Kovacs
ea3cedd947
add libglib library variants
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@692 7f574dfc-610e-0410-a909-a81674777703
2006-08-17 17:48:17 +00:00
Roman Bogorodskiy
031d8d2779
Show info about compiled-in features in conky -v
.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@690 7f574dfc-610e-0410-a909-a81674777703
2006-08-12 06:36:58 +00:00
Roman Bogorodskiy
27731c50dc
- Comment out NetBSD/SanOS garbage
...
- Print OS information in `conky -v`
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@688 7f574dfc-610e-0410-a909-a81674777703
2006-08-12 06:10:18 +00:00
Roman Bogorodskiy
d21378f258
Merge back bmpx WIP, committed by mistake.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@687 7f574dfc-610e-0410-a909-a81674777703
2006-08-12 05:28:27 +00:00
Roman Bogorodskiy
bce19ecc84
- configure.in -> configure.ac
...
- Print a summary of the configure options
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@686 7f574dfc-610e-0410-a909-a81674777703
2006-08-12 05:19:40 +00:00
Philip Kovacs
de4f298f3c
ignore EINTR select interrupt
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@685 7f574dfc-610e-0410-a909-a81674777703
2006-08-11 19:13:32 +00:00
Roman Bogorodskiy
49a440b4de
Add missing header.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@684 7f574dfc-610e-0410-a909-a81674777703
2006-08-11 15:40:21 +00:00
Philip Kovacs
37b31512c7
degree sign
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@682 7f574dfc-610e-0410-a909-a81674777703
2006-08-11 00:25:25 +00:00
Philip Kovacs
7b67b4b12d
move units left
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@681 7f574dfc-610e-0410-a909-a81674777703
2006-08-11 00:00:16 +00:00
Philip Kovacs
e26a4dd4d5
add hddtemp.c and fix ? display
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@680 7f574dfc-610e-0410-a909-a81674777703
2006-08-10 23:49:59 +00:00
Philip Kovacs
ca79c81374
spock's hddtemp & goto patches
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@679 7f574dfc-610e-0410-a909-a81674777703
2006-08-10 16:56:13 +00:00
Roman Bogorodskiy
fe7ec00729
- Fix build on FreeBSD by moving volage stuff under #ifdef __linux__
...
and adjusting get_freq() prototype
- Fix Xdamage detection, make it not mandatory
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@678 7f574dfc-610e-0410-a909-a81674777703
2006-08-01 21:24:15 +00:00
Philip Kovacs
16e8431a25
tztime patch
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@677 7f574dfc-610e-0410-a909-a81674777703
2006-07-15 02:18:06 +00:00
Brenden Matthews
1c0acf9f50
tiny gradient fix
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@676 7f574dfc-610e-0410-a909-a81674777703
2006-06-22 04:39:22 +00:00
Brenden Matthews
b1871b9165
more battery stuff
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@675 7f574dfc-610e-0410-a909-a81674777703
2006-06-22 04:19:07 +00:00
Brenden Matthews
2943179494
Add check for battery not being present
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@674 7f574dfc-610e-0410-a909-a81674777703
2006-06-22 04:08:02 +00:00
Philip Kovacs
2783fa94a9
should be in_port_t
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@673 7f574dfc-610e-0410-a909-a81674777703
2006-06-19 00:01:51 +00:00
Brenden Matthews
2c990192cc
fixed order of variables and stuff (credit peter tarjan), small battery fix (credit Nexox sf.net patch 1500014)
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@671 7f574dfc-610e-0410-a909-a81674777703
2006-06-08 04:29:23 +00:00
Roman Bogorodskiy
7698ec7c7f
Fix build on FreeBSD.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@670 7f574dfc-610e-0410-a909-a81674777703
2006-06-07 10:56:37 +00:00
Brenden Matthews
701783331d
font stuff fixed?
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@663 7f574dfc-610e-0410-a909-a81674777703
2006-05-28 07:25:30 +00:00
Brenden Matthews
f9fa7f1d1c
fixed font bug
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@662 7f574dfc-610e-0410-a909-a81674777703
2006-05-28 04:25:34 +00:00
Brenden Matthews
2b40f6bc41
* Xdamage support
...
* Initial Imlib2 support (broken and not implemented correctly yet, im too tired to finish it tonight
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@661 7f574dfc-610e-0410-a909-a81674777703
2006-05-25 07:00:12 +00:00
Brenden Matthews
f95097fe89
experimental Xdamage support
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@660 7f574dfc-610e-0410-a909-a81674777703
2006-05-25 01:00:29 +00:00
Brenden Matthews
a2f6a470d9
experimental Xdamage support
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@659 7f574dfc-610e-0410-a909-a81674777703
2006-05-24 06:34:37 +00:00
Brenden Matthews
536489f676
fixed some errors
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@658 7f574dfc-610e-0410-a909-a81674777703
2006-05-24 00:46:50 +00:00
Brenden Matthews
39d836dcb1
cpu voltage patch
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@657 7f574dfc-610e-0410-a909-a81674777703
2006-05-24 00:23:47 +00:00
Brenden Matthews
a426a15d16
we don't need a warning every time
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@655 7f574dfc-610e-0410-a909-a81674777703
2006-05-22 17:12:39 +00:00
Brenden Matthews
e2c2f22c37
bye bye again possible mem leak
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@654 7f574dfc-610e-0410-a909-a81674777703
2006-05-22 03:29:19 +00:00
Brenden Matthews
1f7486f699
bye warning, bye possible mem leak
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@653 7f574dfc-610e-0410-a909-a81674777703
2006-05-22 03:26:44 +00:00
Brenden Matthews
843dc8e772
smp support for freq stuff
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@650 7f574dfc-610e-0410-a909-a81674777703
2006-05-22 02:49:22 +00:00
Brenden Matthews
867a657de9
more graph stuff
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@649 7f574dfc-610e-0410-a909-a81674777703
2006-05-19 01:40:37 +00:00
Brenden Matthews
57c08f8209
graph stuff
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@648 7f574dfc-610e-0410-a909-a81674777703
2006-05-19 01:37:45 +00:00
Brenden Matthews
85f75efa31
* Fixed issue with graphs not reaching all the way to the borders
...
(sf.net bug 1470480)
* Cleaned up units
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@647 7f574dfc-610e-0410-a909-a81674777703
2006-05-18 01:25:03 +00:00
Brenden Matthews
2d016d1daf
tiny fix
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@646 7f574dfc-610e-0410-a909-a81674777703
2006-05-18 00:56:18 +00:00
Brenden Matthews
ebc68c0dff
better units
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@645 7f574dfc-610e-0410-a909-a81674777703
2006-05-18 00:49:48 +00:00
Brenden Matthews
e06d6f1c25
xmms2 patch
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@644 7f574dfc-610e-0410-a909-a81674777703
2006-05-18 00:24:59 +00:00
Brenden Matthews
cda929a1e1
xmms2 patch
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@643 7f574dfc-610e-0410-a909-a81674777703
2006-05-18 00:22:39 +00:00
Brenden Matthews
1e882092e3
things
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@639 7f574dfc-610e-0410-a909-a81674777703
2006-05-16 03:38:02 +00:00
Brenden Matthews
b2bd458834
smarter new mail checking for imap
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@638 7f574dfc-610e-0410-a909-a81674777703
2006-05-14 07:13:55 +00:00
Brenden Matthews
77b9d8e118
better error messages
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@637 7f574dfc-610e-0410-a909-a81674777703
2006-05-14 07:05:05 +00:00
Brenden Matthews
6a64f332e6
fixed pop3 problem? try 2
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@636 7f574dfc-610e-0410-a909-a81674777703
2006-05-14 06:42:35 +00:00
Brenden Matthews
560877d23e
fixed pop3 problem?
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@635 7f574dfc-610e-0410-a909-a81674777703
2006-05-14 06:15:23 +00:00
Brenden Matthews
215876c14b
ahhh stupid mistake
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@634 7f574dfc-610e-0410-a909-a81674777703
2006-05-14 05:43:16 +00:00
Brenden Matthews
6af9a98aa0
added some mutexes to the threading stuff to be safe
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@633 7f574dfc-610e-0410-a909-a81674777703
2006-05-14 04:49:55 +00:00
Brenden Matthews
f0b0fd7a7e
small configure changes
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@632 7f574dfc-610e-0410-a909-a81674777703
2006-05-13 20:14:26 +00:00
Brenden Matthews
98f3aa9208
iconv support
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@631 7f574dfc-610e-0410-a909-a81674777703
2006-05-13 19:51:26 +00:00
Brenden Matthews
5ac5aaece1
added memset to make mail stuff prettier
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@630 7f574dfc-610e-0410-a909-a81674777703
2006-05-12 18:06:12 +00:00
Roman Bogorodskiy
ff1404dab2
- Fix BMPx support. BMPx 0.14.0 or newer is required now
...
- Add forgotten headers for imap stuff to fix build on FreeBSD
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@629 7f574dfc-610e-0410-a909-a81674777703
2006-05-12 12:41:18 +00:00
Brenden Matthews
adbacc9f25
Changed $font behavior so that the font persists past the next newline. It can be set back to the default with $font with no args. (closes bug 1478676 on sf.net)
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@628 7f574dfc-610e-0410-a909-a81674777703
2006-05-09 23:08:23 +00:00
Brenden Matthews
8365978b5e
cleaned up mail code a bit
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@627 7f574dfc-610e-0410-a909-a81674777703
2006-05-09 22:39:39 +00:00
Brenden Matthews
589602aacf
imap and pop3 clients
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@626 7f574dfc-610e-0410-a909-a81674777703
2006-05-08 22:34:38 +00:00
Brenden Matthews
d9d5bb0d72
fixed broken if/else stuff
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@624 7f574dfc-610e-0410-a909-a81674777703
2006-04-23 21:57:04 +00:00
Brenden Matthews
3082207800
woops, fixed batt stuff
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@623 7f574dfc-610e-0410-a909-a81674777703
2006-04-23 21:37:59 +00:00
Brenden Matthews
c9502198c9
powerbook battery patch
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@622 7f574dfc-610e-0410-a909-a81674777703
2006-04-23 21:35:31 +00:00
Brenden Matthews
d904c1dba0
xmms2 fixes (sf.net patch 1469523)
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@621 7f574dfc-610e-0410-a909-a81674777703
2006-04-16 03:49:49 +00:00
Brenden Matthews
090f757823
- added patch from peter tarjan for ibm acpi\
...
- updated xft docs
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@620 7f574dfc-610e-0410-a909-a81674777703
2006-04-15 18:00:39 +00:00
Brenden Matthews
da74e54d4c
bye bye sa_restorer
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@619 7f574dfc-610e-0410-a909-a81674777703
2006-04-11 23:28:32 +00:00
Philip Kovacs
f2808dd02f
adt746x patch for kernel >= 2.6.12
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@618 7f574dfc-610e-0410-a909-a81674777703
2006-04-07 18:04:07 +00:00
Philip Kovacs
952447be94
add REMOTESERVICE to port monitor peekables
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@615 7f574dfc-610e-0410-a909-a81674777703
2006-03-30 18:14:18 +00:00
Philip Kovacs
6aef55aa00
scan ports as short. debian bug# 359974
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@614 7f574dfc-610e-0410-a909-a81674777703
2006-03-30 01:23:59 +00:00
Brenden Matthews
c4bf55b542
freebsd battery patch
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@613 7f574dfc-610e-0410-a909-a81674777703
2006-03-26 01:47:55 +00:00
Brenden Matthews
e8c9f49594
xmms2 patch
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@612 7f574dfc-610e-0410-a909-a81674777703
2006-03-25 21:21:07 +00:00
Roman Bogorodskiy
704b590071
- Fix networking stuff on FreeBSD (Petr Holub)
...
- Minor style fixes
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@611 7f574dfc-610e-0410-a909-a81674777703
2006-03-25 15:30:59 +00:00
Roman Bogorodskiy
6b857758eb
- Minor change to ${top} stuff to fix a possible
...
race condition (Petr Holub)
- Make autogen.sh a little bit more configurable.
Now it calls 'automake', 'autoconf' etc by default.
To match your disto name conventions for autotools,
you can run it like:
"AUTOCONF=autoconf-2.59 AUTOMAKE=automake18 ./autogen.sh"
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@610 7f574dfc-610e-0410-a909-a81674777703
2006-03-25 14:28:40 +00:00
Roman Bogorodskiy
255931c3b8
Return the blank line between includes and defines
...
accidentally removed in my last commit.
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@604 7f574dfc-610e-0410-a909-a81674777703
2006-03-22 19:35:58 +00:00
Roman Bogorodskiy
abecf3b63d
Re-arrange kvm code to fix memory leaks.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@603 7f574dfc-610e-0410-a909-a81674777703
2006-03-22 19:27:31 +00:00
Roman Bogorodskiy
25c3c7cbc9
- Fix memleaks in ${top(_mem)} code on FreeBSD (thanks to Petr Holub)
...
- Update ChangeLog
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@602 7f574dfc-610e-0410-a909-a81674777703
2006-03-21 11:32:59 +00:00
Roman Bogorodskiy
1fb0efb5f1
Make cstyle.pl(1) happy.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@601 7f574dfc-610e-0410-a909-a81674777703
2006-03-20 11:44:29 +00:00
Roman Bogorodskiy
c2fb9f583a
Started fixing ${top} and ${top_mem} stuff on
...
FreeBSD:
- fixed ${top_mem} sorting
- fixed crash if using ${top_mem name 1}
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@600 7f574dfc-610e-0410-a909-a81674777703
2006-03-18 16:04:36 +00:00
Roman Bogorodskiy
838674bbb3
Style issues. Mainly to check if my author redirection works on CIA.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@599 7f574dfc-610e-0410-a909-a81674777703
2006-03-16 20:52:20 +00:00
Jasper
2a35f75225
add a header to these files, just like in the other files.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@598 7f574dfc-610e-0410-a909-a81674777703
2006-03-16 18:29:23 +00:00
Jasper
00880a86a3
sort includes and remove two bogus whitelines.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@597 7f574dfc-610e-0410-a909-a81674777703
2006-03-16 18:07:31 +00:00
Jasper
e600689ed7
sort includes
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@596 7f574dfc-610e-0410-a909-a81674777703
2006-03-16 17:57:53 +00:00
Jasper
5b6d659400
sort includes and be more consitent with /* */
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@595 7f574dfc-610e-0410-a909-a81674777703
2006-03-16 16:20:30 +00:00
Jasper
744d73fe90
Fix typo in comment and sort includes.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@594 7f574dfc-610e-0410-a909-a81674777703
2006-03-16 13:55:39 +00:00
Jasper
62a9253384
sort #inludes according to OpenBSD's style(9).
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@593 7f574dfc-610e-0410-a909-a81674777703
2006-03-16 13:33:15 +00:00
Jasper
0ba7220eec
Remove an "#include <sys/time.h>" as it is included twice.
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@592 7f574dfc-610e-0410-a909-a81674777703
2006-03-16 08:01:46 +00:00
Brenden Matthews
e2da4c5118
freebsd patch from mirrorbox
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@586 7f574dfc-610e-0410-a909-a81674777703
2006-03-12 23:26:12 +00:00
Roman Bogorodskiy
4d3efcb965
- include <signal.h> (needed on *BSD)
...
- sa_restorer is avaible only on Linux
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@577 7f574dfc-610e-0410-a909-a81674777703
2006-03-11 20:28:10 +00:00
Philip Kovacs
06760dc4f3
x11.c revised for clarity
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@575 7f574dfc-610e-0410-a909-a81674777703
2006-03-09 18:51:57 +00:00
Philip Kovacs
aaa70cf062
added own_window_type override
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@570 7f574dfc-610e-0410-a909-a81674777703
2006-03-09 02:28:38 +00:00
Philip Kovacs
49c9b8d6d5
forward ButtonRelease too
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@569 7f574dfc-610e-0410-a909-a81674777703
2006-03-08 23:02:28 +00:00
Philip Kovacs
b93a28ee61
added own_window_type config item
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@568 7f574dfc-610e-0410-a909-a81674777703
2006-03-08 22:17:27 +00:00
Philip Kovacs
900b4e1e17
CARD32 is better
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@567 7f574dfc-610e-0410-a909-a81674777703
2006-03-08 06:31:18 +00:00
Philip Kovacs
3609fe4bb5
replaced uint32_t
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@565 7f574dfc-610e-0410-a909-a81674777703
2006-03-08 06:01:43 +00:00
Brenden Matthews
2734bc4d23
fixed bug with graphs resetting colour. sf.net bug 1420473
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@564 7f574dfc-610e-0410-a909-a81674777703
2006-03-08 05:48:34 +00:00
Philip Kovacs
5b4fcec386
misc doc
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@563 7f574dfc-610e-0410-a909-a81674777703
2006-03-08 04:14:50 +00:00
Philip Kovacs
12c36bd8d9
give parent a sec to terminate
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@559 7f574dfc-610e-0410-a909-a81674777703
2006-03-07 20:35:11 +00:00
Philip Kovacs
d7b85bbf02
find_desktop_window() api changes. window parent s/b root, not desktop,
...
otherwise the window manager may not control the window.
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@558 7f574dfc-610e-0410-a909-a81674777703
2006-03-07 19:46:51 +00:00
Brenden Matthews
cbec63ada1
batt
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@553 7f574dfc-610e-0410-a909-a81674777703
2006-03-07 06:39:25 +00:00
Brenden Matthews
4f5d0da56f
batt fixed? x11 stuff
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@552 7f574dfc-610e-0410-a909-a81674777703
2006-03-07 06:24:58 +00:00
Philip Kovacs
4df5f91016
EWMH sticky
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@551 7f574dfc-610e-0410-a909-a81674777703
2006-03-07 05:55:23 +00:00
Philip Kovacs
580c2c8f34
minor
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@550 7f574dfc-610e-0410-a909-a81674777703
2006-03-07 05:40:35 +00:00
Philip Kovacs
961ed9b4b1
ATOM bomb
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@549 7f574dfc-610e-0410-a909-a81674777703
2006-03-07 04:47:30 +00:00
Brenden Matthews
ac23be3d25
sticky hints
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@548 7f574dfc-610e-0410-a909-a81674777703
2006-03-07 04:23:55 +00:00
Philip Kovacs
8ad961d96f
hints fix, reprise???
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@547 7f574dfc-610e-0410-a909-a81674777703
2006-03-07 04:01:32 +00:00
Philip Kovacs
077b3dd15f
hints fix, reprise???
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@546 7f574dfc-610e-0410-a909-a81674777703
2006-03-07 03:53:45 +00:00
Philip Kovacs
1cc3eb98cd
hints fix???
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@545 7f574dfc-610e-0410-a909-a81674777703
2006-03-07 03:40:00 +00:00
Brenden Matthews
fdb633ce95
battery probs
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@544 7f574dfc-610e-0410-a909-a81674777703
2006-03-07 01:49:51 +00:00
Philip Kovacs
1d6a4ddde9
added own_window_hints
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@543 7f574dfc-610e-0410-a909-a81674777703
2006-03-06 23:35:41 +00:00
Brenden Matthews
a72572328f
fork fix
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@542 7f574dfc-610e-0410-a909-a81674777703
2006-03-06 06:57:30 +00:00
Philip Kovacs
d265a2d05a
conky back under WM control for own_window yes
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@541 7f574dfc-610e-0410-a909-a81674777703
2006-03-06 05:58:58 +00:00
Brenden Matthews
838da14952
alpha cpu freq patch
...
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@540 7f574dfc-610e-0410-a909-a81674777703
2006-03-06 00:33:32 +00:00