summaryrefslogtreecommitdiff
path: root/src/lapi.js
Commit message (Collapse)AuthorAge
* 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
|
* Use 'delete' instead of setting to undefineddaurnimator2017-05-09
|
* Initialise CClosure upvalues TValues in constructordaurnimator2017-05-09
|
* Introduce a TString classdaurnimator2017-05-08
|
* src/lapi.js: Use .svalue() getter for lua_todataviewdaurnimator2017-05-08
|
* src/lapi.js: Be consistent with aux_upvalue return typedaurnimator2017-05-08
|
* Add accessors to TValue for TString valuesdaurnimator2017-05-08
|
* Move string functions to centralised lstring.jsdaurnimator2017-05-08
|
* src/lundump.js: .readString should return a lua string, not a js stringdaurnimator2017-05-08
| | | | This also reverts commit b1a8a4b0435199982d26de4a183600c155619a5a.
* Sometimes upvalues have js string namesBenoit Giannangeli2017-05-07
|
* Flatten CallInfo union memberdaurnimator2017-05-05
|
* Simplify UpVal structuredaurnimator2017-05-05
| | | | | | | No longer follows C api as closely (it is the way it is because C has unions) Instead, have a flat object. Also remove the 'setval' method, as it wasn't used from all call-sites and couldn't be extended to them (setval's body only worked with source TValue on a stack)
* An open upvalue already knows which lua_State it comes fromdaurnimator2017-05-05
|
* Add a FIXME, remove a TODO, edit a commentdaurnimator2017-05-05
|
* Don't wrap lexer/parser strings in a TValuedaurnimator2017-05-05
| | | | Fixes issue where internal TValues get exposed via lua_Debug structure
* Add lua_pushfstring and lua_pushvstringdaurnimator2017-05-04
|
* src/lapi.js: Add missing call to get typedaurnimator2017-05-04
|
* Add more/correct validation around integersdaurnimator2017-05-04
|
* Remove lua_pushtvaluedaurnimator2017-05-03
| | | | Will probably be required again soon; but in a different form (e.g. should validate that TValue comes from same lua state)
* src/lapi.js: Remove now unused lua_compare_ functiondaurnimator2017-05-03
|
* Move .id field from TValue to values themselvesdaurnimator2017-05-03
|
* Add lua_rawsetidaurnimator2017-05-03
|
* Refactor table implementationdaurnimator2017-05-03
|
* src/lapi.js: Fix typo in aux_upvaluedaurnimator2017-05-03
|
* Corrected lua_isnumber bad use of lvm.tonumberBenoit Giannangeli2017-05-02
|
* os.exitBenoit Giannangeli2017-04-28
|
* lua_State shouldn't subclass TValuedaurnimator2017-04-28
|
* LClosure and CClosure shouldn't subclass TValuedaurnimator2017-04-28
|
* Userdata needs to be boxed so it can have uservalue+metatabledaurnimator2017-04-28
| | | | metatable should not be on the TValue
* Add table construction functiondaurnimator2017-04-28
|
* src/lapi.js: Ignore size argument to lua_newuserdatadaurnimator2017-04-26
|
* Remove lightuserdata object subtypedaurnimator2017-04-26
|
* src/lapi.js: return box directly without fetching via stackdaurnimator2017-04-26
|
* src/lapi.js: If no size is passed to lua_newuserdata, then create an empty ↵daurnimator2017-04-26
| | | | object that isn't an ArrayBuffer