aboutsummaryrefslogtreecommitdiff
path: root/src/shell.js
AgeCommit message (Collapse)Author
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
2010-11-06cleanup integration codeAlon Zakai
2010-10-31allow both modularized and non-modularized shell.jsalon@honor
2010-10-31finish module-ization of generated codealon@honor
2010-10-28bustage fixalon@honor