Wed, 11 Jul 2012 20:40:02 -0400Patched to compile on Mac OS X with Xcode (Unix configure already worked).
Ryan C. Gordon [Wed, 11 Jul 2012 20:40:02 -0400] rev 6357
Patched to compile on Mac OS X with Xcode (Unix configure already worked).

Wed, 11 Jul 2012 20:20:04 -0400Patched to compile on PowerPC Mac OS X.
Ryan C. Gordon [Wed, 11 Jul 2012 20:20:04 -0400] rev 6356
Patched to compile on PowerPC Mac OS X.

Wed, 11 Jul 2012 08:51:16 -0400Fixed bug 1540: SDL 2.0 won't link on Visual Studio 2012 RC for x64
Sam Lantinga [Wed, 11 Jul 2012 08:51:16 -0400] rev 6355
Fixed bug 1540: SDL 2.0 won't link on Visual Studio 2012 RC for x64

Thanks to Marek Pokorny for tracking this down and providing a fix.

Mon, 09 Jul 2012 18:08:06 -0300Fixes #1422, removes global JNI Env, uses per thread copies, adds thread auto detaching.
Gabriel Jacobo [Mon, 09 Jul 2012 18:08:06 -0300] rev 6354
Fixes #1422, removes global JNI Env, uses per thread copies, adds thread auto detaching.

Sun, 08 Jul 2012 07:20:50 -0400Added OpenBSD "sndio" audio target. SDL-1.2
Ryan C. Gordon [Sun, 08 Jul 2012 07:20:50 -0400] rev 6353
Added OpenBSD "sndio" audio target.

Thanks to Brad Smith and the OpenBSD team for the patch!

Thu, 05 Jul 2012 12:16:44 -0400Removed unneeded audio buffer memset() for consistent behavior on all platforms.
Sam Lantinga [Thu, 05 Jul 2012 12:16:44 -0400] rev 6352
Removed unneeded audio buffer memset() for consistent behavior on all platforms.

Thu, 05 Jul 2012 07:26:18 -0400Marcus von Appen fixed bug 1535: SDL_UpdateWindowRects() SIGSEGV on X11 with out-of-bound rects
Sam Lantinga [Thu, 05 Jul 2012 07:26:18 -0400] rev 6351
Marcus von Appen fixed bug 1535: SDL_UpdateWindowRects() SIGSEGV on X11 with out-of-bound rects

Using SDL_UpdateWindowRects () with SDL_Rect instances, that do not clip
to the bounds of the SDL_Window, causes a BadValue error on X11, if shared
memory is enabled:

X Error of failed request: BadValue (integer parameter out of range for
operation)
Major opcode of failed request: 142 (MIT-SHM)
Minor opcode of failed request: 3 (X_ShmPutImage)
Value in failed request: 0x5
Serial number of failed request: 67
Current serial number in output stream: 70

Attached is a test program to recreate the behaviour along with a simple
patch for SDL_x11framebuffer.c, which reduces the rect area to the window
bounds.

I am not sure, if XPutImage() is more robust here, so I applied it to the
non-shared memory version, too.

Tue, 03 Jul 2012 23:52:02 -0400Patrick Baggett implemented relative mouse mode on Win32
Sam Lantinga [Tue, 03 Jul 2012 23:52:02 -0400] rev 6350
Patrick Baggett implemented relative mouse mode on Win32

Here is my first rough attempt. "testrelative" feels right to me, but I'd like it someone else tested this, especially compared to Linux/OSX. The "Ctrl+r" to switch between relative and normal mouse movements seems to work flawlessly. With relative mouse movement, the only way to change focus is via keyboard. I'm not sure if that is the correct approach, but that would seem to be the most useful mode for games. Still, if my assumption is wrong, I can fix that no problem.

Mon, 02 Jul 2012 08:37:48 -0400Vittorio Giovara fixed bug 1528: move hint registration from SDLUikitAppDelegate
Sam Lantinga [Mon, 02 Jul 2012 08:37:48 -0400] rev 6349
Vittorio Giovara fixed bug 1528: move hint registration from SDLUikitAppDelegate

When subclassing SDLUikitAppDelegate you usually override the -postFinishLaunch
method so that you can (for example) call a different function than SDL_main.

As it is now, however, overriding -postFinishLaunch will bar out the
SDL_SetHint for the idle timer. Attached a simple patch the moves the hint
callback to the -application:didiFinishLaunchingWithOptions:

Mon, 02 Jul 2012 08:33:10 -0400Marcus von Appen fixed bug 1530: X11 touch initialisation does not check its file handles
Sam Lantinga [Mon, 02 Jul 2012 08:33:10 -0400] rev 6348
Marcus von Appen fixed bug 1530: X11 touch initialisation does not check its file handles