Tue, 06 Aug 2019 23:08:01 -0400hidapi: Explicitly include locale.h, for setlocale
Ethan Lee [Tue, 06 Aug 2019 23:08:01 -0400] rev 13003
hidapi: Explicitly include locale.h, for setlocale

Mon, 05 Aug 2019 23:52:16 -0700Fixed bug 4747 - [Patch] SDL_ShowMessageBox ignores BUTTON_RETURNKEY_DEFAULT flag
Sam Lantinga [Mon, 05 Aug 2019 23:52:16 -0700] rev 13002
Fixed bug 4747 - [Patch] SDL_ShowMessageBox ignores BUTTON_RETURNKEY_DEFAULT flag

Caleb Cornett

SDL_ShowMessageBox on UIKit doesn't do anything special with buttons that are marked with the flag SDL_MESSAGEBOX_BUTTON_RETURNKEY_DEFAULT. According to Apple's documentation on UIAlertController, a button can respond to a return key if it's marked as the preferredAction of the controller. SDL doesn't set a preferredAction currently, so I've attached a patch to fix that.

Mon, 05 Aug 2019 23:46:09 -0700Fixed bug 4354 - CMake builds do not correctly enable IME on Linux
Sam Lantinga [Mon, 05 Aug 2019 23:46:09 -0700] rev 13001
Fixed bug 4354 - CMake builds do not correctly enable IME on Linux

Callum McGing

While the CMake build checks for ibus and does enable the ibus backend with set(HAVE_IBUS_IBUS_H TRUE), this does not define SDL_USE_IME, thus CMake built SDL2 (as in Arch Linux) cannot use IME at all.

The attached patch fixes this behaviour when building against ibus. IME support will still fail when only fcitx is available on the build system.

Mon, 05 Aug 2019 23:38:48 -0700Fixed bug 4689 - SDL fails to detect compositor shutdown on Wayland -- program keeps running
Sam Lantinga [Mon, 05 Aug 2019 23:38:48 -0700] rev 13000
Fixed bug 4689 - SDL fails to detect compositor shutdown on Wayland -- program keeps running

M Stoeckl

To reproduce:

1. Run any SDL-based program with a Wayland compositor, orphaning it so that it doesn't have an immediate parent process. (For example, from a terminal, running `supertux2 & disown`.) The program should use the wayland backend, i.e. by setting environment variable SDL_VIDEODRIVER=wayland.
2. Kill the compositor process.

Results:

- The SDL program will keep running.

Expected results:

- The SDL program should close. (What close should mean here, I'm not sure - is injecting an SDL_Quit the appropriate action when a video driver disconnects?)

Build data:

2019-06-22, hg tip (12901:5cbf6472a916), Linux, can reproduce with sway, weston, and other Wayland oompositors.

Sun, 04 Aug 2019 00:01:38 -0400Port libusb hid.c to SDL, add to MinGW configure
Ethan Lee [Sun, 04 Aug 2019 00:01:38 -0400] rev 12999
Port libusb hid.c to SDL, add to MinGW configure

Mon, 05 Aug 2019 12:35:32 -0300Add public APIs for creating a Metal view attached to an SDL window. Add SDL_metal.h.
Alex Szpakowski [Mon, 05 Aug 2019 12:35:32 -0300] rev 12998
Add public APIs for creating a Metal view attached to an SDL window. Add SDL_metal.h.

Sun, 04 Aug 2019 23:30:55 -0300macOS: fix a typo in touch handling code.
Alex Szpakowski [Sun, 04 Aug 2019 23:30:55 -0300] rev 12997
macOS: fix a typo in touch handling code.

Sun, 04 Aug 2019 16:56:40 -0300Fix touch-related compile errors on Linux.
Alex Szpakowski [Sun, 04 Aug 2019 16:56:40 -0300] rev 12996
Fix touch-related compile errors on Linux.

Sun, 04 Aug 2019 14:56:02 +0300minor warning fixes.
Ozkan Sezer [Sun, 04 Aug 2019 14:56:02 +0300] rev 12995
minor warning fixes.

Sun, 04 Aug 2019 00:34:23 -0300Implement touch window IDs on x11/xinput2.
Alex Szpakowski [Sun, 04 Aug 2019 00:34:23 -0300] rev 12994
Implement touch window IDs on x11/xinput2.