monky
15 years agoRevert "Disable config-output on FreeBSD."
Nikos Ntarmos [Thu, 14 May 2009 22:52:58 +0000 (01:52 +0300)]
Revert "Disable config-output on FreeBSD."

This reverts commit a54fa6a8f4e5356f3a2f24be6f7d3613349f0095.

Signed-off-by: Brenden Matthews <brenden@rty.ca>

15 years agoRemove unused variables and rearrange includes.
Nikos Ntarmos [Thu, 14 May 2009 22:39:54 +0000 (01:39 +0300)]
Remove unused variables and rearrange includes.

Signed-off-by: Brenden Matthews <brenden@rty.ca>

15 years agoconf_cookie valid only for Linux.
Nikos Ntarmos [Thu, 14 May 2009 22:36:50 +0000 (01:36 +0300)]
conf_cookie valid only for Linux.

Signed-off-by: Brenden Matthews <brenden@rty.ca>

15 years agoFixed parsing of $hwmon?
Brenden Matthews [Sun, 24 May 2009 03:01:59 +0000 (21:01 -0600)]
Fixed parsing of $hwmon?

15 years agoBetter checking for cases when inotify doesn't work.
Brenden Matthews [Fri, 22 May 2009 18:48:10 +0000 (12:48 -0600)]
Better checking for cases when inotify doesn't work.

15 years agoFix other parsing bug with hwmon.
Brenden Matthews [Fri, 22 May 2009 18:30:09 +0000 (12:30 -0600)]
Fix other parsing bug with hwmon.

15 years agoFix (possibly overkill) hwmon parsing bug.
Brenden Matthews [Fri, 22 May 2009 18:29:41 +0000 (12:29 -0600)]
Fix (possibly overkill) hwmon parsing bug.

15 years agoFix imlib2 cache setting.
Brenden Matthews [Fri, 22 May 2009 17:23:05 +0000 (11:23 -0600)]
Fix imlib2 cache setting.

15 years agoFix backwards width/height args for image drawing.
Brenden Matthews [Fri, 22 May 2009 07:39:38 +0000 (01:39 -0600)]
Fix backwards width/height args for image drawing.

15 years agoUse original image size when not specified.
Brenden Matthews [Fri, 22 May 2009 07:18:07 +0000 (01:18 -0600)]
Use original image size when not specified.

15 years agoBump to 1.7.2.
Brenden Matthews [Fri, 22 May 2009 05:03:06 +0000 (23:03 -0600)]
Bump to 1.7.2.

15 years agoOops, null pointer.
Brenden Matthews [Wed, 20 May 2009 17:53:43 +0000 (11:53 -0600)]
Oops, null pointer.

15 years agoOh yeah, make sure it compiles without inotify.
Brenden Matthews [Wed, 20 May 2009 04:56:33 +0000 (22:56 -0600)]
Oh yeah, make sure it compiles without inotify.

Also removed BSD licensing stuff that pertains to old torsmo code.

15 years agoAdd message to show the Lua script was reloaded.
Brenden Matthews [Wed, 20 May 2009 04:51:50 +0000 (22:51 -0600)]
Add message to show the Lua script was reloaded.

15 years agoAdded inotify support for reloading Lua scripts automagically.
Brenden Matthews [Wed, 20 May 2009 04:49:42 +0000 (22:49 -0600)]
Added inotify support for reloading Lua scripts automagically.

15 years agoImprove reload_config() window destruction/creation.
Brenden Matthews [Wed, 20 May 2009 03:34:43 +0000 (21:34 -0600)]
Improve reload_config() window destruction/creation.

15 years agoHandle inotify stuff a bit better.
Brenden Matthews [Wed, 20 May 2009 02:35:02 +0000 (20:35 -0600)]
Handle inotify stuff a bit better.

15 years agoOops, remove printf().
Brenden Matthews [Wed, 20 May 2009 02:23:44 +0000 (20:23 -0600)]
Oops, remove printf().

15 years agoInotify support.
Brenden Matthews [Tue, 19 May 2009 23:14:34 +0000 (17:14 -0600)]
Inotify support.

Added inotify support to reload the config when modified automatically
on systems that support it

