Sat, 03 Dec 2016 09:59:43 -0800Fixed crash at startup
Sam Lantinga [Sat, 03 Dec 2016 09:59:43 -0800] rev 10676
Fixed crash at startup

Sat, 03 Dec 2016 00:40:13 -0800Added Linux mapping for the DragonRise Inc. Generic USB Joystick
Sam Lantinga [Sat, 03 Dec 2016 00:40:13 -0800] rev 10675
Added Linux mapping for the DragonRise Inc. Generic USB Joystick

Fri, 02 Dec 2016 22:18:05 -0800Fixed compile warning on Visual Studio
Sam Lantinga [Fri, 02 Dec 2016 22:18:05 -0800] rev 10674
Fixed compile warning on Visual Studio

Fri, 02 Dec 2016 21:01:13 -0800Added SDL_HINT_MOUSE_NORMAL_SPEED_SCALE and SDL_HINT_MOUSE_RELATIVE_SPEED_SCALE to scale the speed of the mouse.
Sam Lantinga [Fri, 02 Dec 2016 21:01:13 -0800] rev 10673
Added SDL_HINT_MOUSE_NORMAL_SPEED_SCALE and SDL_HINT_MOUSE_RELATIVE_SPEED_SCALE to scale the speed of the mouse.
This currently doesn't affect absolute motion, which would need to be implemented on each windowing system so the cursor matches the reported mouse coordinates.

Fri, 02 Dec 2016 02:25:12 -0800Fixed missing prototypes on Android, patch from Sylvain
Sam Lantinga [Fri, 02 Dec 2016 02:25:12 -0800] rev 10672
Fixed missing prototypes on Android, patch from Sylvain

Fri, 02 Dec 2016 02:21:35 -0800Fixed bug 3305 - Fixed TextInput status when the keyboard was dismissed with the dismiss key on the iPad
Sam Lantinga [Fri, 02 Dec 2016 02:21:35 -0800] rev 10671
Fixed bug 3305 - Fixed TextInput status when the keyboard was dismissed with the dismiss key on the iPad

Diego

I was previously unaware that rotating the device to a different orientation when the keyboard is shown causes a keyboardWillHide followed by a keyboardWillShow notification. The previous patch would then mistakenly StopTextInput when rotating. This patch fixes that by checking if the device is rotating before stopping text input.

Thu, 01 Dec 2016 07:31:08 -0800Added Linux controller mapping for the Nostromo n45 Dual Analog Gamepad
Sam Lantinga [Thu, 01 Dec 2016 07:31:08 -0800] rev 10670
Added Linux controller mapping for the Nostromo n45 Dual Analog Gamepad

Thu, 01 Dec 2016 11:52:47 -0800Fixed bug 3503 - osx builds don't run on 10.6 as of rev. 10651
Sam Lantinga [Thu, 01 Dec 2016 11:52:47 -0800] rev 10669
Fixed bug 3503 - osx builds don't run on 10.6 as of rev. 10651

Ozkan Sezer

With rev. 10651, i.e. http://hg.libsdl.org/SDL/rev/f0065b8e6541 ,
SDL2 - OS X builds fail to run on 10.6 (my setup: i686 / 10.6.8)
because the symbol _IOPMAssertionCreateWithDescription is missing.
The SDK listing it for 10.7+ does seem correct. Reverting r10651
and rebuilding makes it to function again.

Wed, 30 Nov 2016 22:06:05 -0800Fixed bug 3340 - SDL_BlitScaled causes access violation in some cases.
Sam Lantinga [Wed, 30 Nov 2016 22:06:05 -0800] rev 10668
Fixed bug 3340 - SDL_BlitScaled causes access violation in some cases.

Simon Hug

The SDL_BlitScaled function runs into an access violation for specific blit coordinates and surface sizes. The attached testcase blits a 800x600 surface to a 1280x720 surface at the coordinates -640,-345 scaled to 1280x720. The blit function that moves the data then runs over and reads after the pixel data from the src surface causing an access violation.

I can't say where exactly it goes wrong, but I think it could have something to do with the rounding in SDL_UpperBlitScaled. final_src.y is 288 and final_src.h is 313. Together that's 601, which I believe is one too much, but I just don't know the code enough to make sure that's the problem.

Sylvain

I think this patch fix the issue, but maybe it's worth re-writing "SDL_UpperBlitScaled" using SDL_FRect.

Wed, 30 Nov 2016 12:58:03 -0800Fixed the controller mappings for the OUYA controller
Sam Lantinga [Wed, 30 Nov 2016 12:58:03 -0800] rev 10667
Fixed the controller mappings for the OUYA controller