aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* 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
| |
| * 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
| |
* | src/lstrlib.js: Optimise find_subarray using .indexOfdaurnimator2017-12-14
|/
* Introduce defs.string_of to create string from bytesdaurnimator2017-12-13
|
* src/lbaselib.js: Use TextDecoder in lua_writelinedaurnimator2017-12-13
| | | | This should avoid errors thrown by to_jsstring
* src/llex.js: Use luaZ_buffer when not using .slicedaurnimator2017-12-13
|
* src/lapi.js: Remove emptystring: rely on internal string cache insteaddaurnimator2017-12-13
|
* src/llex.js: Fix incorrect slice lengthdaurnimator2017-12-13
|
* src/lstrlib.js: Replace adddigit function with call to .toString(16)daurnimator2017-12-13
|
* src/lstrlib.js: Reimplement using luaL_Bufferdaurnimator2017-12-13
|
* src/lauxlib.js: Implement luaL_prepbuffsize using a Uint8Arraydaurnimator2017-12-13
|
* src/ldump.js: Keep LUAC_DATA in array formdaurnimator2017-12-13
|
* src/lobject.js: Build string in js rather than appending to lua stringdaurnimator2017-12-13
|
* src/loadlib.js: Do a concatenation in js string form rather than concating ↵daurnimator2017-12-13
| | | | arrays
* src/: Use to_luastring more often instead of manually creating arraysdaurnimator2017-12-13
|
* src/: Have luaO_str2num fill in passed TValue and return lengthdaurnimator2017-12-12
|
* src/lobject.js: Have luaO_pushvfstring respect null as terminator for %sdaurnimator2017-12-12
|
* src/lapi.js: Factor out default chunknamedaurnimator2017-12-11
|
* src/loadlib.js: Fix incorrect type of LUA_IGMARKdaurnimator2017-12-11
|
* src/{llex,lobject}.js: Fix luaO_utf8esc/luaO_utf8desc confusiondaurnimator2017-12-11
|
* src/lapi.js: Keep empty string constant arounddaurnimator2017-12-11
|
* Merge branch 'object-ids'daurnimator2017-12-10
|\
| * src/lobject.js: Add undefined as pointer form of void 0daurnimator2017-12-10
| |
| * src/lobject.js: Give functions and objects idsdaurnimator2017-12-10
| |
| * src/lobject.js: Add ids in the form of JS constructors for primitivesdaurnimator2017-12-10
| |
* | src/lparser.js: Avoid empty blocksdaurnimator2017-12-10
| |
* | src/lparser.js: Change comment to avoid accidental annotationdaurnimator2017-12-10
| |
* | src/ltm.js: Add 'return' to avoid fallthrough linter warningsdaurnimator2017-12-10
| |
* | src/: Comment out unused constants/functionsdaurnimator2017-12-10
| |
* | src/: Fix some linter complaintsdaurnimator2017-12-10
| |
* | Use `typeof process === "undefined"` instead of WEB globaldaurnimator2017-12-10
|/ | | | This removes requirement to set global.WEB before requiring in node