aboutsummaryrefslogtreecommitdiff
path: root/src/preamble.js
AgeCommit message (Collapse)Author
2013-09-13refactor memory initializer code to use run dependenciesfailureAlon Zakai
2013-09-13clear dependenciesFulfilled after useAlon Zakai
2013-09-13refactor code to handle when run dependencies reach 0Alon Zakai
2013-09-13remove unneeded varAlon Zakai
2013-09-10Add support for marshalling UTF-16 strings to/from JS. Allows passing ↵Jukka Jylänki
wchar_t strings to JS when building with -fshort-wchar. Closes #1565.
2013-09-10Fix UTF-16 surrogate detection.Jukka Jylänki
2013-09-10Fix UTF32 <-> JS string conversion for non-BMP characters. Turns out JS ↵Jukka Jylänki
string functions .length, .charCodeAt and .fromCharCode do not operate on Unicode code points, but UTF-16-encoded Unicode code units.
2013-09-10Rename utf32<->jsstring marshalling functions to UTF32ToString and ↵Jukka Jylänki
stringToUTF32 following azakai's suggestion on naming convention.
2013-09-10Add functions for marshalling wchar_t (which is fixed 32-bit UTF32LE on ↵Jukka Jylänki
Unix) strings to and from JS, and add a test.
2013-09-06When running out of memory and growing heap size is not allowed, actually ↵Jukka Jylänki
print out what the current value of TOTAL_MEMORY was the application was built with, to help estimate how much memory might be needed.
2013-08-20todo comment on TextDecoderAlon Zakai
2013-08-11experimental toFloat32 optionAlon Zakai
2013-08-09 - always throw an exception in exitAnthony Pesch
- remove default exit status prints - added EXITSTATUS global to enable exit callbacks to determine the status
2013-08-07manually fill heap history in write targets of VFS.write|read into the heapAlon Zakai
2013-07-31added addOnPreRun and addOnPostRunAnthony Pesch
2013-07-31add some closure aliasesAlon Zakai
2013-07-30Merge pull request #1449 from inolen/postrun_fixesAlon Zakai
update test_ccall to not use a postrun hook
2013-07-30Update test_ccall to not use a postrun hookAnthony Pesch
2013-07-29 - remove code that attempts to propogate _main's exit status through ↵Anthony Pesch
returns. we can't rely on that, the status must be signaled through an event to support both sync / async applications. - consolidate exit functionality - moved exitRuntime to callMain
2013-07-26Merge pull request #1425 from inolen/module_globalAlon Zakai
eliminate default Module global
2013-07-24eliminate default Module globalAnthony Pesch
2013-07-23fix Math.imul closuringAlon Zakai
2013-07-22no need to closure-guard Math.imul definitions (only used internally anyhow, ↵Alon Zakai
and need to be consistent with later Math.imul uses
2013-07-07comment on ccall array type being 8 bitAlon Zakai
2013-07-03Merge pull request #1341 from inolen/pointer_stringify_hangAlon Zakai
assert on bad pointer in Pointer_stringify
2013-07-03run postSets in a global initializer, before all other global initializersAlon Zakai
2013-07-01assert on bad pointer in Pointer_stringifyAnthony Pesch
2013-05-30export PGOMonitorAlon Zakai
2013-05-22do not call code-running callbacks if ABORTing; fixes #1191Alon Zakai
2013-05-21show awaited run dependencies only in ASSERTIONS buildsAlon Zakai
2013-05-21Specialize Array/TypedArray in allocate() to avoid unnecessary array ↵tingyuan
constructions.
2013-05-19export imul 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-29improve safe heap loggingAlon Zakai
2013-04-19support for Runtime.addFunction in asm.jsAlon Zakai
2013-04-18setjmp support for asm.jsAlon Zakai
2013-04-09remove ATMAIN hack, use a designated runPostSets function for postSetsAlon Zakai
2013-04-09run postsets right before main, and after the memory initializer has been set upAlon Zakai
2013-04-09always load memory initializer asynchronously, to keep shell and web as ↵Alon Zakai
similar as possible
2013-04-05allow non-ta2 memory initializer loadingAlon Zakai
2013-04-05wait for Browser to show up to fetch memory initializerAlon Zakai
2013-04-05refactor preRun additionsAlon Zakai
2013-04-05use a separate memory initialization fileAlon Zakai
2013-04-05refactor runtime initializationAlon Zakai
2013-04-05initialize runtime from run() (asynchronously, if run is asynchronous)Alon Zakai
2013-03-18process in chunks in fast path in Pointer_stringifyAlon Zakai
2013-03-18check for utf and avoid the overhead if not necessary; remove UTF_STRING_SUPPORTAlon Zakai
2013-03-18make Pointer_stringify argument handling consistentAlon Zakai
2013-03-17improve error message on memory growth in asm.jsAlon Zakai
2013-03-15add option to disable utf support, and test that in asm2gAlon Zakai