Skip to content

Commit a2098a4

Browse files
committed
Updated SDL to 2.0.14 in preparation for release candidate
1 parent 2a9591a commit a2098a4

File tree

12 files changed

+102
-22
lines changed

12 files changed

+102
-22
lines changed

CMakeLists.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ include(${SDL2_SOURCE_DIR}/cmake/sdlchecks.cmake)
5454
# set SDL_BINARY_AGE and SDL_INTERFACE_AGE to 0.
5555
set(SDL_MAJOR_VERSION 2)
5656
set(SDL_MINOR_VERSION 0)
57-
set(SDL_MICRO_VERSION 13)
58-
set(SDL_INTERFACE_AGE 1)
59-
set(SDL_BINARY_AGE 13)
57+
set(SDL_MICRO_VERSION 14)
58+
set(SDL_INTERFACE_AGE 0)
59+
set(SDL_BINARY_AGE 14)
6060
set(SDL_VERSION "${SDL_MAJOR_VERSION}.${SDL_MINOR_VERSION}.${SDL_MICRO_VERSION}")
6161
# the following should match the versions in Xcode project file:
6262
set(DYLIB_CURRENT_VERSION 12.0.0)

Makefile.os2

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# wmake -f Makefile.os2
33

44
LIBNAME = SDL2
5-
VERSION = 2.0.13
5+
VERSION = 2.0.14
66
DESCRIPTION = Simple DirectMedia Layer 2
77

88
LIBHOME = .

WhatsNew.txt

+74
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,80 @@
11

22
This is a list of major changes in SDL's version history.
33

4+
---------------------------------------------------------------------------
5+
2.0.14:
6+
---------------------------------------------------------------------------
7+
General:
8+
* Added support for PS5 DualSense and Xbox Series X controllers to the HIDAPI controller driver
9+
* Added game controller button constants for paddles and new buttons
10+
* Added game controller functions to get additional information:
11+
* SDL_GameControllerGetSerial()
12+
* SDL_GameControllerHasAxis()
13+
* SDL_GameControllerHasButton()
14+
* SDL_GameControllerGetNumTouchpads()
15+
* SDL_GameControllerGetNumTouchpadFingers()
16+
* SDL_GameControllerGetTouchpadFinger()
17+
* SDL_GameControllerHasSensor()
18+
* SDL_GameControllerSetSensorEnabled()
19+
* SDL_GameControllerIsSensorEnabled()
20+
* SDL_GameControllerGetSensorData()
21+
* SDL_GameControllerRumbleTriggers()
22+
* SDL_GameControllerHasLED()
23+
* SDL_GameControllerSetLED()
24+
* Added the hint SDL_JOYSTICK_HIDAPI_PS5 to control whether the HIDAPI driver for PS5 controllers should be used.
25+
* Added joystick functions to get additional information:
26+
* SDL_JoystickGetSerial()
27+
* SDL_JoystickRumbleTriggers()
28+
* SDL_JoystickHasLED()
29+
* SDL_JoystickSetLED()
30+
* Added an API to allow the application to create virtual joysticks:
31+
* SDL_JoystickAttachVirtual()
32+
* SDL_JoystickDetachVirtual()
33+
* SDL_JoystickIsVirtual()
34+
* SDL_JoystickSetVirtualAxis()
35+
* SDL_JoystickSetVirtualButton()
36+
* SDL_JoystickSetVirtualHat()
37+
* Added SDL_LockSensors() and SDL_UnlockSensors() to guarantee exclusive access to the sensor list
38+
* Added SDL_HAPTIC_STEERING_AXIS to play an effect on the steering wheel
39+
* Added the hint SDL_HINT_MOUSE_RELATIVE_SCALING to control whether relative motion is scaled by the screen DPI or renderer logical size
40+
* The default value for SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS is now false for better compatibility with modern window managers
41+
* Added SDL_GetPreferredLocales() to get the application's current locale setting
42+
* Added the hint SDL_HINT_PREFERRED_LOCALES to override your application's default locale setting
43+
* Added SDL_OpenURL() to open a URL in the system's default browser
44+
* Added SDL_HasSurfaceRLE() to tell whether a surface is currently using RLE encoding
45+
* Added SDL_SIMDRealloc() to reallocate memory obtained from SDL_SIMDAlloc()
46+
* Added SDL_GetErrorMsg() to get the last error in a thread-safe way
47+
* Added SDL_crc32(), SDL_wcscasecmp(), SDL_wcsncasecmp(), SDL_trunc(), SDL_truncf()
48+
* Added clearer names for RGB pixel formats, e.g. SDL_PIXELFORMAT_XRGB8888, SDL_PIXELFORMAT_XBGR8888, etc.
49+
50+
Windows:
51+
* Added the RAWINPUT controller driver to support more than 4 Xbox controllers simultaneously
52+
* Added the hint SDL_HINT_JOYSTICK_RAWINPUT to control whether the RAWINPUT driver should be used
53+
* Added the hint SDL_HINT_JOYSTICK_HIDAPI_CORRELATE_XINPUT to control whether XInput and WGI should be used to for complete controller functionality with the RAWINPUT driver.
54+
55+
macOS:
56+
* Added the SDL_WINDOW_METAL flag to specify that a window should be created with a Metal view
57+
* Added SDL_Metal_GetLayer() to get the CAMetalLayer backing a Metal view
58+
* Added SDL_Metal_GetDrawableSize() to get the size of a window's drawable, in pixels
59+
60+
Linux:
61+
* Added the hint SDL_HINT_AUDIO_DEVICE_APP_NAME to specify the name that shows up in PulseAudio for your application
62+
* Added the hint SDL_HINT_AUDIO_DEVICE_STREAM_NAME to specify the name that shows up in PulseAudio associated with your audio stream
63+
* Added the hint SDL_HINT_LINUX_JOYSTICK_DEADZONES to control whether HID defined dead zones should be respected on Linux
64+
* Added the hint SDL_HINT_THREAD_PRIORITY_POLICY to specify the thread scheduler policy
65+
* Added the hint SDL_HINT_THREAD_FORCE_REALTIME_TIME_CRITICAL to allow time critical threads to use a realtime scheduling policy
66+
67+
Android:
68+
* Added SDL_AndroidRequestPermission() to request a specific system permission
69+
* Added the hint SDL_HINT_ANDROID_BLOCK_ON_PAUSE_PAUSEAUDIO to control whether audio will pause when the application goes intot he background
70+
71+
OS/2:
72+
* Added support for OS/2, see docs/README-os2.md for details
73+
74+
Emscripten (running in a web browser):
75+
* Added the hint SDL_HINT_EMSCRIPTEN_ASYNCIFY to control whether SDL should call emscripten_sleep internally
76+
77+
478
---------------------------------------------------------------------------
579
2.0.12:
680
---------------------------------------------------------------------------

