Tue, 19 Dec 2017 11:19:10 -0800Fixed bug 4001 - Android, prevent error message box to crash
Sam Lantinga <slouken@libsdl.org> [Tue, 19 Dec 2017 11:19:10 -0800] rev 11785
Fixed bug 4001 - Android, prevent error message box to crash

Sylvain

Prevent the error message box to crash after being clicked.
Because of "SDLActivity.mSingleton.finish();"

Tue, 19 Dec 2017 11:17:37 -0800Fixed bug 4000 - SDL2 on raspberry: mouse displayed at 0,0 after SDL_ShowCursor
Sam Lantinga <slouken@libsdl.org> [Tue, 19 Dec 2017 11:17:37 -0800] rev 11784
Fixed bug 4000 - SDL2 on raspberry: mouse displayed at 0,0 after SDL_ShowCursor

Laurent Merckx

I have a problem with the SDL_ShowCursor method on Raspberry.

Depending on the context, my application hides or show the mouse cursor with SDL_ShowCursor.
But when calling SDL_ShowCursor(true), the cursor is displayed at 0,0 (and not at last position).

After debugging sources by myself, it seems that the problem is in SDL_rpimouse.c - RPI_ShowCursor:

vc_dispmanx_rect_set( &dst_rect, 0, 0, curdata->w, curdata->h);
should be
vc_dispmanx_rect_set( &dst_rect, mouse->x, mouse->y, curdata->w, curdata->h);

For me, it solves the problem.

Tue, 19 Dec 2017 11:14:06 -0800Fixed bug 4003 - HAVE_POLL undefined in SDL_poll.c, making it impossible to use.
Sam Lantinga <slouken@libsdl.org> [Tue, 19 Dec 2017 11:14:06 -0800] rev 11783
Fixed bug 4003 - HAVE_POLL undefined in SDL_poll.c, making it impossible to use.

tomwardio

HAVE_POLL is correctly defined in SDL_config.h when running configure. However, in the only place where it's used, it's undefined at the start of the file.

Tue, 19 Dec 2017 10:57:21 -0800Fixed bug 4004 - iOS: don't hide keyboard on RETURN
Sam Lantinga <slouken@libsdl.org> [Tue, 19 Dec 2017 10:57:21 -0800] rev 11782
Fixed bug 4004 - iOS: don't hide keyboard on RETURN

Dominik Reichardt

As discussed in 2012 the iOS onscreen keyboard hides when you hit RETURN (see https://discourse.libsdl.org/t/on-screen-keyboard-change/19216).
IMO this is a bad idea to not be able to influence this behavior and just recently this was fixed for Android by adding the hint SDL_HINT_ANDROID_RETURN_HIDES_IME in changeset 11768 0f2fb9ec6ad6.

Tue, 19 Dec 2017 10:48:29 -0800Fixed bug 4005 - Android, SDL_IsGameController() crashes is index is out of range
Sam Lantinga <slouken@libsdl.org> [Tue, 19 Dec 2017 10:48:29 -0800] rev 11781
Fixed bug 4005 - Android, SDL_IsGameController() crashes is index is out of range

Sylvain

On Android, if you give an invalid index to SDL_IsGameController(), it will crash in SDL_SYS_IsDPAD_DeviceIndex().

Sat, 16 Dec 2017 10:40:47 -0800Fixed default Android D-PAD mapping so the back button is treated as B
Sam Lantinga <slouken@libsdl.org> [Sat, 16 Dec 2017 10:40:47 -0800] rev 11780
Fixed default Android D-PAD mapping so the back button is treated as B

Sat, 16 Dec 2017 10:40:45 -0800Fixed handling of the Apple TV remote buttons
Sam Lantinga <slouken@libsdl.org> [Sat, 16 Dec 2017 10:40:45 -0800] rev 11779
Fixed handling of the Apple TV remote buttons
The menu button on the remote is the back button

Sat, 16 Dec 2017 10:40:43 -0800Added support for the ASUS TV500BG Android gamepad
Sam Lantinga <slouken@libsdl.org> [Sat, 16 Dec 2017 10:40:43 -0800] rev 11778
Added support for the ASUS TV500BG Android gamepad

Sat, 16 Dec 2017 10:40:41 -0800Added Android build script for SDL
Sam Lantinga <slouken@libsdl.org> [Sat, 16 Dec 2017 10:40:41 -0800] rev 11777
Added Android build script for SDL

Wed, 13 Dec 2017 14:35:55 -0500wasapi: switched to event-driven interface.
Ryan C. Gordon <icculus@icculus.org> [Wed, 13 Dec 2017 14:35:55 -0500] rev 11776
wasapi: switched to event-driven interface.

This reduces latency and improves battery life.