Sun, 17 Aug 2014 13:15:09 -0700cmake: add -Wall/-Wshadow to GCC compilation flags
Sam Lantinga <slouken@libsdl.org> [Sun, 17 Aug 2014 13:15:09 -0700] rev 9081
cmake: add -Wall/-Wshadow to GCC compilation flags

Sun, 17 Aug 2014 13:11:55 -0700Removed SDL_round() because the license wasn't compatible with zlib
Sam Lantinga <slouken@libsdl.org> [Sun, 17 Aug 2014 13:11:55 -0700] rev 9080
Removed SDL_round() because the license wasn't compatible with zlib

Sun, 17 Aug 2014 10:10:41 -0700Fixed bug 2688 - failure to build test/loopwavequeue.c on Linux
Sam Lantinga <slouken@libsdl.org> [Sun, 17 Aug 2014 10:10:41 -0700] rev 9079
Fixed bug 2688 - failure to build test/loopwavequeue.c on Linux

Sat, 16 Aug 2014 23:30:44 -0700Fixed bug 2681 - dereference a NULL pointer dst_fmt in SDL_CreateTextureFromSurface function
Sam Lantinga <slouken@libsdl.org> [Sat, 16 Aug 2014 23:30:44 -0700] rev 9078
Fixed bug 2681 - dereference a NULL pointer dst_fmt in SDL_CreateTextureFromSurface function

Nitz

In SDL_CreateTextureFromSurface:

SDL_PixelFormat *dst_fmt;
/* Set up a destination surface for the texture update */
dst_fmt = SDL_AllocFormat(format);
temp = SDL_ConvertSurface(surface, dst_fmt, 0);

Here is need of NULL check for dst_fmt because there are chances of NULL return from SDL_AllocFormat(format);

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.)