aboutsummaryrefslogtreecommitdiff
path: root/src/lauxlib.js
Commit message (Collapse)AuthorAge
* src/lauxlib.js: Use from_userstring in luaL_add(l)stringdaurnimator2018-04-23
|
* src/lauxlib.js: e argument is not compulsorydaurnimator2018-04-08
| | | | e.g. when file:write fails due to short write
* src/lauxlib.js: Improve commentsdaurnimator2018-04-03
|
* src/lauxlib.js: Use a Buffer in luaL_loadfilex for node 6 compatdaurnimator2018-04-02
|
* src/lauxlib.js: Use non-deprecated Buffer constructordaurnimator2018-04-02
|
* Merge branch 'accept-jsstrings'daurnimator2018-03-30
|\
| * src/lauxlib.js: Convert default argument to luaL_optlstring on demanddaurnimator2017-12-29
| |
| * src/lauxlib.js: luaL_checkstring is just luaL_checklstringdaurnimator2017-12-29
| |
* | src/lauxlib.js: lua_tojsstring won't throw since b257a24daurnimator2018-03-04
| |
* | src/{luaconf,lauxlib}.js: LUAL_BUFFERSIZE should be defined in luaconfdaurnimator2018-02-04
| |
* | src/lauxlib.js: Check default value when using luaL_optstringdaurnimator2018-02-04
| |
* | {src/lauxlib.js,tests/test-suite/ltests.js}: Use luastring_eq instead of .join()daurnimator2018-02-04
| |
* | src/lauxlib.js: Hardcode character codes (avoids charCodeAt)daurnimator2018-01-29
| |
* | src/: Export LUA_SIGNATURE as lua string instead of js stringdaurnimator2018-01-29
| |
* | src/lauxlib.js: Use destructuring requiresdaurnimator2018-01-22
| |
* | src/lauxlib.js: Export luaL_checkversion_daurnimator2018-01-18
| |
* | Move fengari specific things to src/fengaricore.jsdaurnimator2018-01-11
| | | | | | | | String manipulation functions now get exposed on 'fengari' object itself at top level
* | src/lauxlib.js: Add missing LUA_ERRFILEdaurnimator2018-01-07
| |
* | Avoid Uint8Array.slice (IE compat)daurnimator2018-01-07
| |
* | src/lauxlib.js: Export luastring_eqdaurnimator2018-01-07
| |
* | Use Uint8Array.prototype.toString instead of .join (IE compat)daurnimator2018-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/lauxlib.js: Remove unrequired Uint8Array.from calldaurnimator2018-01-06
|/
* src/lauxlib.js: Don't use 'cache' option to to_luastring, keep strings ↵daurnimator2017-12-29
| | | | cached manually
* 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/lauxlib.js: synchronous xhr is allowed in workers. use arraybuffer ↵daurnimator2017-12-28
| | | | reponse type where possible
* src/lauxlib.js: Use a Uint8Array for luaL_loadfilex in both browser and nodedaurnimator2017-12-15
|
* src/: Use .subarray instead of .slice (optimisation)daurnimator2017-12-13
|
* Use Uint8Array to back stringsdaurnimator2017-12-13
|
* src/lauxlib.js: Implement luaL_prepbuffsize using a Uint8Arraydaurnimator2017-12-13
|
* src/: Use to_luastring more often instead of manually creating arraysdaurnimator2017-12-13
|
* 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
* Export strings from lauxlib in lua string form (rather than as javascript ↵daurnimator2017-12-02
| | | | string)
* src/lauxlib.js: Fix missing 'else' in luaL_getmetafielddaurnimator2017-11-28
|
* Add lua.to_uristringdaurnimator2017-11-12
|
* src/lauxlib.js: Add encodeURI call into luaL_loadfilex to match loadlib.jsdaurnimator2017-11-12
| | | | In future this should create a uri from lua string rather than potentially throwing errors in to_jsstring
* lua_writestringerror now takes a vararg and converts arraysdaurnimator2017-11-12
|
* src/lauxlib.js: Remove unwanted to_jsstring callsdaurnimator2017-11-12
|
* src/lauxlib.js: Catch read errors on read rather than fstat-ing then hopingdaurnimator2017-11-12
|
* src/lapi.js, src/lauxlib.js: lua_tointeger should return 0 when conversion ↵denis2017-09-07
| | | | fails for luaL_ref to work
* src/lauxlib.js: Fix test for Lua functionsdaurnimator2017-08-21
| | | | Uninvert the condition rather than changing from C to J
* Move jshint config to package.jsondaurnimator2017-08-18
|
* src/lauxlib.js: Don't index possibly missing global 'process'daurnimator2017-08-18
|
* LoadF: buff is an Array in the browser, use pre-read charsBenoit Giannangeli2017-08-10
|
* LoadF is the same in the browser and in nodeBenoit Giannangeli2017-08-10
|
* luaL_loadfile will load via xhr in the browserBenoit Giannangeli2017-08-10
|
* Use array of bytes instead of DataView (until we fetch binary)Benoit Giannangeli2017-08-10
|