aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* ci: try using clangHEADmasterHisham Muhammad2025-02-131-1/+2
|
* ci: use ubuntu_rolling to avoid aarch64 compiler crashHisham Muhammad2025-02-131-1/+1
|
* ci: update bin32 tests to ubuntu22.04Hisham Muhammad2025-02-131-2/+2
|
* ci: add libreadline-dev dependencyHisham Muhammad2025-02-131-0/+1
|
* Release: 0.14.4v0.14.4Hisham Muhammad2025-01-231-0/+32
|
* prevent loops when loading files within requireHisham Muhammad2025-01-231-41/+22
|
* Release: 0.14.3v0.14.3Hisham Muhammad2024-08-311-0/+32
|
* win32: fix detection for mingw32Hisham Muhammad2024-08-311-1/+1
|
* revert change in tolstreamHisham Muhammad2024-08-311-1/+1
|
* Release: 0.14.2v0.14.2Hisham Muhammad2024-08-301-0/+32
|
* fix: return third result in file-opening functionsHisham Muhammad2024-08-301-6/+18
|
* Release: 0.14.1v0.14.1Hisham Muhammad2024-08-291-0/+33
|
* avoid MSVC build errorHisham Muhammad2024-08-291-3/+9
| | | | | | | | | | ``` Microsoft (R) Incremental Linker Version 14.00.24241.7 Copyright (C) Microsoft Corporation. All rights reserved. io.def : error LNK2001: unresolved external symbol luaopen_compat53_io compat53/io.lib : fatal error LNK1120: 1 unresolved externals Error: Build error: Failed compiling module compat53/io.dll ```
* Release: 0.14v0.14Hisham Muhammad2024-08-292-1/+34
|
* rename updated scm rockspecHisham Muhammad2024-08-291-1/+1
|
* adjust file metatables even in compat53.module mode (#67)Hisham Muhammad2024-08-296-65/+160
| | | | | * adjust file metatables even in compat53.module mode * apply tweaks only to LuaJIT; file:write() only to compat=none
* fix: math.tointeger accepts strings convertible to integers (#66)Hisham Muhammad2024-08-292-0/+2
|
* Release 0.13Hisham Muhammad2024-02-231-0/+32
|
* fix detection of LUA_USE_WINDOWS define (#64)Hisham Muhammad2024-02-241-5/+4
|
* CI: add a job running clang (#60)Hisham Muhammad2023-11-021-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.12Hisham Muhammad2023-11-021-0/+33
|
* Fix missing closing parenthesis in preprocessor macro (#58)Gran PC2023-11-021-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.11Hisham Muhammad2023-10-192-1/+34
|
* Support getting io.popen results on file:close() on PUC-Rio Lua 5.1 (#53)Hisham Muhammad2023-09-138-2/+906
|
* strerror_r is not available on mingw (#57)Hisham Muhammad2022-08-011-2/+3
|
* keplerproject -> lunarmodulesHisham Muhammad2022-07-2613-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 Janda2021-12-182-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 Janda2020-11-112-1/+67
|
* Multi arch tests (#50)Philipp Janda2020-11-111-0/+51
|
* Add latest bit32 rockspecPhilipp Janda2020-11-081-0/+28
|
* Fix bit32 conversion issues for Lua 5.1 on 32 bitv0.10Philipp Janda2020-10-102-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 rockspecPhilipp Janda2020-10-101-1/+1
|
* Fix repository name in rockspecv0.9Philipp Janda2020-07-091-1/+1
|
* Add bit32 libraryPhilipp Janda2020-07-094-0/+298
|
* Make it usable on Lua 5.4v0.8Philipp Janda2020-07-085-6/+40
|
* Update backports to Lua 5.3.5 versionsPhilipp Janda2018-12-153-7/+7
|
* Fix feature detection for strerror_rPhilipp Janda2018-12-151-2/+3
| | | | Closes #44.
* Fix structure initialization in compat53 lua_loadPhilipp Janda2018-12-151-1/+3
| | | | Closes #45.
* Make test C module compile as C++ again.Philipp Janda2018-07-291-1/+1
|
* Link to `lua_getextraspace` quirks in README.md.Philipp Janda2018-07-291-1/+2
|
* Improve `lua_getextraspace` tests.Philipp Janda2018-07-291-7/+21
|
* Add an implementation of `lua_getextraspace()`.Philipp Janda2018-07-275-6/+92
|
* Add rockspec for v0.7 release.Philipp Janda2018-07-081-0/+32
|
* Fix feature test for C11 Annex K (strerror_s).v0.7Philipp Janda2018-04-261-2/+2
| | | | Fixes #41.
* Provide strict lua_tointegerx for Lua 5.2 as well.Philipp Janda2018-02-112-19/+19
| | | | Closes #40.
* lua_tointeger(x) rejects non-ints for Lua 5.1.Philipp Janda2018-01-134-5/+20
|
* Verify that lua_getuservalue returns type.Philipp Janda2018-01-131-2/+2
| | | | Closes #39.
* Merge pull request #38 from ThePhD/warnings/vcxxv0.6Philipp Janda2017-10-091-2/+2
|\ | | | | fix VC warnings for integer down-conversions to char
| * fix VC warnings for integer down-conversions to charThePhD2017-10-041-2/+2
|/
* Merge pull request #37 from keplerproject/strerrorPhilipp Janda2017-10-011-46/+25
|\ | | | | Transparently handle GNU/XSI strerror_r.