Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | src/lstate.js: Implement freestack(), call from lua_close | daurnimator | 2017-05-12 |
| | | | | Work towards https://github.com/giann/fengari/commit/354d659f577fc27969784400c8c1e6090756da7b#commitcomment-21975897 | ||
* | src/loadlib.js: Move closeSync inside try/catch | daurnimator | 2017-05-12 |
| | | | | See https://github.com/giann/fengari/commit/278fd3edb6ead6cd65c2293f823887d19e4fbc8e#commitcomment-22009497 | ||
* | README: Remove duplicated file:read() | daurnimator | 2017-05-12 |
| | | | | See https://github.com/giann/fengari/commit/278fd3edb6ead6cd65c2293f823887d19e4fbc8e#commitcomment-22009543 | ||
* | src/lstrlib.js: Fix incorrect size in comment | daurnimator | 2017-05-12 |
| | | | | See https://github.com/giann/fengari/commit/3ba0fe6fd5ad9f62b948bf970347ffef3d5fe4bf#commitcomment-22054952 | ||
* | src/ldo.js: Don't pass a 'this' to the panic function | daurnimator | 2017-05-12 |
| | |||
* | package.json: Update "main" field to fengari.js | daurnimator | 2017-05-12 |
| | |||
* | src/ldebug.js: Don't localise TValue | daurnimator | 2017-05-12 |
| | |||
* | src/ldebug.js: Shared TValue references are okay on the stack | daurnimator | 2017-05-12 |
| | |||
* | src/ldebug.js: Off by one error on symbolic execution | daurnimator | 2017-05-12 |
| | | | | Fixes #29 | ||
* | src/ldebug.js: Fix index used for error message | daurnimator | 2017-05-12 |
| | |||
* | src/loadlib: Use correct string forms | daurnimator | 2017-05-12 |
| | |||
* | src/ldebug.js: CClosures have no '.type' field, use instanceof | daurnimator | 2017-05-12 |
| | |||
* | src/ldebug.js: Don't modify TValues on stack | daurnimator | 2017-05-12 |
| | |||
* | src/ltable.js: Clear .value for dead table entries | daurnimator | 2017-05-12 |
| | | | | Saves a TValue allocation | ||
* | src/ltable.js: Use a weakmap to hold dead objects (where possible) | daurnimator | 2017-05-12 |
| | |||
* | Merge pull request #40 from daurnimator/optimized-next | Benoit Giannangeli | 2017-05-11 |
|\ | | | | | Optimized next | ||
| * | src/ltable.js: Move dead keys to their own Map | daurnimator | 2017-05-12 |
| | | |||
| * | src/ltable.js: Make next() O(1) | daurnimator | 2017-05-12 |
| | | |||
| * | src/ltable.js: Reset dead_hashes after clearing out | daurnimator | 2017-05-12 |
| | | |||
| * | src/ltable.js: Iterate past dead keys | daurnimator | 2017-05-11 |
|/ | |||
* | Merge branch 'feature/dead-keys' | Benoit Giannangeli | 2017-05-11 |
|\ | |||
| * | Don't use luaO_nilobject when deleting table entry | Benoit Giannangeli | 2017-05-11 |
| | | |||
| * | Freeze luaO_nilobject to catch any accidental overwrite | Benoit Giannangeli | 2017-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 ↵ | daurnimator | 2017-05-11 |
| | | | | | | | | dead keys for next() | ||
| * | tests/ltablib.js: Use better filter for numeric keys | daurnimator | 2017-05-11 |
| | | |||
| * | src/lobject.js: Fix dead key TValue type | daurnimator | 2017-05-11 |
| | | |||
* | | [test-suite] events.js (userdata) | Benoit Giannangeli | 2017-05-11 |
| | | |||
* | | uservalue should be a TValue | Benoit Giannangeli | 2017-05-11 |
| | | |||
* | | ltests.js | Benoit Giannangeli | 2017-05-11 |
| | | |||
* | | [test-suite] events.js | Benoit Giannangeli | 2017-05-11 |
|/ | |||
* | src/lapi.js: Add extensions 'lua_toproxy' and 'lua_isproxy' | daurnimator | 2017-05-11 |
| | |||
* | src/lvm.js: Stack reallocations aren't a thing in JS; remove base re-setting | daurnimator | 2017-05-11 |
| | |||
* | src/lvm.js: Setting nil should delete from table | daurnimator | 2017-05-11 |
| | | | | Closes #37 | ||
* | src/lapi.js: Use luaH_delete when rawset-ing nil | daurnimator | 2017-05-11 |
| | |||
* | src/ltable.js: If you try and set value nil with luaH_setint, delete the entry | daurnimator | 2017-05-11 |
| | | | | See #37 | ||
* | src/lualib.js: Export luaopen symbols with correct name | daurnimator | 2017-05-11 |
| | |||
* | Move luaL_openlibs from lauxlib to lualib | daurnimator | 2017-05-11 |
| | |||
* | Fixed bad order when trying __lt TM in luaV_lessequal | Benoit Giannangeli | 2017-05-10 |
| | |||
* | Don't do recursive call of luaV_tointeger if luaO_str2num returns false | Benoit Giannangeli | 2017-05-10 |
| | |||
* | [test-suite] events.js | Benoit Giannangeli | 2017-05-10 |
| | |||
* | Set WEB flag for individual tests | Benoit Giannangeli | 2017-05-09 |
| | |||
* | lvm.tonumber should return the integer value | Benoit Giannangeli | 2017-05-09 |
| | |||
* | Added 'dist' to .gitignore | Benoit Giannangeli | 2017-05-09 |
| | |||
* | [test-suite] events.js | Benoit Giannangeli | 2017-05-09 |
| | |||
* | Add 'yarn build' in .travis.yml | Benoit Giannangeli | 2017-05-09 |
| | |||
* | Fixed bad os.platform test | Benoit Giannangeli | 2017-05-09 |
| | |||
* | Set WEB flag to false for tests | Benoit Giannangeli | 2017-05-09 |
| | |||
* | Webpack (single bundle for now) | Benoit Giannangeli | 2017-05-09 |
| | |||
* | src/lapi.js: lobject.luaO_str2num returns false if string is not a number | daurnimator | 2017-05-09 |
| | |||
* | Revert "src/lstring.js: Freeze strings to catch accidental modification" | daurnimator | 2017-05-09 |
| | | | | | | This reverts commit 5cb00bbae4f1afb5cd476a637975dd9220898e15. It turns out that frozen objects are slower, see https://jsperf.com/object-freeze-performance |