15 years agoDon't need a prev ptr in this list.
Brenden Matthews [Mon, 18 May 2009 21:49:40 +0000 (15:49 -0600)]
Don't need a prev ptr in this list.

15 years agoPatch to fix rounding error with CPU values.
Filipe Ferreira [Mon, 18 May 2009 05:30:10 +0000 (23:30 -0600)]
Patch to fix rounding error with CPU values.

15 years agoAdded support for rending images by way of IMLIB2.
Brenden Matthews [Mon, 18 May 2009 05:11:22 +0000 (23:11 -0600)]
Added support for rending images by way of IMLIB2.

15 years agoMerge branch 'master' into imlib2
Brenden Matthews [Mon, 18 May 2009 04:11:40 +0000 (22:11 -0600)]
Merge branch 'master' into imlib2

Conflicts:
extras/nano/conky.nanorc
extras/vim/syntax/conkyrc.vim

15 years agoAdded support for the Lua programming language.
Brenden Matthews [Mon, 18 May 2009 04:03:37 +0000 (22:03 -0600)]
Added support for the Lua programming language.

Changelog update.

15 years agoMerge branch 'lua'
Brenden Matthews [Mon, 18 May 2009 04:00:44 +0000 (22:00 -0600)]
Merge branch 'lua'

Conflicts:
src/specials.c

15 years agoFix null pointer boog in $top stuff.
Brenden Matthews [Mon, 18 May 2009 03:59:05 +0000 (21:59 -0600)]
Fix null pointer boog in $top stuff.

15 years agoMerge branch 'master' into lua
Brenden Matthews [Mon, 18 May 2009 02:58:13 +0000 (20:58 -0600)]
Merge branch 'master' into lua

15 years agoexecbar can now be used in the shell even when compiled with x11 support
Nikolas Garofil [Sun, 17 May 2009 11:38:51 +0000 (13:38 +0200)]
execbar can now be used in the shell even when compiled with x11 support

15 years agoMore work on imlib2 stuff.
Brenden Matthews [Sun, 17 May 2009 05:47:02 +0000 (23:47 -0600)]
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.

15 years agoMerge branch 'master' into imlib2
Brenden Matthews [Sun, 17 May 2009 04:24:45 +0000 (22:24 -0600)]
Merge branch 'master' into imlib2

15 years agoOops, remove debug printf().
Brenden Matthews [Sun, 17 May 2009 04:24:22 +0000 (22:24 -0600)]
Oops, remove debug printf().

15 years agoMerge branch 'master' into imlib2
Brenden Matthews [Sun, 17 May 2009 00:37:11 +0000 (18:37 -0600)]
Merge branch 'master' into imlib2

15 years agoMerge branch 'master' into lua
Brenden Matthews [Sun, 17 May 2009 00:37:04 +0000 (18:37 -0600)]
Merge branch 'master' into lua

15 years agoMerge branch 'master' of git.omp.am:/home/omp/git/conky
Brenden Matthews [Sun, 17 May 2009 00:28:19 +0000 (18:28 -0600)]
Merge branch 'master' of git.omp.am:/home/omp/git/conky

15 years agoFixed comment stuff for real this time?
Brenden Matthews [Sun, 17 May 2009 00:28:04 +0000 (18:28 -0600)]
Fixed comment stuff for real this time?

15 years agoadd missing var
Nikolas Garofil [Sat, 16 May 2009 23:33:43 +0000 (01:33 +0200)]
add missing var

15 years agoFix docs.
Brenden Matthews [Sat, 16 May 2009 23:19:15 +0000 (17:19 -0600)]
Fix docs.

15 years agoMerge branch 'master' into lua
Brenden Matthews [Sat, 16 May 2009 23:08:50 +0000 (17:08 -0600)]
Merge branch 'master' into lua

15 years agoRemove unused var.
Brenden Matthews [Sat, 16 May 2009 23:08:37 +0000 (17:08 -0600)]
Remove unused var.

15 years agoMerge branch 'master' of git.omp.am:/home/omp/git/conky into lua
Brenden Matthews [Sat, 16 May 2009 23:05:30 +0000 (17:05 -0600)]
Merge branch 'master' of git.omp.am:/home/omp/git/conky into lua

