Sun, 14 Jun 2015 19:21:13 -0700Fixed bug 2953 - Crash due to a bad cleanup in the SDL_SYS_HapticQuit function
Sam Lantinga [Sun, 14 Jun 2015 19:21:13 -0700] rev 9740
Fixed bug 2953 - Crash due to a bad cleanup in the SDL_SYS_HapticQuit function

Technically this is caused by the haptic devices not being closed at quit time, which we need to fix anyway, but this is a bandaid for now.

Sun, 14 Jun 2015 19:10:51 -0700Fixed bug 2908 - Fix clang warnings
Sam Lantinga [Sun, 14 Jun 2015 19:10:51 -0700] rev 9739
Fixed bug 2908 - Fix clang warnings

Simon Deschenes

My build system still shows warning as errors.

The first warning says that the member named instances can never be false (or NULL) as it is a static array, and we should check for instances[index] which we do anyway.

Sun, 14 Jun 2015 18:57:05 -0700Only use explicit inlining - otherwise Visual Studio 2010 will inline SDL_zero(info) in SDL_vsnprintf() into a memset() call when compiling the Release x64 configuration.
Sam Lantinga [Sun, 14 Jun 2015 18:57:05 -0700] rev 9738
Only use explicit inlining - otherwise Visual Studio 2010 will inline SDL_zero(info) in SDL_vsnprintf() into a memset() call when compiling the Release x64 configuration.

Sun, 14 Jun 2015 18:37:43 -0700Fixed 2010 solution and removed Release_NoSTDIO build configuration
Sam Lantinga [Sun, 14 Jun 2015 18:37:43 -0700] rev 9737
Fixed 2010 solution and removed Release_NoSTDIO build configuration

Sun, 14 Jun 2015 18:21:04 -0700Updated Visual Studio projects
Sam Lantinga [Sun, 14 Jun 2015 18:21:04 -0700] rev 9736
Updated Visual Studio projects
There is now a single solution used by Visual Studio 2010 and newer

Sun, 14 Jun 2015 20:15:36 -0400WinRT: made sure build script generates Release-built binaries, by default
David Ludwig [Sun, 14 Jun 2015 20:15:36 -0400] rev 9735
WinRT: made sure build script generates Release-built binaries, by default

winrtbuild.bat/.ps1 were generating Debug-built binaries, in some cases.
This change makes sure that Release mode is the default.

Sat, 13 Jun 2015 13:36:47 -0700Fixed bug 3011 - pthread/SDL_syssem.c requires _GNU_SOURCE
Sam Lantinga [Sat, 13 Jun 2015 13:36:47 -0700] rev 9734
Fixed bug 3011 - pthread/SDL_syssem.c requires _GNU_SOURCE

Ozkan Sezer

pthread/SDL_syssem.c requires _GNU_SOURCE predefined (like SDL_sysmutex.c),
otherwise sem_timedwait() prototype might not be available to it. Problem
seen with glibc-2.3.4.

Sat, 13 Jun 2015 13:34:30 -0700Fixed bug 3010 - SDL_x11messagebox.c needs including X11/keysym.h
Sam Lantinga [Sat, 13 Jun 2015 13:34:30 -0700] rev 9733
Fixed bug 3010 - SDL_x11messagebox.c needs including X11/keysym.h

Ozkan Sezer

SDL_x11messagebox.c needs including <X11/keysym.h> otherwise XK_Escape,
etc might not be available to it. Seen this with x.org-x11-6.8.2.

Sat, 13 Jun 2015 13:19:31 -0700Updated WhatsNew.txt for 2.0.4
Sam Lantinga [Sat, 13 Jun 2015 13:19:31 -0700] rev 9732
Updated WhatsNew.txt for 2.0.4

Sat, 13 Jun 2015 10:47:55 -0700Fixed bug 3009 - Cannot compile SDL2 on Windows
Sam Lantinga [Sat, 13 Jun 2015 10:47:55 -0700] rev 9731
Fixed bug 3009 - Cannot compile SDL2 on Windows

CMakeLists.txt was missing handling for running CMake with -DDIRECTX=0