Ryan C. Gordon
663450efc3
Don't link directly against OpenGL.framework on Mac OS X.
...
We dlopen() it as appropriate already.
2014-06-05 11:04:07 -04:00
Sam Lantinga
fbe8cee457
Fixed bug 2489 - SDL2.framework references __Block_copy in /usr/lib/libSystem.B.dylib, but this symbol cannot be found on OSX-10.5
...
Thomas Schatz
The dynamic library (extracted from SDL2-2.0.3.dmg and put in /Library/Frameworks/) references the __Block_copy symbol in /usr/lib/libSystem.B.dylib, which cannot be found:
dlopen(/Library/Frameworks/SDL2.framework/SDL2, 6): Symbol not found: __Block_copy
Referenced from: /Library/Frameworks/SDL2.framework/SDL2
Expected in: /usr/lib/libSystem.B.dylib
From what I could gather __Block_copy seems to be related to the blocks extension to the C programming language introduced by Apple since OSX-10.6 (see: http://thirdcog.eu/pwcblocks/ ). If this is indeed the case, I don't think the SDL2-2.0.3.dmg on the website is at all compatible with OSX-10.5 countrary to what is announced.
2014-04-17 22:23:32 -07:00
Sam Lantinga
90cc00f217
Updated framework version to match dylib version.
...
Actually the dylib compatibility version is 3.0.0, but don't break compatibility with previous frameworks, which were compatibility version 1.0.0
2014-03-12 07:55:32 -07:00
Sam Lantinga
b821f84418
Updated SDL to version 2.0.3
2014-03-09 10:38:30 -07:00
Sam Lantinga
e49f7fcdf8
Updated SDL to version 2.0.2
2014-02-09 03:09:56 -08:00
Edward Rudd
4325bf478a
add testdropfile to OS X Project
...
--HG--
extra : rebase_source : 117218f4581fb34babfa059a70a75e73ffd0c933
2014-02-04 18:21:39 -05:00
Edward Rudd
00970c2034
Implement new backend methods for haptic and hot plugging on OS X
2014-02-04 18:17:16 -05:00
Edward Rudd
832dfd827e
add testhotplug to OS X test project and set target OS version to 10.5 for tests.
2014-02-04 18:16:52 -05:00
Sam Lantinga
d7940a513e
Fixed bug 2374 - Update copyright for 2014...
...
Is it that time already??
2014-02-02 00:53:27 -08:00
Ryan C. Gordon
63256a2384
Implemented the Dynamic API magic.
...
--HG--
extra : rebase_source : 38f639089d3d142895d5cf106919a0bfbb65c5ed
2013-12-09 16:03:18 -05:00
Sam Lantinga
eb284ee46d
Fixed bug 2168 - Mac: SDL_filesystem.h not exported to public header folder when building framework
...
Alex Szpakowski
I actually made a mistake when creating the previous patch file... I forgot to include a crucial line which changed.
I've attached a new patch which just changes the line I forgot, since the other part has already been applied to the repository.
I tested this one by doing a clean rebuild of SDL, and it works with the new patch.
2013-10-21 02:46:16 -07:00
Sam Lantinga
900cb419ce
Fixed bug 2168 - Mac: SDL_filesystem.h not exported to public header folder when building framework
2013-10-21 02:20:39 -07:00
Sam Lantinga
1c7ed8eef6
Updated SDL to version 2.0.1
2013-10-10 21:50:25 -07:00
Edward Rudd
2770375eb5
update xcode projects with filesystem API bits. (missing tests and missing from files from some targets)
2013-08-25 11:20:14 -04:00
Ryan C. Gordon
a03a7f7745
Added filesystem code to Mac and iOS Xcode projects.
2013-08-20 21:29:40 -04:00
Edward Rudd
4aff1bfc47
add missing SDL_bits.h from OS X framework
...
- also add in headers to static and shared targets (for completeness)
2013-08-20 15:56:08 -04:00
Edward Rudd
396c5b8e79
use @rpath for OS X Shared Library as well
2013-08-08 11:41:35 -04:00
Jørgen P. Tjernø
8d8238f8ae
Mac: Better mouse-grab if you define SDL_MAC_NO_SANDBOX.
...
This uses a better mouse grab if you define SDL_MAC_NO_SANDBOX. This
mouse grab uses CGEventTapCreate, which you cannot access if you have
sandboxing enabled.
2013-08-07 16:29:15 -07:00
Ryan C. Gordon
d99a4adff9
SDL_*Parachute() are no-ops, remove them.
2013-08-07 11:12:11 -07:00
Sam Lantinga
9b622dc41e
More work on bug 1999, added missing CFBundleExecutable key to Info.plist
2013-07-31 21:31:23 -07:00
Sam Lantinga
2f7e78480d
Fixed bug 2000 - The framework INSTALL_PATH still uses @executable_path
...
dak180
Since the MACOSX_DEPLOYMENT_TARGET is 10.5; INSTALL_PATH should use @rpath.
See http://www.dribin.org/dave/blog/archives/2009/11/15/rpath/ for the details on why this is a good idea.
2013-07-30 23:33:32 -07:00
Sam Lantinga
e062de97c1
Added code signature step to Framework build process
2013-07-30 21:39:38 -07:00
Jørgen P. Tjernø
901d874a2b
Fix #1445 : Use xcrun to find CpMac
...
This should make the DMG building step more reliable on all current and future
Xcodes, by using xcrun to find the path to CpMac.
2013-07-14 15:55:34 -07:00
Sam Lantinga
bfcb08d569
Implemented an API for thread-local storage: SDL_TLSCreate(), SDL_TLSSet(), SDL_TLSGet()
2013-07-10 02:32:04 -07:00
Ryan C. Gordon
2740a12ae3
Backout hg changset 898992405fa7; lots of things still use SDL_types.h. :/
...
Will remove this again at some point in the future, though.
2013-07-09 11:57:32 -04:00
Ryan C. Gordon
7afed3e5ae
Removed deprecated SDL_types.h header.
...
Fixes Bugzilla #1945 .
2013-07-08 23:37:00 -04:00
Jørgen P. Tjernø
b066315e36
Remove / update references to 1.2.
...
--HG--
extra : histedit_source : 374adabd4332afcb1a85517ef8b82fe997f830c1
2013-06-27 17:07:24 -07:00
Sam Lantinga
cfd8d8141d
Removed obsolete Xcode templates and documentation
2013-06-17 06:35:41 -07:00
Edward Rudd
c30228737b
Add an OS X Shared library target
...
--HG--
extra : rebase_source : 766ce377779ecfb4ab2717ffeb803932d7c905e5
2013-05-30 10:02:26 -04:00
Edward Rudd
89b36c9f21
Fixups to the main Xcode project due to renamed README files and long since removed test files.
...
--HG--
extra : rebase_source : d8aa77e63cfe38bdcb228587db612f5d4696e13c
2013-05-28 16:26:44 -04:00
Andreas Schiffler
750f6fb9d9
Deprecate test/automated and test/test-automation (replaced by test/testautomation*.*)
2013-05-18 23:32:53 -07:00
Sam Lantinga
0cb6385637
File style cleanup for the SDL 2.0 release
2013-05-18 14:17:52 -07:00
Jørgen P. Tjernø
4926901d46
Add new controller mappings for Windows.
2013-04-02 18:09:30 -07:00
Sam Lantinga
404d8c5429
Make SDL support the X11 clipboard TARGETS protocol, which advertises what formats text is available in from the application. This is necessary for many Linux programs to interact well with the clipboard.
2013-03-22 11:42:31 -07:00
Jørgen P. Tjernø
fc436807a8
Add GameController mappings for popular controllers.
...
This adds mappings for:
- Another type of wired X360 controller
- A wireless X360 controller
- Logitech F710 (XInput and DInput modes)
- Logitech F310 (XInput mode)
- Logitech Cordless RumblePad 2
2013-03-12 18:28:36 -07:00
Sam Lantinga
ee24414406
Generate debug info for all configurations on all platforms
...
Turned off C++ exception handling for all configurations and all platforms
Turned on comdat folding and optimized references for all optimized builds
CR: Bruce Dawson
2013-02-27 11:39:38 -08:00
Sam Lantinga
aa427c702d
Removed SDL_input.h from various projects
2013-02-19 05:46:51 -08:00
Jørgen P. Tjernø
6e147b2087
Fix SDL_SetWindowSize on certain WMs.
...
Makes SDL_SetWindowSize work on some WMs (like Fluxbox, ion3, Awesome,
WindowMaker), and when running without a WM.
Fixes bug 1513.
CR: saml
2013-02-18 18:28:02 -08:00
Sam Lantinga
95dcfa4c28
Happy New Year!
2013-02-15 08:47:44 -08:00
Sam Lantinga
963c65929d
Don't crash if we have the extension but couldn't load the XInput shared library.
2013-02-14 15:40:19 -08:00
Sam Lantinga
db07aa4faf
Added SDL_bits.h to the Xcode projects
2013-02-13 21:22:29 -08:00
Jørgen P. Tjernø
781ab3764f
Fix a corruption when you remove first joystick on Linux.
...
Fixes a bug where the joystick subsystem would get corrupted if you unplug the
first of multiple joysticks. Fixes bug 1714.
CR: saml
2013-02-12 11:47:29 -08:00
Sam Lantinga
31abc7a80a
tree e293c2b7fde8
...
parent d0a3ee09cf93
author Edward Rudd <urkle@outoforder.cc> 1358013809 18000
committer Edward Rudd <urkle@outoforder.cc> 1358013809 18000
revision 6806
branch default
cleanup the test xcode project to compile on current codebase and be simpler to add new tests
2013-02-11 21:04:41 -08:00
Sam Lantinga
79bd6b2b7d
Added missing SDL_gamecontroller.h to the Mac OS X project
2012-12-13 16:57:12 -08:00
Sam Lantinga
1e63f1c322
Fixed building new joystick code on Mac OS X
2012-11-26 21:55:59 -08:00
Sam Lantinga
34b88dfaae
Added hotplug joystick support and simplified game controller API, courtesy of Alfred Reynolds
2012-11-26 16:37:54 -08:00
Sam Lantinga
052b7af3b3
Added Cocoa messagebox implementation to the OSX Xcode project
2012-10-30 12:37:57 -07:00
Sam Lantinga
23bc30c0d9
Turned off the install flag for the static library because we don't want it getting into application distribution packages.
...
Added SDL_x11messagebox.c to the static library target
2012-10-27 02:54:10 -07:00
Sam Lantinga
3237a85e0f
Added new message box API to Xcode projects
2012-10-24 00:13:50 -07:00
Sam Lantinga
1d1b6a9211
Added patchlevel to version number
2012-10-19 21:19:30 -07:00