Tue, 23 Apr 2019 14:24:58 +0200Android: add static variable initialization in non blocking event loop
Sylvain Becker [Tue, 23 Apr 2019 14:24:58 +0200] rev 12712
Android: add static variable initialization in non blocking event loop

Mon, 22 Apr 2019 16:34:42 -0700Added a helper function to tell whether or not a window can be minimized
Sam Lantinga [Mon, 22 Apr 2019 16:34:42 -0700] rev 12711
Added a helper function to tell whether or not a window can be minimized

Mon, 22 Apr 2019 16:25:49 -0700Only leave fullscreen mode if we're actually going to minimize
Sam Lantinga [Mon, 22 Apr 2019 16:25:49 -0700] rev 12710
Only leave fullscreen mode if we're actually going to minimize

Mon, 22 Apr 2019 16:19:52 -0700Fixed bug 4580 - Android 8: immersive fullscreen notification causes flickering between fullscreen and non-fullscreen and app is unresponsive
Sam Lantinga [Mon, 22 Apr 2019 16:19:52 -0700] rev 12709
Fixed bug 4580 - Android 8: immersive fullscreen notification causes flickering between fullscreen and non-fullscreen and app is unresponsive

Sylvain 2019-04-18 21:22:59 UTC

Changes:
- SDL_WINDOWEVENT_FOCUS_GAINED and SDL_WINDOWEVENT_FOCUS_LOST are sent when the java method onWindowFocusChanged() is called.

- If we have support for MultiWindow (eg API >= 24), SDL event loop is blocked/un-blocked (or simply egl-backed-up or not), when java onStart()/onStop() are called.

- If not, this behaves like now, SDL event loop is blocked/un-blocked when onPause()/onResume() are called.

So if we have two app on screen and switch from one to the other, only FOCUS events are sent (and onPause()/onResume() are called but empty. onStart()/onStop() are not called).
The SDL app, un-focused, would still continue to run and display frames (currently the App would be displayed, but paused).
Like a video player app or a chronometer that would still be refreshed, even if the window hasn't the focus.
It should work also on ChromeBooks (not tested), with two apps opened at the same time.


I am not sure this fix Dan's issue. Because focus lost event triggers Minimize function (which BTW is not provided on android).
https://hg.libsdl.org/SDL/file/8703488687ca/src/video/SDL_video.c#l2653
https://hg.libsdl.org/SDL/file/8703488687ca/src/video/SDL_video.c#l2634

So, in addition, it would need to add by default SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS to 0.
So that the lost focus event doesn't try to minimize the window. And this should fix also the issue.

Sun, 21 Apr 2019 21:34:14 -0400configure: Cleaned up audio/video summaries when building for Windows.
Ryan C. Gordon [Sun, 21 Apr 2019 21:34:14 -0400] rev 12708
configure: Cleaned up audio/video summaries when building for Windows.

Wed, 17 Apr 2019 20:41:05 -0300iOS: Remove code trying to support compilation on the iOS 7 SDK, the deployment target has been set to iOS 8 for years and there's other unconditionally compiled code that depends on newer SDKs so that code is useless.
Alex Szpakowski [Wed, 17 Apr 2019 20:41:05 -0300] rev 12707
iOS: Remove code trying to support compilation on the iOS 7 SDK, the deployment target has been set to iOS 8 for years and there's other unconditionally compiled code that depends on newer SDKs so that code is useless.

Wed, 17 Apr 2019 20:14:40 -0300macOS: Fix compilation when using the 10.9 SDK or older.
Alex Szpakowski [Wed, 17 Apr 2019 20:14:40 -0300] rev 12706
macOS: Fix compilation when using the 10.9 SDK or older.

Tue, 16 Apr 2019 20:00:14 -0700Explicitly load hidapi as a dependency of the SDL library
Sam Lantinga [Tue, 16 Apr 2019 20:00:14 -0700] rev 12705
Explicitly load hidapi as a dependency of the SDL library
This fixes loading on Android 4.2

Sun, 17 Mar 2019 12:36:40 -0400hidapi: Add GCN L/R buttons, just in case someone wants them...
Ethan Lee [Sun, 17 Mar 2019 12:36:40 -0400] rev 12704
hidapi: Add GCN L/R buttons, just in case someone wants them...

Fri, 12 Apr 2019 23:15:26 +0200Android: when event loop is not blocking in pause, backup EGL context (Bug 4578)
Sylvain Becker [Fri, 12 Apr 2019 23:15:26 +0200] rev 12703
Android: when event loop is not blocking in pause, backup EGL context (Bug 4578)
Backup the EGL context when SDL_APP_DIDENTERBACKGROUND has been removed from the
event queue.