Xcode-iOS


Log

Author Commit Date CI Message
Daniel Inkpen 344f018d 2021-09-30T00:06:09 Xcode-iOS Demos: Add CFBundleShortVersionString to Info.plist Xcode 13.0 requires this key to be present in the Info.plist to be able to run the compiled code.
Sam Lantinga b79e1baa 2020-11-17T10:29:36 Added weak linking to hidapi framework Also added testsensor to the test project
Sam Lantinga 009b62f1 2020-11-07T02:22:15 Be explicit about mapping the new game controller paddle buttons
Sam Lantinga cf8d3bef 2020-11-06T16:01:43 Added iOS controllermap test
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 fbf0484a 2020-11-06T14:08:11 Embed the hidapi framework for the iOS and tvOS game controller test
Sam Lantinga 1bd4b7fd 2020-11-06T13:03:07 Updated iOS tests and demos for latest SDL linking requirements
Sam Lantinga dc60b975 2020-11-06T11:32:59 Removed old iOS-only project and demos
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
Sam Lantinga 76980e30 2020-10-08T16:42:20 Added events for dynamically connecting and disconnecting displays, with an iOS implementation
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
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 2ae1c0f5 2020-04-14T09:52:27 Allow Bluetooth headphones for iOS playandrecord mode
Sam Lantinga 2d1f7be2 2020-04-14T08:43:46 Remove development team override for iOS tests
Sam Lantinga e5d36299 2020-04-13T15:46:12 Added support for new mouse APIs in iOS 13.4
David Ludwig 68c7e80d 2020-03-23T14:54:31 iOS: fixed bug whereby some SDL testing apps weren't launching Test apps in Xcode-iOS/Test/TestiPhoneOS.xcodeproj weren't launching in the most-recent release of Xcode and the iOS Simulator (version 11.3.1). This was caused by their shared Info.plist file not defining a CFBundleShortVersionString (as reported by Xcode, when launching a test app from within Xcode).
Sam Lantinga 74ba3cb4 2020-03-20T19:48:26 Backed out changeset c5bb2de42684
Sam Lantinga c63bb512 2020-03-20T19:42:59 Only build raw input support on Windows
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 513730c4 2020-03-15T14:40:51 iOS: fixed build error when building test apps via Xcode CoreBluetooth.framework needed to get linked into test apps, all of which are currently using statically-linked SDL.
David Ludwig 9b1ea290 2020-03-15T14:21:05 virtual joysticks: added source files to Xcode projects (Bug 5028)
Sam Lantinga 1bd12026 2020-02-04T15:42:49 Added SDL_hidapi_rumble.c to the macOS, iOS and tvOS builds
Sam Lantinga 214eb88f 2020-01-29T20:09:14 Added SDL_hidapi_steam.c to the iOS and tvOS dylib build targets
Sam Lantinga 355f0b54 2020-01-29T20:09:11 Added support for the Steam Controller on mobile devices
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 7d6f7e8d 2019-08-23T03:01:10 fix permissions
Sam Lantinga b521df66 2019-08-22T16:09:42 [SDL][IOS] Audio fix - applies stream to sound data when resampling or reformatting is required.
Alex Szpakowski 3fb5cabe 2019-08-16T22:13:30 metal: Update compiled shaders based on compilation script changes
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 d550867a 2019-07-09T08:55:00 fix permissions
Sam Lantinga 67bb882e 2019-07-03T15:57:55 Fixed bug 4707 - SDL_SetRelativeMouseMode fails on Vivante Cameron Gutman The bugfix in https://hg.libsdl.org/SDL/rev/ca9417a52f18 caused SDL_SetRelativeMouseMode() to begin failing on Vivante (Steam Link). Even though Vivante doesn't have a SetRelativeMouseMode() or WarpMouse() function, it's in relative mode already (because it uses evdev) so the function was actually working as intended. I think providing a no-op SetRelativeMouseMode() function for Vivante is a reasonable fix. Since it's already getting relative events through evdev, it really is a no-op to "enter relative mode". In fact, this is probably the right thing to do for all backends that use evdev (vivante, raspberry, and kmsdrm). Raspberry and kmsdrm both have WarpMouse() implementations so SDL_SetRelativeMouseMode() isn't failing there, but it still seems to make sense not to have to do the fake warping if they're evdev-based anyway.
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.
Ozkan Sezer 09142eb7 2019-06-12T13:56:20 fix permissions
Sam Lantinga aa80d279 2019-06-11T08:33:30 Fix build with the 10.10 SDK
Sam Lantinga 30a5e90b 2019-06-08T14:29:05 Fixed bug 4603 - The iOS Test Xcode project file needs to add the metal framework Dominik Reichardt Similar to bug #4088 the iOS test suite needs the metal framework to link. Same linking error in the final linking phase.
Sam Lantinga 624f8ca8 2019-04-23T14:08:09 Created Xcode schemes for building on iOS and tvOS
Sam Lantinga a7148922 2019-03-19T11:02:43 Fixed archiving the SDL dynamic library on iOS and tvOS
Sam Lantinga 4d8ac6b8 2019-03-19T07:53:39 Added support for building SDL as a dynamic library on tvOS
Sam Lantinga de82759c 2019-03-19T07:53:33 Added support for building SDL as a dynamic library on iOS
Sam Lantinga d49f1fae 2019-03-16T19:46:27 Fixed iOS build
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.
Sam Lantinga b08bdc44 2018-10-26T09:27:31 Don't build SDL_JOYSTICK_HIDAPI by default on iOS If you enable this, you'll need to link with CoreBluetooth.framework and add something like this to your Info.plist: <key>NSBluetoothPeripheralUsageDescription</key> <string>MyApp would like to remain connected to nearby bluetooth Game Controllers and Game Pads even when you're not using the app.</string>
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.
Sam Lantinga 30def8e2 2018-10-18T15:40:39 Fixed bug 4324 - Xcode 10 - more cleanup for macOS and iOS projects Dominik Reichardt Similar to bug/patch #4228, the iOS Demo Xcode project needs to add the CoreBluetooth framework.
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 63848141 2018-09-10T22:59:49 Fixed building on tvOS without any sensor support
Ozkan Sezer faf8f8b8 2018-08-30T12:50:10 fix permissions
Sam Lantinga f225af0c 2018-08-22T21:48:28 Added SDL_GetDisplayOrientation() to get the display orientation, and added a new event SDL_DISPLAYEVENT to notify the application when the orientation changes. Documented the values returned by the accelerometer and gyroscope sensors
Sam Lantinga f1bc1c12 2018-08-22T17:44:28 Fixed crash trying to open HIDAPI controller as a haptics device on Windows
Sam Lantinga e9f6805f 2018-08-21T19:42:19 Removed dependency on C++ runtime on iOS
Sam Lantinga c6647bf9 2018-08-21T17:24:12 Added the iOS sensor implementation
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 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 41da7b79 2018-06-12T14:00:15 ran 'chmod -x' on many files
Sam Lantinga b33dbd27 2018-02-24T08:40:30 Added missing file to tvOS build
Sam Lantinga 684c5847 2017-12-12T22:30:21 Moved deployment target values to project settings
Sam Lantinga 35a2eed3 2017-12-12T21:59:39 Parameterized the All (target platform) build target scripts so they can be used in other projects
Sam Lantinga 527a8eb0 2017-12-12T12:14:55 Renamed Xcode build targets so it's easier to copy files out of build directories on the command line Also enabled bitcode, which is needed for App Store builds
Sam Lantinga 638d4fe3 2017-12-12T11:29:00 Added SDL_uikitmetalview.m to the tvOS project
Sam Lantinga 3ae97689 2017-12-10T09:09:27 Added the Metal framework to several iOS tests
Sam Lantinga ba9c336e 2017-12-07T17:47:01 Fixed building for simulators or older iOS SDKs
Sam Lantinga 6deb1e75 2017-12-07T17:12:03 Fixed compiling Metal renderer on iOS
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 f24c6672 2017-10-26T10:49:33 Updated SDL iOS project for tvOS
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 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 28602b12 2017-09-22T11:15:57 The volume was too high, clamp to SDL_MIX_MAXVOLUME
Sam Lantinga d8286479 2017-09-22T08:30:52 Added stubs for simple Steam Controller support
Sam Lantinga e8187a3f 2017-09-14T09:56:16 Updated iOS keyboard test to cover text input rect and orientation changes
Ryan C. Gordon 25e3a1ec 2017-08-27T22:15:57 vulkan: Initial Vulkan support! This work was done by Jacob Lifshay and Mark Callow; I'm just merging it into revision control.
Alex Szpakowski efc43a1d 2017-08-15T23:00:54 More cleanup of the iOS keyboard demo.
Alex Szpakowski a0a09f64 2017-08-15T22:53:57 Improve iOS keyboard demo code a bit.
Philipp Wiesemann b84fe2c0 2017-05-25T23:01:59 ios: Fixed math include in demos.
Philipp Wiesemann 37b49e63 2017-04-09T23:00:26 ios: Fixed compiler warnings about unused variables in demo.
Philipp Wiesemann 6bd87635 2017-03-19T22:17:01 iOS: Fixed compiling template on C89 compilers.
Sam Lantinga b4e069e7 2016-12-26T02:12:21 Fixed bug 3517 - Compiler warnings with gcc -Wstrict-prototypes felix Compiling even a simple SDL2 'hello world' program with gcc -Wstrict-prototypes (GCC 6.2.1) results in warnings like: /usr/include/SDL2/SDL_gamecontroller.h:143:1: attention : function declaration isn't a prototype [-Wstrict-prototypes] extern DECLSPEC int SDLCALL SDL_GameControllerNumMappings(); ^~~~~~ It seems there is a missing 'void' between the parentheses.
Ryan C. Gordon 09ed5cc0 2016-12-06T13:33:02 xcode: Make sure SDL_dataqueue sources are included in all targets.
Ryan C. Gordon 6cb2f5bb 2016-12-06T12:30:31 xcode: updated macOS and iOS project files with SDL_dataqueue sources.
Philipp Wiesemann f662f680 2016-10-09T20:30:49 iOS: Updated demo README.
Philipp Wiesemann c2cb0b0f 2016-09-30T23:31:24 iOS: Removed unused constant in demo.
Philipp Wiesemann 357c3dd7 2016-09-26T23:09:19 iOS: Updated comment in demo.
Alex Szpakowski a8b033d7 2016-09-25T00:23:35 Update the code for the iOS demos to handle modern devices. Fixes bug #3337
Alex Szpakowski 4209a1fd 2016-09-15T19:59:57 CoreAudio iOS/tvOS: Use AVFoundation instead of AudioSession. Fixes audio on tvOS. Note that linking with AVFoundation is now required if you don't disable SDL_audio compilation on iOS and tvOS.
Sam Lantinga dbe2997a 2016-09-14T08:45:35 Fixed building for both iOS and tvOS on Xcode 8
Sam Lantinga d0898b38 2016-09-14T07:09:35 Allow targeting tvOS
Alex Szpakowski f0505766 2016-09-13T22:18:06 Initial Apple TV / tvOS support. The Apple TV remote is currently exposed as a joystick with its touch surface treated as two axes. Key presses are also generated when its buttons and touch surface are used. A new hint has been added to help deal with deciding whether to background the app when the remote's menu button is pressed: SDL_HINT_APPLE_TV_CONTROLLER_UI_EVENTS.
Alex Szpakowski 86708c3c 2016-09-13T19:51:10 Enable more compiler warnings in the Xcode projects (based on Xcode 8's suggestion), made some integer downcasts explicit.