Commit Graph

43 Commits

Author SHA1 Message Date
Kees Bakker
1a888b5860 Split off SDL_uikitviewcontroller in its own module 2011-08-17 23:26:58 +02:00
Ryan C. Gordon
6634d3d1fe Merged Mac OS X and iOS audio targets. 2011-08-04 00:45:09 -04:00
Tim Angus
e4de79558c * SDL_IOS_IDLE_TIMER_DISABLED hint 2011-06-10 14:23:36 +01:00
Sam Lantinga
117146456c Removed buggy and LGPL MMX mixing routines. 2011-04-08 13:16:33 -07:00
Sam Lantinga
140b2f9128 Fixed bug 1177 (testsdl ios crash)
Vittorio Giovara      2011-04-05 13:18:07 PDT

The test application called "testsdl" inside the iOS project file crashes at
launch time.
The fix is trivial, removing the reference to MainWindow (as there are no Nibs
included) from the Info.plist file.
2011-04-05 17:57:08 -07:00
Sam Lantinga
d098d4f399 SDL works on older iPod Touch and first generation iPhones running iOS 3.1.3. 2011-02-19 21:51:03 -08:00
Sam Lantinga
c45d18ec73 Updated deployment target to iPhone/iPad 3.2, and added dependencies on SDL for the demos. 2011-02-16 20:19:02 -08:00
Sam Lantinga
dbb0a44739 Renamed SDL_keysym.h to SDL_keycode.h to avoid confusion. 2011-02-16 15:46:12 -08:00
Sam Lantinga
e3883e9792 The scripts to generate header files are no longer necessary. 2011-02-16 12:15:04 -08:00
Eric Wing
f7271a7775 Changed output directory of Universal libSDL.a for iOS to respect build configurations. Template generator was updated to reflect these changes as well. 2011-02-12 21:52:30 -08:00
Eric Wing
79313ce09b merged 2011-02-12 19:16:09 -08:00
Sam Lantinga
76489b5e9e Removed unused leak detection code. 2011-02-11 14:23:22 -08:00
Sam Lantinga
65eb03e87b Fixed compile in Xcode 2011-02-11 10:18:34 -08:00
Sam Lantinga
47818cfba9 Added a simple log message API 2011-02-07 16:45:40 -08:00
Sam Lantinga
ba83b14530 Removed obsolete file 2011-02-07 00:36:42 -08:00
Eric Wing
db014fc2e7 removed sail.bmp from Xcode project 2011-02-06 23:48:31 -08:00
Eric Wing
acba1d660b merged 2011-02-06 21:23:32 -08:00
Sam Lantinga
bbf99fa10b Fixed building on Android, added SDL_opengles2.h, removed unnecessary SDL_glesfuncs.h 2011-02-06 02:35:14 -08:00
Sam Lantinga
ae2ce1d91e Added an OpenGL ES 2.0 renderer, contributed by itsnotabigtruck
This compiles, but it untested.
2011-02-06 00:00:13 -08:00
Sam Lantinga
c952c0543d Updated Mac OS X and iOS projects 2011-02-05 16:02:30 -08:00
Sam Lantinga
93a4e38e98 Added a way to get a framebuffer interface for a window, and also a way to create a software renderer for an arbitrary surface.
The software renderer has been re-routed to use the framebuffer interface, which makes it possible to have software rendering available even on simple ports.
2011-02-03 15:49:37 -08:00
Sam Lantinga
405d4ed7e4 Made it possible to create a texture of any format, even if not supported by the renderer.
This allows me to reduce the set of formats supported by the renderers to the most optimal set, for a nice speed boost.
2011-02-03 00:19:40 -08:00
Sam Lantinga
8bf50cc83c Moved the rendering code out to a separate directory in the hope that it can someday be completely decoupled from the rest of the library and be expanded to an awesome 2D on 3D library. 2011-02-02 14:34:54 -08:00
Eric Wing
ad5638e329 iOS Xcode project template fixes/changes.
- Embedded headers
- Embedded Universal Device/Simulator libSDL.a
- Changed search paths.
- Removed cruft from copy resources.
2011-01-31 07:36:12 -08:00
Eric Wing
0e1ee9c69c New iOS Xcode target to build libSDL.a and lipo Simulator & Device binaries together.
New iOS Xcode target to prepare an Xcode template using the Universal libSDL.a.
2011-01-31 00:37:38 -08:00
Sam Lantinga
2bf7444139 Updated main.c for API changes
Kees Bakker to sdl

