Thu, 28 Nov 2013 02:31:32 -0800Fixed windows build with conflict resolve
Sam Lantinga <slouken@libsdl.org> [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 <slouken@libsdl.org> [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 <slouken@libsdl.org> [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 <slouken@libsdl.org> [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 <slouken@libsdl.org> [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 <slouken@libsdl.org> [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.

Tue, 26 Nov 2013 11:50:54 -0300Fixes #2271, Add KD detection under CMake by Scott Percival
Gabriel Jacobo <gabomdq@gmail.com> [Tue, 26 Nov 2013 11:50:54 -0300] rev 8032
Fixes #2271, Add KD detection under CMake by Scott Percival

Tue, 26 Nov 2013 11:47:52 -0300Fixes #2272, typo in CMakeLists.txt (thanks Boris Bendovsky!)
Gabriel Jacobo <gabomdq@gmail.com> [Tue, 26 Nov 2013 11:47:52 -0300] rev 8031
Fixes #2272, typo in CMakeLists.txt (thanks Boris Bendovsky!)

Mon, 25 Nov 2013 12:28:09 -0300[Android] Fixes #2228, reworked touch code
Gabriel Jacobo <gabomdq@gmail.com> [Mon, 25 Nov 2013 12:28:09 -0300] rev 8030
[Android] Fixes #2228, reworked touch code

Lets Android take care of which is the primary pointer (the one acting as the
mouse in SDL), reorganized the Java side code as well to make it easier to
understand.

Sat, 23 Nov 2013 23:38:16 +0100Fixed bug 2258 - Crash when using Android clipboard
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Sat, 23 Nov 2013 23:38:16 +0100] rev 8029
Fixed bug 2258 - Crash when using Android clipboard

chw

The Android clipboard manager methods must be called from the UI thread,
otherwise crashes of the dalvikvm happen.