Commit Graph

739 Commits

Author SHA1 Message Date
Sam Lantinga
2246d1c59b We're no longer doing compile checks on the X11 extensions which we include.
(Resolves bug #114)
2006-01-31 19:09:09 +00:00
Ryan C. Gordon
bf26c5a03b Changed references to XFree86 to Xext to match change in directory structure.
Reference Bugzilla #116.
2006-01-31 18:39:32 +00:00
Ryan C. Gordon
9c5d7a5715 Corrects dynamic X11 code on Tru64 systems.
Fixes Bugzilla #87.
2006-01-30 18:21:44 +00:00
Ryan C. Gordon
64a36c7f71 Updated Windows CE/PocketPC support...adds GAPI driver, landscape mode,
updated project files, VS2005 support, VGA mode, more device support, etc,
 etc, etc.

Fixes Bugzilla #47 and #28.

--ryan.
2006-01-19 08:43:00 +00:00
Ryan C. Gordon
fac887ab73 Fixed up build script to catch some of the newer files in a "make dist" run. 2006-01-19 08:36:41 +00:00
Ryan C. Gordon
0a3afc4557 Patched to compile. 2006-01-12 23:06:23 +00:00
Ryan C. Gordon
9edba2d35c Add XME hooks to X11 driver instead of relying on libxme...libxme hasn't
changed in five years, and it's a small .c file that just calls into the X11
 dependencies we already use elsewhere. Including it directly allows us to
 make use of the dynamic X11 code.

Fixes Bugzilla #41.

--ryan.
2006-01-12 22:46:36 +00:00
Sam Lantinga
95cc21edfa Bumped the version number for the next release 2006-01-04 01:08:40 +00:00
Ryan C. Gordon
64b1dd14f8 Fixed configure script on latest Mac OS X developer tools (and hopefully
didn't break it everywhere else...grumble...)

--ryan.
2005-12-12 11:14:29 +00:00
Ryan C. Gordon
517e70bca3 Date: Sat, 10 Dec 2005 18:29:41 +0100
From: Alberto Mardegan <mardy@users.sourceforge.net>
To: sdl@libsdl.org
Subject: [SDL] [PATCH] Touchscreen support to fbcon via tslib


Hi all!

  I'm new to this list, I just subscribed. I've attached to this e-mail
a patch I've written in order to add Touchscreen support to SDL's fbcon
module via the tslib library.
Since it introduces a new dependency, I've also edited the the
configure.in file and added it as a compile-time option.

This patch is especially useful for handhelds (I've tested it in my
Zaurus).
Please consider applying it. :-)


--
Saluti,
    Mardy
http://interlingua.altervista.org
2005-12-12 09:26:32 +00:00
Ryan C. Gordon
facc16df66 Date: Sun, 11 Dec 2005 20:37:04 +0100
From: Olivier Boudeville <olivier.boudeville@online.fr>
To: "A list for developers using the SDL library. \(includes SDL-announce\)" <sdl@libsdl.org>
Subject: [SDL] NetBSD build patch


Hi everybody,

apparently the SDL-1.2.9 source archive could not compile "as is" on
NetBSD 2.0_STABLE due to a pthread detection issue in the configure script.

I attached a small patch that can be applied to configure.in so that SDL
can be directly (i.e. without the NetBSD package manager) configured and
built successfully on NetBSD (at least on the one I tried !).

Hope this helps,

Olivier.
2005-12-12 09:22:36 +00:00
Ryan C. Gordon
840dbbbcbc Don't need to link against libstdc++ on Mac OS X now. 2005-12-01 19:22:32 +00:00
Ryan C. Gordon
9f1bdccb26 Seperate glX from HAVE_OPENGL, for platforms that have both an X server and
a more official way to do OpenGL, explicitly check for glX on Mac OS X, and
 use SDL_LoadObject for platforms that have glX but don't have dlopen().
2005-11-23 11:46:36 +00:00
Ryan C. Gordon
f208d67504 To: sdl@libsdl.org
From: Staffan Ulfberg <staffan@ulfberg.se>
Date: 19 Nov 2005 01:00:48 +0100
Subject: [SDL] New driver for OpenBSD/wscons

Hello,

I've written an SDL driver for OpenBSD/wscons (console mode, somewhat
resembling the functionality of the svga driver for Linux).  I use it
for playing MAME on my Sharp Zaurus.  The alternative is to play under
X, which is slower.

I asked how to submit the driver a few days ago, and posted a link to
the patch in a follow-up, so maybe it was missed?

Anyway, the patch is on the web at:

http://multivac.fatburen.org/SDL-wscons.patch

Comments?

Staffan
2005-11-22 15:19:50 +00:00
Ryan C. Gordon
4f586bea68 Fixed Altivec support on Mac OS X. 2005-11-17 03:43:42 +00:00
Ryan C. Gordon
1c56c2d859 Enable dynamic X11 on Mac OS X. 2005-11-17 03:16:01 +00:00
Ryan C. Gordon
0953254c1e Split up src/SDL_loadso.c into platform directories. 2005-11-17 03:15:05 +00:00
Ryan C. Gordon
cde87da963 Use the right libs in dynamic X11 loading. 2005-11-08 01:34:28 +00:00
Ryan C. Gordon
032ff8811c Dynamically load X11 libraries like we currently do for alsa, esd, etc.
This allows you to run an SDL program on a system without Xlib, since it'll
 just report the x11 target unavailable at runtime.
2005-11-05 19:53:37 +00:00
Ryan C. Gordon
569a5e6c3e Enable altivec blitters on PowerPC Linux, and some fixes for recent
GCCs versions.
2005-10-20 06:55:26 +00:00
Ryan C. Gordon
344efd091a iPod Linux framebuffer support.
--ryan.


Date: Sun, 19 Jun 2005 15:53:22 -0700
From: Joshua Oreman <oremanj@gmail.com>
To: sdl@libsdl.org
Subject: [SDL] [PATCH] iPod framebuffer video driver

Hi SDL-list,

