Mon, 02 Dec 2013 19:34:08 -0300Adds SDL_GameControllerAddMappingsFromFile
Gabriel Jacobo [Mon, 02 Dec 2013 19:34:08 -0300] rev 8042
Adds SDL_GameControllerAddMappingsFromFile

Mon, 02 Dec 2013 10:08:57 -0300Select EGL config when creating the EGL surface
Gabriel Jacobo [Mon, 02 Dec 2013 10:08:57 -0300] rev 8041
Select EGL config when creating the EGL surface

Sun, 01 Dec 2013 00:00:17 -0500Disable SDL_[GS]etGammaRamp() on Mac OS X. SDL-1.2
Ryan C. Gordon [Sun, 01 Dec 2013 00:00:17 -0500] rev 8040
Disable SDL_[GS]etGammaRamp() on Mac OS X.

They apparently crash the Intel HD 4000 drivers on Mac OS X 10.9, don't work
in other places, and are using deprecated APIs in any case.

(Blah blah blah, move to SDL 2.0, blah blah blah.)

Fri, 29 Nov 2013 10:06:08 -0300Improve Android pause/resume behavior.
Gabriel Jacobo [Fri, 29 Nov 2013 10:06:08 -0300] rev 8039
Improve Android pause/resume behavior.

Thu, 28 Nov 2013 02:31:32 -0800Fixed windows build with conflict resolve
Sam Lantinga [Thu, 28 Nov 2013 02:31:32 -0800] rev 8038
Fixed windows build with conflict resolve

Wed, 27 Nov 2013 10:29:43 -0800Added alternative XBox 360 controller GUID on Linux
Sam Lantinga [Wed, 27 Nov 2013 10:29:43 -0800] rev 8037
Added alternative XBox 360 controller GUID on Linux

Leszek Godlewski

As described in the other thread
(http://lists.libsdl.org/pipermail/sdl-libsdl.org/2013-November/091997.html),
I've run into a case of SDL2 not recognizing a wireless Xbox 360
controller receiver properly on Debian Linux amd64 testing.
Apparently, the generated GUID is slightly different.

Device in question:
Bus 001 Device 015: ID 045e:0291 Microsoft Corp. Xbox 360 Wireless
Receiver for Windows

Wed, 27 Nov 2013 10:29:38 -0800Fixed bug 2260 - SDL_SetCursorGrab() is buggy on Windows
Sam Lantinga [Wed, 27 Nov 2013 10:29:38 -0800] rev 8036
Fixed bug 2260 - SDL_SetCursorGrab() is buggy on Windows

BurnSpamAddress

Steps to reproduce:
1. Grab the cursor with SDL_SetCursorGrab()
2. Alt-tab away from the window
3. Click on the titlebar of the window

This will cause the window to disappear underneath the taskbar!

This appears to be a general issue with ClipCursor() on windows, i.e. I am getting the same behavior if I call ClipCursor() directly.

It is caused by a feedback loop between the ClipCursor function and the modal resize/move event loop that handles mouse-based sizing on Windows.

Wed, 27 Nov 2013 10:29:32 -0800Fixed large relative mouse motion when iconifying the SDL window.
Sam Lantinga [Wed, 27 Nov 2013 10:29:32 -0800] rev 8035
Fixed large relative mouse motion when iconifying the SDL window.
Windows will move the window to -32000,-32000 when it is iconified, so we don't want to send mouse motion for iconic windows.

Wed, 27 Nov 2013 10:29:27 -0800Don't crash when no WM is present.
Sam Lantinga [Wed, 27 Nov 2013 10:29:27 -0800] rev 8034
Don't crash when no WM is present.

CR: Sam Lantinga.

Wed, 27 Nov 2013 00:29:46 -0800Fixed bug 2274 - SDL_ceil is incorrectly implemented when HAVE_LIBC is not defined
Sam Lantinga [Wed, 27 Nov 2013 00:29:46 -0800] rev 8033
Fixed bug 2274 - SDL_ceil is incorrectly implemented when HAVE_LIBC is not defined

Ghassan Al-Mashareqa

The SDL_ceil function is implemented incorrectly when HAVE_CEIL is not defined (HAVE_LIBC not defined).

The following code:

double val = SDL_ceil(2.3);
printf("%g", val);

prints "2.0", as STD_ceil is defined as:

double
SDL_ceil(double x)
{
#ifdef HAVE_CEIL
return ceil(x);
#else
return (double)(int)((x)+0.5);
#endif /* HAVE_CEIL */
}

This functions is used in the SDL_BuildAudioResampleCVT function of the audio subsystem (SDL_audiocvt.c), and causes a bug in that function.