Commit Graph

5003 Commits

Author SHA1 Message Date
Mike Gorchak
8554a00051 Initial support for fullscreen application modes. 2009-10-12 19:47:01 +00:00
Mike Gorchak
6bf136c551 Photon SDL renderer almost finished, the double/tripple buffering is left only. 2009-10-12 11:45:01 +00:00
Sam Lantinga
46d753c1c0 Joystick patch from FreeBSD ports system 2009-10-12 09:42:50 +00:00
Mike Gorchak
efaf0e3ff1 Continue working on 2D support in Photon. 2009-10-12 08:21:43 +00:00
Mike Gorchak
db200ea8ad Continue working on 2D support in Photon 2009-10-11 18:45:39 +00:00
Sam Lantinga
a3edbfcc4f A better solution to making the default build optimization -O3
Cygwin32 autoconf complains about c.m4 ... of course. :)
2009-10-11 10:38:38 +00:00
Sam Lantinga
acbb4b1668 Whoops, the ProjectDir is one level lower than the SolutionDir 2009-10-11 10:30:47 +00:00
Sam Lantinga
1ac23708d4 stefanullinger to me
I updated and wanted to compile SDL, but it does not work.
The reason is the new pre-build step.

Currently it says:

"if exist $(SolutionDir)\..\include\SDL_config.h goto SDLCONFIGOKAY
echo Copying SDL_config_win32.h to SDL_config.h...
copy $(SolutionDir)\..\include\SDL_config_win32.h $(SolutionDir)\..\include\SDL_config.h
:SDLCONFIGOKAY

if exist $(SolutionDir)\..\include\SDL_revision.h goto SDLREVISIONOKAY
echo Creating stub SDL_revision.h file...
echo #define SDL_REVISION 0 >$(SolutionDir)\..\include\SDL_revision.h
:SDLREVISIONOKAY"


So ... the problem with this lines is, that they lookup the SolutionDir...
I think it should use the ProjectDir here!
I - for example - want to use SDL within my engine...
So my engine is the solutionDir...not SDL...SDL is just a sub-project.

I think you should change this, shouldn't you?!

