aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* src/lstate.js: preinit doesn't need to initialise L.stack to an arraydaurnimator2017-05-12
|
* src/lstate.js: Implement freestack(), call from lua_closedaurnimator2017-05-12
| | | | Work towards https://github.com/giann/fengari/commit/354d659f577fc27969784400c8c1e6090756da7b#commitcomment-21975897
* src/loadlib.js: Move closeSync inside try/catchdaurnimator2017-05-12
| | | | See https://github.com/giann/fengari/commit/278fd3edb6ead6cd65c2293f823887d19e4fbc8e#commitcomment-22009497
* src/lstrlib.js: Fix incorrect size in commentdaurnimator2017-05-12
| | | | See https://github.com/giann/fengari/commit/3ba0fe6fd5ad9f62b948bf970347ffef3d5fe4bf#commitcomment-22054952
* src/ldo.js: Don't pass a 'this' to the panic functiondaurnimator2017-05-12
|
* src/ldebug.js: Don't localise TValuedaurnimator2017-05-12
|
* src/ldebug.js: Shared TValue references are okay on the stackdaurnimator2017-05-12
|
* src/ldebug.js: Off by one error on symbolic executiondaurnimator2017-05-12
| | | | Fixes #29
* src/ldebug.js: Fix index used for error messagedaurnimator2017-05-12
|
* src/loadlib: Use correct string formsdaurnimator2017-05-12
|
* src/ldebug.js: CClosures have no '.type' field, use instanceofdaurnimator2017-05-12
|
* src/ldebug.js: Don't modify TValues on stackdaurnimator2017-05-12
|
* src/ltable.js: Clear .value for dead table entriesdaurnimator2017-05-12
| | | | Saves a TValue allocation
* src/ltable.js: Use a weakmap to hold dead objects (where possible)daurnimator2017-05-12
|
* src/ltable.js: Move dead keys to their own Mapdaurnimator2017-05-12
|
* src/ltable.js: Make next() O(1)daurnimator2017-05-12
|
* src/ltable.js: Reset dead_hashes after clearing outdaurnimator2017-05-12
|
* src/ltable.js: Iterate past dead keysdaurnimator2017-05-11
|
* Merge branch 'feature/dead-keys'Benoit Giannangeli2017-05-11
|\
| * Don't use luaO_nilobject when deleting table entryBenoit Giannangeli2017-05-11
| |
| * 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
| |
* | uservalue should be a TValueBenoit Giannangeli2017-05-11
| |
* | [test-suite] events.jsBenoit Giannangeli2017-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
|