Thu, 02 Nov 2017 10:41:55 -0700Make SDL fullscreen windows on Android actually fullscreen
Sam Lantinga <slouken@libsdl.org> [Thu, 02 Nov 2017 10:41:55 -0700] rev 11672
Make SDL fullscreen windows on Android actually fullscreen

Thu, 02 Nov 2017 08:48:14 -0700Fixed bug 3935 - Not find joysticks if android run 24-48 days.
Sam Lantinga <slouken@libsdl.org> [Thu, 02 Nov 2017 08:48:14 -0700] rev 11671
Fixed bug 3935 - Not find joysticks if android run 24-48 days.

Alexander Orefkov

In src\joystick\android\SDL_sysjoystick.c in SDL_SYS_JoystickDetect when SDL_GetTicks return number grater 2147483648 (after 24.85 days uptime) SDL_TICKS_PASSED(SDL_GetTicks(), timeout) return FALSE and Android_JNI_PollInputDevices is never calling.
And in JoystickByDeviceId - when search for newly added joystic - after SDL_SYS_JoystickDetect item not reinitilized, and always stay NULL, cause return NULL instead of added joystick.

Thu, 02 Nov 2017 08:46:14 -0700Fixed bug 3933 - Android, no need of the listener thread
Sam Lantinga <slouken@libsdl.org> [Thu, 02 Nov 2017 08:46:14 -0700] rev 11670
Fixed bug 3933 - Android, no need of the listener thread

Sylvain

A listener thread has been added to know when the native thread would end.
But now, it is more easy to only check that after the main function has returned. It's one thread less.

Wed, 01 Nov 2017 19:19:21 -0700Fixed bug 3917 - Android, issues with getManifestEnvironmentVariable
Sam Lantinga <slouken@libsdl.org> [Wed, 01 Nov 2017 19:19:21 -0700] rev 11669
Fixed bug 3917 - Android, issues with getManifestEnvironmentVariable

Sylvain

Some issue with this commit:
https://hg.libsdl.org/SDL/rev/4130b92b6be4

There is a memory allocation missing.

Wed, 01 Nov 2017 18:41:11 -0700Allow the activity to persist through connecting or disconnecting a keyboard
Sam Lantinga <slouken@libsdl.org> [Wed, 01 Nov 2017 18:41:11 -0700] rev 11668
Allow the activity to persist through connecting or disconnecting a keyboard

Wed, 01 Nov 2017 18:40:11 -0700Moved the meta-data into the right section
Sam Lantinga <slouken@libsdl.org> [Wed, 01 Nov 2017 18:40:11 -0700] rev 11667
Moved the meta-data into the right section

Wed, 01 Nov 2017 17:41:25 -0700Fixed bug 3926 - SDL_main export
Sam Lantinga <slouken@libsdl.org> [Wed, 01 Nov 2017 17:41:25 -0700] rev 11666
Fixed bug 3926 - SDL_main export

e_pluschauskas

I noticed that after updating SDL to 2.0.6 my application now exports SDL_main.

At GitHub SDL mirror (branch 2.0.5) SDL_main prototyped as
extern C_LINKAGE int SDL_main(int argc, char *argv[]);
but at branch 2.0.6 prototype is
extern C_LINKAGE DECLSPEC int SDL_main(int argc, char *argv[]);

Wed, 01 Nov 2017 17:30:02 -0700Fixed bug 3932 - Android, GetDisplayDPI release local reference
Sam Lantinga <slouken@libsdl.org> [Wed, 01 Nov 2017 17:30:02 -0700] rev 11665
Fixed bug 3932 - Android, GetDisplayDPI release local reference

Sylvain

When writing JNI code, one has to make sure all local references are released otherwise the app end up crashing.

Wed, 01 Nov 2017 10:07:04 -0700Fixed building on non-Android platforms
Sam Lantinga <slouken@libsdl.org> [Wed, 01 Nov 2017 10:07:04 -0700] rev 11664
Fixed building on non-Android platforms

Wed, 01 Nov 2017 10:06:58 -0700Added controller mapping for Android TV remotes
Sam Lantinga <slouken@libsdl.org> [Wed, 01 Nov 2017 10:06:58 -0700] rev 11663
Added controller mapping for Android TV remotes
Also fixed the back button on the remote exiting the application