aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* src/ltable.js: Implement table_hash for lightuserdatadaurnimator2017-05-23
|
* src/lmathlib.js: Optimise math.ultdaurnimator2017-05-23
| | | | See https://jsperf.com/unsigned-comparison
* src/ldo.js: luaG_runerror takes lua stringsdaurnimator2017-05-23
|
* src/ldo.js: free CallInfo to recover from (lua) stack overflowdaurnimator2017-05-23
|
* Revert "src/lstate.js: Remove useless luaE_freeCI"daurnimator2017-05-23
| | | | This reverts commit 6646bebd474b95a2d4cbb8558c0d1cb5b5353de0.
* src/lapi.js: Throw errors when attempting to use pseudo-index with index2addr_daurnimator2017-05-23
|
* src/lobject.js: Don't assume LUA_COMPAT_FLOATSTRINGdaurnimator2017-05-23
|
* Add luaD_inctop calls where appropriatedaurnimator2017-05-23
|
* src/lauxlib.js: Use lua_pushfstring for formatting numbersdaurnimator2017-05-23
|
* Introduce luaO_tostringdaurnimator2017-05-23
|
* src/luaconf.js: Implement lua_integer2str and lua_number2strdaurnimator2017-05-23
|
* src/lstrlib: math.mininteger has to print speciallydaurnimator2017-05-23
|
* src/lvm.js: Introduce cvt2num at mirror cvt2strdaurnimator2017-05-22
|
* Introduce lvm.cvt2strdaurnimator2017-05-22
| | | | In future this could be configurable
* src/lapi.js: Simplify+optimise lua_rotatedaurnimator2017-05-22
|
* Merge remote-tracking branch 'daurnimator/stack'Benoit Giannangeli2017-05-22
|\
| * src/ldo.js: Add assert to luaD_reallocstack from C sourcesdaurnimator2017-05-22
| |
| * src/lcode.js: Fix patchtestreg to actually modify the instructiondaurnimator2017-05-22
| |
| * Compare allowed stack indices to stack_lastdaurnimator2017-05-22
| | | | | | | | Not L.stack.length which is more equivalent to C's L->stacksize
| * 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
* | Fixed bad boolean handling in luaV_finishOpBenoit Giannangeli2017-05-22
| |
* | luaV_finishOp put concat results in wrong stack slotBenoit Giannangeli2017-05-22
|/
* 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
|