summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Avoid Uint8Array.slice (IE compat)daurnimator2018-01-07
|
* src/lstrlib.js: Remove use of Uint8Array.reversedaurnimator2018-01-07
|
* src/lstrlib.js: Optimisations to use subarray instead of slice where sensibledaurnimator2018-01-07
|
* Introduce luastring_indexOf as Uint8Array.indexOf doesn't exist everywheredaurnimator2018-01-07
|
* TypedArray.toString() doesn't return a unique string in some browsersdaurnimator2018-01-07
| | | | | | | | | e.g. IE11 Instead iterate over string contents and manually build hash. I have *not* tested this for performance. An alternative option is to use Array.prototype.join.call
* src/lauxlib.js: Export luastring_eqdaurnimator2018-01-07
|
* Avoid String.fromCodePoint (IE compat)daurnimator2018-01-07
|
* src/ldump.js: Remove unneeded Number.parseInt (IE compat)daurnimator2018-01-06
|
* Use Uint8Array.prototype.toString instead of .join (IE compat)daurnimator2018-01-06
|
* src/defs: Rename luastring_cmp to luastring_eqdaurnimator2018-01-06
|
* tests/test-suite/utf8.js: Throw syntax errors if they occur + fix whitespacedaurnimator2018-01-06
|
* src/defs.js: Support environments with no String.codePointAtdaurnimator2018-01-06
|
* tests/test-suite/api.js: Split a skipped testdaurnimator2018-01-06
|
* Support environments without a Uint8Array.fromdaurnimator2018-01-06
|
* src/lauxlib.js: Use luaL_Buffer to implement luaL_gsubdaurnimator2018-01-06
|
* src/lauxlib.js: Use a Uint8Array backed structure for luaL_Bufferdaurnimator2018-01-06
|
* src/ltablib.js: Pass length to luaL_addlstringdaurnimator2018-01-06
|
* src/lstrlib.js: Pass byte offsets to DataView constructordaurnimator2018-01-06
|
* src/lauxlib.js: Remove unrequired Uint8Array.from calldaurnimator2018-01-06
|
* src/defs.js: Fallback for when Uint8Array.of doesn't existdaurnimator2018-01-06
|
* Expose lua.luastring_of to construct a lua 'string' from raw byte valuesdaurnimator2018-01-06
|
* src/lbaselib.js: Fallback for when TextDecoder doesn't existdaurnimator2018-01-06
|
* src/defs.js: Avoid for..of, as generated code uses Symbol.iterator, which ↵daurnimator2018-01-06
| | | | might not be available in older environments
* src/defs.lua,LICENSE: Update copyright year for fengari codedaurnimator2018-01-02
|
* src/luaconf.js: Fix bug introduced in c260105662e28778fe129a3a4500c1baf40ea109daurnimator2017-12-30
|
* package.json: Remove old test-inprogress scriptdaurnimator2017-12-29
|
* src/ldblib.js: Fix incorrect argument type to luaL_argerrordaurnimator2017-12-29
|
* src/lauxlib.js: Don't use 'cache' option to to_luastring, keep strings ↵daurnimator2017-12-29
| | | | cached manually
* src/lvm.js: Optimise lua_integer2str and lua_number2strdaurnimator2017-12-29
|
* src/lbaselib.js: Buffer console output as JS strings rather than in Array of ↵daurnimator2017-12-29
| | | | bytes
* src/: Add defs.from_userstring function to take string from apidaurnimator2017-12-29
|
* src/ldblib.js: Use window.prompt to get input in browserdaurnimator2017-12-28
| | | | Doesn't work in web workers
* src/lauxlib.js: lua_writestringerror gets a console.error invocation per newlinedaurnimator2017-12-28
|
* src/{laux,ldb}lib.js: lua_writestringerror now only takes JS stringsdaurnimator2017-12-28
|
* src/{load,los}lib.js: Remove extraneous Uint8Array.from callsdaurnimator2017-12-28
|
* src/loslib.js: fix os.execute(nil) casedaurnimator2017-12-28
|
* src/lauxlib.js: synchronous xhr is allowed in workers. use arraybuffer ↵daurnimator2017-12-28
| | | | reponse type where possible
* src/loadlib.js: Add support for web worker global envdaurnimator2017-12-28
|
* src/loadlib.js: Use non-strict mode to find global env in unknown environmentsdaurnimator2017-12-28
|
* Merge branch 'Uint8Array'daurnimator2017-12-15
|\
| * src/lapi.js: Have lua_todataview return view over actual underlying Uint8Arraydaurnimator2017-12-15
| |
| * src/lobject.js: Refactor luaO_chunkid to use Uint8Array.setdaurnimator2017-12-15
| |
| * src/lauxlib.js: Use a Uint8Array for luaL_loadfilex in both browser and nodedaurnimator2017-12-15
| |
| * src/lzio.js: Don't permit DataView returned from a lua_load reader any moredaurnimator2017-12-15
| |
| * README.md: Mention strings are backed by Uint8Arraydaurnimator2017-12-13
| |
| * src/: Use .subarray instead of .slice (optimisation)daurnimator2017-12-13
| |
| * Use Uint8Array to back stringsdaurnimator2017-12-13
| |
* | src/lstrlib.js: Optimise array_cmpdaurnimator2017-12-14
| | | | | | | | Using .indexOf seems to benchmark faster than iterating
* | src/lstrlib.js: Remove .slice from end of string checkdaurnimator2017-12-14
| |
* | src/lstrlib.js: Optimise nospecials, js .indexOf has no issues with a null bytedaurnimator2017-12-14
| |