Nikos Ntarmos [Mon, 20 Jul 2009 09:45:51 +0000 (12:45 +0300)]
Teach freebsd.c to use the new CRIT_ERR format
Signed-off-by: Nikos Ntarmos <ntarmos@cs.uoi.gr>
Signed-off-by: Brenden Matthews <brenden@rty.ca>
Brenden Matthews [Mon, 20 Jul 2009 15:59:31 +0000 (09:59 -0600)]
Better argument handling for rss/curl/weather.
Nikolas Garofil [Mon, 20 Jul 2009 15:42:17 +0000 (17:42 +0200)]
Include timed_thread.h when needed
Brenden Matthews [Mon, 20 Jul 2009 15:21:33 +0000 (09:21 -0600)]
Oops, add missing files.
Brenden Matthews [Mon, 20 Jul 2009 06:40:23 +0000 (00:40 -0600)]
Fix minor memleak.
Brenden Matthews [Mon, 20 Jul 2009 06:05:00 +0000 (00:05 -0600)]
Docs.
Brenden Matthews [Mon, 20 Jul 2009 06:02:52 +0000 (00:02 -0600)]
Bump rev.
Brenden Matthews [Mon, 20 Jul 2009 05:58:05 +0000 (23:58 -0600)]
Include *.pkg in dist too.
Brenden Matthews [Mon, 20 Jul 2009 05:46:48 +0000 (23:46 -0600)]
Changelog.
Brenden Matthews [Mon, 20 Jul 2009 05:45:55 +0000 (23:45 -0600)]
Merge branch 'master' of git.omp.am:/home/omp/git/conky
Conflicts:
configure.ac.in
Brenden Matthews [Mon, 20 Jul 2009 05:43:36 +0000 (23:43 -0600)]
Overhauled RSS and weather, added $curl.
I've taken the curl stuff out of weather and RSS and moved it into it's
own entity. It should be easier to create curl-based objects if needed
now.
Nikolas Garofil [Sun, 19 Jul 2009 23:02:27 +0000 (01:02 +0200)]
Cesare Tirabassi [Sun, 19 Jul 2009 22:43:41 +0000 (00:43 +0200)]
fix out-of-tree builds
Nikolas Garofil [Sun, 19 Jul 2009 21:34:31 +0000 (23:34 +0200)]
Merge branch 'master' of ssh://git.omp.am/home/omp/git/conky
Nikolas Garofil [Sun, 19 Jul 2009 21:31:11 +0000 (23:31 +0200)]
Fixed a tiny bug in configure.ac.in
From the automake docs:
"Note that you must arrange for every AM_CONDITIONAL to be invoked every time configure is run -- if AM_CONDITIONAL is run conditionally (e.g., in a shell if statement), then the result will confuse automake."
Brenden Matthews [Sun, 19 Jul 2009 21:28:19 +0000 (15:28 -0600)]
Handle curl errors better (in weather and rss).
Brenden Matthews [Sun, 19 Jul 2009 20:55:41 +0000 (14:55 -0600)]
Exit properly when forking.
Nikolas Garofil [Sun, 19 Jul 2009 19:56:07 +0000 (21:56 +0200)]
fix hardcoding
Nikolas Garofil [Sun, 19 Jul 2009 19:28:14 +0000 (21:28 +0200)]
Brenden Matthews [Sun, 19 Jul 2009 18:12:42 +0000 (12:12 -0600)]
Code formatting.
Brenden Matthews [Sun, 19 Jul 2009 18:02:23 +0000 (12:02 -0600)]
Ammend changelog.
Brenden Matthews [Sun, 19 Jul 2009 17:59:20 +0000 (11:59 -0600)]
Update MPD elapsed/progress when stopped.
Cesare Tirabassi [Sun, 19 Jul 2009 16:14:22 +0000 (18:14 +0200)]
add XOAP to list of compiled-in features, if enabled
Cesare Tirabassi [Sun, 19 Jul 2009 15:46:11 +0000 (17:46 +0200)]
updated configure print summary with new XOAP flag
Nikolas Garofil [Sat, 18 Jul 2009 22:36:05 +0000 (00:36 +0200)]
Workaround for bug SF id 2819128 ($color inside $scroll disabled)
Brenden Matthews [Sat, 18 Jul 2009 20:25:57 +0000 (14:25 -0600)]
Specials can be within multi-line objects.
Brenden Matthews [Sat, 18 Jul 2009 20:00:02 +0000 (14:00 -0600)]
Substitute newlines for everything but text.
Brenden Matthews [Sat, 18 Jul 2009 19:49:52 +0000 (13:49 -0600)]
Oops, fix multiline stuff.
Brenden Matthews [Sat, 18 Jul 2009 19:46:36 +0000 (13:46 -0600)]
Multiline alignment support, some other misc stuff.
Added support for X alignment across multi-lined objects (i.e., using
$alignr with $exec). This may be a bit buggy. Disabled OpenMP code
until GCC's implementation stabilizes (it's causing too many problems).
A couple Lua API changes.
Cesare Tirabassi [Sat, 18 Jul 2009 19:29:27 +0000 (21:29 +0200)]
add compilation switch --enable-xoap to be able to use weather.com as a source of weather data
Cesare Tirabassi [Sat, 18 Jul 2009 17:13:37 +0000 (19:13 +0200)]
Revert "Undid last 3 commits, see rest of the comment for the reason:"
First of all, we may or may not agree, but I consider reverting my
commits without prior discussion as a minimum unpolite.
I also don't like sites that oblige to register, thats the very reason
why I went with noaa first (and why I use that myself).
Howver, weather.com has a couple of nice features forom an user
viewpoint:
1. Their icons can be used to add a visual quality to the weather
report.
2. They have forecast data, which is not possible to have with noaa
(using TAF its an option, but its going to be very difficult and will
be limited in time and scope).
Nobody is obliged to do anything, people who likes noaa will use noaa,
people that don't mind register or wants the additional benefit will use
weather.com.
Having libxms2 as a dragged depends is, first of all, also with other
options (rss and eve), second we can try to work around it with an
additional compilation flag if really deemed necessary.
This reverts commit
d872562942812a7c71245acf7cc5f028bd4b7b4d.
Nikolas Garofil [Sat, 18 Jul 2009 14:22:43 +0000 (16:22 +0200)]
Undid last 3 commits, see rest of the comment for the reason:
I am not really comfortable with adding support to the conky-code
for sites that only work when you register, that's more something
for in a script.
But the biggest reason I undid the commits is that it is now
impossible to compile conky with support for weather if you don't
have the xml libs installed. Users used to be able to compile with
support for weather (using the other site) without xml2.
If you really want to include this other site in the conky code
then split WEATHER in WEATHERCOM and WEATHERNOAA (altough my personal
opinion is that weather.com should only be supported with scripts)
Cesare Tirabassi [Sat, 18 Jul 2009 14:07:17 +0000 (16:07 +0200)]
add one missing ifdef to conditionally compile weather code
Cesare Tirabassi [Sat, 18 Jul 2009 14:00:49 +0000 (16:00 +0200)]
Merge branch 'master' of git.omp.am:/home/omp/git/conky
Cesare Tirabassi [Sat, 18 Jul 2009 13:59:43 +0000 (15:59 +0200)]
Added weather.com as an additional source of weather data
Nikolas Garofil [Sat, 18 Jul 2009 09:37:15 +0000 (11:37 +0200)]
If nothing is read, n1 and n2 are not guaranteed to be 0
Nikolas Garofil [Sat, 18 Jul 2009 08:49:16 +0000 (10:49 +0200)]
Fix reloading config without X11
Cesare Tirabassi [Sat, 18 Jul 2009 05:57:04 +0000 (07:57 +0200)]
weather: use expf if --enable_math is given, otherwise use fast 3rd order approximation
Cesare Tirabassi [Sat, 18 Jul 2009 04:48:58 +0000 (06:48 +0200)]
weather: glib is not needed
Cesare Tirabassi [Sat, 18 Jul 2009 04:47:17 +0000 (06:47 +0200)]
Revert "weather: glib is not needed"
This reverts commit
d9cb0954416c0ddfb171f83da6c31232e4e1cf7c.
Cesare Tirabassi [Sat, 18 Jul 2009 04:42:25 +0000 (06:42 +0200)]
Merge branch 'master' of git.omp.am:/home/omp/git/conky
Cesare Tirabassi [Sat, 18 Jul 2009 04:39:54 +0000 (06:39 +0200)]
weather: glib is not needed
Nikolas Garofil [Fri, 17 Jul 2009 23:15:09 +0000 (01:15 +0200)]
Fix bug in $scroll (if there were only 2 args the 2nd couldn't be numerical)
Nikolas Garofil [Fri, 17 Jul 2009 16:37:46 +0000 (18:37 +0200)]
Nikolas Garofil [Fri, 17 Jul 2009 16:01:41 +0000 (18:01 +0200)]
Fix memleaks when reloading configuration and place same parts of main() and reload_config() in a seperate function
Nikolas Garofil [Thu, 16 Jul 2009 18:28:23 +0000 (20:28 +0200)]
Fix a lot of unimportant memleaks caused by a CRIT_ERR
Nikolas Garofil [Wed, 15 Jul 2009 22:31:22 +0000 (00:31 +0200)]
Show warnings when not running in X and vars like desktop or monitor are used
Nikolas Garofil [Wed, 15 Jul 2009 21:55:22 +0000 (23:55 +0200)]
Fix freeing unregistered mem when build when running without X
Nikolas Garofil [Wed, 15 Jul 2009 14:33:18 +0000 (16:33 +0200)]
Fix all memleaks that are clearly visible,
the default config should now run without memleaks, valgrind will
still report memleaks caused by the own_window-lines and the xft-lines
(in some cases) but those are caused by code that's not part of conky
Nikolas Garofil [Tue, 14 Jul 2009 17:17:14 +0000 (19:17 +0200)]
Cesare Tirabassi [Tue, 14 Jul 2009 16:47:00 +0000 (18:47 +0200)]
Merge branch 'master' of git.omp.am:/home/omp/git/conky
Cesare Tirabassi [Tue, 14 Jul 2009 16:46:15 +0000 (18:46 +0200)]
Fix Property Change Events are passes also to OWN_WINDOW
Nikolas Garofil [Tue, 14 Jul 2009 16:10:43 +0000 (18:10 +0200)]
Fix strange effects on desktop caused by
4a14668772a37b18a9aceb8951ece260084bc96e
Nikolas Garofil [Tue, 14 Jul 2009 16:05:49 +0000 (18:05 +0200)]
Fix memleaks introduced by g7bbde2b
Nikolas Garofil [Tue, 14 Jul 2009 15:43:27 +0000 (17:43 +0200)]
Fix building with strict compilers
Cesare Tirabassi [Tue, 14 Jul 2009 14:57:51 +0000 (16:57 +0200)]
refactored desktop info code so that its only called on X property events; TO DO doesn't work with own_window
Nikolas Garofil [Tue, 14 Jul 2009 14:07:33 +0000 (16:07 +0200)]
Fix a part of the memleaks in the X-related code,
if you remove all lines above TEXT in defconfig.h,
then it should run without memleaks.
Nikolas Garofil [Tue, 14 Jul 2009 10:47:24 +0000 (12:47 +0200)]
Fix memleaks when running with total_run_times
Brenden Matthews [Mon, 13 Jul 2009 22:11:21 +0000 (16:11 -0600)]
Use OBJ_THREAD() for weather, get rid of pointless return.
Brenden Matthews [Mon, 13 Jul 2009 21:21:42 +0000 (15:21 -0600)]
Merge branch 'master' of git.omp.am:/home/omp/git/conky
Brenden Matthews [Mon, 13 Jul 2009 21:21:25 +0000 (15:21 -0600)]
Fix minor $weather memleak.
Cesare Tirabassi [Mon, 13 Jul 2009 21:19:32 +0000 (23:19 +0200)]
Fix compilation with --disable-own-window (sf.net #2820716)
Cesare Tirabassi [Mon, 13 Jul 2009 20:57:07 +0000 (22:57 +0200)]
weather: clarified URI and corrected some minor format problems with variables.xml
Nikolas Garofil [Mon, 13 Jul 2009 15:32:33 +0000 (17:32 +0200)]
Remove old,unused desktop-finding code
Nikolas Garofil [Mon, 13 Jul 2009 13:04:57 +0000 (15:04 +0200)]
Fix minor memleak (fonts)
Cesare Tirabassi [Mon, 13 Jul 2009 09:31:20 +0000 (11:31 +0200)]
weather: removed constraints of 3 locations per uri from docs; corrected possible buffer overflow
Brenden Matthews [Mon, 13 Jul 2009 05:31:57 +0000 (23:31 -0600)]
Refactor some of the new weather code, fix docs.
I moved the weather stuff into its own thread, and also fixed up some
abuse of <simplelist> formatting throughout the docs. Hopefully we can
keep things a little more uniform from now on.
Brenden Matthews [Mon, 13 Jul 2009 03:38:35 +0000 (21:38 -0600)]
Fix Lua window table segfault.
Cesare Tirabassi [Sun, 12 Jul 2009 19:18:28 +0000 (21:18 +0200)]
Merge branch 'master' of git.omp.am:/home/omp/git/conky
Brenden Matthews [Sun, 12 Jul 2009 18:32:31 +0000 (12:32 -0600)]
Fix man page name.
Nikolas Garofil [Sun, 12 Jul 2009 18:01:31 +0000 (20:01 +0200)]
Fix minor memleak
Nikolas Garofil [Sun, 12 Jul 2009 17:42:10 +0000 (19:42 +0200)]
fix: segfault when TEXT is missing and build with x11
Cesare Tirabassi [Sun, 12 Jul 2009 16:46:07 +0000 (18:46 +0200)]
Merge branch 'master' of git.omp.am:/home/omp/git/conky
Nikolas Garofil [Sun, 12 Jul 2009 16:29:50 +0000 (18:29 +0200)]
Fix: free_fonts tries sometimes tries to free much
When build with support for x11 and ran with a empty config this resulted in a segfault.
Nikolas Garofil [Sun, 12 Jul 2009 12:52:58 +0000 (14:52 +0200)]
Fix memleak when build with X11 but turned off in config
Nikolas Garofil [Sun, 12 Jul 2009 10:28:22 +0000 (12:28 +0200)]
Ugly workaround for segfaults when build with x11 and lua
Cesare Tirabassi [Sun, 12 Jul 2009 09:58:34 +0000 (11:58 +0200)]
free info.x11.desktop.name in free_text_objects()
Cesare Tirabassi [Sun, 12 Jul 2009 09:45:33 +0000 (11:45 +0200)]
Merge branch 'master' of git.omp.am:/home/omp/git/conky
Nikolas Garofil [Sat, 11 Jul 2009 22:51:17 +0000 (00:51 +0200)]
Fix building without math but with X11
Nikolas Garofil [Sat, 11 Jul 2009 22:05:53 +0000 (00:05 +0200)]
Fix: reading mem after its freed (current_config)
Cesare Tirabassi [Sat, 11 Jul 2009 19:37:54 +0000 (21:37 +0200)]
Merge branch 'master' of git.omp.am:/home/omp/git/conky
Nikolas Garofil [Sat, 11 Jul 2009 13:02:17 +0000 (15:02 +0200)]
Fix building without lua
Cesare Tirabassi [Sat, 11 Jul 2009 08:50:02 +0000 (10:50 +0200)]
Add support for $desktop, $desktop_number and $desktop_name
Should work with any window manager that supports the
freedesktop.org Window Manager Specification
(see http://www.freedesktop.org/wiki/Specifications/wm-spec).
I have tested succesfully with openbox but some more testing with other
wm would be needed!
Support is built-in; if it is not acceptable to loose cpu cycles for this
at every conky refresh step than it should be conditionally compiled.
Nikolas Garofil [Fri, 10 Jul 2009 22:43:09 +0000 (00:43 +0200)]
Fix building without weather
Nikolas Garofil [Fri, 10 Jul 2009 17:33:26 +0000 (19:33 +0200)]
spelling: stable instead of stabe
Brenden Matthews [Fri, 10 Jul 2009 16:12:04 +0000 (10:12 -0600)]
Fix warning about AM_PROG_CC_C_O.
Brenden Matthews [Fri, 10 Jul 2009 16:07:39 +0000 (10:07 -0600)]
Fix build errors with --disable-x11.
Brenden Matthews [Wed, 8 Jul 2009 08:09:06 +0000 (02:09 -0600)]
A whole bunch of changes, mostly Lua related.
Improved Lua API (lua_read_parse has been removed in favour of the
conky_parse() Lua API call). The docs have been improved to reflect the
recent Lua API stuff as well. Introduced new Lua Cairo and Imlib2
bindings, which require the tolua++ tool. Fixed some other
miscellaneous doc related things.
Nikolas Garofil [Thu, 9 Jul 2009 18:12:52 +0000 (20:12 +0200)]
Added support for swapfree
Nikolas Garofil [Wed, 8 Jul 2009 13:51:08 +0000 (15:51 +0200)]
Fix memleaks in CRIT_ERR
Brenden Matthews [Tue, 7 Jul 2009 23:34:02 +0000 (17:34 -0600)]
Merge branch 'master' of git.omp.am:/home/omp/git/conky
Brenden Matthews [Tue, 7 Jul 2009 23:33:38 +0000 (17:33 -0600)]
Handle thread death better (sf.net #2818145).
Nikolas Garofil [Tue, 7 Jul 2009 22:35:20 +0000 (00:35 +0200)]
Fix memleak triggered by (and others)
Cesare Tirabassi [Tue, 7 Jul 2009 16:08:54 +0000 (18:08 +0200)]
weather: lets make this compliant to prehistoric standards and at the same time working ...
Nikolas Garofil [Tue, 7 Jul 2009 15:27:57 +0000 (17:27 +0200)]
fix minor memleak when closing conky
Nikolas Garofil [Tue, 7 Jul 2009 13:38:13 +0000 (15:38 +0200)]
Fixed mixed code and declarations (not allowed in some C standards, like C90)
Nikolas Garofil [Tue, 7 Jul 2009 13:02:29 +0000 (15:02 +0200)]
added some extra info about the needed libs for compiling to docs.xml and added the url of the wiki to docs.xml
Cesare Tirabassi [Tue, 7 Jul 2009 10:08:24 +0000 (12:08 +0200)]
weather: add more weather modifiers
Cesare Tirabassi [Tue, 7 Jul 2009 09:16:25 +0000 (11:16 +0200)]
weather: corrected typo
Cesare Tirabassi [Tue, 7 Jul 2009 09:13:07 +0000 (11:13 +0200)]
weather: changed ifs in parsing routine to switch/case and corrected TCU handling