Wed, 16 Feb 2011 04:51:13 -0800Fixed bug #1121 (More than one device through SDL_JOYSTICK_DEVICE)
Sam Lantinga <slouken@libsdl.org> [Wed, 16 Feb 2011 04:51:13 -0800] rev 5317
Fixed bug #1121 (More than one device through SDL_JOYSTICK_DEVICE)

Chusslove Illich 2011-02-13 04:30:28 PST

Currently SDL_JOYSTICK_DEVICE environment variable can be used to add
exactly one topmost device. I think it would be nice if one could also set
several devices (e.g. a stick and a throttle) in this way, as a colon-
separated list. The attached patch implements this

Wed, 16 Feb 2011 04:49:07 -0800Fixed bug #1121 (More than one device through SDL_JOYSTICK_DEVICE) SDL-1.2
Sam Lantinga <slouken@libsdl.org> [Wed, 16 Feb 2011 04:49:07 -0800] rev 5316
Fixed bug #1121 (More than one device through SDL_JOYSTICK_DEVICE)

Chusslove Illich 2011-02-13 04:30:28 PST

Currently SDL_JOYSTICK_DEVICE environment variable can be used to add
exactly one topmost device. I think it would be nice if one could also set
several devices (e.g. a stick and a throttle) in this way, as a colon-
separated list. The attached patch implements this

Wed, 16 Feb 2011 04:08:28 -0800Fixed bug #1085 (Jump to NULL function pointer on ALSA_OpenDevice)
Sam Lantinga <slouken@libsdl.org> [Wed, 16 Feb 2011 04:08:28 -0800] rev 5315
Fixed bug #1085 (Jump to NULL function pointer on ALSA_OpenDevice)

Bruno 2010-12-16 02:41:51 PST

Fix segfault in ALSA_OpenDevice()

When alsa is linked to libsdl instead of being loaded on demand at runtime the
alsa macro snd_pcm_hw_params_alloca(ptr); misbehaves.

That macro calls snd_pcm_hw_params_sizeof() in order to determine the amount of
memory to allocate but due to mis-placed define that function is replaced with
ALSA_snd_pcm_hw_params_sizeof by preprocessor (and in case of link to alsa that
function pointer is initialized to itself).

Attached patch fixes the issue.

Wed, 16 Feb 2011 03:59:39 -0800Fixed bug #1064 (configure still has --enable-stdio-redirect option)
Sam Lantinga <slouken@libsdl.org> [Wed, 16 Feb 2011 03:59:39 -0800] rev 5314
Fixed bug #1064 (configure still has --enable-stdio-redirect option)

Wed, 16 Feb 2011 02:57:00 -0800Setup the screensaver in the OpenGL case as well.
Sam Lantinga <slouken@libsdl.org> [Wed, 16 Feb 2011 02:57:00 -0800] rev 5313
Setup the screensaver in the OpenGL case as well.

Wed, 16 Feb 2011 02:55:46 -0800Fixed bug #963 (Crash with OpenGL & window resizing)
Sam Lantinga <slouken@libsdl.org> [Wed, 16 Feb 2011 02:55:46 -0800] rev 5312
Fixed bug #963 (Crash with OpenGL & window resizing)

The crash was already fixed, but the window doesn't need to be recreated if you're just changing the size of the OpenGL window.

Wed, 16 Feb 2011 02:55:32 -0800Building SDL_revision.h is a dependency of installing the headers. :)
Sam Lantinga <slouken@libsdl.org> [Wed, 16 Feb 2011 02:55:32 -0800] rev 5311
Building SDL_revision.h is a dependency of installing the headers. :)

Wed, 16 Feb 2011 02:37:09 -0800Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org> [Wed, 16 Feb 2011 02:37:09 -0800] rev 5310
Made it possible to build SDL from a fresh checkout without any additional steps.

The trick is that if you're using configure and you don't want to have SDL_config.h and SDL_revision.h to show up as modified, you need to configure and build from a separate directory.

You also need to include SDL_revision.h directly if you want to use the SDL_REVISION constant, as a side effect of these changes.

Wed, 16 Feb 2011 01:40:44 -0800Needed to allocate memory for the shadow surface if we needed to create one.
Sam Lantinga <slouken@libsdl.org> [Wed, 16 Feb 2011 01:40:44 -0800] rev 5309
Needed to allocate memory for the shadow surface if we needed to create one.

Wed, 16 Feb 2011 01:26:39 -0800Okay, _now_ SDL_WM_ToggleFullScreen() works on all platforms. :)
Sam Lantinga <slouken@libsdl.org> [Wed, 16 Feb 2011 01:26:39 -0800] rev 5308
Okay, _now_ SDL_WM_ToggleFullScreen() works on all platforms. :)