webruby 0.2.2 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (245) hide show
  1. checksums.yaml +4 -4
  2. data/lib/webruby/config.rb +4 -9
  3. data/lib/webruby/rake/files.rake +2 -2
  4. data/modules/emscripten/AUTHORS +9 -1
  5. data/modules/emscripten/CONTRIBUTING.markdown +5 -0
  6. data/modules/emscripten/ChangeLog +435 -0
  7. data/modules/emscripten/cmake/Modules/FindOpenAL.cmake +26 -0
  8. data/modules/emscripten/cmake/Platform/Emscripten.cmake +9 -2
  9. data/modules/emscripten/em++ +0 -2
  10. data/modules/emscripten/emcc +92 -32
  11. data/modules/emscripten/emlink.py +16 -13
  12. data/modules/emscripten/emmake +1 -1
  13. data/modules/emscripten/emrun +918 -0
  14. data/modules/emscripten/emrun.bat +2 -0
  15. data/modules/emscripten/emscripten.py +545 -20
  16. data/modules/emscripten/src/analyzer.js +6 -1
  17. data/modules/emscripten/src/compiler.js +25 -16
  18. data/modules/emscripten/src/emrun_postjs.js +20 -0
  19. data/modules/emscripten/{tests → src}/hello_world.js +0 -0
  20. data/modules/emscripten/src/intertyper.js +45 -16
  21. data/modules/emscripten/src/jsifier.js +78 -48
  22. data/modules/emscripten/src/library.js +381 -96
  23. data/modules/emscripten/src/library_browser.js +50 -53
  24. data/modules/emscripten/src/library_egl.js +66 -24
  25. data/modules/emscripten/src/library_fs.js +122 -90
  26. data/modules/emscripten/src/library_gl.js +739 -353
  27. data/modules/emscripten/src/library_glfw.js +9 -3
  28. data/modules/emscripten/src/library_glut.js +10 -5
  29. data/modules/emscripten/src/library_idbfs.js +14 -14
  30. data/modules/emscripten/src/library_memfs.js +65 -41
  31. data/modules/emscripten/src/library_nodefs.js +61 -9
  32. data/modules/emscripten/src/library_openal.js +4 -4
  33. data/modules/emscripten/src/library_path.js +9 -13
  34. data/modules/emscripten/src/library_sdl.js +301 -64
  35. data/modules/emscripten/src/library_sockfs.js +7 -5
  36. data/modules/emscripten/src/modules.js +62 -22
  37. data/modules/emscripten/src/parseTools.js +135 -102
  38. data/modules/emscripten/src/postamble.js +3 -4
  39. data/modules/emscripten/src/preamble.js +49 -29
  40. data/modules/emscripten/src/proxyClient.js +1 -1
  41. data/modules/emscripten/src/proxyWorker.js +10 -10
  42. data/modules/emscripten/src/relooper/Relooper.cpp +15 -4
  43. data/modules/emscripten/src/runtime.js +32 -8
  44. data/modules/emscripten/src/settings.js +25 -8
  45. data/modules/emscripten/src/shell.html +6 -3
  46. data/modules/emscripten/src/shell.js +13 -11
  47. data/modules/emscripten/src/simd.js +602 -432
  48. data/modules/emscripten/src/struct_info.json +22 -2
  49. data/modules/emscripten/src/utility.js +32 -17
  50. data/modules/emscripten/system/include/SDL/SDL_events.h +1 -0
  51. data/modules/emscripten/system/include/compat/ctype.h +17 -0
  52. data/modules/emscripten/system/include/compat/wchar.h +23 -0
  53. data/modules/emscripten/system/include/compat/wctype.h +23 -0
  54. data/modules/emscripten/system/include/emscripten/emmintrin.h +87 -0
  55. data/modules/emscripten/system/include/emscripten/emscripten.h +30 -4
  56. data/modules/emscripten/system/include/emscripten/vector.h +29 -1
  57. data/modules/emscripten/system/include/emscripten/xmmintrin.h +131 -0
  58. data/modules/emscripten/system/include/libcxx/CREDITS.TXT +9 -1
  59. data/modules/emscripten/system/include/libcxx/__bit_reference +8 -8
  60. data/modules/emscripten/system/include/libcxx/__config +95 -17
  61. data/modules/emscripten/system/include/libcxx/__debug +25 -4
  62. data/modules/emscripten/system/include/libcxx/__functional_03 +7 -7
  63. data/modules/emscripten/system/include/libcxx/__functional_base +169 -9
  64. data/modules/emscripten/system/include/libcxx/__functional_base_03 +1 -1
  65. data/modules/emscripten/system/include/libcxx/__hash_table +25 -25
  66. data/modules/emscripten/system/include/libcxx/__locale +21 -19
  67. data/modules/emscripten/system/include/libcxx/__mutex_base +2 -33
  68. data/modules/emscripten/system/include/libcxx/__split_buffer +9 -9
  69. data/modules/emscripten/system/include/libcxx/__std_stream +14 -0
  70. data/modules/emscripten/system/include/libcxx/__tree +35 -26
  71. data/modules/emscripten/system/include/libcxx/__tuple +15 -15
  72. data/modules/emscripten/system/include/libcxx/__tuple_03 +2 -2
  73. data/modules/emscripten/system/include/libcxx/__undef_min_max +8 -0
  74. data/modules/emscripten/system/include/libcxx/algorithm +121 -110
  75. data/modules/emscripten/system/include/libcxx/array +15 -15
  76. data/modules/emscripten/system/include/libcxx/bitset +4 -4
  77. data/modules/emscripten/system/include/libcxx/chrono +51 -17
  78. data/modules/emscripten/system/include/libcxx/cmath +25 -23
  79. data/modules/emscripten/system/include/libcxx/codecvt +21 -18
  80. data/modules/emscripten/system/include/libcxx/complex +48 -7
  81. data/modules/emscripten/system/include/libcxx/cstddef +1 -1
  82. data/modules/emscripten/system/include/libcxx/cstdio +8 -1
  83. data/modules/emscripten/system/include/libcxx/cstdlib +1 -1
  84. data/modules/emscripten/system/include/libcxx/cwchar +1 -1
  85. data/modules/emscripten/system/include/libcxx/deque +26 -12
  86. data/modules/emscripten/system/include/libcxx/dynarray +311 -0
  87. data/modules/emscripten/system/include/libcxx/exception +4 -4
  88. data/modules/emscripten/system/include/libcxx/ext/__hash +3 -3
  89. data/modules/emscripten/system/include/libcxx/ext/hash_map +19 -15
  90. data/modules/emscripten/system/include/libcxx/ext/hash_set +7 -3
  91. data/modules/emscripten/system/include/libcxx/forward_list +33 -7
  92. data/modules/emscripten/system/include/libcxx/fstream +4 -4
  93. data/modules/emscripten/system/include/libcxx/functional +200 -170
  94. data/modules/emscripten/system/include/libcxx/future +83 -39
  95. data/modules/emscripten/system/include/libcxx/initializer_list +24 -11
  96. data/modules/emscripten/system/include/libcxx/iomanip +147 -0
  97. data/modules/emscripten/system/include/libcxx/ios +24 -16
  98. data/modules/emscripten/system/include/libcxx/iosfwd +19 -19
  99. data/modules/emscripten/system/include/libcxx/istream +13 -8
  100. data/modules/emscripten/system/include/libcxx/iterator +108 -417
  101. data/modules/emscripten/system/include/libcxx/limits +8 -4
  102. data/modules/emscripten/system/include/libcxx/list +28 -8
  103. data/modules/emscripten/system/include/libcxx/locale +153 -390
  104. data/modules/emscripten/system/include/libcxx/map +280 -100
  105. data/modules/emscripten/system/include/libcxx/memory +49 -97
  106. data/modules/emscripten/system/include/libcxx/mutex +2 -2
  107. data/modules/emscripten/system/include/libcxx/new +43 -14
  108. data/modules/emscripten/system/include/libcxx/numeric +2 -2
  109. data/modules/emscripten/system/include/libcxx/optional +697 -0
  110. data/modules/emscripten/system/include/libcxx/ostream +17 -8
  111. data/modules/emscripten/system/include/libcxx/queue +5 -5
  112. data/modules/emscripten/system/include/libcxx/random +53 -51
  113. data/modules/emscripten/system/include/libcxx/ratio +11 -11
  114. data/modules/emscripten/system/include/libcxx/readme.txt +1 -1
  115. data/modules/emscripten/system/include/libcxx/regex +23 -20
  116. data/modules/emscripten/system/include/libcxx/scoped_allocator +1 -1
  117. data/modules/emscripten/system/include/libcxx/set +166 -2
  118. data/modules/emscripten/system/include/libcxx/shared_mutex +419 -0
  119. data/modules/emscripten/system/include/libcxx/sstream +4 -4
  120. data/modules/emscripten/system/include/libcxx/stack +3 -3
  121. data/modules/emscripten/system/include/libcxx/streambuf +5 -5
  122. data/modules/emscripten/system/include/libcxx/string +372 -324
  123. data/modules/emscripten/system/include/libcxx/support/ibm/limits.h +99 -0
  124. data/modules/emscripten/system/include/libcxx/support/ibm/support.h +54 -0
  125. data/modules/emscripten/system/include/libcxx/support/ibm/xlocale.h +326 -0
  126. data/modules/emscripten/system/include/libcxx/support/win32/limits_win32.h +6 -6
  127. data/modules/emscripten/system/include/libcxx/support/win32/locale_win32.h +15 -15
  128. data/modules/emscripten/system/include/libcxx/support/win32/math_win32.h +2 -0
  129. data/modules/emscripten/system/include/libcxx/support/win32/support.h +6 -1
  130. data/modules/emscripten/system/include/libcxx/system_error +14 -8
  131. data/modules/emscripten/system/include/libcxx/thread +7 -8
  132. data/modules/emscripten/system/include/libcxx/tuple +29 -88
  133. data/modules/emscripten/system/include/libcxx/type_traits +253 -209
  134. data/modules/emscripten/system/include/libcxx/typeindex +3 -3
  135. data/modules/emscripten/system/include/libcxx/unordered_map +162 -101
  136. data/modules/emscripten/system/include/libcxx/unordered_set +79 -2
  137. data/modules/emscripten/system/include/libcxx/utility +20 -20
  138. data/modules/emscripten/system/include/libcxx/valarray +23 -23
  139. data/modules/emscripten/system/include/libcxx/vector +114 -91
  140. data/modules/emscripten/system/lib/libc/musl/src/regex/regcomp.c +3352 -0
  141. data/modules/emscripten/system/lib/libc/musl/src/regex/regerror.c +35 -0
  142. data/modules/emscripten/system/lib/libc/musl/src/regex/regexec.c +1011 -0
  143. data/modules/emscripten/system/lib/libc/musl/src/regex/tre-mem.c +158 -0
  144. data/modules/emscripten/system/lib/libc/musl/src/regex/tre.h +231 -0
  145. data/modules/emscripten/system/lib/libcextra.symbols +7 -0
  146. data/modules/emscripten/system/lib/libcxx/CREDITS.TXT +9 -1
  147. data/modules/emscripten/system/lib/libcxx/algorithm.cpp +1 -0
  148. data/modules/emscripten/system/lib/libcxx/debug.cpp +66 -42
  149. data/modules/emscripten/system/lib/libcxx/exception.cpp +88 -16
  150. data/modules/emscripten/system/lib/libcxx/future.cpp +6 -0
  151. data/modules/emscripten/system/lib/libcxx/ios.cpp +7 -2
  152. data/modules/emscripten/system/lib/libcxx/iostream.cpp +8 -8
  153. data/modules/emscripten/system/lib/libcxx/locale.cpp +38 -11
  154. data/modules/emscripten/system/lib/libcxx/mutex.cpp +3 -0
  155. data/modules/emscripten/system/lib/libcxx/new.cpp +44 -10
  156. data/modules/emscripten/system/lib/libcxx/optional.cpp +25 -0
  157. data/modules/emscripten/system/lib/libcxx/random.cpp +26 -0
  158. data/modules/emscripten/system/lib/libcxx/readme.txt +1 -1
  159. data/modules/emscripten/system/lib/libcxx/shared_mutex.cpp +101 -0
  160. data/modules/emscripten/system/lib/libcxx/stdexcept.cpp +11 -7
  161. data/modules/emscripten/system/lib/libcxx/string.cpp +3 -1
  162. data/modules/emscripten/system/lib/libcxx/strstream.cpp +7 -7
  163. data/modules/emscripten/system/lib/libcxx/support/win32/locale_win32.cpp +12 -13
  164. data/modules/emscripten/system/lib/libcxx/support/win32/support.cpp +33 -36
  165. data/modules/emscripten/system/lib/libcxx/symbols +187 -168
  166. data/modules/emscripten/system/lib/libcxx/system_error.cpp +1 -0
  167. data/modules/emscripten/system/lib/libcxx/thread.cpp +7 -3
  168. data/modules/emscripten/system/lib/libcxx/typeinfo.cpp +9 -6
  169. data/modules/emscripten/system/lib/libcxx/valarray.cpp +2 -0
  170. data/modules/emscripten/third_party/lzma.js/doit.bat +4 -0
  171. data/modules/emscripten/third_party/lzma.js/doit.sh +9 -2
  172. data/modules/emscripten/tools/cache.py +5 -7
  173. data/modules/emscripten/tools/cache.pyc +0 -0
  174. data/modules/emscripten/tools/eliminator/asm-eliminator-test-output.js +7 -0
  175. data/modules/emscripten/tools/eliminator/asm-eliminator-test.js +9 -1
  176. data/modules/emscripten/tools/eliminator/eliminator-test-output.js +3 -0
  177. data/modules/emscripten/tools/eliminator/eliminator-test.js +9 -1
  178. data/modules/emscripten/tools/file_packager.py +93 -50
  179. data/modules/emscripten/tools/js-optimizer.js +98 -48
  180. data/modules/emscripten/tools/js_optimizer.py +4 -4
  181. data/modules/emscripten/tools/js_optimizer.pyc +0 -0
  182. data/modules/emscripten/tools/jsrun.py +1 -1
  183. data/modules/emscripten/tools/jsrun.pyc +0 -0
  184. data/modules/emscripten/tools/response_file.py +6 -0
  185. data/modules/emscripten/tools/response_file.pyc +0 -0
  186. data/modules/emscripten/tools/settings_template_readonly.py +2 -0
  187. data/modules/emscripten/tools/shared.py +88 -34
  188. data/modules/emscripten/tools/shared.pyc +0 -0
  189. data/modules/emscripten/tools/split.py +21 -13
  190. data/modules/mruby/build_config.rb +7 -1
  191. data/modules/mruby/doc/compile/README.md +5 -9
  192. data/modules/mruby/include/mrbconf.h +5 -2
  193. data/modules/mruby/include/mruby/array.h +1 -0
  194. data/modules/mruby/include/mruby/compile.h +2 -4
  195. data/modules/mruby/include/mruby/dump.h +7 -16
  196. data/modules/mruby/include/mruby/hash.h +1 -1
  197. data/modules/mruby/include/mruby/irep.h +14 -2
  198. data/modules/mruby/include/mruby/khash.h +8 -7
  199. data/modules/mruby/include/mruby/string.h +1 -0
  200. data/modules/mruby/include/mruby/value.h +5 -2
  201. data/modules/mruby/include/mruby.h +12 -13
  202. data/modules/mruby/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c +16 -6
  203. data/modules/mruby/mrbgems/mruby-bin-mruby/tools/mruby/mruby.c +18 -30
  204. data/modules/mruby/mrbgems/mruby-fiber/src/fiber.c +21 -0
  205. data/modules/mruby/mrbgems/mruby-math/src/math.c +1 -1
  206. data/modules/mruby/mrbgems/mruby-random/src/random.c +144 -47
  207. data/modules/mruby/mrbgems/mruby-random/test/random.rb +44 -0
  208. data/modules/mruby/mrbgems/mruby-struct/src/struct.c +5 -5
  209. data/modules/mruby/mrblib/numeric.rb +99 -33
  210. data/modules/mruby/src/array.c +11 -4
  211. data/modules/mruby/src/backtrace.c +2 -2
  212. data/modules/mruby/src/class.c +49 -30
  213. data/modules/mruby/src/codegen.c +131 -79
  214. data/modules/mruby/src/debug.c +1 -1
  215. data/modules/mruby/src/dump.c +213 -163
  216. data/modules/mruby/src/error.c +17 -17
  217. data/modules/mruby/src/error.h +1 -1
  218. data/modules/mruby/src/etc.c +10 -0
  219. data/modules/mruby/src/gc.c +35 -17
  220. data/modules/mruby/src/hash.c +5 -5
  221. data/modules/mruby/src/kernel.c +36 -14
  222. data/modules/mruby/src/load.c +238 -296
  223. data/modules/mruby/src/numeric.c +18 -98
  224. data/modules/mruby/src/object.c +3 -5
  225. data/modules/mruby/src/parse.y +63 -56
  226. data/modules/mruby/src/proc.c +8 -5
  227. data/modules/mruby/src/re.h +0 -1
  228. data/modules/mruby/src/state.c +65 -27
  229. data/modules/mruby/src/string.c +3 -31
  230. data/modules/mruby/src/symbol.c +3 -3
  231. data/modules/mruby/src/variable.c +12 -5
  232. data/modules/mruby/src/vm.c +90 -72
  233. data/modules/mruby/tasks/mruby_build.rake +10 -1
  234. data/modules/mruby/tasks/toolchains/gcc.rake +12 -2
  235. data/modules/mruby/tasks/toolchains/{vs2012.rake → visualcpp.rake} +1 -1
  236. data/modules/mruby/test/driver.c +3 -3
  237. data/modules/mruby/test/t/array.rb +5 -5
  238. data/modules/mruby/test/t/class.rb +14 -1
  239. data/modules/mruby/test/t/kernel.rb +4 -0
  240. data/modules/mruby/test/t/module.rb +4 -4
  241. data/modules/mruby/test/t/nameerror.rb +1 -1
  242. data/modules/mruby/tools/mrbc/mrbc.c +23 -17
  243. data/modules/mruby/travis_config.rb +10 -1
  244. metadata +28 -5
  245. data/modules/mruby/tasks/toolchains/vs2010.rake +0 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a820a2ac9abf12cba9386374ef4770f5483ef9ee
