Wed, 18 Jan 2012 12:17:16 -0500Removed variables that current GCC builds warn on as set and never used. SDL-1.2
Ryan C. Gordon [Wed, 18 Jan 2012 12:17:16 -0500] rev 6227
Removed variables that current GCC builds warn on as set and never used.

Wed, 18 Jan 2012 03:36:47 -0500X11: Remove GLX_BUFFER_SIZE attribute. SDL-1.2
Ryan C. Gordon [Wed, 18 Jan 2012 03:36:47 -0500] rev 6226
X11: Remove GLX_BUFFER_SIZE attribute.

This attribute is ignored if we set GLX_RGBA, which we do.

Wed, 18 Jan 2012 03:03:23 -0500Add dynamic symbol for _XGetRequest, which libX11 1.4.99.1 added. SDL-1.2
Ryan C. Gordon [Wed, 18 Jan 2012 03:03:23 -0500] rev 6225
Add dynamic symbol for _XGetRequest, which libX11 1.4.99.1 added.

Fixes Bugzilla #1376.

Mon, 16 Jan 2012 14:27:47 -0500Quartz: Fix mouse warping freezing for 250+ milliseconds. SDL-1.2
Ryan C. Gordon [Mon, 16 Jan 2012 14:27:47 -0500] rev 6224
Quartz: Fix mouse warping freezing for 250+ milliseconds.

Fixes Bugzilla #1375.

Thanks to Jeremiah Morris for the patch!

Mon, 16 Jan 2012 20:40:10 -0500Added spaces for the include path
Sam Lantinga [Mon, 16 Jan 2012 20:40:10 -0500] rev 6223
Added spaces for the include path

Mon, 16 Jan 2012 19:46:40 -0500Fixed blit mapping problem when surfaces are freed and then newly allocated at the same address.
Sam Lantinga [Mon, 16 Jan 2012 19:46:40 -0500] rev 6222
Fixed blit mapping problem when surfaces are freed and then newly allocated at the same address.

Tim Angus to SDL

void function( SDL_Surface* surface )
{
SDL_Surface* anotherSurface =
SDL_ConvertSurfaceFormat( surface, ... );

// surface->map->dst is now equal to anotherSurface

// Do some stuff with anotherSurface

SDL_FreeSurface( anotherSurface );

// anotherSurface is now a dead pointer,
// but surface->map->dst still points to it
}

int main( )
{
SDL_Surface* surface = CreateAValidSurface( );

function( surface );
}

At this point blit something from surface. SDL_LowerBlit is called, which checks surface->map->dst against the blit destination. If the pointers happen to match (not that unlikely), the map is decided to be valid and bad things happen.

It seems to me like the whole idea of caching the blit mapping is fundamentally flawed in that the source surface has no knowledge of the lifetime of the destination surface.

Mon, 16 Jan 2012 19:21:07 -0500Fixed configure build
Sam Lantinga [Mon, 16 Jan 2012 19:21:07 -0500] rev 6221
Fixed configure build

Sun, 15 Jan 2012 15:48:27 -0500Fixed bug 1371 - DX joystick axis ordering fix
Sam Lantinga [Sun, 15 Jan 2012 15:48:27 -0500] rev 6220
Fixed bug 1371 - DX joystick axis ordering fix

Alex Nankervis 2012-01-15 11:19:45 PST

DirectX joysticks can enumerate their axis out of order. This results in some
joysticks having vertical/horizontal swapped, for example (vertical axis gets
assigned to axis0). Joysticks that I've tested with this problem: XBOX 360
controller, Logitech Extreme 3D Pro.

Attached is a diff that fixes this by sorting the DX joystick objects by their
data offsets into the DX data structs. This puts the joystick objects into a
standard ordering (X axis -> axis0, Y axis -> axis1, and so on).

Sun, 15 Jan 2012 03:34:14 -0500Check for sem_timedwait(), which isn't available on some systems (including OpenBSD
Sam Lantinga [Sun, 15 Jan 2012 03:34:14 -0500] rev 6219
Check for sem_timedwait(), which isn't available on some systems (including OpenBSD

Sun, 15 Jan 2012 03:13:08 -0500Check for sem_timedwait(), which isn't available on some systems (including OpenBSD) SDL-1.2
Sam Lantinga [Sun, 15 Jan 2012 03:13:08 -0500] rev 6218
Check for sem_timedwait(), which isn't available on some systems (including OpenBSD)