Sat, 16 Aug 2014 23:28:40 -0700Fixed bug 2683 - Raspberry PI support using CMake
Sam Lantinga <slouken@libsdl.org> [Sat, 16 Aug 2014 23:28:40 -0700] rev 9077
Fixed bug 2683 - Raspberry PI support using CMake

Tobias Himmer

this patch adds a check to the CMake build script to detect whether the VideoCore API is available.
If it is found, it enables SDL_VIDEO_DRIVER_RPI and will also add the needed include/library directory flags to CMAKE_C_FLAGS so the subsequent check for GLES succeeds in picking up the headers.

Seems to work fine on Raspbian.

Sat, 16 Aug 2014 23:25:02 -0700Fixed bug 2687 - SDL_BlitScaled does not handle clipping correctly
Sam Lantinga <slouken@libsdl.org> [Sat, 16 Aug 2014 23:25:02 -0700] rev 9076
Fixed bug 2687 - SDL_BlitScaled does not handle clipping correctly

Patch from Benoit Pierre:

video: fix clipping handling in SDL_UpperBlitScaled

- honor destination clipping rectangle
- update both destination and source rectangles when clipping source
rectangle to source surface and destination rectangle to destination
clip rectangle
- don't change scaling factors when clipping

N.B.:

- when no scaling is involved (source and destination width/height are
the same), SDL_UpperBlit is used (so SDL_BlitScaled behaves like
SDL_BlitSurface)
- the final destination rectangle after all clipping is performed is
saved back to dstrect (like for SDL_UpperBlit)

Sat, 16 Aug 2014 23:23:15 -0700Added SDL_round(), contributed by Benoit Pierre - thanks!
Sam Lantinga <slouken@libsdl.org> [Sat, 16 Aug 2014 23:23:15 -0700] rev 9075
Added SDL_round(), contributed by Benoit Pierre - thanks!

Sat, 16 Aug 2014 23:17:47 -0700Fixed bugs 2677 and 2625, made it possible to lock render targets in D3D
Sam Lantinga <slouken@libsdl.org> [Sat, 16 Aug 2014 23:17:47 -0700] rev 9074
Fixed bugs 2677 and 2625, made it possible to lock render targets in D3D

Sat, 16 Aug 2014 15:18:21 -0700Fixed building on Windows with CMake
Sam Lantinga <slouken@libsdl.org> [Sat, 16 Aug 2014 15:18:21 -0700] rev 9073
Fixed building on Windows with CMake

Sat, 16 Aug 2014 16:50:10 -0400Haptic: Add some missing haptic types to test, and fix wrong array-sizes.
Ryan C. Gordon <icculus@icculus.org> [Sat, 16 Aug 2014 16:50:10 -0400] rev 9072
Haptic: Add some missing haptic types to test, and fix wrong array-sizes.

Thanks, Elias!

Fixes Bugzilla #2686.
(along with the last several commits.)

Sat, 16 Aug 2014 16:49:00 -0400Haptic: Fix clamping bugs on Windows, by using the Darwin haptics code.
Ryan C. Gordon <icculus@icculus.org> [Sat, 16 Aug 2014 16:49:00 -0400] rev 9071
Haptic: Fix clamping bugs on Windows, by using the Darwin haptics code.

Thanks, Elias!

Partially fixes Bugzilla #2686.

Sat, 16 Aug 2014 16:47:42 -0400Haptic: Fix the saturation and deadband parameters' available range.
Ryan C. Gordon <icculus@icculus.org> [Sat, 16 Aug 2014 16:47:42 -0400] rev 9070
Haptic: Fix the saturation and deadband parameters' available range.

There was a misconception that Linux's saturation and deadband parameters -
on which the corresponding SDL parameters were based - use only half of the
possible range.

Thanks, Elias!

Partially fixes Bugzilla #2686.

Sat, 16 Aug 2014 16:42:55 -0400Haptic: Explicitly avoid floating point arithmetic if it's not needed.
Ryan C. Gordon <icculus@icculus.org> [Sat, 16 Aug 2014 16:42:55 -0400] rev 9069
Haptic: Explicitly avoid floating point arithmetic if it's not needed.

Thanks, Elias!

Partially fixes Bugzilla #2686.

Sat, 16 Aug 2014 16:41:25 -0400Haptic: DInput's POLAR direction actually matches Linux's direction.
Ryan C. Gordon <icculus@icculus.org> [Sat, 16 Aug 2014 16:41:25 -0400] rev 9068
Haptic: DInput's POLAR direction actually matches Linux's direction.

Thanks, Elias!

Partially fixes Bugzilla #2686.