Mon, 27 Nov 2017 15:07:07 -0800Use the included Khronos headers on Android so we can create Core OpenGL contexts when building with older SDK
Sam Lantinga <slouken@libsdl.org> [Mon, 27 Nov 2017 15:07:07 -0800] rev 11715
Use the included Khronos headers on Android so we can create Core OpenGL contexts when building with older SDK

Fri, 24 Nov 2017 12:03:28 -0800Fixed bug 3980 - Fix for KMSDRM driver where cursor would not be shown on some gfx hardware because of unsupported cursor size
Sam Lantinga <slouken@libsdl.org> [Fri, 24 Nov 2017 12:03:28 -0800] rev 11714
Fixed bug 3980 - Fix for KMSDRM driver where cursor would not be shown on some gfx hardware because of unsupported cursor size

Manuel Alfayate Corchete

This fixes a problem with KMSDRM on some graphics hardware where only bigger cursor sizes are supported, such as current Intel gfx. (The kernel-side driver is what limits this: had to look for failing IOCTLs...)
That caused SDL_SetCursor() to fail silently, and we were left with a missing cursor without further explanation.
With this patch, different "standard" sizes are tried and a bigger one is used (with an intermediate and clean buffer only used to write the new cursor to the BO where it will live after) if we get, let's say, 16x16 which is pretty common but our hardware does not support that.

Fri, 24 Nov 2017 03:01:07 -0800Fixed bug 3979 - Failed to link with "multiple definition of `scalbln'" error on both MinGW and MinGW-w64 by CMake
Sam Lantinga <slouken@libsdl.org> [Fri, 24 Nov 2017 03:01:07 -0800] rev 11713
Fixed bug 3979 - Failed to link with "multiple definition of `scalbln'" error on both MinGW and MinGW-w64 by CMake

Vitaly Novichkov

Once I ran build of my codecs collection on AppVeyor where my CMake script downloads latest SDL2 from HG repo, failed to link because of math functions conflict:

https://ci.appveyor.com/project/Wohlstand/audiocodecs/build/1.0.44
The revision is b94292eebb5c

There are both vanilla MinGW and MinGW-w64 are failed to build.


```
[100%] Linking C shared library libSDL2.dll
c:/mingw/bin/../lib/gcc/mingw32/5.3.0/../../../libmingwex.a(scalbn.o):(.text+0x0): multiple definition of `scalbln'
CMakeFiles\SDL2.dir/objects.a(s_scalbn.c.obj):C:/projects/audiocodecs/build-MinGW-Release-Win32/external/SDL2/src/SDL2HG/src/libm/s_scalbn.c:30: first defined here

Tue, 21 Nov 2017 21:58:27 -0800Fixed some compiler warnings
Sam Lantinga <slouken@libsdl.org> [Tue, 21 Nov 2017 21:58:27 -0800] rev 11712
Fixed some compiler warnings

Tue, 21 Nov 2017 21:51:33 -0800Disabled spurious Visual Studio warnings in the uClibc math code
Sam Lantinga <slouken@libsdl.org> [Tue, 21 Nov 2017 21:51:33 -0800] rev 11711
Disabled spurious Visual Studio warnings in the uClibc math code

Tue, 21 Nov 2017 21:30:47 -0800Fixed bug 3976 - SDL drivers may leak driverdata memory due to ignoring return value of SDL_AddDisplayMode
Sam Lantinga <slouken@libsdl.org> [Tue, 21 Nov 2017 21:30:47 -0800] rev 11710
Fixed bug 3976 - SDL drivers may leak driverdata memory due to ignoring return value of SDL_AddDisplayMode

C Snover

SDL_AddDisplayMode returns an SDL_bool corresponding to whether or not the given display mode was added or not. It will return SDL_FALSE if a matching display mode already exists in the display's list of display modes, which causes ownership of the mode driverdata to remain with the caller. Some video drivers ignore the return value of SDL_AddDisplayMode, so leak the driverdata memory when SDL_AddDisplayMode returns SDL_FALSE.

Mon, 20 Nov 2017 13:59:43 -0500Steam Virtual GamePad config for macOS
Ethan Lee <flibitijibibo@flibitijibibo.com> [Mon, 20 Nov 2017 13:59:43 -0500] rev 11709
Steam Virtual GamePad config for macOS

Mon, 20 Nov 2017 00:06:37 -0800Fixed bug 3973 - Include of stdint is needed to build on linux, mingw and possibly android
Sam Lantinga <slouken@libsdl.org> [Mon, 20 Nov 2017 00:06:37 -0800] rev 11708
Fixed bug 3973 - Include of stdint is needed to build on linux, mingw and possibly android

Stuart Axon

https://discourse.libsdl.org/t/stdint-h-removed/23426

https://discourse.libsdl.org/t/debuild-fails-to-build-the-last-few-days/23429/4

Currently SDL2 is not building in Linux (x86 and ARM), Android and MingW because include stdint.h has been removed from yuv_rgb.h

Mon, 20 Nov 2017 00:03:23 -0800Fixed bug 3959 - cmake build broken by commit 11702 (cf166abbde4a) due to typo
Sam Lantinga <slouken@libsdl.org> [Mon, 20 Nov 2017 00:03:23 -0800] rev 11707
Fixed bug 3959 - cmake build broken by commit 11702 (cf166abbde4a) due to typo

Mate Nagy
There is a typo in CMakeLists.txt that makes CMake exit with failure.

Change that causes the problem: (Notice the double ending brackets)
${SDL2_SOURCE_DIR}/src/video/*.c)
+ ${SDL2_SOURCE_DIR}/src/video/yuv2rgb/*.c)

Fix:
Just remove the first ending bracket resulting in:
${SDL2_SOURCE_DIR}/src/video/*.c
${SDL2_SOURCE_DIR}/src/video/yuv2rgb/*.c)

Sun, 19 Nov 2017 23:36:54 -0800Added support for aarch64 memory barrier instruction
Sam Lantinga <slouken@libsdl.org> [Sun, 19 Nov 2017 23:36:54 -0800] rev 11706
Added support for aarch64 memory barrier instruction