aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* 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
|
* Merge pull request #64 from daurnimator/lightuserdata-keysBenoit Giannangeli2017-05-23
|\ | | | | Fix collisions with lightuserdata table keys
| * 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
* Merge pull request #63 from daurnimator/fix-skipped-testsBenoit Giannangeli2017-05-22
|\ | | | | Investigated + fixed some skipped tests
| * tests/test-suite/events.js: un-skip fixed testsdaurnimator2017-05-23
| |
| * tests/test-suite/errors.js: copy setup from previous test to get a skipped ↵daurnimator2017-05-23
| | | | | | | | test passing
| * tests/test-suite/errors.js: un-skip passing testdaurnimator2017-05-23
| |
| * tests/test-suite/math.js: un-skip passing testdaurnimator2017-05-23
| |
| * tests/test-suite/nextvar.js: un-skip passing testdaurnimator2017-05-23
| |
| * tests/test-suite/errors.js: un-skip test as we can now recover from a stack ↵daurnimator2017-05-23
| | | | | | | | overflow
| * 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.
| * tests/test-suite/strings.js: un-skip fixed testdaurnimator2017-05-23
| |
| * 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
| |
| * yarn.lock: Update sprintf-js version requireddaurnimator2017-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
| |