aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--AUTHORS11
-rwxr-xr-xem++4
-rwxr-xr-xem-config24
-rwxr-xr-xemar4
-rwxr-xr-xemcc344
-rwxr-xr-xemld60
-rwxr-xr-xemscripten.py17
-rw-r--r--settings.py8
-rw-r--r--src/analyzer.js128
-rw-r--r--src/compiler.js11
-rw-r--r--src/experimental/stringCache.diff147
-rw-r--r--src/gl-matrix.js1952
-rw-r--r--src/intertyper.js45
-rw-r--r--src/jsifier.js93
-rw-r--r--src/library.js393
-rw-r--r--src/library_browser.js346
-rw-r--r--src/library_egl.js26
-rw-r--r--src/library_gc.js167
-rw-r--r--src/library_gl.js2588
-rw-r--r--src/library_glut.js438
-rw-r--r--src/library_sdl.js1209
-rw-r--r--src/library_xlib.js24
-rw-r--r--src/long.js1633
-rw-r--r--src/modules.js5
-rw-r--r--src/parseTools.js158
-rw-r--r--src/postamble.js56
-rw-r--r--src/preamble.js101
-rw-r--r--src/runtime.js78
-rw-r--r--src/settings.js25
-rw-r--r--src/shell.html72
-rw-r--r--src/shell.js47
-rw-r--r--src/utility.js22
-rw-r--r--system/include/SDL/SDL_keycode.h4
-rw-r--r--system/include/X11/X.h717
-rw-r--r--system/include/X11/Xatom.h79
-rw-r--r--system/include/X11/Xfuncproto.h127
-rw-r--r--system/include/X11/Xlib.h4023
-rw-r--r--system/include/X11/Xosdefs.h116
-rw-r--r--system/include/X11/Xutil.h826
-rw-r--r--system/include/X11/keysym.h73
-rw-r--r--system/include/X11/keysymdef.h2389
-rw-r--r--system/include/emscripten.h45
-rw-r--r--system/include/emscripten/emscripten.h145
-rw-r--r--system/include/features.h3
-rw-r--r--system/include/gc.h50
-rw-r--r--system/include/libc/stdio.h9
-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.h11
-rw-r--r--system/include/libcxx/ios14
-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/pty.h6
-rw-r--r--system/include/sys/ioctl.h20
-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/Makefile3
-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.html29
-rw-r--r--tests/cases/aliasbitcastdollar.ll27
-rw-r--r--tests/cases/complexphi.ll4
-rw-r--r--tests/cases/dash.ll18
-rw-r--r--tests/cases/emptystruct.ll21
-rw-r--r--tests/cases/frem.ll13
-rw-r--r--tests/cases/frem.txt1
-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/quotedlabel.ll19
-rw-r--r--tests/cases/subnums.ll18
-rw-r--r--tests/cases/subnums.txt1
-rw-r--r--tests/cases/uadd_overflow.ll25
-rw-r--r--tests/cases/uadd_overflow.txt1
-rw-r--r--tests/cube2hash/Makefile14
-rw-r--r--tests/cube2hash/cube2crypto.c23
-rw-r--r--tests/cube2hash/cube2crypto.h9
-rw-r--r--tests/cube2hash/hashstring.cpp28
-rw-r--r--tests/cube2hash/readme.txt27
-rw-r--r--tests/cube2hash/tiger.c175
-rw-r--r--tests/cube2hash/tiger.h12
-rw-r--r--tests/cube2hash/util.h22
-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.cpp88
-rw-r--r--tests/emscripten_fs_api_browser.cpp69
-rw-r--r--tests/env/output.txt2
-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/freetype/main_2.c135
-rw-r--r--tests/freetype/main_3.c184
-rw-r--r--tests/freetype/ref_2.txt33
-rw-r--r--tests/freetype/ref_3.txt33
-rw-r--r--tests/freetype/ref_4.txt32
-rw-r--r--tests/gears.pngbin0 -> 7832 bytes
-rw-r--r--tests/gl/LICENSE.TXT11
-rw-r--r--tests/gl/sdl_ogl.c202
-rw-r--r--tests/gl/tutorial2.frag11
-rw-r--r--tests/gl/tutorial2.vert19
-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/glbook/CH02_HelloTriangle.pngbin0 -> 1009 bytes
-rw-r--r--tests/glbook/CH08_SimpleVertexShader.pngbin0 -> 1600 bytes
-rw-r--r--tests/glbook/CH09_SimpleTexture2D.pngb