The main.c for the template is still targeting SDL1.2. Here
is the patch to make it work for SDL1.3 (I'm hoping
the mailing lists accepts attachments.)

In this patch I have also changed the shell script that
assembles the Template. Since there is now only one lib
target (same name for "device" and "simulator" version)
I copy the simulator library to the destination with
the name libSDLSimulator.a. This is not a satisfactory
solution, because both libraries are included in the project
while only one is needed (depending on the selected
environment). However, I'm not fluent with Xcode to
say what a better solution would be.

Kind regards,
Kees Bakker
2011-01-28 10:37:36 -08:00
Sam Lantinga
4facc12600 Fixed building with the latest iOS SDK (4.2) 2011-01-18 15:00:56 -08:00
Sam Lantinga
38e31e4598 Updated the atomic API for better use cases 2011-01-15 12:41:59 -08:00
Sam Lantinga
1e201db3ce Started trying to build gesture code for iPhone 2010-07-15 06:51:16 -07:00
Sam Lantinga
ddf0465549 Added an event when the clipboard is updated, triggered after the window gains the keyboard focus. 2010-07-08 22:54:03 -07:00
Sam Lantinga
f8e47b7402 Updated Xcode project files for clipboard API
Fixed generation of SDL_revision.h when hg is in the path set up in .bash_profile
2010-07-08 06:16:27 -07:00
Sam Lantinga
47c0e1e892 Don't assume .bashrc exists. :) 2010-05-09 19:51:21 -07:00
Eric Wing
f0650b31dc Refactored automated rwops tests so read and write directories can be more easily customized.
The refactored tests were written in recognition that Mac and iPhone current working directories are usually not going to work. Resource directories are in bundles and write directories are restricted to certain areas. In theory, other platforms may have this problem too, hence the refactoring.

Also updated the Xcode iPhone project to use 3.2 as the Base SDK, but 3.1 as the Deployment SDK (for iPhone/iPad compatibility.)
2010-05-09 06:58:30 -07:00
Eric Wing
ef6951c458 Fixes to automated test target for iPhone Xcode project.
Looks like there is a problem with the source code base. UIScreenMode and possibly a few other 3.2 only APIs have crept in. 3.2 is only available for iPad, and not iPhone/iPod Touch.
2010-05-08 08:23:46 -07:00
Eric Wing
36478c7ce3 Adding testsdl (automated test) support to iPhone Xcode project (to match Mac Xcode project).
I haven't updated yet to the 3.2 SDK so SDL no longer builds for me so I can't yet verify if the new target completely works.
2010-05-08 01:12:55 -07:00
Ryan C. Gordon
8524311b24 Implemented SDL power APIs for iPhoneOS. 2010-04-30 00:39:31 -04:00
Sam Lantinga
a6f953d085 Updated Mac OS X projects with new assertion code 2010-01-18 14:50:57 +00:00
Sam Lantinga
4ea7937dbf Don't warn about unused variables - there's a ton of them. :) 2010-01-13 05:25:16 +00:00
Sam Lantinga
572b6f9b25 Fixed iPhone build 2010-01-13 04:58:31 +00:00
Sam Lantinga
159e0ed15f Fixed building on iPhone 2009-12-12 00:55:13 +00:00
Sam Lantinga
6e27233506 Removed the separate static simulator target, all targets create libSDLiPhoneOS.a
Removed generic thread files, they shouldn't have been in there.
2009-11-02 07:57:51 +00:00
Sam Lantinga
7f12cb6568 iPhone/Xcode for 1.3
Eric Wing to Sam

Here's another patch for Xcode-iPhone for 1.3.
This has been sitting for awhile too, so you may want to test.
Contains mostly small changes, but tries to unify how I do some of the script stages with the Mac version.
2009-10-17 07:38:14 +00:00
Sam Lantinga
9a38148f13 This name inconsistency has been bugging me for a while... 2009-09-19 07:32:36 +00:00