monky
14 years agoTeach freebsd.c to use the new CRIT_ERR format
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>

14 years agoBetter argument handling for rss/curl/weather.
Brenden Matthews [Mon, 20 Jul 2009 15:59:31 +0000 (09:59 -0600)]
Better argument handling for rss/curl/weather.

14 years agoInclude timed_thread.h when needed
Nikolas Garofil [Mon, 20 Jul 2009 15:42:17 +0000 (17:42 +0200)]
Include timed_thread.h when needed

14 years agoOops, add missing files.
Brenden Matthews [Mon, 20 Jul 2009 15:21:33 +0000 (09:21 -0600)]
Oops, add missing files.

14 years agoFix minor memleak.
Brenden Matthews [Mon, 20 Jul 2009 06:40:23 +0000 (00:40 -0600)]
Fix minor memleak.

14 years agoDocs.
Brenden Matthews [Mon, 20 Jul 2009 06:05:00 +0000 (00:05 -0600)]
Docs.

14 years agoBump rev.
Brenden Matthews [Mon, 20 Jul 2009 06:02:52 +0000 (00:02 -0600)]
Bump rev.

14 years agoInclude *.pkg in dist too.
Brenden Matthews [Mon, 20 Jul 2009 05:58:05 +0000 (23:58 -0600)]
Include *.pkg in dist too.

14 years agoChangelog.
Brenden Matthews [Mon, 20 Jul 2009 05:46:48 +0000 (23:46 -0600)]
Changelog.

14 years agoMerge branch 'master' of git.omp.am:/home/omp/git/conky
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

14 years agoOverhauled RSS and weather, added $curl.
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.

14 years agoFix building without X11 support broke after commits f1c47e5fc49687e5f2bf5331a5cb74bd...
Nikolas Garofil [Sun, 19 Jul 2009 23:02:27 +0000 (01:02 +0200)]
Fix building without X11 support broke after commits f1c47e5fc49687e5f2bf5331a5cb74bd375d1940 and 670e9a0eb15ed3bc384ae0154d3c09de691e390c

14 years agofix out-of-tree builds
Cesare Tirabassi [Sun, 19 Jul 2009 22:43:41 +0000 (00:43 +0200)]
fix out-of-tree builds

14 years agoMerge branch 'master' of ssh://git.omp.am/home/omp/git/conky
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

14 years agoFixed a tiny bug in configure.ac.in
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."

14 years agoHandle curl errors better (in weather and rss).
Brenden Matthews [Sun, 19 Jul 2009 21:28:19 +0000 (15:28 -0600)]
Handle curl errors better (in weather and rss).

14 years agoExit properly when forking.
Brenden Matthews [Sun, 19 Jul 2009 20:55:41 +0000 (14:55 -0600)]
Exit properly when forking.

14 years agofix hardcoding
Nikolas Garofil [Sun, 19 Jul 2009 19:56:07 +0000 (21:56 +0200)]
fix hardcoding

14 years agoFix instead of workaround for d0edfa70045a10c0ceafa65d2d01b49ae5c42061
Nikolas Garofil [Sun, 19 Jul 2009 19:28:14 +0000 (21:28 +0200)]
Fix instead of workaround for d0edfa70045a10c0ceafa65d2d01b49ae5c42061

14 years agoCode formatting.
Brenden Matthews [Sun, 19 Jul 2009 18:12:42 +0000 (12:12 -0600)]
Code formatting.

14 years agoAmmend changelog.
Brenden Matthews [Sun, 19 Jul 2009 18:02:23 +0000 (12:02 -0600)]
Ammend changelog.

14 years agoUpdate MPD elapsed/progress when stopped.
Brenden Matthews [Sun, 19 Jul 2009 17:59:20 +0000 (11:59 -0600)]
Update MPD elapsed/progress when stopped.

14 years agoadd XOAP to list of compiled-in features, if enabled
Cesare Tirabassi [Sun, 19 Jul 2009 16:14:22 +0000 (18:14 +0200)]
add XOAP to list of compiled-in features, if enabled

14 years agoupdated configure print summary with new XOAP flag
Cesare Tirabassi [Sun, 19 Jul 2009 15:46:11 +0000 (17:46 +0200)]
updated configure print summary with new XOAP flag

14 years agoWorkaround for bug SF id 2819128 ($color inside $scroll disabled)
Nikolas Garofil [Sat, 18 Jul 2009 22:36:05 +0000 (00:36 +0200)]
Workaround for bug SF id 2819128 ($color inside $scroll disabled)

