Commit Graph

501 Commits

Author SHA1 Message Date
Ryan C. Gordon
b932761626 Fixed building of Windows waveout audio. 2006-11-11 06:48:57 +00:00
Ryan C. Gordon
83a9990de9 Use dummy joystick backend if subsystem is enabled but no better driver was
found.

Fixes Bugzilla #356 (and possibly Bugzilla #350).
2006-11-03 21:48:35 +00:00
Ryan C. Gordon
7f17eb8863 Merged SDL-ryan-multiple-audio-device branch r2803:2871 into the trunk. 2006-10-17 09:15:21 +00:00
Sam Lantinga
d85ec807ec Fixed bug #321
Hi,
if "configure" is given an explicit --libdir, the sdl-config still contains
the default "${exec_prefix}/lib" for runtime linker path.

That should be changed to $libdir, as this is where the library goes to...

Regards,
  Juergen
2006-09-24 00:44:45 +00:00
Sam Lantinga
061f9efd63 Temporarily disabled framebuffer console support for SDL 1.3 2006-09-12 08:45:48 +00:00
Sam Lantinga
dd630ba3e7 The GGI driver hasn't been maintained in 8 years. It's probably safe to remove. :) 2006-08-10 15:15:06 +00:00
Sam Lantinga
00de315a97 David Hedbor is no longer maintaining the Qtopia code. 2006-08-10 14:35:42 +00:00
Sam Lantinga
b27343c5db Implemented X11 OpenGL support.
Added support for the SDL_VIDEO_OPENGL environment variable.
2006-07-28 08:43:17 +00:00
Sam Lantinga
90bdbbe865 PicoGUI is no longer maintained by the author. 2006-07-26 03:55:56 +00:00
Sam Lantinga
8f13f6729b The AAlib driver is fun, but not worth rewriting for SDL 1.3 2006-07-26 03:24:27 +00:00
Sam Lantinga
74a48d3fd5 Hopefully glSDL has been superceded by the OpenGL render driver. 2006-07-26 03:12:05 +00:00
Sam Lantinga
b9c9f87e6d Removing DGA support for SDL 1.3 - it's still buggy years later, and now
it's deprecated by the developers in favor of the render APIs.
2006-07-26 03:06:07 +00:00
Sam Lantinga
13d2dc549f SDL applications no longer need to link with Cocoa (unless they want to) 2006-07-25 07:25:51 +00:00
Sam Lantinga
ab6710f259 The Mac OS X Cocoa video driver is under construction...
Note that SDLmain is no longer necessary on Mac OS X. :)
2006-07-23 09:11:10 +00:00
Sam Lantinga
ab5ee92e21 Fixed building on Mac OS X without the Carbon and Cocoa video drivers 2006-07-16 03:32:06 +00:00
Sam Lantinga
6bc598ea61 SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head. 2006-07-10 21:04:37 +00:00
Sam Lantinga
c439460cf0 Fixed libiconv detection 2006-06-26 16:20:51 +00:00
Sam Lantinga
0c9f2f1373 Fixed problem with nasm hidden visibility detection 2006-06-26 16:15:21 +00:00
Sam Lantinga
1e3df63f46 Almost added Mac OS X nasm support 2006-06-26 05:27:15 +00:00
Sam Lantinga
5ffeed6e77 Updated the version to 1.2.11 2006-06-25 18:07:34 +00:00
Sam Lantinga
31f87f2ec4 Default the X11 dynamically loading on if the OS loader loads libraries
with their private symbols hidden.  If that isn't the case, and someone
tries to enable it anyway, spit out a warning and don't let them do it.
2006-06-23 08:39:05 +00:00
Ryan C. Gordon
60494120d4 Only allow dynamic X11 if gcc4 (-fvisibility=hidden) is used.
Fixes Bugzilla #242.
2006-06-23 02:19:52 +00:00
Sam Lantinga
8cba9367ac Fixed bug #157
[patch tweaked to handle older nasm, which doesn't support :function syntax]

------- Comment #5 From Mike Frysinger 2006-05-22 01:24 [reply] -------
Created an attachment (id=132) [edit]
libsdl-hidden-nasm.patch

here's the patch i posted here:
http://www.libsdl.org/pipermail/sdl/2006-March/073618.html

this will hide the symbols dynamically if the build nasm/yasm supports the
hidden stuff ... in other words, this patch should be safe with both older and
new versions of nasm/yasm
2006-06-21 07:57:34 +00:00
Sam Lantinga
59febc5fb6 Bug #250, pkg-config support contributed by Mikael Eriksson 2006-06-20 05:49:20 +00:00
Sam Lantinga
61cc023f8a Moved DirectInput joystick code to 1.3 branch 2006-05-21 17:26:40 +00:00
Sam Lantinga
c0441f5cf0 Closed bug #74
Added DirectInput joystick code, contributed by Glenn Maynard.

This fixes a problem with the Windows Multimedia joystick driver
not showing all 6 axes on a GameCube controller converter, which
was donated by Jacob Kolding.
2006-05-21 16:47:41 +00:00
Sam Lantinga
6c637d1391 DragonFly BSD has an older version of VGL which SDL doesn't support. 2006-05-15 12:22:58 +00:00
Sam Lantinga
d9c0a5a7ce OpenBSD doesn't ship with X11 library major version symlinks 2006-05-15 07:24:24 +00:00
Patrice Mandin
7aa8ae8c50 Use the right variables to set stuff for sdl-config script 2006-05-12 16:24:30 +00:00
Sam Lantinga
a0f8ca7537 Whoops, need a space after dnl to make it meaningful. :) 2006-05-12 04:18:32 +00:00
Sam Lantinga
e0ba1178f4 Should we always look in /usr/local when compiling natively?
I'm guessing we probably should, but I don't remember why this
was added in the first place.  I'm disabling it for now...
2006-05-11 23:37:13 +00:00
Sam Lantinga
3791783c76 Date: Thu, 11 May 2006 17:09:17 -0400
From: Mike Frysinger
Subject: [SDL] [patch] teach configure about uClinux

