aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* README: Remove duplicated file:read()daurnimator2017-05-12
| | | | See https://github.com/giann/fengari/commit/278fd3edb6ead6cd65c2293f823887d19e4fbc8e#commitcomment-22009543
* 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
|
* package.json: Update "main" field to fengari.jsdaurnimator2017-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
|
* Merge pull request #40 from daurnimator/optimized-nextBenoit Giannangeli2017-05-11
|\ | | | | Optimized next
| * 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()
| * tests/ltablib.js: Use better filter for numeric keysdaurnimator2017-05-11
| |
| * src/lobject.js: Fix dead key TValue typedaurnimator2017-05-11
| |
* | [test-suite] events.js (userdata)Benoit Giannangeli2017-05-11
| |
* | uservalue should be a TValueBenoit Giannangeli2017-05-11
| |
* | ltests.jsBenoit 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
|
* [test-suite] events.jsBenoit Giannangeli2017-05-10
|
* Set WEB flag for individual testsBenoit Giannangeli2017-05-09
|
* lvm.tonumber should return the integer valueBenoit Giannangeli2017-05-09
|
* Added 'dist' to .gitignoreBenoit Giannangeli2017-05-09
|
* [test-suite] events.jsBenoit Giannangeli2017-05-09
|
* Add 'yarn build' in .travis.ymlBenoit Giannangeli2017-05-09
|
* Fixed bad os.platform testBenoit Giannangeli2017-05-09
|
* Set WEB flag to false for testsBenoit 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
|