Xcode/SDL/Info-Framework.plist

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
<key>CFBundlePackageType</key>
2020
<string>FMWK</string>
2121
<key>CFBundleShortVersionString</key>
22-
<string>2.0.13</string>
22+
<string>2.0.14</string>
2323
<key>CFBundleSignature</key>
2424
<string>SDLX</string>
2525
<key>CFBundleVersion</key>
26-
<string>2.0.13</string>
26+
<string>2.0.14</string>
2727
</dict>
2828
</plist>

Xcode/SDL/SDL.xcodeproj/project.pbxproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -10010,7 +10010,7 @@
1001010010
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
1001110011
DEPLOYMENT_POSTPROCESSING = YES;
1001210012
DYLIB_COMPATIBILITY_VERSION = 1.0.0;
10013-
DYLIB_CURRENT_VERSION = 12.0.0;
10013+
DYLIB_CURRENT_VERSION = 15.0.0;
1001410014
DYLIB_INSTALL_NAME_BASE = "@rpath";
1001510015
ENABLE_STRICT_OBJC_MSGSEND = YES;
1001610016
GCC_ALTIVEC_EXTENSIONS = YES;
@@ -10089,7 +10089,7 @@
1008910089
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
1009010090
DEBUG_INFORMATION_FORMAT = dwarf;
1009110091
DYLIB_COMPATIBILITY_VERSION = 1.0.0;
10092-
DYLIB_CURRENT_VERSION = 12.0.0;
10092+
DYLIB_CURRENT_VERSION = 15.0.0;
1009310093
DYLIB_INSTALL_NAME_BASE = "@rpath";
1009410094
ENABLE_STRICT_OBJC_MSGSEND = YES;
1009510095
ENABLE_TESTABILITY = YES;

