Sat, 12 Feb 2005 19:39:08 +0000Date: Tue, 01 Feb 2005 17:53:07 -0800
Sam Lantinga [Sat, 12 Feb 2005 19:39:08 +0000] rev 1037
Date: Tue, 01 Feb 2005 17:53:07 -0800
From: Bill May
Subject: [SDL] Diffs for dsp audio in case of failures.

The rewrite recently done for 1.2.8 forgot to handle error cases
by closing the audio.

Here is a patch that does.

Sat, 12 Feb 2005 18:03:54 +0000[SDL] [PATCH] fix FB_VideoQuit for ia64
Sam Lantinga [Sat, 12 Feb 2005 18:03:54 +0000] rev 1036
[SDL] [PATCH] fix FB_VideoQuit for ia64
Jesse Barnes
Fri Jan 14 11:13:54 PST 2005

I noticed that on my ia64 machine when SDL_Quit was called, the machine would
hang in weird ways. It turned out to be caused by a machine check in the
memset() call near the top of FB_VideoQuit. Generally memset shouldn't be
used on I/O regions like the framebuffer or other I/O device memory (the
Linux kernel has special routines for dealing with I/O memory), so I changed
the #ifdef __powerpc__ to #if defined(__powerpc__) || defined(__ia64__) and
SDL_Quit now works properly. The change should probably be made
unconditional though since doing one byte at a time is the only way to be
portable, afaik.

Sat, 12 Feb 2005 18:01:31 +0000Date: Wed, 26 Jan 2005 13:37:09 GMT
Sam Lantinga [Sat, 12 Feb 2005 18:01:31 +0000] rev 1035
Date: Wed, 26 Jan 2005 13:37:09 GMT
From: Peter Naulls
Subject: RISC OS SDL Patches

Sam, I've attached a diff of the latest changes to libSDL for RISC OS
support. These changes are by Alan Buckley and myself.

The most significant of these are:

Optimised assembler blit rountines - I've attached the file
src/video/riscos/SDL_riscosASM.s which is needed for this.

Move to using /dev/dsp instead of its own audio implementation.
This means that src/audio/riscos/SDL_drenderer.c should be removed

Typo fixes. Mainly correct spelling of "RISC OS", but some from elsewhere
too.

Sat, 29 Jan 2005 09:58:40 +0000clear convert.buf before filling it
Patrice Mandin [Sat, 29 Jan 2005 09:58:40 +0000] rev 1034
clear convert.buf before filling it

Tue, 25 Jan 2005 17:58:44 +0000The fix is going back in. :)
Sam Lantinga [Tue, 25 Jan 2005 17:58:44 +0000] rev 1033
The fix is going back in. :)

Tue, 25 Jan 2005 16:57:11 +0000Date: Mon, 24 Jan 2005 21:37:56 +0800
Sam Lantinga [Tue, 25 Jan 2005 16:57:11 +0000] rev 1032
Date: Mon, 24 Jan 2005 21:37:56 +0800
From: Chris Taylor
Subject: Patch to put back dynamic OpenGL loading for MPW

I sent a patch a while ago that removes dynamic OpenGL loading for
Macintosh Programmer's Workshop. Dynamic loading DOES actually work
when an SDL program is built with MPW, it just has to be set up for it.
(Whoops!!) This is the ideal way to get OpenGL extensions to work,
which D2X uses quite a few of.

This patch puts dynamic loading back in SDL for Mac OS 9. It applies to
current CVS. I noticed that two members need to be set when
DrawSprocket is used.

Tue, 18 Jan 2005 18:40:48 +0000Date: Sun, 16 Jan 2005 19:20:15 +0100
Sam Lantinga [Tue, 18 Jan 2005 18:40:48 +0000] rev 1031
Date: Sun, 16 Jan 2005 19:20:15 +0100
From: Stephane Marchesin
To: Kirill Ponomarew
Subject: [SDL] Problem on x86_64 with latest CVS (Re: sdl12 with gcc-2.95)

>-I../../src -I../../src/main/freebsd -I../../src/audio
>-I../../src/video -I../../src/video/XFree86/extensions
>-I../../src/events -I../../src/joystick -I../../src/cdrom
>-I../../src/thread -I../../src/timer -I../../src/endian
>-I../../src/file -I../../src/thread -MT SDL_endian.lo -MD -MP -MF
>.deps/SDL_endian.Tpo -c SDL_endian.c -fPIC -DPIC -o
>.libs/SDL_endian.o
>{standard input}: Assembler messages:
>{standard input}:144: Error: suffix or operands invalid for `xchg'
>*** Error code 1
>
That's a totally different problem. This was introduced in CVS 4 days ago :
http://www.libsdl.org/cgi/cvsweb.cgi/SDL12/include/SDL_endian.h.diff?r1=1.11\
&r2=1.12

Just revert this patch.

Tue, 18 Jan 2005 18:32:10 +0000Date: Sat, 15 Jan 2005 15:06:01 -0600
Sam Lantinga [Tue, 18 Jan 2005 18:32:10 +0000] rev 1030
Date: Sat, 15 Jan 2005 15:06:01 -0600
From: Tyler Montbriand
Subject: [SDL] minor bugfix for test/testoverlay2.c

Programs that use malloc ought to #include <stdlib.h> . On 32-bit systems you
can get away with not including it, but on 64-bit systems it will assume
malloc() returns a 32-bit integer and butcher the 64-bit pointers it returns.

Mon, 17 Jan 2005 19:38:28 +0000Date: Mon, 17 Jan 2005 20:54:50 +0200
Ryan C. Gordon [Mon, 17 Jan 2005 19:38:28 +0000] rev 1029
Date: Mon, 17 Jan 2005 20:54:50 +0200
From: Ville [snip]
Subject: [PATCH] SDL/DirectFB: remove Matrox CRTC2 flicker filter

Hi,

This patch removes the flicker filter option from the DirectFB backend's
Matrox CRTC2 code in SDL. I will be removing the option from DirectFB
(because it doesn't actually work) and that would cause the SDL code to
fail without this fix.

I was going to send this to some SDL list directly but libsdl.org is down
so I'm not sure what if any lists there are. Thomas Jarosch (the guy who
wrote the code) said you would accept SDL patches. Let me know if I should
send this somewhere else.

-- Ville Syrj�l� syrjala _at sci.fi http://www.sci.fi/~syrjala/

Thu, 13 Jan 2005 23:24:56 +0000Fix various problems with the timer code.
Sam Lantinga [Thu, 13 Jan 2005 23:24:56 +0000] rev 1028
Fix various problems with the timer code.
* SDL_timer_running wasn't always updated correctly.
* Fixed occasional crash in SDL_SetTimer() when clearing threaded timers
* It was possible to get both the timer thread and event thread running
* Other misc. cleanup