Sun, 04 Jan 2004 15:48:44 +0000Date: Wed, 26 Nov 2003 01:52:02 +0800
Sam Lantinga <slouken@libsdl.org> [Sun, 04 Jan 2004 15:48:44 +0000] rev 766
Date: Wed, 26 Nov 2003 01:52:02 +0800
From: "Andy Pfiffer"
Subject: [SDL] patch: PocketPC 2000 diffs for release_1_2_6

I was making a backup of my current workspace of SDL for PocketPC,
and thought I would send out my diffs.

Apologies in advance if the patch has become whitespace mangled.

These diffs are relative to CVS tag release_1_2_6, and contain (I think)
all changes that have been mentioned on the mailing list in the last
few months.

I only have PocketPC 2000 & an ARM-based device (iPaq 3635), and I
only use Embedded Visual Tools 3.0, so I can't say for sure if it
breaks other PocketPC 200[023] builds.

Sun, 04 Jan 2004 15:40:50 +0000Editors Note: The original patch was modified to use SDL_Delay() instead of
Sam Lantinga <slouken@libsdl.org> [Sun, 04 Jan 2004 15:40:50 +0000] rev 765
Editors Note: The original patch was modified to use SDL_Delay() instead of
nanosleep because nanosleep may not be portable to all systems
using SDL with the ALSA backend. This may be a moot point with
the switch to blocking writes anyway...

Date: Sat, 27 Dec 2003 21:47:36 +0100
From: Michel Daenzer
To: Debian Bug Tracking System
Subject: [SDL] Bug#225252: [PATCH] ALSA fixes

Package: libsdl1.2debian-all
Version: 1.2.6-2
Severity: normal
Tags: patch

For SDL 1.2.6, the ALSA backend was changed to call snd_pcm_open() with
SND_PCM_NONBLOCK. That's a good idea per se, however, it causes high CPU
usage, interrupted sound and stuttering in some games here. Taking a nanosleep
whenever snd_pcm_writei() returns -EAGAIN fixes this, but I think it's more
efficient to use blocking mode for the actual sound playback. Feedback from the
SDL and ALSA lists appreciated.

The patch also fixes the default ALSA device to be used.

Sun, 04 Jan 2004 15:18:08 +0000Added function to create RWops from const memory: SDL_RWFromConstMem()
Sam Lantinga <slouken@libsdl.org> [Sun, 04 Jan 2004 15:18:08 +0000] rev 764
Added function to create RWops from const memory: SDL_RWFromConstMem()

Sun, 04 Jan 2004 15:11:35 +0000Updated for new APIs
Sam Lantinga <slouken@libsdl.org> [Sun, 04 Jan 2004 15:11:35 +0000] rev 763
Updated for new APIs

Sun, 04 Jan 2004 14:56:35 +0000*** empty log message ***
Sam Lantinga <slouken@libsdl.org> [Sun, 04 Jan 2004 14:56:35 +0000] rev 762
*** empty log message ***

Sun, 04 Jan 2004 14:55:35 +0000Date: Wed, 31 Dec 2003 21:55:30 +0100
Sam Lantinga <slouken@libsdl.org> [Sun, 04 Jan 2004 14:55:35 +0000] rev 761
Date: Wed, 31 Dec 2003 21:55:30 +0100
From: Max Horn
Subject: SDL: video/quartz cleanup

while doing some experimental changes in the quartz code, I was annoyed
by having to recompile that one big .o file over and over again. So I
decided to finally realize one TODO: properly splitting the code over
multiple files :-).

With two exceptions, I didn't make code changes, only rearranged files
and added new headers. Since there are several new files, making a
patch didn't work out so well, so I decided to just send you all the
new & modified files.

The one source change I made is related to showing/hiding the mouse. I
renamed cursor_visible to cursor_should_be_visible and cursor_hidden to
cursor_visible; I think that makes reading the code easier.
Then I added two new functions: QZ_ShowMouse and QZ_HideMouse. They
help manage cursor_visible (the former 'cursor_hidden'). Finally I
replaced the Carbon ShowCursor/HiderCuror calls by [NSCursor hide] and
[NSCursor unhide]. The API docs are not conclusive, but it might be
that with those the "cursor_visible" (former 'cursor_hidden') hack may
not be necessary anymore; however so far I didn't test this hypothesis,
so I left that in.

The other change was to remove in_foreground and use [NSApp isActive]
instead: Manually keeping track of whether we are in the foreground is
error prone. This should work better in some corner cases.

Wed, 31 Dec 2003 04:48:38 +0000Oops, we only want to fail creation if the display surface is an OpenGL surface.
Sam Lantinga <slouken@libsdl.org> [Wed, 31 Dec 2003 04:48:38 +0000] rev 760
Oops, we only want to fail creation if the display surface is an OpenGL surface.

Mon, 22 Dec 2003 01:21:20 +0000From: Thomas Jarosch
Ryan C. Gordon <icculus@icculus.org> [Mon, 22 Dec 2003 01:21:20 +0000] rev 759
From: Thomas Jarosch
To: Ryan C. Gordon
Subject: SDL: DirectFB videodriver segfault
Date: Sun, 21 Dec 2003 20:40:14 +0100

Hi Ryan,

attached is a patch to fix a segfault in DirectFB_VideoQuit.
When SetVideoMode never gets called (f.e. wrong command line arguments
for "testsprite"), this->screen->hwdata is NULL.

Cheers,
Thomas

Thu, 18 Dec 2003 05:01:47 +0000Date: Wed, 17 Dec 2003 18:07:29 -0800 PST
Sam Lantinga <slouken@libsdl.org> [Thu, 18 Dec 2003 05:01:47 +0000] rev 758
Date: Wed, 17 Dec 2003 18:07:29 -0800 PST
From: "Andrew Bachmann"
Subject: recent build changes

To ensure that I submitted all the changes to you I attempt to rebuild SDL from a clean cvs checkout. Unfortunately it failed with this error:

/boot/develop/libsdl/SDL12/src/audio/baudio/SDL_beaudio.cc:35: SDL_BeApp.h: No such file or directory

Tue, 16 Dec 2003 13:16:50 +0000Date: Sun, 14 Dec 2003 15:16:12 +0100
Sam Lantinga <slouken@libsdl.org> [Tue, 16 Dec 2003 13:16:50 +0000] rev 757
Date: Sun, 14 Dec 2003 15:16:12 +0100
From: Stephane Marchesin
Subject: Re: [SDL] compile problem with sdl <-> alsa

The attathced patch does the trick (although there will have to be code
changes when the alsa 0.9 api get deprecated).

On a side-note, the good news is that using alsa 1.0.0rc1 solves the
previous issues I had with my ac97 via sound chipset.