aboutsummaryrefslogtreecommitdiff
path: root/lprefix.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-04-29Update scm rockspec.Philipp Janda1-1/+2
2015-04-29Fix compilation of lstrlib.c for Lua 5.1.Philipp Janda1-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-26Adapt tests for compat53.module.Philipp Janda1-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-26Choose correct xpcall implementation in compat53 module.Philipp Janda1-2/+2
2015-04-26Fix typo.Philipp Janda1-1/+1
2015-04-26Add nonyieldable xpcall that takes extra arguments.Philipp Janda2-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-25Document changes to compat53.module in readme.Philipp Janda1-19/+10
2015-04-25Refactor compat53 and compat53.module Lua modules.Philipp Janda3-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-21Point to correct wiki.Philipp Janda1-1/+1
2015-04-21Link to issue with coroutine.running.Philipp Janda1-3/+6
2015-04-20Make coroutine mappings weak (and document them).Philipp Janda1-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-12document new submodulesPhilipp Janda1-1/+26
2015-04-11split compat53 Lua module into separate modules that do/don't modify the ↵Philipp Janda4-165/+282
global env
2015-03-17link to wiki for functions with compatibility issuesPhilipp Janda1-50/+38
2015-03-08remove support for luaL_Stream (due to LuaJIT incompatibility)Philipp Janda2-15/+0
2015-02-25make sure that _LOADED is not nilAlessandro Ghedini1-1/+1
2015-02-23remove some references to global variablesPhilipp Janda1-1/+3
2015-02-20fix test for invalid LUA_OP*Philipp Janda1-1/+1
2015-02-20Make code snippets more readable.Hisham Muhammad1-30/+13
2015-02-16remove spurious (void*) castPhilipp Janda1-1/+1
2015-02-14make LuaJIT support for luaL_Stream interface possiblePhilipp Janda1-0/+7
2015-01-24minor fixesPhilipp Janda1-4/+3
2015-01-24better performance for lua_compare; some code refactoringPhilipp Janda2-52/+41