aboutsummaryrefslogtreecommitdiff
path: root/src/postamble.js
AgeCommit message (Collapse)Author
2013-05-19export callMain through closureAlon Zakai
2013-05-04make memory management sane: 0 is null, then static including globals, then ↵Alon Zakai
stack, then dynamic/sbrk. deprecate shared libs (BUILD_AS_SHARED_LIB)
2013-04-09make noInitialRun and INVOKE_RUN refer to main(), not run(). run() need not ↵Alon Zakai
call main(), and is necessary to set things up even if you call main() manually
2013-04-09run postsets right before main, and after the memory initializer has been set upAlon Zakai
2013-04-05assert on callMain happening when no dependencies leftAlon Zakai
2013-04-05ensure runtime initialized when dependencies have arrived, including the ↵Alon Zakai
memory initializer
2013-04-05refactor runtime initializationAlon Zakai
2013-04-05allow calling callMain even if run() was not calledAlon Zakai
2013-04-05initialize runtime from run() (asynchronously, if run is asynchronous)Alon Zakai
2013-03-20do not exist runtime if simulating an infinite loopAlon Zakai
2013-03-20do not show the simulate-infinite-loop exceptionAlon Zakai
2013-03-20remove CATCH_EXIT_CODE and make it the default behaviorAlon Zakai
2013-01-25benchmark code gen optionAlon Zakai
2013-01-07reset the stack top when CATCH_EXIT_CODEAlon Zakai
2012-12-07add asm imports and exports, hello world worksAlon Zakai
2012-12-07remove irrelevant code from asm moduleAlon Zakai
2012-12-07set up asm.js 'module'Alon Zakai
2012-11-12make Module.run accessible through closure also in pre and post-js (#704)Alon Zakai
2012-10-22handle no-data worker api calls, and more testsAlon Zakai
2012-10-22worker api closure fixes + additional testingAlon Zakai
2012-10-22initial work on worker apiAlon Zakai
2012-09-09clean up handling of initial runAlon Zakai
2012-09-08fix preRunAlon Zakai
2012-09-07run all available preRuns before checking if run must be delayedAlon Zakai
2012-08-10Module.preInitAlon Zakai
2012-07-18refactor file preloading to happen in FS.createPreloadedFile, so that not ↵Alon Zakai
only file_packager preloading gets preloaded Images and Audios
2012-06-17allow multiple preRun/postRunAlon Zakai
2012-06-11remove GENERATING_HTML, it was confusing and gave little or no benefitAlon Zakai
2012-05-12clear status in html even if doRun exits through an exceptionAlon Zakai
2012-05-12show Running... when calling run()Alon Zakai
2012-05-12nicer html messages during load/startupAlon Zakai
2012-05-09allow adding runDependencies in preRunAlon Zakai
2012-04-09init runtime immediately, so that even with noInitialRun we can still call ↵Alon Zakai
filesystem-using functions and they will work
2012-04-06restore support for noInitialRunAlon Zakai
2012-03-26show status messages for decompressing and clear status on runAlon Zakai
2012-03-24run preRun before initRuntime, fixes test_filesAlon Zakai
2012-03-22do preRun and postRun only if we actually runAlon Zakai
2012-03-19refactor use of this[..] in shell.js to use Module[..]Alon Zakai
2012-03-15add file preloading in browsersAlon Zakai
2012-03-03add noExitRuntime optionAlon Zakai
2012-02-05add preRun and postRun hooks in Module, and tweak FS initializationAlon Zakai
2012-01-16remove hack for ignorePermissions in the filesystem API, which removes the ↵Alon Zakai
need to set ignorePermissions to true before run() is called
2012-01-16refactor runtime init and exit codeAlon Zakai
2011-12-03refactoring towards supporting node.jsAlon Zakai
2011-12-03Modify exit() to throw an object and catch it.David Claughton
* Changed exit from throwing an text string to throwing an Error-derived object encapsulating the exit status. Then catch it in 'callMain' and return the status. Enable this functionality by setting CATCH_EXIT_CODE in settings.js
2011-11-30refactor compiler to allow future batching of types and globals. move ↵Alon Zakai
postsets from run() to the toplevel to boost performance and simplify compilation. fix various bugs that were noticed during this
2011-07-15refactor Pointer_make into allocateAlon Zakai
2011-06-24remove unneeded globalFuncsAlon Zakai
2011-06-23* propogated return value from main back to the return value from Module.runtim.dawborn
* improved the behaviour of ungetc * added optional argument to intArrayFromString to not add the trailing NULL -- useful when adding JS strings as the data in the virtual file system
2011-06-08remove unneeded initializeRuntimeAlon Zakai