Started work on #1554
Added a script to extract struct sizes and field offsets as well as constant (#define) values.
Integrate the new tool into emscripten
Automatically compile struct_info.json and save the compiled version in the emscripten cache.
Updated library_sdl.js
Implemented dprintf. (Fixes #1250)
Fix #1166: Correct the amount of allocated memory for non-ascii strings in ccallFunc().
Correct typo.
Fix bug with zero-padded negative integers

The zero padding was before the sign. It should be after.
Fix bug with forced display of sign on negative integers

The negative sign was displayed twice.
Implement missing 'space' formatting flag

This flag causes space (padding) to be reserved for the sign even if the
number is positive. It is basically the same as the 'plus' flag except that
a space is displayed instead of a plus sign. The 'plus' flag takes precedence.
Fix typo in URL.
Remove "-U__GNUC__" flag to avoid incorrect measurements.
Make input file parsing in 'emcc' tool stricter. Don't silently fail if a file is missing or is a bitcode file if an archive file was expected, but issue an error and abort. Related to #1648.
Fix emcc to properly treat input filenames with Unix-style version information at the end, e.g. 'libz.so.1.2.8'. Do not assume in the source -> LLVM bitcode compilation pass that all untested file suffixes would be assembly files. Related to #1648.
Fix Emscripten CMake toolchain to generate proper static library archive files with the AR tool instead of building LLVM bitcode files for archive files. Fixes #1648.
Enable WEBGL_depth_texture on GL context init. WEBGL_depth_texture is an extension that adds support for 16-bit and 32-bit integer depth formats, as well as the packed d24s8 integer depth+stencil format. See http://www.khronos.org/registry/webgl/extensions/WEBGL_depth_texture/
Fix indentation in previous commit.
Merge pull request #1658 from juj/WEBGL_depth_texture

Webgl depth texture
Add more validation to the GL layer when GL_ASSERTIONS is enabled. This catches and reports situations where user code passes nonexisting or deleted GL objects to texture/program/shader/framebuffer/renderbuffer functions, and yells out explicitly that the user code is not behaving properly.
Merge pull request #1643 from waywardmonkeys/fix-typo

Fix typo in URL in warning message
Merge pull request #1656 from juj/gl_id_validation

Gl id validation