aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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
* README.md: Add __gc metamethods to unsupported listdaurnimator2018-02-17
|
* 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
* tests/test-suite/ltests.js: Push copy of TValue to stack, not originaldaurnimator2018-02-05
| | | | Fixes https://github.com/fengari-lua/fengari/commit/0d91aed9be2b4761e00d371410140c4b541eb14e#commitcomment-22312635
* package.json: Upgrade dependencies to latest versionsdaurnimator2018-02-04
|
* package.json: Add directories.libdaurnimator2018-02-04
|
* src/ldblib.js: Use WeakMap as __mode is unsupporteddaurnimator2018-02-04
|
* src/{luaconf,lauxlib}.js: LUAL_BUFFERSIZE should be defined in luaconfdaurnimator2018-02-04
|
* README.md: Document extra arg of luaL_execresult and luaL_fileresultdaurnimator2018-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
|
* tests/test-suite/math.js: Add missing math.randomseed call to testsdaurnimator2018-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
| |
* | package.json: Use yarn-favoured indentationdaurnimator2018-01-29
| |
* | package.json: Add sideEffects: falsedaurnimator2018-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
| |
* | src/llex.js: Use RESERVED enum members un-namespaceddaurnimator2018-01-29
| |