Commit graph

150 commits

Author SHA1 Message Date
Sam Lantinga
edba2cc827 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.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40887
2004-05-06 15:55:06 +00:00
Sam Lantinga
e930e4a0da Increment version...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40885
2004-04-23 14:00:08 +00:00
Sam Lantinga
d97c090d07 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".

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40874
2004-03-07 16:40:15 +00:00
Sam Lantinga
815d80fc5a sed, it's two, two commands in one!
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40869
2004-03-03 06:56:04 +00:00
Sam Lantinga
710da3b0ba 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.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40866
2004-03-02 12:49:16 +00:00
Sam Lantinga
ab5e55b081 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).

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40857
2004-02-24 19:22:22 +00:00
Sam Lantinga
28f51bd31d *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40847
2004-02-20 18:18:20 +00:00
Sam Lantinga
dfd199308f *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40842
2004-02-17 22:00:33 +00:00
Sam Lantinga
0160ec6888 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40839
2004-02-17 18:01:39 +00:00
Patrice Mandin
4114dc9f1a -lgem must appear after -lldg
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40825
2004-02-15 08:32:25 +00:00
Sam Lantinga
12fa222cec Use sigaction instead of signal to preserve handler flags (thanks Matthew!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40815
2004-02-12 16:29:24 +00:00
Sam Lantinga
cd10cd4c74 Fixed static linking on MacOS X (thanks Max!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40808
2004-02-11 07:09:11 +00:00
Sam Lantinga
83ca4b6cb1 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40803
2004-02-08 22:21:30 +00:00
Sam Lantinga
fdf58b5852 Check for altivec assembly support before trying to use it. :)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40796
2004-01-29 16:15:12 +00:00
Patrice Mandin
1c5d8853a5 Add to temporary includes path to find src/video/windx5/directx.h if we build SDL in a different directory
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40781
2004-01-07 18:24:06 +00:00
Sam Lantinga
33e18fa7f9 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40778
2004-01-06 17:16:02 +00:00
Sam Lantinga
f4df35b9ff Max has been reworking this code so it works on MacOS X 10.1
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40769
2004-01-04 16:20:28 +00:00
Sam Lantinga
5e87c6c251 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

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40759
2003-12-18 05:01:47 +00:00
Sam Lantinga
c1d69dc26c Fixed "dist" make target for newer versions of automake
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40755
2003-12-14 06:25:53 +00:00
Sam Lantinga
d182a96b90 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.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40754
2003-12-10 12:35:56 +00:00
Sam Lantinga
ba97e9b788 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.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40751
2003-11-24 21:57:13 +00:00
Sam Lantinga
6a7dcb961e Fixed building cpuinfo under mingw32
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40743
2003-11-19 08:03:10 +00:00
Sam Lantinga
9a9e553e1d Actually hook the cpuinfo module into the library. :)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40741
2003-11-18 02:16:57 +00:00
Sam Lantinga
9842d74f34 Added SDL_HasMMX(), SDL_Has3DNow(), SDL_HasSSE() in SDL_cpuinfo.h
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40740
2003-11-18 01:27:06 +00:00
Sam Lantinga
850993a956 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40732
2003-10-06 09:03:02 +00:00
Patrice Mandin
da78b90b14 Atari CD-ROM support
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40725
2003-09-27 08:20:26 +00:00
Patrice Mandin
002129c506 Files now copied to build directory instead of source directory while configuring
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40724
2003-09-24 21:45:27 +00:00
Sam Lantinga
2aa25e175e 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.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40721
2003-09-21 18:32:04 +00:00
Sam Lantinga
addc0b023e 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.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40720
2003-09-21 18:18:17 +00:00
Sam Lantinga
7bc88e01fd Update SDL version
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40715
2003-09-05 15:19:14 +00:00
Sam Lantinga
e54b45f194 Hopefully this will fix the last of the problems with OBJ depend mode.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40697
2003-08-27 05:14:40 +00:00
Sam Lantinga
7bd086772b 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 :)

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40694
2003-08-23 23:25:46 +00:00
Sam Lantinga
dc54e92e13 Fixed use of SDL with XInitThreads()
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40691
2003-08-23 23:12:19 +00:00
Sam Lantinga
05e09aeff0 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.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40688
2003-08-11 22:28:13 +00:00
Sam Lantinga
42325ef76b The cdrom code doesn't build on MacOS X 10.1, disabled for now...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40685
2003-08-10 07:46:21 +00:00
Sam Lantinga
518fbbf676 *sigh*
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40683
2003-08-09 22:49:28 +00:00
Sam Lantinga
a3ef2001c6 More grumble grumble...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40682
2003-08-09 22:13:38 +00:00
Sam Lantinga
0fb6db7e40 Grumble grumble
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40681
2003-08-09 21:14:26 +00:00
Sam Lantinga
2ab542aaeb Turn dynamic loading of esd and arts on by default
Hmm, what to do about Objective C dependencies....

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40679
2003-08-09 20:36:29 +00:00
Sam Lantinga
9f9fd0ac25 Fixed automake warnings about Objective C support
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40676
2003-08-09 18:19:42 +00:00
Sam Lantinga
b4f8fd7747 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.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40667
2003-08-06 20:20:30 +00:00
Sam Lantinga
9b315c4c85 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.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40664
2003-08-04 00:52:42 +00:00
Sam Lantinga
311d6a8f61 Added audio and CD-ROM support for OSF/Tru64 (thanks Hayashi!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40655
2003-07-22 14:01:21 +00:00
Patrice Mandin
3cbf70a6d1 pmandin: Added Atari LDG shared object loader
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40652
2003-07-16 11:54:13 +00:00
Sam Lantinga
52cb5fc147 Exposed SDL_LoadObject(), SDL_LoadFunction(), and SDL_UnloadObject() APIs
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40649
2003-07-10 07:46:19 +00:00
Sam Lantinga
e3a333deb4 Added RISCOS Makefiles to the configure process
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40648
2003-07-09 15:38:28 +00:00
Patrice Mandin
01983c1d04 Bugfix: some Makefiles in subdirectories created before their upper-level ones
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40641
2003-06-28 21:38:14 +00:00
Sam Lantinga
c8ea4a77eb Added MacOS X CD-ROM audio support (thanks Max and Darrell)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40614
2003-04-15 16:33:56 +00:00
Sam Lantinga
c605928016 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40609
2003-03-09 21:38:18 +00:00
Sam Lantinga
205a296adf IRIX patches from Andrea Suatoni
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40606
2003-03-06 06:12:41 +00:00