Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2015-04-29 | Update scm rockspec. | Philipp Janda | 1 | -1/+2 | |
2015-04-29 | Fix compilation of lstrlib.c for Lua 5.1. | Philipp Janda | 1 | -0/+1 | |
The removal of lualib.h from compat-5.3.h causes an unwanted replacement of luaopen_string to luaopen_string_XXX. Include lualib.h in lprefix.h before the corresponding macro definition to counter that. | |||||
2015-04-26 | Adapt tests for compat53.module. | Philipp Janda | 1 | -55/+73 | |
Run tests for compat53.module if "module" is given as argument to the test script. Skip tests that don't apply in this case. | |||||
2015-04-26 | Choose correct xpcall implementation in compat53 module. | Philipp Janda | 1 | -2/+2 | |
2015-04-26 | Fix typo. | Philipp Janda | 1 | -1/+1 | |
2015-04-26 | Add nonyieldable xpcall that takes extra arguments. | Philipp Janda | 2 | -6/+14 | |
Although the full-featured yieldable xpcall has been moved to the compat53 module, the compat53.module module can at least have a version that takes and passes extra arguments. Also remove some unnecessary local aliases left over from previous refactoring. | |||||
2015-04-25 | Document changes to compat53.module in readme. | Philipp Janda | 1 | -19/+10 | |
2015-04-25 | Refactor compat53 and compat53.module Lua modules. | Philipp Janda | 3 | -968/+985 | |
The new compat53.module module contains only changes that don't affect other files, and it is supposed to be used in modules like this: local _ENV = require( "compat53.module" ) if setfenv then setfenv( 1, _ENV ) end compat53.module does not change string/file metatables, and it also doesn't support yielding from (x)pcall. The compat53 module copies all functions from compat53.module to the global environment, and additionally sets string/file metatables and implements yieldable (x)pcall. | |||||
2015-04-21 | Point to correct wiki. | Philipp Janda | 1 | -1/+1 | |
2015-04-21 | Link to issue with coroutine.running. | Philipp Janda | 1 | -3/+6 | |
2015-04-20 | Make coroutine mappings weak (and document them). | Philipp Janda | 1 | -7/+18 | |
(x)pcall uses coroutines internally to allow yielding. The internal mapping tables for those coroutines (and the initial coroutine that started the pcall) should not keep the threads alive if the (x)pcall yields and is never resumed again. | |||||
2015-04-12 | document new submodules | Philipp Janda | 1 | -1/+26 | |
2015-04-11 | split compat53 Lua module into separate modules that do/don't modify the ↵ | Philipp Janda | 4 | -165/+282 | |
global env | |||||
2015-03-17 | link to wiki for functions with compatibility issues | Philipp Janda | 1 | -50/+38 | |
2015-03-08 | remove support for luaL_Stream (due to LuaJIT incompatibility) | Philipp Janda | 2 | -15/+0 | |
2015-02-25 | make sure that _LOADED is not nil | Alessandro Ghedini | 1 | -1/+1 | |
2015-02-23 | remove some references to global variables | Philipp Janda | 1 | -1/+3 | |
2015-02-20 | fix test for invalid LUA_OP* | Philipp Janda | 1 | -1/+1 | |
2015-02-20 | Make code snippets more readable. | Hisham Muhammad | 1 | -30/+13 | |
2015-02-16 | remove spurious (void*) cast | Philipp Janda | 1 | -1/+1 | |
2015-02-14 | make LuaJIT support for luaL_Stream interface possible | Philipp Janda | 1 | -0/+7 | |
2015-01-24 | minor fixes | Philipp Janda | 1 | -4/+3 | |
2015-01-24 | better performance for lua_compare; some code refactoring | Philipp Janda | 2 | -52/+41 | |