summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAge
* 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
|
* Updated pm.js test count, removed utf8.js from inprogressBenoit Giannangeli2017-06-15
|
* tests/test-suite/inprogress/pm.js: Add missing checkerror functiondaurnimator2017-06-15
|
* tests/test-suite/inprogress/pm.js: un-split range testsdaurnimator2017-06-15
| | | | strset tests use 'abc' variable
* [test-suite] attrib.js passesBenoit Giannangeli2017-06-02
| | | | Except for require tests which needs io.write
* [test-suite] db.jsBenoit Giannangeli2017-05-31
|
* src/ldebug.js: Test for null result of findlocal in lua_setlocalBenoit Giannangeli2017-05-31
|
* [test-suite] db.jsBenoit Giannangeli2017-05-31
|
* [test-suite] utf8.js passesBenoit Giannangeli2017-05-29
|
* tests/test-suite/inprogress/utf8.js: join min/max tests togetherdaurnimator2017-05-29
| | | | Both need 'x'
* src/lvm.js: cache closuresdaurnimator2017-05-29
|
* [test-suite] code.js passesBenoit Giannangeli2017-05-29
|