| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | assert: skip compat53 itself from the stacktrace | Hisham Muhammad | 2026-02-01 | 1 | -2/+2 |
| | | |||||
| * | Improve compatibility with FILE* metatype on LuaJIT | Hisham Muhammad | 2026-02-01 | 1 | -1/+14 |
| | | | | | Fixes #70. | ||||
| * | prevent loops when loading files within require | Hisham Muhammad | 2025-01-23 | 1 | -41/+22 |
| | | |||||
| * | fix: return third result in file-opening functions | Hisham Muhammad | 2024-08-30 | 1 | -6/+18 |
| | | |||||
| * | adjust file metatables even in compat53.module mode (#67) | Hisham Muhammad | 2024-08-29 | 3 | -56/+143 |
| | | | | | | * 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 Muhammad | 2024-08-29 | 1 | -0/+1 |
| | | |||||
| * | Support getting io.popen results on file:close() on PUC-Rio Lua 5.1 (#53) | Hisham Muhammad | 2023-09-13 | 1 | -0/+9 |
| | | |||||
| * | Fix loadstring on Lua 5.1 | Jordi Vilalta Prat | 2016-05-18 | 1 | -1/+1 |
| | | |||||
| * | Fix the return code of os.execute() on Windows. | Jordi Vilalta Prat | 2016-04-25 | 1 | -1/+4 |
| | | |||||
| * | Make '*' optional for file:lines() and file:read(). | Philipp Janda | 2015-08-24 | 1 | -239/+306 |
| | | |||||
| * | Make '*' optional for io.read() and io.lines(). | Philipp Janda | 2015-08-23 | 1 | -21/+77 |
| | | |||||
| * | 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 | 1 | -0/+14 |
| | | |||||
| * | Compress decimal escapes for string.format("%q"). | Philipp Janda | 2015-06-02 | 1 | -3/+3 |
| | | | | | | | | | 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. | ||||
| * | Fix warnings emitted by luacheck.v0.2 | Philipp Janda | 2015-05-01 | 2 | -13/+5 |
| | | |||||
| * | 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. | ||||
| * | 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 | ||||
| * | split compat53 Lua module into separate modules that do/don't modify the ↵ | Philipp Janda | 2015-04-11 | 3 | -0/+1050 |
| global env | |||||
