Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: emscripten-core/emscripten
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.5.3
Choose a base ref
...
head repository: emscripten-core/emscripten
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.5.4
Choose a head ref
Loading
Showing with 18,133 additions and 4,504 deletions.
  1. +9 −0 AUTHORS
  2. +26 −0 LICENSE
  3. +106 −53 emcc
  4. +30 −0 emlink.py
  5. +65 −37 emscripten.py
  6. +11 −6 scons-tools/emscripten.py
  7. +4 −3 scons-tools/llvm.py
  8. +32 −13 src/analyzer.js
  9. +2 −0 src/compiler.js
  10. +13 −13 src/embind/embind.js
  11. +8 −7 src/embind/emval.js
  12. +11 −1 src/intertyper.js
  13. +79 −34 src/jsifier.js
  14. +2,985 −1,345 src/library.js
  15. +32 −24 src/library_browser.js
  16. +7 −2 src/library_egl.js
  17. +115 −84 src/library_gl.js
  18. +1 −1 src/library_glut.js
  19. +1 −1 src/library_jansson.js
  20. +464 −132 src/library_openal.js
  21. +134 −0 src/library_path.js
  22. +417 −89 src/library_sdl.js
  23. +35 −9 src/modules.js
  24. +33 −16 src/parseTools.js
  25. +60 −34 src/postamble.js
  26. +71 −24 src/preamble.js
  27. +1 −1 src/relooper/Relooper.cpp
  28. +16 −6 src/runtime.js
  29. +879 −823 src/settings.js
  30. +1 −1 src/shell.html
  31. +66 −52 src/shell.js
  32. +15 −1 src/utility.js
  33. +2 −1 system/include/SDL/SDL_keycode.h
  34. +1 −1 system/include/bsd/sys/mman.h
  35. +28 −28 system/include/emscripten/bind.h
  36. +1 −1 system/include/libc/grp.h
  37. +8 −0 system/include/libc/math.h
  38. +1 −0 system/include/libc/sys/dirent.h
  39. +4 −1 system/include/libc/sys/signal.h
  40. +41 −4 system/include/libc/sys/stat.h
  41. +4 −0 system/include/libc/sys/types.h
  42. +3 −0 system/include/libc/time.h
  43. +20 −1 system/include/net/if.h
  44. +160 −8 system/include/net/netinet/in.h
  45. +36 −0 system/include/netdb.h
  46. +55 −3 system/include/sys/ioctl.h
  47. +2 −0 system/include/sys/select.h
  48. +16 −0 system/include/sys/sendfile.h
  49. +181 −35 system/include/sys/socket.h
  50. +10 −12 system/lib/dlmalloc.c
  51. +19 −0 system/lib/libc/musl/src/stdlib/ecvt.c
  52. +25 −0 system/lib/libc/musl/src/stdlib/fcvt.c
  53. +8 −0 system/lib/libc/musl/src/stdlib/gcvt.c
  54. +3 −0 system/lib/libcextra.symbols
  55. +36 −0 tests/cases/entry3.ll
  56. +2 −0 tests/cases/entry3.txt
  57. +23 −0 tests/cases/i24_mem_ta2.ll
  58. +2 −0 tests/cases/i24_mem_ta2.txt
  59. +23 −0 tests/cases/sillyfuncast.ll
  60. +21 −0 tests/cases/sillyfuncast2.ll
  61. +36 −0 tests/cases/structphiparam.ll
  62. +1 −0 tests/cases/structphiparam.txt
  63. +23 −0 tests/cases/zeroembedded.ll
  64. +1 −0 tests/cases/zeroembedded.txt
  65. +22 −0 tests/cases/zeroextarg.ll
  66. +0 −16 tests/cube_explosion.c
  67. BIN tests/cube_explosion.png
  68. +1 −17 tests/cubegeom.c
  69. BIN tests/cubegeom.png
  70. BIN tests/cubegeom_color.png
  71. +0 −16 tests/cubegeom_color2.c
  72. BIN tests/cubegeom_color2.png
  73. +0 −16 tests/cubegeom_fog.c
  74. BIN tests/cubegeom_fog.png
  75. +1 −16 tests/cubegeom_glew.c
  76. +0 −16 tests/cubegeom_mt.c
  77. BIN tests/cubegeom_mt.png
  78. +0 −16 tests/cubegeom_normal.c
  79. BIN tests/cubegeom_normal.png
  80. +1 −16 tests/cubegeom_normal_dap.c
  81. +0 −16 tests/cubegeom_normal_dap_far.c
  82. +0 −16 tests/cubegeom_normal_dap_far_glda.c
  83. BIN tests/cubegeom_normal_dap_far_glda.png
  84. +0 −16 tests/cubegeom_normal_dap_far_glda_quad.c
  85. BIN tests/cubegeom_normal_dap_far_glda_quad.png
  86. +0 −16 tests/cubegeom_normal_dap_far_range.c
  87. BIN tests/cubegeom_normal_dap_far_range.png
  88. +1 −16 tests/cubegeom_pre.c
  89. BIN tests/cubegeom_pre.png
  90. +0 −16 tests/cubegeom_pre2.c
  91. BIN tests/cubegeom_pre2.png
  92. +0 −16 tests/cubegeom_pre2_vao.c
  93. +0 −16 tests/cubegeom_pre2_vao2.c
  94. BIN tests/cubegeom_pre2_vao2.png
  95. +0 −16 tests/cubegeom_pre3.c
  96. +0 −16 tests/cubegeom_pre_vao.c
  97. BIN tests/cubegeom_pre_vao.png
  98. +0 −16 tests/cubegeom_texturematrix.c
  99. BIN tests/cubegeom_texturematrix.png
  100. +133 −0 tests/dirent/test_readdir.c
  101. +13 −6 tests/embind/embind.test.js
  102. +16 −8 tests/embind/embind_test.cpp
  103. +1 −5 tests/embind/shell.html
  104. +1 −1 tests/fcntl-misc/src.c
  105. +5 −5 tests/fcntl-open/output.txt
  106. +51 −12 tests/fcntl-open/src.c
  107. +14 −14 tests/filesystem/output.txt
  108. +1 −0 tests/filesystem/src.js
  109. +27 −27 tests/fuzz/creduce_tester.py
  110. +18 −12 tests/fuzz/csmith_driver.py
  111. BIN tests/glbook/CH02_HelloTriangle.png
  112. BIN tests/glbook/CH08_SimpleVertexShader.png
  113. BIN tests/glbook/CH09_SimpleTexture2D.png
  114. BIN tests/glbook/CH09_TextureCubemap.png
  115. BIN tests/glbook/CH09_TextureWrap.png
  116. BIN tests/glbook/CH10_MultiTexture.png
  117. BIN tests/glbook/CH13_ParticleSystem.png
  118. +93 −0 tests/glgetattachedshaders.c
  119. +1 −2 tests/hello_world_gles_shell.html
  120. BIN tests/htmltest.png
  121. +187 −0 tests/openal_buffers.c
  122. +43 −0 tests/qsort/benchmark.cpp
  123. +1,334 −436 tests/runner.py
  124. +27 −2 tests/sdl_audio.c
  125. +46 −0 tests/sdl_gfx_primitives.c
  126. BIN tests/sdl_gfx_primitives.png
  127. +6 −2 tests/sdl_image.c
  128. BIN tests/sdl_maprgba.png
  129. +16 −5 tests/sdl_rotozoom.c
  130. BIN tests/sdl_rotozoom.png
  131. +16 −12 tests/{sdl_image_jpeg.c → sdl_stb_image.c}
  132. +55 −0 tests/sdl_stb_image_data.c
  133. +28 −0 tests/sdl_surface_refcount.c
  134. BIN tests/sounds/the_entertainer.wav
  135. +0 −202 tests/stat/output.txt
  136. +0 −242 tests/stat/src.c
  137. +130 −0 tests/stat/test_chmod.c
  138. +92 −0 tests/stat/test_mknod.c
  139. +165 −0 tests/stat/test_stat.c
  140. +90 −0 tests/stdio/test_fgetc_ungetc.c
  141. +107 −0 tests/stdio/test_rename.c
  142. +19 −19 tests/unistd/isatty.c
  143. +0 −5 tests/unistd/isatty.js
  144. +0 −10 tests/unistd/isatty.out
  145. +34 −42 tests/unistd/ttyname.c
  146. +0 −1 tests/unistd/ttyname.js
  147. +0 −5 tests/unistd/ttyname.out
  148. +134 −30 tests/unistd/unlink.c
  149. +0 −7 tests/unistd/unlink.js
  150. +0 −42 tests/unistd/unlink.out
  151. +54 −0 tests/utime/test_utime.c
  152. +4,673 −0 third_party/stb_image.c
  153. +273 −0 tools/asm_module.py
  154. +1 −1 tools/autodebugger_js.py
  155. +0 −3 tools/eliminator/eliminator-test-output.js
  156. +2 −2 tools/exec_llvm.py
  157. +36 −16 tools/file_packager.py
  158. +9 −9 tools/find_bigfuncs.py
  159. +939 −34 tools/js-optimizer.js
  160. +40 −26 tools/js_optimizer.py
  161. +26 −0 tools/merge_asm.py
  162. +2 −2 tools/nativize_llvm.py
  163. +1 −1 tools/settings_template_readonly.py
  164. +117 −31 tools/shared.py
  165. +30 −0 tools/split_asm.py
  166. +29 −0 tools/test-js-optimizer-asm-last-output.js
  167. +35 −0 tools/test-js-optimizer-asm-last.js
  168. +686 −0 tools/test-js-optimizer-asm-outline1-output.js
  169. +263 −0 tools/test-js-optimizer-asm-outline1.js
  170. +747 −0 tools/test-js-optimizer-asm-outline2-output.js
  171. +606 −0 tools/test-js-optimizer-asm-outline2.js
  172. +28 −0 tools/test-js-optimizer-asm-outline3-output.js
  173. +30 −0 tools/test-js-optimizer-asm-outline3.js
  174. +21 −4 tools/test-js-optimizer-asm-pre-output.js
  175. +22 −0 tools/test-js-optimizer-asm-pre.js
  176. +4 −4 tools/test-js-optimizer-asm-relocate-output.js
  177. +5 −5 tools/test-js-optimizer-asm-relocate.js
9 changes: 9 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -85,3 +85,12 @@ a license to everyone to use it as detailed in LICENSE.)
* Ludovic Perrine <jazzzz@gmail.com>
* David Barksdale <david.barksdale@adcedosolutions.com>
* Manfred Manik Nerurkar <nerurkar*at*made-apps.biz> (copyright owned by MADE, GmbH)
* Joseph Gentle <me@josephg.com>
* Douglas T. Crosher <dtc-moz@scieneer.com> (copyright owned by Mozilla Founcation)
* Soeren Balko <soeren.balko@gmail.com>
* Ryan Kelly (ryan@rfk.id.au)
* Michael Lelli <toadking@toadking.com>
* Yu Kobayashi <yukoba@accelart.jp>
* Pin Zhang <zhangpin04@gmail.com>
* Nick Bray <ncbray@chromium.org> (copyright owned by Google, Inc.)

26 changes: 26 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -66,3 +66,29 @@ IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR
ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE.

==============================================================================

This program uses portions of Node.js source code located in src/library_path.js,
in accordance with the terms of the MIT license. Node's license follows:

"""
Copyright Joyent, Inc. and other Node contributors. All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN THE SOFTWARE.
"""
Loading