Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2015-09-07 | Fix macro for lua_stringtonumber. | Philipp Janda | 1 | -1/+1 | |
2015-09-07 | Fix linker problems when compiling as C++. | Philipp Janda | 2 | -2/+6 | |
When compiling compat-5.3.c as C++, the Lua symbols may still have C-linkage. Reference those symbols as `extern "C"` by default and add an option for normal (C++) linkage. | |||||
2015-09-05 | Make C API compile as C++. | Philipp Janda | 1 | -1/+1 | |
2015-08-24 | Make '*' optional for file:lines() and file:read(). | Philipp Janda | 2 | -242/+317 | |
2015-08-23 | Make '*' optional for io.read() and io.lines(). | Philipp Janda | 2 | -22/+90 | |
2015-08-18 | Mention assert() implementation. | Philipp Janda | 1 | -0/+1 | |
2015-08-18 | Remove superfluous redefinitions. | Philipp Janda | 1 | -23/+5 | |
By calling the `compat53.module` version of `coroutine.running` from the `compat53` redefinition, the `main_coroutine` value can be reused and the need for the `coroutine.status` and `coroutine.resume` redefinitions vanishes. Thanks @daurnimator! | |||||
2015-08-18 | assert() can handle non-string errors. | Philipp Janda | 2 | -2/+27 | |
2015-07-11 | luaL_newmetatable sets __name on all Lua versions. | Philipp Janda | 2 | -1/+7 | |
2015-06-02 | Compress decimal escapes for string.format("%q"). | Philipp Janda | 2 | -4/+4 | |
Lua 5.2+ escape all control characters using decimal escape sequences. The previous code did the same but always used three decimals (possibly zero-padded) no matter the following character. The new version only uses all three decimals when another decimal character is following. | |||||
2015-05-20 | Add luaL_execresult to C API. | Philipp Janda | 5 | -3/+55 | |