summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* src/luaconf.js: Use env var FENGARICONF for configurationdaurnimator2018-03-26
|
* src/lbaselib.js: Don't cache non-fastpath string conversionsdaurnimator2018-03-04
|
* src/lauxlib.js: lua_tojsstring won't throw since b257a24daurnimator2018-03-04
|
* src/luaconf.js: Add comment about LUA_COMPAT_FLOATSTRINGdaurnimator2018-03-04
|
* Remove unwanted TODOsdaurnimator2018-03-04
|
* src/lapi.js: Remove lua_toljsstringdaurnimator2018-03-04
| | | | It doesn't return length as a seperate thing: js strings implicitly have a length already
* src/fengari.js: Export luaconfdaurnimator2018-03-04
|
* src/lobject.js: lua_tojsstring now uses unicode replacement character by defaultdaurnimator2018-03-04
|
* src/defs.js: to_jsstring now optionally replaces invalid utf8 sequences with ↵daurnimator2018-03-04
| | | | | | the unicode replacement character Related to https://github.com/fengari-lua/fengari-interop/issues/30
* src/luaconf.js: Add LUA_COMPAT_FLOATSTRINGdaurnimator2018-03-04
| | | | For #113
* src/lstate.js: Start id at 1; it's better if ids are never falsydaurnimator2018-02-28
|
* src/lobject.js: Fix %p printing two idsdaurnimator2018-02-28
|
* src/defs.js: Look in both /usr and /usr/localdaurnimator2018-02-17
| | | | | Takes similar approach as patch carried by debian. https://anonscm.debian.org/cgit/pkg-lua/lua5.3.git/tree/debian/patches/0002-lua-modules-paths.patch?id=8dc227b2a85a160d2f1e92f9a21abd9e2e267735
* src/defs.js: js files belong in share/ not lib/daurnimator2018-02-17
|
* Rename cpath to jspathdaurnimator2018-02-17
|
* src/defs.js: CPATH contains .js not .dll/.sodaurnimator2018-02-17
| | | | Closes #111
* src/ldblib.js: Use WeakMap as __mode is unsupporteddaurnimator2018-02-04
|
* src/{luaconf,lauxlib}.js: LUAL_BUFFERSIZE should be defined in luaconfdaurnimator2018-02-04
|
* src/fengari.js: Add copyright notice that will get preserved by minifiersdaurnimator2018-02-04
| | | | Closes #96
* 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/lapi.js: Explicit check against LUA_MULTRETdaurnimator2018-02-04
|
* src/lapi.js: in lua_pcallk only create CallS object when requireddaurnimator2018-02-04
|
* src/lapi.js: Shorter boolean coerciondaurnimator2018-02-04
|
* src/lapi.js: Check integer parametersdaurnimator2018-02-04
|
* src/lmathlib.js: Implement math.randomseed via a simple LCGdaurnimator2018-02-04
| | | | Closes #78
* src/ljstype.js: Use Uint8Array instead of plain arraydaurnimator2018-02-04
|
* Merge remote-tracking branch 'daurnimator/optimise-ljstype'daurnimator2018-02-04
|\
| * src/ljstype.js: Add built in tables rather than using regex rulesdaurnimator2018-01-02
| |
| * src/lobject.js: Check string length before indexingdaurnimator2018-01-02
| | | | | | | | Strings aren't null terminated in JS
* | src/loadlib.js: Don't reuse CLIBS string due to it getting used as ↵daurnimator2018-01-30
| | | | | | | | lightuserdata key
* | src/{defs,loadlib}.js: LUA_(C)PATH_DEFAULT now exported as lua stringsdaurnimator2018-01-30
| |
* | src/lapi.js: fengari_argcheck doesn't take a lua_Statedaurnimator2018-01-29
| |
* | src/lobject.js: Use a switch/case over `typeof` when getting object idsdaurnimator2018-01-29
| |
* | src/lstrlib.js: Add binary safe string.lower and string.upperdaurnimator2018-01-29
| |
* | src/lstrlib.js: Remove KOption object; use constsdaurnimator2018-01-29
| |
* | src/lstrlib.js: Hardcode character codes (avoids charCodeAt)daurnimator2018-01-29
| |
* | src/lstrlib.js: Hardcode toupper implementationdaurnimator2018-01-29
| |
* | src/lfunc.js: styledaurnimator2018-01-29
| |
* | src/lbaselib.js: Hardcode character codes (avoids charCodeAt)daurnimator2018-01-29
| |
* | src/lbaselib.js: Optimise b_str2int by using parseIntdaurnimator2018-01-29
| |
* | src/lauxlib.js: Hardcode character codes (avoids charCodeAt)daurnimator2018-01-29
| |
* | src/ldblib.js: Hardcode character codes (avoids charCodeAt)daurnimator2018-01-29
| |
* | src/lapi.js: Check upvalue index in an integerdaurnimator2018-01-29
| |
* | src/lapi.js: optimise+minify getupvalref usagedaurnimator2018-01-29
| |
* | src/: Upvalues are now just TValues (possibly referencing on-stack)daurnimator2018-01-29
| | | | | | | | | | | | | | | | | | | | - Removes `Upval` class - closing over upvalues is now done by creating new on-stack TValue objects - No more `openupval` linked list With this fix, upvalues from collected coroutines will no longer keep other values alive Closes #44
* | src/lobject.js: Consistently use null in a nil TValuedaurnimator2018-01-29
| |
* | src/llex.js: Use destructured assignment when requiring ljstypedaurnimator2018-01-29
| |
* | src/llex.js: Fix double llimits requiredaurnimator2018-01-29
| |
* | src/llex.js: Store luaX_tokens in lua string formdaurnimator2018-01-29
| |