aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * Add braces and suppress warning.strerrorPhilipp Janda2017-09-241-3/+7
| |
| * Do less stuff when sz is 0 in compat53_strerror().Philipp Janda2017-09-231-10/+10
| |
| * Transparently handle GNU/XSI strerror_r.Philipp Janda2017-09-231-45/+20
|/ | | | Closes #36.
* Add Travis-CI integrationPhilipp Janda2017-09-184-7/+60
|
* Fix links in the README.md.Philipp Janda2017-09-161-3/+3
|
* Merge branch 'ThePhD-feature/luaL_loadfilebufferx'Philipp Janda2017-09-165-72/+421
|\
| * Add tests for `luaL_load{buffer,file}x`.Philipp Janda2017-09-163-76/+129
| | | | | | | | | | Fix bug regarding empty input in `lua_load`. Adapt error message and error code.
| * Add Lua 5.3 version of `lua_load`.Philipp Janda2017-09-163-37/+73
| | | | | | | | | | Change `luaL_loadfilex` to use the modified `lua_load` function. Add more credits to the README.md.
| * Merge branch 'feature/luaL_loadfilebufferx' of ↵Philipp Janda2017-09-163-6/+266
|/| | | | | | | https://github.com/ThePhD/lua-compat-5.3 into ThePhD-feature/luaL_loadfilebufferx
| * fix usage of tabsThe Phantom Derpstorm2017-09-131-5/+5
| |
| * update readmeThePhD2017-09-131-2/+2
| |
| * implement luaL_loadbufferx and luaL_loadfilexThePhD2017-09-132-4/+264
| |
* | Merge branch 'daurnimator-luaL_Stream'Philipp Janda2017-09-162-9/+21
|\ \
| * | Include lualib.h, remove #define LUA_FILEHANDLE.Philipp Janda2017-09-161-8/+5
| | | | | | | | | | | | | | | | | | | | | This avoids warnings about redefinitions when `lualib.h` is included after `compat-5.3.h`. Lua 5.1 only. Also make clear that `COMPAT53_INCLUDE_SOURCE` is an internal macro by undefining it before we use it.
| * | Merge branch 'luaL_Stream' of https://github.com/daurnimator/lua-compat-5.3 ↵Philipp Janda2017-09-162-6/+21
|/| | | | | | | | | | | into daurnimator-luaL_Stream
| * | Add (partial) luaL_Stream definitiondaurnimator2017-09-082-6/+17
| | |
| * | Add LUA_FILEHANDLE definedaurnimator2017-09-082-0/+4
| | |
* | | Merge branch 'ThePhD-fix/lua_Number_casts'Philipp Janda2017-09-141-2/+2
|\ \ \
| * | | Merge branch 'fix/lua_Number_casts' of ↵Philipp Janda2017-09-141-2/+2
|/| | | | | | | | | | | | | | | https://github.com/ThePhD/lua-compat-5.3 into ThePhD-fix/lua_Number_casts
| * | | fix `lua_Integer` casts that error on Visual C++ and other pedantic ↵ThePhD2017-09-131-2/+2
| | |/ | |/| | | | | | | conversion-warning compilers for 64-bit builds
* | | Merge branch 'ThePhD-feature/LUA_ERRGCMM'Philipp Janda2017-09-143-1/+19
|\ \ \
| * | | define LUA_ERRGCMM code for return valuesThePhD2017-09-132-0/+14
| |/ /
| * | Merge pull request #26 from daurnimator/lua_resumePhilipp Janda2017-09-092-0/+4
| |\ \ | | |/ | |/| Add lua_resume
| | * Add lua_resumedaurnimator2017-09-082-0/+4
| |/
| * Merge pull request #24 from daurnimator/implicit-fallthroughPhilipp Janda2017-09-041-1/+1
|/| | | | | Use FALLTHROUGH annotation to fix -Wimplicit-fallthrough warning
| * Use FALLTHROUGH annotation to fix -Wimplicit-fallthrough warningdaurnimator2017-09-031-1/+1
|/ | | | | Using a form that passes -Wimplicit-fallthrough=4. See https://gcc.gnu.org/onlinedocs/gcc-7.1.0/gcc/Warning-Options.html#index-Wimplicit-fallthrough
* Add rockspec for new minor release.v0.5Philipp Janda2017-08-281-0/+32
|
* Put parens around L macro parameter as well.Philipp Janda2017-08-271-33/+33
| | | | | Lua only reserves the right to evaluate L multiples times after all, *not* that L won't contain commas.
* Update backports to Lua 5.3.4.Philipp Janda2017-08-274-85/+126
|
* Provide fixed luaL_tolstring for Lua 5.2 as well.Philipp Janda2017-08-272-37/+37
|
* Fix compilation for older versions of Lua 5.3.Philipp Janda2017-08-271-0/+5
| | | | Fixes #20.
* Add parens around macro arguments.Philipp Janda2017-08-272-35/+35
| | | | Fixes #22.
* Handle lua_pushlstring edge case for Lua 5.2 too.Philipp Janda2017-08-271-0/+3
|
* Merge branch 'daurnimator-pushstring-return'Philipp Janda2017-08-274-0/+20
|\
| * Handle edge case for lua_pushlstring(). Add test.Philipp Janda2017-08-273-1/+14
| |
| * Add lua_pushlstring (return value)daurnimator2017-08-262-1/+4
| |
| * Have lua_pushstring return the pushed stringdaurnimator2017-08-262-0/+4
|/ | | | Fixes #21
* Add rockspec for new minor release.v0.4Philipp Janda2017-08-091-0/+32
|
* Add tests for luaL_tolstring and string.pack.Philipp Janda2017-08-091-2/+6
|
* Update behavior of luaL_tolstring().Philipp Janda2017-08-081-3/+10
|
* Fix compilation issues with recent LuaJIT 2.1.Philipp Janda2017-08-073-27/+44
| | | | | | | | Protect macros with `#ifndef`. Use "compat53" prefix instead of "lua" prefix for the mode where static versions of the C API functions are created. Fixes #19.
* Fix lua_len and luaL_len to use lua_Integer.Philipp Janda2016-07-082-8/+11
|
* Merge pull request #18 from jvprat/loadstringPhilipp Janda2016-05-191-1/+1
|\ | | | | Fix loadstring on Lua 5.1
| * Fix loadstring on Lua 5.1Jordi Vilalta Prat2016-05-181-1/+1
|/
* Merge pull request #17 from jvprat/os_executePhilipp Janda2016-04-261-1/+4
|\ | | | | Fix the return code of os.execute() on Windows.
| * Fix the return code of os.execute() on Windows.Jordi Vilalta Prat2016-04-251-1/+4
|/
* Simplify utf8 helper function.Philipp Janda2016-02-052-8/+2
| | | | | There's no need for `compat_utf8_escape()` to be a vararg function. Remove default templates from `package.path`.
* Add tests for utf8 backport.Philipp Janda2016-01-241-0/+42
|
* Update backports.Philipp Janda2016-01-224-241/+485
| | | | | The backports of lstrlib.c, ltablib.c, and lutf8lib.c have been updated to Lua version 5.3.2.
* OSX is a Unix.Philipp Janda2016-01-221-1/+2
|