Commit graph

367 commits

Author SHA1 Message Date
Sam Lantinga
6d80d8fe14 Shark rules!
* Loop optimization for Mac OS X - should this generally be applied?

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402600
2007-08-13 03:03:23 +00:00
Sam Lantinga
98ce0f8871 Better windres detection
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402554
2007-07-18 04:05:40 +00:00
Sam Lantinga
2094bfe8bf Added support for building version.rc in Windows build.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402549
2007-07-16 03:28:48 +00:00
Bob Pendleton
abcafc2125 This code adds support for DirectColor visuals to SDL 1.3. The support uses part of the Xmu library. To ensure that the library is
available and to keep people form having to install yet another library I have added the essential parts of Xmu in
src/video/extensions/XmuStdCmap and an include file in src/video/extensions. The support makes use of standard X11 mechanisms to
create color maps and make sure that an application uses the same color map for each window/visual combination. This should make it
possible for gamma support to be implemented based on a single color map per application.

Hurm... it looks like "make indent" modified a few extra files. Those are getting committed too.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402509
2007-07-12 20:00:50 +00:00
Sam Lantinga
7347a1dbeb NAS dynamic loading is going to be have to looked at... *sigh*
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402467
2007-07-10 15:51:17 +00:00
Sam Lantinga
f7d87960f4 Merged part of NetBSD pkgsrc patch-aj:
chunk 2:
-L/usr/lib is unnecessary

chunk 3:
Better DragonFly support.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402453
2007-07-10 04:45:50 +00:00
Sam Lantinga
ebb5b5a02b I'm not sure this is a good idea yet, since it adds a unicows.dll redistribution requirement on windows, but adding unicows allows SDL 1.3 to run on Windows 98.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402420
2007-07-05 05:28:08 +00:00
Sam Lantinga
e46d127288 Fixed assembly relocation problems, so we can check for NASM on Mac OS X.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402397
2007-07-02 02:49:34 +00:00
Ryan C. Gordon
278c83218c Merged r3088:3089 from branches/SDL-1.2: yasm/nasm command line fix.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402367
2007-06-16 05:52:34 +00:00
Ryan C. Gordon
78f4e16e9b Merge r3079:3080 from branches/SDL-1.2: disable glX if no glu.h header.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402359
2007-06-15 12:27:43 +00:00
Ryan C. Gordon
3ed9f2bf42 Merged r3042:3043 from branches/SDL-1.2: legacy yasm fix.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402329
2007-06-04 11:08:25 +00:00
Ryan C. Gordon
80b5574384 Mac OS X port always links with IOKit framework in SDL 1.3.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402304
2007-04-04 10:41:00 +00:00
Ryan C. Gordon
8c1ec8081f Merged r3009:3011 from branches/SDL-1.2: Skip subsystem on --disable-joysticks.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402303
2007-04-04 10:39:16 +00:00
Ryan C. Gordon
aa48694b67 Merged r2981:2982 from branches/SDL-1.2: fbcon getpagesize() compile fix.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402274
2007-02-15 23:57:07 +00:00
Patrice Mandin
3005ce1b38 make enable match name
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402258
2007-02-08 21:54:18 +00:00
Ryan C. Gordon
391d73e37b From: Torsten Giebl
Subject: ALLOCA Patch for SDL-1.2
Newsgroups: gmane.comp.lib.sdl
Date: 2006-10-24 00:31:16 GMT

Hello !

As alloca.h is not available on CYGWIN and MinGW32
it should not be checked there or it should be checked
with -mno-cygwin using.

I am a total configure.in newbie, but i found the way
that things are handled in configure.in pretty bad for the
case CYGWIN with MinGW Mode or not.

Maybe this is not possible but i would like to
have a way to detect at the start for example CYGWIN
and then add. ask if configure was called with --enable-cygwin
for example. --enable-cygwin should be optional and disabled
by default as we want to have MinGW Mode by default.

Only if the user wants it he should be able to use it.

Then the whole configure.in would get add. questions
okay the system is CYGWIN with or without MinGW Mode.

The alloca.h thing for example is only
available under CYGWIN ( without MinGW Mode ).

CU

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402243
2006-12-01 20:25:03 +00:00
Ryan C. Gordon
2a14d5cdca Fixed building of Windows waveout audio.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402228
2006-11-11 06:48:57 +00:00
Ryan C. Gordon
0966f84b76 Use dummy joystick backend if subsystem is enabled but no better driver was
found.

