Tue, 12 Nov 2013 02:04:12 -0800Fixed build error with SDK < 10.7
Sam Lantinga <slouken@libsdl.org> [Tue, 12 Nov 2013 02:04:12 -0800] rev 7970
Fixed build error with SDK < 10.7

Tue, 12 Nov 2013 02:02:12 -0800We still want to generally minimize on focus loss, but not when we're in a fullscreen space on Mac OS X.
Sam Lantinga <slouken@libsdl.org> [Tue, 12 Nov 2013 02:02:12 -0800] rev 7969
We still want to generally minimize on focus loss, but not when we're in a fullscreen space on Mac OS X.

Tue, 12 Nov 2013 01:52:54 -0800Added a hint SDL_HINT_VIDEO_FULLSCREEN_SPACES to specify that windows go fullscreen into their own spaces on Mac OS X.
Sam Lantinga <slouken@libsdl.org> [Tue, 12 Nov 2013 01:52:54 -0800] rev 7968
Added a hint SDL_HINT_VIDEO_FULLSCREEN_SPACES to specify that windows go fullscreen into their own spaces on Mac OS X.

Tue, 12 Nov 2013 00:32:29 -0800Fullscreen space naming cleanup to avoid confusion with normal fullscreen mode
Sam Lantinga <slouken@libsdl.org> [Tue, 12 Nov 2013 00:32:29 -0800] rev 7967
Fullscreen space naming cleanup to avoid confusion with normal fullscreen mode

Mon, 11 Nov 2013 23:42:43 -0800Made sure the window had the correct border when manually being brought back from fullscreen mode.
Sam Lantinga <slouken@libsdl.org> [Mon, 11 Nov 2013 23:42:43 -0800] rev 7966
Made sure the window had the correct border when manually being brought back from fullscreen mode.

Mon, 11 Nov 2013 22:43:05 -0800Fixed assertion when quickly toggling from fullscreen back to fullscreen:
Sam Lantinga <slouken@libsdl.org> [Mon, 11 Nov 2013 22:43:05 -0800] rev 7965
Fixed assertion when quickly toggling from fullscreen back to fullscreen:
"Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'backgroundWindows not nil in enterFullScreenTransitionWithOptions:animated:activatingIt:'"

To reproduce this, run testsprite2, press Alt-Enter once, again while it's animating to fullscreen, and then again while it's animating out of fullscreen.

Mon, 11 Nov 2013 21:38:11 -0800Fixed window resizing when entering and leaving fullscreen mode
Sam Lantinga <slouken@libsdl.org> [Mon, 11 Nov 2013 21:38:11 -0800] rev 7964
Fixed window resizing when entering and leaving fullscreen mode

Mon, 11 Nov 2013 21:21:18 -0800Fixed assertion failure when minimizing a fullscreen window.
Sam Lantinga <slouken@libsdl.org> [Mon, 11 Nov 2013 21:21:18 -0800] rev 7963
Fixed assertion failure when minimizing a fullscreen window.

Mon, 11 Nov 2013 20:51:19 -0800Fixed bug 2212 - SDL_SetTextInputRect has no effect on iOS
Sam Lantinga <slouken@libsdl.org> [Mon, 11 Nov 2013 20:51:19 -0800] rev 7962
Fixed bug 2212 - SDL_SetTextInputRect has no effect on iOS

philhassey

Overview: While SDL_SetTextInputRect works perfectly to move my window out of the way of the virtual keyboard using SDL2/Android, on iOS this function has no effect.

Steps to Reproduce: Call SDL_SetTextInputRect with a rect near the bottom of the screen before calling SDL_StartTextInput.

Actual Results: The iOS virtual keyboard is displayed after calling SDL_StartTextInput, but the screen is not shifted to reveal the TextInputRect region.

Expected Results: The screen should be shifted to reveal the TextInputRect region (like with SDL2/Android.)

This patch implements SDL_SetTextInputRect for uikit/iOS.

It sets up notification handlers to respond to changes in the display of the keyboard. These handlers then change the frame of the view so it is moved out of the way of the keyboard as per SetTextInputRect.

Mon, 11 Nov 2013 20:42:59 -0800Properly handle toggling fullscreen state when another fullscreen state change is in progress.
Sam Lantinga <slouken@libsdl.org> [Mon, 11 Nov 2013 20:42:59 -0800] rev 7961
Properly handle toggling fullscreen state when another fullscreen state change is in progress.