summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAge
* 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
* {src/lauxlib.js,tests/test-suite/ltests.js}: Use luastring_eq instead of .join()daurnimator2018-02-04
|
* tests/test-suite/math.js: Add missing math.randomseed call to testsdaurnimator2018-02-04
|
* src/lapi.js: Don't export index2addrdaurnimator2018-01-18
|
* Move fengari specific things to src/fengaricore.jsdaurnimator2018-01-11
| | | | String manipulation functions now get exposed on 'fengari' object itself at top level
* Introduce luastring_indexOf as Uint8Array.indexOf doesn't exist everywheredaurnimator2018-01-07
|
* tests/test-suite/utf8.js: Throw syntax errors if they occur + fix whitespacedaurnimator2018-01-06
|
* tests/test-suite/api.js: Split a skipped testdaurnimator2018-01-06
|
* Expose lua.luastring_of to construct a lua 'string' from raw byte valuesdaurnimator2018-01-06
|
* src/lobject.js: Refactor luaO_chunkid to use Uint8Array.setdaurnimator2017-12-15
|
* src/lzio.js: Don't permit DataView returned from a lua_load reader any moredaurnimator2017-12-15
|
* Use Uint8Array to back stringsdaurnimator2017-12-13
|
* Introduce defs.string_of to create string from bytesdaurnimator2017-12-13
|
* tests/: Don't hard-code string hashesdaurnimator2017-12-13
|
* tests/lmathlib.js: math.ult test was copy+paste of math.tointegerdaurnimator2017-12-11
|
* tests/lapi.js: Fix incorrect escapingdaurnimator2017-12-11
|
* tests/: Fix 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
* Export strings from lauxlib in lua string form (rather than as javascript ↵daurnimator2017-12-02
| | | | string)
* src/lapi.js: chunkname can be nulldaurnimator2017-11-20
|
* src/loslib.js: Check that var exists in process.env before indexingdaurnimator2017-11-12
| | | | Solves issues with os.getenv'hasOwnProperty'
* src/defs.js: Check for invalid continuation bytesdaurnimator2017-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
* tests/defs.js: Also test to_jsstringdaurnimator2017-11-12
|
* src/defs.js: Fix conversion of non-BMP unicode codepointsdaurnimator2017-11-12
| | | | Adds tests for to_luastring
* 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
* Remove math.randomseed implementationdaurnimator2017-08-18
| | | | See #78
* tests/test-suite: Fix checkpanicdaurnimator2017-06-19
|
* tests/test-suite/ltests.js: Don't error on empty scripts (just null ones)daurnimator2017-06-19
|
* db.js now passesdaurnimator2017-06-19
|
* tests/test-suite/inprogress/db.js: Give snippet a file-based source rather ↵daurnimator2017-06-19
| | | | | | than a string Test was failing due to short_src containing '...'
* tpack.js now passesdaurnimator2017-06-19
|
* Change size_t from 8 bytes to 4 bytesdaurnimator2017-06-19
| | | | JavaScript cannot perform arithmetic on 8byte (i.e. 64bit) numbers
* tests/tests.js: don't shell out to luac for compilingdaurnimator2017-06-19
|
* tests/tests.js: throw errors if unable to load codedaurnimator2017-06-18
|
* src/lstrlib.js: cast to unsigned when packing unsigneddaurnimator2017-06-17
|
* src/lstrlib.js: a 'long' is 4 bytes in JSdaurnimator2017-06-17
|
* tests/test-suite/pm.js: Use luaL_loadfile instead of loadstring containing ↵daurnimator2017-06-17
| | | | loadfile
* str_packsize: fixed malformed luaL_argcheckBenoit Giannangeli2017-06-16
|
* Merge branch 'test-suite'Benoit Giannangeli2017-06-16
|\
| * unpacknum: number can be 32bitsBenoit Giannangeli2017-06-16
| |
| * packnum: num can be 32 bitsBenoit Giannangeli2017-06-16
| |
| * [test-suite] tpack.js: Moved size constants in prefixBenoit Giannangeli2017-06-16
| |
* | tests/test-suite/inprogress/db.js: Escape escapesdaurnimator2017-06-16
| |
* | tests/test-suite/inprogress/db.js: Remove debug printdaurnimator2017-06-16
| |
* | tests/test-suite/inprogress/db.js: Remove prefix from tests that don't need itdaurnimator2017-06-16
| |
* | src/ldo.js: Add call debug hookdaurnimator2017-06-16
| |
* | tests/test-suite/inprogress/db.js: Fix first testdaurnimator2017-06-16
|/
* [test-suite] pm.js passesBenoit Giannangeli2017-06-16
|