aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--AUTHORS14
-rw-r--r--CONTRIBUTING.md (renamed from CONTRIBUTING.markdown)3
-rw-r--r--ChangeLog326
-rw-r--r--LICENSE6
-rw-r--r--README.markdown14
-rw-r--r--README.md26
-rw-r--r--cmake/Platform/Emscripten.cmake7
-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-xemcc335
-rwxr-xr-xemcmake8
-rw-r--r--emcmake.bat2
-rw-r--r--emscripten-version.txt2
-rwxr-xr-xemscripten.py56
-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/deps_info.json3
-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.js16
-rw-r--r--src/library.js446
-rw-r--r--src/library_browser.js231
-rw-r--r--src/library_egl.js6
-rw-r--r--src/library_fs.js151
-rw-r--r--src/library_gc.js2
-rw-r--r--src/library_gl.js7
-rw-r--r--src/library_glfw.js237
-rw-r--r--src/library_glut.js5
-rw-r--r--src/library_html5.js79
-rw-r--r--src/library_openal.js36
-rw-r--r--src/library_sdl.js445
-rw-r--r--src/library_sockfs.js38
-rw-r--r--src/modules.js1
-rw-r--r--src/parseTools.js10
-rw-r--r--src/postamble.js16
-rw-r--r--src/preamble.js23
-rw-r--r--src/relooper/README.markdown14
-rw-r--r--src/relooper/README.md12
-rw-r--r--src/relooper/Relooper.cpp169
-rw-r--r--src/relooper/Relooper.h22
-rw-r--r--src/relooper/test.cpp123
-rw-r--r--src/relooper/test.txt65
-rw-r--r--src/runtime.js27
-rw-r--r--src/settings.js34
-rw-r--r--src/shell.html1664
-rw-r--r--src/shell.js6
-rw-r--r--src/shell_minimal.html11
-rw-r--r--src/struct_info.json29
-rw-r--r--system/include/EGL/eglplatform.h2
-rw-r--r--system/include/SDL/COPYING5
-rw-r--r--system/include/SDL/SDL_config_minimal.h2
-rw-r--r--system/include/SDL/SDL_events.h70
-rw-r--r--system/include/SDL/SDL_stdinc.h2
-rw-r--r--system/include/SDL/SDL_touch.h92
-rw-r--r--system/include/emscripten/bind.h37
-rw-r--r--system/include/emscripten/emscripten.h99
-rw-r--r--system/include/emscripten/html5.h25
-rw-r--r--system/include/emscripten/val.h200
-rw-r--r--system/include/emscripten/wire.h66
-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.cpp79
-rw-r--r--system/lib/libc.symbols2
-rw-r--r--system/lib/libc/musl/arch/js/atomic.h103
-rw-r--r--system/lib/libc/musl/src/stdlib/atoi.c16
-rw-r--r--system/lib/libc/musl/src/stdlib/atol.c17
-rw-r--r--system/lib/libc/musl/src/stdlib/atoll.c17
-rw-r--r--system/lib/libc/musl/src/stdlib/bsearch.c20
-rw-r--r--system/lib/libc/musl/src/stdlib/qsort.c215
-rw-r--r--system/lib/libc/musl/src/string/bcmp.c7
-rw-r--r--system/lib/libc/musl/src/string/bcopy.c7
-rw-r--r--system/lib/libc/musl/src/string/bzero.c7
-rw-r--r--system/lib/libc/musl/src/string/index.c7
-rw-r--r--system/lib/libc/musl/src/string/memchr.c24
-rw-r--r--system/lib/libc/musl/src/string/rindex.c7
-rw-r--r--system/lib/libc/musl/src/string/stpcpy.c29
-rw-r--r--system/lib/libc/musl/src/string/strchr.c9
-rw-r--r--system/lib/libc/musl/src/string/strcspn.c19
-rw-r--r--system/lib/libc/musl/src/string/strdup.c13
-rw-r--r--system/lib/libc/musl/src/string/strncat.c10
-rw-r--r--system/lib/libc/musl/src/string/strndup.c12
-rw-r--r--system/lib/libc/musl/src/string/strnlen.c7
-rw-r--r--system/lib/libc/musl/src/string/strpbrk.c7
-rw-r--r--system/lib/libc/musl/src/string/strrchr.c8
-rw-r--r--system/lib/libc/musl/src/string/strspn.c20
-rw-r--r--system/lib/libc/musl/src/string/strstr.c156
-rw-r--r--system/lib/libc/musl/src/string/strtok.c13
-rw-r--r--system/lib/libc/musl/src/string/strtok_r.c12
-rw-r--r--system/lib/libcextra.symbols22
-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.ll4
-rw-r--r--tests/cases/atomicrmw_unaligned.ll4
-rw-r--r--tests/cases/bigdouble.ll4
-rw-r--r--tests/cases/boolret_fastcomp.ll4
-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.ll4
-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--<