4
- data.tar.gz: 528292cd94b2d6924caa37314ad6d3106f4815da
3
+ metadata.gz: aedc4071e607370d314a952a88efe13293725e20
4
+ data.tar.gz: cb178b987350f414363cbe3c2c7ed61ebb15f0d8
5
5
  SHA512:
6
- metadata.gz: 1fa9b17c31996090696a77d49293978d3a35a09a436ae367f2c85975e7769a3f520d90a547548d611f9a22fc64fee09d2ddbe5c9f40939f67cfea5a88a8696d6
7
- data.tar.gz: baff4144d8e107f68c8fcfe5ed5417a95b00628f240bef27a2feb66aa4789203d38022a804ec093e813d519a2fef583f096f5d595d7b8fbf361d2bcc46a2ba6a
6
+ metadata.gz: bb8bfa9b37a5400335a4940ea35081e66faf7a95bfe3bb486c6da157224afe455e492334a1f39a2c52b00a049c241c882b3f50c66b2e8e1f34f2585c59a781ae
7
+ data.tar.gz: b728f44d40dbbab32a0b1288871739f9e28f6991b5e0653a268603501948fd7eb89c706c892c964da01cb260b191880b39b6bf7d28342ea83222a2acf4972267
@@ -2,7 +2,7 @@ module Webruby
2
2
  class Config
