Fri, 20 Mar 2020 19:49:15 -0700Backed out changeset 3797974f4ccf
Sam Lantinga [Fri, 20 Mar 2020 19:49:15 -0700] rev 13654
Backed out changeset 3797974f4ccf

Fri, 20 Mar 2020 19:48:26 -0700Backed out changeset ca9c225103c4
Sam Lantinga [Fri, 20 Mar 2020 19:48:26 -0700] rev 13653
Backed out changeset ca9c225103c4

Fri, 20 Mar 2020 19:47:46 -0700Fixed compile warnings
Sam Lantinga [Fri, 20 Mar 2020 19:47:46 -0700] rev 13652
Fixed compile warnings

Fri, 20 Mar 2020 19:42:59 -0700Only build raw input support on Windows
Sam Lantinga [Fri, 20 Mar 2020 19:42:59 -0700] rev 13651
Only build raw input support on Windows

Fri, 20 Mar 2020 15:55:02 -0700Updated documentation so people know to set the SDL_HINT_NO_SIGNAL_HANDLERS hint before SDL_Init()
Sam Lantinga [Fri, 20 Mar 2020 15:55:02 -0700] rev 13650
Updated documentation so people know to set the SDL_HINT_NO_SIGNAL_HANDLERS hint before SDL_Init()

Fri, 20 Mar 2020 15:13:09 -0400egl: Don't use SDL_LoadFunction to get GL entry points on Emscripten.
Ryan C. Gordon [Fri, 20 Mar 2020 15:13:09 -0400] rev 13649
egl: Don't use SDL_LoadFunction to get GL entry points on Emscripten.

This results in a dlsym() call, which causes Emscripten to panic if the game
wasn't explicitly built dlopen support. eglGetProcAddress works just fine on
this platform, so just let that codepath handle it.

Fri, 20 Mar 2020 12:13:26 -0700Fixed bug 5044 - CMake messes up hidapi path when project directory contains spaces
Sam Lantinga [Fri, 20 Mar 2020 12:13:26 -0700] rev 13648
Fixed bug 5044 - CMake messes up hidapi path when project directory contains spaces

Eric Jing

When the project directory path contains spaces, CMake butchers the include path for the hidapi files.

I traced the problem to the cmake/sdlchecks.cmake file at line 1091, which sets flags for the build process. I surrounded the problem flag with double quotes, shown below, and CMake works with spaces in the project directory path.

Fri, 20 Mar 2020 11:52:18 +0300[NSOpenGLContext update[ is prohibited outside the main thread
Emir Marincic [Fri, 20 Mar 2020 11:52:18 +0300] rev 13647
[NSOpenGLContext update[ is prohibited outside the main thread

Tue, 17 Mar 2020 17:34:24 -0400Fix for Bug 5034 - Replugging in a controller crashes on macOS in SDL 2.0.12
David Ludwig [Tue, 17 Mar 2020 17:34:24 -0400] rev 13646
Fix for Bug 5034 - Replugging in a controller crashes on macOS in SDL 2.0.12

This is a multi-part fix, and is the 2nd attempt at a fix for Bug 5034. Here
are the problems being addressed:

1. On macOS 10.14.x and earlier, trying to call IOHIDDeviceUnscheduleFromRunLoop
without a prior, paired call to IOHIDDeviceScheduleWithRunLoop, appears to
lead to a crash. A per-device flag has been added to make sure that these
calls are paired.
2. DARWIN_JoystickDetect was free'ing its SDL_joystick's hwdata field
(via FreeDevice) without setting it to NULL, and DARWIN_JoystickRumble wasn't
checking for a NULL hwdata. FreeDevice will now set hwdata to NULL and
DARWIN_JoystickRumble will check for a NULL hwdata.

Tue, 17 Mar 2020 14:18:05 -0700Fixed bug 3446 - The haptic API does not allow to select the direction axes
Sam Lantinga [Tue, 17 Mar 2020 14:18:05 -0700] rev 13645
Fixed bug 3446 - The haptic API does not allow to select the direction axes

meyraud705

Added Linux implementation, otherwise you get "Unsupported direction type" error.
Added documentation to explain why one would use SDL_HAPTIC_FIRST_AXIS.