Xcode


Log

Author Commit Date CI Message
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
David Ludwig b2296506 2020-03-15T15:05:36 virtual joysticks: MSVC support part 1/2, make driver's .c file be uniquely named
David Ludwig 9b1ea290 2020-03-15T14:21:05 virtual joysticks: added source files to Xcode projects (Bug 5028)
Sam Lantinga 983bbf9e 2020-03-10T18:35:31 Backed out changeset 51622f74dc85
Sam Lantinga 93ed3c8b 2020-03-10T18:25:47 Updated SDL to version 2.0.13 for development builds
Sam Lantinga 4fb06a2a 2020-03-10T18:25:47 Updated SDL to version 2.0.13 for development builds
Sam Lantinga 11a84e4f 2020-03-01T18:16:15 Make sure hidapi is built for the release DMG
Sam Lantinga 74ed2156 2020-03-01T14:58:16 Updated version to 2.0.12 for release candidate build
Sam Lantinga 1bd12026 2020-02-04T15:42:49 Added SDL_hidapi_rumble.c to the macOS, iOS and tvOS builds
Sam Lantinga 68e702b6 2020-02-03T00:51:35 Fixed the hidapi Info.plist for submission to the Apple App Store
Sam Lantinga 39a498c9 2020-01-31T13:09:20 Build the hidapi framework and weak link it on Mac OS X
Sam Lantinga 91121ee4 2020-01-31T10:45:04 Weak link the hidapi framework on iOS and tvOS
Sam Lantinga 1190343f 2020-01-30T16:02:56 Build hidapi as a framework on iOS, so it can be linked by the application as well.
Sam Lantinga 4e33c013 2020-01-30T14:53:18 More Xcode project improvements
Sam Lantinga bc685163 2020-01-29T20:09:18 Added a unified Xcode project for macOS, iOS and tvOS
Sam Lantinga a8780c6a 2020-01-16T20:49:25 Updated copyright date for 2020
Ozkan Sezer 9996d1bb 2019-12-20T14:33:37 fix xcode project file permissions
Sam Lantinga 6b767872 2019-12-19T21:45:44 Make sure the Xbox 360 driver doesn't try to talk to the wireless controllers
Sam Lantinga 20daf54f 2019-12-19T15:18:50 Added new HIDAPI driver files to the Xcode projects
Ozkan Sezer b8d325c8 2019-11-21T23:04:20 fix xcode project file permissions
Sam Lantinga 2a7b635b 2019-11-21T11:52:50 Added support for the NVIDIA Controller v01.04 on Android
Ozkan Sezer eb8f14bb 2019-11-20T20:40:50 added SDL_strtokr() as a replacement for POSIX strtok_r (bug #4046.)
Ozkan Sezer ffc7d091 2019-10-01T14:00:02 endpointvolume.h checks not needed since changeset 13078:8ab094a9df6b .
Alex Szpakowski f46ac1e9 2019-09-27T20:15:42 macOS: Fix SDL_metal.h not being copied to the framework's Headers folder when SDL.framework is built using Xcode.
Sam Lantinga 84dc44e2 2019-09-27T15:21:27 Fix the RealtimeKit dbus include guards The SDL_USE_LIBDBUS define is set inside SDL_debug.h, therefore the circular dependency made it impossible for this feature to be enabled. Instead, guard SDL_dbus.h based on the autoconf variable HAVE_DBUS_DBUS_H Additionally, fix one of the rtkit comments. CAP_SYS_NICE isn't required to achieve high priority. But there is some scheduler config that rtkit needs the app to setup.
Sam Lantinga 3fe2d836 2019-09-22T10:37:16 Updated SDL development builds to version 2.0.11
Ozkan Sezer 7f5fc74c 2019-08-08T23:35:02 fix permissions
Sam Lantinga cbdee4d6 2019-08-08T13:26:05 [ SDL ] Fix compile error building for Windows/ARM64 on Visual Studio 2017 Win10 SDK 10.0.18362.0 which requires ar,74intr.h/arm64_neon.h header instead of armintr.h/arm_neon.h for intrinsics. @saml
Alex Szpakowski aebaa316 2019-08-05T12:35:32 Add public APIs for creating a Metal view attached to an SDL window. Add SDL_metal.h.
Ozkan Sezer 42e4219c 2019-08-03T12:50:28 fix permissions
Sam Lantinga 63197c43 2019-08-02T17:19:50 Fix bug where the wrong button was the default in the old message box because buttons were added backwards, breaking the indexing used by GetButtonIndex. Add messagebox flags to explicilty request left-to-right button order or right-to-left. If neither is specified it'll be some platform default.
Sam Lantinga a5433610 2019-07-30T10:15:49 Fixed bug 4742 - SDL 2.0.10 DMG has duplicated files (instead of symlinks)
Ozkan Sezer bcb357d4 2019-06-24T23:50:20 fix permissions
Sam Lantinga be6cda9f 2019-06-19T15:54:21 Rolling back GameCube HIDAPI support It causes the HIDAPI devices to always be opened on enumeration, which causes crashes in the Windows drivers when multiple applications are reading and writing at the same time. We can revisit this after 2.0.10 release.
Sam Lantinga 667c872b 2019-06-18T21:50:57 Fixed building DMG archive on Mac OS X
Sam Lantinga 14e8b93e 2019-06-18T14:24:24 Fixed compiler warning
Sam Lantinga 67c67f3a 2019-06-17T10:13:28 Updated version to 2.0.10
Ozkan Sezer 09142eb7 2019-06-12T13:56:20 fix permissions
Sam Lantinga de82759c 2019-03-19T07:53:33 Added support for building SDL as a dynamic library on iOS
Sam Lantinga cf7c05c2 2019-03-16T19:44:04 Fixed Mac OS X build
Sam Lantinga 5e13087b 2019-01-04T22:01:14 Updated copyright for 2019
Ozkan Sezer 43d47f6b 2018-11-15T07:20:02 fix permissions
Sam Lantinga 2e348c1f 2018-11-14T13:37:22 Fixed bug 3193 - Dualshock 3's motion sensors overwrite analog stick maxxus The Dualshock 3's motion sensors don't seem to be reported by the call to EVIOCGBIT but they still send EV_ABS events. Because they're not reported by EVIOCGBIT they're not assigned a proper axis ids and the default of 0 is used, which is the valid id for the left analog sticks left/right axis.
Ozkan Sezer f0549cc9 2018-10-23T09:10:02 fix permissions
Sam Lantinga c4918db5 2018-10-22T14:55:42 Add exception handling to Android hidapi.
Sam Lantinga 56806804 2018-10-18T15:41:50 Fixed bug 4324 - Xcode 10 - more cleanup for macOS and iOS projects Dominik Reichardt Xcode warns about "Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO." Just doing the latter is enough to silence the warning without ill effects on compiling. This affects the macOS Xcode projects as well as the iOS projects. Definitely not a bug but an annoying warning that could go away.
Ozkan Sezer 35422bd8 2018-09-29T09:20:50 fix permissions
Sam Lantinga 74638ea3 2018-09-28T20:39:57 Ensure we wait on the surface resize before returning from setting fullscreen mode.
Sam Lantinga 9aa8a75d 2018-09-28T01:18:54 Fixed building with Xcode 10.0
Sam Lantinga bc6c1997 2018-09-26T10:08:14 Updated version to 2.0.9
Ozkan Sezer bab5b084 2018-09-15T08:11:50 fix permissions
Sam Lantinga e8a0e35e 2018-09-14T18:31:01 Use atomic reference counting for the HID device object
Sam Lantinga e987bedf 2018-09-05T13:04:50 Updated Xcode library version to match libtool output with Ozkan's change
Ozkan Sezer faf8f8b8 2018-08-30T12:50:10 fix permissions
Sam Lantinga 5901fe46 2018-08-23T02:24:31 Added display event files to the Mac OS X project
Sam Lantinga f1bc1c12 2018-08-22T17:44:28 Fixed crash trying to open HIDAPI controller as a haptics device on Windows
Sam Lantinga bdbc06b0 2018-08-21T16:47:44 Fixed bug 4228 - Clean-up Xcode projects C.W. Betts This cleans up the Xcode project by setting the Xcode groups to the corresponding directories. This also removes the Resources folder in OS X's Products group and adds the CoreBluetooth framework to the iOS tests (this is needed due to the addition of hidapi.
Sam Lantinga 3e5dbc69 2018-08-21T13:29:21 Added a dummy sensor driver
Sam Lantinga 7c3040e0 2018-08-21T12:11:34 First pass on the new SDL sensor API
Sam Lantinga d2042e1e 2018-08-09T16:00:17 Added HIDAPI joystick drivers for more consistent support for Xbox, PS4 and Nintendo Switch Pro controller support across platforms. Added SDL_GameControllerRumble() and SDL_JoystickRumble() for simple force feedback outside of the SDL haptics API
Ozkan Sezer cf7b94f2 2018-06-30T20:03:23 ran 'chmod -x' on two files
Ozkan Sezer 41da7b79 2018-06-12T14:00:15 ran 'chmod -x' on many files
Sam Lantinga c00858bf 2018-02-20T09:04:31 Fixed bug 4088 - Fix Metal link errors with test programs in SDLTest.xcodeproj Eric Wasylishen The following patch adds Metal.framework to the "link binary with libraries" section of each test program, with "status" set to "optional", which fixes link errors on all of the test programs. I'm not sure if this is a correct fix - the fact that this was necessary might indicate the static SDL2.a library has a hard dependency on Metal.framework (?) - but it gets the test programs working in Xcode again. It also adds testyuv_cvt.c to the testoverlay2 target, fixing a link error.
Sam Lantinga e3cc5b2c 2018-01-03T10:03:25 Updated copyright for 2018
Ryan C. Gordon d027f360 2017-12-30T14:40:39 xcode: Add Metal and QuartCore to everything as a weak_framework.
Sam Lantinga b2859af6 2017-12-07T16:08:09 Enable building the Metal renderer by default, and weak link the Metal framework so the SDL library is safe to use on older Macs Also generate iOS versions of the Metal shaders
Sam Lantinga 57ebc727 2017-12-04T20:35:01 Fixed bug 3975 - Add GLES2 support for macOS via ANGLE library Andrey Seems latest google angle library successfully built & tested under macOS'es. https://github.com/google/angle We need to use GLES2 to implement true cross-platform code.
Sam Lantinga a6a4e27a 2017-11-12T22:51:12 Updated SDL's YUV support, many thanks to Adrien Descamps New functions get and set the YUV colorspace conversion mode: SDL_SetYUVConversionMode() SDL_GetYUVConversionMode() SDL_GetYUVConversionModeForResolution() SDL_ConvertPixels() converts between all supported RGB and YUV formats, with SSE acceleration for converting from planar YUV formats (YV12, NV12, etc) to common RGB/RGBA formats. Added a new test program, testyuv, to verify correctness and speed of YUV conversion functionality.
Sam Lantinga 2c5724ef 2017-11-04T21:58:48 Updated version to 2.0.8 since SDL_image depends on it
Sam Lantinga 0506d4fc 2017-10-12T17:21:57 Build both 32 and 64-bit architectures in the OSX Framework
Sam Lantinga 9c580e14 2017-10-12T13:44:28 Added functions to query and set the SDL memory allocation functions: SDL_GetMemoryFunctions() SDL_SetMemoryFunctions() SDL_GetNumAllocations()
Sam Lantinga 0ce23a54 2017-10-12T08:08:04 Updated version to 2.0.7
Sam Lantinga cc023b6b 2017-09-22T12:26:54 Fixed bug 3837 - Change project settings for Xcode 9? Mark Callow Xcode 9 emits a warning to validate project settings. The changes it proposes are 1. [iOS] Update the iOS deployment target to 8.0 since Xcode does not support anything older. 2. [macOS] Target 'Framework' - Automatically Select Archectures. 3. [iOS & macOS] Turns on a bunch more compile warnings, a *lot* more on iOS. 4. [iOS & macOS] Turn on "Missing Localizability". I want to confirm if it is ok to accept these changes and submit updated project files. Since Alex Szpakowski has just removed iOS 7 guard ifdef's, I'm guessing 1 isn't a problem. 2 is probably ok for anyone building themselves. I wonder if it may cause problems for building distribution binaries. 3 shouldn't be a problem either provided any newly emitted warnings are fixed. 4 I am unfamiliar with. The description says "This will turn on the static analyzer to check for "Missing Localizability", because this project is localized for multiple languages." I suppose this may cause new warnings.
Sam Lantinga d2eda267 2017-09-04T22:51:28 Added SDL_vulkan.h to the Mac OS X framework headers