Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add rockspec for version 0.3. | Philipp Janda | 2015-09-27 | 1 | -0/+32 | |
| | ||||||
* | luaL_checkstack accepts NULL message.v0.3 | Philipp Janda | 2015-09-13 | 2 | -0/+15 | |
| | ||||||
* | Fix macro for lua_stringtonumber. | Philipp Janda | 2015-09-07 | 1 | -1/+1 | |
| | ||||||
* | Fix linker problems when compiling as C++. | Philipp Janda | 2015-09-07 | 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. | |||||
* | Make C API compile as C++. | Philipp Janda | 2015-09-05 | 1 | -1/+1 | |
| | ||||||
* | Make '*' optional for file:lines() and file:read(). | Philipp Janda | 2015-08-24 | 2 | -242/+317 | |
| | ||||||
* | Make '*' optional for io.read() and io.lines(). | Philipp Janda | 2015-08-23 | 2 | -22/+90 | |
| | ||||||
* | Mention assert() implementation. | Philipp Janda | 2015-08-18 | 1 | -0/+1 | |
| | ||||||
* | Remove superfluous redefinitions. | Philipp Janda | 2015-08-18 | 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! | |||||
* | assert() can handle non-string errors. | Philipp Janda | 2015-08-18 | 2 | -2/+27 | |
| | ||||||
* | luaL_newmetatable sets __name on all Lua versions. | Philipp Janda | 2015-07-11 | 2 | -1/+7 | |
| | ||||||
* | Compress decimal escapes for string.format("%q"). | Philipp Janda | 2015-06-02 | 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. | |||||
* | Add luaL_execresult to C API. | Philipp Janda | 2015-05-20 | 5 | -3/+55 | |
| | ||||||
* | Add rockspec for version 0.2. | Philipp Janda | 2015-05-01 | 1 | -0/+32 | |
| | ||||||
* | Fix warnings emitted by luacheck.v0.2 | Philipp Janda | 2015-05-01 | 2 | -13/+5 | |
| | ||||||
* | Update scm rockspec. | Philipp Janda | 2015-04-29 | 1 | -1/+2 | |
| | ||||||
* | Fix compilation of lstrlib.c for Lua 5.1. | Philipp Janda | 2015-04-29 | 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. | |||||
* | Merge branch 'isolated' | Philipp Janda | 2015-04-29 | 4 | -383/+559 | |
|\ | | | | | | | | | Conflicts: README.md | |||||
| * | Adapt tests for compat53.module. | Philipp Janda | 2015-04-26 | 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. | |||||
| * | Choose correct xpcall implementation in compat53 module. | Philipp Janda | 2015-04-26 | 1 | -2/+2 | |
| | | ||||||
| * | Fix typo. | Philipp Janda | 2015-04-26 | 1 | -1/+1 | |
| | | ||||||
| * | Add nonyieldable xpcall that takes extra arguments. | Philipp Janda | 2015-04-26 | 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. | |||||
| * | Document changes to compat53.module in readme. | Philipp Janda | 2015-04-25 | 1 | -19/+10 | |
| | | ||||||
| * | Refactor compat53 and compat53.module Lua modules. | Philipp Janda | 2015-04-25 | 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. | |||||
| * | Merge branch 'master' into isolated | Philipp Janda | 2015-04-20 | 1 | -7/+18 | |
| |\ | | | | | | | | | | | | | Conflicts: compat53/base.lua | |||||
| * | | document new submodules | Philipp Janda | 2015-04-12 | 1 | -1/+26 | |
| | | | ||||||
| * | | split compat53 Lua module into separate modules that do/don't modify the ↵ | Philipp Janda | 2015-04-11 | 4 | -165/+282 | |
| | | | | | | | | | | | | global env | |||||
* | | | Point to correct wiki. | Philipp Janda | 2015-04-21 | 1 | -1/+1 | |
| | | | ||||||
* | | | Link to issue with coroutine.running. | Philipp Janda | 2015-04-21 | 1 | -3/+6 | |
| |/ |/| | ||||||
* | | Make coroutine mappings weak (and document them). | Philipp Janda | 2015-04-20 | 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. | |||||
* | link to wiki for functions with compatibility issues | Philipp Janda | 2015-03-17 | 1 | -50/+38 | |
| | ||||||
* | remove support for luaL_Stream (due to LuaJIT incompatibility) | Philipp Janda | 2015-03-08 | 2 | -15/+0 | |
| | ||||||
* | Merge pull request #9 from ghedo/requiref | Philipp Janda | 2015-02-25 | 1 | -1/+1 | |
|\ | | | | | make sure that _LOADED is not nil | |||||
| * | make sure that _LOADED is not nil | Alessandro Ghedini | 2015-02-25 | 1 | -1/+1 | |
|/ | ||||||
* | remove some references to global variables | Philipp Janda | 2015-02-23 | 1 | -1/+3 | |
| | ||||||
* | fix test for invalid LUA_OP* | Philipp Janda | 2015-02-20 | 1 | -1/+1 | |
| | ||||||
* | Make code snippets more readable. | Hisham Muhammad | 2015-02-20 | 1 | -30/+13 | |
| | ||||||
* | remove spurious (void*) cast | Philipp Janda | 2015-02-16 | 1 | -1/+1 | |
| | ||||||
* | make LuaJIT support for luaL_Stream interface possible | Philipp Janda | 2015-02-14 | 1 | -0/+7 | |
| | ||||||
* | minor fixes | Philipp Janda | 2015-01-24 | 1 | -4/+3 | |
| | ||||||
* | better performance for lua_compare; some code refactoring | Philipp Janda | 2015-01-24 | 2 | -52/+41 | |
| | ||||||
* | add rockspec for pending 0.1 releasev0.1 | Philipp Janda | 2015-01-23 | 1 | -0/+31 | |
| | ||||||
* | fix typo | Philipp Janda | 2015-01-23 | 1 | -1/+1 | |
| | ||||||
* | document LUA_KFUNCTION macro, update readme | Philipp Janda | 2015-01-23 | 1 | -1/+38 | |
| | ||||||
* | update readme | Philipp Janda | 2015-01-22 | 1 | -7/+11 | |
| | ||||||
* | hack around %U format in lutf8lib.c | Philipp Janda | 2015-01-22 | 1 | -1/+30 | |
| | ||||||
* | use Lua 5.3's source for string packing | Philipp Janda | 2015-01-21 | 4 | -9/+1491 | |
| | ||||||
* | backport Lua 5.2/5.3 buffer API for Lua 5.1 | Philipp Janda | 2015-01-21 | 5 | -7/+127 | |
| | ||||||
* | luajit already has yieldable (x)pcall, add tests for code from compat52 | Philipp Janda | 2015-01-20 | 4 | -159/+511 | |
| | ||||||
* | use table library from Lua 5.3 sources if available | Philipp Janda | 2015-01-20 | 5 | -2/+365 | |
| |