aboutsummaryrefslogtreecommitdiff
path: root/src/lapi.js
Commit message (Collapse)AuthorAge
* src/lapi.js: Explicit check against LUA_MULTRETdaurnimator2018-02-04
|
* src/lapi.js: in lua_pcallk only create CallS object when requireddaurnimator2018-02-04
|
* src/lapi.js: Shorter boolean coerciondaurnimator2018-02-04
|
* src/lapi.js: Check integer parametersdaurnimator2018-02-04
|
* src/lapi.js: fengari_argcheck doesn't take a lua_Statedaurnimator2018-01-29
|
* src/lapi.js: Check upvalue index in an integerdaurnimator2018-01-29
|
* src/lapi.js: optimise+minify getupvalref usagedaurnimator2018-01-29
|
* src/: Upvalues are now just TValues (possibly referencing on-stack)daurnimator2018-01-29
| | | | | | | | | | - Removes `Upval` class - closing over upvalues is now done by creating new on-stack TValue objects - No more `openupval` linked list With this fix, upvalues from collected coroutines will no longer keep other values alive Closes #44
* src/lapi.js: Use destructuring assignment where sensibledaurnimator2018-01-18
|
* src/: Destructure when requiring lstring.jsdaurnimator2018-01-18
|
* src/lapi.js: Export api_incr_top and api_checknelemsdaurnimator2018-01-18
|
* src/lapi.js: Don't export index2addrdaurnimator2018-01-18
|
* src/: Start using lua_assert() instead of plain assert()daurnimator2018-01-18
|
* Avoid Uint8Array.slice (IE compat)daurnimator2018-01-07
|
* src/: Add defs.from_userstring function to take string from apidaurnimator2017-12-29
|
* src/lapi.js: Have lua_todataview return view over actual underlying Uint8Arraydaurnimator2017-12-15
|
* src/lapi.js: Remove emptystring: rely on internal string cache insteaddaurnimator2017-12-13
|
* src/: Use to_luastring more often instead of manually creating arraysdaurnimator2017-12-13
|
* src/: Have luaO_str2num fill in passed TValue and return lengthdaurnimator2017-12-12
|
* src/lapi.js: Factor out default chunknamedaurnimator2017-12-11
|
* src/lapi.js: Keep empty string constant arounddaurnimator2017-12-11
|
* src/: Fix some linter complaintsdaurnimator2017-12-10
|
* src/lapi.js: chunkname can be nulldaurnimator2017-11-20
|
* src/lapi.js, src/lauxlib.js: lua_tointeger should return 0 when conversion ↵denis2017-09-07
| | | | fails for luaL_ref to work
* src/lapi.js: lua_rawseti requires only one operand on the stack when working ↵denis2017-09-07
| | | | with tables such as LUA_REGISTRYINDEX
* src/lapi.js: Do a length check in lua_pushlstringdaurnimator2017-06-19
|
* src/lvm.js: Rename gettable to luaV_gettabledaurnimator2017-06-18
|
* src/lapi.js: lua_todataview should use cvt2strdaurnimator2017-06-09
|
* Add is_luastring function instead of using Array.isArray directlydaurnimator2017-06-09
|
* Introduce function to adjust L.topdaurnimator2017-05-30
|
* src/lapi.js: Clean stack top in lua_settabledaurnimator2017-05-30
|
* Fix some warnings found by closure-compilerdaurnimator2017-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
* luaO_tostring should modify TValuedaurnimator2017-05-29
|
* src/lapi.js: When joining upvalues, increase reference count on copied upvaluedaurnimator2017-05-29
|
* Have lua closures point to directly to their upvalues on stackdaurnimator2017-05-29
|
* lua_copy should not use index2addr_Benoit Giannangeli2017-05-28
|
* 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
| |
| * Modify stack values up to L.top instead of replacingdaurnimator2017-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
| |
| * Introduce setobj2sdaurnimator2017-05-27
| |
| * Introduce setobjs2sdaurnimator2017-05-27
| |