Sat, 24 Mar 2018 10:15:42 -0700Fixed bug 4108 - Missing break statements in SDL_CDResume and SDL_CDStop SDL-1.2
Sam Lantinga [Sat, 24 Mar 2018 10:15:42 -0700] rev 11936
Fixed bug 4108 - Missing break statements in SDL_CDResume and SDL_CDStop

Ozkan Sezer

Two break statements are missing in SDL_cdrom.c:SDL_CDResume()
and SDL_CDStop(), which negate the returned code from driver
and always return 0. The following patch adds those breaks.

Mon, 19 Mar 2018 14:52:53 -0700Fixed return value
Sam Lantinga [Mon, 19 Mar 2018 14:52:53 -0700] rev 11935
Fixed return value

Mon, 19 Mar 2018 14:42:51 -0700Generalized the handling of instantaneous guide button presses so there's a minimum of 100 ms between guide button press and release.
Sam Lantinga [Mon, 19 Mar 2018 14:42:51 -0700] rev 11934
Generalized the handling of instantaneous guide button presses so there's a minimum of 100 ms between guide button press and release.
This happens with at least the following controllers: All Apple MFI controllers, ASUS Gamepad, XiaoMi Bluetooth Controller

Mon, 19 Mar 2018 13:16:11 -0700Added mapping for the ASUS Gamepad removing the guide button, which doesn't generate events even though it's reported in the Android APIs.
Sam Lantinga [Mon, 19 Mar 2018 13:16:11 -0700] rev 11933
Added mapping for the ASUS Gamepad removing the guide button, which doesn't generate events even though it's reported in the Android APIs.

Fri, 16 Mar 2018 11:08:53 -0700Reimplemented Android cursor API support using reflection so it builds with older SDKs
Sam Lantinga [Fri, 16 Mar 2018 11:08:53 -0700] rev 11932
Reimplemented Android cursor API support using reflection so it builds with older SDKs

Thu, 15 Mar 2018 18:22:48 -0700Added Android custom cursor implementation
Sam Lantinga [Thu, 15 Mar 2018 18:22:48 -0700] rev 11931
Added Android custom cursor implementation
This is commented out in SDLActivity.java, with the note #CURSORIMPLEENTATION because it requires API 24, which is higher than the minimum required SDK

Mon, 12 Mar 2018 18:41:06 -0700Added Mac OpenGL ES configure support
Sam Lantinga [Mon, 12 Mar 2018 18:41:06 -0700] rev 11930
Added Mac OpenGL ES configure support

Sat, 10 Mar 2018 21:22:42 -0800Fixed bug 4102 - define _WIN32_WINNT_WIN7 if not already defined
Sam Lantinga [Sat, 10 Mar 2018 21:22:42 -0800] rev 11929
Fixed bug 4102 - define _WIN32_WINNT_WIN7 if not already defined

Ozkan Sezer

The following patch defines _WIN32_WINNT_WIN7 if it is not already
defined in core/windows/SDL_windows.c, similar to what is already
there for _WIN32_WINNT_VISTA.

Sat, 10 Mar 2018 21:20:25 -0800Fixed bug 4103 - SDL_cpuinfo.h provokes warnings with -Wundef on non-x86 hosts
Sam Lantinga [Sat, 10 Mar 2018 21:20:25 -0800] rev 11928
Fixed bug 4103 - SDL_cpuinfo.h provokes warnings with -Wundef on non-x86 hosts

Felix Geyer

Forwarding from https://bugs.debian.org/892087 quoting verbatim:

The SDL2 header SDL_cpuinfo.h generates gcc warnings if the program using
it compiles with the -Wundef warning. (In particular, this means that QEMU
builds using it fail on at least sparc hosts, since QEMU dev builds
use both -Wundef and -Werror.).

/usr/include/SDL2/SDL_cpuinfo.h:63:5: warning: "HAVE_IMMINTRIN_H" is not defined, evaluates to 0 [-Wundef]
#if HAVE_IMMINTRIN_H && !defined(SDL_DISABLE_IMMINTRIN_H)

Sat, 10 Mar 2018 21:16:14 -0800Fix ARM builds with MSVC
MichaƂ Janiszewski [Sat, 10 Mar 2018 21:16:14 -0800] rev 11927
Fix ARM builds with MSVC