aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Freeze luaO_nilobject to catch any accidental overwriteBenoit Giannangeli2017-05-11
| | | | To remove along with asserts calls for any real use
* src/ltable.js: luaH_delete can't fully delete immediately as it might need ↵daurnimator2017-05-11
| | | | dead keys for next()
* src/lobject.js: Fix dead key TValue typedaurnimator2017-05-11
|
* src/lapi.js: Add extensions 'lua_toproxy' and 'lua_isproxy'daurnimator2017-05-11
|
* src/lvm.js: Stack reallocations aren't a thing in JS; remove base re-settingdaurnimator2017-05-11
|
* src/lvm.js: Setting nil should delete from tabledaurnimator2017-05-11
| | | | Closes #37
* src/lapi.js: Use luaH_delete when rawset-ing nildaurnimator2017-05-11
|
* src/ltable.js: If you try and set value nil with luaH_setint, delete the entrydaurnimator2017-05-11
| | | | See #37
* src/lualib.js: Export luaopen symbols with correct namedaurnimator2017-05-11
|
* Move luaL_openlibs from lauxlib to lualibdaurnimator2017-05-11
|
* Fixed bad order when trying __lt TM in luaV_lessequalBenoit Giannangeli2017-05-10
|
* Don't do recursive call of luaV_tointeger if luaO_str2num returns falseBenoit Giannangeli2017-05-10
|
* lvm.tonumber should return the integer valueBenoit Giannangeli2017-05-09
|
* Fixed bad os.platform testBenoit Giannangeli2017-05-09
|
* Webpack (single bundle for now)Benoit Giannangeli2017-05-09
|
* src/lapi.js: lobject.luaO_str2num returns false if string is not a numberdaurnimator2017-05-09
|
* Revert "src/lstring.js: Freeze strings to catch accidental modification"daurnimator2017-05-09
| | | | | | This reverts commit 5cb00bbae4f1afb5cd476a637975dd9220898e15. It turns out that frozen objects are slower, see https://jsperf.com/object-freeze-performance
* src/lapi.js: Delete unwanted stack itemsdaurnimator2017-05-09
|
* Use 'delete' instead of setting to undefineddaurnimator2017-05-09
|
* src/lvm.js: In luaV_concat use correct stack indices + clean updaurnimator2017-05-09
|
* Rename lopcodes.js require to consistently be lopcodesdaurnimator2017-05-09
|
* src/lopcodes.js: SETARG_* can be tail callsdaurnimator2017-05-09
|
* src/lopcodes.js: Add GET* macrosdaurnimator2017-05-09
|
* src/lvm.js: Remove i.breakpoint hackdaurnimator2017-05-09
|
* Cache string hashes in TStringdaurnimator2017-05-09
|
* Initialise CClosure upvalues TValues in constructordaurnimator2017-05-09
|
* src/lobject.js: Be consistent in LClosure/CClosure constructorsdaurnimator2017-05-09
|
* Fix bad integer size for string.pack/packsizeBenoit Giannangeli2017-05-08
|
* Fixed bad default separator in table.concatBenoit Giannangeli2017-05-08
|
* 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
|
* src/lcode.js: Fix nilK using invalid keydaurnimator2017-05-08
|
* src/lvm.js: Use TValue accessors to use stringsdaurnimator2017-05-08
|
* src/ltm.js: All stack items should be non-shared TValuesdaurnimator2017-05-08
|
* ltm.TMS should be indexes into an arraydaurnimator2017-05-08
|
* src/lvm.js: Optimise luaV_concatdaurnimator2017-05-08
| | | | Do the TString creation in one big Array.prototype.concat
* Add accessors to TValue for TString valuesdaurnimator2017-05-08
|
* src/lvm.js: Fix incorrect stack index in luaV_concatdaurnimator2017-05-08
|
* src/lstring.js: Freeze strings to catch accidental modificationdaurnimator2017-05-08
|
* src/lparser.js: Send localvarliterals via caching tabledaurnimator2017-05-08
|
* src/llex.js: Cache tokens in ls.hdaurnimator2017-05-08
|
* src/lstrlib.js: Array.prototype.reverse operates in place. Make a copy so ↵daurnimator2017-05-08
| | | | that internal string isn't modified
* src/lstrlib.js: Don't use string+offset from string.pack and friendsdaurnimator2017-05-08
| | | | Also fixes mutation of internal string object
* src/lcode.js: Fix luaH_set result checkdaurnimator2017-05-08
|
* LexState.h is a Table not a TValuedaurnimator2017-05-08
|
* src/llex.js: Fix missing extention in requiredaurnimator2017-05-08
|
* src/llex.js: Add luaX_newstringdaurnimator2017-05-08
|
* src/lcode.js: Remove circular dep breaking hackdaurnimator2017-05-08
|
* src/ldo.js: Clean up requiresdaurnimator2017-05-08
|