aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* src/lstate.js: Remove useless luaE_freeCIdaurnimator2017-05-22
| | | | We don't keep around a pool of callinfo objects
* src/ldo.js: Add luaD_shrinkstack callsdaurnimator2017-05-22
|
* Add luaD_checkstack callsdaurnimator2017-05-22
|
* Fix lua_checkstack to check against LUAI_MAXSTACK. Adds luaD_growstack and ↵daurnimator2017-05-22
| | | | luaD_reallocstack
* src/lmathlib.js: Return nothing from math_randomseeddaurnimator2017-05-22
|
* Checks for nil and NaN table keysdaurnimator2017-05-22
|
* src/lmathlib.js: Implement math.atan second argumentdaurnimator2017-05-22
|
* src/lmathlib.js: math.ult needs to compare as if integers are unsigneddaurnimator2017-05-22
|
* src/lmathlib.js: Math.abs can return out of range integersdaurnimator2017-05-22
|
* src/lbaselib.js: tonumber shouldn't ignore trailing junkdaurnimator2017-05-22
| | | | Sadly I couldn't figure out a way to continue use of parseInt
* Add TMcachedaurnimator2017-05-22
|
* src/lvm.js: Inline luaV_finishget and luaV_finishset; change recursion into loopdaurnimator2017-05-22
| | | | | Fixes exceeding stack size Brings more in line with C source
* src/lstrlib.js: Always return a new string from num2strauxdaurnimator2017-05-22
| | | | It may get mutated in lua_number2strx
* src/lstrlib.js: Remove useless copies in num2strauxdaurnimator2017-05-22
|
* lua_stringtonumber is meant to return length + 1daurnimator2017-05-22
|
* src/lobject.js: MAXBY10 should be lower integer bounddaurnimator2017-05-22
|
* Use Math.imul when multiplying integersdaurnimator2017-05-22
|
* src/lcode.js: Fix incorrect function call orderdaurnimator2017-05-22
|
* src/lcode.js: fix typo in error messagedaurnimator2017-05-22
|
* src/lparser.js: create error message using luaO_pushfstringdaurnimator2017-05-22
| | | | Fixes issue where 'what' is a lua string (not a JS string)
* src/lauxlib.js: compare js stringsdaurnimator2017-05-22
|
* src/lauxlib.js: lua_getinfo takes a lua string (array) not a JS stringdaurnimator2017-05-22
|
* src/ldebug.js: namewhat should always contain a stringdaurnimator2017-05-22
|
* src/ldebug.js: Fix returning TString instead of raw stringdaurnimator2017-05-22
|
* src/ldebug.js: lineinfo is always an array in JS, check length insteaddaurnimator2017-05-22
|
* src/lbaselib.js: Implement argument checking in collectgarbagedaurnimator2017-05-22
|
* src/liolib.js: Do more argument checking before bailing out of opening a filedaurnimator2017-05-21
|
* src/ldebug.js: Fix indexing TValue instead of value when finding upvalue namedaurnimator2017-05-21
|
* src/ldebug.js: compare same string typesdaurnimator2017-05-21
|
* src/lobject.js: Fix luaO_chunkid to actually return a short source namedaurnimator2017-05-21
|
* src/lparser.js: Use .getstr() when creating error messagesdaurnimator2017-05-21
|
* src/lobject.js: missing semicolondaurnimator2017-05-21
|
* src/lobject.js: parseFloat ignores trailing junk, validate with regex firstdaurnimator2017-05-21
|
* src/lobject.js: our lua_strx2number returns null on failuredaurnimator2017-05-21
|
* src/lobject.js: Check that there is no trailing junk from lua_strx2numberdaurnimator2017-05-21
| | | | Also stop adding trailing null byte in llex.js
* src/lmathlib.js: fix fmod: plain javascript % operator has correct behaviourdaurnimator2017-05-21
|
* lua_numbertointeger should return false on failuredaurnimator2017-05-21
| | | | Found via behaviour of pushnumint in lmathlib
* Centralise integer mod and div operations to luaV_mod and luaV_divdaurnimator2017-05-21
|
* src/lvm.js: integer unary minus need to be bitwise or-ddaurnimator2017-05-21
|
* Use same mod operator behaviour from both lvm.js and lobject.jsdaurnimator2017-05-21
|
* shifts have different semantics to JS, use add luaV_shiftldaurnimator2017-05-21
|
* src/lobject.js: l_str2int - keep numbers in representable rangedaurnimator2017-05-21
|
* Fixed bad boolean comparison in luaV_finisOpBenoit Giannangeli2017-05-21
|
* Fixed bad opcode test in luaV_finishOpBenoit Giannangeli2017-05-21
|
* lua_checkstack did not adjust ci.topBenoit Giannangeli2017-05-21
|
* ldblib.js: fixed bad type for info lastlinedefined and linedefinedBenoit Giannangeli2017-05-20
|
* Fixed bad oldtop value in seterrorobjBenoit Giannangeli2017-05-20
|
* Use >>> instead of >>Benoit Giannangeli2017-05-20
|
* Fixed bad tonumber tests for bitwise opcodesBenoit Giannangeli2017-05-20
|
* [test-suite] nextvar.js, fixed bad comparison in LTNumBenoit Giannangeli2017-05-19
|