Conflicts:
src/specials.c

15 years agoMore lua stuff.
Brenden Matthews [Sat, 16 May 2009 23:04:26 +0000 (17:04 -0600)]
More lua stuff.

15 years agoExecbar can now also be used on the shell
Nikolas Garofil [Sat, 16 May 2009 22:37:22 +0000 (00:37 +0200)]
Execbar can now also be used on the shell

15 years agoOh my, parse lua output.
Brenden Matthews [Sat, 16 May 2009 21:06:29 +0000 (15:06 -0600)]
Oh my, parse lua output.

15 years agoMerge branch 'master' into lua
Brenden Matthews [Sat, 16 May 2009 20:55:24 +0000 (14:55 -0600)]
Merge branch 'master' into lua

15 years agoCouple minor lua changes.
Brenden Matthews [Sat, 16 May 2009 20:55:05 +0000 (14:55 -0600)]
Couple minor lua changes.

15 years agoMoved the Lua function calling to it's own function
Toni Spets [Sat, 16 May 2009 17:57:43 +0000 (20:57 +0300)]
Moved the Lua function calling to it's own function

15 years agoSpecifically ask for an integer from Lua for percentage
Toni Spets [Sat, 16 May 2009 17:37:53 +0000 (20:37 +0300)]
Specifically ask for an integer from Lua for percentage

15 years agoUpdated AUTHORS to match Lua stuff, also updated my email
Toni Spets [Sat, 16 May 2009 17:32:47 +0000 (20:32 +0300)]
Updated AUTHORS to match Lua stuff, also updated my email

15 years agoUse a builtin config without X11-support when compiled without it
Nikolas Garofil [Sat, 16 May 2009 13:57:01 +0000 (15:57 +0200)]
Use a builtin config without X11-support when compiled without it

also, make sure X isn't initialised when compiled without x11-support

15 years agoBugfix: Segfault when starting with no configfile.
Nikolas Garofil [Sat, 16 May 2009 11:14:45 +0000 (13:14 +0200)]
Bugfix: Segfault when starting with no configfile.

15 years ago* Fix leaks
Toni Spets [Fri, 15 May 2009 20:35:18 +0000 (23:35 +0300)]
* Fix leaks
* Fix HUP behaviour - scripts are now reloaded on HUP
* Remove unneccessary calls to llua_close()

15 years agoRemove new lines from ERR messages
Toni Spets [Fri, 15 May 2009 20:01:08 +0000 (23:01 +0300)]
Remove new lines from ERR messages

15 years agoMerge branch 'master' into lua
Brenden Matthews [Fri, 15 May 2009 19:51:43 +0000 (13:51 -0600)]
Merge branch 'master' into lua

15 years agodisable OpenMP by default, i386 optimization problems
Toni Spets [Fri, 15 May 2009 19:39:47 +0000 (22:39 +0300)]
disable OpenMP by default, i386 optimization problems

15 years agoFix old copyright year
Toni Spets [Fri, 15 May 2009 18:48:11 +0000 (21:48 +0300)]
Fix old copyright year
Change all fprintf's to ERR()

15 years agoLua scripting support, initial commit
Toni Spets [Fri, 15 May 2009 18:08:51 +0000 (21:08 +0300)]
Lua scripting support, initial commit

15 years agoMerge branch 'master' of git.omp.am:/home/omp/git/conky
Brenden Matthews [Wed, 13 May 2009 18:29:09 +0000 (12:29 -0600)]
Merge branch 'master' of git.omp.am:/home/omp/git/conky

15 years agoFix remove_comments()?
Brenden Matthews [Wed, 13 May 2009 18:28:53 +0000 (12:28 -0600)]
Fix remove_comments()?

15 years agoBugfix: segfault with wrong config
Nikolas Garofil [Wed, 13 May 2009 18:25:14 +0000 (20:25 +0200)]
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

15 years agoMerge branch 'master' into imlib2
Brenden Matthews [Wed, 13 May 2009 00:07:20 +0000 (18:07 -0600)]
Merge branch 'master' into imlib2