build-scripts/winrtbuild.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
#
4040

4141
# Base version of SDL, used for packaging purposes
42-
$SDLVersion = "2.0.13"
42+
$SDLVersion = "2.0.14"
4343

4444
# Gets the .bat file that sets up an MSBuild environment, given one of
4545
# Visual Studio's, "PlatformToolset"s.

configure

+3-3
Original file line numberDiff line numberDiff line change
@@ -2816,9 +2816,9 @@ orig_CFLAGS="$CFLAGS"
28162816
#
28172817
SDL_MAJOR_VERSION=2
28182818
SDL_MINOR_VERSION=0
2819-
SDL_MICRO_VERSION=13
2820-
SDL_INTERFACE_AGE=1
2821-
SDL_BINARY_AGE=13
2819+
SDL_MICRO_VERSION=14
2820+
SDL_INTERFACE_AGE=0
2821+
SDL_BINARY_AGE=14
28222822
SDL_VERSION=$SDL_MAJOR_VERSION.$SDL_MINOR_VERSION.$SDL_MICRO_VERSION
28232823

28242824

configure.ac

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ dnl Set various version strings - taken gratefully from the GTk sources
2020
#
2121
SDL_MAJOR_VERSION=2
2222
SDL_MINOR_VERSION=0
23-
SDL_MICRO_VERSION=13
24-
SDL_INTERFACE_AGE=1
25-
SDL_BINARY_AGE=13
23+
SDL_MICRO_VERSION=14
24+
SDL_INTERFACE_AGE=0
25+
SDL_BINARY_AGE=14
2626
SDL_VERSION=$SDL_MAJOR_VERSION.$SDL_MINOR_VERSION.$SDL_MICRO_VERSION
2727

2828
AC_SUBST(SDL_MAJOR_VERSION)

debian/changelog

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
libsdl2 (2.0.12) UNRELEASED; urgency=low
1+
libsdl2 (2.0.14) UNRELEASED; urgency=low
2+
3+
* Updated SDL to version 2.0.14
4+
5+
-- Sam Lantinga <slouken@libsdl.org> Tue, 8 Dec 2020 17:54:33 -0800
6+
7+
libsdl2 (2.0.13) UNRELEASED; urgency=low
28

39
* Updated SDL to version 2.0.13 for development builds
410

include/SDL_misc.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,6 @@ extern DECLSPEC int SDLCALL SDL_OpenURL(const char *url);
7070
#endif
7171
#include "close_code.h"
7272

73-
#endif /* SDL_filesystem_h_ */
73+
#endif /* SDL_misc_h_ */
7474

7575
/* vi: set ts=4 sw=4 expandtab: */

include/SDL_version.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ typedef struct SDL_version
5959
*/
6060
#define SDL_MAJOR_VERSION 2
6161
#define SDL_MINOR_VERSION 0
62-
#define SDL_PATCHLEVEL 13
62+
#define SDL_PATCHLEVEL 14
6363

6464
/**
6565
* \brief Macro to determine SDL version program was compiled against.

src/main/windows/version.rc

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
99
//
1010

1111
VS_VERSION_INFO VERSIONINFO
12-
FILEVERSION 2,0,13,0
13-
PRODUCTVERSION 2,0,13,0
12+
FILEVERSION 2,0,14,0
13+
PRODUCTVERSION 2,0,14,0
1414
FILEFLAGSMASK 0x3fL
1515
FILEFLAGS 0x0L
1616
FILEOS 0x40004L
@@ -23,12 +23,12 @@ BEGIN
2323
BEGIN
2424
VALUE "CompanyName", "\0"
2525
VALUE "FileDescription", "SDL\0"
26-
VALUE "FileVersion", "2, 0, 13, 0\0"
26+
VALUE "FileVersion", "2, 0, 14, 0\0"
2727
VALUE "InternalName", "SDL\0"
2828
VALUE "LegalCopyright", "Copyright � 2020 Sam Lantinga\0"
2929
VALUE "OriginalFilename", "SDL2.dll\0"
3030
VALUE "ProductName", "Simple DirectMedia Layer\0"
31-
VALUE "ProductVersion", "2, 0, 13, 0\0"
31+
VALUE "ProductVersion", "2, 0, 14, 0\0"
3232
END
3333
END
3434
BLOCK "VarFileInfo"

0 commit comments

Comments
 (0)