aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* src/lvm.js: OP_GETTABLE should use RB not RKBdaurnimator2017-05-29
| | | | Almost move into order similar to lua's lvm.c
* Have lua closures point to directly to their upvalues on stackdaurnimator2017-05-29
|
* src/lvm.js: Fix indentationdaurnimator2017-05-29
|
* lstrlib.js: pattern index treated as pattern itselfBenoit Giannangeli2017-05-29
|
* Fix bad validop test on lvm.tointegerBenoit Giannangeli2017-05-29
|
* Removed 'OP_' prefix from OpCodes names arrayBenoit Giannangeli2017-05-28
|
* Replace switch on opcode names with switch on their valueBenoit Giannangeli2017-05-28
|
* lua_copy should not use index2addr_Benoit Giannangeli2017-05-28
|
* luaL_loadfilex raise error if filename is not a fileBenoit Giannangeli2017-05-28
| | | | e.g. a directory
* lua_tonumberxBenoit Giannangeli2017-05-28
| | | | | | | | lua_tonumber should return 0 if argument is not convertible to a number. But luaL_checknumber uses lua_tonumberx and tests isnum. -> lua_tonumberx return false if argument is not convertible to a number.
* Merge remote-tracking branch 'daurnimator/stack-modification-work' into ↵Benoit Giannangeli2017-05-28
|\ | | | | | | test-suite
| * src/lapi.js: Use a temporary variable in lua_lendaurnimator2017-05-27
| |
| * src/ldo.js: Make sure to extend stack before assigning in seterrorobjdaurnimator2017-05-27
| |
| * src/ldo.js: Don't export functions we don't need elsewheredaurnimator2017-05-27
| |
| * src/lauxlib.js: In luaL_loadfilex only wrap the fs library calls in try/catchdaurnimator2017-05-27
| |
| * Have ltm.luaT_callorderTM return a booleandaurnimator2017-05-27
| |
| * Modify stack values up to L.top instead of replacingdaurnimator2017-05-27
| |
| * Use .setclLvaluedaurnimator2017-05-27
| |
| * src/lobject.js: Introduce TValue.set*value for missing typesdaurnimator2017-05-27
| |
| * Introduce chgfltvalue and chgivaluedaurnimator2017-05-27
| |
| * src/lapi.js: Sync lua_pushliteral implementation with lua_pushstringdaurnimator2017-05-27
| |
| * Keep api_incr_top macro contents distinctdaurnimator2017-05-27
| | | | | | | | | | - Don't have postincrement in a previous expression - Fix a couple of places the assert was missing
| * src/lapi.js: Fix incorrect argument to luaS_newliteral in lua_concatdaurnimator2017-05-27
| |
| * src/lapi.js: lua_pushstring should return internal copydaurnimator2017-05-27
| |
| * src/lapi.js: Ignore 's' when lua_pushlstring is passed 0daurnimator2017-05-27
| |
| * Introduce setsvalue2sdaurnimator2017-05-27
| |
| * src/lvm.js: Use setobjs2s in luaV_finishOp's OP_CONCAT casedaurnimator2017-05-27
| |
| * Introduce setobj2sdaurnimator2017-05-27
| |
| * Introduce setobjs2sdaurnimator2017-05-27
| |
* | Fixed bad lua_tocfunction exportBenoit Giannangeli2017-05-27
| |
* | luaS_newliteral takes a js stringBenoit Giannangeli2017-05-27
| |
* | lua_tonumber should return 0 if value can't be converted to a numberBenoit Giannangeli2017-05-27
| |
* | lua_rawlen: bad userdata len referenceBenoit Giannangeli2017-05-27
| |
* | luaT_trybinTM in luaO_arith needs a stack indexBenoit Giannangeli2017-05-27
|/
* ar.what was not a lua stringBenoit Giannangeli2017-05-25
|
* Added missing parenthesis in luaG_traceexec on yield caseBenoit Giannangeli2017-05-25
|
* Add missing funcOffBenoit Giannangeli2017-05-24
|
* 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
|