Mercurial > sdl-ios-xcode
annotate CREDITS @ 4447:947201caa46e
Added automated test to Xcode project plus needed changes to SDL_RWFromFile to be OS X bundle aware.
The Mac OS X project has a new target called testsdl which builds the automated test. I looked at using Xcode's native unit test support, but the impedance mismatch between the existing automated test structure and Apple's was more than I could handle.
As such, the testsdl application is a full blown proper OS X application, which means it is a self-contained .app bundle. This immediately revealed some problems from the automated test. The largest problem was the assumption about the current working directory and where to find resources. (I suspect Windows may have a similar problem depending on circumstance.) To open resources, the test was looking in directories relative to the SDL source directory, but this will not work well with self-contained .app bundles and Xcode which can place its built applications almost anywhere. And for real-world situations, this is pretty useless anyway.
So I modified SDL_RWFromFile to do special things on OS X. First, it will look for a file in the .app bundle. If not found, it will fallback and just call fopen as it used to do.
I also had to modify the automated test itself because it had a contrieved test which called fopen directly to do read from an existing FILE pointer. In addition, there was a write test. Since a .app bundle is likely going to be read-only, I added a special case for OS X to write to NSTemporaryDirectory.
I expect these changes should work for both Mac and iPhone OS (which includes iPad).
I will update the iPhone Xcode project next.
Finally, FYI, the X11 automated test seems to be failing. Below is my output.
Pending breakpoint 4 - "-[NSException raise]" resolved
Platform : All tests successful (2)
SDL_RWops : All tests successful (5)
Rect : All tests successful (1)
SDL_Surface : All tests successful (6)
Rendering with cocoa driver : All tests successful (3)
Assert Failed!
Blit output not the same.
Test Case 'Renderer x11'
Test Suite 'Rendering with x11 driver'
Last SDL error ''
Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSGetSurfaceBounds
Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0xa150
Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0xa150
Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0xa150
Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSGetWindowBounds
Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSGetSurfaceBounds
Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0xa150
Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0xa150
Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0xa150
Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSGetWindowBounds
Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSGetSurfaceBounds
Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0xa150
Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0xa150
Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0xa150
Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSGetWindowBounds
Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSGetSurfaceBounds
Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0xa150
Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0xa150
Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0xa150
Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSGetWindowBounds
Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSGetSurfaceBounds
Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0xa150
Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0xa150
Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0xa150
Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSGetWindowBounds
Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSGetSurfaceBounds
Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0xa150
Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0xa150
Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0xa150
Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSGetWindowBounds
Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSGetSurfaceBounds
Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0xa150
Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0xa150
Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0xa150
Rendering with x11 driver : Failed 1 out of 4 testcases!
Rendering with dummy driver : All tests successful (3)
SDL_Audio : All tests successful (1)
Tests run with SDL 1.3.0 revision 1095906
System is running Mac OS X and is little endian
author | Eric Wing <ewing . public |-at-| gmail . com> |
---|---|
date | Sat, 08 May 2010 00:54:22 -0700 |
parents | 1ed5d432e468 |
children |
rev | line source |
---|---|
0 | 1 |
2 Simple DirectMedia Layer CREDITS | |
3 Thanks to everyone who made this possible, including: | |
4 | |
5 * Cliff Matthews, for giving me a reason to start this project. :) | |
6 -- Executor rocks! *grin* | |
7 | |
828
85ba077211bc
Lots of people have contributed cash. :)
Sam Lantinga <slouken@libsdl.org>
parents:
827
diff
changeset
|
8 * The Linux Fund, C Magazine, Educational Technology Resources Inc., |
85ba077211bc
Lots of people have contributed cash. :)
Sam Lantinga <slouken@libsdl.org>
parents:
827
diff
changeset
|
9 Gareth Noyce, Jesse Pavel, Keith Kitchin, Jeremy Horvath, Thomas Nicholson, |
85ba077211bc
Lots of people have contributed cash. :)
Sam Lantinga <slouken@libsdl.org>
parents:
827
diff
changeset
|
10 Hans-Peter Gygax, the Eternal Lands Development Team, Lars Brubaker, |
85ba077211bc
Lots of people have contributed cash. :)
Sam Lantinga <slouken@libsdl.org>
parents:
827
diff
changeset
|
11 and Phoenix Kokido for financial contributions |
470 | 12 |
2987
5b8865f87df1
Added the Google Summer of Code folks to the credits.
Sam Lantinga <slouken@libsdl.org>
parents:
2976
diff
changeset
|
13 * Edgar "bobbens" Simo for his force feedback API development during the |
5b8865f87df1
Added the Google Summer of Code folks to the credits.
Sam Lantinga <slouken@libsdl.org>
parents:
2976
diff
changeset
|
14 Google Summer of Code 2008 |
5b8865f87df1
Added the Google Summer of Code folks to the credits.
Sam Lantinga <slouken@libsdl.org>
parents:
2976
diff
changeset
|
15 |
5b8865f87df1
Added the Google Summer of Code folks to the credits.
Sam Lantinga <slouken@libsdl.org>
parents:
2976
diff
changeset
|
16 * Aaron Wishnick for his work on audio resampling and pitch shifting during |
5b8865f87df1
Added the Google Summer of Code folks to the credits.
Sam Lantinga <slouken@libsdl.org>
parents:
2976
diff
changeset
|
17 the Google Summer of Code 2008 |
5b8865f87df1
Added the Google Summer of Code folks to the credits.
Sam Lantinga <slouken@libsdl.org>
parents:
2976
diff
changeset
|
18 |
5b8865f87df1
Added the Google Summer of Code folks to the credits.
Sam Lantinga <slouken@libsdl.org>
parents:
2976
diff
changeset
|
19 * Holmes Futrell for port of SDL to the iPhone and iPod Touch during the |
5b8865f87df1
Added the Google Summer of Code folks to the credits.
Sam Lantinga <slouken@libsdl.org>
parents:
2976
diff
changeset
|
20 Google Summer of Code 2008 |
5b8865f87df1
Added the Google Summer of Code folks to the credits.
Sam Lantinga <slouken@libsdl.org>
parents:
2976
diff
changeset
|
21 |
5b8865f87df1
Added the Google Summer of Code folks to the credits.
Sam Lantinga <slouken@libsdl.org>
parents:
2976
diff
changeset
|
22 * Darren Alton for port of SDL to the Nintendo DS during the Google Summer |
5b8865f87df1
Added the Google Summer of Code folks to the credits.
Sam Lantinga <slouken@libsdl.org>
parents:
2976
diff
changeset
|
23 of Code 2008 |
5b8865f87df1
Added the Google Summer of Code folks to the credits.
Sam Lantinga <slouken@libsdl.org>
parents:
2976
diff
changeset
|
24 |
5b8865f87df1
Added the Google Summer of Code folks to the credits.
Sam Lantinga <slouken@libsdl.org>
parents:
2976
diff
changeset
|
25 * Szymon "Wilku" Wilczek for adding support for multiple mice and tablets |
5b8865f87df1
Added the Google Summer of Code folks to the credits.
Sam Lantinga <slouken@libsdl.org>
parents:
2976
diff
changeset
|
26 during the Google Summer of Code 2008 |
5b8865f87df1
Added the Google Summer of Code folks to the credits.
Sam Lantinga <slouken@libsdl.org>
parents:
2976
diff
changeset
|
27 |
3034
0e821769fc51
Fixed NULL pointer dereference
Sam Lantinga <slouken@libsdl.org>
parents:
3005
diff
changeset
|
28 * Marty Leisner, Andrew, Will, Edgar Simo, Donny Viszneki, Andrea Mazzoleni, |
3041
20d65430e63c
Fixed OpenGL state issue reported by Dmytro Bogovych
Sam Lantinga <slouken@libsdl.org>
parents:
3034
diff
changeset
|
29 Dmytro Bogovych, and Couriersud for helping find SDL 1.3 bugs in the great |
20d65430e63c
Fixed OpenGL state issue reported by Dmytro Bogovych
Sam Lantinga <slouken@libsdl.org>
parents:
3034
diff
changeset
|
30 SDL Bug Hunt of January 2009! |
3005
7b7a25d08829
Added Donny Viszneki to the credits for finding and fixing SDL 1.3 bugs
Sam Lantinga <slouken@libsdl.org>
parents:
2987
diff
changeset
|
31 |
7b7a25d08829
Added Donny Viszneki to the credits for finding and fixing SDL 1.3 bugs
Sam Lantinga <slouken@libsdl.org>
parents:
2987
diff
changeset
|
32 * Donny Viszneki for helping fix SDL 1.3 bugs in the great SDL Bug Hunt of |
7b7a25d08829
Added Donny Viszneki to the credits for finding and fixing SDL 1.3 bugs
Sam Lantinga <slouken@libsdl.org>
parents:
2987
diff
changeset
|
33 January 2009! |
2946
29e1f863a844
Kicking off the great SDL Bug Hunt for January 2009
Sam Lantinga <slouken@libsdl.org>
parents:
2225
diff
changeset
|
34 |
3101
7b1da3f37f97
Added credits for OpenGL 3.0 support
Sam Lantinga <slouken@libsdl.org>
parents:
3041
diff
changeset
|
35 * Luke Benstead for OpenGL 3.0 support |
7b1da3f37f97
Added credits for OpenGL 3.0 support
Sam Lantinga <slouken@libsdl.org>
parents:
3041
diff
changeset
|
36 |
470 | 37 * Gaëtan de Menten for writing the PHP and SQL behind the SDL website |
159
9841293e9e86
Time to recognize everyone again. :)
Sam Lantinga <slouken@libsdl.org>
parents:
0
diff
changeset
|
38 |
827
b10aeac509ea
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
470
diff
changeset
|
39 * Tim Jones for the new look of the SDL website |
b10aeac509ea
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
470
diff
changeset
|
40 |
470 | 41 * Ryan Gordon for helping everybody out and keeping the dream alive. :) |
42 | |
43 * Mattias Engdegård, for help with the Solaris port and lots of other help | |
0 | 44 |
1621 | 45 * Eric Wing, Max Horn, and Darrell Walisser for unflagging work on the Mac OS X port |
0 | 46 |
3161
494559cc723b
OpenPandora support added by David Carré
Sam Lantinga <slouken@libsdl.org>
parents:
3101
diff
changeset
|
47 * David Carré, for the Pandora port |
0 | 48 |
3161
494559cc723b
OpenPandora support added by David Carré
Sam Lantinga <slouken@libsdl.org>
parents:
3101
diff
changeset
|
49 * Couriersud for the DirectFB driver |
494559cc723b
OpenPandora support added by David Carré
Sam Lantinga <slouken@libsdl.org>
parents:
3101
diff
changeset
|
50 |
827
b10aeac509ea
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
470
diff
changeset
|
51 * Jon Atkins for SDL_image, SDL_mixer and SDL_net documentation |
470 | 52 |
827
b10aeac509ea
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
470
diff
changeset
|
53 * Arne Claus, for the 2004 winning SDL logo, |
b10aeac509ea
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
470
diff
changeset
|
54 and Shandy Brown, Jac, Alex Lyman, Mikkel Gjoel, #Guy, Jonas Hartmann, |
b10aeac509ea
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
470
diff
changeset
|
55 Daniel Liljeberg, Ronald Sowa, DocD, Pekka Jaervinen, Patrick Avella, |
b10aeac509ea
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
470
diff
changeset
|
56 Erkki Kontilla, Levon Gavalian, Hal Emerich, David Wiktorsson, |
b10aeac509ea
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
470
diff
changeset
|
57 S. Schury and F. Hufsky, Ciska de Ruyver, Shredweat, Tyler Montbriand, |
b10aeac509ea
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
470
diff
changeset
|
58 Martin Andersson, Merlyn Wysard, Fernando Ibanez, David Miller, |
b10aeac509ea
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
470
diff
changeset
|
59 Andre Bommele, lovesby.com, Francisco Camenforte Torres, and David Igreja |
b10aeac509ea
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
470
diff
changeset
|
60 for other logo entries. |
b10aeac509ea
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
470
diff
changeset
|
61 |
b10aeac509ea
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
470
diff
changeset
|
62 * Bob Pendleton and David Olofson for being long time contributors to |
b10aeac509ea
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
470
diff
changeset
|
63 the SDL mailing list. |
b10aeac509ea
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
470
diff
changeset
|
64 |
470 | 65 * Everybody at Loki Software, Inc. for their great contributions! |
0 | 66 |
67 And a big hand to everyone else who gave me appreciation, advice, | |
68 and suggestions, especially the good folks on the SDL mailing list. | |
69 | |
70 THANKS! :) | |
71 | |
72 -- Sam Lantinga <slouken@libsdl.org> | |
73 |