Sat, 01 Oct 2016 14:31:00 -0700Fixed bug 3116 - renderer->hidden in SDL_RenderCopy(Ex)
Sam Lantinga <slouken@libsdl.org> [Sat, 01 Oct 2016 14:31:00 -0700] rev 10440
Fixed bug 3116 - renderer->hidden in SDL_RenderCopy(Ex)

Daniel

Seems like check of the visibility of renderer (renderer->hidden) is missing in SDL_RenderCopyEx.

In SDL_RenderCopy it should be done much earlier (after checking support for RenderCopyEx, line 1750).

Sat, 01 Oct 2016 14:22:10 -0700Fixed bug 3130 - Spacebar not responding
Sam Lantinga <slouken@libsdl.org> [Sat, 01 Oct 2016 14:22:10 -0700] rev 10439
Fixed bug 3130 - Spacebar not responding

Alex Baines

Make sure group is valid before passing it to XkbKeysymToKeycode.

Sat, 01 Oct 2016 14:18:29 -0700Fix SDL not resizing window when Android screen resolution changes
Magnus Bjerke Vik <mbvett@gmail.com> [Sat, 01 Oct 2016 14:18:29 -0700] rev 10438
Fix SDL not resizing window when Android screen resolution changes

Sat, 01 Oct 2016 14:16:04 -0700Fixed bug 3134 - CalculateXRandRRefreshRate() returns incorrect refresh rate due to floating point truncation.
Sam Lantinga <slouken@libsdl.org> [Sat, 01 Oct 2016 14:16:04 -0700] rev 10437
Fixed bug 3134 - CalculateXRandRRefreshRate() returns incorrect refresh rate due to floating point truncation.

Michael

In SDL_x11modes.c the CalculateXRandRRefreshRate() function performs integer math on values that may return fractional results. This causes a value that would be calculated as 59.99972... to be returned as 59. In Linux the xrandr command returns 60Hz for this particular display mode yet SDL returns 59Hz.

I suggest this function be updated to correctly round the result of the calculation instead of truncating the result.

Wed, 30 Sep 2015 04:16:09 +0100Call setlocale + XSetModifiers before XOpenIM, Work around ibus+xim duplicate events.
Alex Baines <alex@abaines.me.uk> [Wed, 30 Sep 2015 04:16:09 +0100] rev 10436
Call setlocale + XSetModifiers before XOpenIM, Work around ibus+xim duplicate events.

Sat, 01 Oct 2016 14:05:35 -0700Fixed bug 3138 - c_dfDIJoystick2 already defined in dinput8.lib
Sam Lantinga <slouken@libsdl.org> [Sat, 01 Oct 2016 14:05:35 -0700] rev 10435
Fixed bug 3138 - c_dfDIJoystick2 already defined in dinput8.lib

Machiel van Hooren

In SDL_dxjoystick.c line 349 there is a constant c_dfDIJoystick2.
However, this constant is aparently also defined in dinput8.lib.

I encountered a linking error when statically linking to SDL:
SDL2_static.lib(SDL_dxjoystick.obj) : error LNK2005: _c_dfDIJoystick2 already defined in dinput8.lib
My application is also linking to dinput8.lib because we rolled our own joystick input and are not using the joystick functionality from SDL.

Sat, 01 Oct 2016 13:59:59 -0700Fixed 3149 - Mouse Pointer Raspberry Pi corrupt when moving over screen edges
Sam Lantinga <slouken@libsdl.org> [Sat, 01 Oct 2016 13:59:59 -0700] rev 10434
Fixed 3149 - Mouse Pointer Raspberry Pi corrupt when moving over screen edges

Patrick Gutlich

The mouse cursor gets corrupted when the mouse moves over the screen edges (right and bottom) a weird type of scaling seems to occur and you end up with a blank square.

Sat, 01 Oct 2016 13:51:56 -0700Fixed bug 3157 - Rudimentary touchscreen support in SDL_evdev (supports Raspberry Pi)
Sam Lantinga <slouken@libsdl.org> [Sat, 01 Oct 2016 13:51:56 -0700] rev 10433
Fixed bug 3157 - Rudimentary touchscreen support in SDL_evdev (supports Raspberry Pi)

tvc

I've spent the last few days implementing touchscreen support in core/linux/SDL_evdev.c. It's fairly rudimentary at the moment, as can be seen from the multiple TODO's and FIXME's littered throughout, but I'm mainly submitting this patch for review. I've tested this patch on my Raspberry Pi 2 with the official touchscreen and it works fantastically, reporting all 10 multitouch points. I'm happy to work on this further, the evdev logic also needs a bit of a cleanup I think (I may have included a few changes). But if it's good enough in its current state to be committed then I'm sure there'd be plenty of people pleased, as currently the only other framework/library that supports touchscreens on the Raspberry Pi is Kivy.

Sat, 01 Oct 2016 13:40:01 -0700Fixed bug 3159 - SDL_blit_slow with BLENDING does not work
Sam Lantinga <slouken@libsdl.org> [Sat, 01 Oct 2016 13:40:01 -0700] rev 10432
Fixed bug 3159 - SDL_blit_slow with BLENDING does not work

Fritzor

Source Suface is ABGR and Destination Surface is ABGR. We use software blending. In the Switch-Case statement for SDL_COPY_BLEND (Line 126) the alpha-channel is not calculated like in every SDL_blit_auto - function. So if the destination Surface has alpha - channel of zero the resulting surface has zero as well.
Add: “dstA = srcA + ((255 - srcA) * dstA) / 255;” to code and everything is okay.

Sat, 01 Oct 2016 13:38:30 -0700Fixed bug 3161 - SDL_WINDOWEVENT_EXPOSED event possible queue overflow
Sam Lantinga <slouken@libsdl.org> [Sat, 01 Oct 2016 13:38:30 -0700] rev 10431
Fixed bug 3161 - SDL_WINDOWEVENT_EXPOSED event possible queue overflow

Marcel Bakker

Observed when resizing or moving a window in Windows 7.

Depending on how you resize/move your window
, you may receive none or a lot of SDL_WINDOWEVENT_EXPOSED events
, at the moment you release the mouse button.

Maybe add this event to an already existing list of overflow candidates ?