Commit Graph

1769 Commits

Author SHA1 Message Date
Ryan C. Gordon
1890f79cea Make sure sem_wait didn't return early with EINTR. Fixes Bugzilla #231. 2006-05-17 23:42:48 +00:00
Sam Lantinga
0e9999cdab Fixed thread callback calling conventions, updated OS/2 DLL name to SDL12.dll 2006-05-17 18:57:04 +00:00
Sam Lantinga
b03120aa73 Fixed uninitialized variable warnings 2006-05-17 15:08:46 +00:00
Sam Lantinga
fd42c511e8 Clean out the tests before creating distribution archive 2006-05-17 07:38:34 +00:00
Sam Lantinga
a13c34cfef Updated RPM spec file with License keyword 2006-05-17 06:09:27 +00:00
Sam Lantinga
218287205d Whoops, clean files in the dist directory 2006-05-17 04:42:37 +00:00
Sam Lantinga
9945a1f8d4 2006-05-17 04:36:31 +00:00
Sam Lantinga
3fb0968fae Removed support for Darwin, due to build problems on ps2linux 2006-05-17 04:21:33 +00:00
Sam Lantinga
995e9e0fd6 Needed unistd.h for unlink() 2006-05-17 04:11:33 +00:00
Sam Lantinga
79ad24c33b Patch from Ryan to fix compiler warnings 2006-05-17 04:01:53 +00:00
Sam Lantinga
757bed87ac Use the correct parameter for GLX_VISUAL_CAVEAT_EXT 2006-05-16 16:25:22 +00:00
Sam Lantinga
1e3a0186eb Updated docs for SDL 1.2.10 release 2006-05-16 08:00:25 +00:00
Sam Lantinga
f7f92b86cf Added information about gcc-fat.sh to README.MacOSX 2006-05-16 07:26:48 +00:00
Sam Lantinga
b51447224f Fixed compiling GS YUV conversion code 2006-05-16 06:53:27 +00:00
Sam Lantinga
131b151fdc Date: Mon, 15 May 2006 17:18:34 +0300
From: Vassilis Virvilis
Subject: Re: [SDL] SDL + fbcon = weird colors (resolved)

> I am getting weird colors in 16/32 bpp in an VIA custom
> board with savagefb and in qemu (cirrusfb).

Ok looks that nowadays if you follow compiler warnings closely
all bugs will be resolved by you. This one was that a non void
function (do_mmap) was not returning anything.
I also silenced a warning since I was in janitor mode.
2006-05-16 03:58:08 +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
cc3dba9649 Fixed corrupt image 2006-05-15 11:58:29 +00:00
Sam Lantinga
d9c0a5a7ce OpenBSD doesn't ship with X11 library major version symlinks 2006-05-15 07:24:24 +00:00
Sam Lantinga
6ca7e9990c Added yet another variant of autoconf to the list 2006-05-15 06:39:10 +00:00
Sam Lantinga
58d8b8d8d0 Added yet another variant of autoconf to the list 2006-05-15 06:30:38 +00:00
Sam Lantinga
37fd656ae6 Fix from Marc Peter: slightly fixed Watcom makefiles for 1.2.10 release 2006-05-14 21:18:26 +00:00
Patrice Mandin
a4fae77b3b Add a reminder to fix current->w,current->h 2006-05-14 09:55:22 +00:00
Sam Lantinga
530fd10d07 Fixed alloca declaration for MPW 2006-05-14 05:20:36 +00:00
Sam Lantinga
26a61f597c Hey, whaddy know! MacOS Classic has 64-bit types! 2006-05-13 16:30:59 +00:00
Sam Lantinga
53015f9d8b SDLmain compile fix 2006-05-13 05:21:59 +00:00
Patrice Mandin
7c58460af7 Add missing include file 2006-05-12 16:25:04 +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
579795df41 Fixed signed/unsigned issues 2006-05-12 04:21:19 +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
5905a7b56a Date: Thu, 11 May 2006 19:08:05 -0400
From: Mike Frysinger
Subject: [SDL] [patch] remove limits.h hack from linux joystick code

there is a small hack in the current linux joystick code to work around broken
cross-compilers by including more than one limits.h ... at the very least,
this is not arm-specific by any means