the current configure script doesnt know about the uclinux target so this
patch fixes that
-mike
2006-05-11 23:26:45 +00:00
Sam Lantinga
e31e073820 sdl-config doesn't include the OpenGL library in --libs 2006-05-11 04:16:39 +00:00
Sam Lantinga
7abf11dbcb Only set Mac OS X default if both parameters are left default 2006-05-10 15:21:14 +00:00
Sam Lantinga
f943de3c42 2006-05-10 15:00:30 +00:00
Sam Lantinga
b9caf9b751 Added hardcoded /usr/X11R6 path so GLX detection works on Mac OS X. 2006-05-10 14:59:08 +00:00
Sam Lantinga
17a4d6b1d7 Fixed X11 support on Mac OS X Universal build 2006-05-10 05:17:58 +00:00
Sam Lantinga
556a504e41 Fixed bug #203
Disable screensaver and DPMS blanking while SDL app is running.
2006-05-08 06:38:13 +00:00
Sam Lantinga
7ff14ade60 Only use -fvisibility=hidden if SDL will define some symbols as available. :) 2006-04-29 04:08:40 +00:00
Sam Lantinga
ac89c28826 Fixed bug #206, fatbuild.sh works flawlessly on Intel Macs 2006-04-28 05:38:06 +00:00
Sam Lantinga
791ead7bbf Mac OS X fat build works! :) 2006-04-22 19:17:14 +00:00
Sam Lantinga
38391f800d Use the MAKE variable when available 2006-04-17 03:58:29 +00:00
Sam Lantinga
61cc027d1e Miscellaneous Mac OS X fixes 2006-04-17 03:34:28 +00:00
Sam Lantinga
b07f4df56c Date: Fri, 31 Mar 2006 18:28:55 -0500
From: Mike Frysinger
Subject: [SDL] [patch] touchup configure --help output

the current output includes a lot of "default=yes" stuff in it ... except that
it lacks the [] around it

patch attached to fix the situation
2006-04-14 06:03:09 +00:00
Sam Lantinga
5022b21d68 Don't check dlopen on Mac OS X, to retain 10.2 compatibility 2006-04-13 15:36:27 +00:00
Sam Lantinga
b062c353b4 Fixed bug #185
The SDL platform header shouldn't dictate the OS target API for other
applications.  The build system should define the target API for building
SDL internally.
2006-04-13 14:14:06 +00:00
Sam Lantinga
45300d166b Fixed bug #193
The attached patch is mostly cosmetic: Currently, we always add both -framework
OpenGL and -framework AGL for Mac OS X command line builds.

