Wed, 25 Jun 2014 00:58:40 -0700Fixed bug 2595 - Padded, non-contiguous YUV does not display correctly using OpenGL ES 2.0 renderer
Sam Lantinga <slouken@libsdl.org> [Wed, 25 Jun 2014 00:58:40 -0700] rev 8923
Fixed bug 2595 - Padded, non-contiguous YUV does not display correctly using OpenGL ES 2.0 renderer

Sylvain

Ok, I found out : GLES2_UpdateTexture is just not handling the YUV, I will attach a patch.

Wed, 25 Jun 2014 00:43:10 -0700Fixed bug 2556 - add compilation flag -Wshadow
Sam Lantinga <slouken@libsdl.org> [Wed, 25 Jun 2014 00:43:10 -0700] rev 8922
Fixed bug 2556 - add compilation flag -Wshadow

Sylvain

here's the full patch for Blit + RLE.

Wed, 25 Jun 2014 00:20:21 -0700Fixed bug 2603 - iOS: update joystick accelerometer code to use CoreMotion instead of the deprecated UIAccelerometer
Sam Lantinga <slouken@libsdl.org> [Wed, 25 Jun 2014 00:20:21 -0700] rev 8921
Fixed bug 2603 - iOS: update joystick accelerometer code to use CoreMotion instead of the deprecated UIAccelerometer

Alex Szpakowski

SDL's code for exposing the accelerometer as a joystick on iOS currently uses UIAccelerometer, which was superseded by the CoreMotion framework and deprecated since iOS 5.

The UIAccelerometer code still works (for now), but it also throws deprecation warnings whenever SDL is built for iOS, since SDL's deployment target is no longer below iOS 5.

I've created a patch which replaces the old UIAccelerometer code with a replacement based on the CoreMotion framework. It has identical functionality (to SDL users), however iOS apps are now required to link to the CoreMotion framework when using SDL.

Tue, 24 Jun 2014 13:31:25 -0700Fixed bug 2553 - Add support to all XInput devices
Sam Lantinga <slouken@libsdl.org> [Tue, 24 Jun 2014 13:31:25 -0700] rev 8920
Fixed bug 2553 - Add support to all XInput devices

This adds support for all XInput devices, exposed through the SDL joystick API.
The button and axis reporting for XInput devices has been changed to match DirectInput and other platforms.
The game controller xinput mapping has been updated so this change is seamless.
There is a new hint, SDL_HINT_XINPUT_USE_OLD_JOYSTICK_MAPPING, for any applications that have hardcoded the old xinput button and axis set. This hint will be removed in SDL 2.1.

Tue, 24 Jun 2014 01:38:21 -0700Fixed bug 2467 - bad memcpy in SDL_OpenAudio/open_audio_device/prepare_audiospec chain
Sam Lantinga <slouken@libsdl.org> [Tue, 24 Jun 2014 01:38:21 -0700] rev 8919
Fixed bug 2467 - bad memcpy in SDL_OpenAudio/open_audio_device/prepare_audiospec chain

Rainer Deyke

If 'SDL_OpenAudio' is called with 'obtained == NULL', 'prepare_audiospec' performs a bad 'memcpy' with the destination and source pointing to the same block of memory. The problem appears to be on in 'SDL_OpenAudio', which calls open_audio_device with 'obtained = desired' when 'obtained == NULL'. 'open_audio_device' cannot deal with 'desired' and 'obtained' pointing to the same block of memory but can deal with 'obtained == NULL'

Tue, 24 Jun 2014 01:32:20 -0700Fixed compiling SDL 1.2 with Xcode 5.1.1 SDL-1.2
Sam Lantinga <slouken@libsdl.org> [Tue, 24 Jun 2014 01:32:20 -0700] rev 8918
Fixed compiling SDL 1.2 with Xcode 5.1.1

Mon, 23 Jun 2014 11:06:50 -0700Don't redefine standard macros, use SDL specific macros instead to avoid compiler warnings
Sam Lantinga <slouken@libsdl.org> [Mon, 23 Jun 2014 11:06:50 -0700] rev 8917
Don't redefine standard macros, use SDL specific macros instead to avoid compiler warnings

Mon, 23 Jun 2014 10:09:15 -0700Fixed grab interaction with Windows Classic theme
Sam Lantinga <slouken@libsdl.org> [Mon, 23 Jun 2014 10:09:15 -0700] rev 8916
Fixed grab interaction with Windows Classic theme

Testing:
* For each theme in Windows 7, Windows 7 Basic, and Windows 7 Classic:
- Ran testsprite2
- Pressed Ctrl-G to grab the mouse
- Alt-tabbed away, verified mouse is no longer grabbed
- Alt-tabbed back, verified that mouse was grabbed
- Alt-tabbed away
- Clicked in the window, verified mouse was grabbed
- Alt-tabbed away
- Grabbed the title bar and dragged the window around successfully, verified that mouse was grabbed when move modal loop completed
- Alt-tabbed away
- Clicked the minimize button on the title bar, the window was successfully minimized
- Clicked on the icon in the task bar, the window was restored and the mouse grabbed again
- Alt-tabbed away
- Clicked the close button on the title bar, the window was successfully closed

Mon, 23 Jun 2014 10:09:13 -0700Added names for some theme related windows messages
Sam Lantinga <slouken@libsdl.org> [Mon, 23 Jun 2014 10:09:13 -0700] rev 8915
Added names for some theme related windows messages

Mon, 23 Jun 2014 11:29:53 -0400Backport gcc-fat.sh and g++-fat.sh to the 1.2 branch to help buildbot. SDL-1.2
Ryan C. Gordon <icculus@icculus.org> [Mon, 23 Jun 2014 11:29:53 -0400] rev 8914
Backport gcc-fat.sh and g++-fat.sh to the 1.2 branch to help buildbot.