aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--AUTHORS6
-rwxr-xr-xem-config24
-rwxr-xr-xemcc368
-rwxr-xr-xemld60
-rwxr-xr-xemscripten.py17
-rw-r--r--settings.py8
-rw-r--r--src/analyzer.js128
-rw-r--r--src/compiler.js4
-rw-r--r--src/experimental/stringCache.diff147
-rw-r--r--src/intertyper.js14
-rw-r--r--src/jsifier.js52
-rw-r--r--src/library.js316
-rw-r--r--src/library_browser.js343
-rw-r--r--src/library_egl.js6
-rw-r--r--src/library_gc.js167
-rw-r--r--src/library_gl.js1939
-rw-r--r--src/library_glut.js26
-rw-r--r--src/library_sdl.js745
-rw-r--r--src/modules.js5
-rw-r--r--src/parseTools.js72
-rw-r--r--src/postamble.js49
-rw-r--r--src/preamble.js76
-rw-r--r--src/runtime.js71
-rw-r--r--src/settings.js19
-rw-r--r--src/shell.html57
-rw-r--r--src/shell.js18
-rw-r--r--src/utility.js4
-rw-r--r--system/include/emscripten.h54
-rw-r--r--system/include/emscripten/emscripten.h133
-rw-r--r--system/include/features.h3
-rw-r--r--system/include/gc.h50
-rw-r--r--system/include/libc/sys/_default_fcntl.h5
-rw-r--r--system/include/libc/sys/dirent.h4
-rw-r--r--system/include/libc/sys/types.h8
-rw-r--r--system/include/net/if.h61
-rw-r--r--system/include/net/netinet/in.h5
-rw-r--r--system/include/net/netinet/tcp.h246
-rw-r--r--system/include/netdb.h55
-rw-r--r--system/include/sys/ioctl.h15
-rw-r--r--system/include/sys/socket.h14
-rw-r--r--system/include/sys/socketvar.h3
-rw-r--r--system/include/sys/statvfs.h2
-rw-r--r--system/lib/libcxx/Makefile1
-rw-r--r--tests/aniso.c210
-rw-r--r--tests/aniso.pngbin0 -> 35041 bytes
-rw-r--r--tests/bloom.ddsbin0 -> 32896 bytes
-rw-r--r--tests/browser_gc.cpp96
-rw-r--r--tests/browser_harness.html6
-rw-r--r--tests/cases/complexphi.ll4
-rw-r--r--tests/cases/dash.ll18
-rw-r--r--tests/cases/funcptr.ll27
-rw-r--r--tests/cases/funcptr.txt1
-rw-r--r--tests/cases/phientryimplicitmoar.ll28
-rw-r--r--tests/cases/phientryimplicitmoar.txt6
-rw-r--r--tests/cases/phinonexist.ll25
-rw-r--r--tests/cases/subnums.ll18
-rw-r--r--tests/cases/subnums.txt1
-rw-r--r--tests/cube2md5.cpp28
-rw-r--r--tests/cube2md5.ok264
-rw-r--r--tests/cube2md5.txt37
-rw-r--r--tests/cube_explosion.c235
-rw-r--r--tests/cubegeom.c295
-rw-r--r--tests/cubegeom_color.c295
-rw-r--r--tests/cubegeom_color2.c299
-rw-r--r--tests/cubegeom_fog.c307
-rw-r--r--tests/cubegeom_mt.c300
-rw-r--r--tests/cubegeom_normal.c295
-rw-r--r--tests/cubegeom_normal_dap.c291
-rw-r--r--tests/cubegeom_normal_dap_far.c289
-rw-r--r--tests/cubegeom_normal_dap_far_glda.c280
-rw-r--r--tests/cubegeom_normal_dap_far_glda_quad.c280
-rw-r--r--tests/cubegeom_normal_dap_far_range.c289
-rw-r--r--tests/cubegeom_pre.c307
-rw-r--r--tests/cubegeom_pre2.c348
-rw-r--r--tests/cubegeom_pre3.c348
-rw-r--r--tests/cubegeom_texturematrix.c312
-rw-r--r--tests/emscripten_api_browser.cpp68
-rw-r--r--tests/emscripten_fs_api_browser.cpp69
-rw-r--r--tests/fcntl/src.c2
-rw-r--r--tests/float_tex.cpp136
-rw-r--r--tests/float_tex.pngbin0 -> 19944 bytes
-rw-r--r--tests/gl_matrix_identity.c129
-rw-r--r--tests/gl_ps.c230
-rw-r--r--tests/gl_ps.pngbin0 -> 203535 bytes
-rw-r--r--tests/glshaderinfo.cpp52
-rw-r--r--tests/hello_world_gles.c63
-rw-r--r--tests/msvc10/README.txt5
-rw-r--r--tests/msvc10/dlmalloc_test.vcxproj89
-rw-r--r--tests/msvc10/emscripten_api_browser.vcxproj89
-rw-r--r--tests/msvc10/fannkuch.vcxproj89
-rw-r--r--tests/msvc10/fasta.vcxproj89
-rw-r--r--tests/msvc10/files.vcxproj89
-rw-r--r--tests/msvc10/glbook_10_MultiTexture.vcxproj110
-rw-r--r--tests/msvc10/glbook_11_Multisample.vcxproj106
-rw-r--r--tests/msvc10/glbook_11_Stencil_Test.vcxproj106
-rw-r--r--tests/msvc10/glbook_13_ParticleSystem.vcxproj109
-rw-r--r--tests/msvc10/glbook_15_Hello_Triangle_KD.vcxproj106
-rw-r--r--tests/msvc10/glbook_2_Hello_Triangle.vcxproj106
-rw-r--r--tests/msvc10/glbook_8_Simple_VertexShader.vcxproj106
-rw-r--r--tests/msvc10/glbook_9_MipMap2D.vcxproj106
-rw-r--r--tests/msvc10/glbook_9_Simple_Texture2D.vcxproj106
-rw-r--r--tests/msvc10/glbook_9_Simple_TextureCubemap.vcxproj106
-rw-r--r--tests/msvc10/glbook_9_TextureWrap.vcxproj106
-rw-r--r--tests/msvc10/hashtest.vcxproj89
-rw-r--r--tests/msvc10/hello_libcxx.vcxproj89
-rw-r--r--tests/msvc10/hello_malloc.vcxproj89
-rw-r--r--tests/msvc10/hello_world_c.vcxproj89
-rw-r--r--tests/msvc10/hello_world_cpp.vcxproj89
-rw-r--r--tests/msvc10/hello_world_file.vcxproj89
-rw-r--r--tests/msvc10/hello_world_gles.vcxproj89
-rw-r--r--tests/msvc10/hello_world_loop.vcxproj89
-rw-r--r--tests/msvc10/hello_world_loop_malloc.vcxproj89
-rw-r--r--tests/msvc10/hello_world_sdl.vcxproj89
-rw-r--r--tests/msvc10/new.vcxproj89
-rw-r--r--tests/msvc10/raytrace.vcxproj89
-rw-r--r--tests/msvc10/sdl_audio.vcxproj89
-rw-r--r--tests/msvc10/sdl_canvas.vcxproj89
-rw-r--r--tests/msvc10/sdl_gl_read.vcxproj89
-rw-r--r--tests/msvc10/sdl_image.vcxproj89
-rw-r--r--tests/msvc10/sdl_key.vcxproj89
-rw-r--r--tests/msvc10/sdl_mouse.vcxproj89
-rw-r--r--tests/msvc10/sdl_ogl.vcxproj89
-rw-r--r--tests/msvc10/skinning_test_no_simd.vcxproj89
-rw-r--r--tests/msvc10/tests_msvc10.sln286
-rw-r--r--tests/msvc10/tests_msvc10.vcxproj67
-rw-r--r--tests/msvc10/twopart.vcxproj90
-rw-r--r--tests/pre_run_deps.cpp10