Thu, 12 Oct 2017 08:44:45 -0700Fixed bug 3867 - Can't find install_manifest.txt when running 'uninstall' target
Sam Lantinga [Thu, 12 Oct 2017 08:44:45 -0700] rev 11605
Fixed bug 3867 - Can't find install_manifest.txt when running 'uninstall' target

Steve Robinson

When I try to build the 'uninstall' target in CMake when SDL2 is added to a subdirectory of my project, I get this error:

1>CMake Error at cmake_uninstall.cmake:2 (message):
1> Cannot find install manifest:
1> "D:/Code/sdl2-tutorial/_build/3rdparty/SDL2/SDL2-2.0.6/install_manifest.txt"

The install_manifest.txt is actually in the top-level binary directory, not the project-specific binary directory.

To fix it, change all instances of:
CMAKE_CURRENT_BINARY_DIR

To:
CMAKE_BINARY_DIR

In:
cmake_uninstall.cmake.in

Thu, 12 Oct 2017 08:41:11 -0700Fixed bug 3874 - Compiler warnings SDL_Surface.c and SDL_cocoakeyboard.m
Sam Lantinga [Thu, 12 Oct 2017 08:41:11 -0700] rev 11604
Fixed bug 3874 - Compiler warnings SDL_Surface.c and SDL_cocoakeyboard.m

Thu, 12 Oct 2017 08:37:55 -0700Normalize touch events to the render viewport (thanks Sylvain!)
Sam Lantinga [Thu, 12 Oct 2017 08:37:55 -0700] rev 11603
Normalize touch events to the render viewport (thanks Sylvain!)

Thu, 12 Oct 2017 08:27:22 -0700Fixed divide by zero with a 1x1 sized window
Sam Lantinga [Thu, 12 Oct 2017 08:27:22 -0700] rev 11602
Fixed divide by zero with a 1x1 sized window

Thu, 12 Oct 2017 14:28:05 +0300make sure that SDL_malloc(0) or SDL_calloc(0,x) doesn't return NULL.
Ozkan Sezer [Thu, 12 Oct 2017 14:28:05 +0300] rev 11601
make sure that SDL_malloc(0) or SDL_calloc(0,x) doesn't return NULL.

Thu, 12 Oct 2017 08:08:04 -0700Updated version to 2.0.7
Sam Lantinga [Thu, 12 Oct 2017 08:08:04 -0700] rev 11600
Updated version to 2.0.7

Tue, 10 Oct 2017 20:22:15 -0400Check SDL_UDEV_DYNAMIC first, then SDL_UDEV_LIBS separately
Ethan Lee [Tue, 10 Oct 2017 20:22:15 -0400] rev 11599
Check SDL_UDEV_DYNAMIC first, then SDL_UDEV_LIBS separately

Wed, 11 Oct 2017 13:31:21 -0700Fixed bug 3871 - Touch events are not normalised on X11
Sam Lantinga [Wed, 11 Oct 2017 13:31:21 -0700] rev 11598
Fixed bug 3871 - Touch events are not normalised on X11

Trent Gamblin

The documentation for SDL_TouchFingerEvent says that the x and y coordinates are normalised between 0-1. I've found that to be true on Windows, Android and iOS but on X11 they are in pixel coordinates. This patch fixes the issue. This was the cleanest way I could do it with what was available without changing things around a lot but you may know a better way.

Wed, 11 Oct 2017 13:26:58 -0700Fixed size in realloc
Sam Lantinga [Wed, 11 Oct 2017 13:26:58 -0700] rev 11597
Fixed size in realloc

Wed, 11 Oct 2017 12:07:43 -0400audio: Turns out the accumulation errors sound better. :/
Ryan C. Gordon [Wed, 11 Oct 2017 12:07:43 -0400] rev 11596
audio: Turns out the accumulation errors sound better. :/

Moving to double fixed the overflows, but using "time = i * incr" instead of
"time += incr" causes clicks in the output.