Sun, 18 Oct 2009 23:18:28 +0000There's a bug with gcc 4.4.1 and -O2 where srcp doesn't get the correct value after the first scanline. Ugh. SDL-1.2
Sam Lantinga [Sun, 18 Oct 2009 23:18:28 +0000] rev 4356
There's a bug with gcc 4.4.1 and -O2 where srcp doesn't get the correct value after the first scanline. Ugh.

Sun, 18 Oct 2009 17:31:37 +0000Fixed bug #855 SDL-1.2
Sam Lantinga [Sun, 18 Oct 2009 17:31:37 +0000] rev 4355
Fixed bug #855

Ludwig Nussel 2009-10-18 06:31:52 PDT

an mprotect call was added to fix bug 528. However that results in a buffer
that allows writing and code execution. Ie the no-execute security features of
modern operating systems are defeated this way. Two mprotect calls are needed.
One to make the buffer executable but not writeable when done and another one
to make the buffer writeable again if the content needs to be changed.

Sun, 18 Oct 2009 16:23:12 +0000Use MacOS line endings for Mac resource files SDL-1.2
Sam Lantinga [Sun, 18 Oct 2009 16:23:12 +0000] rev 4354
Use MacOS line endings for Mac resource files

Sun, 18 Oct 2009 16:17:13 +0000Use MacOS line endings for SDL.x SDL-1.2
Sam Lantinga [Sun, 18 Oct 2009 16:17:13 +0000] rev 4353
Use MacOS line endings for SDL.x

Sun, 18 Oct 2009 16:14:57 +0000Fixed bug #853 SDL-1.2
Sam Lantinga [Sun, 18 Oct 2009 16:14:57 +0000] rev 4352
Fixed bug #853

Ludwig Nussel 2009-10-18 05:34:18 PDT

src/joystick/linux/SDL_sysjoystick.c has some problems:

- test_bit() might break with strict aliasing
- test_bit() assumes array is Uint32 but its actually "unsigned long"
on 64bit systems sizeof(long) != sizeof(Uint32).
- the keybit array is too small
- the arrays are unitialized so the number of
detected buttons is quite random

Sat, 17 Oct 2009 17:35:48 +0000We no longer have a DirectInput link requirement SDL-1.2
Sam Lantinga [Sat, 17 Oct 2009 17:35:48 +0000] rev 4351
We no longer have a DirectInput link requirement

Sat, 17 Oct 2009 16:49:23 +0000Fixed bug #849 SDL-1.2
Sam Lantinga [Sat, 17 Oct 2009 16:49:23 +0000] rev 4350
Fixed bug #849

This was a silly bug. :)

Sat, 17 Oct 2009 07:05:33 +0000Don't need the define anymore... SDL-1.2
Sam Lantinga [Sat, 17 Oct 2009 07:05:33 +0000] rev 4349
Don't need the define anymore...

Sat, 17 Oct 2009 07:04:58 +0000Enable the ALSA debug code via environment variable SDL-1.2
Sam Lantinga [Sat, 17 Oct 2009 07:04:58 +0000] rev 4348
Enable the ALSA debug code via environment variable

Sat, 17 Oct 2009 06:55:17 +0000Option to fix bug #851 SDL-1.2
Sam Lantinga [Sat, 17 Oct 2009 06:55:17 +0000] rev 4347
Option to fix bug #851

For some people setting the period size works better (and is what SDL 1.2.13 did), but for most people it's the same or worse. You can use an environment variable to pick which one you want.