Thu, 26 Jan 2006 06:10:34 +0000Some explanation on why SDL_RWFromFP doesn't always work on Win32
Sam Lantinga [Thu, 26 Jan 2006 06:10:34 +0000] rev 1269
Some explanation on why SDL_RWFromFP doesn't always work on Win32

Thu, 26 Jan 2006 06:06:56 +0000Use Win32 API for putenv/getenv to avoid C runtime conflicts
Sam Lantinga [Thu, 26 Jan 2006 06:06:56 +0000] rev 1268
Use Win32 API for putenv/getenv to avoid C runtime conflicts

Wed, 25 Jan 2006 20:36:21 +0000Correctly manage mouse relative motion
Patrice Mandin [Wed, 25 Jan 2006 20:36:21 +0000] rev 1267
Correctly manage mouse relative motion

Wed, 25 Jan 2006 18:11:56 +0000SDL_GetVideoMode, part 3: pixel count compare was failing when only 1 video mode was present
Patrice Mandin [Wed, 25 Jan 2006 18:11:56 +0000] rev 1266
SDL_GetVideoMode, part 3: pixel count compare was failing when only 1 video mode was present

Wed, 25 Jan 2006 07:04:02 +0000Date: Mon, 22 Sep 2003 23:31:54 -0700 (PDT)
Sam Lantinga [Wed, 25 Jan 2006 07:04:02 +0000] rev 1265
Date: Mon, 22 Sep 2003 23:31:54 -0700 (PDT)
From: Rob Neff
Subject: [SDL] testgl.c minor bug fix for fullscreen mode

from:

if ( strcmp(argv[1], "-fullscreen") == 0 ) {

to:

if ( strcmp(argv[i], "-fullscreen") == 0 ) {


Minor bug, but might help someone else out who is trying to pass
the command-line params -logo -fullscreen like I was! :)

Wed, 25 Jan 2006 07:00:40 +0000Date: Sun, 21 Sep 2003 19:52:42 -0600
Sam Lantinga [Wed, 25 Jan 2006 07:00:40 +0000] rev 1264
Date: Sun, 21 Sep 2003 19:52:42 -0600
From: Tyler Montbriand <tsm@accesscomm.ca>
Subject: Re: [SDL] Hardware buttons on pocket pc

I found it! :)

It has to do with the UNICODE translation code, in SDL_dibevents.c, in the
'#ifdef NO_GETKEYBOARDSTATE' block in DIB_HandleMessage(). The error
handling is a little... aggressive. If it can't translate from unicode, it
wipes out the virtual keycode.

Wed, 25 Jan 2006 06:53:50 +0000*** empty log message ***
Sam Lantinga [Wed, 25 Jan 2006 06:53:50 +0000] rev 1263
*** empty log message ***

Wed, 25 Jan 2006 06:12:57 +0000Hopefully the X servers have been fixed (in 5 years) :)
Sam Lantinga [Wed, 25 Jan 2006 06:12:57 +0000] rev 1262
Hopefully the X servers have been fixed (in 5 years) :)

Wed, 25 Jan 2006 06:04:21 +0000Date: Thu, 04 Sep 2003 02:12:35 +0200
Sam Lantinga [Wed, 25 Jan 2006 06:04:21 +0000] rev 1261
Date: Thu, 04 Sep 2003 02:12:35 +0200
From: Ignacio Casta´┐Żo <castanyo@yahoo.es>
Subject: [SDL] SDL_GL_GetAttribute( SDL_GL_MULTISAMPLESAMPLES ...

It would be nice to add the following lines:

case SDL_GL_MULTISAMPLEBUFFERS:
*value = 0;
break;
case SDL_GL_MULTISAMPLESAMPLES:
*value = 1;
break;

in wincommon\SDL_wingl.c int the function WIN_GL_GetAttribute at line
484, so that it returns the correct values when arb_pixel_format is not
supported.

Tue, 24 Jan 2006 07:20:18 +0000Date: 10 Jun 2003 15:30:59 -0400
Sam Lantinga [Tue, 24 Jan 2006 07:20:18 +0000] rev 1260
Date: 10 Jun 2003 15:30:59 -0400
From: Mike Shal
Subject: [SDL] Bug in SDL_wave.c?

Hey everyone, I'm not sure if this is a bug in SDL, or if I just have
incorrect WAV files. The problem I'm having is loading multiple
concatenated WAVs from SDL_LoadWAV_RW. Some WAV files put comments at
the end of the file (which may be bad form), and SDL doesn't skip past
them when reading from the RWops. So the next WAV I try to load will
start at the comment section of the previous WAV, which obviously
doesn't work. If anyone else is having this problem, one quick fix you
can do is run sox on the bad WAVs, which strips out all of the comment
sections.
Eg:

$ sox sound.wav tmp.wav
$ mv -f tmp.wav sound.wav

The other fix is to patch SDL_wave.c, which is included with this email.
(Assuming I made the patch correctly :). All it does is calculate how
much remaining space there is in the WAV file after the data chunk, and
does SDL_RWseek to skip it. I don't think it should interfere with
anything else, but if someone could check it that would be nice :). If
the bug is really with SDL and not with my WAVs, can someone work this
into the next version of SDL? Thanks,

-Mike Shal