X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=doc%2Fdocs.xml;h=15222e17e9381a256e1784a58233747263bafe5f;hb=0c83d64a86fcaf4741f5fdf0013df7f9e48e30ac;hp=e5548e5dd2bb9653ff4202c7a4075b5427faef6a;hpb=69e27d28b33bec58340b6fc791075b286d925bfc;p=monky diff --git a/doc/docs.xml b/doc/docs.xml index e5548e5..15222e1 100644 --- a/doc/docs.xml +++ b/doc/docs.xml @@ -16,7 +16,7 @@ Brenden Matthews - 2009-07-09 + 2009-08-01 conky @@ -188,20 +188,30 @@ &config_settings; - Variables + Objects/Variables Colours are parsed using XParsecolor(), there might be a list of them: /usr/share/X11/rgb.txt. Colour can be also in #rrggbb format (hex). + + Some objects may create threads, and sometimes these threads will + not be destroyed until Conky terminates. There is no way to + destroy or clean up threads while Conky is running. For example, + if you use an MPD variable, the MPD thread will keep running until + Conky dies. Some threaded objects will use one of the parameters + as a 'key', so that you only have 1 relevant thread running (for + example, the $curl, $rss and $weather objects launch one thread per + URI). + &variables; Lua API - Conky features a Lua Programming API, and also ships with - some Lua bindings for some useful libraries. Conky defines - certain global functions and variables which can be accessed - from Lua code running in Conky. + Conky features a Lua Programming API, and also ships with Lua + bindings for some useful libraries. Conky defines certain global + functions and variables which can be accessed from Lua code running + in Conky. To use Lua Conky, you first need to make sure you have a version of Conky with Lua support enabled (``conky -v'' will report this). Scripts @@ -210,9 +220,19 @@ hooks. + Be careful when creating threaded objects through the Lua API. You + could wind up with a whole bunch of threads running if a thread is + created with each iteration. + + At this time, the Lua API should not be considered stable and may change drastically from one release to another as it matures. + + NOTE: In order to accommodate certain features in the cairo + library's API, Conky will export a few additional functions for the + creation of certain structures. These are documented below. + &lua; @@ -300,7 +320,7 @@ Copying - Copyright (c) 2005-2009 Brenden Matthews, Philip + Copyright (c) 2005-2010 Brenden Matthews, Philip Kovacs, et. al. Any original torsmo code is licensed under the BSD license (see LICENSE.BSD for a copy). All code written since the fork of torsmo is licensed under the GPL