summaryrefslogtreecommitdiff
path: root/depends/lua
Commit message (Collapse)AuthorAgeFilesLines
* Fix lua bug: 'peaceful' unwind of yielded pcall doesn't restore errfunc.Alexander Gavrilov2012-06-171-0/+3
| | | | | I.e. if the pcall results in no error, but a yield happens inside it, the active errfunc is not restored to its previous value.
* Reapply dfhack-specific lua build configuration.Alexander Gavrilov2012-06-171-11/+11
|
* Update to Lua 5.2.1Alexander Gavrilov2012-06-1735-615/+935
|
* Fix lua interpreter bug: the C call counter is already unwound by yield.Alexander Gavrilov2012-04-162-3/+3
| | | | Decrementing it causes underflow and subsequent spurious stack overflow.
* Add dfhack.with_suspend(f[, args...]) that calls f with core suspended.Alexander Gavrilov2012-04-011-2/+1
| | | | | The lock is properly removed in case of error, which is then propagated. Just for fun, it also can be yielded from within in a coroutine.
* Improve performance of the persistent data api, and wrap it for lua.Alexander Gavrilov2012-04-011-1/+1
| | | | | | Use an stl table for string keys to avoid linear cost of lookup. This uncovered a bug in the new luaL_getsubtable function.
* Pull console output support and REPL out of dfusion into core lib.Alexander Gavrilov2012-03-311-11/+7
|
* Update lua to 5.2 and fix obvious breakage due to obsolete api.Alexander Gavrilov2012-03-3163-6015/+8644
|
* Temporary tweak: patch in __pairs and __ipairs from 5.2 into lua 5.1.Alexander Gavrilov2012-03-291-8/+22
|
* Extern "C" mess fixed, bitlib mess fixed, bitlib added to autoload.Warmist2012-03-262-1/+3
|
* Since lua is now compiled as c++, don't declare api functions extern "C".Alexander Gavrilov2012-03-251-1/+1
|
* Fix Lua compilation on win32 - extern must come BEFORE __declspecQuietust2012-03-241-2/+2
|
* Tweaks and cleanupsPetr Mrázek2012-03-241-2/+5
| | | | | | | Removed t_virtual. Made lua use C++ compiler Removed many silly exception types from Error.h and renamed the rest. Removed Brush classes from tiletypes plugin.
* Get rid of the write mode field table in metamethods.Alexander Gavrilov2012-03-231-0/+3
| | | | | Two separate tables can be confusing, e.g. if a builtin field overrides a writable custom one only in the read table.
* Export the type tree with enum keys to lua.Alexander Gavrilov2012-03-192-4/+18
|
* Move depends out of main library, make them (static) libraries.Petr Mrázek2012-03-1360-0/+17322