I've been working on a port of SDL to iPodLinux
(http://www.ipodlinux.org).  I've created a patch for both the
standard 2-bit iPod screen (using an unchangeable palette) and the
16-bit iPod photo.  The patch is attached, against version 1.2.8.

I've created two pages on the iPodLinux wiki about this patch:
http://www.ipodlinux.org/Building_SDL and
http://www.ipodlinux.org/SDL_Programming. See those pages if you're
curious.

Comments? Questions? Is this something that might be able to get into SDL 1.2.9?

Thanks for your feedback!
-- Josh
2005-09-08 07:33:22 +00:00
Ryan C. Gordon
43c3b9b455 Fix dlvsym() detection in the configure script.
--ryan.


From: Mike Frysinger <vapier@gentoo.org>
To: sdl@libsdl.org
Subject: Re: [SDL] sdl, sdl-mixer not compiling with uclibc
Date: Wed, 7 Sep 2005 19:17:49 -0400

in this case actually, the error is in libsdl

the configure check for dlvsym presence is pretty pointless, it currently
always detects it

		AC_TRY_COMPILE([
		  #include <stdio.h>
		  #define __USE_GNU
		  #include <dlfcn.h>
		],[
		  dlvsym(NULL,"","");
		],[
		use_dlvsym=yes
		])

since it's merely compiling, the warning about dlvsym being implicitly
declared doesnt trigger a failure

find attached a patch to fix this
-mike
2005-09-08 06:43:51 +00:00
Ryan C. Gordon
41af118d8b The MacOSX Carbon/Cocoa/X11 all in one library patch. Relevant emails:
To: SDL Developers <sdl@libsdl.org>
From: =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb@algonet.se>
Date: Mon, 30 May 2005 23:29:04 +0200
Subject: [SDL] Mac OS X Video Drivers [patch]

I've updated/added the Carbon and X11 video drivers
to the Mac OS X port of SDL 1.2 (the CVS version),
and made the Cocoa driver and runtime *optional*.

The default is still Cocoa, and the "Quartz" driver.
But you can now also use "toolbox" for Carbon, and
"x11" for running with Apple's (or other) X11 server:

export SDL_VIDEODRIVER=x11
export SDL_VIDEO_GL_DRIVER=/usr/X11R6/lib/libGL.dylib

It also checks if the frameworks are available, by a:
#include <Carbon/Carbon.h> or #import <Cocoa/Cocoa.h>
(this should make it configure on plain Darwin as well?)


Here are the new configure targets:
   --enable-video-cocoa    use Cocoa/Quartz video driver default=yes
   --enable-video-carbon   use Carbon/QuickDraw video driver default=yes
   --enable-video-x11	   use X11 video driver default=no

./configure --enable-video-cocoa --enable-video-carbon
--enable-video-x11 \
	     --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib

The Carbon version is just an updated version of the old
SDL driver for Mac OS 9, and could probably be improved...
(but it does work, including the Carbon version of SDLmain)

If you disable cocoa, you can run with -framework Carbon only,
and the C version of SDL_main.c. And if you disable carbon too,
you can still use the X11 version which doesn't require SDLmain.

I updated the DrawSprocket version, but did not include it.
(no blitters or VRAM GWorlds etc. available on OS X anyway)
Besides for Mac OS 9, I don't think there's any use for it ?

And note that any performance on Mac OS X equals OpenGL anyway...
You can get "fair" software SDL results on captured CG displays,
but for decent frame rates you need to be using GL for rendering.


Finally, here is the patch itself:
http://www.algonet.se/~afb/SDL-12CVS-macvideo.patch

--anders

PS. It says "video", but as usual it applies to mouse/keyboard too.


------


To: A list for developers using the SDL library <sdl@libsdl.org>
From: =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb@algonet.se>
Date: Sun, 4 Sep 2005 10:02:15 +0200
Subject: [SDL] Updated Mac patch

Updated the previous Mac patch to disable Carbon by default.
Also "fixed" the SDL.spec again, so that it builds on Darwin.

http://www.algonet.se/~afb/SDL-1.2.9-mac.patch
Also applied fine to SDL12 CVS, when I tried it.
2005-09-08 06:16:14 +00:00
Sam Lantinga
1df5a7881b Date: Mon, 22 Aug 2005 04:22:46 -0400
From: "Ryan C. Gordon"
Subject: [Fwd: SDL patch: make usage of rpath optional]

Here's a small patch against current SDL CVS that makes usage of rpath
optional, by passing --disable-rpath to configure.  This comes in handy
when redistributing SDL -- the rpath setting prevents the lib being
loaded if it's not in the rpath, which makes redistributing in packages
to be installed by non-root users pretty much useless.
2005-08-23 06:36:23 +00:00
Sam Lantinga
65f934caa3 Date: Tue, 22 Mar 2005 23:50:20 +0100
From: Johannes Schmidt
Subject: [PATCH] Re: [SDL] SDL 1.2.8 Prerelease

On Saturday 18 December 2004 13:59, Stephane Marchesin wrote:
> >#error "The kernel sources in /usr/src/linux are not yet configured."
> >#error "Please run 'make cloneconfig && make dep' in /usr/src/linux/"
> >#error "to get a kernel that is configured like the running kernel."
> >#error "Alternatively, you can copy one of the config files"
> >#error "arch/$ARCH/defconfig.* to .config, and run"
> >#error "'make oldconfig && make dep' to configure the kernel"
> >#error "for that configuration."
> >-
>
> That's the Suse kernel sources...
> I think the only way out is to add a test in ./configure

Attached is a patch (it works for me[TM]) which adds a CheckLinuxVersion() to
configure.in and a check for HAVE_LINUX_VERSION_H to
src/cdrom/linux/SDL_syscdrom.c.
2005-05-20 07:34:34 +00:00
Ryan C. Gordon
eb4de39871 Altivec-optimized blitters!
Vast majority of this work is compliments of Bob Ippolito.

http://www.devolution.com/pipermail/sdl/2005-February/067466.html and many
 other posts.
2005-04-17 10:19:22 +00:00
Sam Lantinga
f37d4736d9 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.
2005-02-12 18:01:31 +00:00
Sam Lantinga
859fb5acc1 Bumped the minor version number... 2005-01-04 19:06:23 +00:00
Sam Lantinga
3da2c5f3f9 Date: Fri, 31 Dec 2004 04:14:09 +0900
From: Hayashi Naoyuki
Subject: SDL patch for Tru64 UNIX 4.0X

SDL-1.2.8 support only Tru64 5.X.
This patch is for Tru64 UNIX 4.X.(tested on Tru64 UNIX 4.0G and 5.1B)

SDL-1.2.8/configure.in:
ld doesn't accept -pthread option.
cc -pthread has same effect as -D_REENTRANT when compiling,
and has same effect as -lpthread -lexc when linking.

SDL-1.2.8/include/begin_code.h:
Old Compaq C Compiler accept not inline but __inline.

SDL-1.2.8/src/audio/SDL_mixer_MMX.c:
SDL-1.2.8/src/audio/SDL_mixer_MMX.h:
Old Compaq C Compiler doesn't accept //.

SDL-1.2.8/src/cdrom/osf/SDL_syscdrom.c:
When becoming Tru64 v5.0 from Tru64 v4.0,
the arrangement of the cd-rom device was changed.
2005-01-02 05:05:21 +00:00
Sam Lantinga
80a796e7d0 No really, don't link with the ALSA library! 2004-12-13 07:32:53 +00:00
Patrice Mandin
9f98662ee6 Final touches to OSMesa OpenGL support on Atari, using loadable libraries. Hope SDL 1.2.8 is out soon. 2004-11-26 16:16:50 +00:00
Patrice Mandin
c105d6512b Factorize OSMesa OpenGL code for Atari drivers 2004-11-25 15:47:49 +00:00
Patrice Mandin
67968b56f4 Add support for OpenGL on Atari using OSMesa, the offscreen rendering driver from Mesa 2004-11-17 23:13:15 +00:00
Sam Lantinga
c8eb4923ea Fedora Core 3 has libasound.so in /lib 2004-11-15 01:47:53 +00:00
Sam Lantinga
ea38599d62 Date: Fri, 25 Jun 2004 13:29:15 +0100
From: "alan buckley"
Subject: Modification for RISC OS version of SDL

Ive attached a zip file with the changes to this email, it contains the
following:

The file sdldiff.txt is the output from cvs diff u.  .
The directory thread/riscos contains all the new files to support threading.

Readme.riscos is a new readme file to add.
2004-09-17 13:20:10 +00:00
Sam Lantinga
54bf171647 Don't fail if we don't have ALSA available 2004-08-24 06:32:50 +00:00
Sam Lantinga
efb58cab17 Date: Tue, 01 Jun 2004 15:27:44 +0300
From: Martin_Storsj
Subject: Update for dynamic loading of ALSA

I sent you a patch a few months ago which enables SDL to load ALSA
dynamically. Now I've finally got time to tweak this yet some more. I've
added code from alsa.m4 (from alsa's dev package) to acinclude.m4, and
made the detection of the alsa library name a bit better. I've also
fixed up the loading versioned symbols with dlvsym, so that it falls
back to dlsym.

I wouldn't say the configure script is complete yet, but this is how far
I've come this time, and I'm no expert at those things.
2004-08-21 04:20:00 +00:00
Sam Lantinga
b724c430fa CoreAudio driver works on Mac OSX 10.1 2004-08-21 03:21:44 +00:00
Sam Lantinga
a7e1a25cc0 Audio improvements from Max Horn, including a new CoreAudio driver for MacOSX 2004-08-21 02:06:30 +00:00
Sam Lantinga
356c197ebd Date: Sat, 24 Apr 2004 15:13:32 +0300
From: "Mike Gorchak"
Subject: SDL updates for the QNX6

1. Updated the README.QNX
2. Updated libtool scripts, which are shipped with SDL for QNX6 support.
3. Added some code to support the new QNX 6.3.0, which is in beta now.
4. Added code to detect the hw features, which driver supports.
5. Added hw alpha blits code.
6. Fixed bug when application switches to fullscreen more the 2 times. (afte\
r that window becames always stay on top).
7. Updated a bit README for the tests.
8. Added information about acceleration show in the testalpha.c test.
9. Added small fixes to the testoverlay2.c test.
10. Added alpha and cc+alpha blits benchmarks to the testvidinfo.c test.
2004-05-06 15:55:06 +00:00
Sam Lantinga
327a62cd62 Increment version... 2004-04-23 14:00:08 +00:00
Sam Lantinga
8493c3e7ad Date: Sun, 07 Mar 2004 22:54:11 +0900
From: Hayashi Naoyuki
Subject: Tru64 cdrom and pthread option fix

SDL-1.2.7/src/cdrom/osf/SDL_syscdrom.c Fixes
Some CD-ROM drives(ex. TEAC CD-532E) cannot play
first 150 frames(aka gap).
CheckDrive() fix.
The end of comment is "* /" in AddDrive().

SDL-1.2.7/configure.in Fixes
Add *-*-osf pthread option and
delete line SDL_LIBS="$SDL_LIBS -lrt".
2004-03-07 16:40:15 +00:00
Sam Lantinga
ef1b944fae sed, it's two, two commands in one! 2004-03-03 06:56:04 +00:00
Sam Lantinga
a122ee994b Date: Sun, 29 Feb 2004 15:14:22 +0200
From: Martin_Storsj
Subject: Dynamic loading of ALSA

I recently discovered that SDL can dynamically load ESD and aRts, and
made a patch which adds this same functionality to ALSA.

The update for configure.in isn't too good (it should e.g. look for
libasound.so in other directories than /usr/lib), because I'm not too
good at shellscripting and autoconf.

The reason for using dlfcn.h and dlopen instead of SDL_LoadLibrary and
SDL_LoadFunction is that libasound uses versioned symbols, and it is
necessary to load the correct version using dlvsym. This isn't probably
any real portability issue, because ALSA is linux-only.
2004-03-02 12:49:16 +00:00
Sam Lantinga
1904a7ac4c Date: Mon, 23 Feb 2004 19:00:23 +0100
From: "Juergen \"George\" Sawinski"
Subject: Problems compiling libsdl with gcc 3.3

I attached another patch (configure.in.patch) that might resolv issues
for some ppl finding the correct place of libartsc.so.*.
(here, the output of "artsc-config --libs" contains two "-L.*",
therefore the respecting arts_lib_spec contains the wrong path).
2004-02-24 19:22:22 +00:00
Sam Lantinga
f4baa32414 *** empty log message *** 2004-02-20 18:18:20 +00:00
Sam Lantinga
d0fb7b6372 *** empty log message *** 2004-02-17 22:00:33 +00:00
Sam Lantinga
4eda6a12bb *** empty log message *** 2004-02-17 18:01:39 +00:00
Patrice Mandin
d959ab9a52 -lgem must appear after -lldg 2004-02-15 08:32:25 +00:00
Sam Lantinga
5a5ad9c13d Use sigaction instead of signal to preserve handler flags (thanks Matthew!) 2004-02-12 16:29:24 +00:00
Sam Lantinga
6c019d967f Fixed static linking on MacOS X (thanks Max!) 2004-02-11 07:09:11 +00:00
Sam Lantinga
8c3c688f81 *** empty log message *** 2004-02-08 22:21:30 +00:00
Sam Lantinga
7c53445375 Check for altivec assembly support before trying to use it. :) 2004-01-29 16:15:12 +00:00
Patrice Mandin
217b8da114 Add to temporary includes path to find src/video/windx5/directx.h if we build SDL in a different directory 2004-01-07 18:24:06 +00:00
Sam Lantinga
fb1f8f1b71 *** empty log message *** 2004-01-06 17:16:02 +00:00
Sam Lantinga
6510cc9eff Max has been reworking this code so it works on MacOS X 10.1 2004-01-04 16:20:28 +00:00
Sam Lantinga
3aa17cd2e0 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
2003-12-18 05:01:47 +00:00
Sam Lantinga
268729cc33 Fixed "dist" make target for newer versions of automake 2003-12-14 06:25:53 +00:00
Sam Lantinga
de4558b428 Date: Thu, 4 Dec 2003 07:48:40 +0200
From: "Mike Gorchak"
Subject: SDL/QNX6 new patch

