Thu, 01 Nov 2018 12:31:45 -0400merge fallout: Patched to compile, fixed some compiler warnings, etc.
Ryan C. Gordon <icculus@icculus.org> [Thu, 01 Nov 2018 12:31:45 -0400] rev 12382
merge fallout: Patched to compile, fixed some compiler warnings, etc.

Wed, 31 Oct 2018 15:03:41 -0400Merge SDL-ryan-batching-renderer branch to default.
Ryan C. Gordon <icculus@icculus.org> [Wed, 31 Oct 2018 15:03:41 -0400] rev 12381
Merge SDL-ryan-batching-renderer branch to default.

Wed, 31 Oct 2018 14:50:20 -0400Closing SDL-ryan-batching-renderer branch. SDL-ryan-batching-renderer
Ryan C. Gordon <icculus@icculus.org> [Wed, 31 Oct 2018 14:50:20 -0400] rev 12380
Closing SDL-ryan-batching-renderer branch.

Mon, 22 Oct 2018 10:55:18 -0400joystick: Add Linux mappings for "Xbox One Wireless Controller (Model 1708)"
Steven M. Vascellaro <svascellaro@gmail.com> [Mon, 22 Oct 2018 10:55:18 -0400] rev 12379
joystick: Add Linux mappings for "Xbox One Wireless Controller (Model 1708)"

Adds controller bindings to support the "Xbox One Wireless Controller
(Model 1708)" on Linux. The Model 1708 was released in 2016 alongside the
Xbox One S. It is the current model being sold by Microsoft as of writing.
(October 22, 2018)

Thu, 01 Nov 2018 12:35:00 +0300fix NetBSD C90 build failure
Ozkan Sezer <sezeroz@gmail.com> [Thu, 01 Nov 2018 12:35:00 +0300] rev 12378
fix NetBSD C90 build failure

src/vendor/SDL2/src/joystick/bsd/SDL_sysjoystick.c:353:5: error:
ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]

reported by 'bch' at https://discourse.libsdl.org/t/25231

Wed, 31 Oct 2018 20:17:53 -0700Fix crash when GL_LoadFunctions()/GLES2_LoadFunctions() fails
Cameron Gutman <cameron.gutman@gmail.com> [Wed, 31 Oct 2018 20:17:53 -0700] rev 12377
Fix crash when GL_LoadFunctions()/GLES2_LoadFunctions() fails
https://bugzilla.libsdl.org/show_bug.cgi?id=4350

We can't safely call GL_DestroyRenderer() until GL_LoadFunctions()
succeeds because we will be missing functions that we try to use
when activating the renderer for destruction if we have an GL context.

Wed, 31 Oct 2018 15:16:51 -0700Fixed bug 4349 - SDL_CreateWindow fails with KMS/DRM after upgrading Mesa to 18.2.3
Sam Lantinga <slouken@libsdl.org> [Wed, 31 Oct 2018 15:16:51 -0700] rev 12376
Fixed bug 4349 - SDL_CreateWindow fails with KMS/DRM after upgrading Mesa to 18.2.3

Rainer Sabelka

After I did an upgrade of my arch Linux installation (resulting in an update of Mesa to version 18.2.3), all my SDL2 applications which use the KMS/DRM driver stopped working.
Reason: Creating a Window with SDL_CreateWindow failed because the call to EGL
eglCreateWindowSurface() returns an error "EGL_BAD_MATCH".
After investigating with the debugger I figured, that the configuration, which has been selected from the output of eglChooseConfig(), has an "EGL_NATIVE_VISUAL_ID" which does not match the "format" of the underlying gbm surface.

The attached patch fixes the problem. It does so, by mimicking Weston's behavior.
All configurations returned from eglChooseConfig() which have an visual_id different from the gbm format are discarded, and only from the remaining ones the "best" match is selected.

Wed, 31 Oct 2018 15:01:20 -0700Fixed bug 4347 - Keyboard LEDs don't work on linux console
Sam Lantinga <slouken@libsdl.org> [Wed, 31 Oct 2018 15:01:20 -0700] rev 12375
Fixed bug 4347 - Keyboard LEDs don't work on linux console

Rainer Sabelka

When using SLD2 on a Linux console with the KMS/DRM video backend and Linux evdev keyboard support, the caps lock, scroll lock, and num lock leds do not work.

The attached patch adds ioctls for setting the LED state in SDL_evdev_kbd.c

Wed, 31 Oct 2018 10:18:05 -0700Added tag release-2.0.9 for changeset 8feb5da6f2fb
Sam Lantinga <slouken@libsdl.org> [Wed, 31 Oct 2018 10:18:05 -0700] rev 12374
Added tag release-2.0.9 for changeset 8feb5da6f2fb

Tue, 30 Oct 2018 20:11:02 +0300rename os2 makefile so that 'make dist' catches it; update it a bit. release-2.0.9
Ozkan Sezer <sezeroz@gmail.com> [Tue, 30 Oct 2018 20:11:02 +0300] rev 12373
rename os2 makefile so that 'make dist' catches it; update it a bit.