However, the former is only used for the Cocoa video driver, and the latter
only for the Carbon video driver (as far as I can tell, at least). Hence the
attached patch modifies configure.in so that each only gets added to the list
of frameworks if the corresponding video driver is enabled.
2006-04-13 13:30:21 +00:00
Sam Lantinga
6515a030f1 Fixed bug #192
The change made to sdl-config.in on March 18 (rev 11, see
http://www.libsdl.org/cgi/cvsweb.cgi/SDL12/sdl-config.in), broke static linking
under Mac OS X for unix style build systems. In other words, "sdl-config
--static-libs" no longer produces the correct output, as it is missing the
required -framework switches.

The attached patch fixes this.
2006-04-13 13:29:00 +00:00
Sam Lantinga
b0519469db Fixes bug #195:
The proper name of Apple's operating system is "Mac OS X" not "MacOS X", as can
bee seen in many places, for example http://www.apple.com/macosx/). This
contrasts the naming of the old operating system, which was called "MacOS" and
today is often refered to as "MacOS Classic".

The attached patches fixes the misuse of the name "MacOS X" in both the SDL12
and sdlweb CVS modules.
2006-04-13 13:08:26 +00:00
Sam Lantinga
c4cb7306d5 Fixed bug #177
The attached patch changes configure.in to use "-framework FOO" instead of
"-Wl,-framework,FOO".

This avoid some issues with certain versions of libtool that do not handle
-framework properly.
Some versions of libtool will try to reorder the two parts of the option, or
render the 2nd part of the argument to the relative path of a non-existent
library.

Note: It is not enough if SDL uses a version of libtool that does this
correctly, because these -framework options show up in "sdl-config --libs".
Hence, some 3rd party apps which still ship with an old libtool have troubles
compiling under Mac OS X.
2006-03-24 05:11:51 +00:00
Sam Lantinga
c7a3093842 ls shouldn't barf if it gets passed a path starting with - (e.g. -lesd) 2006-03-23 21:46:24 +00:00
Sam Lantinga
7c5871f90d Fixed DirectFB detection 2006-03-23 17:31:12 +00:00
Sam Lantinga
55ff16fe29 Hopefully fixed up DirectFB detection 2006-03-23 15:25:30 +00:00
Sam Lantinga
f5ef7406e0 Better wscons detection 2006-03-23 07:44:52 +00:00
Sam Lantinga
041bc24207 Lines swapped to match ordering elsewhere 2006-03-22 22:42:44 +00:00
Ryan C. Gordon
b1bcd26c92 Xrandr support in the X11 target.
Fixes Bugzilla #109, and as a bonus, Bugzilla #145, too!
2006-03-22 11:13:58 +00:00
Sam Lantinga
aa79b0594b Improved DirectFB install detection 2006-03-22 09:18:10 +00:00
Sam Lantinga
d48c53fb8f Default to use the visibility attribute, on gcc (is this okay?) 2006-03-22 04:51:44 +00:00
Ryan C. Gordon
b08954dad5 Added support for gcc4's -fvisibility=hidden option.
Fixes Bugzilla #169.
2006-03-22 01:28:36 +00:00
Sam Lantinga
e91878c9d5 Add /usr/local to the build paths by default 2006-03-21 10:38:41 +00:00
Sam Lantinga
e4ef688966 Fixed bug #167
The configure script parses the value of $X_LIBS when looking at the
--enable-x11-shared, which is getting set on Ubuntu 5.10 to "-L/usr/X11R6/lib"
... however, Ubuntu stores all the Xlib stuff in /usr/lib.

The end result in SDL is that the dynamic X11 stuff gets disabled by default,
unless you override like this:

 ./configure --x-libraries=/usr/lib
2006-03-21 09:51:33 +00:00
Sam Lantinga
2c5f72ddbf Good idea, renaming OpenBSD audio to BSD audio. 2006-03-21 09:33:54 +00:00
Sam Lantinga
4dcc7dca01 Allow adding to the INCLUDE path
Allow overriding the NASMFLAGS
2006-03-21 09:24:10 +00:00
Sam Lantinga
7978390e19 Fixed bug #52
Integrated most of the NetBSD and DragonFly patches at:
ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/devel/SDL/patches/

Thanks to Thomas Klausner for defailed information on the patches
2006-03-21 08:54:50 +00:00
Sam Lantinga
562ac5c5fb Fixed bug #84
Actually implemented banked update for SVGAlib
2006-03-19 19:03:40 +00:00
Sam Lantinga
e53a0fc3a1 Fixed bug #89
Date: Sun, 23 Oct 2005 16:39:03 +0200
From: "A. Schmid" <sahib@phreaker.net>
Subject: [SDL] no software surfaces with svgalib driver?

Hi,

I noticed that the SDL (1.2.9) svgalib driver only makes use of linear
addressable (framebuffer) video modes. On older systems (like one of
mine), linear addressable modes are often not available.
Especially for cards with VESA VBE < 2.0 the svgalib vesa driver is
unusable, since VESA only supports framebuffering for VBE 2.0 and later.

The changes necessary to add support for software surfaces seem to be
relatively small. I only had to hack src/video/svga/SDL_svgavideo.c (see
attached patch). The code worked fine for me, but it is no more than a
proof of concept and should be reviewed (probably has a memory leak when
switching modes). It also uses the vgagl library (included in the
svgalib package) and needs to be linked against it.

-Alex
2006-03-19 12:05:16 +00:00
Sam Lantinga
b4a7fb3471 Fixed bug #166
From the autoconf obsolete macros documentation:
Macro: AC_CANONICAL_SYSTEM

    Determine the system type and set output variables to the names of the canonical system types. See section Getting the Canonical System Type, for details about the variables this macro sets.

    The user is encouraged to use either AC_CANONICAL_BUILD, or AC_CANONICAL_HOST, or AC_CANONICAL_TARGET, depending on the needs. Using AC_CANONICAL_TARGET is enough to run the two other macros.

From the documentation for the canonical environments:
case $target in
i386-*-mach* | i386-*-gnu*)
             obj_format=aout emulation=mach bfd_gas=yes ;;
