Cesare Tirabassi
36ae626ab8
Add parser initialisation and cleanup
2009-08-03 19:58:21 +02:00
Cesare Tirabassi
4fe70ad0e6
weather: change hardcoded constant 5 to FORECAST_DAYS macro
2009-08-03 11:49:26 +02:00
Cesare Tirabassi
14b7acdab6
Add weather_forecast object
2009-08-02 23:54:44 +02:00
Brenden Matthews
dbf3448031
Update conky_window Lua table when it changes.
2009-08-01 15:11:18 -06:00
Brenden Matthews
47b2869028
Code formatting.
2009-08-01 15:01:00 -06:00
Brenden Matthews
358a2b989e
Add lua_startup_hook.
2009-08-01 14:36:38 -06:00
Brenden Matthews
41aed41e35
Add lua_shutdown_hook.
2009-08-01 14:30:14 -06:00
Nikolas Garofil
44b82311b9
Added support for out_to_ncurses
...
All ERR()'s are renamed to NORM_ERR() and box to mbox so that they don't
clash with things in ncurses.h .
Ncurses is enabled by default when building conky but can be disabled with
--disable-ncurses .
At the moment configure doesn't check if ncurses is actually available.
I'm adding support for ncurses so that we can make as much things as possible
that are only available in X11 also available in console in the future.
2009-08-01 20:45:43 +02:00
Nikolas Garofil
763ae568a7
Fix reloading config after 7ff2a71aa0
2009-08-01 12:14:10 +02:00
Cesare Tirabassi
01e66c7f8c
Bug fix: make -X,--display actually work, improve error message if display not found
2009-08-01 09:34:21 +02:00
Nikolas Garofil
7ff2a71aa0
Added $include var to load configfiles inside of other configfiles
2009-07-31 15:28:55 +02:00
Brenden Matthews
be145bd55d
Removed alias config option due to brokenness.
...
The alias option was broken by fb8ccd7a05
,
and it seems like trying to make it work again will only result in
breakage for env var substitution anyway.
2009-07-31 00:33:06 -06:00
Nikolas Garofil
9ad3b9d8bc
Fix: make sure 51c928a8ef
works when programs terminate by themselves
2009-07-29 21:27:00 +02:00
Nikolas Garofil
51c928a8ef
Fix: kill zombies without breaking b963c2827f
2009-07-29 11:43:16 +02:00
Cesare Tirabassi
81c691d15a
add emacs indentation variables to source files in line with current vim settings
2009-07-28 23:44:22 +02:00
Brenden Matthews
ec517ecb26
Remove deprecated stuff from docs and conky.c (for 1.7.3).
2009-07-28 12:43:45 -06:00
Brenden Matthews
da4b542ae6
Added some Lua API stuff.
...
Added conky_set_update_interval() API call, which allows you to change
Conky's update interval from a Lua script. Added the 'conky_info' table
to global Lua context, which still needs populating with stuff (right
now it only contains the current update interval and the system uptime).
2009-07-28 12:38:43 -06:00
Nikolas Garofil
e124064892
Fix: Always include stuff that used to use popen because it's now using pid_popen
2009-07-28 15:59:17 +02:00
Cesare Tirabassi
da06200e43
Fix user_times bug (launchpad #405188 ).
2009-07-27 15:09:18 -06:00
Brenden Matthews
d97cd93a1c
Add vim modelines.
2009-07-27 14:47:31 -06:00
Nikolas Garofil
ca0f8f8712
Fix: If there is no battery then we don't care about the status
2009-07-27 13:34:20 +02:00
Nikolas Garofil
3e41b36fdf
use EXIT_SUCCESS and EXIT_FAILURE instead of 0 and 1 when calling exit
2009-07-27 01:29:57 +02:00
Nikolas Garofil
b963c2827f
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).
2009-07-26 02:26:22 +02:00
Nikolas Garofil
4d37d021e1
Handle if popen should fail
2009-07-25 14:36:55 +02:00
Cesare Tirabassi
0be6e37e07
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
2009-07-24 13:07:20 +02:00
Nikolas Garofil
381b47a0a9
Don't do useless checks
2009-07-24 12:39:48 +02:00
Nikolas Garofil
875c7c3129
Support for update_interval_on_battery
2009-07-24 12:06:44 +02:00
Nikolas Garofil
7e7a193b74
Fix memleak in $weather
2009-07-23 18:50:39 +02:00
Nikolas Garofil
03a0e8ae19
Fix bug SF ID 2814810 (wrong output with execp and execpi)
2009-07-23 13:33:49 +02:00
Nikolas Garofil
41a7cffbe7
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.
2009-07-21 23:41:47 +02:00
Nikolas Garofil
caf0731565
Fix multiline stuff when build with X11 but output_to_x turned off.
...
This commit reverts 725a3ba43a
and fixes 5967d28511
2009-07-21 12:39:09 +02:00
Brenden Matthews
e973de66cf
Fix multiline stuff without X11.
2009-07-20 20:11:33 -06:00
Brenden Matthews
725a3ba43a
Revert "Fix multiline strings displayed on 1 line when output to x is not used"
...
This reverts commit 5967d28511
.
2009-07-20 17:46:22 -06:00
Nikolas Garofil
5967d28511
Fix multiline strings displayed on 1 line when output to x is not used
2009-07-21 00:47:02 +02:00
Brenden Matthews
9cda78c023
Clarify weather opts, refactor some weather code.
2009-07-20 13:17:44 -06:00
Brenden Matthews
f169e0e071
Actually apply c1cf1232e0
.
2009-07-20 12:40:32 -06:00
Brenden Matthews
d3013bc410
Better argument handling for rss/curl/weather.
2009-07-20 09:59:31 -06:00
Brenden Matthews
f46eb1b6cb
Fix minor memleak.
2009-07-20 00:40:23 -06:00
Brenden Matthews
64394fa7da
Merge branch 'master' of git.omp.am:/home/omp/git/conky
...
Conflicts:
configure.ac.in
2009-07-19 23:45:55 -06:00
Brenden Matthews
c05c157ead
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.
2009-07-19 23:43:36 -06:00
Nikolas Garofil
09d41cb0b6
Fix building without X11 support broke after commits f1c47e5fc4
and 670e9a0eb1
2009-07-20 01:02:27 +02:00
Brenden Matthews
e76f0c8587
Exit properly when forking.
2009-07-19 14:55:41 -06:00
Nikolas Garofil
4c41ec843a
fix hardcoding
2009-07-19 21:56:07 +02:00
Nikolas Garofil
f1c47e5fc4
Fix instead of workaround for d0edfa7004
2009-07-19 21:28:14 +02:00
Cesare Tirabassi
50fd16d8bd
add XOAP to list of compiled-in features, if enabled
2009-07-19 18:14:22 +02:00
Nikolas Garofil
d0edfa7004
Workaround for bug SF id 2819128 ($color inside $scroll disabled)
2009-07-19 00:36:05 +02:00
Brenden Matthews
1f1b846a2d
Specials can be within multi-line objects.
2009-07-18 14:25:57 -06:00
Brenden Matthews
52ad674e51
Substitute newlines for everything but text.
2009-07-18 14:00:02 -06:00
Brenden Matthews
9c4ebef376
Oops, fix multiline stuff.
2009-07-18 13:49:52 -06:00
Brenden Matthews
670e9a0eb1
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.
2009-07-18 13:46:36 -06:00