summaryrefslogtreecommitdiff
path: root/src/lauxlib.js
Commit message (Collapse)AuthorAge
* Avoid .concat where simple to do sodaurnimator2017-06-09
|
* src/lauxlib.js: Stop using .slice in skipBOMdaurnimator2017-06-01
|
* luaL_loadfilex raise error if filename is not a fileBenoit Giannangeli2017-05-28
| | | | e.g. a directory
* lua_tonumberxBenoit Giannangeli2017-05-28
| | | | | | | | lua_tonumber should return 0 if argument is not convertible to a number. But luaL_checknumber uses lua_tonumberx and tests isnum. -> lua_tonumberx return false if argument is not convertible to a number.
* src/lauxlib.js: In luaL_loadfilex only wrap the fs library calls in try/catchdaurnimator2017-05-27
|
* Implement %p specifier in luaO_pushvfstringdaurnimator2017-05-24
| | | | Move hacks out of luaL_tolstring
* src/lauxlib.js: Use lua_pushfstring for formatting numbersdaurnimator2017-05-23
|
* src/lauxlib.js: compare js stringsdaurnimator2017-05-22
|
* src/lauxlib.js: lua_getinfo takes a lua string (array) not a JS stringdaurnimator2017-05-22
|
* src/ldebug.js: namewhat should always contain a stringdaurnimator2017-05-22
|
* Separate ZIO and MBuffer data structuresdaurnimator2017-05-15
| | | | - lua_load no longer takes a null reader function
* src/lauxlib.js: Move binary signature check before line correctiondaurnimator2017-05-15
|
* src/lauxlib.js: Feed readahead back into parserdaurnimator2017-05-15
|
* luaL_addsize, luaL_checkoption, luaL_checkversion, luaL_newlibtable, ↵Benoit Giannangeli2017-05-14
| | | | luaL_optnumber, luaL_prepbuffer, luaL_pushresultsize, luaL_ref
* Move luaL_openlibs from lauxlib to lualibdaurnimator2017-05-11
|
* Webpack (single bundle for now)Benoit Giannangeli2017-05-09
|
* src/lauxlib.js: Use lua_pushfstring (fixes missing fields in tracebacks)daurnimator2017-05-05
|
* Fix luaL_error callsitesdaurnimator2017-05-05
| | | | | | - Now that luaL_error does sprintf-like formatting it shouldn't take user input - % now needs to be escaped when passed to luaL_error - Removes several wasteful lua->js->lua string transformations
* src/lauxlib.js: Fix traceback textdaurnimator2017-05-05
|
* src/lauxlib.js: Use lua_pushvfstringdaurnimator2017-05-04
|
* requireBenoit Giannangeli2017-05-03
|
* loadlib.jsBenoit Giannangeli2017-05-03
|
* src/lauxlib.js: buffer.b should be null or array, not a stringdaurnimator2017-05-03
|
* src/lauxlib: Rewrite luaL_execresultdaurnimator2017-05-03
|
* luaL_Buffer constructor shouldn't take a lua statedaurnimator2017-05-03
| | | | It gets set in luaL_buffinit
* Removed unused imports; add jshint unused warningdaurnimator2017-05-03
|
* Move .id field from TValue to values themselvesdaurnimator2017-05-03
|
* src/lauxlib.js: Add luaL_dostring and luaL_dofiledaurnimator2017-05-02
|
* os.executeBenoit Giannangeli2017-04-28
|
* Move jsstring() from lobject.js to defs.js; export from lua.jsdaurnimator2017-04-26
|
* Export luaL_openlibs from lauxlib.jsdaurnimator2017-04-26
|
* lauxlib: Add luaL_fileresultdaurnimator2017-04-26
|
* lauxlib: Add LUA_FILEHANDLEdaurnimator2017-04-26
|
* lauxlib: Add luaL_*metatable and luaL_*udata functionsdaurnimator2017-04-26
|
* Added missing test in luaL_tolstringBenoit Giannangeli2017-04-26
|
* math.huge is Number.InfinityBenoit Giannangeli2017-04-26
|
* src/lauxlib: Refactor luaL_tolstring to use lapi internals lessdaurnimator2017-04-26
|
* Remove unused require()sdaurnimator2017-04-26
|
* Export ldebug.js functions from lua.jsdaurnimator2017-04-26
|
* Export lstate.js functions from lua.jsdaurnimator2017-04-26
|
* Export lapi.js functions from lua.jsdaurnimator2017-04-26
|
* Remove lua.chardaurnimator2017-04-26
|
* Remove lua.thread_statusdaurnimator2017-04-26
|
* Remove lua.CT and lua.constant_types (still available from defs)daurnimator2017-04-26
|
* Merge branch 'master' into clidaurnimator2017-04-19
|\
| * Cache all to_luastring of internal literalsBenoit Giannangeli2017-04-18
| |
* | lauxlib: Only jsstring-ify if non-nulldaurnimator2017-04-19
| |
* | lauxlib: Fix error handling in luaL_loadfilexdaurnimator2017-04-19
|/
* debug.tracebackBenoit Giannangeli2017-04-12
|
* debug.debugBenoit Giannangeli2017-04-11
| | | | Use readline-sync to read from stdin interactively