Sat, 21 Dec 2019 22:33:21 -0800Fixed windows build
Sam Lantinga [Sat, 21 Dec 2019 22:33:21 -0800] rev 13374
Fixed windows build

Sat, 21 Dec 2019 22:40:33 +0100Android: same way as in nativePause(), resume events are sent from SDL thread
Sylvain Becker [Sat, 21 Dec 2019 22:40:33 +0100] rev 13373
Android: same way as in nativePause(), resume events are sent from SDL thread

Sat, 21 Dec 2019 21:18:02 +0100Android: fix call of glFinish without context.
Sylvain Becker [Sat, 21 Dec 2019 21:18:02 +0100] rev 13372
Android: fix call of glFinish without context.

Message in the log, when going to background:
"call to OpenGL ES API with no current context (logged once per thread)"

Because of SDL_WINDOWEVENT_MINIMIZED is sent from the Java Activity thread.
It calls SDL_RendererEventWatch(), _WindowEvent() and glFinish() without context.

Solution is to move sending of SDL_WINDOWEVENT_MINIMIZED to the SDL thread.

Fri, 20 Dec 2019 21:40:28 -0800Added support for the Hori Dragon Quest Slime Controller
Sam Lantinga [Fri, 20 Dec 2019 21:40:28 -0800] rev 13371
Added support for the Hori Dragon Quest Slime Controller

Fri, 20 Dec 2019 21:00:16 -0800Fixed duplicate controller entries on Mac OS X when using libusb, due to the HID interface number not being available in the Mac OS X HID code.
Sam Lantinga [Fri, 20 Dec 2019 21:00:16 -0800] rev 13370
Fixed duplicate controller entries on Mac OS X when using libusb, due to the HID interface number not being available in the Mac OS X HID code.

Fri, 20 Dec 2019 20:12:03 -0800Automatically assign player indexes to game controllers, and allow changing the player index for game controllers and joysticks.
Sam Lantinga [Fri, 20 Dec 2019 20:12:03 -0800] rev 13369
Automatically assign player indexes to game controllers, and allow changing the player index for game controllers and joysticks.
Added the functions SDL_JoystickFromPlayerIndex(), SDL_JoystickSetPlayerIndex(), SDL_GameControllerFromPlayerIndex(), and SDL_GameControllerSetPlayerIndex()

Fri, 20 Dec 2019 15:58:59 +0100Android: fix IllegalStateException in onBackPressed()
Sylvain Becker [Fri, 20 Dec 2019 15:58:59 +0100] rev 13368
Android: fix IllegalStateException in onBackPressed()

Rare exception, not catch-able, which appears when the activity gets in a broken
state.

java.lang.IllegalStateException:
at android.app.FragmentManagerImpl.checkStateLoss (FragmentManagerImpl.java:1323)
at android.app.FragmentManagerImpl.popBackStackImmediate (FragmentManagerImpl.java:493)
at android.app.Activity.onBackPressed (Activity.java:2215)
at org.libsdl.app.SDLActivity.onBackPressed (SDLActivity.java)
at android.app.Activity.onKeyUp (Activity.java:2193)
at android.view.KeyEvent.dispatch (KeyEvent.java:2685)
at android.app.Activity.dispatchKeyEvent (Activity.java:2423)
at org.libsdl.app.SDLActivity.dispatchKeyEvent (SDLActivity.java)

Fri, 20 Dec 2019 14:33:37 +0300fix xcode project file permissions
Ozkan Sezer [Fri, 20 Dec 2019 14:33:37 +0300] rev 13367
fix xcode project file permissions

Thu, 19 Dec 2019 21:47:43 -0800kmsdrm: Fix busy-loop within libc's dlopen()
Paul Cercueil [Thu, 19 Dec 2019 21:47:43 -0800] rev 13366
kmsdrm: Fix busy-loop within libc's dlopen()
For some obscure reason, the order in which the libdrm/libgbm libraries
are loaded matters.

Without this fix, the first call to check_modesetting() will work and
load then unload all symbols properly, but the second call to this
function will lock up as soon as dlopen() is called on libdrm.

Swapping the order in which the libdrm and libgbm libraries are loaded
is enough to fix (or work around?) this issue.

Fixes #4891:
https://bugzilla.libsdl.org/show_bug.cgi?id=4891

Signed-off-by: Paul Cercueil <paul@crapouillou.net>

Thu, 19 Dec 2019 21:45:44 -0800Make sure the Xbox 360 driver doesn't try to talk to the wireless controllers
Sam Lantinga [Thu, 19 Dec 2019 21:45:44 -0800] rev 13365
Make sure the Xbox 360 driver doesn't try to talk to the wireless controllers