15 years agoFix comment removal stuff so that it doesn't break $color.
Brenden Matthews [Wed, 13 May 2009 00:05:51 +0000 (18:05 -0600)]
Fix comment removal stuff so that it doesn't break $color.

15 years agoMerge branch 'master' into imlib2
Brenden Matthews [Tue, 12 May 2009 23:52:49 +0000 (17:52 -0600)]
Merge branch 'master' into imlib2

Conflicts:
src/Makefile.am

15 years agoadd interesting parts of my latest commits to the changelog
Phil Sutter [Tue, 12 May 2009 20:50:43 +0000 (22:50 +0200)]
add interesting parts of my latest commits to the changelog

15 years agoDon't check if_gw twice
Nikolas Garofil [Tue, 12 May 2009 18:25:40 +0000 (20:25 +0200)]
Don't check if_gw twice

15 years agoadd documentation about --print-config
Phil Sutter [Mon, 11 May 2009 23:58:41 +0000 (01:58 +0200)]
add documentation about --print-config

15 years agoadd system-wide config to FILES section
Phil Sutter [Mon, 11 May 2009 23:31:47 +0000 (01:31 +0200)]
add system-wide config to FILES section

15 years agorelying on the return value of scanf when using %n is bad
Phil Sutter [Sun, 10 May 2009 23:25:25 +0000 (01:25 +0200)]
relying on the return value of scanf when using %n is bad

15 years agofix human readable precision calculation
Phil Sutter [Sun, 10 May 2009 22:52:15 +0000 (00:52 +0200)]
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. ;)

15 years agohwmon: add args for value precalculation
Phil Sutter [Sun, 10 May 2009 22:22:02 +0000 (00:22 +0200)]
hwmon: add args for value precalculation

15 years agofix hwmon for 2.6.29, simplify code a bit
Phil Sutter [Sun, 10 May 2009 20:47:47 +0000 (22:47 +0200)]
fix hwmon for 2.6.29, simplify code a bit

15 years agoBugfix: if_gw only outputs if another gw var is in the if block (sf id 2784627)
Nikolas Garofil [Mon, 11 May 2009 17:47:24 +0000 (19:47 +0200)]
Bugfix: if_gw only outputs if another gw var is in the if block (sf id 2784627)

15 years agoRemove even more x11-stuff with --disable-x11
Nikolas Garofil [Mon, 11 May 2009 16:37:12 +0000 (18:37 +0200)]
Remove even more x11-stuff with --disable-x11

15 years agoAmmend AUTHORS.
Brenden Matthews [Sun, 10 May 2009 19:41:37 +0000 (13:41 -0600)]
Ammend AUTHORS.

15 years agoAPC UPS fixes.
Jaromir Smrcek [Sun, 10 May 2009 19:37:04 +0000 (13:37 -0600)]
APC UPS fixes.

15 years agoAdd note to git readme about doc generation.
Brenden Matthews [Sun, 10 May 2009 19:24:31 +0000 (13:24 -0600)]
Add note to git readme about doc generation.

15 years agono x11-stuff for apcupsd when disabled
Nikolas Garofil [Sun, 10 May 2009 19:18:20 +0000 (21:18 +0200)]
no x11-stuff for apcupsd when disabled

15 years agoVarious fixes.
Brenden Matthews [Sun, 10 May 2009 19:11:09 +0000 (13:11 -0600)]
Various fixes.

Added missing apcupsd.[hc], added apcupsd_loadgauge, fixed compilation
errors, updated docs & syntax stuff.

15 years agoAdded support for APC UPS daemon monitoring.
Jaromir Smrcek [Sun, 10 May 2009 18:58:06 +0000 (12:58 -0600)]
Added support for APC UPS daemon monitoring.

15 years agoRevert "autogen.sh needs README"
Brenden Matthews [Sun, 10 May 2009 17:59:30 +0000 (11:59 -0600)]
Revert "autogen.sh needs README"

This reverts commit 1d37629bfbc506eb32415b4bbbbd7d639e7b0276.

Conflicts:

README.git-version

15 years agoMerge branch 'master' of git.omp.am:/home/omp/git/conky
Brenden Matthews [Sun, 10 May 2009 17:52:32 +0000 (11:52 -0600)]
Merge branch 'master' of git.omp.am:/home/omp/git/conky

