Sun, 17 Mar 2019 12:45:19 -0400testgesture: Make the background gray.
Ryan C. Gordon <icculus@icculus.org> [Sun, 17 Mar 2019 12:45:19 -0400] rev 12658
testgesture: Make the background gray.

This is so you can see it on systems that have a minimal window manager and
a black background.

Sat, 16 Mar 2019 19:46:37 -0700Fixed Visual Studio build
Sam Lantinga <slouken@libsdl.org> [Sat, 16 Mar 2019 19:46:37 -0700] rev 12657
Fixed Visual Studio build

Sat, 16 Mar 2019 19:46:27 -0700Fixed iOS build
Sam Lantinga <slouken@libsdl.org> [Sat, 16 Mar 2019 19:46:27 -0700] rev 12656
Fixed iOS build

Sat, 16 Mar 2019 19:44:04 -0700Fixed Mac OS X build
Sam Lantinga <slouken@libsdl.org> [Sat, 16 Mar 2019 19:44:04 -0700] rev 12655
Fixed Mac OS X build

Sat, 16 Mar 2019 19:32:59 -0700Fixed configure error if pkg modules aren't available
Sam Lantinga <slouken@libsdl.org> [Sat, 16 Mar 2019 19:32:59 -0700] rev 12654
Fixed configure error if pkg modules aren't available

Sat, 16 Mar 2019 19:16:24 -0700CVE-2019-7637: Fix in integer overflow in SDL_CalculatePitch SDL-1.2
Petr Písař <ppisar@redhat.com> [Sat, 16 Mar 2019 19:16:24 -0700] rev 12653
CVE-2019-7637: Fix in integer overflow in SDL_CalculatePitch
If a too large width is passed to SDL_SetVideoMode() the width travels
to SDL_CalculatePitch() where the width (e.g. 65535) is multiplied by
BytesPerPixel (e.g. 4) and the result is stored into Uint16 pitch
variable. During this arithmetics an integer overflow can happen (e.g.
the value is clamped as 65532). As a result SDL_Surface with a pitch
smaller than width * BytesPerPixel is created, too small pixel buffer
is allocated and when the SDL_Surface is processed in SDL_FillRect()
a buffer overflow occurs.

This can be reproduced with "./graywin -width 21312312313123213213213"
command.

This patch fixes is by using a very careful arithmetics in
SDL_CalculatePitch(). If an overflow is detected, an error is reported
back as a special 0 value. We assume that 0-width surfaces do not
occur in the wild. Since SDL_CalculatePitch() is a private function,
we can change the semantics.

CVE-2019-7637
https://bugzilla.libsdl.org/show_bug.cgi?id=4497

Signed-off-by: Petr Písař <ppisar@redhat.com>

Sat, 16 Mar 2019 19:08:59 -0700emscripten: force resize event when pixel ratio changes
Sebastian Krzyszkowiak <dos@dosowisko.net> [Sat, 16 Mar 2019 19:08:59 -0700] rev 12652
emscripten: force resize event when pixel ratio changes
Without this, applications can't react to changed canvas size on window zoom.

Sat, 16 Mar 2019 19:07:34 -0700Fixed bug 4450 - SDL_mouse.c fails to compile with CMake generated Visual Studio files if SDL_VIDEO_VULKAN 0/undefined
Sam Lantinga <slouken@libsdl.org> [Sat, 16 Mar 2019 19:07:34 -0700] rev 12651
Fixed bug 4450 - SDL_mouse.c fails to compile with CMake generated Visual Studio files if SDL_VIDEO_VULKAN 0/undefined

Max Waine

SDL_mouse.c, if compiled for Windows, requires GetDoubleClickTime to compile (available from winuser.h). Without Vulkan present this fails to compile as the include chain for winuser.h is the following.

SDL_mouse.c -> SDL_sysvideo.h -> SDL_vulkan_internal.h -> SDL_windows.h -> windows.h -> winuser.h.
Problem is that SDL_vulkan_internal.h doesn't include SDL_windows.h if Vulkan isn't present, so under MinGW/GCC it will give a -Wimplicit-function-declaration warning for GetDoubleClickTime, and under MSVC fails to compile completely.

The solution to this would be to simplify the include chain: including SDL_windows.h under the same condition as GetDoubleClickTime (#ifdef __WIN32__) in SDL_mouse.c (or another file that isn't quite so indirectly included).

Sat, 16 Mar 2019 19:03:13 -0700Fixed bug 4511 - SDL_gamecontrollerdb Mapping for Sony Playstation USB controller
Sam Lantinga <slouken@libsdl.org> [Sat, 16 Mar 2019 19:03:13 -0700] rev 12650
Fixed bug 4511 - SDL_gamecontrollerdb Mapping for Sony Playstation USB controller

Renaud Lepage

Simply submitting a new mapping.

Thu, 14 Feb 2019 20:46:58 +0100Fixed DualShock 3 mapping
Silent <zdanio95@gmail.com> [Thu, 14 Feb 2019 20:46:58 +0100] rev 12649
Fixed DualShock 3 mapping