Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make '*' optional for file:lines() and file:read(). | Philipp Janda | 2015-08-24 | 1 | -239/+306 |
| | |||||
* | 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! | ||||
* | Fix warnings emitted by luacheck.v0.2 | Philipp Janda | 2015-05-01 | 1 | -2/+2 |
| | |||||
* | Choose correct xpcall implementation in compat53 module. | Philipp Janda | 2015-04-26 | 1 | -2/+2 |
| | |||||
* | Add nonyieldable xpcall that takes extra arguments. | Philipp Janda | 2015-04-26 | 1 | -2/+2 |
| | | | | | | | | | 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 | 1 | -13/+234 |
| | | | | | | | | | | | | | | | 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. | ||||
* | split compat53 Lua module into separate modules that do/don't modify the ↵ | Philipp Janda | 2015-04-11 | 1 | -0/+103 |
global env |