aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* lua_writestringerror now takes a vararg and converts arraysdaurnimator2017-11-12
|
* src/lbaselib.js: Add try/catch around to_jsstring call in tonumberdaurnimator2017-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/ldebug.js: Remove use of fallible defs.to_jsstring calldaurnimator2017-11-12
|
* Add internal function defs.luastring_cmp for string equality checksdaurnimator2017-11-12
|
* src/llex.js: Export LUA_ENVdaurnimator2017-11-12
|
* src/defs.js: cleanup of to_luastringdaurnimator2017-11-12
|
* src/defs.js: Check for invalid continuation bytesdaurnimator2017-11-12
|
* src/defs.js: Avoid extra .slice operationdaurnimator2017-11-12
|
* src/defs.js: Refactor to_jsstringdaurnimator2017-11-12
| | | | | Now fails on non-utf8 input. Previously it would convert to equivalent unicode codepoints as bytes, which did not round-trip
* src/defs.js: minor optimisation of to_luastringdaurnimator2017-11-12
|
* tests/defs.js: Also test to_jsstringdaurnimator2017-11-12
|
* src/defs.js: the highest unicode codepoint is U+10FFFFdaurnimator2017-11-12
| | | | | | utf8 dropped support for 5 and 6 byte sequences back in 2003 As we're converting from javascript strings (which are utf-16), codepoints above U+10FFFF can't occur anyway
* src/defs.js: Fix conversion of non-BMP unicode codepointsdaurnimator2017-11-12
| | | | Adds tests for to_luastring
* src/ltablib.js: sort max interval should be LUA_MAXINTEGERBenoit Giannangeli2017-11-09
| | | | Closes #1
* Removed incorrect use of llimits.MAX/MIN_INTBenoit Giannangeli2017-11-09
| | | | llimit.js is renamed to llimits.js
* src/loadlib.js: Consistent indentationdaurnimator2017-09-28
|
* src/loadlib.js: Fix some to_luastring call-sitesdaurnimator2017-09-28
|
* src/loadlib.js: escape path before passing to XHR or using as sourceURLdaurnimator2017-09-28
|
* src/loadlib.js: Invert condition so that code flows downdaurnimator2017-09-27
|
* src/loadlib.js: If JS library returns undefined, look in window objectdaurnimator2017-09-27
|
* src/loadlib.js: Check that JS library returns expected type(s)daurnimator2017-09-27
|
* src/loadlib.js: Use sourceURL to get path in debugger+tracebacksdaurnimator2017-09-27
|
* src/loadlib.js: Pass fengari library to JS modulesdaurnimator2017-09-27
|
* src/loadlib.js: Declare forgotten argument seeglbdaurnimator2017-09-27
|
* src/loadlib.js: Load code with Function to catch syntax errors before evaluationdaurnimator2017-09-27
|
* webpack.config.js: Use strictdaurnimator2017-09-16
|
* package.json, yarn.lock: Upgrade to newer packagesdaurnimator2017-09-16
| | | | Deletes package-lock.json
* README.md: added section about using the JS APIBenoit Giannangeli2017-09-13
|
* README.md: Getting started sectionBenoit Giannangeli2017-09-12
|
* tests/loslib.js: Use PATH instead of HOMEdaurnimator2017-09-07
| | | | | It is more guaranteed to exist, especially on windows. See #83
* src/lapi.js, src/lauxlib.js: lua_tointeger should return 0 when conversion ↵denis2017-09-07
| | | | fails for luaL_ref to work
* src/lapi.js: lua_rawseti requires only one operand on the stack when working ↵denis2017-09-07
| | | | with tables such as LUA_REGISTRYINDEX
* src/lauxlib.js: Fix test for Lua functionsdaurnimator2017-08-21
| | | | Uninvert the condition rather than changing from C to J
* webpack.config.js: Use babel-loader instead of babili-webpack-plugindaurnimator2017-08-18
|
* Remove math.randomseed implementationdaurnimator2017-08-18
| | | | See #78
* src/loadlib.js: Use path.resolve to construct pathsdaurnimator2017-08-18
|
* Move jshint config to package.jsondaurnimator2017-08-18
|
* src/lauxlib.js: Don't index possibly missing global 'process'daurnimator2017-08-18
|
* src/loslib.js: Tidy up node specific function definitionsdaurnimator2017-08-17
|
* src/loslib.js: Use WEB define instead of checking for process globaldaurnimator2017-08-17
|
* src/loadlib.js: Use window as env in browserdaurnimator2017-08-17
|
* src/loadlib.js: Fix using lua string instead of js string when getting env varsdaurnimator2017-08-17
|
* src/lbaselib.js: Print immediately to console in nodedaurnimator2017-08-17
|
* ldump.js: fixed bad integer size in DumpIntegerBenoit Giannangeli2017-08-10
|
* README.md: added paragraph about 32bits integersBenoit Giannangeli2017-08-10
|
* loadfile and dofile are available in the browserBenoit Giannangeli2017-08-10
|
* Fixed correct let declaration that will fail babiliBenoit Giannangeli2017-08-10
|
* LoadF: buff is an Array in the browser, use pre-read charsBenoit Giannangeli2017-08-10
|