14 years agoSpecials can be within multi-line objects.
Brenden Matthews [Sat, 18 Jul 2009 20:25:57 +0000 (14:25 -0600)]
Specials can be within multi-line objects.

14 years agoSubstitute newlines for everything but text.
Brenden Matthews [Sat, 18 Jul 2009 20:00:02 +0000 (14:00 -0600)]
Substitute newlines for everything but text.

14 years agoOops, fix multiline stuff.
Brenden Matthews [Sat, 18 Jul 2009 19:49:52 +0000 (13:49 -0600)]
Oops, fix multiline stuff.

14 years agoMultiline alignment support, some other misc 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.

14 years agoadd compilation switch --enable-xoap to be able to use www.weather.com as a source...
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

14 years agoRevert "Undid last 3 commits, see rest of the comment for the reason:"
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.

14 years agoUndid last 3 commits, see rest of the comment for the reason:
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)

14 years agoadd one missing ifdef to conditionally compile weather code
Cesare Tirabassi [Sat, 18 Jul 2009 14:07:17 +0000 (16:07 +0200)]
add one missing ifdef to conditionally compile weather code

14 years agoMerge branch 'master' of git.omp.am:/home/omp/git/conky
Cesare Tirabassi [Sat, 18 Jul 2009 14:00:49 +0000 (16:00 +0200)]
Merge branch 'master' of git.omp.am:/home/omp/git/conky

14 years agoAdded www.weather.com as an additional source of weather data
Cesare Tirabassi [Sat, 18 Jul 2009 13:59:43 +0000 (15:59 +0200)]
Added weather.com as an additional source of weather data

14 years agoIf nothing is read, n1 and n2 are not guaranteed to be 0
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

14 years agoFix reloading config without X11
Nikolas Garofil [Sat, 18 Jul 2009 08:49:16 +0000 (10:49 +0200)]
Fix reloading config without X11

14 years agoweather: use expf if --enable_math is given, otherwise use fast 3rd order approximation
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

14 years agoweather: glib is not needed
Cesare Tirabassi [Sat, 18 Jul 2009 04:48:58 +0000 (06:48 +0200)]
weather: glib is not needed

14 years agoRevert "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.

14 years agoMerge branch 'master' of git.omp.am:/home/omp/git/conky
Cesare Tirabassi [Sat, 18 Jul 2009 04:42:25 +0000 (06:42 +0200)]
Merge branch 'master' of git.omp.am:/home/omp/git/conky

14 years agoweather: glib is not needed
Cesare Tirabassi [Sat, 18 Jul 2009 04:39:54 +0000 (06:39 +0200)]
weather: glib is not needed

14 years agoFix bug in $scroll (if there were only 2 args the 2nd couldn't be numerical)
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)

14 years agoFix building without X11 after commit 20d4c4370a8fe6ffdcecee1e9f610f9d59acc742
Nikolas Garofil [Fri, 17 Jul 2009 16:37:46 +0000 (18:37 +0200)]
Fix building without X11 after commit 20d4c4370a8fe6ffdcecee1e9f610f9d59acc742

14 years agoFix memleaks when reloading configuration and place same parts of main() and reload_c...
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

14 years agoFix a lot of unimportant memleaks caused by a CRIT_ERR
Nikolas Garofil [Thu, 16 Jul 2009 18:28:23 +0000 (20:28 +0200)]
Fix a lot of unimportant memleaks caused by a CRIT_ERR

14 years agoShow warnings when not running in X and vars like desktop or monitor are used
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

14 years agoFix freeing unregistered mem when build when running without X
Nikolas Garofil [Wed, 15 Jul 2009 21:55:22 +0000 (23:55 +0200)]
Fix freeing unregistered mem when build when running without X

14 years agoFix all memleaks that are clearly visible,
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

14 years agoMake 16768a5ad4fdf58e1f7a9a1b949c055c846ea0e2 C90-compliant
Nikolas Garofil [Tue, 14 Jul 2009 17:17:14 +0000 (19:17 +0200)]
Make 16768a5ad4fdf58e1f7a9a1b949c055c846ea0e2 C90-compliant

14 years agoMerge branch 'master' of git.omp.am:/home/omp/git/conky
Cesare Tirabassi [Tue, 14 Jul 2009 16:47:00 +0000 (18:47 +0200)]
Merge branch 'master' of git.omp.am:/home/omp/git/conky