i960-*-bout) obj_format=bout ;;
esac

Note that the above example uses $target because it's taken from a tool which can be built on some architecture ($build), run on another ($host), but yet handle data for a third architecture ($target). Such tools are usually part of a compiler suite, they generate code for a specific $target.

However $target should be meaningless for most packages. If you want to base a decision on the system where your program will be run, make sure you use the $host variable.
2006-03-19 05:27:22 +00:00
Sam Lantinga
eacad52dc2 EXTRA_LDFLAGS are the linker flags and libraries needed to build SDL.
SDL_LIBS are the linker flags and libraries needed to build SDL applications.
SDL_STATIC_LIBS is set to SDL_LIBS by default.
2006-03-18 18:41:59 +00:00
Patrice Mandin
29e12046e6 I did not find in configure.in where SYSTEM_LIBS where set for other platforms, and why I did not have required extra libraries added in sdl-config, so I set it there 2006-03-17 19:54:39 +00:00
Ryan C. Gordon
58b18d03af Implemented dummy audio driver.
Fixes Bugzilla #161.
2006-03-14 08:53:33 +00:00
Sam Lantinga
84f5e115fd CFLAGS are separate from EXTRA_CFLAGS
Fixed iconv.h detection on Cygwin32
2006-03-14 02:46:26 +00:00
Sam Lantinga
c43f4f0dcb Add the NAS library directory, since X11 is dynamically loaded now...
FIXME: See if we can dynamically load NAS
2006-03-13 18:01:34 +00:00
Sam Lantinga
3227f8dde8 Added _strnicmp support 2006-03-13 02:12:39 +00:00
Sam Lantinga
2b03f1c722 Win32 fixes 2006-03-13 02:06:33 +00:00
Sam Lantinga
48c546dc44 Added UTF-8 <-> UTF-16 <-> UTF-32 <-> UCS-2 <-> UCS-4 conversion capability 2006-03-13 01:08:00 +00:00
Patrice Mandin
99261d0ad8 Add missing asm source files 2006-03-06 18:42:30 +00:00
Sam Lantinga
f4dcd82dfd Don't put X_LIBS in the linker flags if we're dynamically loading X11 2006-03-06 01:05:11 +00:00
Sam Lantinga
61412b370c Removed accidentally copied/pasted script for ALSA detection
It's only a warning if dynamic loading code isn't possible.
2006-03-06 00:50:03 +00:00
Sam Lantinga
26df4ca527 Date: Wed, 01 Mar 2006 10:14:31 +0000
From: "alan buckley"
Subject: Re: Updating SDL for RISC OS

