Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Release 0.13v0.13 | Hisham Muhammad | 2024-02-23 | 1 | -0/+32 |
| | |||||
* | fix detection of LUA_USE_WINDOWS define (#64) | Hisham Muhammad | 2024-02-24 | 1 | -5/+4 |
| | |||||
* | CI: add a job running clang (#60) | Hisham Muhammad | 2023-11-02 | 1 | -1/+4 |
| | | | | | * CI: add a job running clang * CI: fix compiler call that was hardcoded to gcc * CI: run clang in default mode | ||||
* | Release: 0.12v0.12 | Hisham Muhammad | 2023-11-02 | 1 | -0/+33 |
| | |||||
* | Fix missing closing parenthesis in preprocessor macro (#58) | Gran PC | 2023-11-02 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | Fixes this: ```In file included from liolib.c:10:0: lprefix.h:201:0: warning: "LUA_USE_POSIX" redefined [enabled by default] # define LUA_USE_POSIX 1 ^ In file included from /usr/include/lua.h:16:0, from c-api/compat-5.3.h:10, from lprefix.h:46, from liolib.c:10: /usr/include/luaconf.h:21:0: note: this is the location of the previous definition #define LUA_USE_POSIX ^ In file included from liolib.c:10:0: lprefix.h:202:9: error: missing ')' in expression # elif (defined(_MSC_VER) ``` | ||||
* | Release: 0.11v0.11 | Hisham Muhammad | 2023-10-19 | 2 | -1/+34 |
| | |||||
* | Support getting io.popen results on file:close() on PUC-Rio Lua 5.1 (#53) | Hisham Muhammad | 2023-09-13 | 8 | -2/+906 |
| | |||||
* | strerror_r is not available on mingw (#57) | Hisham Muhammad | 2022-08-01 | 1 | -2/+3 |
| | |||||
* | keplerproject -> lunarmodules | Hisham Muhammad | 2022-07-26 | 13 | -45/+46 |
| | | | | | | | | | | Regarding the copyright: Kepler Project did not exist as an entity in 2015, and the original copyright for lua-compat-5.2 on which this is based said "Copyright 2013 Hisham Muhammad." The updated notice should be a better representation of authorship, including the copyright for the parts included from upstream Lua. | ||||
* | Convert lua_pushlstring from a macro to a function (#55) | Philipp Janda | 2021-12-18 | 2 | -6/+11 |
| | | | | This should avoid issues with multiple evaluations of the arguments, which should be very rare, but could in principle happen. | ||||
* | GitHub Actions (#51) | Philipp Janda | 2020-11-11 | 2 | -1/+67 |
| | |||||
* | Multi arch tests (#50) | Philipp Janda | 2020-11-11 | 1 | -0/+51 |
| | |||||
* | Add latest bit32 rockspec | Philipp Janda | 2020-11-08 | 1 | -0/+28 |
| | |||||
* | Fix bit32 conversion issues for Lua 5.1 on 32 bitv0.10 | Philipp Janda | 2020-10-10 | 2 | -2/+13 |
| | | | | | | | The default unsigned conversion procedure from upstream using `lua_Integer` as an intermediate value fails if `lua_Integer` has only 32 bits (as is the case on 32 bit Lua 5.1). This fix uses a `lua_Number` (hopefully double) as intermediate value in those cases. | ||||
* | Fix bit32 scm rockspec | Philipp Janda | 2020-10-10 | 1 | -1/+1 |
| | |||||
* | Fix repository name in rockspecv0.9 | Philipp Janda | 2020-07-09 | 1 | -1/+1 |
| | |||||
* | Add bit32 library | Philipp Janda | 2020-07-09 | 4 | -0/+298 |
| | |||||
* | Make it usable on Lua 5.4v0.8 | Philipp Janda | 2020-07-08 | 5 | -6/+40 |
| | |||||
* | Update backports to Lua 5.3.5 versions | Philipp Janda | 2018-12-15 | 3 | -7/+7 |
| | |||||
* | Fix feature detection for strerror_r | Philipp Janda | 2018-12-15 | 1 | -2/+3 |
| | | | | Closes #44. | ||||
* | Fix structure initialization in compat53 lua_load | Philipp Janda | 2018-12-15 | 1 | -1/+3 |
| | | | | Closes #45. | ||||
* | Make test C module compile as C++ again. | Philipp Janda | 2018-07-29 | 1 | -1/+1 |
| | |||||
* | Link to `lua_getextraspace` quirks in README.md. | Philipp Janda | 2018-07-29 | 1 | -1/+2 |
| | |||||
* | Improve `lua_getextraspace` tests. | Philipp Janda | 2018-07-29 | 1 | -7/+21 |
| | |||||
* | Add an implementation of `lua_getextraspace()`. | Philipp Janda | 2018-07-27 | 5 | -6/+92 |
| | |||||
* | Add rockspec for v0.7 release. | Philipp Janda | 2018-07-08 | 1 | -0/+32 |
| | |||||
* | Fix feature test for C11 Annex K (strerror_s).v0.7 | Philipp Janda | 2018-04-26 | 1 | -2/+2 |
| | | | | Fixes #41. | ||||
* | Provide strict lua_tointegerx for Lua 5.2 as well. | Philipp Janda | 2018-02-11 | 2 | -19/+19 |
| | | | | Closes #40. | ||||
* | lua_tointeger(x) rejects non-ints for Lua 5.1. | Philipp Janda | 2018-01-13 | 4 | -5/+20 |
| | |||||
* | Verify that lua_getuservalue returns type. | Philipp Janda | 2018-01-13 | 1 | -2/+2 |
| | | | | Closes #39. | ||||
* | Merge pull request #38 from ThePhD/warnings/vcxxv0.6 | Philipp Janda | 2017-10-09 | 1 | -2/+2 |
|\ | | | | | fix VC warnings for integer down-conversions to char | ||||
| * | fix VC warnings for integer down-conversions to char | ThePhD | 2017-10-04 | 1 | -2/+2 |
|/ | |||||
* | Merge pull request #37 from keplerproject/strerror | Philipp Janda | 2017-10-01 | 1 | -46/+25 |
|\ | | | | | Transparently handle GNU/XSI strerror_r. | ||||
| * | Add braces and suppress warning.strerror | Philipp Janda | 2017-09-24 | 1 | -3/+7 |
| | | |||||
| * | Do less stuff when sz is 0 in compat53_strerror(). | Philipp Janda | 2017-09-23 | 1 | -10/+10 |
| | | |||||
| * | Transparently handle GNU/XSI strerror_r. | Philipp Janda | 2017-09-23 | 1 | -45/+20 |
|/ | | | | Closes #36. | ||||
* | Add Travis-CI integration | Philipp Janda | 2017-09-18 | 4 | -7/+60 |
| | |||||
* | Fix links in the README.md. | Philipp Janda | 2017-09-16 | 1 | -3/+3 |
| | |||||
* | Merge branch 'ThePhD-feature/luaL_loadfilebufferx' | Philipp Janda | 2017-09-16 | 5 | -72/+421 |
|\ | |||||
| * | Add tests for `luaL_load{buffer,file}x`. | Philipp Janda | 2017-09-16 | 3 | -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 Janda | 2017-09-16 | 3 | -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 Janda | 2017-09-16 | 3 | -6/+266 |
|/| | | | | | | | https://github.com/ThePhD/lua-compat-5.3 into ThePhD-feature/luaL_loadfilebufferx | ||||
| * | fix usage of tabs | The Phantom Derpstorm | 2017-09-13 | 1 | -5/+5 |
| | | |||||
| * | update readme | ThePhD | 2017-09-13 | 1 | -2/+2 |
| | | |||||
| * | implement luaL_loadbufferx and luaL_loadfilex | ThePhD | 2017-09-13 | 2 | -4/+264 |
| | | |||||
* | | Merge branch 'daurnimator-luaL_Stream' | Philipp Janda | 2017-09-16 | 2 | -9/+21 |
|\ \ | |||||
| * | | Include lualib.h, remove #define LUA_FILEHANDLE. | Philipp Janda | 2017-09-16 | 1 | -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 Janda | 2017-09-16 | 2 | -6/+21 |
|/| | | | | | | | | | | | into daurnimator-luaL_Stream | ||||
| * | | Add (partial) luaL_Stream definition | daurnimator | 2017-09-08 | 2 | -6/+17 |
| | | | |||||
| * | | Add LUA_FILEHANDLE define | daurnimator | 2017-09-08 | 2 | -0/+4 |
| | | |