Mon, 07 Jul 2014 10:33:32 -0700Fixed bug 2629 - Mac: crash when calling SDL_DestroyWindow with an active OpenGL context
Sam Lantinga <slouken@libsdl.org> [Mon, 07 Jul 2014 10:33:32 -0700] rev 8978
Fixed bug 2629 - Mac: crash when calling SDL_DestroyWindow with an active OpenGL context

Alex Szpakowski

Since this commit https://hg.libsdl.org/SDL/rev/1519c462cee6 , calling SDL_DestroyWindow will crash the program if the window has an active OpenGL context.

This is because the Cocoa_DestroyWindow code sets the window's driverdata to NULL and then calls [context setWindow:NULL], which tries to access the window's driverdata, resulting in a null pointer dereference.

I have attached a patch which fixes the issue by moving the line which sets the driverdata to NULL to after the lines which call functions that use the driverdata pointer.

Sun, 06 Jul 2014 22:15:31 +0100Call dbus_shutdown to make valgrind happy.
Alex Baines <alex@abaines.me.uk> [Sun, 06 Jul 2014 22:15:31 +0100] rev 8977
Call dbus_shutdown to make valgrind happy.

Mon, 07 Jul 2014 10:26:28 -0700Fixed mingw64 build and warnings
Sam Lantinga <slouken@libsdl.org> [Mon, 07 Jul 2014 10:26:28 -0700] rev 8976
Fixed mingw64 build and warnings

Sun, 06 Jul 2014 20:41:39 -0700Fix option for forced run of disabled tests in test harness
Andreas Schiffler <aschiffler@ferzkopp.net> [Sun, 06 Jul 2014 20:41:39 -0700] rev 8975
Fix option for forced run of disabled tests in test harness

Fri, 04 Jul 2014 17:20:22 -0700Fixed haptic refcount bug (thanks David Ludwig!)
Sam Lantinga <slouken@libsdl.org> [Fri, 04 Jul 2014 17:20:22 -0700] rev 8974
Fixed haptic refcount bug (thanks David Ludwig!)

Fri, 04 Jul 2014 18:20:23 -0400Made the latest XInput + Haptic changes compile and run on WinRT
David Ludwig <dludwig@pobox.com> [Fri, 04 Jul 2014 18:20:23 -0400] rev 8973
Made the latest XInput + Haptic changes compile and run on WinRT

Notes:
- Support for the 'Guide' button does not seem to be possible, as
XInputGetStateEx is not available on WinRT.
- Haptic support appears to be working on WinRT now!
- SDL/WinRT does not allow calls to LoadLibrary or LoadLibraryEx. The calls
to those were removed by this change, but only when compiling for WinRT.
Non-WinRT Windows will continue to detect and load XInput via LoadLibrary and
GetProcAddress calls.

Thu, 03 Jul 2014 15:39:55 -0700Split the XInput and DirectInput code so Windows RT can use the existing XInput support.
Sam Lantinga <slouken@libsdl.org> [Thu, 03 Jul 2014 15:39:55 -0700] rev 8972
Split the XInput and DirectInput code so Windows RT can use the existing XInput support.

Thu, 03 Jul 2014 17:36:08 -0300Maybe fixes bug #2291 (red tinted screen on some Samsung Android devices)
Gabriel Jacobo <gabomdq@gmail.com> [Thu, 03 Jul 2014 17:36:08 -0300] rev 8971
Maybe fixes bug #2291 (red tinted screen on some Samsung Android devices)

Then again, maybe not!

Thu, 03 Jul 2014 10:22:26 -0700add a comment to SDL_InitSubSystem explaining its refcounting behavior
Alfred Reynolds <alfred@valvesoftware.com> [Thu, 03 Jul 2014 10:22:26 -0700] rev 8970
add a comment to SDL_InitSubSystem explaining its refcounting behavior

Thu, 03 Jul 2014 10:22:12 -0700The YUV offset is 16 / 255, not 16 / 256
Alfred Reynolds <alfred@valvesoftware.com> [Thu, 03 Jul 2014 10:22:12 -0700] rev 8969
The YUV offset is 16 / 255, not 16 / 256