Add Ryan Sturgell to AUTHORS
Extract helper functions from main link loop.

This enables future changes which will re-scan archives for objects
(either grouped with -Wl,--start-group, -Wl,--end-group or some new
emcc specific flag).

This is mostly moving lines around and adding some comments. The only
functional change is that if you specify the same archive multiple times
(a workaround for the lack of grouping flags), we will now only extract
it once instead of multiple times. But it will still be scanned multiple
times.
Track original flag positions in emcc.

Source files, libs, and linker flags all need to be separately
processed.  This allows them to be correctly shuffled back together for
further link processing.
Add support for archive groups.

emcc now understands -Wl,--start-group, -Wl,--end-group to group static
libraries. Static libraries in a group need not be specified in
dependent to dependency order and can have circular dependencies.
Optimize ccall and cwrap
Remove useless spaces
Fix typo: 'litterally' -> 'literally'

In French, it's spelled 'littéralement', with 2 't' ;)
expose typeof via emscripten::val
Correct indentation
Use JSfuncs.stackrestore instead of duplicating its code
fix looptemp replacements when there is a continue with a phi of the loop variable
Merge pull request #2360 from chadaustin/expose-val-typeof

expose typeof via emscripten::val
Adds support for SDL Window Events with event ids:
- `SDL_WINDOWEVENT_FOCUS_GAINED`
- `SDL_WINDOWEVENT_FOCUS_LOST`
- `SDL_WINDOWEVENT_SHOWN`
- `SDL_WINDOWEVENT_HIDDEN`

Includes a fix for FFOS phones that prevent the `blur` event when
audio is playing (Bugzilla 910340)

Conflicts:
	src/library_sdl.js
v1.18.2
do not move around loop variable incrementations when the helper is used outside the loop
add line bisector tool
fix emitsBoolean handling of conditional, and add handling of num
add conditional to hasSideEffects
add testcases for last few commits
Merge pull request #2362 from juj/sdl_windowevent_focus

Sdl windowevent focus