| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix lua bug: 'peaceful' unwind of yielded pcall doesn't restore errfunc. | Alexander Gavrilov | 2012-06-17 | 1 | -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 Gavrilov | 2012-06-17 | 1 | -11/+11 |
| | | |||||
| * | Update to Lua 5.2.1 | Alexander Gavrilov | 2012-06-17 | 35 | -615/+935 |
| | | |||||
| * | Fix lua interpreter bug: the C call counter is already unwound by yield. | Alexander Gavrilov | 2012-04-16 | 2 | -3/+3 |
| | | | | | Decrementing it causes underflow and subsequent spurious stack overflow. | ||||
| * | Add dfhack.with_suspend(f[, args...]) that calls f with core suspended. | Alexander Gavrilov | 2012-04-01 | 1 | -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 Gavrilov | 2012-04-01 | 1 | -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 Gavrilov | 2012-03-31 | 1 | -11/+7 |
| | | |||||
| * | Update lua to 5.2 and fix obvious breakage due to obsolete api. | Alexander Gavrilov | 2012-03-31 | 63 | -6015/+8644 |
| | | |||||
| * | Temporary tweak: patch in __pairs and __ipairs from 5.2 into lua 5.1. | Alexander Gavrilov | 2012-03-29 | 1 | -8/+22 |
| | | |||||
| * | Extern "C" mess fixed, bitlib mess fixed, bitlib added to autoload. | Warmist | 2012-03-26 | 2 | -1/+3 |
| | | |||||
| * | Since lua is now compiled as c++, don't declare api functions extern "C". | Alexander Gavrilov | 2012-03-25 | 1 | -1/+1 |
| | | |||||
| * | Fix Lua compilation on win32 - extern must come BEFORE __declspec | Quietust | 2012-03-24 | 1 | -2/+2 |
| | | |||||
| * | Tweaks and cleanups | Petr Mrázek | 2012-03-24 | 1 | -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 Gavrilov | 2012-03-23 | 1 | -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 Gavrilov | 2012-03-19 | 2 | -4/+18 |
| | | |||||
| * | Move depends out of main library, make them (static) libraries. | Petr Mrázek | 2012-03-13 | 60 | -0/+17322 |