14 years agoFix Property Change Events are passes also to OWN_WINDOW
Cesare Tirabassi [Tue, 14 Jul 2009 16:46:15 +0000 (18:46 +0200)]
Fix Property Change Events are passes also to OWN_WINDOW

14 years agoFix strange effects on desktop caused by 4a14668772a37b18a9aceb8951ece260084bc96e
Nikolas Garofil [Tue, 14 Jul 2009 16:10:43 +0000 (18:10 +0200)]
Fix strange effects on desktop caused by 4a14668772a37b18a9aceb8951ece260084bc96e

14 years agoFix memleaks introduced by g7bbde2b
Nikolas Garofil [Tue, 14 Jul 2009 16:05:49 +0000 (18:05 +0200)]
Fix memleaks introduced by g7bbde2b

14 years agoFix building with strict compilers
Nikolas Garofil [Tue, 14 Jul 2009 15:43:27 +0000 (17:43 +0200)]
Fix building with strict compilers

14 years agorefactored desktop info code so that its only called on X property events; TO DO...
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

14 years agoFix a part of the memleaks in the X-related code,
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.

14 years agoFix memleaks when running with total_run_times
Nikolas Garofil [Tue, 14 Jul 2009 10:47:24 +0000 (12:47 +0200)]
Fix memleaks when running with total_run_times

14 years agoUse OBJ_THREAD() for weather, get rid of pointless return.
Brenden Matthews [Mon, 13 Jul 2009 22:11:21 +0000 (16:11 -0600)]
Use OBJ_THREAD() for weather, get rid of pointless return.

14 years agoMerge branch 'master' of git.omp.am:/home/omp/git/conky
Brenden Matthews [Mon, 13 Jul 2009 21:21:42 +0000 (15:21 -0600)]
Merge branch 'master' of git.omp.am:/home/omp/git/conky

14 years agoFix minor $weather memleak.
Brenden Matthews [Mon, 13 Jul 2009 21:21:25 +0000 (15:21 -0600)]
Fix minor $weather memleak.

