|
4e98ba61
|
2022-09-05T08:28:06
|
|
Set DYLIB_COMPATIBILITY_VERSION to DYLIB_CURRENT_VERSION to match autotools
Autotools sets both versions to the same value, so Xcode and CMake need to match for the libraries to be compatible between the different builds.
See these for details:
https://github.com/libsdl-org/sdl12-compat/pull/207
https://github.com/libsdl-org/SDL/issues/2934
https://stackoverflow.com/questions/67055770/usage-of-current-version-and-compatibility-version-on-macos
|
|
397672ed
|
2022-09-01T15:31:03
|
|
Added SDL_hidapi_wii.c to the Xcode project
|
|
dc2ef31c
|
2022-08-24T04:12:58
|
|
cmake: create SDL2::SDL2main target in Apple framework official release
|
|
6ac6accd
|
2022-08-23T23:05:11
|
|
Added SDL_hidapi_ps3.c to the Xcode project
|
|
6e9c14e5
|
2022-08-19T09:38:42
|
|
Updated to version 2.25.0 for development
|
|
8c9beb0c
|
2022-08-19T08:44:09
|
|
Updated to version Updated to version 2.24.0 for release
|
|
f1416ef2
|
2022-08-12T20:27:22
|
|
Updated to version 2.23.2 for release candidate
|
|
c2db429f
|
2022-08-11T13:20:17
|
|
Added SDL_crc16.c to the Xcode project
|
|
2909f637
|
2022-08-06T23:28:39
|
|
Revert "Enable bitcode by default for iOS and tvOS builds"
This reverts commit 59963473efbe86e4b7ca292bc2d81ac90f872581.
This fixes https://github.com/libsdl-org/SDL/issues/6015
Starting with Xcode 14, bitcode is no longer required for watchOS and tvOS applications, and the App Store no longer accepts bitcode submissions from Xcode 14.
Xcode no longer builds bitcode by default and generates a warning message if a project explicitly enables bitcode: “Building with bitcode is deprecated. Please update your project and/or target settings to disable bitcode.” The capability to build with bitcode will be removed in a future Xcode release. IPAs that contain bitcode will have the bitcode stripped before being submitted to the App Store. Debug symbols for past bitcode submissions remain available for download. (86118779)
|
|
181877eb
|
2022-07-28T21:54:34
|
|
Added SDL_hidapi_combined.c to the Xcode project
|
|
5da85376
|
2022-07-26T21:47:52
|
|
stdlib: move all mslibc functions to SDL_mslibc.c
This allows disabling LTO on them by only specifying a single file.
|
|
f789bc7d
|
2022-07-26T11:36:01
|
|
Updated minimum OS targets on Apple platforms to match supported platforms using Xcode 13
|
|
59963473
|
2022-07-22T10:58:32
|
|
Enable bitcode by default for iOS and tvOS builds
|
|
e3916993
|
2022-07-17T08:47:06
|
|
Added SDL_utils.c to the Xcode project
|
|
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.
|
|
78089e65
|
2022-07-01T13:08:31
|
|
Remove unused internal header SDL_sysevents.h
|
|
b004133f
|
2022-06-16T12:49:17
|
|
Updated to version 2.23.1 for pre-release checkpoint
|
|
5b4f53bc
|
2022-06-15T14:26:47
|
|
Added SDL_memset.c and SDL_memcpy.c to Xcode project
|
|
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.
|
|
6bd49fc0
|
2022-06-08T21:58:10
|
|
revert mode changes from commit d58d637ac
|
|
d58d637a
|
2022-06-08T11:07:36
|
|
Added support for the Qanba Obsidian Arcade Joystick on Linux
|
|
168b97ca
|
2022-06-07T00:33:59
|
|
Updated Xcode project with SDL_guid.c and controller_type.c
|
|
96e3733a
|
2022-06-03T20:13:57
|
|
cmake: make Xcode's sdl2-config.cmake compatible with the one from autotools
|
|
3c3c0251
|
2022-05-30T00:39:53
|
|
Add Compatible Interface Properties to VisualC and Xcode SDL2 config file
|
|
774c5017
|
2022-05-28T11:52:23
|
|
Add CMake section to the Xcode ReadMe.txt
|
|
423c7ef8
|
2022-05-27T14:47:39
|
|
Don't set SDL2_LIBRARY, we need the Framework configuration on Apple platforms
|
|
37ef6a76
|
2022-05-27T14:46:49
|
|
Use a full path for the framework header include path
|
|
f73c2564
|
2022-05-27T22:17:12
|
|
cmake: attempt to use framework in Xcode's sdl2-config.cmake
|
|
4c3d1d32
|
2022-05-27T11:52:16
|
|
Use INTERFACE_INCLUDE_DIRECTORIES in Xcode's sdl2-config.cmake
|
|
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.
|
|
e30b9993
|
2022-05-26T18:31:06
|
|
Fixed warning about location of CMake support files
|
|
01492a24
|
2022-05-26T18:30:15
|
|
Added CMake package support files to the SDL framework
|
|
2c591e40
|
2022-05-26T16:26:54
|
|
Add CMake configuration files, meant for Macos framework
|
|
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.
|
|
d35c737f
|
2022-05-07T21:38:48
|
|
macOS: change min supported OS from 10.6 to 10.7.
|
|
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>
|
|
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>
|
|
41b91985
|
2022-04-30T11:39:44
|
|
Fixed Xcode warning about Framework include style
|
|
fa29e2d7
|
2022-04-25T13:45:51
|
|
Updated to version 2.0.23 for development
|
|
505d6a4a
|
2022-04-08T18:18:56
|
|
Update version to 2.0.22 for release
|
|
1c9299b0
|
2022-04-01T08:12:31
|
|
Add SDL_list to macosx xcode
|
|
ee96407e
|
2022-02-04T21:49:11
|
|
iOS >= 10.0 silence GLes deprecation warnings
|
|
a0e3c884
|
2022-01-17T15:32:27
|
|
Updated to version 2.0.21 for development
|
|
92946348
|
2022-01-07T18:28:25
|
|
Updated to version 2.0.20 for release
|
|
120c76c8
|
2022-01-03T09:40:00
|
|
Updated copyright for 2022
|
|
056c0994
|
2021-11-30T12:19:26
|
|
Updated iOS build instructions
|
|
5fc901d4
|
2021-11-30T09:58:21
|
|
Updated to version 2.0.19 for development
|
|
3008b005
|
2021-11-27T07:56:04
|
|
Include SDL_hidapi.h in the public headers
Fixes https://github.com/libsdl-org/SDL/issues/5015
|
|
7242075b
|
2021-11-26T08:12:45
|
|
Updated version to 2.0.18 for release
|
|
7b9fe52e
|
2021-11-09T05:40:57
|
|
We're no longer building a separate shared library for hidapi
|
|
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.
|
|
d854ba99
|
2021-09-24T10:59:35
|
|
Removed X11 code from Apple Xcode project
|
|
fd236af8
|
2021-04-02T09:37:25
|
|
Update Xcode project to add SDL_triangle.{c,h}
|
|
3f6ebfff
|
2021-08-10T15:02:36
|
|
Updated to version 2.0.17 for development
|
|
cb1fd30e
|
2021-07-31T13:28:54
|
|
Updated to version 2.0.16 for release
|
|
3e76646c
|
2021-07-31T13:09:53
|
|
Added libSDLmain.a for iOS and tvOS
|
|
1a9253f7
|
2021-07-31T12:37:28
|
|
Removed unused IOS_DYLIB definition
|
|
118480e5
|
2021-07-08T17:56:14
|
|
fix permissions
|
|
46f19c31
|
2021-07-08T07:23:29
|
|
Implemented mouse relative mode for iOS 14.1 and newer
|
|
75a9f8e2
|
2021-07-07T13:06:15
|
|
Added SDL_hidapi_luna.c to the Xcode project
|
|
646ddfb7
|
2021-05-15T00:22:50
|
|
minor watcom build fixes.
|
|
9231f1f1
|
2021-05-07T12:29:03
|
|
Added support for the PS5 controller on iOS and tvOS
|
|
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.
|
|
bb76edf3
|
2021-02-22T15:44:32
|
|
fix permissions of a few files
|
|
f5e9c5b7
|
2021-02-21T11:03:25
|
|
Chromebooks support relative mouse motion now
|
|
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.
|
|
582e1f4a
|
2021-01-28T23:03:50
|
|
config.guess and config.sub updates from mainstream
|
|
d95a9eae
|
2021-01-27T21:30:13
|
|
Added WIN_IsWindows8OrGreater() for internal use
|
|
360e04dd
|
2021-01-23T13:15:02
|
|
Added Stadia controller source file to Visual Studio and Xcode projects
|
|
29888bd6
|
2021-01-08T21:56:00
|
|
fixed permissions of xcode project file
|
|
b2a0c712
|
2021-01-04T12:24:44
|
|
Allow setting the player index to -1, which turns off the player LED for PS5 controllers
|
|
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.
|
|
9130f7c3
|
2021-01-02T10:25:38
|
|
Updated copyright for 2021
|
|
b5f0483c
|
2021-01-01T22:30:28
|
|
fix permissions
|
|
5f0b2a7f
|
2021-01-01T11:12:22
|
|
Fixed resource leak with D3D11 NV12 textures
|
|
5aba0827
|
2020-12-30T11:38:51
|
|
Build SDL for Mac hardware when targeting iOS
|
|
350f1b0d
|
2020-12-22T10:36:15
|
|
Updated SDL to version 2.0.15 for development
|
|
637d425e
|
2020-12-15T00:11:10
|
|
whitespace.
|
|
e65e4fd3
|
2020-12-14T09:48:51
|
|
Fixed detecting the guide button on Xbox One S controllers over Bluetooth on Linux
|
|
c8ee0691
|
2020-12-13T00:15:54
|
|
Added SDL_misc.h to the Xcode built frameworks
|
|
475405e0
|
2020-12-09T12:03:24
|
|
CMakeLists.txt: sync DYLIB_CURRENT_VERSION to Xcode project
|
|
a2098a47
|
2020-12-08T18:56:06
|
|
Updated SDL to 2.0.14 in preparation for release candidate
|
|
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.
|
|
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.
|
|
c63bbb06
|
2020-11-24T06:55:33
|
|
Including SDL_config_iphoneos.h enables MFI controller code
|
|
fd894467
|
2020-11-21T14:13:26
|
|
Fixed building on Mac OS X on the command line and with an older macOS SDK
|
|
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.
|
|
082558db
|
2020-11-20T12:20:02
|
|
SDL_os2messagebox.c (_makeDlg): fix crash if title and/or message is NULL.
c.f.: bug #5253.
|
|
cd51a51f
|
2020-11-18T20:34:08
|
|
Updated with a better understanding of the Xbox One controller protocol
|
|
71e32f5e
|
2020-11-16T15:00:15
|
|
Added SDL_crc32()
|
|
94a047f7
|
2020-11-12T14:11:40
|
|
fix xcode project file permissions
|
|
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);
|
|
5d34e3c6
|
2020-11-09T09:47:19
|
|
Fixed linking iOS shared library
|
|
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
|
|
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
|
|
e37a9385
|
2020-10-19T04:33:03
|
|
Makefile.os2: remove duplicated OPTION QUIET directives from linker file
|
|
3755f692
|
2020-10-16T12:40:10
|
|
Added mapping for Xbox One S controller and PS4 controller on Android 11, including guide button
|
|
df52c504
|
2020-10-16T09:45:40
|
|
Backed out changeset 2f59f1264083
|
|
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
|
|
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()
|