3
3
  attr_accessor :entrypoint, :build_dir, :selected_gemboxes, :selected_gems,
4
4
  :compile_mode, :loading_mode, :output_name,
5
- :append_file, :source_processor
5
+ :append_file, :source_processor, :cflags, :ldflags, :static_libs
6
6
 
7
7
  def initialize
8
8
  @entrypoint = 'app/app.rb'
@@ -13,20 +13,15 @@ module Webruby
13
13
  @loading_mode = 2
14
14
  @output_name = 'webruby.js'
15
15
  @source_processor = :mrubymix
16
+ @cflags = %w(-Wall -Werror-implicit-function-declaration -Wno-warn-absolute-paths) + [optimization_flag]
17
+ @ldflags = []
18
+ @static_libs = []
16
19
  end
17
20
 
18
21
  def is_release_mode
19
22
  compile_mode == 'release'
20
23
  end
21
24
 
22
- def cflags
23
- %w(-Wall -Werror-implicit-function-declaration -Wno-warn-absolute-paths) + [optimization_flag]
24
- end
25
-
26
- def ldflags
27
- [optimization_flag]
28
- end
29
-
30
25
  def optimization_flag
31
26
  is_release_mode ? "-O2" : "-O0"
32
27
  end
@@ -38,7 +38,7 @@ file "#{Webruby.build_dir}/link.js" =>
38
38
  Webruby::App.config.loading_mode,
