Wed, 02 Aug 2017 10:22:48 -0700Fixed bug 3690 - SDL2 KMS/DRM render context support
Sam Lantinga <slouken@libsdl.org> [Wed, 02 Aug 2017 10:22:48 -0700] rev 11175
Fixed bug 3690 - SDL2 KMS/DRM render context support

Manuel

The attached patch adds support for KMS/DRM context graphics.

It builds with no problem on X86_64 GNU/Linux systems, provided the needed libraries are present, and on ARM GNU/Linux systems that have KMS/DRM support and a GLES2 implementation.
Tested on Raspberry Pi: KMS/DRM is what the Raspberry Pi will use as default in the near future, once the propietary DispmanX API by Broadcom is overtaken by open graphics stack, it's possible to boot current Raspbian system in KMS mode by adding "dtoverlay=vc4-kms-v3d" to config.txt on Raspbian's boot partition.
X86 systems use KMS right away in every current GNU/Linux system.

Simple build instructions:

$./autogen.sh
$./configure --enable-video-kmsdrm
$make

Mon, 31 Jul 2017 13:49:22 -0400x11: Make a separate unmapped window to own clipboard selections.
Ryan C. Gordon <icculus@icculus.org> [Mon, 31 Jul 2017 13:49:22 -0400] rev 11174
x11: Make a separate unmapped window to own clipboard selections.

Now the clipboard isn't lost if you destroy a specific SDL_Window, as it
works on other platforms. You will still lose the clipboard data on
SDL_Quit() or process termination, but that's X11 for you; run a
Clipboard Manager daemon.

Fixes Bugzilla #3222.
Fixes Bugzilla #3718.

Tue, 01 Aug 2017 20:16:10 -0700Fixed bug 3697 - Main thread gets stuck on left mouse down
Sam Lantinga <slouken@libsdl.org> [Tue, 01 Aug 2017 20:16:10 -0700] rev 11173
Fixed bug 3697 - Main thread gets stuck on left mouse down

Eric Wasylishen

I think I found a better fix.

The problem with https://hg.libsdl.org/SDL/rev/81e6d0f852fc is setting the styleMask to 0 clears the NSWindowStyleMaskFullScreen bit, which then confuses Cocoa later when you try to leave fullscreen. Instead I'm just clearing the NSWindowStyleMaskResizable bit, although SetWindowStyle(window, NSWindowStyleMaskFullScreen); seems to also work.

Tue, 01 Aug 2017 20:09:23 -0700Backed out changeset 81e6d0f852fc for bug 3697
Sam Lantinga <slouken@libsdl.org> [Tue, 01 Aug 2017 20:09:23 -0700] rev 11172
Backed out changeset 81e6d0f852fc for bug 3697

Eric Wasylishen

Unfortunately this commit seems to have broken exiting desktop-fullscreen.
- Launch testgl2.
- Press alt+enter to go fullscreen-desktop
- Press alt+enter again. The spinning cube will freeze, and the window stays fullscreen desktop.

Mon, 31 Jul 2017 12:57:15 -0700Fixed bug 3720 - SDL_GL_GetAttribute doesn't check for initialized video driver
Sam Lantinga <slouken@libsdl.org> [Mon, 31 Jul 2017 12:57:15 -0700] rev 11171
Fixed bug 3720 - SDL_GL_GetAttribute doesn't check for initialized video driver

Simon Hug

SDL_GL_GetAttribute doesn't check if a video driver has been initialized and will access the SDL_VideoDevice pointer, which is NULL at that point.

I think all of the attributes require an initialized driver, so a simple NULL check should fix it. Patch is attached.

Sun, 30 Jul 2017 14:36:01 -0400Disable static builds for static analysis.
Ryan C. Gordon <icculus@icculus.org> [Sun, 30 Jul 2017 14:36:01 -0400] rev 11170
Disable static builds for static analysis.

There's really no sense in analyzing everything twice, and this makes the
job finish significantly faster.

Sun, 30 Jul 2017 14:09:18 -0400windows-buildbot-zipper.bat: Check the correct path.
Ryan C. Gordon <icculus@icculus.org> [Sun, 30 Jul 2017 14:09:18 -0400] rev 11169
windows-buildbot-zipper.bat: Check the correct path.

Sun, 30 Jul 2017 10:09:34 -0400Buildbot should zip up Visual Studio Win64 binaries, too.
Ryan C. Gordon <icculus@icculus.org> [Sun, 30 Jul 2017 10:09:34 -0400] rev 11168
Buildbot should zip up Visual Studio Win64 binaries, too.

Sat, 29 Jul 2017 23:00:54 +0200Fixed typos in shape header.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Sat, 29 Jul 2017 23:00:54 +0200] rev 11167
Fixed typos in shape header.

Sat, 29 Jul 2017 23:00:45 +0200qnx: Fixed error message.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Sat, 29 Jul 2017 23:00:45 +0200] rev 11166
qnx: Fixed error message.