Clean up the cursor clipping area when quitting SDL.
This fixes the cursor being clipped after the streaming client quits when streaming Dungeons of Dredmor
Added code missed in the resolve
Added missing header for file IO
Fixed compiler warning on Visual Studio
Fixed detecting the wired XBox 360 controller on Linux
Also added some more debug output to detect issues
Fixed crash if no window has keyboard focus
Associate the environment with any thread that calls Android_JNI_GetEnv(), in case it's been manually created with pthread_create() or C++11.
Hook up SDL_acos and SDL_asin properly.
[Android] Hotplugging support for joysticks
Fixed bug 2294 - testdrawchessboard.c Sets the render color alpha to 0x0.

Brandon Schaefer

This means everything will render black if the software rendering backend selects a pixel format that supports alpha. So it seems best to at lease assume alpha is supported.
Fixed bug 2050 - Obvious bugs in SDL_ltoa and SDL_lltoa

pjz

SDL_ltoa(-2147483648,s,10) only returns "-" because there is a bug in the code:

    if ( value < 0 ) {
        *bufp++ = '-';
        value = -value;
    }

but -(-2147483648) is still -2147483648 (0x80000000) as signed int (or long), so the following loop doesn't run at all. Similar bug are also in SDL_lltoa.

BTW, there is no sanity check for radix.
[Android] Poll joysticks every three seconds
Context sharing for EGL
Wayland support

Based on the original port to Wayland by: Joel Teichroeb, Benjamin Franzke, Scott Moreau, et al.

Additional changes in this commit, done by me:

* Wayland uses the common EGL framework
* EGL can now create a desktop OpenGL context
* testgl2 loads GL functions dynamically, no need to link to libGL anymore
* Assorted fixes to the Wayland backend

Tested on the Weston Compositor (v1.0.5) that ships with Ubuntu 13.10,
running Weston under X. Tests ran: testrendercopyex (all backends), testgl2, testgles2,testintersections
Enable ccache for Raspberry Pi buildbot script.
[Android] Define SDL_VIDEO_OPENGL_ES2
Explicitly initialize COM with multi-threaded support.
This is the safest option for applications that use COM, multi-threaded or not.
Added support for double-clicks, through a new "clicks" field in the mouse button event.
Generate SDL_CONTROLLERDEVICEADDED events for controllers connected at startup
Changed testgamecontroller to wait for controllers to be reattached, the way testjoystick does.