Sat, 29 Dec 2007 06:21:47 +0000Updated patch notes for 1.2.13 SDL-1.2
Sam Lantinga [Sat, 29 Dec 2007 06:21:47 +0000] rev 4115
Updated patch notes for 1.2.13

Sat, 29 Dec 2007 06:16:35 +0000Fixed bug #497 SDL-1.2
Sam Lantinga [Sat, 29 Dec 2007 06:16:35 +0000] rev 4114
Fixed bug #497
Check all joysticks instead of stopping if one has been removed.

Sat, 29 Dec 2007 06:08:17 +0000Fixed bug #464 SDL-1.2
Sam Lantinga [Sat, 29 Dec 2007 06:08:17 +0000] rev 4113
Fixed bug #464
Added X1/X2 button constants

Sat, 29 Dec 2007 06:06:03 +0000Improved detection of mprotect() SDL-1.2
Sam Lantinga [Sat, 29 Dec 2007 06:06:03 +0000] rev 4112
Improved detection of mprotect()

Sat, 29 Dec 2007 05:30:20 +0000Updated version to 1.2.13 SDL-1.2
Sam Lantinga [Sat, 29 Dec 2007 05:30:20 +0000] rev 4111
Updated version to 1.2.13

Sat, 29 Dec 2007 05:20:51 +0000Updated version to 1.2.13 SDL-1.2
Sam Lantinga [Sat, 29 Dec 2007 05:20:51 +0000] rev 4110
Updated version to 1.2.13

Sat, 29 Dec 2007 05:18:33 +0000Made the mprotect() fix for SDL_SoftStretch() more general for hardened linux, etc. SDL-1.2
Sam Lantinga [Sat, 29 Dec 2007 05:18:33 +0000] rev 4109
Made the mprotect() fix for SDL_SoftStretch() more general for hardened linux, etc.

Sat, 29 Dec 2007 03:50:29 +0000Fixed bug #528 SDL-1.2
Sam Lantinga [Sat, 29 Dec 2007 03:50:29 +0000] rev 4108
Fixed bug #528
OpenBSD (and possibly others) do not have executable memory by default,
so use mprotect() to allow execution of dynamic assembly block.

Sat, 29 Dec 2007 02:34:53 +0000Erik Heckers fixed bug #493 SDL-1.2
Sam Lantinga [Sat, 29 Dec 2007 02:34:53 +0000] rev 4107
Erik Heckers fixed bug #493

Searching the installed man pages for SDL functions fails, e.g.
man -k SDL_ |grep Video
After investigating this I found that "makewhatis", the tool that generates
the "whatis" database, reads the SDL_* man pages, but doesn't produce
entries in the "whatis" database for the SDL_* man pages.
After some more debugging I found the reason is a missing space.
After editing SDL_Init.3(.gz) and replacing
SDL_Init\- Initializes SDL
with
SDL_Init \- Initializes SDL
everything works fine.
After running "makewhatis" I can successfully do a
man -k SDL_
and SDL_Init is listed in the output.

Sat, 29 Dec 2007 02:23:48 +0000Hans de Goede fixed bug #495 SDL-1.2
Sam Lantinga [Sat, 29 Dec 2007 02:23:48 +0000] rev 4106
Hans de Goede fixed bug #495

When running boswars: http://www.boswars.org/ on a machine with intel
integrathed graphics it crashes when it tries to play the initial theora
splashscreen video:
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 140 (XVideo)
Minor opcode of failed request: 19 ()
Serial number of failed request: 25
Current serial number in output stream: 26
boswars: xcb_xlib.c:41: xcb_xlib_lock: Assertion `!c->xlib.lock' failed.
Aborted

I recognized this problem from a few years back, when I encountered it while
working on the Xv blitter for xmame. The problem is that for some reason
creation the Xvport and XvImage succeeds, and failure (lack of resources / hw
capability?) is only indicated during the first XvPut[Shm]Image. I've written a
patch for SDL using the work around for this I developed for xmame (and which
is still used successfully in xmame after many years of usage).

I'll admit it isn't very pretty, but after investigating several possibilities
this was the best option, any other fixes would need changes to the SDL api and
abi.