aboutsummaryrefslogtreecommitdiff
path: root/src/compiler.js
AgeCommit message (Collapse)Author
2012-11-08improve node detection in compilerAlon Zakai
2012-11-08initial hackingAlon Zakai
2012-11-06split js compiler into three passes, to facilitate future parallizationAlon Zakai
2012-11-03fix windows line endingsAlon Zakai
2012-09-25add workaround for older node versionsAlon Zakai
2012-09-25Support loading emscripten argument filenames with relative pathsChad Austin
2012-04-20make library and gl debug configurable at runtime, and share the pretty ↵Alon Zakai
printing code
2012-04-13--js-library option to make it easy to add additional library_*.js filesAlon 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
2012-02-26remove I64_MODE, it is equal to 1 in USE_TYPED_ARRAYS 2 and only thereAlon Zakai
2012-02-11only support i64 mode 1 in ta2Alon Zakai
2012-01-10commentAlon 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-17note that I64_MODE and DOUBLE_MODE can slow you downAlon Zakai
2011-12-15rewrite variable analysis code. eliminate unused variables without side ↵Alon Zakai
effects, and improve nativization logic.
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-04sanity check for compiler engine in test runnerAlon Zakai
2011-12-03fixes for using node as both compiler engine and code running engine. node ↵Alon Zakai
is now default in settings.py
2011-12-03debug info cleanupAlon Zakai
2011-12-03refactoring towards supporting node.jsAlon Zakai
2011-12-02optimize memory usage in compiler.js, and fixes for emscripten on the webAlon Zakai
2011-12-02various fixes from js strict mode testingAlon Zakai
2011-12-01support for running emscripten in the browserAlon Zakai
2011-11-28memory debugging code, and some minor optimizations from itAlon Zakai
2011-11-18rename OPTIMIZE to MICRO_OPTSAlon Zakai
2011-11-17refactor PGO codeAlon Zakai
2011-11-15comment on optimizingAlon Zakai
2011-11-15comment about post-optimizationsAlon Zakai
2011-11-13fix compiler.js bugAlon Zakai
2011-11-13notifications about compilation settingsAlon Zakai
2011-10-03fix test_timeAlon Zakai
2011-08-28FAKE_X86_FP80 option ; generalize bitcast ; minor toNiceIdent fixAlon Zakai
2011-07-30workarounds for js engine bugsAlon Zakai
2011-07-16refactor and simplify library loading in order to make type info available thereAlon Zakai
2011-06-25Added support for exporting (non-function) global variables.max99x
2011-06-05generalize heap access generation with getHeapOffsetAlon Zakai
2011-05-25allow 2 and 3 in SAFE_HEAP and CHECK_* options. 2 is only these, 3 is all ↵Alon Zakai
but these
2011-05-15indexize necessary library functionsAlon Zakai
2011-05-14additional sdl and browser stuffAlon Zakai
2011-04-21line-specific exceptions to SAFE_HEAPAlon Zakai
2011-04-13refactor library-needing code out of jsifierAlon Zakai
2011-03-29gcparam for spidermonkeyAlon Zakai
2011-03-21optimize FUNCTION_POINTER and exportingAlon Zakai
2011-03-15stop using lots of memory to manage strings at the end of compilationAlon Zakai