summaryrefslogtreecommitdiff
path: root/src/lapi.js
Commit message (Collapse)AuthorAge
* 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
* Remove unused require()sdaurnimator2017-04-26
|
* All core files reference defs.js instead of lua.jsdaurnimator2017-04-26
|
* Force 32bit integer with |0Benoit Giannangeli2017-04-24
|
* Handle when no upvalue foundBenoit Giannangeli2017-04-23
|
* No more Table, just TValue with table type and Map valueBenoit Giannangeli2017-04-18
|
* Fixed _ENV upvalue which was the same for all closuresBenoit Giannangeli2017-04-18
|
* luaH_next and luaH_getn are not Table member functionsBenoit Giannangeli2017-04-18
|
* Cache all to_luastring of internal literalsBenoit Giannangeli2017-04-18
|
* hooksBenoit Giannangeli2017-04-14
|
* debug.upvaluejoinBenoit Giannangeli2017-04-14
|
* debug.getuservalue, debug.setuservalue, debug.setlocalBenoit Giannangeli2017-04-14
|
* Table indexes are also starting at 1 internallyBenoit Giannangeli2017-04-13
| | | | Since we use a Map we don't have to care about indexes starting at 0
* debug.getinfoBenoit Giannangeli2017-04-12
|
* debug.tracebackBenoit Giannangeli2017-04-12
|
* debug.upvalueidBenoit Giannangeli2017-04-11
|
* debug.getlocalBenoit Giannangeli2017-04-11
|
* Use luaO_str2num instead of parseFloat in luaB_tonumberBenoit Giannangeli2017-04-10
|
* 8-bit only in lstrlibBenoit Giannangeli2017-03-30
|
* 8-bit string internally testsBenoit Giannangeli2017-03-30
| | | | Lexing/Parsing is done on byte rather than js strings
* Never use js strings internallyBenoit Giannangeli2017-03-29
|
* Proper use of luaO_nilobjectBenoit Giannangeli2017-03-24
|
* Fixed bad lua_tointegerxBenoit Giannangeli2017-03-24
|
* TValue.id to print something when tostring({})Benoit Giannangeli2017-03-24
|
* strings.luaBenoit Giannangeli2017-03-24
|
* Userdata are ArrayBuffers, new lightuserdata subtype for js objectsBenoit Giannangeli2017-03-21
|
* string.gsub testsBenoit Giannangeli2017-03-21
|
* string.gsubBenoit Giannangeli2017-03-20
|