Enable %[] pattern in scanf
Enable %[] pattern in scanf
Merge branch 'incoming' of github.com:sbalko/emscripten into incoming
refactor code to handle when run dependencies reach 0
clear dependenciesFulfilled after use
emscripten_async_load_script
refactor memory initializer code to use run dependencies
RELOOPER_BUFFER_SIZE to change the relooper buffer size easily
tolerate SDL_Delay in workers
Remove C++ mangled catgets / catopen / catclose.

In the old headers, these were not extern "C", so they would show
up mangled when built for C++. This is no longer the case with
the new libc headers.
Merge pull request #1620 from waywardmonkeys/remove-cxx-mangled-catgets

Remove cxx mangled catgets / catopen / catclose.
Incorporating formatting suggestions from pull request
dynamically determine relooper heap size using RELOOPER_BUFFER_SIZE
Merge pull request #1618 from sbalko/incoming

Incoming
Fixes in pread()

The bug occurs when pread() doesn't return 0 when asked to read an
offset beyond its buffer.

This behavior is explicitly documented at:
http://pubs.opengroup.org/onlinepubs/000095399/functions/read.html

> If the starting position is at or after the end-of-file, 0
> shall be returned
Fix #1623: Add missing checks for EXCEPTION_CATCHING_WHITELIST.
Add functions em_link_js_library(), em_link_pre_js() and em_link_post_js() to support linking .js files to executables, while doing dependency tracking on filestamp modifications. For more info, see https://groups.google.com/forum/#!topic/emscripten-discuss/uRbTIB62V7s .
Remove code duplication on CMake link macros.
Added to the test_files test to ensure the pread() functionality.
Merge branch 'incoming' of https://github.com/kripken/emscripten into new-beta