I've attached a zip file with three diffs to get SDL to build on RISC OS.

configure.in.diff and makedeps.sh.diff have been modified so that they
can build the assembler file in video/riscos. You may want to double
check these as I don't know a lot about unix shell programming.
(I've tested them cross-compiling on cygwin).

sdlsysthread.diff is the changes required to SDL_systhread.c for RISC
OS. As you suspected with these changes in place you can delete the
RISC OS specific threading code in thread/riscos.

I've also renamed SDL_riscosASM.s to SDL_riscosASM.S, but I'm never
quite sure how to rename files in CVS, so if you could to this it would
be appreciated.
2006-03-02 03:24:20 +00:00
Sam Lantinga
62c5e3a5d5 Fixed a bunch of 64-bit compatibility problems 2006-03-01 09:43:47 +00:00
Sam Lantinga
0f103dc386 *** empty log message *** 2006-02-27 18:58:12 +00:00
Ryan C. Gordon
f5dcc43c09 Need this or things might misbuild on G3 Mac OS, I think.
Potentially fixes Bugzilla #148.
2006-02-27 01:32:12 +00:00
Sam Lantinga
e2c692b018 Date: Sun, 26 Feb 2006 11:25:09 +0900
From: Hayashi Naoyuki
Subject: Re: [SDL] CVS stable again, please update SDL ports

Some problems are caused on Tru64 UNIX.
If applying SDL12-osf1.path, these problems are fixed.


1. configure-script say "recursive mutexes... no" and "pthread
semaphores... no".
checking for pthreads... yes
checking for recursive mutexes... no
checking for pthread semaphores... no

This is because it compiled without pthread_cflags and pthread_lib when
checking recursive mutexes and pthread semaphores.


2. Compiling src/audio/mme/SDL_mmeaudio.c fails.
cc: Severe: ./src/audio/mme/SDL_mmeaudio.c, line 25: Cannot find file
<mme_api.h> specified in #include directive. (noinclfilef)
#include <mme_api.h>
-^

This is because BUILD_CFLAGS is wrong.


3. Compiling src/cdrom/osf/SDL_syscdrom.c fails.
cc: Warning: ./src/cdrom/osf/SDL_syscdrom.c, line 176: Too few actual
parameters in the invocation of the macro "SDL_stack_alloc". (toofewactuals)
        cdpath = SDL_stack_alloc(len);
------------------------------------^
cc: Error: ./src/cdrom/osf/SDL_syscdrom.c, line 176: Invalid expression.
(badexpr)
        cdpath = SDL_stack_alloc(len);
-----------------^

SDL_stack_alloc is defined in include/SDL_stdinc.h.
#define SDL_stack_alloc(type, count)    (type*)alloca(sizeof(type)*count)


4. Linking fails if running configure with --enable-x11-shared=yes.
/usr/ccs/bin/ld:
Warning: Unresolved:
p_XData32


5. Compiling src/video/x11/SDL_x11dyn.c fails if running configure with
--enable-x11-shared=no.
cc: Error: ./src/video/x11/SDL_x11sym.h, line 149: In this statement,
"_SmtBufferOverflow" is not declared. (undeclared)
SDL_X11_SYM(1,void,_SmtBufferOverflow,(Display *dpy,register smtDisplayPtr))
^
cc: Error: ./src/video/x11/SDL_x11sym.h, line 150: In this statement,
"_SmtBufferOverflow" is not declared. (undeclared)
SDL_X11_SYM(1,void,_SmtBufferOverflow,(Display *dpy,register smtDisplayPtr))
^
cc: Error: ./src/video/x11/SDL_x11sym.h, line 150: In this statement,
"_SmtIpError" is not declared. (undeclared)
SDL_X11_SYM(1,void,_SmtIpError,(Display *dpy,register smtDisplayPtr, int))
^
2006-02-26 04:54:01 +00:00
Sam Lantinga
190b425364 Use consistent identifiers for the various platforms we support.
Make sure every source file includes SDL_config.h, so the proper system
headers are chosen.
2006-02-21 08:46:50 +00:00
Sam Lantinga
67bb54a064 *** empty log message *** 2006-02-20 23:18:49 +00:00
Sam Lantinga
7724ea509a Whoops. :) 2006-02-20 22:17:05 +00:00
Sam Lantinga
e4dc61adfb Added rules to build libSDLmain.a
Reverted Patrice's mint changes - you should fix the source files, not
add include paths to the build process.
2006-02-20 22:15:38 +00:00
Patrice Mandin
13fff1e268 Add missing include directories 2006-02-20 20:53:52 +00:00
Sam Lantinga
4511ef7380 Pass LDFLAGS to the build system 2006-02-20 20:08:29 +00:00
Sam Lantinga
1badb7bebc Fixed X11 library detection
Allow passing CFLAGS for the build in the environment
2006-02-20 11:30:29 +00:00
Sam Lantinga
055b401cac build fixes for IRIX 6.5 - dynamic X11 loading works! :) 2006-02-20 08:49:00 +00:00
Sam Lantinga
35a29575fc NetBSD support 2006-02-20 03:57:03 +00:00
Sam Lantinga
65aa0aef4d Completely removed dependency on automake 2006-02-20 02:09:49 +00:00
Sam Lantinga
0ef73d9eae Use only safe string functions 2006-02-19 23:46:34 +00:00
Sam Lantinga
8cca5f73c6 *** empty log message *** 2006-02-19 19:38:27 +00:00
Sam Lantinga
ffcf29eab9 QuickTime depends on Carbon and ApplicationServices 2006-02-19 17:38:32 +00:00
Sam Lantinga
278934ee01 *** empty log message *** 2006-02-19 16:42:18 +00:00
Sam Lantinga
c422a88e93 Detect the X11 library on Solaris x86 2006-02-18 07:11:58 +00:00
Sam Lantinga
49255e3fa6 Fixes for BeOS and Solaris builds 2006-02-17 08:43:23 +00:00
Sam Lantinga
ce9148fdf0 spaces, not tabs. :) 2006-02-16 23:32:39 +00:00
Patrice Mandin
b148e4efd7 Add missing clause 2006-02-16 22:33:34 +00:00
Patrice Mandin
229acf7303 Fix typo 2006-02-16 22:00:06 +00:00
Sam Lantinga
9f4d5a314a Fixed building with cygwin 2006-02-16 20:17:43 +00:00
Sam Lantinga
f05187e232 New configure-based build system. Still work in progress, but much improved 2006-02-16 10:11:48 +00:00
Sam Lantinga
20c4849e7e Fixed build problem with SDL_string.c
Officially deprecated SDL_byteorder.h, SDL_getenv.h and SDL_types.h
Moved endian-related SDL_rwops code into SDL_rwops.c
2006-02-09 09:38:05 +00:00
Sam Lantinga
8df54cd371 Started the process of improving configure support, and merging C types
and library support into a single header.
2006-02-09 09:07:13 +00:00
Sam Lantinga
35665a2a6c Disable freaking autoheader. :) 2006-02-09 05:46:55 +00:00
Sam Lantinga
46a48c3887 Check for strtod 2006-02-08 09:06:34 +00:00
Sam Lantinga
d72a9898ed Configure dynamically generates SDL_config.h
I'm still wrestling with autoheader, but this should work for now...
Fixed lots of build problems with C library support disabled
2006-02-07 12:11:33 +00:00
Sam Lantinga
82bfaee73a It's now possible to build SDL without any C runtime at all on Windows,
using Visual C++ 2005
2006-02-06 08:28:51 +00:00
Sam Lantinga
f6f8aefcd1 Favor using pthread_mutexattr_settype() on Linux. 2006-02-03 06:33:54 +00:00
Sam Lantinga
b73cf4226a *** empty log message *** 2006-02-01 04:23:41 +00:00
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