aboutsummaryrefslogtreecommitdiff
path: root/src/loadlib.js
Commit message (Collapse)AuthorAge
* 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/loadlib.js: Use destructuring requiresdaurnimator2018-01-22
|
* Move fengari specific things to src/fengaricore.jsdaurnimator2018-01-11
| | | | String manipulation functions now get exposed on 'fengari' object itself at top level
* Avoid Uint8Array.slice (IE compat)daurnimator2018-01-07
|
* Introduce luastring_indexOf as Uint8Array.indexOf doesn't exist everywheredaurnimator2018-01-07
|
* src/{load,los}lib.js: Remove extraneous Uint8Array.from callsdaurnimator2017-12-28
|
* src/loadlib.js: Add support for web worker global envdaurnimator2017-12-28
|
* src/loadlib.js: Use non-strict mode to find global env in unknown environmentsdaurnimator2017-12-28
|
* src/loadlib.js: Do a concatenation in js string form rather than concating ↵daurnimator2017-12-13
| | | | arrays
* src/: Use to_luastring more often instead of manually creating arraysdaurnimator2017-12-13
|
* src/loadlib.js: Fix incorrect type of LUA_IGMARKdaurnimator2017-12-11
|
* src/: Fix some 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)
* Add lua.to_uristringdaurnimator2017-11-12
|
* src/loadlib.js: Remove unwanted to_jsstringdaurnimator2017-11-12
|
* src/loadlib.js: Consistent indentationdaurnimator2017-09-28
|
* src/loadlib.js: Fix some to_luastring call-sitesdaurnimator2017-09-28
|
* src/loadlib.js: escape path before passing to XHR or using as sourceURLdaurnimator2017-09-28
|
* src/loadlib.js: Invert condition so that code flows downdaurnimator2017-09-27
|
* src/loadlib.js: If JS library returns undefined, look in window objectdaurnimator2017-09-27
|
* src/loadlib.js: Check that JS library returns expected type(s)daurnimator2017-09-27
|
* src/loadlib.js: Use sourceURL to get path in debugger+tracebacksdaurnimator2017-09-27
|
* src/loadlib.js: Pass fengari library to JS modulesdaurnimator2017-09-27
|
* src/loadlib.js: Declare forgotten argument seeglbdaurnimator2017-09-27
|
* src/loadlib.js: Load code with Function to catch syntax errors before evaluationdaurnimator2017-09-27
|
* src/loadlib.js: Use path.resolve to construct pathsdaurnimator2017-08-18
|
* src/loadlib.js: Use window as env in browserdaurnimator2017-08-17
|
* src/loadlib.js: Fix using lua string instead of js string when getting env varsdaurnimator2017-08-17
|
* LoadF is the same in the browser and in nodeBenoit Giannangeli2017-08-10
|
* luaL_loadfile will load via xhr in the browserBenoit Giannangeli2017-08-10
|
* Do GET instead of HEAD so the following GET is cachedBenoit Giannangeli2017-08-10
|
* Synchronous xhr can't edit responseTypeBenoit Giannangeli2017-08-10
|
* Web require searcherBenoit Giannangeli2017-08-10
|
* src/loadlib.js: Use luaL_Buffer to build findloader error messagedaurnimator2017-06-09
|
* src/loadlib.js: Use luaL_Buffer to build searchpath error messagedaurnimator2017-06-09
|
* Fix some jshint warningsdaurnimator2017-05-29
|
* src/loadlib.js: Allow require to yielddaurnimator2017-05-15
|
* src/loadlib.js: Move closeSync inside try/catchdaurnimator2017-05-12
| | | | See https://github.com/giann/fengari/commit/278fd3edb6ead6cd65c2293f823887d19e4fbc8e#commitcomment-22009497
* src/ldebug.js: Fix index used for error messagedaurnimator2017-05-12
|
* src/loadlib: Use correct string formsdaurnimator2017-05-12
|
* Webpack (single bundle for now)Benoit Giannangeli2017-05-09
|
* 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/loadlib.js: Fix incorrect args for package functionsdaurnimator2017-05-04
|
* package library doesn't need to be for just nodedaurnimator2017-05-04
|
* src/loadlib.js: Fix use of js string instead of lua stringdaurnimator2017-05-04
|
* package.searchpathBenoit Giannangeli2017-05-03
|
* package.loadlibBenoit Giannangeli2017-05-03
|
* requireBenoit Giannangeli2017-05-03
|