Sat, 07 Sep 2019 10:37:28 +0300configure, darwin: favor -faltivec over -maltivec. don't -faltivec for others. SDL-1.2
Ozkan Sezer <sezeroz@gmail.com> [Sat, 07 Sep 2019 10:37:28 +0300] rev 13068
configure, darwin: favor -faltivec over -maltivec. don't -faltivec for others.

Fri, 06 Sep 2019 20:00:40 +0300SDL_ataridevmouse.c (SDL_AtariDevMouse_Open): fix which seems like a typo SDL-1.2
Ozkan Sezer <sezeroz@gmail.com> [Fri, 06 Sep 2019 20:00:40 +0300] rev 13067
SDL_ataridevmouse.c (SDL_AtariDevMouse_Open): fix which seems like a typo

... although it's disabled code.

Fri, 06 Sep 2019 19:32:56 +0300updated docs for changes so far. SDL-1.2
Ozkan Sezer <sezeroz@gmail.com> [Fri, 06 Sep 2019 19:32:56 +0300] rev 13066
updated docs for changes so far.

Fri, 06 Sep 2019 08:50:40 -0700SDL_blit_N.c: Correct vec_perm() application on little-endian 64-bit PowerPC SDL-1.2
Sam Lantinga <slouken@libsdl.org> [Fri, 06 Sep 2019 08:50:40 -0700] rev 13065
SDL_blit_N.c: Correct vec_perm() application on little-endian 64-bit PowerPC

The LE transformation for vec_perm has an implicit assumption that the
permutation is being used to reorder vector elements (in this case 4-byte
integer word elements), not to reorder bytes within those elements. Although
this is legal behavior, it is not anticipated by the transformation performed
by the compilers.

This causes pygame-1.9.1 test failure on PPC64LE because blitted pixmaps are
corrupted there due to how SDL uses vec_perm().

From RedHat / Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=1392465
Original patch was provided by: Menanteau Guy <menantea@linux.vnet.ibm.com>

Fri, 06 Sep 2019 08:50:19 -0700SDL_blit_N.c: Correct vec_perm() application on little-endian 64-bit PowerPC
Sam Lantinga <slouken@libsdl.org> [Fri, 06 Sep 2019 08:50:19 -0700] rev 13064
SDL_blit_N.c: Correct vec_perm() application on little-endian 64-bit PowerPC

The LE transformation for vec_perm has an implicit assumption that the
permutation is being used to reorder vector elements (in this case 4-byte
integer word elements), not to reorder bytes within those elements. Although
this is legal behavior, it is not anticipated by the transformation performed
by the compilers.

This causes pygame-1.9.1 test failure on PPC64LE because blitted pixmaps are
corrupted there due to how SDL uses vec_perm().

From RedHat / Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=1392465
Original patch was provided by: Menanteau Guy <menantea@linux.vnet.ibm.com>

Fri, 06 Sep 2019 08:44:46 -0700KMSDRM_GLES_SwapWindow: fix non-vsync case
Conn O'Griofa <connogriofa@gmail.com> [Fri, 06 Sep 2019 08:44:46 -0700] rev 13063
KMSDRM_GLES_SwapWindow: fix non-vsync case
If KMSDRM_drmModeSetCrtc is called when the swap interval is
set to 0, the driver behaves as though vertical sync is engaged by
limiting framerate to the refresh rate, but performance is much worse
than with vertical sync enabled.

Resolve this issue by ensuring that the Crtc is only set up once,
and KMSDRM_drmModePageFlip is called, albeit without any followup
queueing or waiting for flips.

Fri, 06 Sep 2019 08:42:54 -0700Fixed bug 4789 - Linux accelerometers no longer available as joysticks
Sam Lantinga <slouken@libsdl.org> [Fri, 06 Sep 2019 08:42:54 -0700] rev 13062
Fixed bug 4789 - Linux accelerometers no longer available as joysticks

Daniel Drake

A long time ago, it was possible to play neverball on Linux using the accelerometer found in HP laptops.

The kernel exposes the accelerometer as a joystick (/dev/input/jsX) as well as an evdev device (/dev/input/eventX). I guess it worked fine when SDL was using the js interface, but then stopped working here: http://hg.libsdl.org/SDL/rev/fdaeea9e7567

Looking at current code which uses udev to discover joysticks, it looks for the udev tag ID_INPUT_JOYSTICK.

However udev's internal input_id logic specifically tags accelerometers as ID_INPUT_ACCELEROMETER and nothing else.

This looks like a good fit for SDL_HINT_ACCELEROMETER_AS_JOYSTICK.

Thu, 05 Sep 2019 20:47:20 +0300SDL_windowsevents.c: remove isVistaOrNewer (not used since 8254c364ec4a)
Ozkan Sezer <sezeroz@gmail.com> [Thu, 05 Sep 2019 20:47:20 +0300] rev 13061
SDL_windowsevents.c: remove isVistaOrNewer (not used since 8254c364ec4a)

Thu, 05 Sep 2019 13:21:02 +0300fix permissions
Ozkan Sezer <sezeroz@gmail.com> [Thu, 05 Sep 2019 13:21:02 +0300] rev 13060
fix permissions

Thu, 05 Sep 2019 10:49:53 +0200SDL_windowsmessagebox.c: remove unused variable
Sylvain Becker <sylvain.becker@gmail.com> [Thu, 05 Sep 2019 10:49:53 +0200] rev 13059
SDL_windowsmessagebox.c: remove unused variable