aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* src/ldebug.js: Don't pass user input as format string to luaG_runerror.daurnimator2017-05-29
| | | | Fixes #65
* Fix some warnings found by closure-compilerdaurnimator2017-05-29
|
* src/lstrlib.js: Add annotations for jshintdaurnimator2017-05-29
|
* src/lstrlib.js: Fix position capture returning wrong valuedaurnimator2017-05-29
|
* src/lutf8lib.js: Use String.fromCodePoint so that astral characters workdaurnimator2017-05-29
|
* src/lutf8lib.js: Push correct charpatterndaurnimator2017-05-29
| | | | to_luastring breaks due to encoding issues
* src/lbaselib.js: Avoid an extra copy in printdaurnimator2017-05-29
|
* src/lbaselib.js: Make print() correctly handle 8bit chars under nodedaurnimator2017-05-29
|
* src/lutf8lib.js: Avoid slicing string (which makes a copy)daurnimator2017-05-29
|
* Fix some jshint warningsdaurnimator2017-05-29
|
* src/lapi.js: Clean up upvaluejoindaurnimator2017-05-29
| | | | | - Remember to decrement in upvaluejoin - Last arg to getupvalref was an out arg
* src/lfunc.js: Give UpVals an id fielddaurnimator2017-05-29
| | | | | This way they have an id when printed via %p. e.g. `debug.upvalueid(function() print() end, 1)`
* src/lparser.js: Fix https://www.lua.org/bugs.html#5.3.4-1daurnimator2017-05-29
|
* src/lvm.js: Fix indentation in luaV_concatdaurnimator2017-05-29
|
* luaO_tostring should modify TValuedaurnimator2017-05-29
|
* src/ldo.js: Make sure to allocate TValue before assigningdaurnimator2017-05-29
|
* src/lapi.js: When joining upvalues, increase reference count on copied upvaluedaurnimator2017-05-29
|
* src/lvm.js: cache closuresdaurnimator2017-05-29
|
* src/lvm.js: Move OP_SETUPVAL into opcode order locationdaurnimator2017-05-29
|
* 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
| |