Sat, 01 Mar 2014 11:05:58 -0800Updated with the latest 2.0.2 API changes
Sam Lantinga <slouken@libsdl.org> [Sat, 01 Mar 2014 11:05:58 -0800] rev 8270
Updated with the latest 2.0.2 API changes

Sat, 01 Mar 2014 09:59:06 -0800Fixed bug 2368 - Security Software is blocking RegisterRawInputDevices()
Sam Lantinga <slouken@libsdl.org> [Sat, 01 Mar 2014 09:59:06 -0800] rev 8269
Fixed bug 2368 - Security Software is blocking RegisterRawInputDevices()

Yamagi

A customer of mine had the strange problem, that SDL_SetRelativeMouseMode() was failing for him on Windows 7. Luckily he was willing to provide some debug informations. We could track this problem down to RegisterRawInputDevices() failing due to security software running on his system (Norton Internet Security to be precise, but there are reports of similar problems with other products. For example [1]). Working around this issue with SDL_WarpMouseInWindow() is easy, and while I don't think that SDL2 can provide an internal workaround it would be really nice and helpfull if this could be documentated somewhere.

1: http://forums.codeguru.com/showthread.php?498374-How-to-run-a-very-long-SQL-statement

Sat, 01 Mar 2014 09:50:52 -0800Fixed bug 2423 - timeBeginPeriod & timeEndPeriod mismatch
Sam Lantinga <slouken@libsdl.org> [Sat, 01 Mar 2014 09:50:52 -0800] rev 8268
Fixed bug 2423 - timeBeginPeriod & timeEndPeriod mismatch

Coriiander

In src\timer\windows\SDL_systimer.c there is an error with regards to timeBeginPeriod and timeEndPeriod. These functions typically get called when no high resolution timer is available, and GetTickCount is not used.

According to MSDN (link: http://msdn.microsoft.com/en-us/library/windows/desktop/dd757624(v=vs.85).aspx), for every call to timeBeginPeriod a subsequent call to timeEndPeriod is required. While SDL is currently doing this, it fails to call timeEndPeriod when cleaning up/shutting down SDL. Please note that these functions affect things on a system level. Failing to call timeEndPeriod, disables applications for using WINMM-timers after usage&shutdown of SDL, as effectively they the mechanism is now broken.

Solution:
Ensure this code gets called when shutting down the timer subsystem:

#ifndef USE_GETTICKCOUNT
if (!hires_timer_available)
{
timeSetPeriod(0);
}
#endif

Fri, 28 Feb 2014 16:24:41 -0800Null termnate the pUserMappings variable to prevent memory corruption.
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Feb 2014 16:24:41 -0800] rev 8267
Null termnate the pUserMappings variable to prevent memory corruption.

Fri, 28 Feb 2014 14:23:41 -0800Added a hint to enable the screensaver by default
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Feb 2014 14:23:41 -0800] rev 8266
Added a hint to enable the screensaver by default

Thu, 27 Feb 2014 22:06:41 -0500Disable the screensaver by default.
Ryan C. Gordon <icculus@icculus.org> [Thu, 27 Feb 2014 22:06:41 -0500] rev 8265
Disable the screensaver by default.

Fixes Bugzilla #2218.

Thu, 27 Feb 2014 20:21:46 -0300Improve window recreation logic in OpenGL* renderers
Gabriel Jacobo <gabomdq@gmail.com> [Thu, 27 Feb 2014 20:21:46 -0300] rev 8264
Improve window recreation logic in OpenGL* renderers

Wed, 26 Feb 2014 16:27:03 -0800Mac: Forgot return value in last commit.
Jørgen P. Tjernø <jorgen@valvesoftware.com> [Wed, 26 Feb 2014 16:27:03 -0800] rev 8263
Mac: Forgot return value in last commit.

Wed, 26 Feb 2014 16:10:52 -0800Mac: Don't disassociate cursor if window is moving / doesn't have focus.
Jørgen P. Tjernø <jorgen@valvesoftware.com> [Wed, 26 Feb 2014 16:10:52 -0800] rev 8262
Mac: Don't disassociate cursor if window is moving / doesn't have focus.

Bug: https://bugzilla.libsdl.org/show_bug.cgi?id=2396

Wed, 26 Feb 2014 11:35:02 -0800Mac: Redo cursor warp handling.
Jørgen P. Tjernø <jorgen@valvesoftware.com> [Wed, 26 Feb 2014 11:35:02 -0800] rev 8261
Mac: Redo cursor warp handling.

This fixes bugs related to getting unnaturally large xrel/yrel for
SDL_MOUSEMOTION after warps and enabling / disabling relative mode.

Bug: https://bugzilla.libsdl.org/show_bug.cgi?id=1836