Regards,
Stefan
2009-10-11 10:22:22 +00:00
Sam Lantinga
7f96993d52 pkg-config replaced sdl-config in these cases. 2009-10-11 07:12:24 +00:00
Sam Lantinga
e0de9cb1dc Fixed bug #31
Set the default optimization level to -O3
2009-10-11 06:44:50 +00:00
Sam Lantinga
6bd4c6aa77 gcc can't generate dependencies for a file that doesn't exist, so first create SDL_revision.h 2009-10-11 06:42:20 +00:00
Sam Lantinga
a58f375b9d This is crazy. In order to override the default optimization for GCC,
we actually have to include the core autoconf C compiler macro suite.
2009-10-11 06:33:34 +00:00
Mike Gorchak
45dab6140e Continue working on 2D support for Photon/QNX. 2009-10-10 20:15:20 +00:00
Sam Lantinga
8cdbbc931c Matěj Týč 2009-10-05 14:09:03 PDT
patched to comply to the up-to-date autoconf
2009-10-10 18:37:35 +00:00
Mike Gorchak
696387e501 Revert back. Sorry. 2009-10-10 17:07:49 +00:00
Mike Gorchak
3bc25487ba Added phrender library linkage for QNX target. 2009-10-10 15:22:16 +00:00
Mike Gorchak
0083177b43 Call CommonQuit() at exit has been added. 2009-10-10 13:22:05 +00:00
Mike Gorchak
2b98843157 Created windows must be destroyed at CommonQuit(). 2009-10-10 13:21:21 +00:00
Sam Lantinga
44e7c1bd41 Debian patch: 218_joystick_memmove.diff 2009-10-10 10:02:17 +00:00
Sam Lantinga
8e2baf9026 Fixed bug #833
Fixed errors with older autoconf
2009-10-10 09:58:24 +00:00
Sam Lantinga
f694f1de5e Whoops, FreeBSD 6.2 doesn't define __FreeBSD_kernel_version 2009-10-10 09:44:04 +00:00
Sam Lantinga
73b823bca8 Adapted from Debian patch: 215_kfreebsd_gnu.diff 2009-10-10 09:36:12 +00:00
Sam Lantinga
d772434d29 Made typedef for SDL_bool the same as the other typedefs.
If this causes problems on any compiler, please report a bug to
http://bugzilla.libsdl.org/
and include the platform and version of compiler you're using.
2009-10-10 09:22:20 +00:00
Mike Gorchak
61a236b4a6 Support for the atomic operations for ARM, PPC, MIPS, SH, X86 platforms has been added. 2009-10-10 08:06:18 +00:00
Sam Lantinga
447cbc2563 Fixed bug #627
Increased accuracy of alpha blend calculation
2009-10-10 07:48:57 +00:00
Ryan C. Gordon
3842b74b75 Merged r4990:4991 from branches/SDL-1.2: ALSA 1.0 API and dlvsym() removal. 2009-10-10 07:34:15 +00:00
Sam Lantinga
f81eec596a typo 2009-10-10 06:51:42 +00:00
Ryan C. Gordon
e189bdc695 Use new 1.3 API for getting audio driver name. 2009-10-10 06:39:59 +00:00
Ryan C. Gordon
22051c78fb Added some debug output to loopwave.c 2009-10-10 06:32:11 +00:00
Sam Lantinga
6d525eb2f6 Use test instead of [ because that's an m4 quote character 2009-10-10 05:27:59 +00:00
Sam Lantinga
f0329e3a42 Fixed bug #830
Added pre-build step to generate required headers
2009-10-08 09:37:58 +00:00
Sam Lantinga
94640ca082 Fixed bug #830
Added pre-build step to generate required headers
2009-10-08 09:32:07 +00:00
Ryan C. Gordon
2de6e72ecb Merged r4974:4975 from branches/SDL-1.2: sdl.pc removal on make uninstall.
Fixes Bugzilla #813 for the 1.3 branch.
2009-10-08 09:14:31 +00:00
Sam Lantinga
f6c6641f6b Fixed bug #828
Added support for --disable-dependency-tracking to configure.in
2009-10-08 09:07:58 +00:00
Sam Lantinga
806d6e3c33 Update config.guess and config.sub 2009-10-08 07:08:45 +00:00
Sam Lantinga
09e9a86edc The SDL 1.3 documentation will be primarily online wiki based:
http://wiki.libsdl.org/

Please contact Lauren MacDonell laleh_aziz cox.net who is coordinating it.
2009-10-07 14:29:59 +00:00
Sam Lantinga
fd634c92af SuSE 11.1 installs directfb-config without directfb-devel, so check to
make sure the development headers are actually available!
2009-10-07 06:11:53 +00:00
Sam Lantinga
f0366c3990 Reminder, add multiple icon sizes! 2009-10-07 04:32:04 +00:00
Sam Lantinga
91a34da553 Upgrading libtool didn't fix bug #499 2009-10-07 04:31:45 +00:00
Sam Lantinga
4148ddc4be Eric Wing to Sam
Also noticed the SDL.h header in 1.3 didn't have the /** for the methods while testing. Attached is a quick fix patch.
2009-10-06 03:34:10 +00:00
Sam Lantinga
3938d4d55d Eric Wing to Sam
Sorry, here's another small fix.
I changed two options in the Doxyfiles in the XcodeDocSet directories which should allow at least a brief description to be seen in Quick Help.
2009-10-06 03:33:10 +00:00
Sam Lantinga
698d5c125f Updated libtool to version 2.2.6a 2009-10-04 22:21:17 +00:00
Sam Lantinga
f14c7767f2 Split out ltoptions.m4 2009-10-04 21:00:33 +00:00
Sam Lantinga
bf267e2266 Fixed make dist 2009-10-04 20:46:33 +00:00
Sam Lantinga
d64c5ffe1a Fixed make dist 2009-10-04 20:45:59 +00:00
Sam Lantinga
9825e4ebd9 Split acinclude.m4 into its constituent parts for easy upgrading 2009-10-04 20:44:04 +00:00
Sam Lantinga
9313a4ad5f Fixed bug #826
Ken Bull      2009-10-04 09:51:30 PDT

2009/10/4 E. Wing <ewmailing@gmail.com>:
> Hi Kenneth,
> I noticed that SDL_SetColorKey and SDL_GetColorKey start with
> /*
> instead of
> /**
> in SDL_Surface.h in SDL 1.3.
>
> I haven't scrutinized the headers and I don't know if you had an
> automated process to add these, but I thought I would let you know in
> case there might be others that have the same problem.
>
> Thanks,
> Eric
>

The attached patch corrects this and other documentation errors in
SDL_surface.h
2009-10-04 19:14:30 +00:00
Sam Lantinga
f10e91f1fe Fixed bug #522
Mike Frysinger      2007-12-10 16:47:36 PST

it's much easier to manage .pc files for cross-compiling setups than it is for
random *-config scripts ... the cross-compiled pkg-config files can all be
easily/tightly controlled and separate from the host pkg-config files.  the
*-config files however are to be found in $PATH and can easily pick the wrong
one.

can we get the sdl.m4 macro updated so that it checks for libsdl.pc first via
the standard PKG_CHECK_MODULES() m4 macro, and if that fails, fall back to the
normal sdl-config voodoo.
2009-10-04 18:09:12 +00:00
Sam Lantinga
3b50b6a3d5 Eric Wing to Sam
Included is the fix for the missing SDL_revision.h in the framework.

Also, I include the project template fixes for the prefix header files. But since this is in SVN directly, you must rename the files named
SDLApp_Prefix.pch
to
___PROJECTNAMEASIDENTIFIER____Prefix.pch

in the TemplatesForXcodeSnowLeopard and TemplatesForXcodeLeopard directories. (Do not rename the Tiger ones.)
2009-10-04 16:26:34 +00:00
Sam Lantinga
0d51e1e26a Fixed bug #817
Daniele Forghieri      2009-09-30 15:48:24 PDT

Some tests doesn't use the correct include statement (and there are some
missing declaration) and some test use C++ variable after statement, preventing
compile wicth Open Watcom

The patch attached fixes this
2009-10-04 09:55:20 +00:00