Here in attachment my patch for the SDL/QNX6 again :) It contain non-crtitical/cosmetic fixes:

1. Fixed window centering at other than the first consoles.
2. Fixed window centering algorithm in case when window height or width are greater than the desktop resolution.
3. Fixed window positioning on other than the first consoles.
4. Fixed occasional input focus lost when switching to fullscreen.
5. Removed the Photon's default chroma color for the overlays, added RGB(12, 6, 12) color instead (very dark pink).
6. Added more checks to the YUV overlay code (fixed crashes during resolution mode switches).
7. Added support for Enter/Backspace keys in unicode mode (used by Maelstrom and by other games).
8. Fixed window restore/maximize function. It works, finally.
2003-12-10 12:35:56 +00:00
Sam Lantinga
f57ed0a33e Date: Mon, 24 Nov 2003 20:11:31 +0000
From: John Drinkwater <john@nextraweb.com>
Subject: SDL configure.in patch

On my cygwin compile environment, I get a script error with configure.

$ ./configure --enable-debug=no -q;
appending configuration tag "CXX" to libtool
appending configuration tag "F77" to libtool
./configure: line 28135: : command not found
*snip the rest*

The supplied patch fixes the problem, just a minor oversight of some [ ] & t\
est.
2003-11-24 21:57:13 +00:00
Sam Lantinga
459ca6f009 Fixed building cpuinfo under mingw32 2003-11-19 08:03:10 +00:00
Sam Lantinga
7fe4f4e884 Actually hook the cpuinfo module into the library. :) 2003-11-18 02:16:57 +00:00
Sam Lantinga
9981325fda Added SDL_HasMMX(), SDL_Has3DNow(), SDL_HasSSE() in SDL_cpuinfo.h 2003-11-18 01:27:06 +00:00
Sam Lantinga
c675c64d80 *** empty log message *** 2003-10-06 09:03:02 +00:00
Patrice Mandin
f2c7d6a938 Atari CD-ROM support 2003-09-27 08:20:26 +00:00
Patrice Mandin
a71036cb2a Files now copied to build directory instead of source directory while configuring 2003-09-24 21:45:27 +00:00
Sam Lantinga
971fb91ad9 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.
2003-09-21 18:32:04 +00:00
Sam Lantinga
b2aea0bd06 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.
2003-09-21 18:18:17 +00:00
Sam Lantinga
5be74a63a4 Update SDL version 2003-09-05 15:19:14 +00:00
Sam Lantinga
1ae31940a6 Hopefully this will fix the last of the problems with OBJ depend mode. 2003-08-27 05:14:40 +00:00
Sam Lantinga
a46a03070a Date: Sat, 16 Aug 2003 16:22:56 +0300
From: "Mike Gorchak"
Subject: Package building for QNX6

