Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | src/: Fix some linter complaints | daurnimator | 2017-12-10 |
| | |||
* | Use `typeof process === "undefined"` instead of WEB global | daurnimator | 2017-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 ↵ | daurnimator | 2017-12-02 |
| | | | | string) | ||
* | src/lauxlib.js: Fix missing 'else' in luaL_getmetafield | daurnimator | 2017-11-28 |
| | |||
* | Add lua.to_uristring | daurnimator | 2017-11-12 |
| | |||
* | src/lauxlib.js: Add encodeURI call into luaL_loadfilex to match loadlib.js | daurnimator | 2017-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 arrays | daurnimator | 2017-11-12 |
| | |||
* | src/lauxlib.js: Remove unwanted to_jsstring calls | daurnimator | 2017-11-12 |
| | |||
* | src/lauxlib.js: Catch read errors on read rather than fstat-ing then hoping | daurnimator | 2017-11-12 |
| | |||
* | src/lapi.js, src/lauxlib.js: lua_tointeger should return 0 when conversion ↵ | denis | 2017-09-07 |
| | | | | fails for luaL_ref to work | ||
* | src/lauxlib.js: Fix test for Lua functions | daurnimator | 2017-08-21 |
| | | | | Uninvert the condition rather than changing from C to J | ||
* | Move jshint config to package.json | daurnimator | 2017-08-18 |
| | |||
* | src/lauxlib.js: Don't index possibly missing global 'process' | daurnimator | 2017-08-18 |
| | |||
* | LoadF: buff is an Array in the browser, use pre-read chars | Benoit Giannangeli | 2017-08-10 |
| | |||
* | LoadF is the same in the browser and in node | Benoit Giannangeli | 2017-08-10 |
| | |||
* | luaL_loadfile will load via xhr in the browser | Benoit Giannangeli | 2017-08-10 |
| | |||
* | Use array of bytes instead of DataView (until we fetch binary) | Benoit Giannangeli | 2017-08-10 |
| | |||
* | Synchronous xhr can't edit responseType | Benoit Giannangeli | 2017-08-10 |
| | |||
* | Web require searcher | Benoit Giannangeli | 2017-08-10 |
| | |||
* | Avoid .concat where simple to do so | daurnimator | 2017-06-09 |
| | |||
* | src/lauxlib.js: Stop using .slice in skipBOM | daurnimator | 2017-06-01 |
| | |||
* | luaL_loadfilex raise error if filename is not a file | Benoit Giannangeli | 2017-05-28 |
| | | | | e.g. a directory | ||
* | lua_tonumberx | Benoit Giannangeli | 2017-05-28 |
| | | | | | | | | lua_tonumber should return 0 if argument is not convertible to a number. But luaL_checknumber uses lua_tonumberx and tests isnum. -> lua_tonumberx return false if argument is not convertible to a number. | ||
* | src/lauxlib.js: In luaL_loadfilex only wrap the fs library calls in try/catch | daurnimator | 2017-05-27 |
| | |||
* | Implement %p specifier in luaO_pushvfstring | daurnimator | 2017-05-24 |
| | | | | Move hacks out of luaL_tolstring | ||
* | src/lauxlib.js: Use lua_pushfstring for formatting numbers | daurnimator | 2017-05-23 |
| | |||
* | src/lauxlib.js: compare js strings | daurnimator | 2017-05-22 |
| | |||
* | src/lauxlib.js: lua_getinfo takes a lua string (array) not a JS string | daurnimator | 2017-05-22 |
| | |||
* | src/ldebug.js: namewhat should always contain a string | daurnimator | 2017-05-22 |
| | |||
* | Separate ZIO and MBuffer data structures | daurnimator | 2017-05-15 |
| | | | | - lua_load no longer takes a null reader function | ||
* | src/lauxlib.js: Move binary signature check before line correction | daurnimator | 2017-05-15 |
| | |||
* | src/lauxlib.js: Feed readahead back into parser | daurnimator | 2017-05-15 |
| | |||
* | luaL_addsize, luaL_checkoption, luaL_checkversion, luaL_newlibtable, ↵ | Benoit Giannangeli | 2017-05-14 |
| | | | | luaL_optnumber, luaL_prepbuffer, luaL_pushresultsize, luaL_ref | ||
* | Move luaL_openlibs from lauxlib to lualib | daurnimator | 2017-05-11 |
| | |||
* | Webpack (single bundle for now) | Benoit Giannangeli | 2017-05-09 |
| | |||
* | src/lauxlib.js: Use lua_pushfstring (fixes missing fields in tracebacks) | daurnimator | 2017-05-05 |
| | |||
* | Fix luaL_error callsites | daurnimator | 2017-05-05 |
| | | | | | | - Now that luaL_error does sprintf-like formatting it shouldn't take user input - % now needs to be escaped when passed to luaL_error - Removes several wasteful lua->js->lua string transformations | ||
* | src/lauxlib.js: Fix traceback text | daurnimator | 2017-05-05 |
| | |||
* | src/lauxlib.js: Use lua_pushvfstring | daurnimator | 2017-05-04 |
| | |||
* | require | Benoit Giannangeli | 2017-05-03 |
| | |||
* | loadlib.js | Benoit Giannangeli | 2017-05-03 |
| | |||
* | src/lauxlib.js: buffer.b should be null or array, not a string | daurnimator | 2017-05-03 |
| | |||
* | src/lauxlib: Rewrite luaL_execresult | daurnimator | 2017-05-03 |
| | |||
* | luaL_Buffer constructor shouldn't take a lua state | daurnimator | 2017-05-03 |
| | | | | It gets set in luaL_buffinit | ||
* | Removed unused imports; add jshint unused warning | daurnimator | 2017-05-03 |
| | |||
* | Move .id field from TValue to values themselves | daurnimator | 2017-05-03 |
| | |||
* | src/lauxlib.js: Add luaL_dostring and luaL_dofile | daurnimator | 2017-05-02 |
| | |||
* | os.execute | Benoit Giannangeli | 2017-04-28 |
| | |||
* | Move jsstring() from lobject.js to defs.js; export from lua.js | daurnimator | 2017-04-26 |
| | |||
* | Export luaL_openlibs from lauxlib.js | daurnimator | 2017-04-26 |
| |