39
39
  [])
40
40
 
41
- sh "#{EMLD} #{Webruby.build_dir}/app.o #{Webruby.build_dir}/#{LIBMRUBY} -o #{Webruby.build_dir}/link.js #{Webruby.gem_js_flags} #{func_arg} #{Webruby::App.config.ldflags.join(' ')}"
41
+ sh "#{EMLD} #{Webruby.build_dir}/app.o #{Webruby.build_dir}/#{LIBMRUBY} #{Webruby::App.config.static_libs.join(' ')} -o #{Webruby.build_dir}/link.js #{Webruby.gem_js_flags} #{func_arg} #{Webruby::App.config.ldflags.join(' ')} #{Webruby::App.config.optimization_flag}"
42
42
  end
43
43
 
44
44
  append_file_deps = Webruby::App.config.append_file ?
@@ -62,5 +62,5 @@ file "#{Webruby.build_dir}/mrbtest.js" =>
62
62
  func_arg = Webruby.get_exported_arg("#{Webruby.build_dir}/functions",
63
63
  0, ['main'])
64
64
 
65
- sh "#{EMLD} #{Webruby.build_dir}/mrbtest.bc -o #{Webruby.build_dir}/mrbtest.js -s TOTAL_MEMORY=33554432 #{Webruby.gem_test_js_flags} #{func_arg} #{Webruby::App.config.ldflags.join(' ')}"
65
+ sh "#{EMLD} #{Webruby.build_dir}/mrbtest.bc #{Webruby::App.config.static_libs.join(' ')} -o #{Webruby.build_dir}/mrbtest.js -s TOTAL_MEMORY=33554432 #{Webruby.gem_test_js_flags} #{func_arg} #{Webruby::App.config.ldflags.join(' ')} #{Webruby::App.config.optimization_flag}"
66
66
  end
@@ -104,4 +104,12 @@ a license to everyone to use it as detailed in LICENSE.)
104
104
  * Daniel Aquino <mr.danielaquino@gmail.com>
105
105
  * Remi Papillie <remi.papillie@gmail.com>
106
106
  * Fraser Adams <fraser.adams@blueyonder.co.uk>
