Sun, 24 Jun 2018 12:16:58 -0400Fixed some possible malloc(0) calls reported by static analysis.
Ryan C. Gordon [Sun, 24 Jun 2018 12:16:58 -0400] rev 12027
Fixed some possible malloc(0) calls reported by static analysis.

Fri, 22 Jun 2018 21:03:40 +0300SDLMain.m: replace CPS* stuff with activateIgnoringOtherApps (bug #4114) SDL-1.2
Ozkan Sezer [Fri, 22 Jun 2018 21:03:40 +0300] rev 12026
SDLMain.m: replace CPS* stuff with activateIgnoringOtherApps (bug #4114)

CPS stuff are deprecated and emit warnings at runtime, e.g.:

warning: CPSGetCurrentProcess(): This call is deprecated and should not be called anymore
warning: CPSSetForegroundOperationState() (as above)
warning: capture_display; Captured mirror master 0x350000c1 (unit 1) on behalf of slave 0x042716c0 (unit 0)

http://lists.libsdl.org/pipermail/sdl-libsdl.org/2006-April/055749.html
suggests doing something like:

ProcessSerialNumber psn = { 0, kCurrentProcess};
TransformProcessType (&psn, kProcessTransformToForegroundApplication);
SetFrontProcess (&psn);

And SetFrontProcess() is deprecated in 10.9. Processes.h suggests
[[NSApplication sharedApplication] activateIgnoringOtherApps: YES]
to make one's own application frontmost.

Mon, 18 Jun 2018 13:14:04 -0700Use a blank cursor instead of PointerIcon.TYPE_NULL since that shows the default cursor on Samsung DeX
Sam Lantinga [Mon, 18 Jun 2018 13:14:04 -0700] rev 12025
Use a blank cursor instead of PointerIcon.TYPE_NULL since that shows the default cursor on Samsung DeX

Mon, 18 Jun 2018 13:14:02 -0700Added support for external mouse in Samsung DeX mode
Sam Lantinga [Mon, 18 Jun 2018 13:14:02 -0700] rev 12024
Added support for external mouse in Samsung DeX mode
relative mode doesn't work, but absolute coordinates are functional

Mon, 18 Jun 2018 13:14:00 -0700Make certain we only hide system UI when we're fullscreen for real. (thanks Rachel!)
Sam Lantinga [Mon, 18 Jun 2018 13:14:00 -0700] rev 12023
Make certain we only hide system UI when we're fullscreen for real. (thanks Rachel!)

Mon, 18 Jun 2018 13:13:58 -0700Deal with situations where the system UI is shown when the keyboard pops up (thanks Rachel!)
Sam Lantinga [Mon, 18 Jun 2018 13:13:58 -0700] rev 12022
Deal with situations where the system UI is shown when the keyboard pops up (thanks Rachel!)

Mon, 18 Jun 2018 13:13:56 -0700Fixed race condition where Android touch events could get scaled by a render target's viewport
Sam Lantinga [Mon, 18 Jun 2018 13:13:56 -0700] rev 12021
Fixed race condition where Android touch events could get scaled by a render target's viewport

Thu, 14 Jun 2018 00:51:45 -0700Fixed bug 4094 - No SDL_TEXTEDITING after pressing Alt key on Raspberry Pi Linux
Sam Lantinga [Thu, 14 Jun 2018 00:51:45 -0700] rev 12020
Fixed bug 4094 - No SDL_TEXTEDITING after pressing Alt key on Raspberry Pi Linux

This was reproducible by running an SDL app on the console from an ssh login. In this case the terminal wasn't owned by the user running the app, so we were using the default keymap, which didn't have state transitions defined for ctrl and alt, so once we entered that state keypresses would no longer transition out of that state, nor would they generate text.

As a workaround, we'll just reset to the default shift state if that happens, which means we'll get text for keys pressed while ctrl is held down, but I don't think that's a big problem.

Note that in this case we also can't mute the keyboard, so the keypresses go to the console, which probably isn't what you want...

Wed, 13 Jun 2018 14:24:30 -0700SDL Android fullscreen code extensively tested on Steam Link with no issues reported
Sam Lantinga [Wed, 13 Jun 2018 14:24:30 -0700] rev 12019
SDL Android fullscreen code extensively tested on Steam Link with no issues reported

Wed, 13 Jun 2018 14:45:02 +0300use the 'aborts' pragma of Watcom for SDL_NORETURN functions
Ozkan Sezer [Wed, 13 Jun 2018 14:45:02 +0300] rev 12018
use the 'aborts' pragma of Watcom for SDL_NORETURN functions
SDL_ExitProcess(), SDL_AbortAssertion() and SDLTest_BailOut().

(Commit c8b4a5166613 for bug #4100 removed SDL_NORETURN from
SDL_ExitProcess() and SDL_AbortAssertion() in order to avoid
warnings from windows builds, but that's temporary I guess..)