1This document describes changes between tagged Emscripten SDK versions. 2 3Note that in the compiler, version numbering is used as the mechanism to 4invalidate internal compiler caches, so version numbers do not necessarily 5reflect the amount of changes between versions. 6 7To browse or download snapshots of old tagged versions, visit 8https://github.com/emscripten-core/emscripten/releases. 9 10Not all changes are documented here. In particular, new features, user-oriented 11fixes, options, command-line parameters, usage changes, deprecations, 12significant internal modifications and optimizations etc. generally deserve a 13mention. To examine the full set of changes between versions, visit the link to 14full changeset diff at the end of each section. 15 16See docs/process.md for how version tagging works. 17 18Current Trunk 19------------- 20 212.0.3: 09/10/2020 22----------------- 23- The native optimizer and the corresponding config setting 24 (`EMSCRIPTEN_NATIVE_OPTIMIZER`) have been removed (it was only relevant to 25 asmjs/fastcomp backend). 26- Remove `ALLOC_DYNAMIC` and deprecate `dynamicAlloc`. (#12057, which also 27 removes the internal `DYNAMICTOP_PTR` API.) 28- Add `ABORT_ON_EXCEPTIONS` which will abort when an unhandled WASM exception 29 is encountered. This makes the Emscripten program behave more like a native 30 program where the OS would terminate the process and no further code can be 31 executed when an unhandled exception (e.g. out-of-bounds memory access) happens. 32 Once the program aborts any exported function calls will fail with a "program 33 has already aborted" exception to prevent calls into code with a potentially 34 corrupted program state. 35- Use `__indirect_function_table` as the import name for the table, which is 36 what LLVM does. 37 382.0.2: 09/02/2020 39----------------- 40- Simplify Fetch C API error handling: we used to check if the error code was 41 0 and switch that to 404, but that only really helps `file://` URLs, which 42 are not very useful for testing anyhow for other reasons (like not working 43 in chrome), and it made things more complex. The behavior has been changed 44 to be simpler and just leave the browser's error code as it is. 45- Enable `--no-heap-copy` file packager option by default, and remove the old 46 default behavior entirely. That is the behavior we should have had from the 47 beginning as it is more memory-efficient. (#12027) 48- `--no-entry` is now required in `STANDALONE_WASM` mode when building a reactor 49 (application without a main function). Previously exporting a list of 50 functions that didn't include `_main` would imply this. Now the list of 51 `EXPORTED_FUNCTIONS` is not relevant in the deciding the type of application 52 to build. (#12020) 53- Allow polymorphic types to be used without RTTI when using embind. (#10914) 54- Do not remove `__original_main` using `--inline-main`. We used to do this 55 so that it didn't show up in stack traces (which could be confusing because 56 it is added by the linker - it's not in the source code). But this has had 57 several downsides, so we are stopping that now. This does not affect program 58 behavior, unless you look at the wasm internals. However, one noticeable 59 effect is that if you use `ASYNCIFY_ADD` or `ASYNCIFY_ONLY` then you may need 60 to add `__original_main` to there (since you are doing manual fine-tuning of 61 the list of functions, which depends on the wasm's internals). Note that this 62 should not matter in `-O2+` anyhow as normal inlining generally removes 63 `__original_main`. (#11995) 64 652.0.1: 08/21/2020 66----------------- 67- Change the default value of `STACK_OVERFLOW_CHECK` in builds with `ASSERTIONS` 68 from 2 to 1. This means that plain debug builds (`-O0`, which enables 69 `ASSERTIONS`) do not have the most expensive stack checks on by default. You 70 can still add them with `-s STACK_OVERFLOW_CHECK=2`. 71- Remove the `RESERVED_FUNCTION_POINTERS` setting, which is no longer needed as 72 we have `ALLOW_TABLE_GROWTH`. The old option allowed a fixed number of 73 functions to be added to the table, while the new one allows an unlimited 74 number. (We needed the old option for fastcomp, which could not support 75 growth.) The old setting is mapped to the new one, so that building with 76 `-s RESERVED_FUNCTION_POINTERS=K` for any `K > 0` will simply turn on 77 table growth. The only noticeable effect of this is that you will be able to 78 add an unlimited amount of functions and not just `K`. 79 802.0.0: 08/10/2020 81----------------- 82- First release that only supports the new upstream wasm backend (which has been 83 the default for a long time) and no longer supports the old fastcomp backend. 84 (#11319) 85- Python2 is no longer supported by Emscripten. Emsdk now includes a bundled 86 copy of Python3 on both macOS and Windows. This means that only non-emsdk 87 users and linux users should be affected by this change. 88- Store exceptions metadata in wasm memory instead of JS. This makes exception 89 handling almost 100% thread-safe. (#11518) 90 911.40.1: 08/01/2020 92------------------ 93- Last release that still has optional support for the old fastcomp backend. 94 The new upstream backend, which has been the default for a long time, will 95 be the only one supported from 2.0.0 and onward (#11319). 96- Fix the WebGL2 regression in 1.40.0 due to #11738 (#11780). 97- If input files don't have a known extension assume they are object files 98 (linker inputs) rather then source files. This matches gcc/clang behaviour. 99 See #10560. 100 1011.40.0: 07/30/2020 102------------------ 103- This release contains a WebGL2 regression due to #11738. 104- The `EM_CONFIG` environment variable and `--em-config` command line option no 105 longer support a literal python string. Instead the name of a config file is 106 required. Since all config file settings are individually override-able using 107 `EM_FOO` this should be enough. 108- Running emscripten under python2 is now deprecated. It will show up as a 109 warning (which can be disabled with `-Wno-deprecated`). Please update to 110 python3 as we hope to remove support completely in the next releaase. 111 1121.39.20: 07/20/2020 113------------------- 114- Remove the `--save-bc` command line option. This was specific to fastcomp, 115 which is deprecated, and for debugging purposes we already have `EMCC_DEBUG` 116 which saves all intermediate files. 117- It is now an error if a function listed in the `EXPORTED_FUNCTIONS` list is 118 missing from the build (can be disabled via `-Wno-undefined`) 119 (ERROR_ON_UNDEFINED_SYMBOLS and WARN_ON_UNDEFINED_SYMBOLS no longer apply 120 to these symbols which are explicly exported). 121- Support for pthreads with wasm2js (`WASM=0`; #11505). 122- Rename `emscripten/math.h` to `emscripten/em_math.h` because if a user adds 123 `emscripten/` as an include path with `-I`, that can override libc math.h, 124 which leads to very confusing errors. 125 1261.39.19: 07/07/2020 127------------------- 128- In standalone mode make `main` mandatory by default (#11536). To build a 129 library ("reactor"), use `--no-entry`. The compiler will suggest that if 130 `main` is not present. 131- Automatically resume AudioContexts on user input in SDL and OpenAL (#10843). 132- Asyncify now does liveness analysis to find which locals to save 133 (Binaryen#2890). 134- Settings on the command line no longer require a space between the `-s` and 135 the name of the setting. For example, `-sEXPORT_ALL` is now equivalent to 136 `-s EXPORT_ALL`. 137- Rename `EXCEPTION_CATCHING_WHITELIST` to `EXCEPTION_CATCHING_ALLOWED`. The 138 functionality is unchanged, and the old name will be allowed as an alias 139 for a few releases to give users time to migrate. 140- Add support for the new add-list in Asyncify and update existing list names 141 following the updates in Binaryen, so that now we have `ASYNCIFY_ADD` to 142 add a function, `ASYNCIFY_REMOVE` to remove one (previously this was 143 called `ASYNCIFY_BLACKLIST`), and `ASYNCIFY_ONLY` to set a list of the 144 only functions to instrument and no others (previously this was called 145 `ASYNCIFY_WHITELIST`). The updated lists also handle indirect calls properly, 146 so that if you use `ASYNCIFY_IGNORE_INDIRECT` and then add (using either the 147 add-list or the only-list) all the functions that are on the stack when 148 pausing, then things will work (for more, see 149 https://github.com/WebAssembly/binaryen/pull/2913). 150 1511.39.18: 06/12/2020 152------------------- 153- Disable `LIBCXX_ABI_OPTIMIZED_FUNCTION` which is an ABI change in libc++ 154 (changing the layout of the `std::function` object) (#11403). 155- New `WASM2C` option that integrates with wabt's wasm2c tool in order to 156 compile everything into a single C file (#11213). 157 1581.39.17: 06/05/2020 159------------------- 160- Use Promise polyfill for MODULARIZE when supporting legacy browsers. (#11320) 161- Fix minification of wasm2js output when using --emit-symbol-map. (#11279) 162- On first use, emscripten creates a sample config file. This config file 163 is now created in the emscripten directory by default. The traditional 164 `~/.emscripten` config file in the `$HOME` directory is still supported and 165 the sample config will still be written there in the case that the emscripten 166 root is read-only. 167- The default location for downloaded ports is now a directory called "ports" 168 within the cache directory. In practice these means by default they live 169 in `cache/ports` inside the emscripten source directory. This can be 170 controlled by setting the location of the cache directory, or for even more 171 fine grained control the `EM_PORTS` environment variable and the `PORTS` 172 config setting can be used. 173- Added support for compiling SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE 4.2 and 174 128-bit wide AVX intrinsics, emulated on top of Wasm SIMD instruction set. 175 (#11193, #11243, #11290, #11327). Pass -msimd128 -msse<version> to enable 176 targeting SSE. 177- Removed obsolete SIMD.js support (-s SIMD=1). Use -msimd128 to target Wasm 178 SIMD. (#11180) 179- Add warning about fastcomp deprecation (can be disabled via `-Wno-fastcomp`). 180- The mmap method of JavaScript filesystem drivers (based on library_fs.js) no 181 longer takes a target memory. It's safer/cleaner/smaller to assume the target 182 is the global memory buffer. 183- Remove emterpreter and `EMTERPRETIFY` settings. Emterpreter has largely 184 been replaced by asyncify and is fastcomp only so due for removing in 185 the near future anyway. 186- Upgrade various musl string functions to 1.2 to fix aliasing issues. (#11215) 187 1881.39.16: 05/15/2020 189------------------- 190- Add Math C API for direct access to JavaScript Math object (#11151). 191- Address Sanitizer support now includes JavaScript as well, that is, memory 192 access of HEAP\* arrays is checked by ASan. That allows errors to be found if 193 JS glue code does something wrong like forget to shift a pointer. To use this, 194 just build with ASan normally, `-fsanitize=address` at link (#11147). 195- Fix embind string conversions in multithreaded builds (#10844). 196- `ALLOW_MEMORY_GROWTH` used to silently disable `ABORTING_MALLOC`. It now 197 just changes the default, which means you can pass `-s ABORTING_MALLOC=1` to 198 override the default, which was not possible before. (If you pass the flag 199 and don't want that behavior, stop passing the flag.) (#11131) 200- Change the factory function created by using the `MODULARIZE` build option to 201 return a Promise instead of the module instance. That is, beforehand 202 203 Module() 204 205 would return an instance (which was perhaps not ready yet if startup was 206 async). In the new model, that returns a Promise which you can do `.then` or 207 `await` on to get notified when the instance is ready, and the callback 208 receives the instance. Note that both before and after this change 209 doing `Module()` creates and runs an instance, so the only change is 210 the return value from that call. 211 This fixes some long-standing bugs with that option which have been reported 212 multiple times, but is a breaking change - sorry about that. To reduce the 213 risk of confusing breakage, in a build with `ASSERTIONS` we will show a clear 214 warning on common errors. For more, see detailed examples for the current 215 usage in `src/settings.js` on `MODULARIZE`. (#10697) 216- A new `PRINTF_LONG_DOUBLE` option allows printf to print long doubles at full 217 float128 precision. (#11130) 218- `emscripten_async_queue_on_thread` has been renamed to 219 `emscripten_dispatch_to_thread` which no longer implies that it is async - 220 the operation is in fact only async if it is sent to another thread, while it 221 is sync if on the same one. A new `emscripten_dispatch_to_thread_async` 222 function is added which is always async. 223- The emscripten cache now lives in a directory called `cache` at the root 224 of the emscripten tree by default. The `CACHE` config setting and the 225 `EM_CACHE` environment variable can be used to override this (#11126). 226- Honor `CACHE` setting in config file as an alternative to `EM_CACHE` 227 environment variable. 228- Remove `--cache` command line arg. The `CACHE` config setting and the 229 `EM_CACHE` environment variable can be used to control this. 230- Compiling to a file with no suffix will now generate an executable (JS) rather 231 than an object file. This means simple cases like `emcc -o foo foo.c` do the 232 expected thing and generate an executable. 233- System libraries such as libc and libc++ are now included by default at 234 link time rather than selectively included based on the symbols used in the 235 input object files. For small programs that don't use any system libraries 236 this might result in slightly slower link times with the old fastcomp 237 backend. In order to exclude these libraries build with `-nostdlib` and/or 238 `-nostdlib++`. 239 2401.39.15: 05/06/2020 241------------------- 242- Add `--extern-pre-js` and `--extern-post-js` emcc flags. Files provided there 243 are prepended/appended to the final JavaScript output, *after* all other 244 work has been done, including optimization, optional `MODULARIZE`-ation, 245 instrumentation like `SAFE_HEAP`, etc. They are the same as prepending/ 246 appending those files after `emcc` finishes running, and are just a convenient 247 way to do that. (For comparison, `--pre-js` and `--post-js` optimize that code 248 together with everything else, keep it in the same scope if running 249 `MODULARIZE`, etc.). 250- Stop defining `FE_INEXACT` and other floating point exception macros in libc, 251 since we don't support them. That also prevents musl from including code using 252 pragmas that don't make sense for wasm. Ifdef out other uses of those pragmas 253 as well, as tip of tree LLVM now fails to compile them on wasm. (#11087) 254- Update libcxx and libcxxabi to LLVM 10 release branch (#11038). 255- Remove `BINARYEN_PASSES` setting (#11057). We still have 256 `BINARYEN_EXTRA_PASSES` (the removed setting completely overrides the set 257 of passes from the command line, which doesn't make much sense as some of 258 them are mandatory like setting the sbrk ptr). 259- Remove `MODULARIZE_INSTANCE` build option (#11037). This was a seldom used 260 option that was complicating the logic for `MODULARIZE`. Module instances can 261 be created by using `MODULARIZE` and calling the factory function explicitly. 262 See the new `--extern-post-js` option added in this release, which can help 263 code that used `MODULARIZE_INSTANCE` (you can add an extern post js which 264 does `Module = Module();` for example). 265 2661.39.14: 05/01/2020 267------------------- 268- Update SDL2 to latest in ports, which has recently been updated to include 269 upstream 2.0.10. 270- Add warning on use of `EMTERPRETIFY` which is soon to be removed. 271- Emscripten can now compile assembly files in llvm's .s/.S file format. 272- Remove test-only environment variable handling for `EMCC_LEAVE_INPUTS_RAW`. 273 The two uses cases in our test code were covered by the `-nostdlib` option. 274- Remove untested `CONFIGURE_CC`. This could be used to override the underlying 275 compiler used in emcc/em++ but only during configure tests. There are other 276 ways to control/fake the detected configure features that don't require such 277 monkey patching. For example setting defaults via a site file: 278 https://www.gnu.org/software/autoconf/manual/autoconf-2.67/html_node/Site-Defaults.html 279- Remove undocumented and untested config settings: `COMPILER_OPTS`. This was 280 a global setting in the emscripten config file that would inject extra 281 compiler options. 282- Allow spaces in a path to Python interpreter when running emscripten from Unix 283 shell (#11005). 284- Support atexit() in standalone mode (#10995). This also fixes stdio stream 285 flushing on exit in that mode. 286 287v1.39.13: 04/17/2020 288-------------------- 289- Support for WebAssembly BigInt integration with a new `WASM_BIGINT` flag. With 290 that the VM will use a JS BigInt for a wasm i64, avoiding the need for JS 291 legalization. See #10860. 292- Add another value for ENVIRONMENT named 'webview' - it is a companion 293 option for 'web' and enables some additional compatibility checks 294 so that generated code works both in normal web and in a webview like Cordova. 295 See #10846 296 297v1.39.12: 04/09/2020 298-------------------- 299- Pass linker flags directly to wasm-ld by default. We still filter out certain 300 flags explicitly. If there are other flags that it would be useful for us 301 to ignore we can add them to the list of ignored flags. 302- Optionally support 2GB+ heap sizes. To do this we make the JS code have unsigned 303 pointers (we need all 32 bits in them now), which can slightly increase code 304 size (>>> instead of >>). This only happens when the heap size may be over 305 2GB, which you must opt into explicitly, by setting `MAXIMUM_MEMORY` to a 306 higher value (i.e. by default you do not get support for 2GB+ heaps). 307 See #10601 308- `--llvm-lto` flag is now ignored when using the upstream llvm backend. 309 With the upstream backend LTO is controlled via `-flto`. 310- Require format string for emscripten_log. 311- Program entry points without extensions are now shell scripts rather than 312 python programs. See #10729. This means that `python emcc` no longer works. 313 However `emcc`, `emcc.py` and `python emcc.py` all continue to work. 314 The reason for this change is that `#!/usr/bin/env python` is no longer 315 portable since the python symlink was dropped from Ubuntu 20.04. 316- New EM_IMPORT macro to mark C/C++ symbols as imported from outside the module 317 (i.e. imported from JS). Currently we still default to assuming that *all* 318 undefined symbols can come from JS, but in the future we hope to mark such 319 symbols explicitly to allow the linker to report on genuinely undefined 320 symbols. 321- Dynamic linking optimizations: Stop emitting unnecessary `fp$` and `g$` 322 accessors in main modules, possible in Binaryen thanks to ensuring function 323 table indexes are unique (#10741). 324- New `JS_MATH` option to use `Math.*` in JS instead of compiled musl (#10821). 325- Pass `Module` to Module callback functions like `Module.preRun` (#10777). 326- Support not having ports, for packagers of emscripten that don't want 327 them (#10810). 328- Rename syscalls to have meaningful names (#10750). 329 330v1.39.11: 03/20/2020 331-------------------- 332- The default c++ version is no longer fixed at c++03. We now fall back to 333 clang's default which is currently c++14. 334- Remove arc4random function form library.js. This is a BSD-only library 335 function. Anyone requiring BSD compat should be able to use something like 336 https://libbsd.freedesktop.org/. 337- Change the meaning of `ASYNCIFY_IMPORTS`: it now contains only new imports 338 you add, and does not need to contain the list of default system imports like 339 `emscripten_sleep`. There is no harm in providing them, though, so this 340 is not a breaking change. 341- Enable DWARF support: When compiling with `-g`, normal DWARF emitting happens, 342 and when linking with `-g` we preserve that and update it. This is a change 343 from before, where we assumed DWARF was unneeded and did not emit it, so this 344 can increase the size of debug builds (i.e. builds compiling and/or linking 345 with -g). This change is necessary for full debugging support, that is, to 346 be able to build with `-g` and use a debugger. Before this change only the 347 `-gforce_dwarf` flag enabled DWARF; that flag is now removed. If you want 348 the old behavior, build your object files with `-gline-tables-only` (that will 349 only add line table info, which is just enough for things like source maps and 350 does not include full debug info). For more info and background see #10325. 351- Remove hacks from `memset` handling, in particular, in the wasm backend, 352 completely remove the JS version of memset from the JS library and from 353 `DEFAULT_LIBRARY_FUNCS_TO_INCLUDE`. The regular C version will be linked in 354 from compiler_rt normally. A noticeable difference you may see is that 355 a JS library cannot add a `__dep` to `memset` - deps only work for JS 356 library functions, but now we only have the regular C version. If you hit that 357 issue, just add `_memset` to `EXPORTED_FUNCTIONS` (or adjust 358 `deps_info.json`). 359- Minimal runtime code size optimizations, see #10725, #10724, #10663. 360- wasm2js fix for a long-existing but very rare correctness bug, see #10682. 361- Use atomics in musl lock/unlock in pthreads builds, which may fix very rare 362 pthreads + stdio issues (none have been reported though). See #10670. 363 364v1.39.10: 03/09/2020 365-------------------- 366- Fix a SIMD regression in 1.39.9 (#10658). 367- Fix `emscripten_atomic_exchange_u8,16,32,64` (#10657). 368- Switch bzip2 to an emscripten-ports mirror. 369 370v1.39.9: 03/05/2020 371------------------- 372- Add support for -Wall, -Werror, -w, -Wno-error=, -Werror=, for controlling 373 internal emscripten errors. The behavior of these flags matches the gcc/clang 374 counterparts. 375- Rename `TOTAL_MEMORY` to `INITIAL_MEMORY` and `WASM_MEM_MAX` to `MAXIMUM_MEMORY`, 376 which are more accurate and match wasm conventions. The old names are still 377 supported as aliases. 378- Updated of libc++abi and libc++ to llvm 9.0.0 (#10510) 379- Refactor syscall interface: Syscalls are no longer variadic (except those 380 that are inherently such as open) and no longer take the syscall number as 381 arg0. This should be invisible to most users but will effect any external 382 projects that try to implement/emulate the emscripten syscall interface. 383 See #10474 384- Removed src/library_vr.js, as it was outdated and nonfunctional, and the WebVR 385 specification has been obsoleted in favor of the upcoming WebXR specification. 386 (#10460) 387- Deprecate `WASM_OBJECT_FILES` setting. There are many standard ways to enable 388 bitcode objects (-flto, -flto=full, -flto=thin, -emit-llvm). 389- Removed EmscriptenWebGLContextAttributes::preferLowPowerToHighPerformance 390 option that has become unsupported by WebGL. Access 391 EmscriptenWebGLContextAttributes::powerPreference instead. (#10505) 392- When implementing forwarding function aliases in JS libraries, either the 393 alias or the target function must contain a signature annotation. (#10550) 394- Add a check in Asyncify builds with `ASSERTIONS` that we do not have 395 compiled code on the stack when starting to rewind, which is dangerous. 396- Implement libc system() for node.js (#10547). 397- Standalone mode improvements, time (#10530, #10536), sysconf (#10535), 398 getpagesize (#10533), _Exit (#10534) 399- Fix many closure compiler warnings (e.g. #10525). 400- Avoid unnecessary syscall proxying (#10511). 401- Added new link time command line option -jsDfoo=val to allow specifying 402 custom preprocessor options to JS library files. (#10624, #10580) 403 404v1.39.8: 02/14/2020 405------------------- 406- Add LLD_REPORT_UNDEFINED option that should allow for more detailed 407 diagnostics when symbols are undefined at link time. This currently has 408 some limitations and is not enabled by default. For example, EM_JS symbols 409 are reported as undefined at link time, as are `__invoke_*` functions. 410- wasm2js optimizations. See binaryen#2623. 411- WebGPU Compute fixes. Simple examples now work. See #10367. 412- Many DWARF debug info fixes. Emitting of DWARF is correct as far as we know, 413 including when optimizing (a few passes are disabled for now, but almost all 414 work). We still only generate it behind the `-gforce_dwarf` flag for now, 415 though (but that should be removed soon). 416 417v1.39.7: 02/03/2020 418------------------- 419- The checked-in copy of the Closure compiler was removed in favor of getting it 420 from npm. This means that developers now need to run `npm install` after 421 checking out emscripten if they want to use closure (--closure). emsdk users 422 are not effected because emsdk runs this as a post install step (#9989). 423- Added support for specifying JSDoc minification annotations for Closure in 424 JS library, pre and post files. See 425 https://github.com/google/closure-compiler/wiki/Annotating-JavaScript-for-the-Closure-Compiler 426 (#10272) 427- Add new Fibers API for context switching, that supersedes the old coroutine 428 API that only ran on fastcomp. See #9859 429- Added new linker option -s WASM=2 which produces a dual Wasm+JS build, which 430 falls back to using a JavaScript version if WebAssembly is not supported in 431 target browser/shell. (#10118) 432- Added new linker option -s CLOSURE_WARNINGS=quiet|warn|error that allows aborting 433 the build if the Closure compiler produced any warnings. 434 435v1.39.6: 01/15/2020 436------------------- 437- Development has switched from the "incoming" branch to "master". 438- Added new system header <emscripten/heap.h>, which enables querying information 439 about the current WebAssembly heap state. 440- Reduced default geometric memory overgrowth rate from a very generous 2x factor 441 to a more memory conserving +20% factor, and capped maximum reservation to 96MB 442 at most. 443- Added options MEMORY_GROWTH_GEOMETRIC_STEP and MEMORY_GROWTH_GEOMETRIC_CAP 444 to allow customizing the heap growth rates. 445- Renamed MEMORY_GROWTH_STEP option to MEMORY_GROWTH_LINEAR_STEP option. 446- Added new linker option -s HTML5_SUPPORT_DEFERRING_USER_SENSITIVE_REQUESTS=0 447 (default enabled) to allow disabling support for deferred fullscreen mode and 448 pointer lock requests for applications that do not need deferring support. 449 450v1.39.5: 12/20/2019 451------------------- 452- Added support for streaming Wasm compilation in MINIMAL_RUNTIME (off by default) 453- All ports now install their headers into a shared directory under 454 `EM_CACHE`. This should not really be a user visible change although one 455 side effect is that once a given port is built, its headers are then 456 universally accessible, just like the library is universally available as 457 `-l<name>`. 458- Removed `timestamp` field from mouse, wheel, devicemotion and 459 deviceorientation events. The presence of a `timestamp` on these events was 460 slightly arbitrary, and populating this field caused a small profileable 461 overhead that all users might not care about. It is easy to get a timestamp of 462 an event by calling `emscripten_get_now()` or `emscripten_performance_now()` 463 inside the event handler function of any event. 464- Add fine-grained options for specific legacy browser support, 465 `MIN_FIREFOX_VERSION`, `MIN_SAFARI_VERSION`, `MIN_IE_VERSION`, 466 `MIN_EDGE_VERSION`, `MIN_CHROME_VERSION`. The existing `LEGACY_VM_SUPPORT` 467 option sets all of them to 0, that is, maximal backwards compatibility. 468 Note that going forward, we will use these settings in more places, so if 469 you do need very old legacy browser support, you may need to set either 470 `LEGACY_VM_SUPPORT` or the fine-grained options. For more details see #9937 471- Default `DISABLE_DEPRECATED_FIND_EVENT_TARGET_BEHAVIOR` to 1. See #9895. 472 With this change the old deprecated HTML5 API event target lookup behavior is 473 disabled. There is no "Module.canvas" object, no magic "null" default handling, 474 and DOM element 'target' parameters are taken to refer to CSS selectors, instead 475 of referring to DOM IDs. For more information see: 476 <https://groups.google.com/forum/#!msg/emscripten-discuss/xScZ_LRIByk/_gEy67utDgAJ> 477- WASI API updated from `wasi_unstable` to `wasi_snapshot_preview1`. This 478 is mostly an implementation detail, but if you use `STANDALONE_WASM` it means 479 that the output of emscripten now requires a runtime with 480 `wasi_snapshot_preview1` support. 481- `SAFE_STACK` has been removed, as it overlaps with `STACK_OVERFLOW_CHECK`. 482 Replace `SAFE_STACK=1` with `STACK_OVERFLOW_CHECK=2` (note the value is 2). 483 This also has the effect of enabling stack checking on upstream builds when 484 `ASSERTIONS` are enabled (as assertions enable `STACK_OVERFLOW_CHECK=2`). 485 486v1.39.4: 12/03/2019 487------------------- 488- Remove deprecated `requestFullScreen` method from `library_browser.js`, please 489 use `requestFullscreen` (without the capital S). 490- Remove deprecated `requestFullScreen` and `cancelFullScreen` from `library_glut.js` 491- Remove deprecated `requestFullScreen` and `cancelFullScreen`from `library_glfw.js` 492- Fix SDL2_mixer support for ogg vorbis. See #9849 493- Various source maps fixes, see #9926 #9882 #9837 #9814 494 495v1.39.3: 11/14/2019 496------------------ 497 498v1.39.2: 11/06/2019 499------------------ 500 - Archives with missing indexes will now have ranlib run on them automatically 501 at link time. This avoids linker errors when using GNU ar to build archive 502 files. 503 - `ERROR_ON_MISSING_LIBRARIES` now also applies to internal symbols that start 504 with `emscripten_`. Prior to this change such missing symbols would result 505 in a runtime error, now they are reported at compile time. 506 - Pthread blocking on the main thread will now warn in the console. If 507 `ALLOW_BLOCKING_ON_MAIN_THREAD` is unset then the warning is an error. 508 - Add `pthread_tryjoin_np`, which is a POSIX API similar to `pthread_join` 509 but without blocking. 510 - New function `emscripten_has_asyncify()`. 511 - Add support for pthreads in Node.js, using Node Workers. See #9745 512 513v1.39.1: 10/30/2019 514------------------- 515 - Only MEMFS is included by default, others (NODEFS, IDBFS, WORKERFS, PROXYFS) 516 must be linked in explicitly, using `-lnodefs.js`, `-lidbfs.js`', 517 `-lworkerfs.js`, `-lproxyfs.js`. See #9645 518 519v1.39.0: 10/18/2019 520------------------- 521 - The emsdk defaults to the upstream backend (instead of fastcomp) from this 522 release onward (but both backends are still fully supported). See 523 https://emscripten.org/docs/compiling/WebAssembly.html#backends 524 - Add support for overriding `.emscripten` config variables using environment 525 variables. Any config variable `FOO` can be overridden by `EM_FOO` in the 526 environment. 527 - `-Werror` now also turns warnings in the python driver code into errors. 528 - Internal settings have moved from `settings.js` to `settings_internal.js`. 529 These are settings that are for internal use only and are not set-able from 530 the command line. If we misclassified any of these please open a bug. 531 - `STANDALONE_WASM` mode now supports setting up argv via wasi APIs. 532 - `STANDALONE_WASM` mode now supports running static constructors in `_start`. 533 534v1.38.48: 10/11/2019 535-------------------- 536 - Add support for `MAIN_THREAD_EM_ASM` in wasm backend. #9560 537 - Add ability to disable FETCH worker in Fastcomp backend via 538 `USE_FETCH_WORKER=0`. This is useful for people who use FETCH, but don't 539 perform any synchronous fetches on the main thread. #9567 540 - Remove `EMCONFIGURE_JS`. Since #6269 we have set it to "2" which means never 541 use native, always use JS. 542 543v1.38.47: 10/02/2019 544-------------------- 545 - Add support for FETCH API in WASM backend. This doesn't support FETCH in the 546 main thread (`USE_FETCH_WORKER=0` is enforced). #9490 547 - Redefine errno values to be consistent with wasi. This will let us avoid 548 needing to convert the values back and forth as we use more wasi APIs. 549 This is an ABI change, which should not be noticeable from user code 550 unless you use errno defines (like EAGAIN) *and* keep around binaries 551 compiled with an older version that you link against. In that case, you 552 should rebuild them. See #9545. 553 - Removed build option `-s ONLY_MY_CODE` as we now have much better solutions 554 for that, like building to a wasm object file or using `STANDALONE_WASM` 555 etc. (see 556 https://github.com/emscripten-core/emscripten/wiki/WebAssembly-Standalone). 557 - Emscripten now supports the config file (.emscripten) being placed in the 558 emscripten directory rather that the current user's home directory. 559 See #9543 560 561v1.38.46: 09/25/2019 562-------------------- 563 - Rename libpthreads to libpthread to match its normal name on other platforms. 564 This change should be completely internal to emscripten. 565 - Remove redundant `COMPILER_ENGINE` and `JS_ENGINE` options. We only support 566 node as the compiler engine so just use a single `NODE_JS` option for that. 567 - Module.abort is no longer exported by default. It can be exported in the normal 568 way using `EXTRA_EXPORTED_RUNTIME_METHODS`, and as with other such changes in 569 the past, forgetting to export it will show a clear error in `ASSERTIONS` mode. 570 - Remove `EMITTING_JS` flag, and replace it with `STANDALONE_WASM`. That flag indicates 571 that we want the wasm to be as standalone as possible. We may still emit JS in 572 that case, but the JS would just be a convenient way to run the wasm on the Web 573 or in Node.js. 574 - `ASYNCIFY_BLACKLIST` and `ASYNCIFY_WHITELIST` now support simple '\*' wildcard matching 575 576v1.38.45: 09/12/2019 577-------------------- 578 579v1.38.44: 09/11/2019 580-------------------- 581 - Remove Binaryen from the ports system. This means that emscripten will 582 no longer automatically build Binaryen from source. Instead, either use 583 the emsdk (binaries are provided automatically, just like for LLVM), or 584 build it yourself and point `BINARYEN_ROOT` in .emscripten to it. See #9409 585 586v1.38.43: 08/30/2019 587--------------------- 588 - noExitRuntime is no longer a property on the Module object. Use `noExitRuntime` 589 instead of `Module.noExitRuntime`. 590 591v1.38.42: 08/19/2019 592-------------------- 593 - Add support for [address sanitizer](https://clang.llvm.org/docs/AddressSanitizer.html) 594 and standalone [leak sanitizer](https://clang.llvm.org/docs/LeakSanitizer.html) 595 with multiple threads. (#9060, #9076) 596 - Remove `ERROR_ON_MISSING_LIBRARIES` setting (it's always on now) 597 - Remove the ability to use Python operators in flags that support KB/MB/GB/TB 598 suffixes, e.g. `TOTAL_MEMORY`. This means that `-s TOTAL_MEMORY=1024*1024` 599 will no longer work. This is done because the mechanism may result in 600 execution of arbitrary code via command line flags. 601 602v1.38.41: 08/07/2019 603-------------------- 604 - Remove fastcomp's implementation of Asyncify. This has been deprecated for 605 a long time, since we added Emterpreter-Async, and now we have a new Asyncify 606 implementation in the upstream wasm backend. It is recommended to upgrade to 607 the upstream backend and use Asyncify there if you need it. (If you do still 608 need the older version, you can use 1.38.40.) 609 - Drop ExitStatus from inheriting from Error(), as that could capture the whole 610 global scope, preventing temporary variables at page startup from being garbage 611 collected. (#9108) 612 - `__builtin_return_address` now requires `-s USE_OFFSET_CONVERTER=1` to work. (#9073) 613 - emrun now uses HTTP/1.1 instead of HTTP/1.0. 614 - `callMain` is no longer exported by default on Module, to allow better JS 615 minification. You must add it to `EXTRA_EXPORTED_RUNTIME_METHODS` if you want 616 to call it on Module. (In assertions builds, an error with an explanation is 617 shown.) 618 - Allow expressions with side effects as `EM_ASM`'s arguments and prohibit 619 non-arithmetic arguments (e.g. pointers, functions, arrays, objects). (#9054) 620 - `emcc` on Windows now uses native newline byte sequence to get a line to 621 print for parse error reporting. (#9088) 622 - Internal API update: one can now specialize embind's (un)marshalling for a 623 group of types via SFINAE, instead of a single type. (#9089) 624 - Options passed on the `Module` object during startup, like `Module.arguments`, 625 are now copied to a local (in order to avoid writing `Module.*` everywhere, 626 which wastes space). You can still provide them as always, but you can't 627 modify `Module.arguments` and other things *after* startup (which is now 628 after we've finished processing them). In a build with assertions enabled you 629 will get an error if you access those properties after startup. (#9072) 630 631v1.38.40: 07/24/2019 632-------------------- 633 - LLVM backend pthread builds no longer use external memory initialization 634 files, replacing them with passive data segments. 635 - LLVM backend now supports thread local storage via the C extension `__thread` 636 and the C11/C++11 keyword `thread_local`. (#8976) 637 - Internal API change: Move read, readAsync, readBinary, setWindowTitle from 638 the Module object to normal JS variables. If you use those internal APIs, 639 you must change `Module.readAsync()/Module['readAsync']()` to `readAsync()`. 640 Note that read is also renamed to `read_` (since "`read`" is an API call in 641 the SpiderMonkey shell). In builds with ASSERTIONS, an error message is 642 shown about the API change. This change allows better JS minification 643 (the names read, readAsync etc. can be minified, and if the variables are 644 not used they can be removed entirely). Defining these APIs on Module 645 (which was never documented or intended, but happened to work) is also 646 no longer allowed (but you can override `read_` etc. from JS). 647 648v1.38.39: 07/16/2019 649-------------------- 650 - Add support for [address sanitizer](https://clang.llvm.org/docs/AddressSanitizer.html). (#8884) 651 - Currently, only supports one thread without dynamic linking. 652 - Rename Bysyncify (the name used during development) to Asyncify. This keeps 653 the name consistent with the old ASYNCIFY flag, no need for a new one, as 654 they basically do the same thing. 655 656v1.38.38: 07/08/2019 657-------------------- 658 - Add support for standalone [leak sanitizer](https://clang.llvm.org/docs/LeakSanitizer.html). (#8711) 659 660v1.38.37: 06/26/2019 661-------------------- 662 - Set ENV['LANG'] following the user's preferred language (HTTP Accept-Language / navigator.languages[0]) 663 - `emscripten_run_script_string` now returns C `NULL` instead of the string `null` 664 or `undefined` when the result of the `eval` is JavaScript `null` or `undefined`. 665 - Add a new system for managing system libraries. (#8780) 666 This may require minor changes when performing certain operations: 667 - When using `embuilder.py` to build a specific library, the name may have 668 changed: for consistency, all library names are prefixed with lib now. 669 - `embuilder.py` now only builds the requested library, and not its dependencies 670 and certain system libraries that are always built. For example, running 671 `embuilder.py build libc` no longer builds `libcompiler_rt` if it hasn't be built. 672 - When using `EMCC_FORCE_STDLIBS` with a list of libraries, you must now use 673 the simplified names, for example, `libmalloc` and `libpthreads` instead of 674 `libdlmalloc` or `libpthreads_stub`. These names will link in the correct 675 version of the library: if the build is configured to use `emmalloc`, `libmalloc` 676 will mean `libemmalloc`, and if thread support is disabled, `libpthreads` will 677 mean `libpthreads_stub`. This allows you to say `libmalloc` or `libpthreads` without 678 worrying about which implementation is supposed to be used, and avoid duplicate 679 symbols if you used the wrong implementation. 680 - LLVM wasm backend pthreads fixes, see #8811, #8718 681 682v1.38.36: 06/15/2019 683-------------------- 684 685v1.38.35: 06/13/2019 686-------------------- 687 - Include some [waterfall fixes](https://github.com/WebAssembly/waterfall/pull/541) 688 for the emsdk builds on linux regarding libtinfo. 689 - NOTE: due to a CI failure, builds for mac and windows were not generated. 690 691v1.38.34: 06/01/2019 692-------------------- 693 - Add support for [undefined behavior sanitizer](https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html). 694 - This allows `emcc -fsanitize=undefined` to work. (#8651) 695 - The minimal runtime (`-fsanitize-minimal-runtime`) also works. (#8617) 696 697v1.38.33: 05/23/2019 698-------------------- 699 - First release to use the new chromium build infrastructure 700 https://groups.google.com/forum/#!msg/emscripten-discuss/WhDtqVyW_Ak/8DfDnfk0BgAJ 701 - Add `emscripten_return_address` which implements the functionality of 702 gcc/clang's `__builtin_return_address`. (#8617) 703 704v1.38.32: SKIPPED 705----------------- 706 - The transition from the old to the new CI occurred around here. To avoid 707 ambiguity while both CIs were still generating builds, we just tagged a new 708 one (1.38.33) on the new CI and skipped 1.38.32. 709 - The transition also moves all builds and downloads away from the old 710 mozilla-games infrastructure to the new chromium ones. As a result all links 711 to *mozilla-games* URLs will not work (these were never documented, but could 712 be seen from the internals of the emsdk; the new emsdk uses the proper new 713 URLs, so you can either use the sdk normally or find the URLs from there). 714 715v1.38.31: 04/24/2019 716-------------------- 717 - Change `ino_t/off_t` to 64-bits. (#8467) 718 - Add port for bzip2 library (`libbz2.a`). (#8349) 719 - Add port for libjpeg library. (#8361) 720 - Enable `ERROR_ON_MISSING_LIBRARIES` by default (#8461) 721 722v1.38.30: 03/21/2019 723-------------------- 724 - Remove Module.buffer which was exported by default unnecessarily. This was an 725 undocumented internal detail, but in theory, code may have relied on it. 726 (#8277) 727 728v1.38.29: 03/11/2019 729-------------------- 730 731v1.38.28: 02/22/2019 732-------------------- 733 - Option `-s EMTERPRETIFY_WHITELIST` now accepts shell-style wildcards; 734 this allows matching static functions with conflicting names that 735 the linker distinguishes by appending a random suffix. 736 - Normalize mouse wheel delta in `library_browser.js`. This changes the scroll 737 amount in SDL, GLFW, and GLUT. (#7968) 738 739v1.38.27: 02/10/2019 740-------------------- 741 - Change how `EMCC_LOCAL_PORTS` works, to be more usable. See #7963 742 - Remove deprecated Pointer_stringify (use UTF8ToString instead). See #8011 743 - Added a new option `-s DISABLE_DEPRECATED_FIND_EVENT_TARGET_BEHAVIOR=1` that 744 changes the lookup semantics of DOM elements in html5.h event handler 745 callbacks and WebGL context creation. The new behavior is to use CSS selector 746 strings to look up DOM elements over the old behavior, which was somewhat 747 ad hoc constructed rules around default Emscripten uses. The old behavior 748 will be deprecated and removed in the future. Build with -s ASSERTIONS=1 749 to get diagnostics messages related to this transition. 750 - Breaking change with -s USE_PTHREADS=1 + -s FETCH=1: When building with 751 -o a.html, the generated worker script is now named "a.fetch.js" according 752 to the base name of the specified output, instead of having a fixed name 753 "fetch-worker.js". 754 755v1.38.26: 02/04/2019 756-------------------- 757 - Fix some pthreads proxying deadlocks. See #7865 758 759v1.38.25: 01/18/2019 760-------------------- 761 - Move kripken/emscripten,emscripten-fastcomp,emscripten-fastcomp-clang to 762 emscripten-core/\* 763 764v1.38.24: 01/17/2019 765-------------------- 766 - Perform JS static allocations at compile time (#7850) 767 768v1.38.23: 01/10/2019 769-------------------- 770 - Remove BINARYEN_METHOD: no more support for interpret modes, and if you want 771 non-wasm, use WASM=0. 772 - Support specifying multiple possible ENVIRONMENTs (#7809) 773 774v1.38.22: 01/08/2019 775-------------------- 776 - Add Regal port. See #7674 777 - System libraries have been renamed to include the `lib` prefix. If you use 778 `EMCC_FORCE_STDLIBS` or `EMCC_ONLY_FORCED_STDLIBS` to select system libraries 779 you may need to add the `lib` prefix. 780 - Rename `pthread-main.js` to `NAME.worker.js`, where `NAME` is the main 781 name of your application, that is, if you emit `program.js` then you'll get 782 `program.worker.js` (this allows more than one to exist in the same 783 directory, etc.). 784 - Dynamic linker has been taught to handle library -> library dependencies. 785 786v1.38.21: 11/30/2018 787-------------------- 788 - fastcomp: Remove `runPostSets` function and replace with normal static 789 constructor function. See #7579 790 791v1.38.20: 11/20/2018 792-------------------- 793 - Remove SPLIT_MEMORY option. 794 - Move getTempRet0/setTempRet0 to be JS library functions rather than 795 auto-generated by fastcomp. 796 - Change `strptime()`'s handling of the "%c" to match that of `strftime()`. 797 This is a breaking change for code which depends on the old definition of 798 "%c". 799 800v1.38.19: 11/15/2018 801-------------------- 802 803v1.38.18: 11/08/2018 804-------------------- 805 - Wasm dynamic linking: Rename `tableBase/memoryBase` to 806 `__table_base/__memory_base` (#7467) 807 808v1.38.17: 11/07/2018 809-------------------- 810 - Minify wasm import and export names. This decreases JS and wasm size by 811 minifying the identifiers where JS calls into wasm or vice versa, which 812 are not minifiable by closure or other JS-only tools. This happens in 813 -O3, -Os and above. See #7431 814 815v1.38.16: 11/02/2018 816-------------------- 817 - Breaking change: Do not automatically set EXPORT_ALL for MAIN_MODULES or 818 SIDE_MODULES. This means that you must explicitly export things that will 819 be called from outside (normally, on EXPORTED_FUNCTIONS), or 820 you can manually enable EXPORT_ALL yourself (which returns to the exact 821 same behavior as before). This change brings us in line with more standard 822 dynamic linking, and will match what the LLVM wasm backend will have. 823 See #7312. 824 - Invalid -s flags on the command line are now treated as errors. 825 - Remove BUILD_AS_SHARED_LIBRARY setting. 826 827v1.38.15: 10/25/2018 828-------------------- 829 830v1.38.14: 10/22/2018 831-------------------- 832 - Errors are now reported when functions listed in EXPORTED_FUNCTIONS are not 833 defined. This can be disabled via ERROR_ON_UNDEFINED_SYMBOLS=0. See #7311. 834 835v1.38.13: 10/10/2018 836-------------------- 837 - Support `-s NO_X=1` as an alias for `-s X=0` and vice versa, which 838 simplifies current settings with `NO_`-prefixed names. See #7151. 839 - Various `EMULATED_FUNCTION_POINTER` improvements. See #7108, #7128. 840 - `ERROR_ON_UNDEFINED_SYMBOLS` is now the default. See #7196 841 842v1.38.12: 09/03/2018 843-------------------- 844 - Update SDL2 to 2.0.7. See #7016. 845 - Optionally build using native object files (wasm backend only). 846 For now this is behind a new option flag: `-s WASM_OBJECT_FILES=1`. 847 See #6875. 848 849v1.38.11: 08/02/2018 850-------------------- 851 - Support for loading wasm files in the same dir as the JS file, using 852 node.js/Web-specific techniques as applicable. See #5368 and followups. 853 - Add an API for async side module compilation in wasm. See #6663. 854 - Remove builtin Crunch support. See #6827. 855 856v1.38.10: 07/23/2018 857-------------------- 858 - Change the type of `size_t` and friends from int to long. This may have 859 noticeable effects if you depend on the name mangling of a function that uses 860 `size_t` (like in `EXPORTED_FUNCTIONS`), and you must rebuild source files to 861 bitcode (so your bitcode is in sync with the system libraries after they are 862 rebuilt with this change). Otherwise this should not have any noticeable 863 effects for users. See #5916. 864 865v1.38.9: 07/22/2018 866------------------- 867 - Fix `Module.locateFile` to resolve relative paths to *.wasm, *.mem and other 868 files relatively to the main JavaScript file rather than the current working 869 directory (see #5368). 870 - Add second argument `prefix` to `Module.locateFile` function that contains 871 the path to the JavaScript file where files are loaded from by default. 872 - Remove `Module.*PrefixURL` APIs (use `Module.locateFile` instead). 873 874v1.38.8: 07/06/2018 875------------------- 876 - Fix a regression in 1.38.7 with binaryen no longer bundling binaryen.js 877 (which emscripten doesn't need, that's just for handwritten JS users, but 878 emscripten did check for its presence). 879 880v1.38.7: 07/06/2018 881------------------- 882 - Correctness fix for stack handling in `invoke_*()s`. This may add noticeable 883 overhead to programs using C++ exceptions and (less likely) setjmp/longjmp - 884 please report any issues. See #6666 #6702 885 - Deprecate Module.ENVIRONMENT: Now that we have a compile-time option to set 886 the environment, also having a runtime one on Module is complexity that we 887 are better off without. When Module.ENVIRONMENT is used with ASSERTIONS it 888 will show an error to direct users to the new option (-s ENVIRONMENT=web , or 889 node, etc., at compile time). 890 - Breaking change: Do not export print/printErr by default. Similar to other 891 similar changes (like getValue/setValue). We now use out() and err() 892 functions in JS to print to stdout/stderr respectively. See #6756. 893 894v1.38.6: 06/13/2018 895------------------- 896 897v1.38.5: 06/04/2018 898------------------- 899 - Update libc++ to 6.0, bringing c++17 support (std::byte etc.) 900 901v1.38.4: 05/29/2018 902------------------- 903 - Fix asm.js validation regression from 1.38.2. 904 905v1.38.3: 05/25/2018 906------------------- 907 - Upgrade to LLVM 6.0.1. 908 909v1.38.2: 05/25/2018 910-------------------- 911 - Add ENVIRONMENT option to specify at compile time we only need JS to support 912 one runtime environment (e.g., just the web). When emitting HTML, set that to 913 web so we emit web code only. #6565 914 - Regression in asm.js validation due to cttz optimization #6547 915 916v1.38.1: 05/17/2018 917------------------- 918 - Remove special-case support for `src/struct_info.compiled.json`: Make it a 919 normal cached thing like system libraries, not something checked into the 920 source tree. 921 - Breaking change: Emit WebAssembly by default. Only the default is changed - 922 we of course still support asm.js, and will for a very long time. But 923 changing the default makes sense as the recommended output for most use cases 924 should be WebAssembly, given it has shipped in all major browsers and 925 platforms and is more efficient than asm.js. Build with `-s WASM=0` to 926 disable wasm and use asm.js if you want that (or use `-s 927 LEGACY_VM_SUPPORT=1`, which emits output that can run in older browsers, 928 which includes a bunch of polyfills as well as disables wasm). (#6419) 929 930v1.38.0: 05/09/2018 931------------------- 932 933v1.37.40: 05/07/2018 934-------------------- 935 - Fix regression in 1.37.39 on -s X=@file parsing (see #6497, #6436) 936 937v1.37.39: 05/01/2018 938-------------------- 939 - Regression: Parsing of `-s X=@file` broke if the file contains a newline 940 (see #6436; fixed in 1.37.40) 941 942v1.37.38: 04/23/2018 943-------------------- 944 - Breaking change: Simplify exception handling, disabling it by default. 945 Previously it was disabled by default in -O1 and above and enabled in -O0, 946 which could be confusing. You may notice this change if you need exceptions 947 and only run in -O0 (since if you test in -O1 or above, you'd see you need to 948 enable exceptions manually), in which case you will receive an error at 949 runtime saying that exceptions are disabled by default and that you should 950 build with `-s DISABLE_EXCEPTION_CATCHING=0` to enable them. 951 - Fix regression in 1.37.37 on configure scripts on MacOS (see #6456) 952 953v1.37.37: 04/13/2018 954-------------------- 955 - Regression: configure scripts on MacOS may be broken (see #6456; fixed in 1.37.38) 956 957v1.37.36: 03/13/2018 958-------------------- 959 960v1.37.35: 02/23/2018 961-------------------- 962 - MALLOC option, allowing picking between dlmalloc (previous allocator and 963 still the default) and emmalloc, a new allocator which is smaller and 964 simpler. 965 - Binaryen update that should fix all known determinism bugs. 966 967v1.37.34: 02/16/2018 968-------------------- 969 - `addFunction` is now supported on LLVM wasm backend, but when being used on 970 the wasm backend, you need to provide an additional second argument, a Wasm 971 function signature string. Each character within a signature string 972 represents a type. The first character represents the return type of a 973 function, and remaining characters are for parameter types. 974 - 'v': void type 975 - 'i': 32-bit integer type 976 - 'j': 64-bit integer type (currently does not exist in JavaScript) 977 - 'f': 32-bit float type 978 - 'd': 64-bit float type 979 For asm.js and asm2wasm you can provide the optional second argument, but it 980 isn't needed. For that reason this isn't a breaking change, however, 981 providing the second argument is recommended so that code is portable across 982 all backends and modes. 983 984v1.37.33: 02/02/2018 985-------------------- 986 987v1.37.32: 01/31/2018 988-------------------- 989 990v1.37.31: 01/31/2018 991-------------------- 992 - LLVM and clang updates from upstream (5.0svn, close 5.0 release). 993 994v1.37.30: 01/31/2018 995-------------------- 996 997v1.37.29: 01/24/2018 998-------------------- 999 1000v1.37.28: 01/08/2018 1001-------------------- 1002 - Breaking change: Don't export the `ALLOC_*` numeric constants by default. As 1003 with previous changes, a warning will be shown in `-O0` and when `ASSERTIONS` 1004 are on if they are used. 1005 - Breaking change: Don't export FS methods by default. As with previous 1006 changes, a warning will be shown in `-O0` and when `ASSERTIONS` are on, which 1007 will suggest either exporting the specific methods you need, or using 1008 `FORCE_FILESYSTEM` which will auto export all the main filesystem methods. 1009 Aside from using FS methods yourself, you may notice this change when using a 1010 file package created standalone, that is, by running the file packager 1011 directly and then loading it at run time (as opposed to telling `emcc` to 1012 package the files for you, in which case it would be aware of them at compile 1013 time); you should build with `FORCE_FILESYSTEM` to ensure filesystem support 1014 for that case. 1015 1016v1.37.27: 12/24/2017 1017-------------------- 1018 - Breaking change: Remove the `Runtime` object, and move all the useful methods 1019 from it to simple top-level functions. Any usage of `Runtime.func` should be 1020 changed to `func`. 1021 1022v1.37.26: 12/20/2017 1023-------------------- 1024 - Breaking change: Change `NO_EXIT_RUNTIME` to 1 by default. This means that by 1025 default we don't include code to shut down the runtime, flush stdio streams, 1026 run atexits, etc., which is better for code size. When `ASSERTIONS` is on, we 1027 warn at runtime if there is text buffered in the streams that should be 1028 flushed, or atexits are used. 1029 - Meta-DCE for JS+wasm: remove unused code between JS+wasm more aggressively. 1030 This should not break valid code, but may break code that depended on unused 1031 code being kept around (like using a function from outside the emitted JS 1032 without exporting it - only exported things are guaranteed to be kept alive 1033 through optimization). 1034 1035v1.37.24: 12/13/2017 1036-------------------- 1037 - Breaking change: Similar to the getValue/setValue change from before (and 1038 with the same `ASSERTIONS` warnings to help users), do not export the 1039 following runtime methods by default: ccall, cwrap, allocate, 1040 Pointer_stringify, AsciiToString, stringToAscii, UTF8ArrayToString, 1041 UTF8ToString, stringToUTF8Array, stringToUTF8, lengthBytesUTF8, stackTrace, 1042 addOnPreRun, addOnInit, addOnPreMain, addOnExit, addOnPostRun, 1043 intArrayFromString, intArrayToString, writeStringToMemory, 1044 writeArrayToMemory, writeAsciiToMemory. 1045 1046v1.37.23: 12/4/2017 1047------------------- 1048 - Breaking change: Do not polyfill Math.{clz32, fround, imul, trunc} by 1049 default. A new `LEGACY_VM_SUPPORT` option enables support for legacy 1050 browsers. In `ASSERTIONS` mode, a warning is shown if a polyfill was needed, 1051 suggesting using that option. 1052 - Breaking change: Do not export getValue/setValue runtime methods by default. 1053 You can still use them by calling them directly in code optimized with the 1054 main file (pre-js, post-js, js libraries; if the optimizer sees they are 1055 used, it preserves them), but if you try to use them on `Module` then you 1056 must export them by adding them to `EXTRA_EXPORTED_RUNTIME_METHODS`. In `-O0` 1057 or when `ASSERTIONS` is on, a run-time error message explains that, if they 1058 are attempted to be used incorrectly. 1059 1060v1.37.17: 7/25/2017 1061------------------ 1062 - Updated to libc++'s "v2" ABI, which provides better alignment for string data 1063 and other improvements. This is an ABI-incompatible change, so bitcode files 1064 from previous versions will not be compatible. 1065 1066v1.37.13: 5/26/2017 1067------------------- 1068 - Improved Android support for emrun. 1069 - Duplicate function elimination fixes (#5186) 1070 - Fix problem with embinding derived classes (#5193) 1071 - Fix CMake compiler detection when EMCC_SKIP_SANITY_CHECK=1 is used. (#5145) 1072 - Implemented GLFW Joystick API (#5175) 1073 - Fixed a bug with emcc --clear-ports command (#5248) 1074 - Updated Binaryen to version 33. 1075 - Full list of changes: 1076 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.37.12...1.37.13 1077 - Emscripten-LLVM: no changes. 1078 - Emscripten-Clang: no changes. 1079 1080v1.37.12: 5/1/2017 1081------------------ 1082 - Added emscripten-legalize-javascript-ffi option to LLVM to allow disabling JS FFI mangling 1083 - Full list of changes: 1084 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.37.11...1.37.12 1085 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.37.11...1.37.12 1086 - Emscripten-Clang: no changes. 1087 1088v1.37.11: 5/1/2017 1089------------------ 1090 - Added missing SIGSTKSZ define after musl 1.1.15 update (#5149) 1091 - Fix emscripten_get_mouse_status (#5152) 1092 - Fix _mm_set_epi64x() function (#5103) 1093 - Fix issue with number of gamepads connected at initial page load (#5169, #5170) 1094 - Full list of changes: 1095 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.37.10...1.37.11 1096 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.37.10...1.37.11 1097 - Emscripten-Clang: https://github.com/emscripten-core/emscripten-fastcomp-clang/compare/1.37.10...1.37.11 1098 1099v1.37.10: 4/20/2017 1100------------------- 1101 - Added stub for pthread_setcancelstate for singlethreaded runs. 1102 - Fixed an outlining bug on function returns (#5080) 1103 - Implemented new parallel test runner architecture (#5074) 1104 - Added Cocos2D to Emscripten ports. (-s USE_COCOS2D=1) 1105 - Updated Binaryen to version 32, which migrates Emscripten to use the new 1106 WebAssembly Names section. This is a forwards and backwards breaking change 1107 with respect to reading debug symbol names in Wasm callstacks. Use of the new 1108 Names section format first shipped in Emscripten 1.37.10, Binaryen version 1109 32, Firefox 55, Firefox Nightly 2017-05-18 and Chrome 59; earlier versions 1110 still used the old format. For more information, see 1111 https://github.com/WebAssembly/design/pull/984 and 1112 https://github.com/WebAssembly/binaryen/pull/933. 1113 - Full list of changes: 1114 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.37.9...1.37.10 1115 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.37.9...1.37.10 1116 - Emscripten-Clang: no changes. 1117 1118v1.37.9: 3/23/2017 1119------------------ 1120 - Added new build feature -s GL_PREINITIALIZED_CONTEXT=1 which allows pages to 1121 manually precreate the GL context they use for customization purposes. 1122 - Added a custom callback hook Module.instantiateWasm() which allows user shell 1123 HTML file to manually perform Wasm instantiation for preloading and progress 1124 bar purposes. 1125 - Added a custom callback hook Module.getPreloadedPackage() to file preloader 1126 code to allow user shell HTML file to manually download .data files for 1127 preloading and progress bar purposes. 1128 - Full list of changes: 1129 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.37.8...1.37.9 1130 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.37.8...1.37.9 1131 - Emscripten-Clang: no changes. 1132 1133v1.37.8: 3/17/2017 1134------------------ 1135 - Fixed a bug with robust_list initialization on pthreads build mode. 1136 - Full list of changes: 1137 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.37.7...1.37.8 1138 - Emscripten-LLVM: no changes. 1139 - Emscripten-Clang: no changes. 1140 1141v1.37.7: 3/15/2017 1142------------------ 1143 - Updated to LLVM 4.0. 1144 - Full list of changes: 1145 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.37.6...1.37.7 1146 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.37.6...1.37.7 1147 - Emscripten-Clang: https://github.com/emscripten-core/emscripten-fastcomp-clang/compare/1.37.6...1.37.7 1148 1149v1.37.6: 3/15/2017 1150------------------ 1151 - Implemented readdir() function for WORKERFS. 1152 - Fixed bugs with Fetch API (#4995, #5027) 1153 - Full list of changes: 1154 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.37.5...1.37.6 1155 - Emscripten-LLVM: no changes. 1156 - Emscripten-Clang: no changes. 1157 1158v1.37.5: 3/13/2017 1159------------------ 1160 - Updated musl to version 1.1.15 from earlier version 1.0.5. 1161 - Full list of changes: 1162 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.37.4...1.37.5 1163 - Emscripten-LLVM: no changes. 1164 - Emscripten-Clang: no changes. 1165 1166v1.37.4: 3/13/2017 1167------------------ 1168 - Fixed glGetUniformLocation() to work according to spec with named uniform blocks. 1169 - Fixed WebAssembly Memory.grow() to work. 1170 - Switched to 16KB page size from earlier 64KB. 1171 - Optimize alBufferData() operation. 1172 - Fixed a resource lookup issue with multiple OpenAL audio contexts. 1173 - Full list of changes: 1174 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.37.3...1.37.4 1175 - Emscripten-LLVM: no changes. 1176 - Emscripten-Clang: no changes. 1177 1178v1.37.3: 2/16/2017 1179------------------ 1180 - Updated Binaryen to version 0x01. First official stable WebAssembly support version. (#4953) 1181 - Optimized memcpy and memset with unrolling and SIMD, when available. 1182 - Improved Emscripten toolchain profiler to track more hot code. 1183 - Added new linker flag -s WEBGL2_BACKWARDS_COMPATIBILITY_EMULATION=1 to allow 1184 simultaneously targeting WebGL 1 and WebGL 2. 1185 - Optimize Emscripten use of multiprocessing pools. 1186 - More WebGL 2 garbage free optimizations. 1187 - Full list of changes: 1188 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.37.2...1.37.3 1189 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.37.2...1.37.3 1190 - Emscripten-Clang: no changes. 1191 1192v1.37.2: 1/31/2017 1193------------------ 1194 - Fixed a build error with boolean SIMD types. 1195 - Improved WebAssembly support, update Binaryen to version 22. 1196 - Update GL, GLES, GLES2 and GLES3 headers to latest upstream Khronos versions. 1197 - Implement support for new garbage free WebGL 2 API entrypoints which improve 1198 performance and reduce animation related stuttering. 1199 - Fixed a bug where -s USE_PTHREADS builds would not have correct heap size if 1200 -s TOTAL_MEMORY is not being used. 1201 - Fixed array type issue that prevented glTexImage3D() and glTexSubImage3D() 1202 from working. 1203 - Full list of changes: 1204 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.37.1...1.37.2 1205 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.37.1...1.37.2 1206 - Emscripten-Clang: no changes. 1207 1208v1.37.1: 12/26/2016 1209------------------- 1210 - Implemented new Fetch API for flexible multithreaded XHR and IndexedDB 1211 access. 1212 - Implemented initial version of new ASMFS filesystem for multithreaded 1213 filesystem operation. 1214 - Full list of changes: 1215 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.37.0...1.37.1 1216 - Emscripten-LLVM: no changes. 1217 - Emscripten-Clang: no changes. 1218 1219v1.37.0: 12/23/2016 1220------------------- 1221 - Added support for LLVM sin&cos intrinsics. 1222 - Fix GLFW mouse button mappings (#4317, #4659) 1223 - Add support for --emit-symbol-map to wasm 1224 - Fixed handling of an invalid path in chdir (#4749) 1225 - Added new EMSCRIPTEN_STRICT mode, which can be enabled to opt in to removing 1226 support for deprecated behavior. 1227 - Remove references to Web Audio .setVelocity() function, which has been 1228 removed from the spec. 1229 - Full list of changes: 1230 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.36.14...1.37.0 1231 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.36.14...1.37.0 1232 - Emscripten-Clang: no changes. 1233 1234v1.36.14: 11/3/2016 1235------------------- 1236 - Added support to emscripten_async_wget() for relative paths. 1237 - Fixed FS.mkdirTree('/') to work. 1238 - Updated SDL 2 port to version 12. 1239 - Added more missing pthreads stubs. 1240 - Normalize system header includes to use the preferred form #include 1241 <emscripten/foo.h> to avoid polluting header include namespaces. 1242 - Fixed a bug where transitioning to fullscreen could cause a stack overflow in GLFW. 1243 - Added new system CMake option 1244 -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON to choose if static 1245 libraries should be LLVM bitcode instead of .a files. 1246 - Improved SIMD support to be more correct to the spec. 1247 - Updated Binaryen to version 18. (#4674) 1248 - Fixed dlopen with RTLD_GLOBAL parameter. 1249 - Full list of changes: 1250 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.36.13...1.36.14 1251 - Emscripten-LLVM: no changes. 1252 - Emscripten-Clang: no changes. 1253 1254v1.36.13: 10/21/2016 1255-------------------- 1256 - Pass optimization settings to asm2wasm. 1257 - Fix to exporting emscripten_builtin_malloc() and emscripten_builtin_free() 1258 when heap is split to multiple parts. 1259 - Full list of changes: 1260 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.36.12...1.36.13 1261 - Emscripten-LLVM: no changes. 1262 - Emscripten-Clang: no changes. 1263 1264v1.36.12: 10/20/2016 1265-------------------- 1266 - Improved Emscripten toolchain profiler with more data. (#4566) 1267 - Export dlmalloc() and dlfree() as emscripten_builtin_malloc() and 1268 emscripten_builtin_free() to allow user applications to hook into memory 1269 allocation (#4603) 1270 - Improved asm.js -s USE_PTHREADS=2 build mode compatibility when 1271 multithreading is not supported. 1272 - Improved WebGL support with closure compiler (#4619) 1273 - Improved Bianaryen WebAssembly support 1274 - Added support for GL_disjoint_timer_query extension (#4575) 1275 - Improved Emscripten compiler detection with CMake (#4129, #4314, #4318) 1276 - Added support for int64 in wasm. 1277 - Optimize small constant length memcpys in wasm. 1278 - Full list of changes: 1279 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.36.11...1.36.12 1280 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.36.11...1.36.12 1281 - Emscripten-Clang: no changes. 1282 1283v1.36.11: 9/24/2016 1284------------------- 1285 - Added new runtime functions 1286 emscripten_sync/async/waitable_run_in_main_runtime_thread() for proxying 1287 calls with pthreads (#4569) 1288 - Full list of changes: 1289 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.36.10...1.36.11 1290 - Emscripten-LLVM: no changes. 1291 - Emscripten-Clang: no changes. 1292 1293v1.36.10: 9/24/2016 1294------------------- 1295 - Improved compiler logging print messages on first run experience. (#4501) 1296 - Fixed log printing in glFlushMappedBufferRange() and glGetInfoLog() 1297 functions. (#4521) 1298 - Added setjmp/longjmp handling for wasm. 1299 - Improved support for --proxy-to-worker build mode. 1300 - Improved GLES3 support for glGet() features that WebGL2 does not have. (#4514) 1301 - Added support for implementation defined glReadPixels() format. 1302 - Improved WebGL 2 support with closure compilter. (#4554) 1303 - Implemented support for nanosleep() when building in pthreads mode (#4578) 1304 - Added support for llvm_ceil_f64 and llvm_floor_f64 intrinsics. 1305 - Full list of changes: 1306 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.36.9...1.36.10 1307 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.36.9...1.36.10 1308 - Emscripten-Clang: no changes. 1309 1310v1.36.9: 8/24/2016 1311------------------ 1312 - Fixed glGet for GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING to work. (#1330) 1313 - Move the DYNAMICTOP variable from JS global scope to inside the heap so that 1314 the value is shared to multithreaded applications. This removes the global 1315 runtime variable DYNAMICTOP in favor of a new variable DYNAMICTOP_PTR. 1316 (#4391, #4496) 1317 - Implemented brk() system function. 1318 - Fixed --output-eol to work with --proxy-to-worker mode. 1319 - Improved reported error message when execution fails to stack overflow. 1320 - Full list of changes: 1321 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.36.8...1.36.9 1322 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.36.8...1.36.9 1323 - Emscripten-Clang: no changes. 1324 1325v1.36.8: 8/20/2016 1326------------------ 1327 - Fixed a memory leak in ctor_evaller.py on Windows (#4446) 1328 - Migrate to requiring CMake 3.4.3 as the minimum version for Emscripten CMake 1329 build integration support. 1330 - Fixed an issue that prevented -s INLINING_LIMIT from working (#4471) 1331 - Fixed a bug with Building.llvm_nm interpretation of defined symbols (#4488) 1332 - Add support for DISABLE_EXCEPTION_CATCHING and EXCEPTION_CATCHING_WHITELIST 1333 options for wasm. 1334 - Added new emprofile.py script which can be used to profile toolchain wide 1335 performance. (#4491) 1336 - Added new linker flag --output-eol, which specifices what kind of line 1337 endings to generate to the output files. (#4492) 1338 - Fixed a Windows bug where aborting execution with Ctrl-C might hang 1339 Emscripten to an infinite loop instead. (#4494) 1340 - Implement support for touch events to GLUT (#4493) 1341 - Deprecated unsafe function writeStringToMemory() from src/preamble.js. Using 1342 stringToUTF8() is recommended instead. (#4497) 1343 - Full list of changes: 1344 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.36.7...1.36.8 1345 - Emscripten-LLVM: no changes. 1346 - Emscripten-Clang: no changes. 1347 1348v1.36.7: 8/8/2016 1349----------------- 1350 - Updated to latest upstream LLVM 3.9. 1351 - Full list of changes: 1352 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.36.6...1.36.7 1353 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.36.6...1.36.7 1354 - Emscripten-Clang: https://github.com/emscripten-core/emscripten-fastcomp-clang/compare/1.36.6...1.36.7 1355 1356v1.36.6: 8/8/2016 1357----------------- 1358 - Fixed wheelDelta for MSIE (#4316) 1359 - Fixed inconsistencies in fullscreen API signatures (#4310, #4318, #4379) 1360 - Changed the behavior of Emscripten WebGL createContext() to not forcibly set 1361 CSS style on created canvases, but let page customize the style themselves 1362 (#3406, #4194 and #4350, #4355) 1363 - Adjusted the reported GL_VERSION field to adapt to the OpenGL ES 1364 specifications (#4345) 1365 - Added support for GLES3 GL_MAJOR/MINOR_VERSION fields. (#4368) 1366 - Improved -s USE_PTHREADS=1 and --proxy-to-worker linker options to be 1367 mutually compatible. (#4372) 1368 - Improved IDBFS to not fail on Safari where IndexedDB support is spotty 1369 (#4371) 1370 - Improved SIMD.js support when using Closure minifier. (#4374) 1371 - Improved glGetString to be able to read fields from WEBGL_debug_renderer_info 1372 extension. (#4381) 1373 - Fixed an issue with glFramebufferTextureLayer() not working correctly. 1374 - Fixed a bug with std::uncaught_exception() support (#4392) 1375 - Implemented a multiprocess lock to access the Emscripten cache. (#3850) 1376 - Implemented support for the pointerlockerror event in HTML5 API (#4373) 1377 - Report WebGL GLSL version number in GL_SHADING_LANGUAGE_VERSION string (#4365) 1378 - Optimized llvm_ctpop_i32() and conversion of strings from C to JS side 1379 (#4402, #4403) 1380 - Added support for the OffscreenCanvas proposal, and transferring canvases to 1381 offscreen in pthreads build mode, linker flag -s OFFSCREENCANVAS_SUPPORT=0/1 1382 (#4412) 1383 - Fixed an issue after updating to new LLVM version that response files passed 1384 to llvm-link must have forward slashes (#4434) 1385 - Fixed a memory leak in relooper in LLVM. 1386 - Full list of changes: 1387 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.36.5...1.36.6 1388 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.36.5...1.36.6 1389 - Emscripten-Clang: no changes. 1390 1391v1.36.5: 5/24/2016 1392------------------ 1393 - Added support for passing custom messages when running in web worker. 1394 - Improved fp128 support when targeting WebAssembly. 1395 - Updated cpuprofiler.js to support tracing time spent in WebGL functions. 1396 - Fixed an issue with glFenceSync() function call signature (#4260, #4339) 1397 - Added missing zero argument version of emscripten_sync_run_in_main_thread(). 1398 - Improves support for targeting pthreads when using Closure minifier (#4348). 1399 - Fixed an issue where pthreads enabled code did not correctly validate as asm.js 1400 - Fixed an issue with incorrect SIMD.js related imports (#4341) 1401 - Full list of changes: 1402 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.36.4...1.36.5 1403 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.36.4...1.36.5 1404 - Emscripten-Clang: no changes. 1405 1406v1.36.4: 5/9/2016 1407----------------- 1408 - Added EM_TRUE and EM_FALSE #defines to html5.h. 1409 - Fixed an issue with GLFW window and framebuffer size callbacks. 1410 - Added support for more missing WebGL 2 texture formats (#4277) 1411 - Added support for source files with no extension. 1412 - Updated emrun.py to latest version, adds support to precompressed content and 1413 running as just a web server without launching a browser. 1414 - Updated experimental WebAssembly support to generate 0xb version code. 1415 - Automatically build Binaryen when needed. 1416 - Updated libc++ to SVN revision 268153. (#4288) 1417 - Full list of changes: 1418 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.36.3...1.36.4 1419 - Emscripten-LLVM: no changes. 1420 - Emscripten-Clang: no changes. 1421 1422v1.36.3: 4/27/2016 1423------------------ 1424 - Fixed a deadlock bug with pthreads support. 1425 - Remove sources from temporary garbage being generated in OpenAL code (#4275) 1426 - Added support for calling alert() from pthreads code. 1427 - Full list of changes: 1428 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.36.2...1.36.3 1429 - Emscripten-LLVM: no changes. 1430 - Emscripten-Clang: no changes. 1431 1432v1.36.2: 4/22/2016 1433------------------ 1434 - Improve support for targeting WebAssembly with Binaryen. 1435 - Improve support for LLVM's WebAssembly backend (EMCC_WASM_BACKEND=1 1436 environment variable). 1437 - Separate out emscripten cache structure to asmjs and wasm directories. 1438 - Fix a bug where Emscripten would spawn too many unused python subprocesses (#4158) 1439 - Optimize Emscripten for large asm.js projects. 1440 - Added sdl2_net to Emscripten ports. 1441 - Updated to latest version of the SIMD polyfill (#4165) 1442 - Fixed an issue with missing texture formats support in GLES 3 (#4176) 1443 - Added a new WebAssembly linker option -s BINARYEN_IMPRECISE=1 (default=0) 1444 which mutes potential traps from WebAssembly int div/rem by zero and 1445 float-to-int conversions. 1446 - Added support for EXT_color_buffer_float extension. 1447 - Fixed behavior of SSE shift operations (#4165). 1448 - Fixed a bug where ctor_evaller.py (-Oz builds) would hang on Windows. 1449 - Fixed a bug where emscripten_set_main_loop() with EM_TIMING_SETTIMEOUT would 1450 incorrectly compute the delta times (#4200, #4208) 1451 - Update pthreads support to latest proposed spec version. (#4212, #4220) 1452 - Fixed an unresolved symbol linker error in embind (#4225) 1453 - Fix file_packager.py --use-preload-cache option to also work on Safari and 1454 iOS (#2977, #4253) 1455 - Added new file packager option --indexedDB-name to allow specifying the 1456 database name to use for the cache (#4219) 1457 - Added DWARF style debugging information. 1458 - Full list of changes: 1459 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.36.1...1.36.2 1460 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.36.1...1.36.2 1461 - Emscripten-Clang: no changes. 1462 1463v1.36.1: 3/8/2016 1464----------------- 1465 - Fixed glfwSetWindowSizeCallback to conform to GLFW2 API. 1466 - Update OpenAL sources only when the browser window is visible to avoid 1467 occasional stuttering static glitches when the page tab is hidden. (#4107) 1468 - Implemented LLVM math intrinsics powi, trunc and floor. 1469 - Added support for SDL_GL_ALPHA_SIZE in GL context initialization. (#4125) 1470 - Added no-op stubs for several pthread functions when building without 1471 pthreads enabled (#4130) 1472 - Optimize glUniform*fv and glVertexAttrib*fv functions to generate less 1473 garbage and perform much faster (#4128) 1474 - Added new EVAL_CTORS optimization pass which evaluates global data 1475 initializer constructors at link time, which would improve startup time and 1476 reduce code size of these ctors. 1477 - Implemented support for OpenAL AL_PITCH option. 1478 - Implemented new build options -s STACK_OVERFLOW_CHECK=0/1/2 which adds 1479 runtime stack overrun checks. 0: disabled, 1: minimal, between each frame, 2: 1480 at each explicit JS side stack allocation call to allocate(). 1481 - Fixed an issue with -s SPLIT_MEMORY mode where an unsigned 32-bit memory 1482 access would come out as signed. (#4150) 1483 - Fixed asm.js validation in call handlers to llvm_powi_f*. 1484 - Full list of changes: 1485 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.36.0...1.36.1 1486 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.36.0...1.36.1 1487 - Emscripten-Clang: no changes. 1488 1489v1.36.0: 2/23/2016 1490------------------ 1491 - Fixed an OpenAL bug where OpenAL sources would not respect global volume setting. 1492 - Fixed an issue where alGetListenerf() with AL_GAIN would not return the 1493 correct value. (#4091) 1494 - Fixed an issue where setting alListenerf() with AL_GAIN would not set the 1495 correct value. (#4092) 1496 - Implemented new JS optimizer "Duplicate Function Elimination" pass which 1497 collapses identical functions to save code size. 1498 - Implemented the _Exit() function. 1499 - Added support for SSE3 and SSSE3 intrinsics (#4099) and partially for SSE 4.1 1500 intrinsics (#4030, #4101) 1501 - Added support for -include-pch flag (#4086) 1502 - Fixed a regex syntax in ccall on Chrome Canary (#4111) 1503 - Full list of changes: 1504 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.35.23...1.36.0 1505 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.35.23...1.36.0 1506 - Emscripten-Clang: no changes. 1507 1508v1.35.23: 2/9/2016 1509------------------ 1510 - Provide $NM environment variable to point to llvm-nm when running 1511 emconfigure, which helps e.g. libjansson to build (#4036) 1512 - Fixed glGetString(GL_SHADING_LANGUAGE_VERSION) to return appropriate result 1513 depending on if running on WebGL1 vs WebGL2, instead of hardcoding the result 1514 (#4040) 1515 - Fixed a regression with CMake try_run() possibly failing, caused by the 1516 addition of CMAKE_CROSSCOMPILING_EMULATOR in v1.32.3. 1517 - Fixed CMake to work in the case when NODE_JS is an array containing 1518 parameters to be passed to Node.js. (#4045) 1519 - Fixed a memory issue that caused the Emscripten memory initializer file 1520 (.mem.js) to be unnecessarily retained in memory during runtime (#4044) 1521 - Added support for complex valued mul and div ops. 1522 - Added new option "Module.environment" which allows overriding the runtime ENVIRONMENT_IS_WEB/ENVIRONMENT_IS_WORKER/ENVIRONMENT_IS_NODE/ENVIRONMENT_IS_SHELL fields. 1523 - Fixed an issue with SAFE_HEAP methods in async mode (#4046) 1524 - Fixed WebSocket constructor to work in web worker environment (#3849) 1525 - Fixed a potential issue with some browsers reporting gamepad axis values outside \[-1, 1\] (#3602) 1526 - Changed libcxxabi to be linked in last, so that it does not override weakly 1527 linked methods in libcxx (#4053) 1528 - Implemented new JSDCE code optimization pass which removes at JS link stage 1529 dead code that is not referenced anywhere (in addition to LLVM doing this for 1530 C++ link stage). 1531 - Fixed a Windows issue where embedding memory initializer as a string in JS 1532 code might cause corrupted output. (#3854) 1533 - Fixed an issue when spaces are present in directory names in response files 1534 (#4062) 1535 - Fixed a build issue when using --tracing and -s ALLOW_MEMORY_GROWTH=1 1536 simultaneously (#4064) 1537 - Greatly updated Emscripten support for SIMD.js intrinsics (non-SSE or NEON) 1538 - Fixed an issue where compiler would not generate a link error when JS library 1539 function depended on a nonexisting symbol. (#4077) 1540 - Removed UTF16 and UTF32 marshalling code from being exported by default. 1541 - Removed the -s NO_BROWSER linker option and automated the detection of when 1542 that option is needed. 1543 - Removed the JS implemented C++ symbol name demangler, now always depend on 1544 the libcxxabi compiled one. 1545 - Fixed an issue where Emscripten linker would redundantly generate missing 1546 function stubs for some functions that do exist. 1547 - Full list of changes: 1548 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.35.22...1.35.23 1549 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.35.22...1.35.23 1550 - Emscripten-Clang: no changes. 1551 1552v1.35.22: 1/13/2016 1553------------------- 1554 - Updated to latest upstream LLVM trunk as of January 13th. 1555 - Bumped up the required LLVM version from LLVM 3.8 to LLVM 3.9. 1556 - Full list of changes: 1557 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.35.21...1.35.22 1558 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.35.21...1.35.22 1559 - Emscripten-Clang: https://github.com/emscripten-core/emscripten-fastcomp-clang/compare/1.35.21...1.35.22 1560 1561v1.35.21: 1/13/2016 1562------------------- 1563 - Improved support for handling GLFW2 keycodes. 1564 - Improved emranlib, system/bin/sdl-config and system/bin/sdl2-config to be 1565 executable in both python2 and python3. 1566 - Fixed build flags -s AGGRESSIVE_VARIABLE_ELIMINATION=1 and -s USE_PTHREADS=2 1567 to correctly work when run on a browser that does not support pthreads. 1568 - Fixed a build issue that caused sequences of \r\r\n to be emitted on Windows. 1569 - Fixed an issue that prevented building LLVM on Visual Studio 2015 1570 (emscripten-fastcomp-clang #7) 1571 - Full list of changes: 1572 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.35.20...1.35.21 1573 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.35.20...1.35.21 1574 - Emscripten-Clang: https://github.com/emscripten-core/emscripten-fastcomp-clang/compare/1.35.20...1.35.21 1575 1576v1.35.20: 1/10/2016 1577------------------- 1578 - Fixed -s USE_PTHREADS compilation mode to account that SharedArrayBuffer 1579 specification no longer allows futex waiting on the main thread. (#4024) 1580 - Added new python2 vs python3 compatibility wrappers for emcmake, emconfigure, emmake and emar. 1581 - Fixed atomicrmw i64 codegen (#4025) 1582 - Optimized codegen to simplify "x != 0" to just "x" when output is a boolean. 1583 - Fixed a compiler crash when generating atomics code in debug builds of LLVM. 1584 - Fixed a compiler crash when generating SIMD.js code that utilizes 1585 non-canonical length vectors (e.g. <float x 3>) 1586 - Full list of changes: 1587 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.35.19...1.35.20 1588 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.35.19...1.35.20 1589 - Emscripten-Clang: no changes. 1590 1591v1.35.19: 1/7/2016 1592------------------ 1593 - Updated to latest upstream LLVM trunk as of January 7th. 1594 - Full list of changes: 1595 - Emscripten: no changes. 1596 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.35.18...1.35.19 1597 - Emscripten-Clang: https://github.com/emscripten-core/emscripten-fastcomp-clang/compare/1.35.18...1.35.19 1598 1599v1.35.18: 1/7/2016 1600------------------ 1601 - Implemented getpeername() and fixed issues with handling getsockname() (#3997) 1602 - Fixed an issue with daylight saving time in mktime() (#4001) 1603 - Optimized pthreads code to avoid unnecessary FFI transitions (#3504) 1604 - Fixed issues with strftime() (#3993) 1605 - Deprecated memory growth support in asm.js. 1606 - Implemented llvm_bitreverse_i32() (#3976) 1607 - Fixed missing include header that affected building relooper on some compilers. 1608 - Full list of changes: 1609 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.35.17...1.35.18 1610 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.35.17...1.35.18 1611 - Emscripten-Clang: no changes. 1612 1613v1.35.17: 1/4/2016 1614------------------ 1615 - Updated to latest upstream LLVM trunk as of January 4th. 1616 - Full list of changes: 1617 - Emscripten: no changes. 1618 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.35.16...1.35.17 1619 - Emscripten-Clang: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.35.16...1.35.17 1620 1621v1.35.16: 1/4/2016 1622------------------ 1623 - Improved support for -s USE_PTHREADS=2 build mode and added support for Atomics.exchange(). 1624 - Full list of changes: 1625 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.35.15...1.35.16 1626 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.35.15...1.35.16 1627 - Emscripten-Clang: no changes. 1628 1629v1.35.15: 1/4/2016 1630------------------ 1631 - Fixed an error with glClearbufferfv not working. (#3961) 1632 - Improved file packager code so that file:// URLs work in Chrome too (#3965) 1633 - Fixed issues with the --memoryprofiler UI. 1634 - Fixed a Windows issue when generating system libraries in cache (#3939) 1635 - Fixed a regression from v1.35.13 where GLES2 compilation would not work when 1636 -s USE_PTHREADS=1 was passed. 1637 - Added support for WebIDL arrays as input parameters to WebIDL binder. 1638 - Updated build support when using the LLVM wasm backend. 1639 - Added new linker option --threadprofiler which generates a threads dashboard 1640 on the generated page for threads status overview. (#3971) 1641 - Improved backwards compatibility of building on GCC 4.3 - 4.6. 1642 - Fixed an asm.js validation issue when building against updated SIMD.js specification. (#3986) 1643 - Improved Rust support. 1644 - Full list of changes: 1645 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.35.14...1.35.15 1646 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.35.14...1.35.15 1647 - Emscripten-Clang: no changes. 1648 1649v1.35.14: 12/15/2015 1650-------------------- 1651 - Updated to latest upstream LLVM trunk as of December 15th. 1652 - Full list of changes: 1653 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.35.13...1.35.14 1654 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.35.13...1.35.14 1655 - Emscripten-Clang: https://github.com/emscripten-core/emscripten-fastcomp-clang/compare/1.35.13...1.35.14 1656 1657v1.35.13: 12/15/2015 1658-------------------- 1659 - Updated -s USE_PTHREADS code generation to reflect that the SharedInt*Array 1660 hierarchy no longer exists in the SharedArrayBuffer spec. 1661 - Removed references to Atomic.fence() which no longer is part of the 1662 SharedArrayBuffer specification. 1663 - Fixed an issue where JS code minifiers might generate bad code for cwrap 1664 (#3945) 1665 - Updated compiler to issue a warning when --separate-asm is being used and 1666 output suffix is .js. 1667 - Added new build option -s ONLY_MY_CODE which aims to eliminate most of the 1668 Emscripten runtime and generate a very minimal compiler output. 1669 - Added new build option -s WASM_BACKEND=0/1 which controls whether to utilize 1670 the upstream LLVM wasm emitting codegen backend. 1671 - Full list of changes: 1672 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.35.12...1.35.13 1673 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.35.12...1.35.13 1674 - Emscripten-Clang: no changes. 1675 1676v1.35.12: 11/28/2015 1677-------------------- 1678 - Update to latest upstream LLVM trunk as of November 28th. 1679 - Fix Emscripten to handle new style format outputted by llvm-nm. 1680 - Added new build option BINARYEN_METHOD to allow choosing which wasm 1681 generation method to use. 1682 - Updates to Binaryen support. 1683 - Full list of changes: 1684 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.35.11...1.35.12 1685 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.35.11...1.35.12 1686 - Emscripten-Clang: https://github.com/emscripten-core/emscripten-fastcomp-clang/compare/1.35.11...1.35.12 1687 1688v1.35.11: 11/27/2015 1689-------------------- 1690 - Updated atomics test to stress 64-bit atomics better (#3892) 1691 - Full list of changes: 1692 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.35.10...1.35.11 1693 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.35.10...1.35.11 1694 - Emscripten-Clang: no changes. 1695 1696v1.35.10: 11/25/2015 1697-------------------- 1698 - Integration with Binaryen. 1699 - Add a performance warning when multiple FS.syncfs() calls are in flight simultaneously. 1700 - Correctly pass GLFW_REPEAT when sending key press repeats. 1701 - Improved filesystem performance when building in multithreaded mode (#3923) 1702 - Improve error detection when data file fails to load. 1703 - Clarified that -s NO_DYNAMIC_EXECUTION=1 and -s RELOCATABLE=1 build modes are mutually exclusive. 1704 - Added new build option -s NO_DYNAMIC_EXECUTION=2 which demotes eval() errors 1705 to warnings at runtime, useful for iterating fixes in a codebase for multiple 1706 eval()s (#3930) 1707 - Added support to Module.locateFile(filename) to locate the pthread-main.js file (#3500) 1708 - Changed -s USE_PTHREADS=2 and -s PRECISE_F32=2 to imply --separate-asm 1709 instead of requiring it, to be backwards compatible (#3829, #3933) 1710 - Fixed bad codegen for some 64-bit atomics (#3892, #3936) 1711 - When emitting NaN canonicalization warning, also print the location in code 1712 where it occurs. 1713 - Full list of changes: 1714 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.35.9...1.35.10 1715 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.35.9...1.35.10 1716 - Emscripten-Clang: no changes. 1717 1718v1.35.9: 11/12/2015 1719------------------- 1720 - Implement glfwSetInputMode when mode is GLFW_CURSOR and value is GLFW_CURSOR_NORMAL|GLFW_CURSOR_DISABLED 1721 - Add explicit abort() when dlopen() is called without linking support 1722 - Make emcc explicitly reinvoke itself from python2 if called from python3. 1723 - Optimize memory initializer to omit zero-initialized values (#3907) 1724 - Full list of changes: 1725 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.35.8...1.35.9 1726 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.35.8...1.35.9 1727 - Emscripten-Clang: no changes. 1728 1729v1.35.8: 11/10/2015 1730------------------- 1731 - Removed obsoleted EXPORTED_GLOBALS build option. 1732 - Export filesystem as global object 'FS' in Emscripten runtime. 1733 - Fixed realpath() function on directories. 1734 - Fixed round() and roundf() to work when building without -s PRECISE_F32=1 and 1735 optimize these to be faster (#3876) 1736 - Full list of changes: 1737 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.35.7...1.35.8 1738 - Emscripten-LLVM: no changes. 1739 - Emscripten-Clang: no changes. 1740 1741v1.35.7: 11/4/2015 1742------------------ 1743 - Updated to latest upstream LLVM trunk version as of November 4th. 1744 - Full list of changes: 1745 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.35.6...1.35.7 1746 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.35.6...1.35.7 1747 - Emscripten-Clang: https://github.com/emscripten-core/emscripten-fastcomp-clang/compare/1.35.6...1.35.7 1748 1749v1.35.6: 11/4/2015 1750------------------ 1751 - This tag was created for technical purposes, and has no changes compared to 1752 v1.35.6. 1753 1754v1.35.5: 11/4/2015 1755------------------ 1756 - Removed Content-Length and Connection: close headers in POST requests. 1757 - Migrate to using the native C++11-implemented optimizer by default. 1758 - Fixed call to glDrawBuffers(0, *); (#3890) 1759 - Fixed lazy file system to work with closure (#3842) 1760 - Fixed gzip compression with lazy file system (#3837) 1761 - Added no-op gracefully failing stubs for process spawn functions (#3819) 1762 - Clarified error message that memory growth is not supported with shared modules (#3893) 1763 - Initial work on wasm support in optimizer 1764 - Full list of changes: 1765 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.35.4...1.35.5 1766 - Emscripten-LLVM: no changes. 1767 - Emscripten-Clang: no changes. 1768 1769v1.35.4: 10/26/2015 1770------------------- 1771 - Move to legalization in the JS backend. 1772 - Full list of changes: 1773 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.35.3...1.35.4 1774 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.35.3...1.35.4 1775 - Emscripten-Clang: https://github.com/emscripten-core/emscripten-fastcomp-clang/compare/1.35.3...1.35.4 1776 1777v1.35.3: 10/26/2015 1778------------------- 1779 - Ignore O_CLOEXEC on NODEFS (#3862) 1780 - Improved --js-library support in CMake by treating these as libraries (#3840) 1781 - Still support -Wno-warn-absolute-paths (#3833) 1782 - Add support to zext <4 x i1> to <4x i32> 1783 - Emit emscripten versions of llvm and clang in clang --version 1784 - Full list of changes: 1785 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.35.2...1.35.3 1786 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.35.2...1.35.3 1787 - Emscripten-Clang: https://github.com/emscripten-core/emscripten-fastcomp-clang/compare/1.35.2...1.35.3 1788 1789v1.35.2: 10/20/2015 1790------------------- 1791 - Rebase against upstream LLVM "google/stable" branch, bringing us to LLVM 3.8. 1792 - Full list of changes: 1793 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.35.1...1.35.2 1794 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.35.1...1.35.2 1795 - Emscripten-Clang: https://github.com/emscripten-core/emscripten-fastcomp-clang/compare/1.35.1...1.35.2 1796 1797v1.35.1: 10/20/2015 1798------------------- 1799 - Fixed a bug where passing -s option to LLVM would not work. 1800 - Work around a WebAudio bug on WebKit "pauseWebAudio failed: TypeError: Not 1801 enough arguments" (#3861) 1802 - Full list of changes: 1803 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.35.0...1.35.1 1804 - Emscripten-LLVM: no changes. 1805 - Emscripten-Clang: no changes. 1806 1807v1.35.0: 10/19/2015 1808------------------- 1809 - Fixed out of memory abort message. 1810 - Full list of changes: 1811 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.34.12...1.35.0 1812 - Emscripten-LLVM: no changes. 1813 - Emscripten-Clang: no changes. 1814 1815v1.34.12: 10/13/2015 1816-------------------- 1817 - Added new experimental build option -s SPLIT_MEMORY=1, which splits up the 1818 Emscripten HEAP to multiple smaller slabs. 1819 - Added SDL2_ttf to Emscripten ports. 1820 - Added support for building GLES3 code to target WebGL 2. (#3757, #3782) 1821 - Fixed certain glUniform*() functions to work properly when called in 1822 conjunction with -s USE_PTHREADS=1. 1823 - Fixed support for -l, -L and -I command line parameters to accept a space 1824 between the path, i.e. "-l SDL". (#3777) 1825 - Fixed SSE2 support in optimized builds. 1826 - Changed the default behavior of warning when absolute paths are passed to -I 1827 to be silent. To enable the absolute paths warning, pass 1828 "-Wwarn-absolute-paths" flag to emcc. 1829 - Added new linker option -s ABORTING_MALLOC=0 that can be used to make 1830 malloc() return 0 on failed allocation (Current default is to abort execution 1831 of the page on OOM) (#3822) 1832 - Removed the default behavior of automatically decoding all preloaded assets on page startup (#3785) 1833 - Full list of changes: 1834 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.34.11...1.34.12 1835 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.34.11...1.34.12 1836 - Emscripten-Clang: no changes. 1837 1838v1.34.11: 9/29/2015 1839------------------- 1840 - Fixed asm.js validation on autovectorized output 1841 - Fix an issue with printing to iostream in global ctors (#3824) 1842 - Added support for LLVM pow intrinsics with integer exponent. 1843 - Full list of changes: 1844 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.34.10...1.34.11 1845 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.34.10...1.34.11 1846 - Emscripten-Clang: no changes. 1847 1848v1.34.10: 9/25/2015 1849------------------- 1850 - Added wasm compressor/decompressor polyfill (#3766) 1851 - Added support for sRGB texture formats. 1852 - Removed the deprecated --compression option. 1853 - Fixed an issue with asm.js validation for pthreads being broken since v1.34.7 (#3719) 1854 - Added built-in cpu performance profiler, which is enabled with linker flag --cpuprofiler. (#3781) 1855 - Added build-in memory usage profiler, which is enabled with linker flag --memoryprofiler. (#3781) 1856 - Fixed multiple arities per EM_ASM block (#3804) 1857 - Fixed issues with SSE2 an NaN bit patterns. (emscripten-fastcomp #116) 1858 - Full list of changes: 1859 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.34.9...1.34.10 1860 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.34.9...1.34.10 1861 - Emscripten-Clang: no changes. 1862 1863v1.34.9: 9/18/2015 1864------------------ 1865 - Fixed an issue with --llvm-lto 3 builds (#3765) 1866 - Optimized LZ4 compression 1867 - Fixed a bug where glfwCreateWindow would return success even on failure 1868 (#3764) 1869 - Greatly optimized the -s SAFE_HEAP=1 linker flag option by executing the heap 1870 checks in asm.js side instead. 1871 - Fixed the return value of EM_ASM_DOUBLE (#3770) 1872 - Implemented getsockname syscall (#3769) 1873 - Don't warn on unresolved symbols when LINKABLE is specified. 1874 - Fixed various issues with SSE2 compilation in optimized builds. 1875 - Fixed a breakage with -s USE_PTHREADS=2 (#3774) 1876 - Added support for GL_HALF_FLOAT in WebGL 2. (#3790) 1877 - Full list of changes: 1878 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.34.8...1.34.9 1879 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.34.8...1.34.9 1880 - Emscripten-Clang: no changes. 1881 1882v1.34.8: 9/9/2015 1883----------------- 1884 - Fixed a race condition at worker startup (#3741) 1885 - Update emrun to latest, which improves unit test run automation with emrun. 1886 - Added support for LZ4 compressing file packages, used with the -s LZ4=1 linker flag. (#3754) 1887 - Fixed noisy build warning on "unexpected number of arguments in call to strtold" (#3760) 1888 - Added new linker flag --separate-asm that splits the asm.js module and the 1889 handwritten JS functions to separate files. 1890 - Full list of changes: 1891 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.34.7...1.34.8 1892 - Emscripten-LLVM: no changes. 1893 - Emscripten-Clang: no changes. 1894 1895v1.34.7: 9/5/2015 1896----------------- 1897 - Fixed uses of i64* in side modules. 1898 - Improved GL support when proxying, and fake WebAudio calls when proxying. 1899 - Added new main loop timing mode EM_TIMING_SETIMMEDIATE for rendering with 1900 vsync disabled (#3717) 1901 - Updated emrun to latest version, adds --safe_firefox_profile option to run 1902 emrun pages in clean isolated environment. 1903 - Implemented glGetStringi() method for WebGL2/GLES3. (#3472, #3725) 1904 - Automatically emit loading code for EMTERPRETIFY_FILE if emitting html. 1905 - Added new build option -s USE_PTHREADS=2 for running pthreads-enabled pages 1906 in browsers that do not support SharedArrayBuffer. 1907 - Added support for building SSE2 intrinsics based code (emmintrin.h), when 1908 -msse2 is passed to the build. 1909 - Added exports for getting FS objects by their name (#3690) 1910 - Updated LLVM to latest upstream PNaCl version (Clang 3.7, July 29th). 1911 - Full list of changes: 1912 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.34.6...1.34.7 1913 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.34.6...1.34.7 1914 - Emscripten-Clang: https://github.com/emscripten-core/emscripten-fastcomp-clang/compare/1.34.6...1.34.7 1915 1916v1.34.6: 8/20/2015 1917------------------ 1918 - Added new build option -s EMULATED_FUNCTION_POINTERS=2. 1919 - Fixed a bug with calling functions pointers that take float as parameter 1920 across dynamic modules. 1921 - Improved dynamic linking support with -s LINKABLE=1. 1922 - Added new build option -s MAIN_MODULE=2. 1923 - Cleaned up a few redundant linker warnings (#3702, #3704) 1924 - Full list of changes: 1925 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.34.5...1.34.6 1926 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.34.5...1.34.6 1927 - Emscripten-Clang: no changes. 1928 1929v1.34.5: 8/18/2015 1930------------------ 1931 - Added Bullet physics, ogg and vorbis to emscripten-ports. 1932 - Added FreeType 2.6 to emscripten-ports. 1933 - Fixed CMake handling when building OpenCV. 1934 - Fixed and issue with exceptions being thrown in empty glBegin()-glEnd() 1935 blocks (#3693) 1936 - Improved function pointer handling between dynamically linked modules 1937 - Fixed some OpenAL alGetSource get calls (#3669) 1938 - Fixed issues with building the optimizer on 32-bit Windows (#3673) 1939 - Increased optimizer stack size on Windows to 10MB (#3679) 1940 - Added support for passing multiple input files to opt, to speed up 1941 optimization and linking in opt. 1942 - Full list of changes: 1943 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.34.4...1.34.5 1944 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.34.4...1.34.5 1945 - Emscripten-Clang: no changes. 1946 1947v1.34.4: 8/4/2015 1948----------------- 1949 - Add special handling support for /dev/null as an input file (#3552) 1950 - Added basic printf support in NO_FILESYSTEM mode (#3627) 1951 - Update WebVR support to the latest specification, and add support for 1952 retrieving device names 1953 - Improved --proxy-to-worker build mode with proxying (#3568, #3623) 1954 - Generalized EXPORT_FS_METHODS to EXPORT_RUNTIME_METHODS 1955 - Added node externs for closure 1956 - Fixed a memory allocation bug in pthreads code (#3636) 1957 - Cleaned up some debug assertion messages behind #ifdef ASSERTIONS (#3639) 1958 - Fixed umask syscall (#3637) 1959 - Fixed double alignment issue with formatStrind and emscripten_log (#3647) 1960 - Added new EXTRA_EXPORTED_RUNTIME_METHODS build option 1961 - Updated emrun to latest version 1962 - Full list of changes: 1963 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.34.3...1.34.4 1964 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.34.3...1.34.4 1965 - Emscripten-Clang: no changes. 1966 1967v1.34.3: 7/15/2015 1968------------------ 1969 - Move libc to musl+syscalls 1970 - Full list of changes: 1971 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.34.2...1.34.3 1972 - Emscripten-LLVM: no changes. 1973 - Emscripten-Clang: no changes. 1974 1975v1.34.2: 7/14/2015 1976------------------ 1977 - Upgrade to new SIMD.js polyfill version and improved SIMD support. 1978 - Improved WebGL support in --proxy-to-worker mode (#3569) 1979 - Removed warning on unimplemented JS library functions 1980 - Fix WebGL 2 support with closure compiler 1981 - Fixed an issue with WebRTC support (#3574) 1982 - Fixed emcc to return a correct error process exit code when invoked with no input files 1983 - Fixed a compiler problem where global data might not get aligned correctly for SIMD. 1984 - Fixed a LLVM backend problem which caused recursive stack behavior when 1985 linking large codebases, which was seen to cause a stack overflow crash on 1986 Windows. 1987 - Full list of changes: 1988 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.34.1...1.34.2 1989 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.34.1...1.34.2 1990 - Emscripten-Clang: no changes. 1991 1992v1.34.1: 6/18/2015 1993------------------ 1994 - Fixed an issue with resize canvas not working with GLFW. 1995 - Fixed handling of empty else blocks. 1996 - Full list of changes: 1997 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.34.0...1.34.1 1998 - Emscripten-LLVM: no changes. 1999 - Emscripten-Clang: no changes. 2000 2001v1.34.0: 6/16/2015 2002------------------ 2003 - Fixed an issue when generating .a files from object files that reside on 2004 separate drives on Windows (#3525). 2005 - Added a missing dependency for GLFW (#3530). 2006 - Removed the Emterpreter YIELDLIST option. 2007 - Added support for enabling memory growth before the runtime is ready. 2008 - Added a new feature to store the memory initializer in a string literal 2009 inside the generated .js file. 2010 - Fixed a code miscompilation issue with a constexpr in fcmp. 2011 - Full list of changes: 2012 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.33.2...1.34.0 2013 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.33.2...1.34.0 2014 - Emscripten-Clang: no changes. 2015 2016v1.33.2: 6/9/2015 2017----------------- 2018 - Added support for OpenAL Extension AL_EXT_float32 (#3492). 2019 - Added support for handling command line flags -M and -MM (#3518). 2020 - Fixed a code miscompilation issue with missing ';' character (#3520). 2021 - Full list of changes: 2022 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.33.1...1.33.2 2023 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.33.1...1.33.2 2024 - Emscripten-Clang: no changes. 2025 2026v1.33.1: 6/3/2015 2027----------------- 2028 - Added support for multithreading with the POSIX threads API (pthreads), used 2029 when compiling and linking with the -s USE_PTHREADS=1 flag (#3266). 2030 - Full list of changes: 2031 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.33.0...1.33.1 2032 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.33.0...1.33.1 2033 - Emscripten-Clang: no changes. 2034 2035v1.33.0: 5/29/2015 2036------------------ 2037 - Fix an issue with writing to /dev/null (#3454). 2038 - Added a hash to objects inside .a files to support to linking duplicate 2039 symbol names inside .a files (#2142). 2040 - Provide extensions ANGLE_instanced_arrays and EXT_draw_buffers as aliases to 2041 the WebGL ones. 2042 - Fixed LLVM/Clang to build again on Windows after previous LLVM upgrade. 2043 - Full list of changes: 2044 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.32.4...1.33.0 2045 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.32.4...1.33.0 2046 - Emscripten-Clang: no changes. 2047 2048v1.32.4: 5/16/2015 2049------------------ 2050 - Update LLVM and Clang to PNaCl's current 3.7 merge point (April 17 2015) 2051 - Added libpng to Emscripten-ports. 2052 - Added intrinsic llvm_fabs_f32. 2053 - Full list of changes: 2054 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.32.3...1.32.4 2055 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.32.3...1.32.4 2056 - Emscripten-Clang: https://github.com/emscripten-core/emscripten-fastcomp-clang/compare/1.32.3...1.32.4 2057 2058v1.32.3: 5/15/2015 2059------------------ 2060 - Improved dynamic linking support. 2061 - Added new option to file_packager.py to store metadata externally. 2062 - Improved CMake support with CMAKE_CROSSCOMPILING_EMULATOR (#3447). 2063 - Added support for sysconf(_SC_PHYS_PAGES) (#3405, 3442). 2064 - Full list of changes: 2065 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.32.2...1.32.3 2066 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.32.2...1.32.3 2067 - Emscripten-Clang: no changes. 2068 2069v1.32.2: 5/8/2015 2070----------------- 2071 - Removed a (name+num)+num -> name+newnum optimization, which caused heavy 2072 performance regressions in Firefox when the intermediate computation wraps 2073 around the address space (#3438). 2074 - Improved dynamic linking support. 2075 - Improved emterpreter when doing dynamic linking. 2076 - Fixed an issue with source maps debug info containing zeroes as line numbers. 2077 - Full list of changes: 2078 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.32.1...1.32.2 2079 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.32.1...1.32.2 2080 - Emscripten-Clang: no changes. 2081 2082v1.32.1: 5/2/2015 2083----------------- 2084 - Removed old deprecated options -s INIT_HEAP, MICRO_OPTS, CLOSURE_ANNOTATIONS, 2085 INLINE_LIBRARY_FUNCS, SHOW_LABELS, COMPILER_ASSERTIONS and 2086 COMPILER_FASTPATHS. 2087 - Added support for dynamic linking and dlopen(). 2088 - Fixed a compilation issue that affected -O2 builds and higher (#3430). 2089 - Full list of changes: 2090 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.32.0...1.32.1 2091 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.32.0...1.32.1 2092 - Emscripten-Clang: no changes. 2093 2094v1.32.0: 4/28/2015 2095------------------ 2096 - Compile .i files properly as C and not C++ (#3365). 2097 - Removed old deprecated options -s PRECISE_I32_MUL, CORRECT_ROUNDINGS, 2098 CORRECT_OVERFLOWS, CORRECT_SIGNS, CHECK_HEAP_ALIGN, SAFE_HEAP_LINES, 2099 SAFE_HEAP >= 2, ASM_HEAP_LOG, SAFE_DYNCALLS, LABEL_DEBUG, RUNTIME_TYPE_INFO 2100 and EXECUTION_TIMEOUT, since these don't apply to fastcomp, which is now the 2101 only enabled compilation mode. 2102 - Preliminary work towards supporting dynamic linking and dlopen(). 2103 - Fixed an issue where emrun stripped some characters at output (#3394). 2104 - Fixed alignment issues with varargs. 2105 - Full list of changes: 2106 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.31.3...1.32.0 2107 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.31.3...1.32.0 2108 - Emscripten-Clang: no changes. 2109 2110v1.31.3: 4/22/2015 2111------------------ 2112 - Improved support for -E command line option (#3365). 2113 - Removed the old optimizeShifts optimization pass that was not valid for 2114 asm.js code. 2115 - Fixed an issue when simultaneously using EMULATE_FUNCTION_POINTER_CASTS and 2116 EMULATED_FUNCTION_POINTERS. 2117 - Fixed an issue with -s PRECISE_I64_MATH=2 not working (#3374). 2118 - Full list of changes: 2119 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.31.2...1.31.3 2120 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.31.2...1.31.3 2121 - Emscripten-Clang: no changes. 2122 2123v1.31.2: 4/20/2015 2124------------------ 2125 - Added support for file suffixes .i and .ii (#3365). 2126 - Fixed an issue with embind and wide strings (#3299). 2127 - Removed more traces of the old non-fastcomp compiler code. 2128 - Full list of changes: 2129 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.31.1...1.31.2 2130 - Emscripten-LLVM: no changes. 2131 - Emscripten-Clang: no changes. 2132 2133v1.31.1: 4/17/2015 2134------------------ 2135 - Added support for unicode characters in EM_ASM() blocks (#3348). 2136 - Removed the pointer masking feature as experimental and unsupported. 2137 - Fixed an issue where exit() did not terminate execution of Emterpreter (#3360). 2138 - Removed traces of the old non-fastcomp compiler code. 2139 - Full list of changes: 2140 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.31.0...1.31.1 2141 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.31.0...1.31.1 2142 - Emscripten-Clang: no changes. 2143 2144v1.31.0: 4/14/2015 2145------------------ 2146 - Remove references to unsupported EMCC_FAST_COMPILER mode, fastcomp is always enabled (#3347). 2147 - Full list of changes: 2148 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.30.6...1.31.0 2149 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.30.6...1.31.0 2150 - Emscripten-Clang: no changes. 2151 2152v1.30.6: 4/14/2015 2153------------------ 2154 - Removed support for the deprecated jcache functionality (#3313). 2155 - Added support to emscripten_GetProcAddress() to fetch symbols with the ANGLE 2156 suffix (#3304, #3315). 2157 - Added immintrin.h header file to include all SSE support. 2158 - Added an async option to ccall (#3307). 2159 - Stopped from using 0 as a valid source ID for OpenAL (#3303). 2160 - When project has disabled exception catching, build an exceptions-disabled 2161 version of libcxx. 2162 - Split libcxx into two parts to optimize code size for projects that only need 2163 small amount of libcxx (#2545, #3308). 2164 - Avoid fprintf usage in emscripten_GetProcAddress() to allow using it with -s 2165 NO_FILESYSTEM=1 (#3327). 2166 - Removed old deprecated functionalities USE_TYPED_ARRAYS, FHEAP, GC emulation 2167 and non-asmjs-emscripten ABI. 2168 - Don't refer to prefixed GL extensions when creating a GL context (#3324). 2169 - Removed support code for x86_fp80 type (#3341). 2170 - Optimize EM_ASM() calls even more (#2596). 2171 - Full list of changes: 2172 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.30.5...1.30.6 2173 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.30.5...1.30.6 2174 - Emscripten-Clang: no changes. 2175 2176v1.30.5: 4/7/2015 2177----------------- 2178 - Fixed WebIDL operation when closure is enabled after the previous EM_ASM() 2179 optimizations. 2180 - Optimized jsCall() to handle variadic cases of number of arguments faster 2181 (#3290, #3305). 2182 - Removed support for the getwd() function (#1115, #3309). 2183 - Fixed a problem with -s IGNORED_FUNCTIONS and -s DEAD_FUNCTIONS not working 2184 as expected (#3239). 2185 - Fixed an issue with -s EMTERPRETIFY_ASYNC=1 and emscripten_sleep() not 2186 working (#3307). 2187 - Full list of changes: 2188 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.30.4...1.30.5 2189 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.30.4...1.30.5 2190 - Emscripten-Clang: no changes. 2191 2192v1.30.4: 4/3/2015 2193----------------- 2194 - Optimized the performance and security of EM_ASM() blocks by avoiding the use 2195 of eval() (#2596). 2196 - Full list of changes: 2197 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.30.3...1.30.4 2198 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.30.3...1.30.4 2199 - Emscripten-Clang: no changes. 2200 2201v1.30.3: 4/3/2015 2202----------------- 2203 - Improved error handling in library_idbstore.js. 2204 - Fixed an asm.js validation issue with EMULATE_FUNCTION_POINTER_CASTS=1 feature (#3300). 2205 - Fixed Clang build by adding missing nacltransforms project after latest 2206 LLVM/Clang upstream merge. 2207 - Full list of changes: 2208 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.30.2...1.30.3 2209 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.30.2...1.30.3 2210 - Emscripten-Clang: https://github.com/emscripten-core/emscripten-fastcomp-clang/compare/1.30.2...1.30.3 2211 2212v1.30.2: 4/1/2015 2213----------------- 2214 - Added support to writing to mmap()ed memory by implementing msync() (#3269). 2215 - Updated SDL2 port to version 7. 2216 - Exported new singleton function Module.createContext() for creating a GL 2217 context from SDL2. 2218 - Added support for asm.js/Emscripten arch in Clang. 2219 - Finished LLVM 3.6 upgrade merge. 2220 - Full list of changes: 2221 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.30.1...1.30.2 2222 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.30.1...1.30.2 2223 - Emscripten-Clang: https://github.com/emscripten-core/emscripten-fastcomp-clang/compare/1.30.1...1.30.2 2224 2225v1.30.1: 3/24/2015 2226------------------ 2227 - Upgraded LLVM+Clang from vrsion 3.5 to version 3.6. 2228 - Full list of changes: 2229 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.30.0...1.30.1 2230 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.30.0...1.30.1 2231 - Emscripten-Clang: https://github.com/emscripten-core/emscripten-fastcomp-clang/compare/1.30.0...1.30.1 2232 2233v1.30.0: 3/24/2015 2234------------------ 2235 - Fixed a bug where html5.h API would not remove event handlers on request. 2236 - Fixed a regression issue that broke building on Windows when attempting to 2237 invoke tools/gen_struct_info.py. 2238 - Improved memory growth feature to better handle growing to large memory sizes 2239 between 1GB and 2GB (#3253). 2240 - Fixed issues with emrun with terminating target browser process, managing 2241 lingering sockets and command line quote handling. 2242 - Fixed a bug where unsigned integer return values in embind could be returned 2243 as signed (#3249). 2244 - Improved handling of lost GL contexts. 2245 - Changed malloc to be fallible (return null on failure) when memory growth is 2246 enabled (#3253). 2247 - Fixed a bug with WebIDL not being able to handle enums (#3258). 2248 - Updated POINTER_MASKING feature to behave as a boolean rather than a mask 2249 (#3240). 2250 - Improved "emcmake cmake" on Windows to automatically remove from path any 2251 entries that contain sh.exe in them, which is not supported by CMake. 2252 - Fixed an issue with symlink handling in readlink (#3277). 2253 - Updated SDL2 port to version 6. 2254 - Removed the obsolete FAST_MEMORY build option. 2255 - Added reciprocalApproximation and reciprocalSqrtApproximation SIMD intrinsics. 2256 - Full list of changes: 2257 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.29.12...1.30.0 2258 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.29.12...1.30.0 2259 - Emscripten-Clang: no changes. 2260 2261v1.29.12: 3/15/2015 2262------------------- 2263 - Fix a bug where SDL_malloc and SDL_free were not available. (#3247) 2264 - Fix various issues with emrun usage. (#3234) 2265 - Fixed an off-by-one memory access in native optimizer. 2266 - Improve emterpreter support. 2267 - Full list of changes: 2268 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.29.11...1.29.12 2269 - Emscripten-LLVM: no changes. 2270 - Emscripten-Clang: no changes. 2271 2272v1.29.11: 3/11/2015 2273------------------- 2274 - Remove the requirement to pass -s PRECISE_F32=1 manually when building with 2275 SIMD support. 2276 - Fix a temp directory leak that could leave behind empty directories in the 2277 temp directory after build (#706) 2278 - Improve support for growable Emscripten heap in asm.js mode. 2279 - Added a warning message when generating huge asset bundles with file packager. 2280 - Fixed a bug where emscripten_get_gamepad_status might throw a JS exception if 2281 called after a gamepad was disconnected. 2282 - Improve emterpreter sleep support. 2283 - Optimize code generation when multiple consecutive bitshifts are present. 2284 - Optimize redundant stack save and restores, and memcpy/memsets. 2285 - Full list of changes: 2286 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.29.10...1.29.11 2287 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.29.10...1.29.11 2288 - Emscripten-Clang: no changes. 2289 2290v1.29.10: 2/19/2015 2291------------------- 2292 - Add a warning message when generating code that has a very large number of 2293 variables, which optimization flags could remove. 2294 - Improve support for SIMD casts and special loads. 2295 - Fix the process return code when using EMCONFIGURE_JS=1. 2296 - Improved the error message in abort(). 2297 - Fix main loop handling during emterpreter sync save/load. 2298 - Handle emscripten_async_call and friends during sleep, by pausing all 2299 safeSet*() operations. 2300 - Add support for Google WTF when building with --tracing. 2301 - Improve emterpreter stability with fuzzing. 2302 - Add an option to load the memory initializer file from a typed array (#3187) 2303 - Remove linker warning message when linking to -lm, since Emscripten includes 2304 musl that implements the math libraries built-in. 2305 - Add support for SDL_WM_SetCaption(), which calls to Module['setWindowTitle'], 2306 or if not present, sets the web page title. (#3192) 2307 - Full list of changes: 2308 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.29.9...1.29.10 2309 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.29.9...1.29.10 2310 - Emscripten-Clang: no changes. 2311 2312v1.29.9: 2/9/2015 2313------------------- 2314 - Documented FORCE_ALIGNED_MEMORY to be no longer supported. 2315 - Fixes issues with native optimizer handling of "if () else {}" statements. 2316 (#3129) 2317 - Improved cross-browser support for EMSCRIPTEN_FULLSCREEN_FILTERING_NEAREST. 2318 (#3165) 2319 - Added new linker option --profiling-funcs, which generates output that is 2320 otherwise minified, except that function names are kept intact, for use in 2321 profilers and getting descriptive call stacks. 2322 - The Module object is no longer written in global scope. (#3167) 2323 - Added new emscripten_idb_* API. (#3169) 2324 - Added new function emscripten_wget_data(). 2325 - Add support for GL_RED with GLES3/WebGL2. (#3176) 2326 - Added basic WebVR support. (#3177) 2327 - Full list of changes: 2328 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.29.8...1.29.9 2329 - Emscripten-LLVM: no changes. 2330 - Emscripten-Clang: no changes. 2331 2332v1.29.8: 1/31/2015 2333------------------- 2334 - Fix a temp file leak with emterpreter. (#3156) 2335 - Fix a typo that broke glBlitFramebuffer. (#3159) 2336 - Added scandir() and alphasort() from musl. (#3161) 2337 - Add a warning if multiple .a files with same basename are being linked 2338 together. (#2619) 2339 - Full list of changes: 2340 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.29.7...1.29.8 2341 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.29.7...1.29.8 2342 - Emscripten-Clang: no changes. 2343 2344v1.29.7: 1/28/2015 2345------------------- 2346 - Fixed an issue with backwards compatibility in emscripten-ports. (#3144) 2347 - Warn on duplicate entries in archives. (#2619) 2348 - Removed the MAX_SETJMPS limitation to improve setjmp/longjpmp support. 2349 (#3151) 2350 - Improve the native optimizer to not emit empty if clauses in some cases. 2351 (#3154) 2352 - Optimize Math.clz32, Math.min, NaN, and inf handling in asm.js. 2353 - Full list of changes: 2354 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.29.6...1.29.7 2355 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.29.6...1.29.7 2356 - Emscripten-Clang: no changes. 2357 2358v1.29.6: 1/23/2015 2359------------------- 2360 - Fixed an issue where calling glGen*() when the GL context was lost might 2361 throw a JS exception, instead a GL_INVALID_OPERATION is now recorded. 2362 - Improve label handling in native optimizer. 2363 - Full list of changes: 2364 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.29.5...1.29.6 2365 - Emscripten-LLVM: no changes. 2366 - Emscripten-Clang: no changes. 2367 2368v1.29.5: 1/23/2015 2369------------------- 2370 - Enable compiling source files with the extension ".c++". 2371 - Enable versioning of the emscripten ports so that older Emscripten versions 2372 can keep using older versions of the ports (#3144) 2373 - Added a whitelist option to emterpreter, a linker flag of form -s 2374 EMTERPRETIFY_WHITELIST=["symbol1","symbol2"]. (#3129) 2375 - Improved emscripten_get_pointerlock_status() to always fill the output 2376 structure even when pointer lock is not supported. 2377 - Added an environment variable EMCC_NO_OPT_SORT=0/1 option to configure 2378 whether the generated output should have the functions sorted by length, 2379 useful for debugging. 2380 - Added new tool tools/merge_pair.py which allows bisecting differences between 2381 two output files to find discrepancies. 2382 - Improved parsing in cashew. 2383 - Improved output message from emconfigure and emmake when inputs are unexpected. 2384 - Added built-in asm handler for LLVM fabs operation. 2385 - Full list of changes: 2386 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.29.4...1.29.5 2387 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.29.4...1.29.5 2388 - Emscripten-Clang: no changes. 2389 2390v1.29.4: 1/21/2015 2391------------------- 2392 - Added new C <-> JS string marshalling functions asciiToString(), 2393 stringToAscii(), UTF8ToString(), stringToUTF8() that can be used to copy 2394 strings across the JS and C boundaries. (#2363) 2395 - Added new functions lengthBytesUTF8(), lengthBytesUTF16() and 2396 lengthBytesUTF32() to allow computing the byte lengths of strings in 2397 different encodings. (#2363) 2398 - Upgraded SDL2 port to version 4. 2399 - Add support for saving the emterpreter stack when there are functions 2400 returning a value on the stack (#3129) 2401 - Notice async state in emterpreter trampolines (#3129) 2402 - Optimize SDL1 pixel copying to the screen. 2403 - Fixed an issue with emterpreter parsing. (#3141) 2404 - Fixed an issue with native optimizer and -s PPRECISE_F32=1. 2405 - Full list of changes: 2406 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.29.3...1.29.4 2407 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.29.3...1.29.4 2408 - Emscripten-Clang: no changes. 2409 2410v1.29.3: 1/16/2015 2411------------------- 2412 - Fixed a bug with OpenGL context initialization enableExtensionsByDefault. (#3135) 2413 - Fixed an issue with nested if parsing in native optimizer. 2414 - Full list of changes: 2415 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.29.2...1.29.3 2416 - Emscripten-LLVM: no changes. 2417 - Emscripten-Clang: no changes. 2418 2419v1.29.2: 1/16/2015 2420------------------- 2421 - Fixed an issue with embind compilation in LLVM 3.5. 2422 - Fixed an issue with SDL audio queueing stability, which would queue audio too 2423 eagerly and cause stutter in some applications (#3122, #3124) 2424 - Enabled native JS optimizer to be built automatically on Windows, requires 2425 VS2012 or VS2013. 2426 - Improve error message to reflect the fact that DLOPEN_SUPPORT is currently 2427 not available (#2365) 2428 - Improve SIMD load and store support. 2429 - Upgraded SDL2 port to version 3. 2430 - Fix a bug with native JS optimizer and braces in nested ifs. 2431 - Improved emterpreter support. 2432 - Fixed LLVM 3.5 to build with Visual Studio on Windows (emscripten-fastcomp #61) 2433 - Full list of changes: 2434 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.29.1...1.29.2 2435 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.29.1...1.29.2 2436 - Emscripten-Clang: no changes. 2437 2438v1.29.1: 1/7/2015 2439------------------- 2440 - Migrated to upstream PNaCl LLVM+Clang 3.5 from the previous 3.4. 2441 - Full list of changes: 2442 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.29.0...1.29.1 2443 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.29.0...1.29.1 2444 - Emscripten-Clang: https://github.com/emscripten-core/emscripten-fastcomp-clang/compare/1.29.0...1.29.1 2445 2446v1.29.0: 1/7/2015 2447------------------- 2448 - Full list of changes: 2449 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.28.3...1.29.0 2450 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.28.3...1.29.0 2451 - Emscripten-Clang: no changes. 2452 2453v1.28.3: 1/4/2015 2454------------------- 2455 - embuilder.py tool 2456 - Many fixes for native optimizer on Windows 2457 - Perform LLVM LTO in a separate invocation of opt, so that it does not mix 2458 with legalization and other stuff we do at link time 2459 - Full list of changes: 2460 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.28.2...1.28.3 2461 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.28.2...1.28.3 2462 - Emscripten-Clang: https://github.com/emscripten-core/emscripten-fastcomp-clang/compare/1.28.2...1.28.3 2463 2464v1.28.2: 12/17/2014 2465------------------- 2466 - Enable native optimizer by default 2467 - Disable slow2asm legacy testing (asm.js mode in pre-fastcomp) 2468 - Full list of changes: 2469 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.28.1...1.28.2 2470 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.28.1...1.28.2 2471 - Emscripten-Clang: no changes. 2472 2473v1.28.1: 12/15/2014 2474------------------- 2475 - Use a lot more MUSL math functions 2476 - Full list of changes: 2477 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.28.0...1.28.1 2478 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.28.0...1.28.1 2479 - Emscripten-Clang: no changes. 2480 2481v1.28.0: 12/12/2014 2482------------------- 2483 - Full list of changes: 2484 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.27.2...1.28.0 2485 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.27.2...1.28.0 2486 - Emscripten-Clang: no changes. 2487 2488v1.27.2: 12/10/2014 2489------------------- 2490 - Added more complete support for SSE1 SIMD intrinsics API. (#2792) 2491 - Fixed an issue with glTexImage2D on GL_LUMINANCE + GL_FLOAT textures. (#3039) 2492 - Use the cashew asm.js parser in native optimizer. 2493 - Fixed issues with IE when running closure minified pages. (#3012) 2494 - Enabled asm.js validation for SIMD compilation. 2495 - Full list of changes: 2496 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.27.1...1.27.2 2497 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.27.1...1.27.2 2498 - Emscripten-Clang: no changes. 2499 2500v1.27.1: 11/20/2014 2501------------------- 2502 - Migrated to upstream PNaCl LLVM+Clang 3.4 from the previous 3.3. 2503 - Added a FindOpenGL.cmake to support find_package() for OpenGL in CMake scripts. 2504 - Full list of changes: 2505 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.27.0...1.27.1 2506 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.27.0...1.27.1 2507 - Emscripten-Clang: https://github.com/emscripten-core/emscripten-fastcomp-clang/compare/1.27.0...1.27.1 2508 2509v1.27.0: 11/20/2014 2510------------------- 2511 - Added new work in progress option -s NATIVE_OPTIMIZER=1 that migrates 2512 optimizer code from JS to C++ for better performance. 2513 - Fixed an embind issue when compiling with closure (#2974) 2514 - Fixed an embind issue with unique_ptr (#2979) 2515 - Fixed a bug with new GL context initialization in proxy to worker mode. 2516 - Fixed an issue where GL context event handlers would leak after a GL context 2517 has been freed. 2518 - Optimized embind operation in Chrome by avoiding using Function.prototype.bind(). 2519 - Full list of changes: 2520 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.26.1...1.27.0 2521 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.26.1...1.27.0 2522 - Emscripten-Clang: no changes. 2523 2524v1.26.1: 11/7/2014 2525------------------ 2526 - Fixed emscripten::val handle for special js values (#2930) 2527 - Implemented SDL 1.2 SDL_SetClipRect / SDL_GetClipRect (#2931) 2528 - Added support for building zlib from Emscripten Ports with linker flag -s USE_ZLIB=1. 2529 - Improved experimental GLES3 support. 2530 - Fixed issues with llseek (#2945) 2531 - Enable using emscripten_get_now() in web workers (#2953) 2532 - Added stricter input data validation in GL code. 2533 - Added new HTML5 C API for managing fullscreen mode transitions to resolve 2534 cross-browser issue #2556 (#2975) 2535 - Fixed an issue with using structs in va_args (#2923) 2536 - Full list of changes: 2537 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.26.0...1.26.1 2538 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.26.0...1.26.1 2539 - Emscripten-Clang: https://github.com/emscripten-core/emscripten-fastcomp-clang/compare/1.26.0...1.26.1 2540 2541v1.26.0: 10/29/2014 2542------------------- 2543 - Fixed an issue where emar would forward --em-config to llvm-ar (#2886) 2544 - Added a new "emterpreter" feature that allows running Emscripten compiled 2545 code in interpreted form until asm.js compilation is ready (-s 2546 EMTERPRETIFY=1). 2547 - For more information, see 2548 https://groups.google.com/d/msg/emscripten-discuss/vhaPL9kULxk/_eD2G06eucwJ 2549 - Added new "Emscripten Ports" architecture that enables building SDL2 with -s 2550 USE_SDL=2 command line flag. 2551 - Added support for SDL 1.2 SDL_CreateRGBSurfaceFrom() function. 2552 - Improved experimental SIMD support. 2553 - Use only minimum necessary digits to print floating point literals in 2554 generated JS code for smaller code output. 2555 - Full list of changes: 2556 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.25.2...1.26.0 2557 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.25.2...1.26.0 2558 - Emscripten-Clang: no changes. 2559 2560v1.25.2: 10/16/2014 2561------------------- 2562 - Fixed a bug in tmpfile() function not allocating the mode argument correctly. 2563 - Fixed a bug with handling empty files in IDBFS (#2845) 2564 - Added an implementation of the utimes() function (#2845) 2565 - Added experimental WebGL 2.0 support with the linker flag -s USE_WEBGL2=1. 2566 (#2873) 2567 - Fixed a UnboundTypeError occurring in embind (#2875) 2568 - Fixed an error "IndexSizeError: Index or size is negative or greater than the 2569 allowed amount" being thrown by Emscripten SDL 1.2 surface blit code. (#2879) 2570 - Fixed a JS minifier issue that generated "x--y from x - -y" (#2869) 2571 - Added a new emcc command line flag "--cache <dir>" to control the location of 2572 the Emscripten cache directory (#2816) 2573 - Implemented SDL_ConvertSurface() and added support for SDL_SRCALPHA in 2574 SDL_SetAlpha (#2871) 2575 - Fixed issues with the GL library handling of invalid input values. 2576 - Optimized SDL copyIndexedColorData function (#2890) 2577 - Implemented GLES3 emulation for glMapBufferRange() for upcoming WebGL 2 2578 support, using the -s FULL_ES3=1 linker option. 2579 - Fixed a bug where setting up and cancelling the main loop multiple times 2580 would stack up the main loop to be called too frequently (#2839) 2581 - Introduced a new API emscripten_set_main_loop_timing() for managing the 2582 Emscripten main loop calling frequency (#2839) 2583 - Added new optimization flags SDL.discardOnLock and SDL.opaqueFrontBuffer to 2584 Emscripten SDL 1.2 SDL_LockSurface() and SDL_UnlockSurface() (#2870) 2585 - Fixed a bug with glfwGetProcAddress(). 2586 - Added option to customize GLOBAL_BASE (the starting address of global 2587 variables in the Emscripten HEAP). 2588 - Added the ability to register mouseover and mouseout events from the HTML5 2589 API. 2590 - Improved experimental SIMD support. 2591 - Full list of changes: 2592 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.25.1...1.25.2 2593 - Emscripten-LLVM: no changes. 2594 - Emscripten-Clang: no changes. 2595 2596v1.25.1: 10/1/2014 2597------------------ 2598 - Updated heap resize support code when -s ALLOW_MEMORY_GROWTH=1 is defined. 2599 - Updated libc++ to new version from upstream svn revision 218372, 2014-09-24. 2600 - Fixed a bug where building on Windows might generate output JS files with 2601 incorrect syntax (emscripten-fastcomp #52) 2602 - Improved experimental SIMD support. 2603 - Full list of changes: 2604 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.25.0...1.25.1 2605 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.25.0...1.25.1 2606 - Emscripten-Clang: no changes. 2607 2608 2609v1.25.0: 9/30/2014 2610------------------ 2611 - Fixed a warning message with -s EXPORTED_FUNCTIONS. 2612 - Full list of changes: 2613 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.24.1...1.25.0 2614 - Emscripten-LLVM: no changes. 2615 - Emscripten-Clang: no changes. 2616 2617v1.24.1: 9/27/2014 2618------------------ 2619 - Fixed issues with the tmpnam and tmpfile functions (#2797, 2798) 2620 - Fixed CMake package find code to not search any system directories, because 2621 Emscripten is a cross-compiler. 2622 - Improved support for the proposed solution for heap resizing. 2623 - Fixed an issue where one could not run a main loop without having first a GL 2624 context created when -s FULL_ES2 or -s LEGACY_GL_EMULATION were set. 2625 - For compatibility, Emscripten will no longer warn about missing library files 2626 for -lGL, -lGLU and -lglut libraries, since Emscripten provides the 2627 implementation for these without having to explicitly link to anything. 2628 - Added support for readonly (const) attributes and automatically call 2629 Pointer_stringify on DOMStrings in WebIDL. 2630 - Improved SIMD support for the experimental Ecmascript SIMD spec. 2631 - Added support for GLFW 3.0. 2632 - Added new Emscripten HTML 5 functions emscripten_set_mouseenter_callback() 2633 and emscripten_set_mouseleave_callback(). 2634 - Emscripten now recognizes an environment variable 2635 EMCC_JSOPT_BLACKLIST=a,b,c,d which can be used to force-disable Emscripten to 2636 skip running specific JS optimization passes. This is intended as a debugging 2637 aid to help zoom in on JS optimizer bugs when compiling with -O1 and greater. 2638 (#2819) 2639 - Fixed a bug where Module['TOTAL_STACK'] was ignored (#2837). 2640 - Improved SIMD support for the experimental Ecmascript SIMD spec. Preliminary asm.js validation. 2641 - Full list of changes: 2642 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.24.0...1.24.1 2643 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.24.0...1.24.1 2644 - Emscripten-Clang: no changes. 2645 2646v1.24.0: 9/16/2014 2647------------------ 2648 - Renamed the earlier Module.locateFilePackage() to Module.locateFile() added 2649 in v1.22.2 to better reflect its extended usage. 2650 - Improved exceptions support with exception_ptr. 2651 - Fixed a bug where restoring files from IDBFS would not preserve their file modes. 2652 - Fixed and issue where one could not pass a null pointer to strftime() function. 2653 - Improved SIMD support for the experimental Ecmascript SIMD spec. 2654 - Full list of changes: 2655 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.23.5...1.24.0 2656 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.23.5...1.24.0 2657 - Emscripten-Clang: no changes. 2658 2659v1.23.5: 9/12/2014 2660------------------ 2661 - Added new functions emscripten_get_device_pixel_ratio(), 2662 emscripten_set_canvas_css_size() and emscripten_get_canvas_css_size() which 2663 allow handling High DPI options from C code. 2664 - Fixed bugs with timzone-related functions in the JS-implemented C standard 2665 library. 2666 - Implemented clock_gettime(CLOCK_MONOTONIC) and added a new function 2667 emscripten_get_now_is_monotonic() to query whether the JS-provided timer is 2668 monotonic or not. 2669 - Fixed an issue where the user could not pass --llvm-opts=xxx when also 2670 specifying --llvm-lto=2. 2671 - Renamed the linker option -profiling to --profiling for consistency. The old 2672 form is still supported. 2673 - Formalized the set of valid characters to be used in files passed to the 2674 file_packager.py (#2765). 2675 - Implemented SDL function SDL_BlitScaled. 2676 - Fixed a bug with right modifier keys in SDL. 2677 - Full list of changes: 2678 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.23.4...1.23.5 2679 - Emscripten-LLVM: no changes. 2680 - Emscripten-Clang: no changes. 2681 2682v1.23.4: 9/7/2014 2683------------------ 2684 - Implemented new targetX and targetY fields for native HTML5 mouse and touch 2685 events (#2751) 2686 - Improved SIMD support for the experimental Ecmascript SIMD spec. 2687 - Full list of changes: 2688 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.23.3...1.23.4 2689 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.23.3...1.23.4 2690 - Emscripten-Clang: no changes. 2691 2692v1.23.3: 9/7/2014 2693------------------ 2694 - Removed the scons-tools SCons build system as unused. 2695 - Fixed an issue where applications could not handle WebGL context creation 2696 failures gracefully. 2697 - Fixed a bug where the stringToC function in ccall/cwrap might not allocate 2698 enough space to hold unicode strings. 2699 - Removed CMake from attempting to link to library -ldl when building projects, 2700 by unsetting CMAKE_DL_LIBS. 2701 - Fixed a bug where write_sockaddr might return undefined data in its output 2702 structure. 2703 - Added a new _experimental_ -s POINTER_MASKING=1 linker option that might help 2704 JS VMs to optimize asm.js code. 2705 - Added first version of a memory tracing API to profile memory usage in 2706 Emscripten applications. 2707 - Added functions glob and globfree from musl regex library. 2708 - Improved SIMD support for the experimental Ecmascript SIMD spec. 2709 - Full list of changes: 2710 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.23.2...1.23.3 2711 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.23.2...1.23.3 2712 - Emscripten-Clang: no changes. 2713 2714v1.23.2: 9/2/2014 2715------------------ 2716 - Adjusted the process and group ids reported by the stub library functions to 2717 be closer to native unix values. 2718 - Set stack to be aligned to 16 bytes. (#2721) 2719 - Fixed a compiler error "unresolved symbol: 2720 __cxa_decrement_exception_refcount" (#2715) 2721 - Added a new warning message that instructs that building .so, .dll and .dylib 2722 files is not actually supported, and is faked for compatibility reasons for 2723 existing build chains. (#2562) 2724 - Fixed problems with SDL mouse scrolling (#2643) 2725 - Implemented OpenAL function alSourceRewind. 2726 - Removed several old header files from the Emscripten repository that had been 2727 included for emulation purposes (zlib.h, png.h, tiff.h, tiffio.h), but their 2728 implementation is not included. 2729 - Work around an issue in d8 with binary file reading that broke e.g. printf 2730 when running in d8. (#2731) 2731 - Rigidified the semantics of Module.preRun and Module.postRun: These must 2732 always be JS arrays, single functions are not allowed (#2729) 2733 - Improved compiler warning diagnostics when generating output that will not 2734 validate as asm.js (#2737) 2735 - Updated to latest emrun version to enable support for passing arguments with 2736 hyphens to the program. (#2742) 2737 - Added Bessel math functions of the first kind (j0, j1, jn) from musl. 2738 - Improved SIMD support for the experimental Ecmascript SIMD spec. 2739 - Full list of changes: 2740 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.23.1...1.23.2 2741 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.23.1...1.23.2 2742 - Emscripten-Clang: no changes. 2743 2744v1.23.1: 8/26/2014 2745------------------ 2746 - Add support for the Chrome variant of the Gamepad API. 2747 - Updates to SIMD.js support. 2748 - Implemented glutSetCursor function. 2749 - Added new link-time options -s NO_FILESYSTEM=1 and -s NO_BROWSER=1 to enable 2750 reducing output file sizes when those functionalities are not necessary. 2751 - Added a new option --closure 2 to allow running closure even on the asm.js output. 2752 - Fixed a regression bug that broke the use of 2753 emscripten_set_socket_error_callback() in emscripten.h 2754 - Removed the support for old discontinued Mozilla Audio Data API in src/library_sdl.js. 2755 - Removed the support for using Web Audio ScriptProcessorNode to stream audio. 2756 - Improved SDL audio streaming by using the main rAF() callback instead of a 2757 separate setTimeout() callback to schedule the audio data. 2758 - Deprecated compiling without typed arrays support. 2759 - Migrated to using musl PRNG functions. Fixes reported bugs about the quality of randomness (#2341) 2760 - Improved SIMD support for the experimental Ecmascript SIMD spec. 2761 - Full list of changes: 2762 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.23.0...1.23.1 2763 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.23.0...1.23.1 2764 - Emscripten-Clang: no changes. 2765 2766v1.23.0: 8/21/2014 2767------------------ 2768 - Added support for array attributes in WebIDL bindings. 2769 - Allow cloning pointers that are scheduled for deletion in embind, and add 2770 support for null in embind_repr(). 2771 - Fixed possible issues with rounding and flooring operations. 2772 - Full list of changes: 2773 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.22.2...1.23.0 2774 - Emscripten-LLVM: no changes. 2775 - Emscripten-Clang: no changes. 2776 2777v1.22.2: 8/19/2014 2778------------------ 2779 - Adds stack overflow checks when building with the link flag -s ASSERTIONS=1. 2780 - Fix an issue where EM_ASM was not usable with closure when closure removed 2781 the Module object (#2639) 2782 - The locale "POSIX" is now recognized (#2636) 2783 - Fixed a problem with embind on IE11. 2784 - Added OpenAL functions alSource3i, alListener3f, alGetEnumValue and 2785 alSpeedOfSound and also recognize ALC_MAX_AUXILIARY_SENDS. 2786 - Fixed an issue where emcc would create .o files in the current directory when 2787 compiling multiple code files simultaneously (#2644) 2788 - The -s PROXY_TO_WORKER1= option now looks for a GET option "?noProxy" in the 2789 page URL to select at startup time whether proxying should be on or off. 2790 - Added new functions emscripten_yield, emscripten_coroutine_create and 2791 emscripten_coroutine_next which implement coroutines when building with the 2792 -s ASYNCIFY=1 option. 2793 - Optimized the size of intermediate generated .o files by omitting LLVM debug 2794 info from them when not needed. (#2657) 2795 - Fixed WebSocket connection URLs to allow a port number in them, e.g. 2796 "server:port/addr" (2610) 2797 - Added support for void* to the WebIDL binder, via the identifier VoidPtr. 2798 - Optimize emcc to not copy bitcode files around redundantly. 2799 - Fix stat() to correctly return ENOTDIR when expected (#2669). 2800 - Fixed issues with nested exception catching (#1714). 2801 - Increased the minimum size of the Emscripten HEAP to 64k instead of a previous 4k. 2802 - The {{{ cDefine('name') }}} macros now raise a compile-time error if the 2803 define name is not found, instead of hiding the error message inside the 2804 compiled output (#2672) 2805 - Fixed an issue where --emrun parameter was not compatible with the -s 2806 PROXY_TO_WORKER=1 option. 2807 - Improved WebGL support when compiling with the PROXY_TO_WORKER=1 option. 2808 - Fixed a regression issue with the handling of running dtors of classes that 2809 use virtual inheritance. (#2682) 2810 - Added an option Module.locateFilePackage() as a means to customize where data 2811 files are found in relative to the running page (#2680). NOTE: This parameter 2812 was later renamed to Module.locateFile() instead in release 1.24.0. 2813 - Fixed a bug where OpenAL sources would not properly delete. 2814 - Fixed a bug with upstream libc++ on std::map, std::multimap and 2815 std::unordered_map self-assignment 2816 (http://llvm.org/bugs/show_bug.cgi?id=18735) 2817 - Allow using __asm__ __volatile__("": : :"memory") as a compile-time 2818 reordering barrier (#2647) 2819 - Full list of changes: 2820 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.22.1...1.22.2 2821 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.22.1...1.22.2 2822 - Emscripten-Clang: no changes. 2823 2824v1.22.1: 8/7/2014 2825------------------ 2826 - Added support for prefixing functions with '$' in JS libraries, in order to 2827 cause them not be prefixed with '_' when compiling. 2828 - Improved WebIDL compiler to support enums. 2829 - Fixed a bug with emscripten_force_exit() that would throw an exception (#2629). 2830 - Fixed setlocale() when setting a bad locale. (#2630) 2831 - Fixed a compiler miscompilation bug when optimizing loops. (#2626) 2832 - Fixed an issue with rethrowing an exception (#2627) 2833 - Fixed a bug where malloc()ing from JS code would leak memory if the C/C++ 2834 side does not use malloc() (#2621) 2835 - Removed an unnecessary assert() in glReadPixels, and improved it to support 2836 more texture pixel types. 2837 - Fixed a bug with std::locale accepting unknown locale names (#2636) 2838 - Added support for WebIDL binder to work with Closure (#2620) 2839 - Added no-op SDL IMG_Quit() and TTF_Quit() symbols. 2840 - Migrated to building libcxx and libcxxapi with -Oz optimization flags. 2841 - Full list of changes: 2842 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.22.0...1.22.1 2843 - Emscripten-LLVM: no changes. 2844 - Emscripten-Clang: no changes. 2845 2846v1.22.0: 8/5/2014 2847------------------ 2848 - Added support to emrun to dump files to the local filesystem for debugging 2849 purposes. 2850 - Implemented emscripten_wget in ASYNCIFY mode. 2851 - Improved extension catching support (#2616) 2852 - Fixed .a link groups to also work when linking to bitcode. (#2568) 2853 - Full list of changes: 2854 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.21.10...1.22.0 2855 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.21.10...1.22.0 2856 - Emscripten-Clang: no changes. 2857 2858v1.21.10: 7/29/2014 2859------------------- 2860 - Fixed a Windows-specific issue where the generated output files might contain 2861 line endings of form \r\r\n. This caused browser debuggers to get confused 2862 with line numbers. (#2133) 2863 - Improved the node.js workaround introduced in v1.21.8. 2864 - Implemented new HTML5 API for direct WebGL context creation, emscripten_webgl_*(). 2865 - Fixed a bug when loading in node.js and loaded by another module (#2586) 2866 - Full list of changes: 2867 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.21.9...1.21.10 2868 - Emscripten-LLVM: no changes. 2869 - Emscripten-Clang: no changes. 2870 2871v1.21.9: 7/28/2014 2872------------------ 2873 - Fixed issues with exception catching. (#2531) 2874 - Full list of changes: 2875 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.21.8...1.21.9 2876 - Emscripten-LLVM: no changes. 2877 - Emscripten-Clang: no changes. 2878 2879v1.21.8: 7/28/2014 2880------------------ 2881 - Fixed an issue when using --embed-file to embed very large files. 2882 - Worked around a Windows node.js bug where the compiler output might get cut 2883 off when the compilation ends in an error. 2884 (https://github.com/joyent/node/issues/1669) 2885 - Full list of changes: 2886 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.21.7...1.21.8 2887 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.21.7...1.21.8 2888 - Emscripten-Clang: no changes. 2889 2890v1.21.7: 7/25/2014 2891------------------ 2892 - Added new environment varaible EMCC_ONLY_FORCED_STDLIBS which can be used to 2893 restrict to only linking to the chosen set of Emscripten-provided libraries. 2894 (See also EMCC_FORCE_STDLIBS) 2895 - Adjusted argv[0] and environment variables USER, HOME, LANG and _ to report a 2896 more convenient set of default values. (#2565) 2897 - Fixed an issue where the application could not use environ without also 2898 referring to getenv() (#2557) 2899 - Fixed an issue with IDBFS running in web workers. 2900 - Print out an error if IDBFS is used without IDB support. 2901 - Fixed calling Runtime.getFuncWrapper() when -s ALIASING_FUNCTION_POINTERS=1 (#2010) 2902 - Fixed an issue where deleting files during directory iteration would produce 2903 incorrect iteration results (#2528) 2904 - Fixed support for strftime with %z and %Z (#2570) 2905 - Fixed a bug with truncate() throwing an exception (#2572) 2906 - Improved the linker to generate warning messages if user specifies -s X=Y 2907 linker flags that do not exist (#2579) 2908 - Fixed an issue with creating read-only files (#2573) 2909 - Added first implementation for the ASYNCIFY option, which splits up 2910 synchronous blocking loops to asynchronous execution. For more information on 2911 this approach, see https://github.com/emscripten-core/emscripten/wiki/Asyncify 2912 - Full list of changes: 2913 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.21.6...1.21.7 2914 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.21.6...1.21.7 2915 - Emscripten-Clang: no changes. 2916 2917v1.21.6: 7/22/2014 2918------------------ 2919 - Separated OpenAL AL and ALC errors to properly separate fields. 2920 - When using EGL to initialize a GL context, initialize a stencil buffer to the 2921 context as well, since proper EGL context choosing is not yet implemented. 2922 - Added new linker flag -s DEMANGLE_SUPPORT to choose whether to compile the 2923 application with libcxxabi-provided demangling support ___cxa_demangle(). 2924 - Fixed a problem where calling stat() on a nonexisting file in the runtime VFS 2925 would result in an exception being thrown. (#2552) 2926 - When using the -v flag, no longer retain intermediate compilation files. To 2927 preserve the intermediate files, set the EMCC_DEBUG=1 environment variable. 2928 (#2538) 2929 - Added a new HTML setting Module.memoryInitializerPrefixURL which specifies a 2930 prefix for where the memory initializer file .mem.js should be loaded from 2931 (#2542) 2932 - Implemented eglReleaseThread to work according to spec. 2933 - Implemented a new function emscripten_force_exit() which immediately shuts 2934 down the C runtime. 2935 - Fixed a bug with exception handling that resulted in an error unresolved 2936 symbol: _ZTISt13bad_exception (#2560) 2937 - Full list of changes: 2938 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.21.5...1.21.6 2939 - Emscripten-LLVM: no changes. 2940 - Emscripten-Clang: no changes. 2941 2942v1.21.5: 7/21/2014 2943------------------ 2944 - Added support for glDrawBuffers with the WEBGL_draw_buffers extension. 2945 - Added stub implementation for eglReleaseThread. 2946 - Fixed a bug where passing -E to emcc used the system include headers instead 2947 of the built-in ones. (#2534) 2948 - Fixed the stacktrace() function to work on MSIE as well. 2949 - Removed the zlib.h header file from system include directory, since 2950 Emscripten does not provide an implementation of zlib built-in. 2951 - Added support for __cxa_bad_typeid (#2547) 2952 - Fixed an internal compiler crash with a certain pattern involving optimized 2953 builds and int64_t (#2539) 2954 - Fixed an issue with -s EXCEPTION_CATCHING_WHITELIST handling where an 2955 extension that was a substring of another might get erroneously handled. 2956 - Full list of changes: 2957 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.21.4...1.21.5 2958 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.21.4...1.21.5 2959 - Emscripten-Clang: no changes. 2960 2961v1.21.4: 7/17/2014 2962------------------ 2963 - Implemented the getsockopt() function. 2964 - Added new event callback functions emscripten_set_socket_xx_callback() that 2965 allow listening to WebSocket events in an asynchronous manner. 2966 - Greatly improved CMake support, now various forms of configure-time test 2967 builds are supported, and the default extension is set to ".js" 2968 - Prohibit the virtual filesystem from creating files with name '.' or '..' at 2969 runtime. 2970 - Have runtime mkdir() function call normalize the path to be created before 2971 creation. 2972 - Fixed an issue with omitting the third paramter in cwrap() call (#2511). 2973 - Fixed an issue where mouse event handling would throw an exception if the 2974 page did not contain a canvas object. 2975 - Fixed a GL initialization problem when user has extended Array with custom 2976 functions (#2514) 2977 - Added new compiler defines __EMSCRIPTEN_major__, __EMSCRIPTEN_minor__ and 2978 __EMSCRIPTEN_tiny__ which communicate the compiler version major.minor.tiny 2979 to compiled applications (#2343) 2980 - Fixed a bug where emrun did not properly capture the exit code when exit 2981 runtime via not calling exit(). 2982 - Fixed an error message when symlinkin invalid filenams at runtime. 2983 - Fixed a bug in EGL context creation that parsed the input context creation 2984 parameters with wrong terminator. 2985 - Improved ffdb.py to be smarter when to attempt port forwarding to connect to 2986 a FFOS device DevTools port. 2987 - Implemented strsignal() function (#2532) 2988 - Full list of changes: 2989 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.21.3...1.21.4 2990 - Emscripten-LLVM: no changes. 2991 - Emscripten-Clang: no changes. 2992 2993v1.21.3: 7/10/2014 2994------------------ 2995 - Added implementations for SDL function SDL_AudioQuit and SDL_VideoQuit. 2996 - Fix an issue with the optimizeShifts optimization enabled in previous version. 2997 - Fixed the -s RELOOPER command line parameter to work. 2998 - Fixed a bug where building the system libc migt result in a compiler deadlock 2999 on Windows. 3000 - Removed emcc from trying to link in .dll files as static libraries on 3001 Windows. 3002 - Added support for GL_HALF_FLOAT_OES. 3003 - Fixed a bug where emcmake did not work on Windows. 3004 - Use multithreaded compilation to build libc. 3005 - Fixed an issue where the GL interop library could throw an exception in an 3006 error condition, instead of raising a GL error. 3007 - Full list of changes: 3008 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.21.2...1.21.3 3009 - Emscripten-LLVM: no changes. 3010 - Emscripten-Clang: no changes. 3011 3012v1.21.2: 7/5/2014 3013------------------ 3014 - Improved the checks that detect that code is run only while the runtime is 3015 initialized. 3016 - The memory initializer file (.mem.js) is now emitted by default when 3017 compiling with at least -O2 optimization level. 3018 - Fixed a performance issue where built-in math functions (Math.sqrt, etc.) 3019 took a slightly slower path (#2484). 3020 - Added support for the ffs libc function. 3021 - Re-enabled optimizeShifts optimization when not compiling for asm.js (#2481) 3022 - Full list of changes: 3023 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.21.1...1.21.2 3024 - Emscripten-LLVM: no changes. 3025 - Emscripten-Clang: no changes. 3026 3027v1.21.1: 7/3/2014 3028------------------ 3029 - Fixed an issue where wrong python interpreter could get invoked on Windows 3030 when both native and cygwin python were installed. 3031 - Updated musl from version 0.9.13 to version 1.0.3. 3032 - Full list of changes: 3033 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.21.0...1.21.1 3034 - Emscripten-LLVM: no changes. 3035 - Emscripten-Clang: no changes. 3036 3037v1.21.0: 7/2/2014 3038------------------ 3039 - Enable memory init files (.mem) by default in optimized builds (-O2+), as if 3040 --memory-init-file 1 is specified. This makes the default behavior on 3041 optimized builds emit smaller and faster-to-load code, but does require that 3042 you ship both a .js and a .mem file (if you prefer not to, can use 3043 --memory-init-file 1 ). 3044 - Implemented new SDL 1.2 functions SDL_GetRGB, SDL_GetRGBA and SDL_putenv. 3045 - Added support for /dev/random, /dev/urandom and C++11 std::random_device, 3046 which will use cryptographically secure random api if available. (#2447) 3047 - Added support for CMake find_path() directive. 3048 - Added support for std::unique_ptr in embind. 3049 - Improved Windows support for ffdb.py. 3050 - Implemented the clip_rect structure for created SDL surfaces. 3051 - Fixed a regression with SDL touch events (#2466) 3052 - Added support for C++11 std::thread::hardware_concurrency which backs to 3053 navigator.hardwareConcurrency. See 3054 http://wiki.whatwg.org/wiki/Navigator_HW_Concurrency (#2456) 3055 - Optimized embind code generation with constexprs. 3056 - Enabled the use of Runtime.add&removeFunction when closure minification is 3057 active (#2446) 3058 - Implemented support for accessing WebGL when building via the proxy to worker 3059 architecture. 3060 - Full list of changes: 3061 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.20.0...1.21.0 3062 - Emscripten-LLVM: no changes. 3063 - Emscripten-Clang: no changes. 3064 3065v1.20.0: 6/13/2014 3066------------------ 3067 - Optimize in-memory virtual filesystem performance when serialized to an IndexedDB. 3068 - Fixed memcpy regression with ta0 and ta1 modes. 3069 - Fixed an issue with line numbers being messed up when generating source maps (#2410) 3070 - Fixed an ffdb logging bug that could cause it to drop messages if they were 3071 being received too fast. Added support getting memory and system descriptions 3072 with ffdb. 3073 - Added a new extension to SDL "emscripten_SDL_SetEventHandler()" which enabled 3074 application to perform SDL event handling inside a JS event handler to 3075 overcome browser security restrictions. (#2417) 3076 - Full list of changes: 3077 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.19.2...1.20.0 3078 - Emscripten-LLVM: no changes. 3079 - Emscripten-Clang: no changes. 3080 3081v1.19.2: 6/9/2014 3082------------------ 3083 - Updated CMake support for response file handling. 3084 - Fixed issues with glfwGetProcAddress and glfwSetWindowSizeCallback. 3085 - Fixed an issue with regexes that caused issues on IE11 runtime (#2400) 3086 - Added a new functions emscripten_get_preloaded_image_data() and 3087 emscripten_get_preloaded_image_data_from_FILE() to obtain pixel data of 3088 preloaded images. 3089 - Greatly improved ffdb capabilities to operate a FFOS device. 3090 - Fixed a Windows-specific bug where the user temp directory was littered with 3091 temporary .rsp files that did not get cleaned up. 3092 - Improved SIMD support. 3093 - Full list of changes: 3094 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.19.1...1.19.2 3095 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.19.1...1.19.2 3096 - Emscripten-Clang: no changes. 3097 3098v1.19.1: 6/3/2014 3099------------------ 3100 - Migrate to using musl sscanf and sprintf and the family that writes to 3101 memory, and not directly to the filesystem. 3102 - Improve the error messages from -s SAFE_HEAP_ACCESS=1 runtime checks. 3103 - Added new linker flag -s NO_DYNAMIC_EXECUTION=1 which removes the use of 3104 eval() and new Function() in the generated output. For more information, see 3105 "Eval and related functions are disabled" in 3106 https://developer.chrome.com/extensions/contentSecurityPolicy . 3107 - Fixed a compiler issue when very large double constants are present. (#2392) 3108 - Full list of changes: 3109 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.19.0...1.19.1 3110 - Emscripten-LLVM: no changes. 3111 - Emscripten-Clang: no changes. 3112 3113v1.19.0: 5/29/2014 3114------------------ 3115 - Added an error message to signal that linkable modules are not supported in fastcomp. 3116 - Fixed a miscompilation issue that resulted in an error "SyntaxError: invalid 3117 increment operand" and a statement +(+0) being generated (#2314) 3118 - Make optimized compiler output smaller by running the shell code through 3119 uglify when not using closure. 3120 - Fixed a crash in SDL audio loading code introduced in v1.18.3 3121 - Fixed an issue where glTex(Sub)Image2D might throw an exception on error, 3122 instead of setting glGetError(). 3123 - Added new typedefs emscripten_align1_short, emscripten_align{1/2}_int, 3124 emscripten_align{1/2}_float and emscripten_align{1/2/4}_double to ease 3125 signaling the compiler that unaligned data is present. (#2378) 3126 - Fixed an embind issue with refcount tracking on smart pointers. 3127 - Full list of changes: 3128 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.18.4...1.19.0 3129 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.18.4...1.19.0 3130 - Emscripten-Clang: no changes. 3131 3132v1.18.4: 5/27/2014 3133------------------ 3134 - Fixed error message on unsupported linking options (#2365) 3135 - Updated embind to latest version from IMVU upstream. 3136 - Fixed an issue where source maps did not load properly in Firefox. 3137 - Added a more descriptive error message to fastcomp when MAX_SETJMPS limit is 3138 violated. (#2379) 3139 - Full list of changes: 3140 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.18.3...1.18.4 3141 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.18.3...1.18.4 3142 - Emscripten-Clang: no changes. 3143 3144v1.18.3: 5/21/2014 3145------------------ 3146 - Added support to emcc command line for "archive groups": -Wl,--start-group 3147 and -Wl,--end-group 3148 - Greatly optimized ccall and cwrap implementations. 3149 - Added new support for SDL_Mix backend to use WebAudio to play back audio clips. 3150 - Fixed a registerizeHarder issue with elimination of conditional expressions. 3151 - Migrated single-character standard C functions (islower, tolower, and the 3152 family) to use musl implementations. 3153 - Updated relooper to not optimize out breaks if it causes excessive nesting. 3154 - Full list of changes: 3155 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.18.2...1.18.3 3156 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.18.2...1.18.3 3157 - Emscripten-Clang: no changes. 3158 3159v1.18.2: 5/19/2014 3160------------------ 3161 - Fixed a problem which blocked user applications from handling WebGL context 3162 loss events themselves. 3163 - Added a new HTML5 api function emscripten_is_webgl_context_lost() which 3164 allows polling for context loss in addition to receiving events. 3165 - Improved async wget progress events to work better across browsers. 3166 - Improved WebIDL binder support. 3167 - Added new typeof() function to emscripten::val. 3168 - Added support for SDL window events SDL_WINDOWEVENT_FOCUS_GAINED, 3169 SDL_WINDOWEVENT_FOCUS_LOST, SDL_WINDOWEVENT_SHOWN, SDL_WINDOWEVENT_HIDDEN. 3170 - Fixed a compiler miscompilation on unsigned i1 bitcasts (#2350) 3171 - Fixed a compiler bug where doubles in varargs might not get 8-byte aligned (#2358) 3172 - Full list of changes: 3173 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.18.1...1.18.2 3174 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.18.1...1.18.2 3175 - Emscripten-Clang: no changes. 3176 3177v1.18.1: 5/12/2014 3178------------------ 3179 - Fixed an issue where the mouse wheel scroll did not work with SDL. 3180 - Fixed an issue with emscripten_async_wget, which undesirably expected that 3181 the string pointer passed to it stayed alive for the duration of the 3182 operation (#2349) 3183 - Emscripten now issues a warning message when the EXPORTED_FUNCTIONS list 3184 contains invalid symbol names (#2338) 3185 - Full list of changes: 3186 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.18.0...1.18.1 3187 - Emscripten-LLVM: no changes. 3188 - Emscripten-Clang: no changes. 3189 3190v1.18.0: 5/10/2014 3191------------------ 3192 - Enable support for low-level C<->JS interop to marshall 64 bit integers from 3193 C to JS. 3194 - Fixed an issue that caused some programs to immediately run out of memory 3195 "(cannot enlarge memory arrays)" at startup. (#2334) 3196 - Fixed a crash issue with generated touch events that didn't correspond to a real touch. 3197 - Full list of changes: 3198 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.17.0...1.18.0 3199 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.17.0...1.18.0 3200 - Emscripten-Clang: no changes. 3201 3202v1.17.0: 5/6/2014 3203------------------ 3204 - Enabled asm.js compilation and -s PRECISE_F32 support when using embind. 3205 - Improved relooper to emit switches in many-entried blocks. 3206 - Fixed a GLFW bug where mouse wheel direction was reversed. 3207 - Fixed glfwGetKey to work even when no callback is registered with 3208 glfwGetKeyCallback (#1320) 3209 - Added a new tool 'webidl_binder' that generates C <-> JS interop code from 3210 WebIDL descriptions. 3211 - Fix emscripten compilation to work on pages that don't contain a HTML canvas. 3212 - Added a new error message to default shell when an uncaught exception is thrown. 3213 - Improved error diagnostics reported by -s SAFE_HEAP=1. 3214 - Added support for registering callbacks hook to VFS file open, write, move, 3215 close and delete. 3216 - Added embind support to std::basic_string<unsigned char> 3217 - By default, the C runtime will no longer exit after returning from main() 3218 when safeSetTimeout() or safeSetInterval() is used. 3219 - Fixed an issue with sscanf formatting (#2322) 3220 - Fixed an issue where precompiled headers were given a wrong output filename (#2320) 3221 - Enabled registerizeHarder optimization pass to work when outlining is enabled. 3222 - Fixed an issue with strptime month handling (#2324) 3223 - Added an initial implementation of a new tool 'ffdb' which can be used to 3224 operate a Firefox OS phone from the command line. 3225 - Fixed a compiler crash on assertion failure '!contains(BranchesOut, Target)' 3226 (emscripten-fastcomp #32) 3227 - Added a new ABI to Clang that targets Emscripten specifically. Stop aligning 3228 member functions to save some space in the function table array. 3229 - Full list of changes: 3230 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.16.0...1.17.0 3231 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.16.0...1.17.0 3232 - Emscripten-Clang: https://github.com/emscripten-core/emscripten-fastcomp-clang/compare/1.16.0...1.17.0 3233 3234v1.16.0: 4/16/2014 3235------------------ 3236 - Removed browser warnings message in VFS library about replacing __proto__ performance issue. 3237 - Full list of changes: 3238 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.15.1...1.16.0 3239 - Emscripten-LLVM: no changes. 3240 - Emscripten-Clang: https://github.com/emscripten-core/emscripten-fastcomp-clang/compare/1.15.1...1.16.0 3241 3242v1.15.1: 4/15/2014 3243------------------ 3244 - Added support for SDL2 touch api. 3245 - Added new user-controllable emdind-related define #define 3246 EMSCRIPTEN_HAS_UNBOUND_TYPE_NAMES, which allows optimizing embind for minimal 3247 size when std::type_info is not needed. 3248 - Fixed issues with CMake support where CMAKE_AR and CMAKE_RANLIB were not 3249 accessible from CMakeLists.txt files. 3250 - Full list of changes: 3251 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.15.0...1.15.1 3252 - Emscripten-LLVM: no changes. 3253 - Emscripten-Clang: no changes. 3254 3255v1.15.0: 4/11/2014 3256------------------ 3257 - Fix outlining feature for functions that return a double (#2278) 3258 - Added support for C++11 atomic constructs (#2273) 3259 - Adjusted stdout and stderr stream behavior in the default shell.html to 3260 always print out to both web page text log box, and the browser console. 3261 - Fixed an issue with loop variable optimization. 3262 - Full list of changes: 3263 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.14.1...1.15.0 3264 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.14.1...1.15.0 3265 - Emscripten-Clang: https://github.com/emscripten-core/emscripten-fastcomp-clang/compare/1.14.1...1.15.0 3266 3267v1.14.1: 4/8/2014 3268------------------ 3269 - Added new command line utility 'emcmake', which can be used to call 3270 emconfigure for cmake. 3271 - Added a new emcc command line parameter '--valid-abspath', which allows 3272 selectively suppressing warning messages that occur when using absolute path 3273 names in include and link directories. 3274 - Added a new emcc linker command line parameter '--emit-symbol-map', which 3275 will save a map file between minified global names and the original function 3276 names. 3277 - Fixed an issue with --default-object-ext not always working properly. 3278 - Added optimizations to eliminate redundant loop variables and redundant 3279 self-assignments. 3280 - Migrated several libc functions to use compiled code from musl instead of 3281 handwritten JS implementations. 3282 - Improved embind support. 3283 - Renamed the EM_ASM_() macro to the form EM_ASM_ARGS(). 3284 - Fixed mouse button ordering issue in glfw. 3285 - Fixed an issue when creating a path name that ends in a slash (#2258, #2263) 3286 - Full list of changes: 3287 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.14.0...1.14.1 3288 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.14.0...1.14.1 3289 - Emscripten-Clang: no changes. 3290 3291v1.14.0: 3/25/2014 3292------------------ 3293 - Added new emcc linker command line option '-profiling', which defaults JS 3294 code generation options suited for benchmarking and profiling purposes. 3295 - Implemented the EGL function eglWaitGL(). 3296 - Fixed an issue with the HTML5 API that caused the HTML5 event listener unregistration to fail. 3297 - Fixed issues with numpad keys in SDL support library. 3298 - Added a new JS optimizer pass 'simplifyIfs', which is run when -s 3299 SIMPLIFY_IFS=1 link flag is set and -g is not specified. This pass merges 3300 multiple nested if()s together into single comparisons, where possible. 3301 - Removed false positive messages on missing internal "emscripten_xxx" symbols at link stage. 3302 - Updated to latest relooper version. 3303 - Full list of changes: 3304 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.13.2...1.14.0 3305 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.13.2...1.14.0 3306 - Emscripten-Clang: no changes. 3307 3308v1.13.2: 3/15/2014 3309------------------ 3310 - Fixed issues with SDL audio on Safari. 3311 - Fixed issues with HTML5 API mouse scroll events on Safari. 3312 - Fixed issues with HTML5 fullscreen requests in IE11. 3313 - Enabled support for emscripten_get_callstack on IE10+. 3314 - Fixed issues with Closure symbol minification. 3315 - Further improved em_asm()-related error messages. 3316 - Updated to latest relooper version. 3317 - Full list of changes: 3318 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.13.1...1.13.2 3319 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.13.1...1.13.2 3320 - Emscripten-Clang: no changes. 3321 3322v1.13.1: 3/10/2014 3323------------------ 3324 - Disallow C implicit function declarations by making it an error instead of a 3325 warning by default. These will not work with Emscripten, due to strict 3326 Emscripten signature requirements when calling function pointers (#2175). 3327 - Allow transitioning to full screen from SDL as a response to mouse press 3328 events. 3329 - Fixed a bug in previous 1.13.0 release that broke fullscreen transitioning 3330 from working. 3331 - Fixed emscripten/html5.h to be used in C source files. 3332 - Fix an issue where extraneous system libraries would get included in the 3333 generated output (#2191). 3334 - Added a new function emscripten_async_wget2_data() that allows reading from 3335 an XMLHTTPRequest directly into memory while supporting advanced features. 3336 - Fixed esc key code in GLFW. 3337 - Added new emscripten_debugger() intrinsic function, which calls into JS 3338 "debugger;" statement to break into a JS debugger. 3339 - Fixed varargs function call alignment of doubles to 8 bytes. 3340 - Switched to using default function local stack alignment to 16 bytes to be SIMD-friendly. 3341 - Improved error messages when user code has a syntax error in em_asm() statements. 3342 - Switched to using a new custom LLVM datalayout format for Emscripten. See 3343 https://github.com/emscripten-core/emscripten-fastcomp/commit/65405351ba0b32a8658c65940e0b65ceb2601ad4 3344 - Optimized function local stack space to use fewer temporary JS variables. 3345 - Full list of changes: 3346 - Emscripten: https://github.com/emscripten-core/emscripten/compare/1.13.0...1.13.1 3347 - Emscripten-LLVM: https://github.com/emscripten-core/emscripten-fastcomp/compare/1.13.0...1.13.1 3348 - Emscripten-Clang: https://github.com/emscripten-core/emscripten-fastcomp-clang/compare/1.13.0...1.13.1 3349 3350v1.13.0: 3/3/2014 3351------------------ 3352 - Fixed the deprecated source mapping syntax warning. 3353 - Fixed a buffer overflow issue in emscripten_get_callstack (#2171). 3354 - Added support for -Os (optimize for size) and -Oz (aggressively optimize for 3355 size) arguments to emcc. 3356 - Fixed a typo that broko the call signature of glCompressedTexSubImage2D() 3357 function (#2173). 3358 - Added new browser fullscreen resize logic that always retains aspect ratio 3359 and adds support for IE11. 3360 - Improve debug messaging with bad function pointer calls when -s ASSERTIONS=2 3361 is set. 3362 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.12.3...1.13.0 3363 3364v1.12.3: 2/27/2014 3365------------------ 3366 - Fixed alcOpenDevice on Safari. 3367 - Improved the warning message on missing symbols to not show false positives (#2154). 3368 - Improved EmscriptenFullscreenChangeEvent HTML5 API structure to return 3369 information about HTML element and screen sizes for convenience. 3370 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.12.2...1.12.3 3371 3372v1.12.2: 2/25/2014 3373------------------ 3374 - Added better warning message if Emscripten, LLVM and Clang versions don't match. 3375 - Introduced the asmjs-unknown-emscripten target triple that allows 3376 specializing LLVM codegen for Emscripten purposes. 3377 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.12.1...1.12.2 3378 3379v1.12.1: 2/25/2014 3380------------------ 3381 - TURNED ON FASTCOMP BY DEFAULT. This means that you will need to migrate to 3382 fastcomp-clang build. Either use an Emscripten SDK distribution, or to build 3383 manually, see 3384 http://kripken.github.io/emscripten-site/docs/building_from_source/LLVM-Backend.html 3385 for info. 3386 - Migrate to requiring Clang 3.3 instead of Clang 3.2. The fastcomp-clang 3387 repository by Emscripten is based on Clang 3.3. 3388 - Deprecated old Emscripten libgc implementation. 3389 - asm.js will now be always enabled, even in -O0 builds in fastcomp. 3390 - Remove support for -s RUNTIME_TYPE_INFO, which is unsupported in fastcomp. 3391 - Added a new "powered by Emscripten" logo. 3392 - Updated default shell.html graphical layout. 3393 - Added new macro EM_ASM_, which allows sending values to JS without returning anything. 3394 - Deprecated the jcache compiler option. It should not be needed anymore. 3395 - Added support for fetching callstack column information in Firefox 30 in emscripten_get_callstack. 3396 - Fix issues with missing exceptions-related symbols in fastcomp. 3397 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.12.0...1.12.1 3398 3399v1.12.0: 2/22/2014 3400------------------ 3401 - Improved the runtime abort error message when calling an invalid function 3402 pointer if compiled with -s ASSERTIONS=1 and 2. This allows the developer to 3403 better deduce errors with bad function pointers or function pointers casted 3404 and invoked via a wrong signature. 3405 - Added a new api function emscripten_set_main_loop_arg, which allows passing a 3406 userData pointer that will be carried via the function call, useful for 3407 object-oriented encapsulation purposes (#2114). 3408 - Fixed CMake MinSizeRel configuration type to actually optimize for minimal size with -Os. 3409 - Added support for GLES2 VAO extension OES_vertex_array_object for browsers that support it. 3410 - Fix issues with emscripten/html5.f when compiled with the SAFE_HEAP option. 3411 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.11.1...1.12.0 3412 3413v1.11.1: 2/19/2014 3414------------------ 3415 - Improved eglSwapBuffers to be spec-conformant. 3416 - Fixed an issue with asm.js validation and va_args (#2120). 3417 - Fixed asm.js validation issues found with fuzzing. 3418 - Added new link-time compiler flag -s RETAIN_COMPILER_SETTINGS=1, which 3419 enables a runtime API for querying which Emscripten settings were used to 3420 compile the file. 3421 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.11.0...1.11.1 3422 3423v1.11.0: 2/14/2014 3424------------------ 3425 - Implemented some new SDL library functions. 3426 - Renamed standard file descriptors to have handles 0, 1 and 2 rather than 1, 2 3427 and 3 to coincide with unix numbering. 3428 - Improved embind support with smart pointers and mixins. 3429 - Improved the registerization -O3 optimization pass around switch-case constructs. 3430 - Upper-case files with suffix .C are now also recognized (#2109). 3431 - Fixed an issue with glGetTexParameter (#2112). 3432 - Improved exceptions support in fastcomp. 3433 - Added new linker option -s NO_EXIT_RUNTIME=1, which can be used to set a 3434 default value for the Module["noExitRuntime"] parameter at compile-time. 3435 - Improved SDL audio buffer queueing when the sample rate matches the native 3436 web audio graph sample rate. 3437 - Added an optimization that removes redundant Math.frounds in -O3. 3438 - Improved the default shell.html file. 3439 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.10.4...1.11.0 3440 3441v1.10.4: 2/10/2014 3442------------------ 3443 - Added support for legacy GL emulation in fastcomp. 3444 - Deprecated the --split-js compiler option. This is not supported in fastcomp. 3445 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.10.3...1.10.4 3446 3447v1.10.3: 2/9/2014 3448------------------ 3449 - Work on supporting GL/EGL GetProcAddress. 3450 - Fixed issues with shared lib linking support. 3451 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.10.2...1.10.3 3452 3453v1.10.2: 2/7/2014 3454------------------ 3455 - Added basic FS unmount support. 3456 - Improved screen orientation lock API to return a success code. 3457 - Added PRECISE_F32 support to fastcomp. 3458 - Fixed issues in fastcomp related to special floating point literal 3459 serialization. 3460 - Improved SDL audio buffer queueing. 3461 - Added new link-time option -s WARN_UNALIGNED=1 to fastcomp to report compiler 3462 warnings about generated unaligned memory accesses, which can hurt 3463 performance. 3464 - Optimized libc strcmp and memcmp with the implementations from musl libc. 3465 - Optimized libc memcpy and memset to back to native code for large buffer sizes. 3466 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.10.1...1.10.2 3467 3468v1.10.1: 1/31/2014 3469------------------ 3470 - Improve srand() and rand() to be seedable and use a Linear Congruential 3471 Generator (LCG) for the rng generation for performance. 3472 - Improved OpenAL library support. 3473 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.10.0...1.10.1 3474 3475v1.10.0: 1/29/2014 3476------------------ 3477 - Improved C++ exception handling. 3478 - Improved OpenAL library support. 3479 - Fixed an issue where loading side modules could try to allocate from sealed 3480 heap (#2060). 3481 - Fixed safe heap issues (2068). 3482 - Added new EM_ASM variants that return a value but do not receive any inputs 3483 (#2070). 3484 - Add support for simultaneously using setjmp and C++ exceptions in fastcomp. 3485 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.9.5...1.10.0 3486 3487v1.9.5: 1/25/2014 3488------------------ 3489 - Added a spinner logo to default html shell. 3490 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.9.4...1.9.5 3491 3492v1.9.4: 1/24/2014 3493------------------ 3494 - Add support for Ninja and Eclipse+Ninja builds with Emscripten+CMake. 3495 - Fixed regressions with GL emulation. 3496 - Added support for #if !X in .js library preprocessor. 3497 - Make the syntax EM_ASM("code"); not silently fail. Note that the proper form 3498 is EM_ASM(code); without double-quotes. 3499 - Optimize generated code size by minifying loop labels as well. 3500 - Revised the -O3 optimization level to mean "safe, but very slow optimizations 3501 on top of -O2", instead of the old meaning "unsafe optimizations". Using -O3 3502 will now only do safe optimizations, but can be very slow compared to -O2. 3503 - Implemented a new registerization optimization pass that does extra variable 3504 elimination in -O3 and later to reduce the number of local variables in 3505 functions. 3506 - Implemented a new emscripten/html5.h interface that exposes common HTML5 APIs 3507 directly to C code without having to handwrite JS wrappers. 3508 - Improved error messages reported on user-written .js libraries containing 3509 syntax errors (#2033). 3510 - Fixed glBufferData() function call signature with null data pointer. 3511 - Added new option Module['filePackagePrefixURL'] that allows customizing the 3512 URL where the VFS package is loaded from. 3513 - Implemented glGetTexEnviv and glGetTexEnvfv in GL emulation mode. 3514 - Optimized the size of large memory initializer sections. 3515 - Fixed issues with the safe heap compilation option. 3516 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.9.3...1.9.4 3517 3518v1.9.3: 1/17/2014 3519------------------ 3520 - re-merge split blocks in multiples 3521 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.9.2...1.9.3 3522 3523v1.9.2: 1/16/2014 3524------------------ 3525 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.9.1...1.9.2 3526 3527v1.9.1: 1/16/2014 3528------------------ 3529 - Optimize desktop GL fixed function pipeline emulation texture load 3530 instruction counts when GL_COMBINE is used. 3531 - fix Math_floor coercion in unrecommended codegen modes 3532 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.9.0...1.9.1 3533 3534v1.9.0: 1/16/2014 3535------------------ 3536 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.8.14...1.9.0 3537 3538v1.8.14: 1/15/2014 3539------------------ 3540 - add musl fputws and fix vswprintf. 3541 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.8.13...1.8.14 3542 3543v1.8.13: 1/15/2014 3544------------------ 3545 - remove musl use of fwritex 3546 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.8.12...1.8.13 3547 3548v1.8.12: 1/15/2014 3549------------------ 3550 - Added new GLEW 1.10.0 emulation support. 3551 - Fixed an issue where the runtime could start more than once when run in a 3552 browser (#1992) 3553 - Fix a regression in wprintf. 3554 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.8.11...1.8.12 3555 3556v1.8.11: 1/15/2014 3557------------------ 3558 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.8.10...1.8.11 3559 3560v1.8.10: 1/14/2014 3561------------------ 3562 - Update libc implementation from musl libc. 3563 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.8.9...1.8.10 3564 3565v1.8.9: 1/14/2014 3566------------------ 3567 - add fputwc, which enables wprintf. 3568 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.8.8...1.8.9 3569 3570v1.8.8: 1/14/2014 3571------------------ 3572 - Update to latest libcxx and libcxxabi libraries. 3573 - Fix handling of floating point negative zero (#1898) 3574 - Fixed a memory leak in relooper in previous release. 3575 - Fixed an issue in previous release with VBO handling in GL optimizations. 3576 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.8.7...1.8.8 3577 3578v1.8.7: 1/13/2014 3579------------------ 3580 - Added support to numpad keycodes in glut support library. 3581 - Fix SIMD support with fastcomp. 3582 - Fixed a compiler error 'ran out of names' that could occur with too many 3583 minified symbol names. 3584 - Work around webkit imul bug https://bugs.webkit.org/show_bug.cgi?id=126345 3585 (#1991) 3586 - Optimized desktop GL fixed function pipeline emulation path for better 3587 performance. 3588 - Added support for exceptions when building with fastcomp. 3589 - Fix and issue where the run() function could be called multiple times at 3590 startup (#1992) 3591 - Removed a relooper limitation with fixed buffer size. 3592 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.8.6...1.8.7 3593 3594v1.8.6: 1/8/2014 3595------------------ 3596 - Added support for the libuuid library, see http://linux.die.net/man/3/libuuid. 3597 - Fixed .js file preprocessor to preprocess recursively (#1984). 3598 - Fixed a compiler codegen issue related to overflow arithmetic (#1975) 3599 - Added new link-time optimization flag -s AGGRESSIVE_VARIABLE_ELIMINATION=1 3600 that enables the aggressiveVariableElimination js optimizer pass, which tries 3601 to remove temporary variables in generated JS code at the expense of code 3602 size. 3603 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.8.5...1.8.6 3604 3605v1.8.5: 1/7/2014 3606------------------ 3607 - Fixed compiler issues when used with LLVM 3.4. 3608 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.8.4...1.8.5 3609 3610v1.8.4: 1/6/2014 3611------------------ 3612 - Added support to Return and Backspace keys to glut 3613 - Fixed compiler issues when used with LLVM 3.4. 3614 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.8.3...1.8.4 3615 3616v1.8.3: 1/5/2014 3617------------------ 3618 - Improved SDL and page scroll pos handling support for IE10 and IE11. 3619 - Optimized SDL_UnlockSurface performance. 3620 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.8.2...1.8.3 3621 3622v1.8.2: 1/4/2014 3623------------------ 3624 - Fixed glGetFramebufferAttachmentParameteriv and an issue with glGetXXX when 3625 the returned value was null. 3626 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.8.1...1.8.2 3627 3628v1.8.1: 1/3/2014 3629------------------ 3630 - Added support for WebGL hardware instancing extension. 3631 - Improved fastcomp native LLVM backend support. 3632 - Added support for #include filename.js to JS libraries. 3633 - Deprecated --compression emcc command line parameter that manually compressed 3634 output JS files, due to performance issues. Instead, it is best to rely on 3635 the web server to serve compressed JS files. 3636 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.8.0...1.8.1 3637 3638v1.8.0: 12/28/2013 3639------------------ 3640 - Fix two issues with function outliner and relooper. 3641 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.7.9...1.8.0 3642 3643v1.7.9: 12/27/2013 3644------------------ 3645 - Added new command line parameter --em-config that allows specifying a custom 3646 location for the .emscripten configuration file. 3647 - Reintroduced relaxed asm.js heap sizes, which no longer need to be power of 3648 2, but a multiple of 16MB is sufficient. 3649 - Added emrun command line tool that allows launching .html pages from command 3650 line on desktop and Android as if they were native applications. See 3651 https://groups.google.com/forum/#!topic/emscripten-discuss/t2juu3q1H8E . Adds 3652 --emrun compiler link flag. 3653 - Began initial work on the "fastcomp" compiler toolchain, a rewrite of the 3654 previous JS LLVM AST parsing and codegen via a native LLVM backend. 3655 - Added --exclude-file command line flag to emcc and a matching --exclude 3656 command line flag to file packager, which allows specifying files and 3657 directories that should be excluded while packaging a VFS data blob. 3658 - Improved GLES2 and EGL support libraries to be more spec-conformant. 3659 - Optimized legacy GL emulation code path. Added new GL_FFP_ONLY optimization 3660 path to fixed function pipeline emulation. 3661 - Added new core functions emscripten_log() and emscripten_get_callstack() that 3662 allow printing out log messages with demangled and source-mapped callstack 3663 information. 3664 - Improved BSD Sockets support. Implemented getprotobyname() for BSD Sockets library. 3665 - Fixed issues with simd support. 3666 - Various bugfixes: #1573, #1846, #1886, #1908, #1918, #1930, #1931, #1942, #1948, .. 3667 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.7.8...1.7.9 3668 3669v1.7.8: 11/19/2013 3670------------------ 3671 - Fixed an issue with -MMD compilation parameter. 3672 - Added EM_ASM_INT() and EM_ASM_DOUBLE() macros. For more information, read 3673 https://groups.google.com/forum/#!topic/emscripten-discuss/BFGTJPCgO6Y . 3674 - Fixed --split parameter to also work on Windows. 3675 - Fixed issues with BSD sockets accept() call. 3676 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.7.7...1.7.8 3677 3678v1.7.7: 11/16/2013 3679------------------ 3680 - Improve SDL audio buffer queue timing support. 3681 - Improved default precision of clock_gettime even when not using CLOCK_REALTIME. 3682 - Optimize and fix issues with LLVM IR processing. 3683 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.7.6...1.7.7 3684 3685v1.7.6: 11/15/2013 3686------------------ 3687 - Added regex implementation from musl libc. 3688 - The command line parameter -s DEAD_FUNCTIONS=[] can now be used to explicitly 3689 kill functions coming from built-in library_xx.js. 3690 - Improved EGL support and GLES2 spec conformance. 3691 - Reverted -s TOTAL_MEMORY=x to require pow2 values, instead of the relaxed 3692 'multiples of 16MB'. This is because the relaxed rule is released only in 3693 Firefox 26 which is currently in Beta and ships on the week of December 10th 3694 (currently in Beta). As of writing, current stable Firefox 25 does not yet 3695 support these. 3696 - Adjusted the default linker behavior to warn about all missing symbols, 3697 instead of silently ignoring them. Use -s WARN_ON_UNDEFINED_SYMBOLS=0 to 3698 suppress these warnings if necessary. 3699 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.7.5...1.7.6 3700 3701v1.7.5: 11/13/2013 3702------------------ 3703 - Fix issues with the built-in C++ function name demangler. 3704 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.7.4...1.7.5 3705 3706v1.7.4: 11/12/2013 3707------------------ 3708 - Fixed issues with BSD sockets code and SDL joystick implementation. 3709 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.7.3...1.7.4 3710 3711v1.7.3: 11/12/2013 3712------------------ 3713 - Added support for generating single-precision floating point instructions. 3714 - For more information, read 3715 https://blog.mozilla.org/javascript/2013/11/07/efficient-float32-arithmetic-in-javascript/ 3716 - Made GLES2 support library more spec-conformant by throwing fewer exceptions 3717 on errors. Be sure to build with -s GL_ASSERTIONS=1, remember to use 3718 glGetError() and check the browser console to best detect WebGL rendering 3719 errors. 3720 - Converted return value of emscripten_get_now() from float to double, to not 3721 lose precision in the function call. 3722 - Added support for joysticks in SDL via the Gamepad API 3723 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.7.2...1.7.3 3724 3725v1.7.2: 11/9/2013 3726------------------ 3727 - The compiler now always generates a .js file that contains the generated 3728 source code even when compiling to a .html file. 3729 - Read https://groups.google.com/forum/#!topic/emscripten-discuss/EuHMwqdSsEs 3730 - Implemented depth+stencil buffer choosing behavior in GLUT, SDL and GLFW. 3731 - Fixed memory leaks generated by glGetString and eglGetString. 3732 - Greatly optimized startup times when virtual filesystems with a large amount 3733 of files in them. 3734 - Added some support for SIMD generated by LLVM. 3735 - Fixed some mappings with SDL keyboard codes. 3736 - Added a new command line parameter --no-heap-copy to compiler and file 3737 packager that can be used to optimize VFS memory usage at startup. 3738 - Updated libcxx to revision 194185, 2013-11-07. 3739 - Improvements to various library support. 3740 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.7.1...1.7.2 3741 3742v1.7.1: 10/24/2013 3743------------------ 3744 - Remove old call to Runtime.warn in file packager code 3745 - Fix bug with parsing of empty types. 3746 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.7.0...1.7.1 3747 3748v1.7.0: 10/23/2013 3749------------------ 3750 - Adds mouse wheel events support in GLUT library. 3751 - Adds support for a new link parameter -s CASE_INSENSITIVE_VFS=1 to enable 3752 Emscripten virtual filesystem to search files ignoring case. 3753 - *Numerous* optimizations in both compilation and runtime stages. 3754 - Remove unnecessary whitespace, compact postSets function, and other 3755 optimizations in compilation output to save on generated file size. 3756 - Fixes float parsing from negative zero. 3757 - Removes the -s EMIT_GENERATED_FUNCTIONS link parameter as unneeded. 3758 - Fixes an issue where updating subranges of GL uniform arrays was not 3759 possible. 3760 - asm.js heap size (-s TOTAL_MEMORY=x) no longer needs to be a power of 2. As a 3761 relaxed rule, choosing any multiple of 16MB is now possible. 3762 - O1 optimization no longer runs the 'simplifyExpressions' optimization pass. 3763 This is to improve build iteration times when using -O1. Use -O2 to run that 3764 pass. 3765 - EM_ASM() can now be used even when compiling to asm.js. 3766 - All currently specified non-debugging-related WebGL 1 extensions are now 3767 enabled by default on startup, no need to ctx.getExtension() manually to 3768 enable them. 3769 - Improve readability of uncaught JavaScript exceptions that are thrown all the 3770 way up to the web console by printing out the stack trace of where the throw 3771 occurred. 3772 - Fix an issue when renaming a directory to a subdirectory. 3773 - Several compiler stability fixes. 3774 - Adds a JavaScript implementation of cxa_demangle function for demangling call 3775 stack traces at runtime for easier debugging. 3776 - GL context MSAA antialising is now DISABLED by default, to make the GL 3777 behavior consistent with desktop usage. 3778 - Added support to SDL, GLUT and GLFW libraries to specify MSAA on/off at startup. 3779 - Implemented glColor4ubv in GL emulation mode. 3780 - Fix an issue with LLVM keyword __attribute__ ((__constructor__)) (#1155). 3781 - Fix an issue with va_args and -s UNALIGNED_MEMORY=1 (#1705). 3782 - Add initial support code for LLVM SIMD constructs and a JavaScript SIMD 3783 polyfill implementation from 3784 https://github.com/johnmccutchan/ecmascript_simd/ . 3785 - Fixed support for node.js native filesystem API NODEFS on Windows. 3786 - Optimize application startup times of Emscripten-compiled programs by 3787 enabling the virtual filesystem XHR and asm.js compilation to proceed in 3788 parallel when opening a page. 3789 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.6.4...1.7.0 3790 3791v1.6.4: 9/30/2013 3792------------------ 3793 - Implements a new preprocessor tool for preparsing C struct definitions 3794 (#1554), useful for Emscripten support library implementors. 3795 - Fix parsing issue with sscanf (#1668). 3796 - Improved the responsiveness of compiler print output on Windows. 3797 - Improved compilation times at link stage. 3798 - Added support for new "NODEFS" filesystem that directly accesses files on the 3799 native filesystem. Only usable with node.js when compiling to JS. 3800 - Added support for new IDBFS filesystem for accessing files in IndexedDB storage (#1601. 3801 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.6.3...1.6.4 3802 3803v1.6.3: 9/26/2013 3804------------------ 3805 - Emscripten CMake toolchain now generates archive files with .a suffix when 3806 project target type is static library, instead of generatic .bc files 3807 (#1648). 3808 - Adds iconv library from the musl project to implement wide functions in C 3809 library (#1670). 3810 - Full list of changes: 3811 https://github.com/emscripten-core/emscripten/compare/1.6.2...1.6.3 3812 3813v1.6.2: 9/25/2013 3814------------------ 3815 - Added support for dprintf() function (#1250). 3816 - Fixes several compiler stability issues (#1637, #1166, #1661, #1651 and more). 3817 - Enables support for WEBGL_depth_texture. 3818 - Adds support for new link flag -s GL_ASSERTIONS=1 which can be used to add 3819 extra validation layer to the Emscripten GL library to catch code issues. 3820 - Adds support to Web Audio API in SDL audio backend so that SDL audio now 3821 works in Chrome and new Opera as well. 3822 - Fixes an alpha blending issue with SDL_SetAlpha. 3823 - Implemented locale-related code in C library. 3824 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.6.1...1.6.2 3825 3826v1.6.1: 9/22/2013 3827------------------ 3828 - Several optimizations to compiler link stage. 3829 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.6.0...1.6.1 3830 3831v1.6.0: 9/21/2013 3832------------------ 3833 - Enable support for %[] pattern in scanf. 3834 - Added dependency tracking support to linked .js files in CMake toolchain. 3835 - The hex prefix 0x is now properly handled in sscanf (#1632). 3836 - Simplify internal compiler operations by removing the internal framework.js. 3837 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.5.9...1.6.0 3838 3839v1.5.9: 9/15/2013 3840------------------ 3841 - Add support for SDL_Delay in web workers. 3842 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.5.8...1.5.9 3843 3844v1.5.8: 9/14/2013 3845------------------ 3846 - Add support for the GCC -E compiler flag. 3847 - Update Emscripten libc headers to musl-0.9.13. 3848 - Added new utility function emscripten_async_load_script() to asynchronously 3849 load a new .js script URL. 3850 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.5.7...1.5.8 3851 3852v1.5.7: 8/30/2013 3853------------------ 3854 - The script tag in default shell.html is now marked 'async', which enables 3855 loading the JS script code asynchronously in Firefox without making the main 3856 thread unresponsive. 3857 - Implemented new utility function emscripten_get_canvas_size() which returns 3858 the current Module <canvas> element size in pixels. 3859 - Optimize code size in compiled side modules. 3860 - Optimize startup memory usage by avoiding unnecessary copying of VFS data at 3861 startup. 3862 - Add support for SDL_WM_ToggleFullScreen(). 3863 - Add support for emscripten_get_now() when running in SpiderMonkey shell. 3864 - Added new environment variable EM_BUILD_VERBOSE=0,1,2,3 to set an extra 3865 compiler output verbosity level for debugging. 3866 - Added better support for dlopen() to simulate dynamic library loading in 3867 JavaScript. 3868 - Improved support for BSD sockets and networking. 3869 - Added new SOCKFS filesystem, which reads files via a network connection. 3870 - Avoid issues with long command line limitations in CMake toolchain by using 3871 response files. 3872 - Fix issues with client-side vertex data rendering in GL emulation mode. 3873 - Improved precision of clock_gettime(). 3874 - Improve function outlining support. 3875 - Added support for using NMake generator with CMake toolchain. 3876 - Improved support for flexible arrays in structs (#1602). 3877 - Added ability to marshal UTF16 and UTF32 strings between C++ <-> JS code. 3878 - Added a new commandline tool validate_asms.py to help automating asm.js 3879 validation testing. 3880 - Improved stability with inline asm() syntax. 3881 - Updated libc headers to new version. 3882 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.5.6...1.5.7 3883 3884v1.5.6: 8/17/2013 3885------------------ 3886 - Improved BSD sockets support. 3887 - Added touch events support to GLUT library. 3888 - Added new --js-opts=0/1 command line option to control whether JS optimizer 3889 is run or not. 3890 - Improved OpenAL support. 3891 - Added new command line tool tools/find_bigvars.py which can be used on an 3892 output file to detect large functions and needs for outlining. 3893 - Merged link flags -s FORCE_GL_EMULATION and -s DISABLE_GL_EMULATION to a 3894 single opt-in flag -s LEGACY_GL_EMULATION=0/1 to control whether GL emulation 3895 is active. 3896 - Improved SDL input support. 3897 - Several stability-related compiler fixes. 3898 - Fixed source mapping generation support on Windows. 3899 - Added back the EMSCRIPTEN_KEEPALIVE attribute qualifier to help prevent 3900 inlining and to retain symbols in output without dead code elimination 3901 occurring. 3902 - Fix issues when marshalling UTF8 strings between C<->JS. 3903 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.5.5...1.5.6 3904 3905v1.5.5: 8/9/2013 3906------------------ 3907 - Update libcxx to revision 187959, 2013-08-08. 3908 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.5.4...1.5.5 3909 3910v1.5.4: 8/9/2013 3911------------------ 3912 - Fixed multiple issues with C stdlib support. 3913 - Fix audio buffer queueing issues with OpenAL. 3914 - Improved BSD sockets support. 3915 - Added a new compile+link time command line option -Wno-warn-absolute-paths to 3916 hide the emscripten compiler warning when absolute paths are passed into the 3917 compiler. 3918 - Added new link flag -s STB_IMAGE=0/1 and integrate it to SDL image loading to 3919 enable synchronous image loading support with SDL. 3920 - Several improvements on function outlining support. 3921 - Fix issues with GLES2 interop support. 3922 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.5.3...1.5.4 3923 3924v1.5.3: 6/28/2013 3925------------------ 3926 - Added new optimization level --llvm-lto 3 to run even more aggressive LTO 3927 optimizations. 3928 - Improve optimizations for libc and other libraries. 3929 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.5.2...1.5.3 3930 3931v1.5.2: 6/27/2013 3932------------------ 3933 - Added support for generating source maps along the built application when -g 3934 is specified. This lets the browser show original .cpp sources when 3935 debugging. 3936 - GLUT and SDL improvements. 3937 - Added new link option -g<level> where level=0-4, which allows controlling 3938 various levels of debuggability added to the output. 3939 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.5.1...1.5.2 3940 3941v1.5.1: 6/22/2013 3942------------------ 3943 - File packager now skips all directories and files starting with '.', and hidden files on Windows. 3944 - Fix issues with strnlen, memmove, LDBL_ constants, va_args, float.h, and others. 3945 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.5.0...1.5.1 3946 3947v1.5.0: 6/17/2013 3948------------------ 3949 - Several compiler optimizations. 3950 - Improve SDL key events support. 3951 - Increase debug logging when specifying emcc -v. 3952 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.4.9...1.5.0 3953 3954v1.4.9: 6/8/2013 3955------------------ 3956 - Several compiler optimizations. 3957 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.4.8...1.4.9 3958 3959v1.4.8: 6/6/2013 3960------------------ 3961 - Add support for webrtc-based sockets. 3962 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.4.7...1.4.8 3963 3964v1.4.7: 6/2/2013 3965------------------ 3966 - Remove more unneeded break and continue statements in relooper. 3967 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.4.6...1.4.7 3968 3969v1.4.6: 6/2/2013 3970------------------ 3971 - Improve relooper code. 3972 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.4.5...1.4.6 3973 3974v1.4.5: 6/1/2013 3975------------------ 3976 - Improve relooper code. 3977 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.4.4...1.4.5 3978 3979v1.4.4: 6/1/2013 3980------------------ 3981 - Add support for symlinks in source files. 3982 - Fix various issues with SDL. 3983 - Added -s FORCE_ALIGNED_MEMORY=0/1 link time flag to control whether all loads 3984 and stores are assumed to be aligned. 3985 - Fix file packager to work with closure. 3986 - Major improvements to embind support, and optimizations. 3987 - Improve GL emulation. 3988 - Optimize VFS usage. 3989 - Allow emscripten to compile .m and .mm files. 3990 - Added new syntax --preload-file src@dst to file packager command line to 3991 allow placing source files to custom destinations in the FS. 3992 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.4.3...1.4.4 3993 3994v1.4.3: 5/8/2013 3995------------------ 3996 - Fix issue with strcat. 3997 - Major embind improvements. 3998 - Switch to le32-unknown-nacl LLVM target triple as default build option 3999 instead of the old i386-pc-linux-gnu target triple. 4000 - Improve compiler logging behavior. 4001 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.4.2...1.4.3 4002 4003v1.4.2: 5/3/2013 4004------------------ 4005 - Fix issues with le32-unknown-nacl LLVM target triple. 4006 - Add some GLEW support. 4007 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.4.1...1.4.2 4008 4009v1.4.1: 4/28/2013 4010------------------ 4011 - Implement support for le32-unknown-nacl LLVM target triple. 4012 - Added new cmdline option -s ERROR_ON_UNDEFINED_SYMBOLS=0/1 to give 4013 compile-time error on undefined symbols at link time. Default off. 4014 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.3.8...1.4.1 4015 4016v1.3.8: 4/29/2013 4017------------------ 4018 - Improved 64-bit integer ops codegen. 4019 - Added Indexed DB support to vfs. 4020 - Improve warning message on dangerous function pointer casts when compiling in 4021 asm.js mode. 4022 - Added --use-preload-cache command line option to emcc, to be used with the 4023 file packager. 4024 - Fixes to libcextra. 4025 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.3.7...1.3.8 4026 4027v1.3.7: 4/24/2013 4028------------------ 4029 - Merge IMVU implementation of embind to emscripten trunk. Embind allows 4030 high-level C++ <-> JS types interop. 4031 - Enable asm.js compilation in -O1 and higher by default. Fix issues when 4032 compiling to asm.js. 4033 - Improve libc support with Emscripten with the musl libc headers. 4034 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.3.6...1.3.7 4035 4036v1.3.6: 4/2/2013 4037------------------ 4038 - Fix hang issue with strtof. 4039 - Update libcxx to upstream r178253 from March 29, 2013. 4040 - Fix issues with GL emulation. 4041 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.3.5...1.3.6 4042 4043v1.3.5: 3/25/2013 4044------------------ 4045 - Get exceptions working as they did before. 4046 - Remove symbol removing hack. 4047 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.3.4...1.3.5 4048 4049v1.3.4: 3/24/2013 4050------------------ 4051 - Update to new libcxx and libcxxabi versions from upstream. 4052 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.3.3...1.3.4 4053 4054v1.3.3: 3/23/2013 4055------------------ 4056 - Remove unneeded check from relooper. 4057 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.3.2...1.3.3 4058 4059v1.3.2: 3/22/2013 4060------------------ 4061 - Fix issues with fgets. 4062 - Add support for non-fullscreen pointer lock. 4063 - Improve OpenAL support. 4064 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.3.1...1.3.2 4065 4066v1.3.1: 3/19/2013 4067------------------ 4068 - Improve SDL audio and mixer support. 4069 - Add GLES2 emulation features when -s FULL_ES2=1 is specified. 4070 - Add support for OpenAL. 4071 - Add new -s OPENAL_DEBUG=0/1 link command line option. 4072 - Fixed an issue with mouse coordinate being offset with canvas. 4073 - Removed -s UTF_STRING_SUPPORT=0 parameter, this is now always on. 4074 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.3.0...1.3.1 4075 4076v1.3.0: 3/11/2013 4077------------------ 4078 - Improve GLES2 emulation with -s FULL_ES2=1. 4079 - Deprecated -s USE_TYPED_ARRAYS=1 and -s QUANTUM_SIZE=1. 4080 - Implement a minifier infrastructure when compiling for asm.js. 4081 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.2.9...1.3.0 4082 4083v1.2.9: 3/7/2013 4084------------------ 4085 - Improved canvas behavior when transitioning between fullscreen. 4086 - Added support for getopt(). 4087 - Fixed several libc issues. 4088 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.2.8...1.2.9 4089 4090v1.2.8: 3/6/2013 4091------------------ 4092 - Remove unnecessary recursion in relooper RemoveUnneededFlows. 4093 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.2.7...1.2.8 4094 4095v1.2.7: 3/6/2013 4096------------------ 4097 - Added SDL_Mixer support. 4098 - Implemented stubs for several Unix and threading-related functions. 4099 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.2.6...1.2.7 4100 4101v1.2.6: 3/5/2013 4102------------------ 4103 - Relooper updates. 4104 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.2.5...1.2.6 4105 4106v1.2.5: 3/5/2013 4107------------------ 4108 - Greatly improve GL emulation support. 4109 - Handle %c in sscanf. 4110 - Improve compilation times by optimizing parallel execution in the linker. 4111 - Improve several compiler stability issues detected from fuzzing tests. 4112 - Implemented emscripten_jcache_printf. 4113 - Allow running emscripten.py outside emcc itself. 4114 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.2.4...1.2.5 4115 4116v1.2.4: 2/2/2013 4117------------------ 4118 - Work on adding support for asm.js compilation. 4119 - Improve EGL support. 4120 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.2.3...1.2.4 4121 4122v1.2.3: 1/9/2013 4123------------------ 4124 - Work on adding support for asm.js compilation. 4125 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.2.2...1.2.3 4126 4127v1.2.2: 1/8/2013 4128------------------ 4129 - Work on adding support for asm.js compilation. 4130 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.2.1...1.2.2 4131 4132v1.2.1: 1/8/2013 4133------------------ 4134 - Improvements to GLUT, SDL and BSD sockets headers. 4135 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.2.0...1.2.1 4136 4137v1.2.0: 1/1/2013 4138------------------ 4139 - Work on adding support for asm.js compilation. 4140 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.1.0...1.2.0 4141 4142v1.1.0: 12/12/2012 4143------------------ 4144 - Fix several issues with Windows support. 4145 - Added a standalone toolchain for CMake. 4146 - Added emscripten_run_script_string(). 4147 - Optimize compilation times via threading. 4148 - Update to requiring Clang 3.2. Older versions may no longer work. 4149 - Several improvements to emscripten library support headers. 4150 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.0.1a...1.1.0 4151 4152v1.0.1a: 11/11/2012 4153------------------ 4154 - Add relooper code to repository. 4155 - Full list of changes: https://github.com/emscripten-core/emscripten/compare/1.0.1...1.0.1a 4156 4157v1.0.1: 11/11/2012 4158------------------ 4159 - First commit that introduced versioning to the Emscripten compiler. 4160