aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* 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
* src/loslib.js: Add os.clock implementation for browsersdaurnimator2017-12-03
|
* 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
|
* src/lapi.js: chunkname can be nulldaurnimator2017-11-20
|
* Add lua.to_uristringdaurnimator2017-11-12
|
* src/loslib.js: Check that var exists in process.env before indexingdaurnimator2017-11-12
| | | | Solves issues with os.getenv'hasOwnProperty'
* src/lstrlib.js: Move arg checking to own linedaurnimator2017-11-12
|
* src/loslib.js: Remove to_jsstring where possibledaurnimator2017-11-12
|
* src/loslib.js: Tidy up os.datedaurnimator2017-11-12
|
* src/lobject.js: Add try/catch around to_jsstring call in number coercionsdaurnimator2017-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
* src/loadlib.js: Remove unwanted to_jsstringdaurnimator2017-11-12
|
* src/ldo.js: remove unrequired to_jsstring callsdaurnimator2017-11-12
|
* 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
|
* 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
|
* src/lapi.js, src/lauxlib.js: lua_tointeger should return 0 when conversion ↵denis2017-09-07
| | | | fails for luaL_ref to work