15 years agoModified autogen.sh so we shouldn't need the README in the git repo.
Brenden Matthews [Sun, 10 May 2009 17:52:03 +0000 (11:52 -0600)]
Modified autogen.sh so we shouldn't need the README in the git repo.

15 years agoFix for previous xmms2 patch.
Lassi Selander [Sun, 10 May 2009 17:44:57 +0000 (11:44 -0600)]
Fix for previous xmms2 patch.

15 years agono gauges, bars, ... when compiled without X11
Nikolas Garofil [Sun, 10 May 2009 12:14:21 +0000 (14:14 +0200)]
no gauges, bars, ... when compiled without X11

15 years agooptimize previous commit (thanks Plague)
Nikolas Garofil [Sun, 10 May 2009 11:44:13 +0000 (13:44 +0200)]
optimize previous commit (thanks Plague)

15 years agostrcpy shouldn't be used for overlapping strings
Nikolas Garofil [Sun, 10 May 2009 11:14:54 +0000 (13:14 +0200)]
strcpy shouldn't be used for overlapping strings

15 years agoBugfix: removing comments worked only partially
Nikolas Garofil [Sun, 10 May 2009 10:48:22 +0000 (12:48 +0200)]
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

15 years agoUpdate docs, remove deprecated code.
Brenden Matthews [Sun, 10 May 2009 05:30:42 +0000 (23:30 -0600)]
Update docs, remove deprecated code.

15 years agoFinish with check_docs.py.
Brenden Matthews [Sun, 10 May 2009 05:25:11 +0000 (23:25 -0600)]
Finish with check_docs.py.

This script checks consistency of docs, and automatically updates the
nano and vim syntax files.

15 years agoMake docs aboot gap/position stuff easier to find.
Brenden Matthews [Sun, 10 May 2009 04:14:10 +0000 (22:14 -0600)]
Make docs aboot gap/position stuff easier to find.

15 years agoMerge branch 'master' into imlib2
Brenden Matthews [Sun, 10 May 2009 03:14:39 +0000 (21:14 -0600)]
Merge branch 'master' into imlib2

15 years agoAllow the use of '#' for comments within text area (can be escaped with '\#'.
Brenden Matthews [Sun, 10 May 2009 02:10:55 +0000 (20:10 -0600)]
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).

15 years agoFix backwards mail stuff.
Brenden Matthews [Sun, 10 May 2009 01:20:05 +0000 (19:20 -0600)]
Fix backwards mail stuff.

15 years agoOnly enable OpenMP stuff for gcc >=4.3.
Brenden Matthews [Sat, 9 May 2009 18:00:09 +0000 (12:00 -0600)]
Only enable OpenMP stuff for gcc >=4.3.

15 years agoFix build errors.
Brenden Matthews [Sat, 9 May 2009 17:20:04 +0000 (11:20 -0600)]
Fix build errors.

15 years agoBugfix: vars related to graphics produced wrong output when not running in X
Nikolas Garofil [Sat, 9 May 2009 12:06:58 +0000 (14:06 +0200)]
Bugfix: vars related to graphics produced wrong output when not running in X

15 years agoAdd missing source files (genius here).
Brenden Matthews [Fri, 8 May 2009 20:42:34 +0000 (14:42 -0600)]
Add missing source files (genius here).

15 years agoMerge branch 'master' into imlib2
Brenden Matthews [Fri, 8 May 2009 20:38:55 +0000 (14:38 -0600)]
Merge branch 'master' into imlib2

15 years agoOnly include disp when needed
Nikolas Garofil [Fri, 8 May 2009 14:04:16 +0000 (16:04 +0200)]
Only include disp when needed

15 years agoBugfix: run update_uname also without X11
Nikolas Garofil [Fri, 8 May 2009 12:57:19 +0000 (14:57 +0200)]
Bugfix: run update_uname also without X11

15 years agoAdded top_name_width config option.
Brenden Matthews [Thu, 7 May 2009 23:49:32 +0000 (17:49 -0600)]
Added top_name_width config option.