14 years agoFix compilation with --disable-own-window (sf.net #2820716)
Cesare Tirabassi [Mon, 13 Jul 2009 21:19:32 +0000 (23:19 +0200)]
Fix compilation with --disable-own-window (sf.net #2820716)

14 years agoweather: clarified URI and corrected some minor format problems with variables.xml
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

14 years agoRemove old,unused desktop-finding code
Nikolas Garofil [Mon, 13 Jul 2009 15:32:33 +0000 (17:32 +0200)]
Remove old,unused desktop-finding code

14 years agoFix minor memleak (fonts)
Nikolas Garofil [Mon, 13 Jul 2009 13:04:57 +0000 (15:04 +0200)]
Fix minor memleak (fonts)

14 years agoweather: removed constraints of 3 locations per uri from docs; corrected possible...
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

14 years agoRefactor some of the new weather code, fix docs.
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.

14 years agoFix Lua window table segfault.
Brenden Matthews [Mon, 13 Jul 2009 03:38:35 +0000 (21:38 -0600)]
Fix Lua window table segfault.

14 years agoMerge branch 'master' of git.omp.am:/home/omp/git/conky
Cesare Tirabassi [Sun, 12 Jul 2009 19:18:28 +0000 (21:18 +0200)]
Merge branch 'master' of git.omp.am:/home/omp/git/conky

14 years agoFix man page name.
Brenden Matthews [Sun, 12 Jul 2009 18:32:31 +0000 (12:32 -0600)]
Fix man page name.

14 years agoFix minor memleak
Nikolas Garofil [Sun, 12 Jul 2009 18:01:31 +0000 (20:01 +0200)]
Fix minor memleak

14 years agofix: segfault when TEXT is missing and build with x11
Nikolas Garofil [Sun, 12 Jul 2009 17:42:10 +0000 (19:42 +0200)]
fix: segfault when TEXT is missing and build with x11

14 years agoMerge branch 'master' of git.omp.am:/home/omp/git/conky
Cesare Tirabassi [Sun, 12 Jul 2009 16:46:07 +0000 (18:46 +0200)]
Merge branch 'master' of git.omp.am:/home/omp/git/conky

14 years agoFix: free_fonts tries sometimes tries to free much
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.

14 years agoFix memleak when build with X11 but turned off in config
Nikolas Garofil [Sun, 12 Jul 2009 12:52:58 +0000 (14:52 +0200)]
Fix memleak when build with X11 but turned off in config

14 years agoUgly workaround for segfaults when build with x11 and lua
Nikolas Garofil [Sun, 12 Jul 2009 10:28:22 +0000 (12:28 +0200)]
Ugly workaround for segfaults when build with x11 and lua

14 years agofree info.x11.desktop.name in free_text_objects()
Cesare Tirabassi [Sun, 12 Jul 2009 09:58:34 +0000 (11:58 +0200)]
free info.x11.desktop.name in free_text_objects()

14 years agoMerge branch 'master' of git.omp.am:/home/omp/git/conky
Cesare Tirabassi [Sun, 12 Jul 2009 09:45:33 +0000 (11:45 +0200)]
Merge branch 'master' of git.omp.am:/home/omp/git/conky

14 years agoFix building without math but with X11
Nikolas Garofil [Sat, 11 Jul 2009 22:51:17 +0000 (00:51 +0200)]
Fix building without math but with X11

14 years agoFix: reading mem after its freed (current_config)
Nikolas Garofil [Sat, 11 Jul 2009 22:05:53 +0000 (00:05 +0200)]
Fix: reading mem after its freed (current_config)

14 years agoMerge branch 'master' of git.omp.am:/home/omp/git/conky
Cesare Tirabassi [Sat, 11 Jul 2009 19:37:54 +0000 (21:37 +0200)]
Merge branch 'master' of git.omp.am:/home/omp/git/conky

14 years agoFix building without lua
Nikolas Garofil [Sat, 11 Jul 2009 13:02:17 +0000 (15:02 +0200)]
Fix building without lua

14 years agoAdd support for $desktop, $desktop_number and $desktop_name
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.

14 years agoFix building without weather
Nikolas Garofil [Fri, 10 Jul 2009 22:43:09 +0000 (00:43 +0200)]
Fix building without weather

14 years agospelling: stable instead of stabe
Nikolas Garofil [Fri, 10 Jul 2009 17:33:26 +0000 (19:33 +0200)]
spelling: stable instead of stabe

14 years agoFix warning about AM_PROG_CC_C_O.
Brenden Matthews [Fri, 10 Jul 2009 16:12:04 +0000 (10:12 -0600)]
Fix warning about AM_PROG_CC_C_O.

14 years agoFix build errors with --disable-x11.
Brenden Matthews [Fri, 10 Jul 2009 16:07:39 +0000 (10:07 -0600)]
Fix build errors with --disable-x11.

14 years agoA whole bunch of changes, mostly Lua related.
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.

14 years agoAdded support for swapfree
Nikolas Garofil [Thu, 9 Jul 2009 18:12:52 +0000 (20:12 +0200)]
Added support for swapfree

14 years agoFix memleaks in CRIT_ERR
Nikolas Garofil [Wed, 8 Jul 2009 13:51:08 +0000 (15:51 +0200)]
Fix memleaks in CRIT_ERR

14 years agoMerge branch 'master' of git.omp.am:/home/omp/git/conky
Brenden Matthews [Tue, 7 Jul 2009 23:34:02 +0000 (17:34 -0600)]
Merge branch 'master' of git.omp.am:/home/omp/git/conky

14 years agoHandle thread death better (sf.net #2818145).
Brenden Matthews [Tue, 7 Jul 2009 23:33:38 +0000 (17:33 -0600)]
Handle thread death better (sf.net #2818145).

14 years agoFix memleak triggered by (and others)
Nikolas Garofil [Tue, 7 Jul 2009 22:35:20 +0000 (00:35 +0200)]
Fix memleak triggered by  (and others)

14 years agoweather: lets make this compliant to prehistoric standards and at the same time worki...
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 ...

14 years agofix minor memleak when closing conky
Nikolas Garofil [Tue, 7 Jul 2009 15:27:57 +0000 (17:27 +0200)]
fix minor memleak when closing conky

14 years agoFixed mixed code and declarations (not allowed in some C standards, like C90)
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)

14 years agoadded some extra info about the needed libs for compiling to docs.xml and added the...
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

14 years agoweather: add more weather modifiers
Cesare Tirabassi [Tue, 7 Jul 2009 10:08:24 +0000 (12:08 +0200)]
weather: add more weather modifiers

14 years agoweather: corrected typo
Cesare Tirabassi [Tue, 7 Jul 2009 09:16:25 +0000 (11:16 +0200)]
weather: corrected typo

14 years agoweather: changed ifs in parsing routine to switch/case and corrected TCU handling
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