Xcode


Log

Author Commit Date CI Message
Sam Lantinga 59963473 2022-07-22T10:58:32 Enable bitcode by default for iOS and tvOS builds
Sam Lantinga e3916993 2022-07-17T08:47:06 Added SDL_utils.c to the Xcode project
Cameron Gutman 6e712d24 2022-07-09T22:55:36 joystick: Add HIDAPI driver for NVIDIA SHIELD 2017 controller Basic input already works using the OS HID driver, but this enables force feedback and battery state reporting.
Cameron Cawley 78089e65 2022-07-01T13:08:31 Remove unused internal header SDL_sysevents.h
Sam Lantinga b004133f 2022-06-16T12:49:17 Updated to version 2.23.1 for pre-release checkpoint
Sam Lantinga 5b4f53bc 2022-06-15T14:26:47 Added SDL_memset.c and SDL_memcpy.c to Xcode project
Pierre Wendling 1963cccc 2022-06-12T09:48:57 CMake: Fix XCode CMake config file. (#5787) As mentionned in libsdl-org/SDL_net#48 and libsdl-org/SDL_ttf#213: - Options needs to use `SHELL:` to avoid aggressive option de-duplication - Framework path needs to be quoted to support paths with spaces.
Ozkan Sezer 6bd49fc0 2022-06-08T21:58:10 revert mode changes from commit d58d637ac
Sam Lantinga d58d637a 2022-06-08T11:07:36 Added support for the Qanba Obsidian Arcade Joystick on Linux
Sam Lantinga 168b97ca 2022-06-07T00:33:59 Updated Xcode project with SDL_guid.c and controller_type.c
Anonymous Maarten 96e3733a 2022-06-03T20:13:57 cmake: make Xcode's sdl2-config.cmake compatible with the one from autotools
Anonymous Maarten 3c3c0251 2022-05-30T00:39:53 Add Compatible Interface Properties to VisualC and Xcode SDL2 config file
Anonymous Maarten 774c5017 2022-05-28T11:52:23 Add CMake section to the Xcode ReadMe.txt
Sam Lantinga 423c7ef8 2022-05-27T14:47:39 Don't set SDL2_LIBRARY, we need the Framework configuration on Apple platforms
Sam Lantinga 37ef6a76 2022-05-27T14:46:49 Use a full path for the framework header include path
Anonymous Maarten f73c2564 2022-05-27T22:17:12 cmake: attempt to use framework in Xcode's sdl2-config.cmake
Anonymous Maarten 4c3d1d32 2022-05-27T11:52:16 Use INTERFACE_INCLUDE_DIRECTORIES in Xcode's sdl2-config.cmake
Sam Lantinga 7c2a6ea5 2022-05-26T18:31:31 Removed 64-bit check for Apple We build the SDL framework for macOS, iOS, and tvOS, including 32-bit and 64-bit architectures. Since this file will actually be included in the framework you're linking, it should be fine to use.
Sam Lantinga e30b9993 2022-05-26T18:31:06 Fixed warning about location of CMake support files
Sam Lantinga 01492a24 2022-05-26T18:30:15 Added CMake package support files to the SDL framework
Anonymous Maarten 2c591e40 2022-05-26T16:26:54 Add CMake configuration files, meant for Macos framework
Alex Szpakowski ec8fa577 2022-05-07T21:57:23 macOS: always use Objective-C ARC (automatic ref counting). Change Cocoa SDL_VideoData and SDL_WindowData implementations from C structs to Objective-C objects, since bridging between C and ObjC is easier that way.
Alex Szpakowski d35c737f 2022-05-07T21:38:48 macOS: change min supported OS from 10.6 to 10.7.
Simon McVittie fff97c95 2022-05-04T16:40:11 build: Mechanically generate ABI versions from version number If we're strict about applying something resembling semantic versioning to the "marketing" version number, then we can mechanically generate the ABI version from it. This limits the range of valid micro versions (patchlevels) to 0-99. Signed-off-by: Simon McVittie <smcv@collabora.com>
Simon McVittie cd7c2f1d 2022-05-03T15:16:11 Switch versioning scheme to be the same as GLib and Flatpak For stable releases, this gives us the ability to make bugfix-only point releases such as 2.24.1 if we want to, and distinguish between them programmatically. For example, this ability could have been useful after 2.0.16 to fix Xwayland regressions, and after 2.0.18 to fix event loop regressions. For development releases, this gives us the ability to make multiple prereleases during the same feature cycle, and distinguish between them programmatically. For example, this would have been useful during 2.0.22 development, which went through three prereleases before reaching the final release. Signed-off-by: Simon McVittie <smcv@collabora.com>
Sam Lantinga 41b91985 2022-04-30T11:39:44 Fixed Xcode warning about Framework include style
Sam Lantinga fa29e2d7 2022-04-25T13:45:51 Updated to version 2.0.23 for development
Sam Lantinga 505d6a4a 2022-04-08T18:18:56 Update version to 2.0.22 for release
Sylvain Becker 1c9299b0 2022-04-01T08:12:31 Add SDL_list to macosx xcode
DominusExult ee96407e 2022-02-04T21:49:11 iOS >= 10.0 silence GLes deprecation warnings
Sam Lantinga a0e3c884 2022-01-17T15:32:27 Updated to version 2.0.21 for development
Sam Lantinga 92946348 2022-01-07T18:28:25 Updated to version 2.0.20 for release
Sam Lantinga 120c76c8 2022-01-03T09:40:00 Updated copyright for 2022
Sam Lantinga 056c0994 2021-11-30T12:19:26 Updated iOS build instructions
Sam Lantinga 5fc901d4 2021-11-30T09:58:21 Updated to version 2.0.19 for development
Sam Lantinga 3008b005 2021-11-27T07:56:04 Include SDL_hidapi.h in the public headers Fixes https://github.com/libsdl-org/SDL/issues/5015
Sam Lantinga 7242075b 2021-11-26T08:12:45 Updated version to 2.0.18 for release
Sam Lantinga 7b9fe52e 2021-11-09T05:40:57 We're no longer building a separate shared library for hidapi
Sam Lantinga 5b646cd1 2021-11-07T22:58:44 Build hidapi code into SDL as a new public API This prevents conflicts with hidapi linked with applications, as well as allowing applications to make use of HIDAPI on Android and other platforms that might not normally have an implementation available.
Sam Lantinga d854ba99 2021-09-24T10:59:35 Removed X11 code from Apple Xcode project
Sylvain Becker fd236af8 2021-04-02T09:37:25 Update Xcode project to add SDL_triangle.{c,h}
Sam Lantinga 3f6ebfff 2021-08-10T15:02:36 Updated to version 2.0.17 for development
Sam Lantinga cb1fd30e 2021-07-31T13:28:54 Updated to version 2.0.16 for release
Sam Lantinga 3e76646c 2021-07-31T13:09:53 Added libSDLmain.a for iOS and tvOS
Sam Lantinga 1a9253f7 2021-07-31T12:37:28 Removed unused IOS_DYLIB definition
Ozkan Sezer 118480e5 2021-07-08T17:56:14 fix permissions
Sam Lantinga 46f19c31 2021-07-08T07:23:29 Implemented mouse relative mode for iOS 14.1 and newer
Sam Lantinga 75a9f8e2 2021-07-07T13:06:15 Added SDL_hidapi_luna.c to the Xcode project
Ozkan Sezer 646ddfb7 2021-05-15T00:22:50 minor watcom build fixes.
Sam Lantinga 9231f1f1 2021-05-07T12:29:03 Added support for the PS5 controller on iOS and tvOS
Ryan C. Gordon 2fdbae22 2021-04-26T18:43:28 cocoa: Remove mouse event tap. It doesn't appear to work anymore, and was disabled by default anyhow, since the needed APIs are forbidden on the Mac App Store. A better solution to lock the mouse to the window on macOS would still be welcome. CGAssociateMouseAndMouseCursorPosition() works fine for relative mouse mode, this was just a question of SDL_SetWindowGrab(). As it stands now, a grabbed mouse can briefly break out of the window, causing varying degrees of chaos.
Ozkan Sezer bb76edf3 2021-02-22T15:44:32 fix permissions of a few files
Sam Lantinga f5e9c5b7 2021-02-21T11:03:25 Chromebooks support relative mouse motion now
Alex Szpakowski d4d32833 2021-02-14T11:30:22 macOS: Fix Xcode project when deployment target is > 10.7 SDL_mfijoystick.m requires ARC, but the Xcode project's macOS targets weren't compiling the file with ARC enabled.
Ozkan Sezer 582e1f4a 2021-01-28T23:03:50 config.guess and config.sub updates from mainstream
Sam Lantinga d95a9eae 2021-01-27T21:30:13 Added WIN_IsWindows8OrGreater() for internal use
Sam Lantinga 360e04dd 2021-01-23T13:15:02 Added Stadia controller source file to Visual Studio and Xcode projects
Ozkan Sezer 29888bd6 2021-01-08T21:56:00 fixed permissions of xcode project file
Sam Lantinga b2a0c712 2021-01-04T12:24:44 Allow setting the player index to -1, which turns off the player LED for PS5 controllers
Sam Lantinga 393c8c1f 2021-01-03T10:32:55 Fixed bug 5440 - MacCatalyst build failures C.W. Betts I tested building commit http://hg.libsdl.org/SDL/rev/7adf3fdc19f3 on Mac Catalyst and found some issues: * MTLFeatureSet_iOS_* enums aren't available under Mac Catalyst. * OpenGL ES is unavailable under Mac Catalyst. * Some Metal features are available under Catalyst but not iOS, such as displaySyncEnabled. * Set Metal as the default renderer on Mac Catalyst Attaching a patch that will make SDL2 build for Mac Catalyst.
Sam Lantinga 9130f7c3 2021-01-02T10:25:38 Updated copyright for 2021
Ozkan Sezer b5f0483c 2021-01-01T22:30:28 fix permissions
Sam Lantinga 5f0b2a7f 2021-01-01T11:12:22 Fixed resource leak with D3D11 NV12 textures
Sam Lantinga 5aba0827 2020-12-30T11:38:51 Build SDL for Mac hardware when targeting iOS
Sam Lantinga 350f1b0d 2020-12-22T10:36:15 Updated SDL to version 2.0.15 for development
Ozkan Sezer 637d425e 2020-12-15T00:11:10 whitespace.
Sam Lantinga e65e4fd3 2020-12-14T09:48:51 Fixed detecting the guide button on Xbox One S controllers over Bluetooth on Linux
Sam Lantinga c8ee0691 2020-12-13T00:15:54 Added SDL_misc.h to the Xcode built frameworks
Ozkan Sezer 475405e0 2020-12-09T12:03:24 CMakeLists.txt: sync DYLIB_CURRENT_VERSION to Xcode project
Sam Lantinga a2098a47 2020-12-08T18:56:06 Updated SDL to 2.0.14 in preparation for release candidate
Sam Lantinga ebf315e0 2020-12-01T14:01:12 Fixed bug 5369 - iOS static library build copies public headers files into xcode archive Dominik Reichardt Trying to integrate the latest SDL2 changes into our iOS project of Exult I've stumbled over the fact that when I added the static iOS library the public header files were copied to the archive of our project when you let Xcode build the archive. This makes the archive invalid for upload to the AppStore Connect. To fix this you need to delete the public headers from the build phase: Open the xcode project, select the target "Static Library-ios", got to build phases, and in "headers" delete all the headers in the "public" group. This is safe to do as this actually just copies the public headers for some odd counterintuitive reason. I think this needs to be done for all the library build targets but likely not for the framework targets.
Sam Lantinga 798b2288 2020-12-01T13:46:34 Fixed bug 5367 - SDL_OpenUrl disabled on iOS due to unified Xcode project file Dominik Reichardt When you unified the Xcode project file you forgot to add the iOS file (/src/misc/ios/SDL_sysurl.m) to the project file, so the dummy in that folder takes over and the call does not work. Relevant commits: http://hg.libsdl.org/SDL/rev/c86bbf75f55e (SDL_OpenUrl enabled for macOS/iOS) http://hg.libsdl.org/SDL/rev/282c3dc1cf65 (and following: unified Xcode project files) Adding an ios group in the misc group of the project file and then adding /src/misc/ios/SDL_sysurl.m to it fixes the problem.
Sam Lantinga c63bbb06 2020-11-24T06:55:33 Including SDL_config_iphoneos.h enables MFI controller code
Sam Lantinga fd894467 2020-11-21T14:13:26 Fixed building on Mac OS X on the command line and with an older macOS SDK
Sam Lantinga 1df593fb 2020-11-21T13:15:33 Fixed bug 5355 - Add GameController Framework support to macOS C.W. Betts This patch adds support to the GameController framework on macOS Big Sur and later, adding support for MFi controllers as well as rumble support for PS4 and Xbox One. There is some code to make sure that the IOKit joystick handler doesn't include two controllers at once. While the GameController framework is present in earlier versions of macOS, there was no public, approved way of checking if a specific IOHIDDevice is a controller that GameController could handle. This was changed in Big Sur.
Ozkan Sezer 082558db 2020-11-20T12:20:02 SDL_os2messagebox.c (_makeDlg): fix crash if title and/or message is NULL. c.f.: bug #5253.
Sam Lantinga cd51a51f 2020-11-18T20:34:08 Updated with a better understanding of the Xbox One controller protocol
Sam Lantinga 71e32f5e 2020-11-16T15:00:15 Added SDL_crc32()
Ozkan Sezer 94a047f7 2020-11-12T14:11:40 fix xcode project file permissions
Sam Lantinga abf9dfd5 2020-11-09T10:11:38 Fix MakeThreadRealtime DBus method call on Linux, type mismatch due to copy paste. Nov 02 20:34:15 redcore rtkit-daemon[2825]: Failed to parse MakeThreadRealtime() method call: Argument 1 is specified to be of type "uint32", but is actually of type "int32" Nov 02 20:34:15 redcore rtkit-daemon[2825]: Failed to parse MakeThreadRealtime() method call: Argument 1 is specified to be of type "uint32", but is actually of type "int32" Docs: http://git.0pointer.net/rtkit.git/tree/README CLIENTS: To be able to make use of realtime scheduling clients may request so with a small D-Bus interface that is accessible on the interface org.freedesktop.RealtimeKit1 as object /org/freedesktop/RealtimeKit1 on the service org.freedesktop.RealtimeKit1: void MakeThreadRealtime(u64 thread_id, u32 priority); void MakeThreadHighPriority(u64 thread_id, s32 priority);
Sam Lantinga 5d34e3c6 2020-11-09T09:47:19 Fixed linking iOS shared library
Sam Lantinga d5e367a4 2020-11-06T14:45:36 Fixed build so CoreBluetooth framework is only needed by hidapi Also added plist keys for Bluetooth permission so testgamecontroller works with HIDAPI enabled
Sam Lantinga a22beef4 2020-11-05T17:03:28 Moved the PS5 controller driver to a separate file, as the advanced feature protocol is very different from that of the PS4
Ozkan Sezer e37a9385 2020-10-19T04:33:03 Makefile.os2: remove duplicated OPTION QUIET directives from linker file
Sam Lantinga 3755f692 2020-10-16T12:40:10 Added mapping for Xbox One S controller and PS4 controller on Android 11, including guide button
Sam Lantinga df52c504 2020-10-16T09:45:40 Backed out changeset 2f59f1264083
Sam Lantinga 645a3280 2020-10-15T10:13:40 Fix iOS and tvOS builds - Fix iOS and tvOS scheme names - Add iOS/tvOS Developer signing identities and development team to iOS and tvOS shared library schemes
Ozkan Sezer 93e14497 2020-10-14T15:50:04 SDL_waylanddatamanager.c (mime_data_list_add): constify the buffer param Fixes -Wdiscarded-qualifiers warnings from Wayland_data_source_add_data()
Sam Lantinga eb1aba61 2020-10-13T21:08:22 Make the CoreHaptics framework optional on iOS and tvOS
Sam Lantinga 1b31e9f6 2020-10-13T21:08:13 Added support for game controller rumble on iOS 14
Ozkan Sezer e58cc5fa 2020-10-09T03:28:30 minor whitespace fix
Sam Lantinga 79e625f0 2020-10-08T17:01:28 Fixed trying to build OSX SDL_OpenURL on iOS and tvOS
Ryan C. Gordon 7bec9df1 2020-10-05T16:10:10 url: Add to Xcode project files, iOS/mac fixes.
Ozkan Sezer 9db16a65 2020-06-14T12:21:02 fix permissions of some project files
Sam Lantinga 22ce194b 2020-06-03T14:58:38 Make sure SDL_locale.h is included in the Xcode Framework for macOS
Sam Lantinga b9d5aebb 2020-06-03T14:56:35 Make sure SDL_locale.h is included in the Xcode Framework for tvOS
Sam Lantinga 550b209e 2020-06-03T14:26:37 Make sure SDL_locale.h is included in the Xcode Framework
Ryan C. Gordon 3195551b 2020-05-18T21:07:02 xcode: make sure locale sources are used in all targets.
Ryan C. Gordon fa23e3d0 2020-05-04T02:27:29 locale: Implemented SDL_GetPreferredLocales(). This was something I proposed a long time ago, Sylvain Becker did additional work on it, then back to me. Fixes Bugzilla #2131.
Sam Lantinga 87917b16 2020-04-14T07:54:38 Removed CoreBluetooth framework dependency as part of fixing bug 4299