Mon, 23 Mar 2009 05:37:45 +0000Date: Thu, 05 Feb 2009 17:27:54 +0100
Sam Lantinga [Mon, 23 Mar 2009 05:37:45 +0000] rev 3098
Date: Thu, 05 Feb 2009 17:27:54 +0100
From: Stefan Klug
Subject: [SDL] SDL_SetVideoMode compatibility fix

SDL_SetVideoMode(0,0,0,flags) used to be valid in SDL 1.2
Attached is a patch to replicate this behaviour in SDL 1.3

Cheers Stefan

Mon, 23 Mar 2009 05:35:21 +0000Date: Thu, 05 Feb 2009 18:07:35 +0100
Sam Lantinga [Mon, 23 Mar 2009 05:35:21 +0000] rev 3097
Date: Thu, 05 Feb 2009 18:07:35 +0100
From: Stefan Klug
Subject: [SDL] SDL 1.3 WinCE backend

as promised, I've started to work on the WinCE backend of SDL 1.3
I've modified the win32 video backend and the gdi renderer, to work
properly in WinCE.
The results till now are great, but there is still some work to do.

Attached are two patches with my changes.
I would be happy if someone could review and propably commit them.

The first one ( should be straight forward without
any side effects.

The second one does the necessary changes to the win32 backend. I was
really unhappy to start slicing this shiny new backend with
#ifdef/#endif but I saw no other option.

The most problematic issues are:
- WinCe has no GetDIBits, so its practically impossible to fill a
BITMAPINFO with correct values. I therefore removed the bmi member from
the GDI_RenderData in SDL_gdirender.c to prevent usage of a not or not
properly initialized bmi.
- In SDL_win32window.c I exchanged some ASCII function by their general
counterparts, (In CE only the Unicode versions are available). I don't
know if this has a negative effect when running in win32


Mon, 23 Mar 2009 05:21:40 +0000Date: Tue, 17 Feb 2009 14:00:25 +0100
Sam Lantinga [Mon, 23 Mar 2009 05:21:40 +0000] rev 3096
Date: Tue, 17 Feb 2009 14:00:25 +0100
From: Stefan Klug
Subject: [SDL] Possible bug, paused audio playing garbage

On my WinCE device a paused audio device plays random garbage.
This might also be the issue in the thread "sound cracks with SDL_mixer

I don't have that much knowledge of the SDL audio part, but the attached
patch fixes it for me, and collapses two redundant ifs.

I'm not sure if this is the correct way to fix this.
Shouldn't the complete stream conversion part of the RunAudio loop be
dependent on the paused property of the device? (not only the call to
(*fill)(udata, istream, istream_len).

Anyways. Would be great if the patch or a fix could find its way to SVN ;-)


Mon, 23 Mar 2009 02:02:30 +0000Date: Sat, 21 Mar 2009 19:41:52 -0700 (PDT)
Sam Lantinga [Mon, 23 Mar 2009 02:02:30 +0000] rev 3095
Date: Sat, 21 Mar 2009 19:41:52 -0700 (PDT)
From: Mason Wheeler
Subject: [SDL] Critical SDL 1.3 patch

Displaying a window created with SDL_CreateWindowFrom was causing stack overf
lows for me under certain conditions. After far too much work trying to get
Visual Studio's debugger to play nice with a program written in Delphi, I tra
cked it down to a nasty reentrancy cycle in the WndProc handling. Here's a p
atch that fixes the problem

Sun, 22 Mar 2009 06:56:37 +0000Fixed potential crash in testbitmap
Sam Lantinga [Sun, 22 Mar 2009 06:56:37 +0000] rev 3094
Fixed potential crash in testbitmap

Tue, 17 Mar 2009 03:56:21 +0000Fixed iPhone demos
Sam Lantinga [Tue, 17 Mar 2009 03:56:21 +0000] rev 3093
Fixed iPhone demos

Tue, 17 Mar 2009 03:24:22 +0000Date: Thu, 12 Mar 2009 15:14:38 +0200
Sam Lantinga [Tue, 17 Mar 2009 03:24:22 +0000] rev 3092
Date: Thu, 12 Mar 2009 15:14:38 +0200
From: "Mike Gorchak"
Subject: New QNX patches

In photon.tar.gz there are new files to be placed into ./src/video/photon/

qnx3.diff - new patches for QNX support. Since I've found a lot of bugs in
the new GF QNX Graphics Framework and I'm suspended development for GF
driver until already found bugs will be fixed and switched to Photon driver

sdl.diff - I've found that renderer creation result has not been checked and
SDL shows error like: "there is no current renderer", now SDL will show
correct error which was set be renderer.

Sun, 15 Mar 2009 15:50:18 +0000Fixed return value for SDL_CreateRenderer()
Sam Lantinga [Sun, 15 Mar 2009 15:50:18 +0000] rev 3091
Fixed return value for SDL_CreateRenderer()

Thu, 12 Mar 2009 03:51:39 +0000Fixed OpenGL library linking issue
Sam Lantinga [Thu, 12 Mar 2009 03:51:39 +0000] rev 3090
Fixed OpenGL library linking issue

Fri, 06 Mar 2009 05:53:33 +0000Fixed potential double-free crash
Sam Lantinga [Fri, 06 Mar 2009 05:53:33 +0000] rev 3089
Fixed potential double-free crash