Fixes Bugzilla #356 (and possibly Bugzilla #350).

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402219
2006-11-03 21:48:35 +00:00
Ryan C. Gordon
0089ba6cbe Merged SDL-ryan-multiple-audio-device branch r2803:2871 into the trunk.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402195
2006-10-17 09:15:21 +00:00
Sam Lantinga
a0b47a8c35 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

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402112
2006-09-24 00:44:45 +00:00
Sam Lantinga
ac911fde85 Temporarily disabled framebuffer console support for SDL 1.3
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402073
2006-09-12 08:45:48 +00:00
Sam Lantinga
03794d9be1 The GGI driver hasn't been maintained in 8 years. It's probably safe to remove. :)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402028
2006-08-10 15:15:06 +00:00
Sam Lantinga
f63cb9f282 David Hedbor is no longer maintaining the Qtopia code.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402024
2006-08-10 14:35:42 +00:00
Sam Lantinga
931e1c106d Implemented X11 OpenGL support.
Added support for the SDL_VIDEO_OPENGL environment variable.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401998
2006-07-28 08:43:17 +00:00
Sam Lantinga
126d32c582 PicoGUI is no longer maintained by the author.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401991
2006-07-26 03:55:56 +00:00
Sam Lantinga
81cdb586d2 The AAlib driver is fun, but not worth rewriting for SDL 1.3
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401990
2006-07-26 03:24:27 +00:00
Sam Lantinga
bd9931afdd Hopefully glSDL has been superceded by the OpenGL render driver.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401988
2006-07-26 03:12:05 +00:00
Sam Lantinga
da98d71bff 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.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401986
2006-07-26 03:06:07 +00:00
Sam Lantinga
695c12d655 SDL applications no longer need to link with Cocoa (unless they want to)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401985
2006-07-25 07:25:51 +00:00
Sam Lantinga
6822a805b4 The Mac OS X Cocoa video driver is under construction...
Note that SDLmain is no longer necessary on Mac OS X. :)

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401976
2006-07-23 09:11:10 +00:00
Sam Lantinga
104c5abf24 Fixed building on Mac OS X without the Carbon and Cocoa video drivers
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401955
2006-07-16 03:32:06 +00:00
Sam Lantinga
0f030a1802 SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401938
2006-07-10 21:04:37 +00:00
Sam Lantinga
862de2d82b Fixed libiconv detection
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401911
2006-06-26 16:20:51 +00:00
Sam Lantinga
5b2feecb99 Fixed problem with nasm hidden visibility detection
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401909
2006-06-26 16:15:21 +00:00
Sam Lantinga
cb4f15a094 Almost added Mac OS X nasm support
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401905
2006-06-26 05:27:15 +00:00
Sam Lantinga
8c7a772ffd Updated the version to 1.2.11
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401901
2006-06-25 18:07:34 +00:00
Sam Lantinga
ccd4d68be0 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.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401884
2006-06-23 08:39:05 +00:00
Ryan C. Gordon
1f8047fa4e Only allow dynamic X11 if gcc4 (-fvisibility=hidden) is used.
Fixes Bugzilla #242.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401880
2006-06-23 02:19:52 +00:00
Sam Lantinga
d94573621a 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

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401873
2006-06-21 07:57:34 +00:00
Sam Lantinga
a4191d397d Bug #250, pkg-config support contributed by Mikael Eriksson
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401862
2006-06-20 05:49:20 +00:00
Sam Lantinga
f2d67baf34 Moved DirectInput joystick code to 1.3 branch
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401821
2006-05-21 17:26:40 +00:00
Sam Lantinga
fe915b7a0a 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.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401820
2006-05-21 16:47:41 +00:00
Sam Lantinga
3e2af2ef39 DragonFly BSD has an older version of VGL which SDL doesn't support.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401797
2006-05-15 12:22:58 +00:00
Sam Lantinga
059fc960c8 OpenBSD doesn't ship with X11 library major version symlinks
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401795
2006-05-15 07:24:24 +00:00
Patrice Mandin
cd492956f5 Use the right variables to set stuff for sdl-config script
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401786
2006-05-12 16:24:30 +00:00
Sam Lantinga
9e91188591 Whoops, need a space after dnl to make it meaningful. :)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401784
2006-05-12 04:18:32 +00:00
Sam Lantinga
dc8db021be 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...

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401783
2006-05-11 23:37:13 +00:00
Sam Lantinga
84a89b45e5 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

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401781
2006-05-11 23:26:45 +00:00
Sam Lantinga
8ead6868f9 sdl-config doesn't include the OpenGL library in --libs
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401774
2006-05-11 04:16:39 +00:00
Sam Lantinga
f557a45feb Only set Mac OS X default if both parameters are left default
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401768
2006-05-10 15:21:14 +00:00