aboutsummaryrefslogtreecommitdiff
path: root/src/lapi.js
Commit message (Collapse)AuthorAge
* 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
| |
* | 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
|/
* src/lapi.js: Fix typo in lua_arithdaurnimator2017-05-24
|
* src/lapi.js: use .setfrom() when setting a TValue from a TValuedaurnimator2017-05-24
|
* Give userdata objects a classdaurnimator2017-05-24
| | | | This way their type can be checked via `instanceof`
* src/lapi.js: Throw errors when attempting to use pseudo-index with index2addr_daurnimator2017-05-23
|
* Introduce luaO_tostringdaurnimator2017-05-23
|
* Introduce lvm.cvt2strdaurnimator2017-05-22
| | | | In future this could be configurable
* src/lapi.js: Simplify+optimise lua_rotatedaurnimator2017-05-22
|
* Compare allowed stack indices to stack_lastdaurnimator2017-05-22
| | | | Not L.stack.length which is more equivalent to C's L->stacksize
* Fix lua_checkstack to check against LUAI_MAXSTACK. Adds luaD_growstack and ↵daurnimator2017-05-22
| | | | luaD_reallocstack
* Checks for nil and NaN table keysdaurnimator2017-05-22
|
* Add TMcachedaurnimator2017-05-22
|
* lua_stringtonumber is meant to return length + 1daurnimator2017-05-22
|
* lua_checkstack did not adjust ci.topBenoit Giannangeli2017-05-21
|
* Add facility for a user provided (state-global) native error handlerdaurnimator2017-05-15
|
* src/lapi.js: Fix typo in variable name (chunckname => chunkname)daurnimator2017-05-15
|
* Separate ZIO and MBuffer data structuresdaurnimator2017-05-15
| | | | - lua_load no longer takes a null reader function
* lua_arith, lua_islightuserdata, lua_register, lua_setallocf, lua_tocfunctionBenoit Giannangeli2017-05-14
|
* lua_arith, moved luaO_arith to lobject.jsBenoit Giannangeli2017-05-14
|
* uservalue should be a TValueBenoit Giannangeli2017-05-11
|
* src/lapi.js: Add extensions 'lua_toproxy' and 'lua_isproxy'daurnimator2017-05-11
|
* src/lapi.js: Use luaH_delete when rawset-ing nildaurnimator2017-05-11
|
* src/lapi.js: lobject.luaO_str2num returns false if string is not a numberdaurnimator2017-05-09
|
* src/lapi.js: Delete unwanted stack itemsdaurnimator2017-05-09
|