Nikolas Garofil
7ce38ecf09
Fix: Make sure lua works without X11
2009-07-25 02:42:31 +02: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
Brenden Matthews
ee64345f7c
Fix Lua window table segfault.
2009-07-12 21:38:35 -06:00
Nikolas Garofil
dc4087fcff
Ugly workaround for segfaults when build with x11 and lua
2009-07-12 12:28:22 +02:00
Brenden Matthews
c494feafe1
Fix build errors with --disable-x11.
2009-07-10 10:07:39 -06:00
Brenden Matthews
2fa5f97edb
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.
2009-07-09 22:47:41 -06:00
Brenden Matthews
9ce2c8ba07
Fix regression in Lua inotify stuff.
2009-06-13 13:40:27 -06:00
Brenden Matthews
ca340d2643
Fix inotify segfault (sf.net #2804886 ).
...
Fix segfault due to bad checking of return values for inotify code
(sf.net #2804886 )
2009-06-13 13:17:18 -06:00
Brenden Matthews
e5abd481cd
Fix some stupidity in 33754ecebe
.
2009-06-06 17:42:02 -06:00
Brenden Matthews
33754ecebe
Let lua_graph behave more like other graphs.
...
Changed llua_getinteger() to llua_getnumber() returning a double, so
that you can use floating point values in graphs etc. Lua graph will
scale like other graphs (except execgraph) by default now, and you can
manually set a scale with the scale argument.
2009-06-06 17:25:34 -06:00
Brenden Matthews
d03df4a367
Allow ~/... and $HOME/... paths for more stuff.
2009-05-24 22:33:47 -06:00
Brenden Matthews
c9951a3bac
Better checking for cases when inotify doesn't work.
2009-05-22 12:48:46 -06:00
Brenden Matthews
b6dea2fce6
Oops, null pointer.
2009-05-20 11:53:43 -06:00
Brenden Matthews
a25e030036
Oh yeah, make sure it compiles without inotify.
...
Also removed BSD licensing stuff that pertains to old torsmo code.
2009-05-19 22:56:33 -06:00
Brenden Matthews
75d1a054be
Add message to show the Lua script was reloaded.
2009-05-19 22:51:50 -06:00
Brenden Matthews
011e52650b
Added inotify support for reloading Lua scripts automagically.
2009-05-19 22:49:42 -06:00
Brenden Matthews
b661dbf5a7
More lua stuff.
2009-05-16 17:04:26 -06:00
Brenden Matthews
0e21a804ee
Couple minor lua changes.
2009-05-16 14:55:05 -06:00
Toni Spets
453908953f
Moved the Lua function calling to it's own function
2009-05-16 20:57:43 +03:00
Toni Spets
da5704fd74
Specifically ask for an integer from Lua for percentage
2009-05-16 20:37:53 +03:00
Toni Spets
66ba6e36c9
* Fix leaks
...
* Fix HUP behaviour - scripts are now reloaded on HUP
* Remove unneccessary calls to llua_close()
2009-05-15 23:35:18 +03:00
Toni Spets
b5934e5f69
Remove new lines from ERR messages
2009-05-15 23:01:08 +03:00
Toni Spets
90c9ac2723
Fix old copyright year
...
Change all fprintf's to ERR()
2009-05-15 21:48:11 +03:00
Toni Spets
a64e9f8950
Lua scripting support, initial commit
2009-05-15 21:08:51 +03:00