aboutsummaryrefslogtreecommitdiff
path: root/src/shell.js
AgeCommit message (Collapse)Author
2014-06-17support argv[0] containing the script node is running; fixes #2431Alon Zakai
2014-05-29NO_DYNAMIC_EXECUTION option to disable features using eval() or new Function()Alon Zakai
2014-03-10forward CLOSURE_COMPILER to settings, and use that to avoid a ↵Alon Zakai
closure-specific workaround for Module detection; fixes #2209
2014-03-03Strict: There is no global this.Bruce Mitchener
2014-01-16don't override Module.print and printErr if the user specified themAlon Zakai
2013-11-18better fix for closure issue in asm2f.test_exceptions; clear out the ↵Alon Zakai
spidermonkey shell gc() function
2013-11-04Give names to most manually assigned functions in the .js files, in form ↵Jukka Jylänki
"var x = function()" -> "function x()" so that error stack traces and profiling stack traces are more informative and do not contain anonymous functions.
2013-10-15removed comment in src/shell.js and explicitly called run_js with ↵Fraser Adams
engine=NODE_JS as requested
2013-10-02fixed problem where module.exports, which is needed by node.js gets ↵Fraser Adams
incorrectly minified by Closure. Simple change from module.exports = Module to module['exports'] = Module fixes this. Added simple test case compiling with --O2 -closure 1 to /tests/Module-exports
2013-09-12try to use console.log even in workersAlon Zakai
2013-08-14do not fail if no read() in the shell, which is the case with jscAlon Zakai
2013-08-07tidied up environment conditionalsAnthony Pesch
2013-07-29fix test_scriptaclassAlon Zakai
2013-07-29fix Module acquiringAlon Zakai
2013-07-26tidy up defensive environment initializationAnthony Pesch
2013-07-24eliminate default Module globalAnthony Pesch
2013-07-01 - Added MODULE_NAME setting to control global module exportAnthony Pesch
2013-06-05Merge branch 'commonjs' of github.com:jazzzz/emscripten into incomingAlon Zakai
2013-06-04Check that module is an object instead of exportsJazz
2013-05-25additional embind testingAlon Zakai
2013-05-21Handle CommonJS exportsJazz
2013-04-05support reading binary data in the shell/nodeAlon Zakai
2013-01-21remove unneeded commentAlon Zakai
2012-11-08improve node detectionAlon Zakai
2012-10-19do not forward worker stdio by default ; fixes test_workerAlon Zakai
2012-10-19add tests for chunked binary web worker xhrJanus
2012-10-17Support for servers without byte serving, various small fixesJanus
2012-10-11add chunked lazy sync XHR loading in Web WorkersJanus
2012-10-11fix synchronous xhr in webworkers by reintroducing code deleted in be163123Janus
2012-07-04fallbacks for lack of printErrAlon Zakai
2012-06-17allow multiple preRun/postRunAlon Zakai
2012-04-17fix closure issues with exception handling, and add test coverageAlon Zakai
2012-03-20don't override Module.arguments if already providedAlon Zakai
2012-03-20Misc fixes for Windows.Sigmund Vik
Most of these changes have to do with how python scripts are invoked. For Linux, 'Popen([EMCC] + args)' works because the first line in emcc is '#!/usr/bin/env python'. On Windows, the python interpreter has to be explicitly invoked, e.g. 'Popen(['python', EMCC] + args)'. Note that there is no harm in explicitly invoking the python interpreter on Linux, so this works on both platforms. For Windows, execvp() behaves differently than on Linux: http://mail.python.org/pipermail/python-list/2002-July/763863.html http://msdn.microsoft.com/en-us/library/3xw6zy53.aspx This causes many strange things to happen as the parent process terminated before its children. In this change the use of execvp() has been replaced with subprocess.call(). This change also fixes some code that assumed that the path separator always is '/', but for Windows it is '\'. And where the path module can be required, we use path.normalize() and path.resolve() to check if a filename is absolute in a platform agnostic manner.
2012-03-19refactor use of this[..] in shell.js to use Module[..]Alon Zakai
2012-03-10better handling of detection of scriptArgs and argumentsAlon Zakai
2012-02-29better fix for leaked globalsAlon Zakai
2012-02-29do not pollute global scope except for node (where we must)Alon Zakai
2011-12-31override print() by default, to avoid errors when using the browser print() ↵Alon Zakai
(print to printer) if it hasn't been overridden. Overriding is now possible through Module.print
2011-12-13comment on print() on the webAlon Zakai
2011-12-12fixes to allow generated code to run in a web workerAlon Zakai
2011-12-12support for generating html in emcc, and a test for that that also tests ↵Alon Zakai
SDL, and some fixes for SDL
2011-12-03fixes for using node as both compiler engine and code running engine. node ↵Alon Zakai
is now default in settings.py
2011-11-06disable 'use strict' - it does not help us in any wayAlon Zakai
2011-07-30let Module specify argumentsAlon Zakai
2011-07-29updates for latest spidermonkey trunkAlon Zakai
2011-07-02update commented-out closure option in shellAlon Zakai
2011-05-12clean up shell.jsAlon Zakai
2011-02-20generate strict mode javascriptAlon Zakai
2010-12-12python web demoAlon Zakai