aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--AUTHORS13
-rw-r--r--CONTRIBUTING.md (renamed from CONTRIBUTING.markdown)3
-rw-r--r--ChangeLog241
-rw-r--r--LICENSE6
-rw-r--r--README.markdown14
-rw-r--r--README.md26
-rw-r--r--cmake/Platform/Emscripten.cmake10
-rw-r--r--docs/emscripten_powered_by_logo.svg1547
-rw-r--r--docs/emscripten_switch_logo.epsbin1114650 -> 0 bytes
-rw-r--r--docs/emscripten_switch_logo.jpgbin35951 -> 0 bytes
-rwxr-xr-xemcc343
-rw-r--r--emscripten-version.txt2
-rwxr-xr-xemscripten.py112
-rw-r--r--media/powered_by_logo.pngbin0 -> 24795 bytes
-rw-r--r--media/powered_by_logo.svg1547
-rw-r--r--media/switch_logo.pngbin0 -> 19222 bytes
-rw-r--r--media/switch_logo.svg (renamed from docs/emscripten_switch_logo.svg)0
-rw-r--r--package.json2
-rw-r--r--patches/README4
-rw-r--r--patches/series2
-rwxr-xr-xscons-tools/emscripten.py56
-rw-r--r--src/closure-externs.js60
-rw-r--r--src/embind/embind.js154
-rw-r--r--src/embind/emval.js156
-rw-r--r--src/headlessCanvas.js4
-rw-r--r--src/intertyper.js10
-rw-r--r--src/jsifier.js18
-rw-r--r--src/library.js176
-rw-r--r--src/library_browser.js206
-rw-r--r--src/library_egl.js22
-rw-r--r--src/library_fs.js145
-rw-r--r--src/library_gc.js2
-rw-r--r--src/library_gl.js118
-rw-r--r--src/library_glfw.js231
-rw-r--r--src/library_glut.js5
-rw-r--r--src/library_html5.js247
-rw-r--r--src/library_memfs.js5
-rw-r--r--src/library_openal.js36
-rw-r--r--src/library_sdl.js218
-rw-r--r--src/library_sockfs.js40
-rw-r--r--src/parseTools.js6
-rw-r--r--src/postamble.js28
-rw-r--r--src/preamble.js296
-rw-r--r--src/proxyClient.js54
-rw-r--r--src/proxyWorker.js12
-rw-r--r--src/relooper/README.markdown14
-rw-r--r--src/relooper/README.md12
-rw-r--r--src/relooper/Relooper.cpp57
-rw-r--r--src/relooper/Relooper.h8
-rw-r--r--src/relooper/test.cpp123
-rw-r--r--src/relooper/test.txt65
-rw-r--r--src/runtime.js55
-rw-r--r--src/settings.js41
-rw-r--r--src/shell.html1653
-rw-r--r--src/shell.js6
-rw-r--r--src/struct_info.json6
-rw-r--r--src/utility.js6
-rw-r--r--system/include/EGL/eglplatform.h2
-rw-r--r--system/include/SDL/SDL_config_minimal.h2
-rw-r--r--system/include/SDL/SDL_stdinc.h2
-rw-r--r--system/include/emscripten/bind.h15
-rw-r--r--system/include/emscripten/emscripten.h124
-rw-r--r--system/include/emscripten/html5.h25
-rw-r--r--system/include/emscripten/val.h200
-rw-r--r--system/include/emscripten/wire.h2
-rw-r--r--system/include/execinfo.h44
-rw-r--r--system/include/gc.h2
-rw-r--r--system/include/jansson.h2
-rw-r--r--system/include/unwind.h154
-rw-r--r--system/lib/compiler-rt/int_endianness.h2
-rw-r--r--system/lib/dlmalloc.c2
-rw-r--r--system/lib/embind/bind.cpp41
-rw-r--r--system/lib/gl.c4
-rw-r--r--tests/799.cpp2
-rw-r--r--tests/aniso.c2
-rw-r--r--tests/asmjs-unknown-emscripten.c98
-rw-r--r--tests/box2d/Benchmark.cpp8
-rw-r--r--tests/cases/2xi40.ll4
-rw-r--r--tests/cases/514_ta2.ll4
-rw-r--r--tests/cases/aliasbitcast.ll4
-rw-r--r--tests/cases/aliasbitcast2_noasm.ll2
-rw-r--r--tests/cases/aliasbitcast3_noasm.ll4
-rw-r--r--tests/cases/aliasbitcastdollar_noasm.ll2
-rw-r--r--tests/cases/aliases_fastcomp.ll41
-rw-r--r--tests/cases/aliases_fastcomp.txt5
-rw-r--r--tests/cases/atomicrmw.ll4
-rw-r--r--tests/cases/atomicrmw_dec.ll21
-rw-r--r--tests/cases/atomicrmw_dec.txt1
-rw-r--r--tests/cases/atomicrmw_unaligned.ll4
-rw-r--r--tests/cases/bigdouble.ll4
-rw-r--r--tests/cases/boolret_fastcomp.ll31
-rw-r--r--tests/cases/boolret_fastcomp.txt2
-rw-r--r--tests/cases/breakinthemiddle.ll4
-rw-r--r--tests/cases/breakinthemiddle2.ll4
-rw-r--r--tests/cases/caall.ll4
-rw-r--r--tests/cases/callwithstructural64_ta2.ll4
-rw-r--r--tests/cases/callwithstructural_ta2.ll4
-rw-r--r--tests/cases/complexphi.ll4
-rw-r--r--tests/cases/ctors_cast.ll4
-rw-r--r--tests/cases/dash.ll4
-rw-r--r--tests/cases/dollar.ll22
-rw-r--r--tests/cases/emptyalloca.ll4
-rw-r--r--tests/cases/emptyasm_aue.ll (renamed from tests/cases/emptyasm_le32.ll)4
-rw-r--r--tests/cases/emptystruct.ll2
-rw-r--r--tests/cases/entry3.ll4
-rw-r--r--tests/cases/fixablebadcasts_fastcomp.ll27
-rw-r--r--tests/cases/fixablebadcasts_fastcomp.txt1
-rw-r--r--tests/cases/fptosi.ll4
-rw-r--r--tests/cases/funcptr.ll4
-rw-r--r--tests/cases/fuzz6_ta2.ll4
-rw-r--r--tests/cases/gepaddoverflow.ll4
-rw-r--r--tests/cases/i24_ce_fastcomp.ll11393
-rw-r--r--tests/cases/i24_ce_fastcomp.txt1
-rw-r--r--tests/cases/i24_mem_ta2.ll4
-rw-r--r--tests/cases/i96_ashr_ta2.ll4
-rw-r--r--tests/cases/i96shiftnon32_ta2.ll4
-rw-r--r--tests/cases/icmp64.ll32
-rw-r--r--tests/cases/icmp64.txt4
-rw-r--r--tests/cases/inttoptr.ll4
-rw-r--r--tests/cases/invokebitcast.ll13
-rw-r--r--tests/cases/invokeundef.ll4
-rw-r--r--tests/cases/legalizer_b_ta2.ll6
-rw-r--r--tests/cases/legalizer_ta2.ll4
-rw-r--r--tests/cases/loadbitcastgep.ll4
-rw-r--r--tests/cases/muli33_ta2.ll4
-rw-r--r--tests/cases/oob_ta2.ll4
-rw-r--r--tests/cases/phi24_ta2.ll4
-rw-r--r--tests/cases/phicubed.ll4