2
0
Fork 0
Commit Graph

18 Commits (e4c99e55d618716d8a3a70e13750f56a0e07046f)

Author SHA1 Message Date
Stefan Bühler ad687636e9 [lua] push list values with __index metamethod to lookup string/nil keys in key-value lists 2013-08-21 13:50:02 +02:00
Stefan Bühler f9d0abac66 [lua] add lighty.error -> lighty.print alias 2013-08-21 12:41:11 +02:00
Stefan Bühler 0d85a068c8 [lua] add per lua_State lock 2013-05-04 13:11:25 +02:00
Stefan Bühler 9cb0790052 [core_lua] Forward worker pointer to log functions in some lua functions
This fixes 2 things:
 * won't need global server lock for logging in worker context
 * order of log entries; worker context log gets committed to
   global list in the event loop
2013-01-25 09:57:54 +01:00
Stefan Bühler 77f786ed18 [log] remove different timestamp format handling (one is enough), separate log context (liLogMap) from virtualrequest 2012-03-16 13:25:52 +01:00
Stefan Bühler b876f8401d [core]: rework connection/vrequest structs; add liConInfo 2010-08-11 13:27:27 +02:00
Stefan Bühler 5e063e2b04 [core] Enable li_plugins_init_lua again, fixed segfault 2010-06-06 12:29:25 +02:00
Thomas Porzelt 14ed0a508b [core] Disable call to li_plugins_init_lua() for now, causes segfault due to being called in the wrong place (srv->plugins does not exist yet) 2010-05-29 19:28:20 +02:00
Stefan Bühler c2271c15c3 Add plugin init-lua hook 2010-05-14 13:10:19 +02:00
Stefan Bühler f43f70de6e [lua] export path_simplify 2010-02-13 22:44:47 +01:00
Stefan Bühler 00ef8599cf Export glib md5/sha1/sha256 hash functions to lua (hex output) 2010-01-27 21:33:40 +01:00
Stefan Bühler fe7ddede88 Add lua plugins 2009-12-21 19:09:55 +01:00
Stefan Bühler 881669d96a Add lua filters; fixed some lua-api bugs; enhanced lua chunkqueue api 2009-12-20 23:45:03 +01:00
Stefan Bühler d9228f3ef0 Add per worker lua_State 2009-11-01 15:43:12 +01:00
Stefan Bühler a151eeac2f Prefix li_ cleanup, verified with nm -g --defined-only 2009-10-09 15:38:12 +02:00
Stefan Bühler 476698f118 luaApi: move global method/constants into lighty. namespace, add vr:stat(filename) 2009-10-03 15:26:35 +02:00
Stefan Bühler ac923e9d0c Improve lua api 2009-10-02 16:18:26 +02:00
Stefan Bühler 659ebfdd16 Add core lua support to handle requests 2009-09-13 17:54:16 +02:00