I'm just completed the package description file for QNX6 - qpg, it is like a\
 .spec files for Linux. Please place SDL.qpg.in file in the root of the proj\
ect, where .spec file is placed. And sdl12qpg.diff - just adding the SDL.qpg\
.in. The same for the SDL_image. I'm planning to add .qpg files creation for\
 all SDL* projects.

As for shared library building for QNX6. It is very hard to improve the exis\
ting libtool code to support QNX shared libraries. Much easyiest is to remov\
e libtool.m4 code from the acinclude.m4 for those persons, who building shar\
ed libraries for QNX6. I'm described all what they need to do with .so under\
 QNX6 in the README.QNX file. And 90% of people used the precompiled librari\
es, so I think it is not big problem :)
2003-08-23 23:25:46 +00:00
Sam Lantinga
0af029a003 Fixed use of SDL with XInitThreads() 2003-08-23 23:12:19 +00:00
Sam Lantinga
8d141eb58b Date: Mon, 11 Aug 2003 22:49:06 +0100
From: Peter Naulls
Subject: RISC OS patches

This patch includes a patch to configure.in for RISC OS cross compiling
which was somehow missed from last time.

It also corrects BPP setting and checking behaviour.
2003-08-11 22:28:13 +00:00
Sam Lantinga
0ebbbf6cad The cdrom code doesn't build on MacOS X 10.1, disabled for now... 2003-08-10 07:46:21 +00:00
Sam Lantinga
8c8d5e6cd0 *sigh* 2003-08-09 22:49:28 +00:00
Sam Lantinga
a12b89e97f More grumble grumble... 2003-08-09 22:13:38 +00:00
Sam Lantinga
51c0c02048 Grumble grumble 2003-08-09 21:14:26 +00:00
Sam Lantinga
a8a2eb4ecd Turn dynamic loading of esd and arts on by default
Hmm, what to do about Objective C dependencies....
2003-08-09 20:36:29 +00:00
Sam Lantinga
c71f932376 Fixed automake warnings about Objective C support 2003-08-09 18:19:42 +00:00
Sam Lantinga
3735bda06c ate: Mon, 4 Aug 2003 19:10:14 +0300
From: "Mike Gorchak"
Subject: SDL/QNX forgotten fixes

