summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Fixed bad lineinfo index in luaG_traceexecBenoit Giannangeli2017-05-24
|
* Add missing luaD_checkstack in luaD_hookBenoit Giannangeli2017-05-24
|
* src/ldo.js: Don't want to call user's message handler with a 'this' of CallInfodaurnimator2017-05-24
|
* src/ldo.js: LUA_YIELD comes from defs.TS not lstatedaurnimator2017-05-24
|
* src/lapi.js: Fix typo in lua_arithdaurnimator2017-05-24
|
* src/lvm.js: Use 'uv.isopen' instead of assuming membersdaurnimator2017-05-24
|
* src/lvm.js: Factor out OP_CLOSURE to pushclosuredaurnimator2017-05-24
|
* src/lobject.js: don't convert operands to numbers if first branch failsdaurnimator2017-05-24
|
* src/lcode.js: constfolding should not pass lua state to luaO_arithdaurnimator2017-05-24
| | | | | This essentially backs out https://github.com/lua/lua/commit/99ac4a260fc1bf958515c1816d866852194493f2 See lua mailing thread "'constfolding' passes a proper Lua state to 'luaO_arith'"
* src/lcode.js: remove unused importsdaurnimator2017-05-24
|
* src/lcode.js: Return new TValue from tonumeraldaurnimator2017-05-24
|
* src/lapi.js: use .setfrom() when setting a TValue from a TValuedaurnimator2017-05-24
|
* src/lvm.js: Don't modify tvalues on stack in OP_FORPREPdaurnimator2017-05-24
|
* src/lvm.js: Remove non-wanted TODOs from OP_FORLOOP implementationdaurnimator2017-05-24
|
* src/lvm.js: loops with integers should overflowdaurnimator2017-05-24
|
* src/lstate.js: Move preinit_thread into lua_State constructordaurnimator2017-05-24
|
* src/lstate.js: Create lua_State given global_State (not vice-versa)daurnimator2017-05-24
|
* Implement %p specifier in luaO_pushvfstringdaurnimator2017-05-24
| | | | Move hacks out of luaL_tolstring
* src/ltable.js: lightuserdata can include Table/Udata/LClosure/etc due to ↵daurnimator2017-05-24
| | | | lua_topointer
* Give userdata objects a classdaurnimator2017-05-24
| | | | This way their type can be checked via `instanceof`
* src/ltable.js: Use a valid weakmap key for lightuserdata object hashdaurnimator2017-05-24
|
* src/ltable.js: Convert float keys that fit in an integer to integersdaurnimator2017-05-23
|
* src/lcode.js: luaK_intK no longer collides with stringsdaurnimator2017-05-23
|
* 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
|