Sam Lantinga <slouken@libsdl.org> [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.
Gabriel Jacobo <gabomdq@gmail.com> [Mon, 09 Jul 2012 18:08:06 -0300] rev 6354
Fixes #1422, removes global JNI Env, uses per thread copies, adds thread auto detaching.
Ryan C. Gordon <icculus@icculus.org> [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!
Sam Lantinga <slouken@libsdl.org> [Thu, 05 Jul 2012 12:16:44 -0400] rev 6352
Removed unneeded audio buffer memset() for consistent behavior on all platforms.
Sam Lantinga <slouken@libsdl.org> [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.
Sam Lantinga <slouken@libsdl.org> [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.
Sam Lantinga <slouken@libsdl.org> [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:
Sam Lantinga <slouken@libsdl.org> [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
Sam Lantinga <slouken@libsdl.org> [Mon, 02 Jul 2012 08:29:57 -0400] rev 6347
Marcus von Appen fixed bug 1529: CDROM detection misbehaviour for FreeBSD 7.x and newer
FreeBSD's device naming changed in several ways since FreeBSD 6.x. The attached
patch fixes the device naming scheme for FreeBSD 7 and newer (the currently
supported upstream version of FreeBSD).
Sam Lantinga <slouken@libsdl.org> [Mon, 25 Jun 2012 11:10:34 -0400] rev 6346
Disable the SDL event pump after the SDL main routine returns, since events will be dispatched by the Cocoa event loop.