107
-
107
+ * Michael Tirado <icetooth333@gmail.com>
108
+ * Ben Noordhuis <info@bnoordhuis.nl>
109
+ * Bob Roberts <bobroberts177@gmail.com>
110
+ * John Vilk <jvilk@cs.umass.edu>
111
+ * Daniel Baulig <dbaulig@fb.com> (copyright owned by Facebook, Inc.)
112
+ * Lu Wang <coolwanglu@gmail.com>
113
+ * Heidi Pan <heidi.pan@intel.com> (copyright owned by Intel)
114
+ * Vasilis Kalintiris <ehostunreach@gmail.com>
115
+ * Adam C. Clifton <adam@hulkamaniac.com>
@@ -0,0 +1,5 @@
1
+
2
+ See our wiki for information about contributing to Emscripten:
3
+
4
+ [Contribution section on wiki](https://github.com/kripken/emscripten/wiki#contributing)
5
+
@@ -0,0 +1,435 @@
1
+ This document describes changes between tagged Emscripten SDK versions.
2
+
3
+ Note that in the compiler, version numbering is used as the mechanism to invalidate internal compiler caches,
4
+ so version numbers do not necessarily reflect the amount of changes between versions.
5
+
6
+ To browse or download snapshots of old tagged versions, visit https://github.com/kripken/emscripten/releases .
7
+
8
+ Not all changes are documented here. In particular, new features, user-oriented fixes, options, command-line parameters, usage changes, deprecations, significant internal modifications and optimizations etc. generally deserve a mention. To examine the full set of changes between versions, visit the link to full changeset diff at the end of each section.
9
+
10
+ Current trunk code
11
+ ------------------
12
+ - To see a list of commits in the active development branch 'incoming', which have not yet been packaged in a release, see
13
+ https://github.com/kripken/emscripten/compare/1.7.8...incoming
14
+
15
+ v1.7.8: 11/19/2013
16
+ ------------------
17
+ - Fixed an issue with -MMD compilation parameter.
18
+ - Added EM_ASM_INT() and EM_ASM_DOUBLE() macros. For more information, read https://groups.google.com/forum/#!topic/emscripten-discuss/BFGTJPCgO6Y .
19
+ - Fixed --split parameter to also work on Windows.
20
+ - Fixed issues with BSD sockets accept() call.
21
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.7.7...1.7.8
22
+
23
+ v1.7.7: 11/16/2013
24
+ ------------------
25
+ - Improve SDL audio buffer queue timing support.
26
+ - Improved default precision of clock_gettime even when not using CLOCK_REALTIME.
27
+ - Optimize and fix issues with LLVM IR processing.
28
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.7.6...1.7.7
29
+
30
+ v1.7.6: 11/15/2013
31
+ ------------------
32
+ - Added regex implementation from musl libc.
33
+ - The command line parameter -s DEAD_FUNCTIONS=[] can now be used to explicitly kill functions coming from built-in library_xx.js.
34
+ - Improved EGL support and GLES2 spec conformance.
35
+ - Reverted -s TOTAL_MEMORY=x to require pow2 values, instead of the relaxed 'multiples of 16MB'. This is because the relaxed rule is released only in Firefox 26 which which is currently in Beta and ships on the week of December 10th (currently in Beta). As of writing, current stable Firefox 25 does not yet support these.
36
+ - Adjusted the default linker behavior to warn about all missing symbols, instead of silently ignoring them. Use -s WARN_ON_UNDEFINED_SYMBOLS=0 to suppress these warnings if necessary.
37
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.7.5...1.7.6
38
+
39
+ v1.7.5: 11/13/2013
40
+ ------------------
41
+ - Fix issues with the built-in C++ function name demangler.
42
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.7.4...1.7.5
43
+
44
+ v1.7.4: 11/12/2013
45
+ ------------------
46
+ - Fixed issues with BSD sockets code and SDL joystick implementation.
47
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.7.3...1.7.4
48
+
49
+ v1.7.3: 11/12/2013
50
+ ------------------
51
+ - Added support for generating single-precision floating point instructions.
52
+ - For more information, read https://blog.mozilla.org/javascript/2013/11/07/efficient-float32-arithmetic-in-javascript/
53
+ - Made GLES2 support library more spec-conformant by throwing fewer exceptions on errors. Be sure to build with -s GL_ASSERTIONS=1, remember to use glGetError() and check the browser console to best detect WebGL rendering errors.
54
+ - Converted return value of emscripten_get_now() from float to double, to not lose precision in the function call.
55
+ - Added support for joysticks in SDL via the Gamepad API
56
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.7.2...1.7.3
57
+
58
+ v1.7.2: 11/9/2013
59
+ ------------------
60
+ - The compiler now always generates a .js file that contains the generated source code even when compiling to a .html file.
61
+ - Read https://groups.google.com/forum/#!topic/emscripten-discuss/EuHMwqdSsEs
62
+ - Implemented depth+stencil buffer choosing behavior in GLUT, SDL and GLFW.
63
+ - Fixed memory leaks generated by glGetString and eglGetString.
64
+ - Greatly optimized startup times when virtual filesystems with a large amount of files in them.
65
+ - Added some support for SIMD generated by LLVM.
66
+ - Fixed some mappings with SDL keyboard codes.
67
+ - Added a new command line parameter --no-heap-copy to compiler and file packager that can be used to optimize VFS memory usage at startup.
68
+ - Updated libcxx to revision 194185, 2013-11-07.
69
+ - Improvements to various library support.
70
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.7.1...1.7.2
71
+
72
+ v1.7.1: 10/24/2013
73
+ ------------------
74
+ - Remove old call to Runtime.warn in file packager code
75
+ - Fix bug with parsing of empty types.
76
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.7.0...1.7.1
77
+
78
+ v1.7.0: 10/23/2013
79
+ ------------------
80
+ - Adds mouse wheel events support in GLUT library.
81
+ - Adds support for a new link parameter -s CASE_INSENSITIVE_VFS=1 to enable Emscripten virtual filesystem to search files ignoring case.
82
+ - *Numerous* optimizations in both compilation and runtime stages.
83
+ - Remove unnecessary whitespace, compact postSets function, and other optimizations in compilation output to save on generated file size.
84
+ - Fixes float parsing from negative zero.
85
+ - Removes the -s EMIT_GENERATED_FUNCTIONS link parameter as unneeded.
86
+ - Fixes an issue where updating subranges of GL uniform arrays was not possible.
87
+ - asm.js heap size (-s TOTAL_MEMORY=x) no longer needs to be a power of 2. As a relaxed rule, choosing any multiple of 16MB is now possible.
88
+ - O1 optimization no longer runs the 'simplifyExpressions' optimization pass. This is to improve build iteration times when using -O1. Use -O2 to run that pass.
89
+ - EM_ASM() can now be used even when compiling to asm.js.
90
+ - All currently specified non-debugging-related WebGL 1 extensions are now enabled by default on startup, no need to ctx.getExtension() manually to enable them.
91
+ - Improve readability of uncaught JavaScript exceptions that are thrown all the way up to the web console by printing out the stack trace of where the throw occurred.
92
+ - Fix an issue when renaming a directory to a subdirectory.
93
+ - Several compiler stability fixes.
94
+ - Adds a JavaScript implementation of cxa_demangle function for demangling call stack traces at runtime for easier debugging.
95
+ - GL context MSAA antialising is now DISABLED by default, to make the GL behavior consistent with desktop usage.
96
+ - Added support to SDL, GLUT and GLFW libraries to specify MSAA on/off at startup.
97
+ - Implemented glColor4ubv in GL emulation mode.
98
+ - Fix an issue with LLVM keyword __attribute__ ((__constructor__)) (#1155).
99
+ - Fix an issue with va_args and -s UNALIGNED_MEMORY=1 (#1705).
100
+ - Add initial support code for LLVM SIMD constructs and a JavaScript SIMD polyfill implementation from https://github.com/johnmccutchan/ecmascript_simd/ .
101
+ - Fixed support for node.js native filesystem API NODEFS on Windows.
102
+ - Optimize application startup times of Emscripten-compiled programs by enabling the virtual filesystem XHR and asm.js compilation to proceed in parallel when opening a page.
103
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.6.4...1.7.0
104
+
105
+ v1.6.4: 9/30/2013
106
+ ------------------
107
+ - Implements a new preprocessor tool for preparsing C struct definitions (#1554), useful for Emscripten support library implementors.
108
+ - Fix parsing issue with sscanf (#1668).
109
+ - Improved the responsiveness of compiler print output on Windows.
110
+ - Improved compilation times at link stage.
111
+ - Added support for new "NODEFS" filesystem that directly accesses files on the native filesystem. Only usable with node.js when compiling to JS.
112
+ - Added support for new IDBFS filesystem for accessing files in IndexedDB storage (#1601.
113
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.6.3...1.6.4
114
+
115
+ v1.6.3: 9/26/2013
116
+ ------------------
117
+ - Emscripten CMake toolchain now generates archive files with .a suffix when project target type is static library, instead of generatic .bc files (#1648).
118
+ - Adds iconv library from the musl project to implement wide functions in C library (#1670).
119
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.6.2...1.6.3
120
+
121
+ v1.6.2: 9/25/2013
122
+ ------------------
123
+ - Added support for dprintf() function (#1250).
124
+ - Fixes several compiler stability issues (#1637, #1166, #1661, #1651 and more).
125
+ - Enables support for WEBGL_depth_texture.
126
+ - Adds support for new link flag -s GL_ASSERTIONS=1 which can be used to add extra validation layer to the Emscripten GL library to catch code issues.
127
+ - Adds support to Web Audio API in SDL audio backend so that SDL audio now works in Chrome and new Opera as well.
128
+ - Fixes an alpha blending issue with SDL_SetAlpha.
129
+ - Implemented locale-related code in C library.
130
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.6.1...1.6.2
131
+
132
+ v1.6.1: 9/22/2013
133
+ ------------------
134
+ - Several optimizations to compiler link stage.
135
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.6.0...1.6.1
136
+
137
+ v1.6.0: 9/21/2013
138
+ ------------------
139
+ - Enable support for %[] pattern in scanf.
140
+ - Added dependency tracking support to linked .js files in CMake toolchain.
141
+ - The hex prefix 0x is now properly handled in sscanf (#1632).
142
+ - Simplify internal compiler operations by removing the internal framework.js.
143
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.5.9...1.6.0
144
+
145
+ v1.5.9: 9/15/2013
146
+ ------------------
147
+ - Add support for SDL_Delay in web workers.
148
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.5.8...1.5.9
149
+
150
+ v1.5.8: 9/14/2013
151
+ ------------------
152
+ - Add support for the GCC -E compiler flag.
153
+ - Update Emscripten libc headers to musl-0.9.13.
154
+ - Added new utility function emscripten_async_load_script() to asynchronously load a new .js script URL.
155
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.5.7...1.5.8
156
+
157
+ v1.5.7: 8/30/2013
158
+ ------------------
159
+ - The script tag in default shell.html is now marked 'async', which enables loading the JS script code asynchronously in Firefox without making the main thread unresponsive.
160
+ - Implemented new utility function emscripten_get_canvas_size() which returns the current Module <canvas> element size in pixels.
161
+ - Optimize code size in compiled side modules.
162
+ - Optimize startup memory usage by avoiding unnecessary copying of VFS data at startup.
163
+ - Add support for SDL_WM_ToggleFullScreen().
164
+ - Add support for emscripten_get_now() when running in SpiderMonkey shell.
165
+ - Added new environment variable EM_BUILD_VERBOSE=0,1,2,3 to set an extra compiler output verbosity level for debugging.
166
+ - Added better support for dlopen() to simulate dynamic library loading in JavaScript.
167
+ - Improved support for BSD sockets and networking.
168
+ - Added new SOCKFS filesystem, which reads files via a network connection.
169
+ - Avoid issues with long command line limitations in CMake toolchain by using response files.
170
+ - Fix issues with client-side vertex data rendering in GL emulation mode.
171
+ - Improved precision of clock_gettime().
172
+ - Improve function outlining support.
173
+ - Added support for using NMake generator with CMake toolchain.
174
+ - Improved support for flexible arrays in structs (#1602).
175
+ - Added ability to marshal UTF16 and UTF32 strings between C++ <-> JS code.
176
+ - Added a new commandline tool validate_asms.py to help automating asm.js validation testing.
177
+ - Improved stability with inline asm() syntax.
178
+ - Updated libc headers to new version.
179
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.5.6...1.5.7
180
+
181
+ v1.5.6: 8/17/2013
182
+ ------------------
183
+ - Improved BSD sockets support.
184
+ - Added touch events support to GLUT library.
185
+ - Added new --js-opts=0/1 command line option to control whether JS optimizer is run or not.
186
+ - Improved OpenAL support.
187
+ - Added new command line tool tools/find_bigvars.py which can be used on a output file to detect large functions and needs for outlining.
188
+ - Merged link flags -s FORCE_GL_EMULATION and -s DISABLE_GL_EMULATION to a single opt-in flag -s LEGACY_GL_EMULATION=0/1 to control whether GL emulation is active.
189
+ - Improved SDL input support.
190
+ - Several stability-related compiler fixes.
191
+ - Fixed source mapping generation support on Windows.
192
+ - Added back the EMSCRIPTEN_KEEPALIVE attribute qualifier to help prevent inlining and to retain symbols in output without dead code elimination occurring.
193
+ - Fix issues when marshalling UTF8 strings between C<->JS.
194
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.5.5...1.5.6
195
+
196
+ v1.5.5: 8/9/2013
197
+ ------------------
198
+ - Update libcxx to revision 187959, 2013-08-08.
199
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.5.4...1.5.5
200
+
201
+ v1.5.4: 8/9/2013
202
+ ------------------
203
+ - Fixed multiple issues with C stdlib support.
204
+ - Fix audio buffer queueing issues with OpenAL.
205
+ - Improved BSD sockets support.
206
+ - Added a new compile+link time command line option -Wno-warn-absolute-paths to hide the emscripten compiler warning when absolute paths are passed into the compiler.
207
+ - Added new link flag -s STB_IMAGE=0/1 and integrate it to SDL image loading to enable synchronous image loading support with SDL.
208
+ - Several improvements on function outlining support.
209
+ - Fix issues with GLES2 interop support.
210
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.5.3...1.5.4
211
+
212
+ v1.5.3: 6/28/2013
213
+ ------------------
214
+ - Added new optimization level --llvm-lto 3 to run even more aggressive LTO optimizations.
215
+ - Improve optimizations for libc and other libraries.
216
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.5.2...1.5.3
217
+
218
+ v1.5.2: 6/27/2013
219
+ ------------------
220
+ - Added support for generating source maps along the built application when -g is specified. This lets the browser show original .cpp sources when debugging.
221
+ - GLUT and SDL improvements.
222
+ - Added new link option -g<level> where level=0-4, which allows controlling various levels of debuggability added to the output.
223
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.5.1...1.5.2
224
+
225
+ v1.5.1: 6/22/2013
226
+ ------------------
227
+ - File packager now skips all directories and files starting with '.', and hidden files on Windows.
228
+ - Fix issues with strnlen, memmove, LDBL_ constants, va_args, float.h, and others.
229
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.5.0...1.5.1
230
+
231
+ v1.5.0: 6/17/2013
232
+ ------------------
233
+ - Several compiler optimizations.
234
+ - Improve SDL key events support.
235
+ - Increase debug logging when specifying emcc -v.
236
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.4.9...1.5.0
237
+
238
+ v1.4.9: 6/8/2013
239
+ ------------------
240
+ - Several compiler optimizations.
241
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.4.8...1.4.9
242
+
243
+ v1.4.8: 6/6/2013
244
+ ------------------
245
+ - Add support for webrtc-based sockets.
246
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.4.7...1.4.8
247
+
248
+ v1.4.7: 6/2/2013
249
+ ------------------
250
+ - Remove more unneeded break and continue statements in relooper.
251
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.4.6...1.4.7
252
+
253
+ v1.4.6: 6/2/2013
254
+ ------------------
255
+ - Improve relooper code.
256
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.4.5...1.4.6
257
+
258
+ v1.4.5: 6/1/2013
259
+ ------------------
260
+ - Improve relooper code.
261
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.4.4...1.4.5
262
+
263
+ v1.4.4: 6/1/2013
264
+ ------------------
265
+ - Add support for symlinks in source files.
266
+ - Fix various issues with SDL.
267
+ - Added -s FORCE_ALIGNED_MEMORY=0/1 link time flag to control whether all loads and stores are assumed to be aligned.
268
+ - Fix file packager to work with closure.
269
+ - Major improvements to embind support, and optimizations.
270
+ - Improve GL emulation.
271
+ - Optimize VFS usage.
272
+ - Allow emscripten to compile .m and .mm files.
273
+ - Added new syntax --preload-file src@dst to file packager command line to allow placing source files to custom destinations in the FS.
274
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.4.3...1.4.4
275
+
276
+ v1.4.3: 5/8/2013
277
+ ------------------
278
+ - Fix issue with strcat.
279
+ - Major embind improvements.
280
+ - Switch to le32-unknown-nacl LLVM target triple as default build option instead of the old i386-pc-linux-gnu target triple.
281
+ - Improve compiler logging behavior.
282
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.4.2...1.4.3
283
+
284
+ v1.4.2: 5/3/2013
285
+ ------------------
286
+ - Fix issues with le32-unknown-nacl LLVM target triple.
287
+ - Add some GLEW support.
288
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.4.1...1.4.2
289
+
290
+ v1.4.1: 4/28/2013
291
+ ------------------
292
+ - Implement support for le32-unknown-nacl LLVM target triple.
293
+ - Added new cmdline option -s ERROR_ON_UNDEFINED_SYMBOLS=0/1 to give compile-time error on undefined symbols at link time. Default off.
294
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.3.8...1.4.1
295
+
296
+ v1.3.8: 4/29/2013
297
+ ------------------
298
+ - Improved 64-bit integer ops codegen.
299
+ - Added Indexed DB support to vfs.
300
+ - Improve warning message on dangerous function pointer casts when compiling in asm.js mode.
301
+ - Added --use-preload-cache command line option to emcc, to be used with the file packager.
302
+ - Fixes to libcextra.
303
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.3.7...1.3.8
304
+
305
+ v1.3.7: 4/24/2013
306
+ ------------------
307
+ - Merge IMVU implementation of embind to emscripten trunk. Embind allows high-level C++ <-> JS types interop.
308
+ - Enable asm.js compilation in -O1 and higher by default. Fix issues when compiling to asm.js.
309
+ - Improve libc support with Emscripten with the musl libc headers.
310
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.3.6...1.3.7
311
+
312
+ v1.3.6: 4/2/2013
313
+ ------------------
314
+ - Fix hang issue with strtof.
315
+ - Update libcxx to upstream r178253 from March 29, 2013.
316
+ - Fix issues with GL emulation.
317
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.3.5...1.3.6
318
+
319
+ v1.3.5: 3/25/2013
320
+ ------------------
321
+ - Get exceptions working as they did before.
322
+ - Remove symbol removing hack.
323
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.3.4...1.3.5
324
+
325
+ v1.3.4: 3/24/2013
326
+ ------------------
327
+ - Update to new libcxx and libcxxabi versions from upstream.
328
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.3.3...1.3.4
329
+
330
+ v1.3.3: 3/23/2013
331
+ ------------------
332
+ - Remove unneeded check from relooper.
333
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.3.2...1.3.3
334
+
335
+ v1.3.2: 3/22/2013
336
+ ------------------
337
+ - Fix issues with fgets.
338
+ - Add support for non-fullscreen pointer lock.
339
+ - Improve OpenAL support.
340
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.3.1...1.3.2
341
+
342
+ v1.3.1: 3/19/2013
343
+ ------------------
344
+ - Improve SDL audio and mixer support.
345
+ - Add GLES2 emulation features when -s FULL_ES2=1 is specified.
346
+ - Add support for OpenAL.
347
+ - Add new -s OPENAL_DEBUG=0/1 link command line option.
348
+ - Fixed an issue with mouse coordinate being offset with canvas.
349
+ - Removed -s UTF_STRING_SUPPORT=0 parameter, this is now always on.
350
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.3.0...1.3.1
351
+
352
+ v1.3.0: 3/11/2013
353
+ ------------------
354
+ - Improve GLES2 emulation with -s FULL_ES2=1.
355
+ - Deprecated -s USE_TYPED_ARRAYS=1 and -s QUANTUM_SIZE=1.
356
+ - Implement a minifier infrastructure when compiling for asm.js.
357
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.2.9...1.3.0
358
+
359
+ v1.2.9: 3/7/2013
360
+ ------------------
361
+ - Improved canvas behavior when transitioning between fullscreen.
362
+ - Added support for getopt().
363
+ - Fixed several libc issues.
364
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.2.8...1.2.9
365
+
366
+ v1.2.8: 3/6/2013
367
+ ------------------
368
+ - Remove unnecessary recursion in relooper RemoveUnneededFlows.
369
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.2.7...1.2.8
370
+
371
+ v1.2.7: 3/6/2013
372
+ ------------------
373
+ - Added SDL_Mixer support.
374
+ - Implemented stubs for several Unix and threading-related functions.
375
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.2.6...1.2.7
376
+
377
+ v1.2.6: 3/5/2013
378
+ ------------------
379
+ - Relooper updates.
380
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.2.5...1.2.6
381
+
382
+ v1.2.5: 3/5/2013
383
+ ------------------
384
+ - Greatly improve GL emulation support.
385
+ - Handle %c in sscanf.
386
+ - Improve compilation times by optimizing parallel execution in the linker.
387
+ - Improve several compiler stability issues detected from fuzzing tests.
388
+ - Implemented emscripten_jcache_printf.
389
+ - Allow running emscripten.py outside emcc itself.
390
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.2.4...1.2.5
391
+
392
+ v1.2.4: 2/2/2013
393
+ ------------------
394
+ - Work on adding support for asm.js compilation.
395
+ - Improve EGL support.
396
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.2.3...1.2.4
397
+
398
+ v1.2.3: 1/9/2013
399
+ ------------------
400
+ - Work on adding support for asm.js compilation.
401
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.2.2...1.2.3
402
+
403
+ v1.2.2: 1/8/2013
404
+ ------------------
405
+ - Work on adding support for asm.js compilation.
406
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.2.1...1.2.2
407
+
408
+ v1.2.1: 1/8/2013
409
+ ------------------
410
+ - Improvements to GLUT, SDL and BSD sockets headers.
411
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.2.0...1.2.1
412
+
413
+ v1.2.0: 1/1/2013
414
+ ------------------
415
+ - Work on adding support for asm.js compilation.
416
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.1.0...1.2.0
417
+
418
+ v1.1.0: 12/12/2012
419
+ ------------------
420
+ - Fix several issues with Windows support.
421
+ - Added a standalone toolchain for CMake.
422
+ - Added emscripten_run_script_string().
423
+ - Optimize compilation times via threading.
424
+ - Update to requiring Clang 3.2. Older versions may no longer work.
425
+ - Several improvements to emscripten library support headers.
426
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.0.1a...1.1.0
427
+
428
+ v1.0.1a: 11/11/2012
429
+ ------------------
430
+ - Add relooper code to repository.
431
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.0.1...1.0.1a
432
+
433
+ v1.0.1: 11/11/2012
434
+ ------------------
435
+ - First commit that introduced versioning to the Emscripten compiler.
@@ -0,0 +1,26 @@
1
+ # Locate OpenAL
2
+ # This module defines
3
+ # OPENAL_LIBRARY
4
+ # OPENAL_FOUND, if false, do not try to link to OpenAL
5
+ # OPENAL_INCLUDE_DIR, where to find the headers
6
+
7
+ # The implementation is based on the standard FindOpenAL.cmake provided with CMake,
8
+ # but customized for targeting Emscripten only.
9
+
10
+ if (NOT OPENAL_FOUND)
11
+ SET(OPENAL_FOUND TRUE)
12
+
13
+ # For Emscripten-compiled apps in the test suite (test_alut), this is expected...
14
+ SET(OPENAL_INCLUDE_DIR "${EMSCRIPTEN_ROOT_PATH}/system/include")
15
+ # ... but the stock FindOpenAL.cmake would have returned this.
16
+ #SET(OPENAL_INCLUDE_DIR "${EMSCRIPTEN_ROOT_PATH}/system/include/AL")
17
+
18
+ # No library to link against for OpenAL, this is picked up automatically by library_openal.js,
19
+ # but need to report something, or CMake thinks we failed in the search.
20
+ SET(OPENAL_LIBRARY "nul")
21
+ SET(OPENAL_LIB "")
22
+
23
+ set(CMAKE_INCLUDE_PATH ${CMAKE_INCLUDE_PATH} "${EMSCRIPTEN_ROOT_PATH}/system/include" "${EMSCRIPTEN_ROOT_PATH}/system/include/AL")
24
+
25
+ MARK_AS_ADVANCED(OPENAL_LIBRARY OPENAL_INCLUDE_DIR)
26
+ endif()
@@ -44,9 +44,10 @@ endif()
44
44
  # Normalize, convert Windows backslashes to forward slashes or CMake will crash.
45
45
  get_filename_component(EMSCRIPTEN_ROOT_PATH "${EMSCRIPTEN_ROOT_PATH}" ABSOLUTE)
46
46
 
47
- if ("${CMAKE_MODULE_PATH}" STREQUAL "")
48
- set(CMAKE_MODULE_PATH "${EMSCRIPTEN_ROOT_PATH}/cmake")
47
+ if (NOT CMAKE_MODULE_PATH)
48
+ set(CMAKE_MODULE_PATH "")
49
49
  endif()
50
+ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${EMSCRIPTEN_ROOT_PATH}/cmake/Modules")
50
51
 
51
52
  set(CMAKE_FIND_ROOT_PATH "${EMSCRIPTEN_ROOT_PATH}/cmake")
52
53
 
@@ -82,6 +83,8 @@ set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
82
83
  set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE BOTH)
83
84
  set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
84
85
 
86
+ set(CMAKE_SYSTEM_INCLUDE_PATH "${EMSCRIPTEN_ROOT_PATH}/system/include")
87
+
85
88
  # We would prefer to specify a standard set of Clang+Emscripten-friendly common convention for suffix files, especially for CMake executable files,
86
89
  # but if these are adjusted, ${CMAKE_ROOT}/Modules/CheckIncludeFile.cmake will fail, since it depends on being able to compile output files with predefined names.
87
90
  #SET(CMAKE_LINK_LIBRARY_SUFFIX "")
@@ -146,6 +149,10 @@ set(link_js_counter 1)
146
149
  # Internal function: Do not call from user CMakeLists.txt files. Use one of em_link_js_library()/em_link_pre_js()/em_link_post_js() instead.
147
150
  function(em_add_tracked_link_flag target flagname)
148
151
  get_target_property(props ${target} LINK_FLAGS)
152
+ if(NOT props)
153
+ set(props "")
154
+ endif()
155
+
149
156
  # User can input list of JS files either as a single list, or as variable arguments to this function, so iterate over varargs, and treat each
150
157
  # item in varargs as a list itself, to support both syntax forms.
151
158
  foreach(jsFileList ${ARGN})
@@ -8,7 +8,5 @@ import os, subprocess, sys
8
8
  from tools import shared
9
9
 
10
10
  os.environ['EMMAKEN_CXX'] = '1'
11
- if not os.path.exists(shared.PYTHON):
12
- print >> sys.stderr, 'warning: PYTHON does not seem to be defined properly in ~/.emscripten (%s)' % shared.PYTHON
13
11
  exit(subprocess.call([shared.PYTHON, shared.EMCC] + sys.argv[1:]))
14
12