aboutsummaryrefslogtreecommitdiff
path: root/compat53/module.lua (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix loadstring on Lua 5.1Jordi Vilalta Prat2016-05-181-1/+1
|
* Fix the return code of os.execute() on Windows.Jordi Vilalta Prat2016-04-251-1/+4
|
* Make '*' optional for io.read() and io.lines().Philipp Janda2015-08-231-21/+77
|
* assert() can handle non-string errors.Philipp Janda2015-08-181-0/+14
|
* Compress decimal escapes for string.format("%q").Philipp Janda2015-06-021-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.2Philipp Janda2015-05-011-11/+3
|
* Fix typo.Philipp Janda2015-04-261-1/+1
|
* Add nonyieldable xpcall that takes extra arguments.Philipp Janda2015-04-261-4/+12
| | | | | | | | | 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 Janda2015-04-251-34/+751
| | | | | | | | | | | | | | | 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 Janda2015-04-111-0/+37
global env