Mon, 06 Jan 2020 20:15:07 +0000riscos: Add CPU feature detection SDL-1.2
Cameron Cawley [Mon, 06 Jan 2020 20:15:07 +0000] rev 13396
riscos: Add CPU feature detection

Mon, 06 Jan 2020 12:18:51 -0800Added support for the 8Bitdo FC30 Pro
Sam Lantinga [Mon, 06 Jan 2020 12:18:51 -0800] rev 13395
Added support for the 8Bitdo FC30 Pro

Mon, 06 Jan 2020 07:06:58 -0800Fixed bug 4928 - CMakeLists.txt: put cmake package helpers in proper libdir
Sam Lantinga [Mon, 06 Jan 2020 07:06:58 -0800] rev 13394
Fixed bug 4928 - CMakeLists.txt: put cmake package helpers in proper libdir

Tiago O.

Use LIB_SUFFIX variable to determine the correct path.

Sat, 04 Jan 2020 11:05:06 -0800X11_InitKeyboard: do not call XAutoRepeatOn unnecessarily
Dmitry V. Levin [Sat, 04 Jan 2020 11:05:06 -0800] rev 13393
X11_InitKeyboard: do not call XAutoRepeatOn unnecessarily
Use XGetKeyboardControl to initialize the current XKeyboardState, and
skip XAutoRepeatOn invocation if global_auto_repeat is AutoRepeatModeOn.

This fixes SDL2 when the X11 client is untrusted.

Sat, 04 Jan 2020 11:03:04 -0800have_mitshm: use XShmQueryExtension to check for MIT-SHM extension
Dmitry V. Levin [Sat, 04 Jan 2020 11:03:04 -0800] rev 13392
have_mitshm: use XShmQueryExtension to check for MIT-SHM extension
Do not try to guess MIT_SHM extension availability from the string
returned by XDisplayName, use the appropriate API instead.

This fixes SDL2 inside hasher.

Sun, 29 Dec 2019 23:10:39 -0800wayland: support wl_data_device_manager version < 3
Michael Forney [Sun, 29 Dec 2019 23:10:39 -0800] rev 13391
wayland: support wl_data_device_manager version < 3

Wed, 01 Jan 2020 08:13:40 -0800Added support for the Hyperkin Duke controller
Sam Lantinga [Wed, 01 Jan 2020 08:13:40 -0800] rev 13390
Added support for the Hyperkin Duke controller

Tue, 31 Dec 2019 10:40:30 -0800Fixed bug 4357 - iosbuild.sh broken with SDL 2.0.9
Sam Lantinga [Tue, 31 Dec 2019 10:40:30 -0800] rev 13389
Fixed bug 4357 - iosbuild.sh broken with SDL 2.0.9

Christoph Charles

The new source files for coremotion sensors don't seem to have been included correctly in configure.in. This leads to the build script ios-build.sh to fail at link time, complaining about missing symbols, namely about missing SDL_COREMOTION_SensorDriver.

Mon, 30 Dec 2019 17:56:56 -0800Fixed GameCube controller axis and trigger ranges and X and B button being swapped
Sam Lantinga [Mon, 30 Dec 2019 17:56:56 -0800] rev 13388
Fixed GameCube controller axis and trigger ranges and X and B button being swapped

Mon, 30 Dec 2019 13:21:47 -0800Fixed bug 4920 - Wider support for seconds of battery life left on Linux platforms using sys interface
Sam Lantinga [Mon, 30 Dec 2019 13:21:47 -0800] rev 13387
Fixed bug 4920 - Wider support for seconds of battery life left on Linux platforms using sys interface

Murad

On my system, SDL_GetPowerInfo() returns -1 seconds of battery life left. I have quickly investigated that in my case SDL uses sys interface to get battery data. It tries to read "time_to_empty_now" file which is not always present. However, it is still possible to calculate remaining lifetime using "energy_now" and "power_now" files. This is what my simple patch (included as attachment) tries to accomplish.
Best wishes.