i'm of the opinion that libsdl should not contain such things ... people
should be fixing their cross-compilers, not bloating other's source trees

patch attached to clean the cruft
-mike
2006-05-11 23:32:11 +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
Patrice Mandin
9e20b86d93 Forgot to declare volatile stuff also in c file 2006-05-11 21:14:05 +00:00
Sam Lantinga
5400b91864 Fixed some bugs in string handling
Cleaned up error message code, UTF-8 is used instead of UCS2
Added detection for MPEG Layer 3 audio for more informative errors.
2006-05-11 21:03:23 +00:00
Sam Lantinga
f7ff603be1 Saved a little space by not including the CodeWarrior 5 XML projects 2006-05-11 15:52:41 +00:00
Sam Lantinga
86bb40eaff Fixed bug #53
Updated CWprojects.sea.bin with Anders F Björklun's CodeWarrior 5 and 6 projects.
In addition, added the following tweaks from Sam:
* Updated the version string to 1.2.10
* Removed Win32 targets from CodeWarrior 5 projects
* Cleaned up access paths
* Removed unnecessary macos_prefix.h
* Added all necessary StdCLib headers to Support:MacOS
* Added OpenGL 1.2 API headers and libraries to Support:MacOS
* Added testdyngl test program
* Removed OpenGL stub from all test programs except for testgl
2006-05-11 08:31:33 +00:00
Sam Lantinga
0145303a7d Fixed building with CodeWarrior on MacOS Classic 2006-05-11 08:09:16 +00:00
Sam Lantinga
2c1976a764 Fixed MacOS Classic build 2006-05-11 06:06:21 +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
4e69d001e0 Fixed bug #208
So, here's a patch with a reimplementation of QZ_SetIcon() that does what I
described above. I apologize for the delay, I've been quite busy in the last
few days.

It appears to work here on 10.4.5 PPC in the limited testing that I've done;
I'll try to test it on 10.3.9 and 10.2.8 as well, but that might take another
week or so. Please test on i386.

Regarding alpha channels, per-surface alpha, and color keys, the same semantics
as for regular blits to an RGB surface should apply (for the final icon
composited onto the dock), unless I made a mistake - except in one pathological
case: if the icon surface has an alpha channel, its SDL_SRCALPHA flag is not
set (i.e. it has been explicitly cleared, since it's on by default for RGBA
surfaces), and it has a color key, plus an explicit mask was specified (instead
of the one autogenerated from the colorkey), then the color-keyed areas appear
black instead of transparent. I found no elegant way of fixing this, was too
lazy to implement the inelegant one, and decided that it isn't worth the effort
(but if someone disagrees, I can do it).
2006-05-11 03:45:55 +00:00
Sam Lantinga
b8c61a73fd Fixed bug #226
Just to make it compile with old CodeWarrior.
2006-05-11 03:21:54 +00:00
Sam Lantinga
90f1c175ac Fixed bug #225
Making the old code limp along, for Carbon builds.
2006-05-11 03:19:03 +00:00
Sam Lantinga
a90e3bb90b Date: Wed, 10 May 2006 17:43:21 -0700
From: Eric Wing
Subject: Re: Updated tarball

Attached are additional cleanups to SDLMain.m for the files in src/
main/macosx. It looks like somebody already cleaned up most of the
issues. There is one about the class interfaces being empty which
didn't look easy to fix in a meaningful way so I left them.
2006-05-11 03:08: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
86c3375829 Need to use __MACOSX__ for the Mac OS X platform. 2006-05-10 07:42:02 +00:00
Sam Lantinga
b775d4c6b8 Fixed bug #221
The Carbon build on Mac OS X uses the toolbox video driver, not quartz.
2006-05-10 07:25:37 +00:00
Sam Lantinga
69c495a139 Fixed bug #222
SDL_macgl loads CFM library (OpenGLLibrary) even in Mach-O,
when it should be loading the OpenGL.framework code instead
2006-05-10 07:16:38 +00:00
Sam Lantinga
0083eea4ff Prevent both __MACOS__ and __MACOSX__ from being defined in Codewarrior 2006-05-10 07:08:41 +00:00