Wed, 24 Sep 2003 21:45:27 +0000Files now copied to build directory instead of source directory while configuring
Patrice Mandin [Wed, 24 Sep 2003 21:45:27 +0000] rev 723
Files now copied to build directory instead of source directory while configuring

Sun, 21 Sep 2003 19:25:45 +0000*** empty log message ***
Sam Lantinga [Sun, 21 Sep 2003 19:25:45 +0000] rev 722
*** empty log message ***

Sun, 21 Sep 2003 18:40:51 +0000Date: Thu, 18 Sep 2003 14:24:35 -0400
Sam Lantinga [Sun, 21 Sep 2003 18:40:51 +0000] rev 721
Date: Thu, 18 Sep 2003 14:24:35 -0400
From: Scott Watson
Subject: [SDL] Improper Windows message routine calling

If this hasn't been caught yet, there's an improper method of calling a
user's window message routine in the various SDL_xxevents.c files.

Calling it improperly can cause a crash under at least XP.

Sun, 21 Sep 2003 18:32:04 +0000N Sep 17 8791 Sam Lantinga Re: tks source released
Sam Lantinga [Sun, 21 Sep 2003 18:32:04 +0000] rev 720
N Sep 17 8791 Sam Lantinga Re: tks source released
Date: Sun, 07 Sep 2003 02:51:58 +0200
From: Stephane Marchesin
Subject: [SDL] Two little patches

Compiling SDL with a recent gcc (gcc 3.3.1, 3.3 doesn't have this
behaviour) gives some nasty warnings :

SDL_blit_A.c: In function `BlitRGBtoRGBSurfaceAlpha128MMX':
SDL_blit_A.c:223: warning: integer constant is too large for "long" type
SDL_blit_A.c:225: warning: integer constant is too large for "long" type
SDL_blit_A.c:227: warning: integer constant is too large for "long" type
[...]

The first attached patch (longlongfix.patch) tells gcc to really treat
those constants as unsigned long long and not long.

The second patch (nasinclude.patch) fixes an include problem I had while
compiling nas audio : when the <audio/audiolib.h> file lies in
/usr/X11R6/include, a -I/usr/X11R6/include option is needed or the file
isn't found.

Sun, 21 Sep 2003 18:18:17 +0000Date: Fri, 12 Sep 2003 18:04:19 -0400
Sam Lantinga [Sun, 21 Sep 2003 18:18:17 +0000] rev 719
Date: Fri, 12 Sep 2003 18:04:19 -0400
From: Matthew Danish
Subject: patch for k*bsd support

I am forwarding this patch from Robert Millan <rmh@debian.org> for
supporting K*BSD systems (BSD kernel GNU userland, and hurd) in
configure.in.

Sun, 21 Sep 2003 18:13:48 +0000Date: Sat, 13 Sep 2003 15:50:43 +0300
Sam Lantinga [Sun, 21 Sep 2003 18:13:48 +0000] rev 718
Date: Sat, 13 Sep 2003 15:50:43 +0300
From: "Mike Gorchak"
Subject: QNX fixes

improved sound code for the QNX, added workarounds for known bugs, fixed photon detect code. Update .qpg file.

Mon, 15 Sep 2003 13:51:25 +0000Date: Sun, 14 Sep 2003 17:04:55 -0400
Ryan C. Gordon [Mon, 15 Sep 2003 13:51:25 +0000] rev 717
Date: Sun, 14 Sep 2003 17:04:55 -0400
From: Philip D.S. Thoren <pthoren@cs.uml.edu>
Reply-To: "sdl@libsdl.org" <sdl@libsdl.org>
To: "sdl@libsdl.org" <sdl@libsdl.org>
Subject: [SDL] BUG in src/video/windx5/SDL_dx5events.c

I tracked down a bug that crashed my program on Windows *all* the
time.

FILE: src/video/windx5/SDL_dx5events.c

FUNCTION: handle_mouse
BUG:
SDL_PublicSurface is being dereferenced when it is NULL.
I added the following to the very begining of handle_mouse
and it solved my crashing problems:

if (SDL_PublicSurface == NULL) return;

~ Philip D.S. Thoren

Sat, 13 Sep 2003 02:20:32 +0000SDL_JoystickInit: If malloc() fails, pretend no joysticks were detected.
Ryan C. Gordon [Sat, 13 Sep 2003 02:20:32 +0000] rev 716
SDL_JoystickInit: If malloc() fails, pretend no joysticks were detected.

Fri, 05 Sep 2003 15:20:47 +0000Date: Mon, 01 Sep 2003 15:37:52 +0900
Sam Lantinga [Fri, 05 Sep 2003 15:20:47 +0000] rev 715
Date: Mon, 01 Sep 2003 15:37:52 +0900
From: SUGIMOTO Sadahiro
Subject: [SDL] [PATCH] bsd joystick

Hi,
on FreeBSD systems, I had troubles using a USB joystick with SDL.
There are two problems in src/joystick/bsd/SDL_sysjoystick.c .

1. The macro __FreeBSD_version is compared to inappropriate numbers.

According to
http://www.jp.freebsd.org/cgi/cvsweb.cgi/src/lib/libusbhid/usbhid.h
http://www.jp.freebsd.org/cgi/cvsweb.cgi/src/lib/libusbhid/Attic/libusb.h
http://www.jp.freebsd.org/cgi/cvsweb.cgi/src/lib/libusbhid/Attic/libusbhid.h
the APIs of USB HID are common in each following groups of OS versions,
a. 4.1-4.5
b. 4.6-4.8, and 5.0
c. 5.1

2. open() error

$ uname -sr
FreeBSD 5.1-RELEASE
$ ls -l /dev/uhid0
crw-r--r-- 1 root operator 122, 0 8 3 14:06 /dev/uhid0

Then, open("/dev/uhid0", O_RDWR) fails.
It seems that this device file does not need to be writable, so O_RDONLY
may be suitable.

Fri, 05 Sep 2003 15:19:14 +0000Update SDL version
Sam Lantinga [Fri, 05 Sep 2003 15:19:14 +0000] rev 714
Update SDL version