Just found, that one chunk for configure.in has not been applied and one for\
gotten by me :) Please add it to CVS.

P.S. Now QNX6.2.1 have the dlopen in libc and in the libltdl. So libc's vari\
ant more prefered, and ltdl rest for compatibility. In this small patch I wa\
s added proper checks.
2003-08-06 20:20:30 +00:00
Sam Lantinga
d430656ec6 Date: Sat, 2 Aug 2003 16:22:51 +0300
From: "Mike Gorchak"
Subject: New patches for QNX6

Here my patches for the SDL/QNX:

QNXSDL.diff - diff to non-QNX related sources:

- updated BUGS file, I think QNX6 is now will be officially supported
- configure.in - added shared library support for QNX, and removed dependency between the ALSA and QNX6.
- SDL_audio.c - added QNX NTO sound bootstrap insted of ALSA's.
- SDL_sysaudio.h - the same.
- SDL_nto_audio.c - the same.
- SDL_video.c - right now, QNX doesn't offer any method to obtain pointers to the OpenGL functions by function name, so they must be hardcoded in library, otherwise OpenGL will not be supported.
- testsprite.c - fixed: do not draw vertical red line if we are in non-double-buffered mode.

sdlqnxph.tar.gz - archive of the ./src/video/photon/* . Too many changes in code to make diffs :) :

+ Added stub for support hide/unhide window event
+ Added full YUV overlays support.
+ Added window maximize support.
+ Added mouse wheel events.
+ Added support for some specific key codes in Unicode mode (like ESC).
+ Added more checks to the all memory allocation code.
+ Added SDL_DOUBLEBUF support in all fullscreen modes.
+ Added fallback to window mode, if desired fullscreen mode is not supported.
+ Added stub support for the GL_LoadLibrary and GL_GetProcAddress functions.
+ Added resizable window support without caption.
! Fixed bug in the Ph_EV_EXPOSE event handler, when rectangles to update is 0 and when width or height of the rectangle is 0.
! Fixed bug in the event handler code. Events has not been passed to the window widget handler.
! Fixed codes for Win keys (Super/Hyper/Menu).
! Fixed memory leak, when deallocation palette.
! Fixed palette emulation code bugs.
! Fixed fullscreen and hwsurface handling.
! Fixed CLOSE button bug. First event was passed to the handler, but second terminated the application. Now all events passed to the application correctly.
- Removed all printfs in code, now SDL_SetError used instead of them.
- Disabled ToggleFullScreen function.

README.QNX - updated README.QNX file. Added much more issues.
2003-08-04 00:52:42 +00:00
Sam Lantinga
4b88b12551 Added audio and CD-ROM support for OSF/Tru64 (thanks Hayashi!) 2003-07-22 14:01:21 +00:00
Patrice Mandin
90f95f489c pmandin: Added Atari LDG shared object loader 2003-07-16 11:54:13 +00:00
Sam Lantinga
5f885f7e0e Exposed SDL_LoadObject(), SDL_LoadFunction(), and SDL_UnloadObject() APIs 2003-07-10 07:46:19 +00:00
Sam Lantinga
f7fa1d8464 Added RISCOS Makefiles to the configure process 2003-07-09 15:38:28 +00:00
Patrice Mandin
f3a40b09ab Bugfix: some Makefiles in subdirectories created before their upper-level ones 2003-06-28 21:38:14 +00:00
Sam Lantinga
ca4e4bfbea Added MacOS X CD-ROM audio support (thanks Max and Darrell) 2003-04-15 16:33:56 +00:00
Sam Lantinga
5e03c9b2e1 *** empty log message *** 2003-03-09 21:38:18 +00:00
Sam Lantinga
9c74d97a17 IRIX patches from Andrea Suatoni 2003-03-06 06:12:41 +00:00
Sam Lantinga
8cfb584690 Fixed building thread code under BSD/OS (thanks Steven!) 2003-02-21 17:16:38 +00:00
Sam Lantinga
6602d68964 Working around broken objective C support - Take 2 2003-02-01 19:47:43 +00:00
Sam Lantinga
a2dac8310c Doh, this doesn't work on all automake versions. 2003-02-01 19:01:26 +00:00
Sam Lantinga
09421a77df Worked around objective C brokenness in Cygwin's automake 2003-02-01 18:58:42 +00:00
Sam Lantinga
eca650425a ate: Thu, 16 Jan 2003 13:48:31 +0200
From: "Mike Gorchak"

added support for checking libtool's version of libdl for dlopen.
2003-01-20 01:37:07 +00:00
Sam Lantinga
52523f04a9 From: David Hedbor
Subject: Qtopia patches (input grabbing and iconify)

Ok, here's a patch that adds support for SDL_WM_GrabInput (default
state is "ungrabbed") and SDL_WM_IconifyWindow. Also has some other
tweaks such as taking additional steps to clean up when exiting
(bypassing certain bugs in some versions of Qtopia and/or OPIE) and it
also maps Key_F33 to Key_Return (this is the Zaurus 'ok' key).
2003-01-20 01:08:20 +00:00
Sam Lantinga
d1a8d6261c Updated Atari port for new system headers (thanks Patrice!) 2002-12-07 06:54:47 +00:00
Sam Lantinga
a123c3e5f9 Updated for DirectDB 0.9.15 (thanks Denis!) 2002-11-17 19:36:49 +00:00
Sam Lantinga
fd1c7f246f Bumped version to 1.2.6 in CVS 2002-10-08 15:34:19 +00:00
Sam Lantinga
91f5d99532 *** empty log message *** 2002-10-06 18:38:12 +00:00
Sam Lantinga
cb7004f6d9 Date: Tue, 27 Aug 2002 16:14:11 +0200
From: Denis Oliver Kropp
Subject: Palette support and 8bit color keying fix

This patch adds support for 8bit palette modes dropping
the RGB332 stuff. It also fixes color keying for 8bit.
testsprite (without -bpp >8) looks correct again.
2002-08-31 04:06:37 +00:00
Sam Lantinga
518dfadc59 Date: Sat, 24 Aug 2002 22:20:01 -0600
From: "Greg Haerr"
Subject: Announce: sdl-nanox-patch

Sam,
    I've created an update patch for enhanced Nano-X support
with SDL.  I've created the patch against SDL-1.2.4.  I'd appreciate
it if you would apply it to the next SDL version.

Enhancements include:

1. Small bugfixes to compile without errors
2. Support for direct client-side framebuffer access with configure option
3. Add dynamic pixel type support for hardware framebuffer; eliminating the
need for compile-time configuration option.

I've updated the README.NanoX file with the details.

This version has been tested with Microwindows v0.89pre9 CVS
and SMPEG 0.4.4.  I've added multi-threading support to
Microwindows to support the multi-threaded SMPEG, and
all works fine.  To turn on thread safety in Microwindows,
use THREADSAFE=Y in the Microwindows config file.

Thanks!

Regards,

Greg
Founder, The Microwindows Project
http://microwindows.org
2002-08-25 06:21:49 +00:00
Sam Lantinga
8992424b7f Updated configure.in for automake 1.6.2 2002-08-17 16:58:31 +00:00
Sam Lantinga
9b566cdf1a Added initial support for PicoGUI (thanks Micah!) 2002-08-01 23:24:13 +00:00
Sam Lantinga
85ab5ea685 Date: Fri, 12 Jul 2002 11:25:32 GMT+1
From: Patrice Mandin <pmandin@caramail.com>
Subject: [SDL][PATCH] Audio for Atari, and XFree86 compilation

I corrected a little bug in the Atari audio driver in SDL.
I also added the patch for xfree86 detection in configure.in
2002-07-29 23:20:16 +00:00
Ryan C. Gordon
5f3752a08e Fixed (?) semaphore support on HPUX 11.x ... 2002-07-22 09:49:52 +00:00
Sam Lantinga
8942368456 Allow building from another top level directory 2002-06-20 17:47:18 +00:00
Sam Lantinga
b86936a882 Fixed building with pthreads and the pth library 2002-06-13 21:36:25 +00:00
Sam Lantinga
0b9b370b62 Hmm 2002-06-13 16:54:43 +00:00
Sam Lantinga
7814e7c84b API changes on OpenBSD and FreeBSD... 2002-06-12 03:32:01 +00:00
Sam Lantinga
1f135b8b23 *** empty log message *** 2002-06-11 20:06:42 +00:00
Sam Lantinga
09ba2f7c63 *** empty log message *** 2002-06-11 19:56:41 +00:00
Sam Lantinga
e9dcc98479 *** empty log message *** 2002-06-11 19:43:04 +00:00
Sam Lantinga
3e37cc966f *** empty log message *** 2002-06-11 19:32:57 +00:00
Sam Lantinga
11437e0ed8 *** empty log message *** 2002-06-11 19:00:11 +00:00
Sam Lantinga
ee24461670 Unified the thread detection code for UNIX platforms 2002-06-10 21:39:49 +00:00
Sam Lantinga
aa03ca8e40 Added Atari audio support (thanks Patrice!) 2002-06-10 20:42:53 +00:00
Sam Lantinga
90337764f6 Fixed shared library building on MacOS X (thanks Max!) 2002-06-01 18:48:13 +00:00
Sam Lantinga
4f9a38b6f4 Date: Wed, 29 May 2002 17:37:19 +0200
From: Denis Oliver Kropp <dok@directfb.org>
Subject: DirectFB 0.9.11

Hi,

we had some API enhancements in keyboard handling.
We support full unicode now and have support for
keyboard mappings. I've attached a patch to have
SDL compile with the upcoming (monday?) DirectFB 0.9.11.
2002-05-29 20:47:19 +00:00
Sam Lantinga
880e7c6d4b Wilbern Cobb submitted a fix for building BSD joystick support that should work on all BSD flavors. 2002-05-28 20:01:29 +00:00
Sam Lantinga
37adb1da0d *** empty log message *** 2002-05-20 18:36:48 +00:00
Sam Lantinga
635f1ceff9 Added David Hedbor's Qtopia patches 2002-05-19 20:06:01 +00:00
Sam Lantinga
2a83dc9ace Configure fixes from Wilbern Cobb for FreeBSD joystick support. 2002-04-18 04:28:58 +00:00
Sam Lantinga
b5b9f2d039 Updated ALSA audio support for ALSA 0.9 2002-04-15 07:38:54 +00:00
Sam Lantinga
eddc216018 Bump the version, so that it isn't forotten later. :) 2002-04-14 21:51:25 +00:00
Sam Lantinga
6a786603b3 Patrice's fixes for GNU Pthread support 2002-04-01 15:35:28 +00:00
Sam Lantinga
eb3b0ee681 Fixes for GNU pthreads from Patrice 2002-03-30 18:53:23 +00:00
Sam Lantinga
790b5a6b33 *** empty log message *** 2002-03-24 21:44:06 +00:00
Sam Lantinga
fb51244561 Added Atari joystick support (thanks Patrice!) 2002-03-07 20:23:11 +00:00
Sam Lantinga
c53f915d9b Fixed dynamic arts support.
Turned on dynamic audio load by default in RPM build.
2002-03-06 19:14:12 +00:00
Sam Lantinga
eba3a46432 Removed the API changes to preserve SDL 1.2 stability 2002-03-06 11:05:47 +00:00
Sam Lantinga
5f032b10b9 *** empty log message *** 2002-03-06 05:37:21 +00:00
Sam Lantinga
663bb62fb6 Added a new header file: SDL_loadso.h
It contains the following functions:
	SDL_LoadObject(), SDL_LoadFunction(), SDL_UnloadObject()
The UNIX esd and arts audio code use these to dynamically load
their respective audio libraries.
2002-03-06 05:20:11 +00:00
Sam Lantinga
393bef31ab Added SDL_LockRect() and SDL_UnlockRect()
Incorporated XFree86 extension libraries into the source
2002-03-05 19:55:32 +00:00
Sam Lantinga
db9d6663b4 Updated for DirectFB 0.9.9 2002-02-26 14:38:53 +00:00
Sam Lantinga
78006c91ad Added initial support for Atari (thanks Patrice!) 2002-02-17 19:54:28 +00:00
Sam Lantinga
28ac66feae Mike Gorchak added some QNX tweaks, including OpenGL support 2002-02-14 02:15:15 +00:00
Sam Lantinga
24a229e61b Added support for joysticks on *BSD (thanks Wilbern!) 2002-02-14 01:24:08 +00:00
Sam Lantinga
4dd5b32774 Fixed building with Cygwin (thanks Michael) 2002-01-10 02:00:29 +00:00
Sam Lantinga
95c2108bfd *** empty log message *** 2002-01-04 20:48:51 +00:00
Sam Lantinga
dc8a7d752f *** empty log message *** 2001-12-20 22:46:09 +00:00
Sam Lantinga
695758527d *** empty log message *** 2001-12-18 02:29:58 +00:00
Sam Lantinga
cd75fa06b0 *** empty log message *** 2001-12-18 00:18:49 +00:00
Sam Lantinga
e58898392c Added support for Xi Graphics XME fullscreen extension 2001-11-22 04:55:38 +00:00
Sam Lantinga
e051533592 Bump the version number on the library 2001-11-22 03:47:16 +00:00
Sam Lantinga
6eef77e957 Added X11 Xinerama support - fullscreen starts on screen 0 2001-11-03 17:03:16 +00:00
Sam Lantinga
e880846847 *** empty log message *** 2001-11-02 19:16:53 +00:00
Sam Lantinga
22702a3868 Updated SDL DirectFB backend for DirectFB version 0.9.7 2001-11-01 16:21:40 +00:00
Sam Lantinga
eec11484f0 *** empty log message *** 2001-10-23 00:50:44 +00:00
Sam Lantinga
8a8a90deea If we're looking at the /dev/input event devices, and we found
at least one, then we don't want to look at the input joystick
devices, since they're built on top of devices that we've already
seen, so we're done.
2001-10-22 21:34:50 +00:00
Sam Lantinga
92063224a5 MacOS X fix 2001-09-30 18:55:08 +00:00
Sam Lantinga
f6f355df36 *** empty log message *** 2001-09-23 21:58:52 +00:00
Sam Lantinga
2d8666020c Oops, back out that SDL_main -> SDLMain conversion 2001-09-23 21:09:08 +00:00
Sam Lantinga
d08a76b227 Changed SDLMain to SDL_main for MacOS X stuff 2001-09-23 20:42:00 +00:00
Sam Lantinga
42f4b914ae Added support for the GNU Pth thread lib (thanks Mandin!) 2001-09-14 04:34:15 +00:00
Sam Lantinga
e889a75dbc Added CD-ROM support for BSD/OS (thanks Steven!) 2001-09-13 15:57:48 +00:00
Sam Lantinga
cebbe1bf54 *** empty log message *** 2001-09-11 20:42:32 +00:00
Sam Lantinga
6de0291d84 Date: Sat, 8 Sep 2001 04:42:23 +0200
From: Max Horn <max@quendi.de>
Subject: SDL/OSX: Joystick; Better key handling

I just finished implementing improved keyhandling for OS X (in fact
the code should be easily ported to the "normal" MacOS part of SDL, I
just had no chance yet). Works like this:
First init the mapping table statically like before. Them, it queries
the OS for the "official" key table, then iterates over all 127
scancode and gets the associates ascii code. It ignores everythng
below 32 (has to, as it would lead to many problems if we did not...
e.g. both ESC and NUM LOCk produce an ascii code 27 on my keyboard),
and all stuff above 127 is mapped to SDLK_WORLD_* simply in the order
it is encountered.
In addition, caps lock is now working, too.
The code work flawless for me, but since I only have one keyboard, I
may have not encountered some serious problem... but I am pretty
confident that it is better than the old code in most cases.


The joystick driver works fine for me, too. I think it can be added
to CVS already. It would simply be helpful if more people would test
it. Hm, I wonder if Maelstrom or GLTron has Joystick support? That
would be a wonderful test application :)


I also took the liberty of modifying some text files like BUGS,
README.CVS, README.MacOSX (which now contains the OS X docs I long
promised)
2001-09-11 19:00:18 +00:00
Sam Lantinga
3e1a97bb62 Added Max's patches for building MacOS X apps on command line 2001-09-04 23:18:45 +00:00
Sam Lantinga
f6e8084c7c Added support for DirectFB video on Linux (thanks Denis!) 2001-09-04 22:53:46 +00:00
Sam Lantinga
e51e5b7d1e Fixed Solaris nitpicks (thanks Mattias!) 2001-09-04 22:48:09 +00:00
Sam Lantinga
43ae18a8fa Date: Tue, 21 Aug 2001 03:50:01 +0200
From: Max Horn <max@quendi.de>
Subject: New patch for OS X

Attached a .patch file for SDL/OSX with some nice bug fixes / enhancments.

* fixes the activation issues, which also caused the window to be
always drawn like an inactive. The close/minimize widgets now are
animated properly, too.

* the menu items are automatically adjusted to use the app name
instead of just "SDL App". I did this so that we really can use one
central SDLMain.nib file, w/o requiring developers to make a copy of
it and adjust it.

* libSDLMain now contains the proper cocoa code, not as before the
carbon code. This means apps no longer have to carry a copy of
SDLMain.m/SDLMain.h

* revamped configure.in to properly build a Cocoa/Quartz SDL lib, not
a Carbon based SDL lib
2001-08-21 07:19:59 +00:00
Sam Lantinga
49708f7397 Fixed IDE and SCSI CD-ROM detection on BeOS (thanks Caz!) 2001-08-18 22:03:11 +00:00
Sam Lantinga
ed31df1fd6 Audio subsystem no longer assumes sun audio API on UNIX systems 2001-08-09 13:09:47 +00:00
Sam Lantinga
9196e622ca Fixed VGL detection on FreeBSD (thanks David!) 2001-08-09 06:14:06 +00:00
Sam Lantinga
7876988a7d Applied Maxim's patch for VGL detection on FreeBSD 2001-07-31 04:06:56 +00:00
Sam Lantinga
9df4088b9a Bump version to 1.2.3 2001-07-31 00:13:03 +00:00
Sam Lantinga
458f68b0a8 Name changed from OBSD to OPENBSD_AUDIO 2001-07-23 02:58:42 +00:00
Sam Lantinga
59b840a340 Cleaned up the OpenBSD port, thanks to Peter Valchev 2001-07-08 09:00:06 +00:00
Sam Lantinga
1599fa494c Dummy audio and video drivers are enabled (thanks Ryan!) 2001-07-02 00:20:29 +00:00
Sam Lantinga
eedd896cb4 Bumped the library version 2001-06-19 13:35:05 +00:00
Sam Lantinga
1d2a08a805 Added patches from FreeBSD ports 2001-06-19 13:33:54 +00:00
Sam Lantinga
d88e914ac0 Fixed the PS2 GS detection 2001-06-16 06:35:36 +00:00
Sam Lantinga
49bf7df612 Added Linux PlayStation 2 Graphics Synthesizer support 2001-06-16 03:17:45 +00:00
Sam Lantinga
046d04bfd8 Added an audio driver that writes to disk (thanks Ryan!) 2001-06-16 01:51:42 +00:00
Sam Lantinga
6fd76c4cb0 Added MacOS X Project Builder projects 2001-06-10 18:20:23 +00:00
Sam Lantinga
2cfda534c8 Disabled /dev/event joystick interface by default 2001-06-10 04:54:53 +00:00
Sam Lantinga
3cbdc6b721 Added initial support for Quartz video (thanks Darrell!) 2001-06-07 14:28:11 +00:00
Sam Lantinga
1f3a3c1630 I found the pthread package for NetBSD 2001-05-27 01:03:39 +00:00
Sam Lantinga
3054e3fd79 *** empty log message *** 2001-05-27 00:38:26 +00:00
Sam Lantinga
c11599ae1a *** empty log message *** 2001-05-27 00:24:43 +00:00
Sam Lantinga
9ef7b4058f Minor fixes for NetBSD 2001-05-27 00:15:42 +00:00
Sam Lantinga
25301330f4 Added native OpenBSD audio driver (thanks vedge!) 2001-05-26 16:58:37 +00:00
Sam Lantinga
0849138dd9 Added detection of Open Sound System on Solaris x86 2001-05-23 00:36:17 +00:00
Sam Lantinga
33d0e09bf7 Added initial support for Nano-X (thanks Hsieh-Fu!) 2001-05-11 01:13:35 +00:00
Sam Lantinga
dc74cc4c2e Updated the Amiga OS port of SDL (thanks Gabriele) 2001-05-10 20:13:29 +00:00
Sam Lantinga
033f17672b Date: Thu, 19 Apr 2001 08:36:54 +0300
From: "Mike Gorchak" <mike@malva.com.ua>
Subject: Patches for QNX RtP

Here my patch for QNX RtP/Photon for SDL-1.2.

Detailed description of my changes:

SDL/configure.in:
   If Photon detected declare define ENABLE_PHOTON.

SDL/src/video/SDL_sysvideo.h:
   Added extern to ph_bootstrap.

SDL/src/video/SDL_video.c:
   Added ph_bootstrap to bootstrap array.

SDL/src/video/photon/SDL_ph_events.c:
   Declare DISABLE_X11 if compiled for Photon.

SDL/src/video/photon/SDL_ph_image.c:
   Fixed segment violation on exit. Please update BUGS file.

SDL/src/video/photon/SDL_ph_video.c:
   1. Enabling window manager.
   2. Added to device capabilities Photon Window Manager functions:
      SetCaption and IconifyWindow.
   3. Renamed X11_bootstrap to ph_bootstrap.
   4. Removed SEGFAULT termination of programs if Photon not available.

SDL/src/video/photon/SDL_ph_wm.c:
   1. Declare DISABLE_X11 if compiled for Photon.
   2. Added ph_SetCaption and ph_IconifyWindow code. (Thanks to
      'phearbear' for iconify window source).
   3. Some stubers for other wm functions.

Thanks !

----------------------------
Mike Gorchak
CJSC Malva
System Programmer
2001-05-10 18:42:17 +00:00
Sam Lantinga
cb6f5e4f26 Added --disable-dga configure option to disable DGA entirely 2001-05-10 18:04:03 +00:00
Sam Lantinga
ffae27155e Changes since SDL 1.2.0 release 2001-04-26 16:50:19 +00:00
Sam Lantinga
5d2015c741 Initial revision 2001-04-26 16:45:43 +00:00