Stefan Bühler
17a5168793
[core] convert all assert() to LI_FORCE_ASSERT(), and support writing backtraces on fatal errors with libunwind
9 years ago
Stefan Bühler
ad687636e9
[lua] push list values with __index metamethod to lookup string/nil keys in key-value lists
10 years ago
Stefan Bühler
f9d0abac66
[lua] add lighty.error -> lighty.print alias
10 years ago
Stefan Bühler
0d85a068c8
[lua] add per lua_State lock
10 years ago
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
10 years ago
Stefan Bühler
77f786ed18
[log] remove different timestamp format handling (one is enough), separate log context (liLogMap) from virtualrequest
11 years ago
Stefan Bühler
b876f8401d
[core]: rework connection/vrequest structs; add liConInfo
13 years ago
Stefan Bühler
5e063e2b04
[core] Enable li_plugins_init_lua again, fixed segfault
13 years ago
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)
13 years ago
Stefan Bühler
c2271c15c3
Add plugin init-lua hook
13 years ago
Stefan Bühler
f43f70de6e
[lua] export path_simplify
13 years ago
Stefan Bühler
00ef8599cf
Export glib md5/sha1/sha256 hash functions to lua (hex output)
14 years ago
Stefan Bühler
fe7ddede88
Add lua plugins
14 years ago
Stefan Bühler
881669d96a
Add lua filters; fixed some lua-api bugs; enhanced lua chunkqueue api
14 years ago
Stefan Bühler
d9228f3ef0
Add per worker lua_State
14 years ago
Stefan Bühler
a151eeac2f
Prefix li_ cleanup, verified with nm -g --defined-only
14 years ago
Stefan Bühler
476698f118
luaApi: move global method/constants into lighty. namespace, add vr:stat(filename)
14 years ago
Stefan Bühler
ac923e9d0c
Improve lua api
14 years ago
Stefan Bühler
659ebfdd16
Add core lua support to handle requests
14 years ago