Brenden Matthews [Tue, 28 Jul 2009 03:01:55 +0000 (21:01 -0600)]
Fix problem with invalid window props?
We should check to make sure the atom actually exists before trying to
retrieve the property.
Brenden Matthews [Mon, 27 Jul 2009 21:34:06 +0000 (15:34 -0600)]
Clean up x11.c a bit.
Brenden Matthews [Mon, 27 Jul 2009 21:28:40 +0000 (15:28 -0600)]
Make configure opts for Lua extras more concise.
Cesare Tirabassi [Mon, 27 Jul 2009 21:09:18 +0000 (15:09 -0600)]
Fix user_times bug (launchpad #405188).
Brenden Matthews [Mon, 27 Jul 2009 21:03:21 +0000 (15:03 -0600)]
Fix linking error with Lua extras disabled.
Brenden Matthews [Mon, 27 Jul 2009 20:49:19 +0000 (14:49 -0600)]
Add/fix vim modelines for automake stuff.
Brenden Matthews [Mon, 27 Jul 2009 20:47:19 +0000 (14:47 -0600)]
Add vim modelines.
Brenden Matthews [Mon, 27 Jul 2009 20:07:36 +0000 (14:07 -0600)]
Be more intelligent about handling tolua++ user types.
Nikolas Garofil [Mon, 27 Jul 2009 11:34:20 +0000 (13:34 +0200)]
Fix: If there is no battery then we don't care about the status
Nikolas Garofil [Sun, 26 Jul 2009 23:29:57 +0000 (01:29 +0200)]
use EXIT_SUCCESS and EXIT_FAILURE instead of 0 and 1 when calling exit
Cesare Tirabassi [Sun, 26 Jul 2009 17:31:53 +0000 (19:31 +0200)]
remove imlib_clip_line from lua/imlib2.pkg; the actual code for this (was in rgbadraw.c) has been removed upstream but not the prototype
Cesare Tirabassi [Sun, 26 Jul 2009 11:04:11 +0000 (13:04 +0200)]
Merge branch 'master' of git.omp.am:/home/omp/git/conky
Cesare Tirabassi [Sun, 26 Jul 2009 11:03:41 +0000 (13:03 +0200)]
clean the stack when llua_update_window_table is called with a window table not yet populated
Nikolas Garofil [Sun, 26 Jul 2009 00:26:22 +0000 (02:26 +0200)]
Fix: conky waited indefinitely on programs started with \$exec-alike vars if those programs don't quit.
Conky now kills the program when it should start the next update, this makes using things like tail with
the -f option possible in a \$exec.
I am not pushing this to 1.7.2 because this is a pretty big change in the code and it is not really
a bugfix but more a usability-problem-fix (if that term would exist).
Nikolas Garofil [Sat, 25 Jul 2009 12:36:55 +0000 (14:36 +0200)]
Handle if popen should fail
Nikolas Garofil [Sat, 25 Jul 2009 10:03:09 +0000 (12:03 +0200)]
Don't place conky_ in front of lua functionnames if it's already there
Nikolas Garofil [Sat, 25 Jul 2009 00:42:31 +0000 (02:42 +0200)]
Fix: Make sure lua works without X11
Nikolas Garofil [Fri, 24 Jul 2009 14:17:03 +0000 (16:17 +0200)]
Cesare Tirabassi [Fri, 24 Jul 2009 12:48:54 +0000 (14:48 +0200)]
workaround to fix feed_title being processed when not yet parsed
Cesare Tirabassi [Fri, 24 Jul 2009 11:07:20 +0000 (13:07 +0200)]
Fixed parsing of rss parameters (last 2 are optional) and typo in rss.c; there is still a problem with feed_titlesince data->title doesn't get filled before processing
Nikolas Garofil [Fri, 24 Jul 2009 10:39:48 +0000 (12:39 +0200)]
Don't do useless checks
Nikolas Garofil [Fri, 24 Jul 2009 10:06:44 +0000 (12:06 +0200)]
Support for update_interval_on_battery
Nikolas Garofil [Fri, 24 Jul 2009 09:45:33 +0000 (11:45 +0200)]
Merge branch 'master' of ssh://git.omp.am/home/omp/git/conky
Nikolas Garofil [Fri, 24 Jul 2009 09:43:53 +0000 (11:43 +0200)]
bugfix
Cesare Tirabassi [Fri, 24 Jul 2009 09:32:02 +0000 (11:32 +0200)]
Merge branch 'master' of git.omp.am:/home/omp/git/conky
Cesare Tirabassi [Fri, 24 Jul 2009 09:30:27 +0000 (11:30 +0200)]
Revert "the why recasting when you can simply declare it commit ..."
This reverts commit
b2a30ea47878ca335a603dff14c87a01a168770e.
Nikolas Garofil [Fri, 24 Jul 2009 09:12:35 +0000 (11:12 +0200)]
Merge branch 'master' of ssh://git.omp.am/home/omp/git/conky
Nikolas Garofil [Fri, 24 Jul 2009 09:09:00 +0000 (11:09 +0200)]
Fix unclosed file in get_battery_stuff
Cesare Tirabassi [Thu, 23 Jul 2009 21:58:27 +0000 (23:58 +0200)]
the why recasting when you can simply declare it commit ...
Cesare Tirabassi [Thu, 23 Jul 2009 21:46:23 +0000 (23:46 +0200)]
Changed xoap parsing method to xpath, in preparation to include forecast data
Nikolas Garofil [Thu, 23 Jul 2009 18:30:53 +0000 (20:30 +0200)]
Fix CRIT_ERR everywhere
Nikolas Garofil [Thu, 23 Jul 2009 16:50:08 +0000 (18:50 +0200)]
Fix memleak in $weather
Nikolas Garofil [Thu, 23 Jul 2009 11:33:49 +0000 (13:33 +0200)]
Fix bug SF ID 2814810 (wrong output with execp and execpi)
Nikolas Garofil [Wed, 22 Jul 2009 20:08:31 +0000 (22:08 +0200)]
Let $tail and $head work with FIFOs again (was disabled by commit
41a7cffbe7c4a4a4f04aa0a414901f01f0d7d198 ), and fix memory bug when to_real_path is used in init_tailhead
Cesare Tirabassi [Wed, 22 Jul 2009 17:37:39 +0000 (19:37 +0200)]
deleted obsolete buildubu.sh
Brenden Matthews [Wed, 22 Jul 2009 17:31:49 +0000 (11:31 -0600)]
Include lua.html in tarball.
Nikolas Garofil [Tue, 21 Jul 2009 21:41:47 +0000 (23:41 +0200)]
Fix bug with SF id 2808272 (tail and head)
To fix this bug the tail and head code was rewritten, everything should still
work except tailing a FIFO instead of a normal head.
Nikolas Garofil [Tue, 21 Jul 2009 10:39:09 +0000 (12:39 +0200)]
Fix multiline stuff when build with X11 but output_to_x turned off.
This commit reverts
725a3ba43a903edff3b68ae0c104c463b974fb5b and fixes
5967d285114a0d38d5af5e055a2874e9d7561225
Brenden Matthews [Tue, 21 Jul 2009 02:11:33 +0000 (20:11 -0600)]
Fix multiline stuff without X11.
Brenden Matthews [Mon, 20 Jul 2009 23:46:22 +0000 (17:46 -0600)]
Revert "Fix multiline strings displayed on 1 line when output to x is not used"
This reverts commit
5967d285114a0d38d5af5e055a2874e9d7561225.
Brenden Matthews [Mon, 20 Jul 2009 23:32:56 +0000 (17:32 -0600)]
Update the doc date when check_docs.py is ran.
Brenden Matthews [Mon, 20 Jul 2009 23:16:48 +0000 (17:16 -0600)]
Fix up some lua configure stuff.
Nikolas Garofil [Mon, 20 Jul 2009 22:47:02 +0000 (00:47 +0200)]
Fix multiline strings displayed on 1 line when output to x is not used
Cesare Tirabassi [Mon, 20 Jul 2009 22:05:13 +0000 (00:05 +0200)]
Merge branch 'master' of git.omp.am:/home/omp/git/conky
Cesare Tirabassi [Mon, 20 Jul 2009 22:04:53 +0000 (00:04 +0200)]
add tolua++5.1 as an additional helper function and set library flag accordingly
Brenden Matthews [Mon, 20 Jul 2009 19:17:44 +0000 (13:17 -0600)]
Clarify weather opts, refactor some weather code.
Brenden Matthews [Mon, 20 Jul 2009 18:53:25 +0000 (12:53 -0600)]
Enable weather if XOAP is enabled.
Brenden Matthews [Mon, 20 Jul 2009 18:40:32 +0000 (12:40 -0600)]
Brenden Matthews [Mon, 20 Jul 2009 18:19:07 +0000 (12:19 -0600)]
Fix iostats configure stuff.
Brenden Matthews [Mon, 20 Jul 2009 18:02:53 +0000 (12:02 -0600)]
Document curl stuff better.
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)]