Thu, 26 Mar 2020 19:30:17 -0700Allow background music to play in the "play and record" case on iOS
Sam Lantinga [Thu, 26 Mar 2020 19:30:17 -0700] rev 13676
Allow background music to play in the "play and record" case on iOS

Thu, 26 Mar 2020 20:28:04 -0400dbus: System bus is optional, we only need a session bus (thanks, tamo!).
Ryan C. Gordon [Thu, 26 Mar 2020 20:28:04 -0400] rev 13675
dbus: System bus is optional, we only need a session bus (thanks, tamo!).

Fixes Bugzilla #4795.

Thu, 26 Mar 2020 18:47:04 -0400joystick: Make sure recentering events happen before disconnect events.
Ryan C. Gordon [Thu, 26 Mar 2020 18:47:04 -0400] rev 13674
joystick: Make sure recentering events happen before disconnect events.

Fixes Bugzilla #5063.

Thu, 26 Mar 2020 13:42:56 -0400cocoa: Just update the OpenGL context directly if on the main thread.
Ryan C. Gordon [Thu, 26 Mar 2020 13:42:56 -0400] rev 13673
cocoa: Just update the OpenGL context directly if on the main thread.

Wed, 25 Mar 2020 09:38:45 -0700src/video/kmsdrm/SDL_kmsdrmvideo.c: fix build
Fabrice Fontaine [Wed, 25 Mar 2020 09:38:45 -0700] rev 13672
src/video/kmsdrm/SDL_kmsdrmvideo.c: fix build
Build is broken without EGL since version 2.0.12 and
https://hg.libsdl.org/SDL/rev/9761858bd6a3:

/home/giuliobenetti/autobuild/run/instance-1/output-1/build/sdl2-2.0.12/src/video/kmsdrm/SDL_kmsdrmvideo.c: In function 'KMSDRM_CreateSurfaces':
/home/giuliobenetti/autobuild/run/instance-1/output-1/build/sdl2-2.0.12/src/video/kmsdrm/SDL_kmsdrmvideo.c:394:5: error: unknown type name 'EGLContext'
EGLContext egl_context;
^

Fixes:
- http://autobuild.buildroot.org/results/fafd20a01591032662f9ca025fcea3478239cf3c

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Tue, 24 Mar 2020 10:05:51 -0700src/video/directfb/SDL_DirectFB_render.c: fix build
Fabrice Fontaine [Tue, 24 Mar 2020 10:05:51 -0700] rev 13671
src/video/directfb/SDL_DirectFB_render.c: fix build
Build with directfb is broken due to a spurious '}' and a missing 'E'
since version 2.0.12 and https://hg.libsdl.org/SDL/rev/2d5b5a5ccbfb:

/home/buildroot/autobuild/run/instance-2/output-1/build/sdl2-2.0.12/src/video/directfb/SDL_DirectFB_render.c: In function 'SetBlendMode':
/home/buildroot/autobuild/run/instance-2/output-1/build/sdl2-2.0.12/src/video/directfb/SDL_DirectFB_render.c:202:9: error: case label not within a switch statement
202 | case SDL_BLENDMODE_MUL:
| ^~~~

/home/buildroot/autobuild/run/instance-2/output-1/build/sdl2-2.0.12/src/video/directfb/SDL_DirectFB_render.c:205:67: error: 'DSBF_DSTCOLOR' undeclared (first use in this function); did you mean 'DSBF_DESTCOLOR'?
205 | SDL_DFB_CHECK(destsurf->SetSrcBlendFunction(destsurf, DSBF_DSTCOLOR));
| ^~~~~~~~~~~~~

Fixes:
- http://autobuild.buildroot.org/results/83ccefee68c2800c0544e6f40fa8bc8ee6b67b77

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Mon, 23 Mar 2020 14:10:25 -0700Don't check the HIDAPI driver for the virtual device created by xow
Sam Lantinga [Mon, 23 Mar 2020 14:10:25 -0700] rev 13670
Don't check the HIDAPI driver for the virtual device created by xow

Mon, 23 Mar 2020 12:10:05 -0700Fixed bug 5052 - Interval between SDL_SENSORUPDATE events for gyroscopes is too high
Sam Lantinga [Mon, 23 Mar 2020 12:10:05 -0700] rev 13669
Fixed bug 5052 - Interval between SDL_SENSORUPDATE events for gyroscopes is too high

Andrei Kortunov

Hello. I try to implement an application for Android, which uses a new sensors API from 2.0.9 to control a camera rotation via built-in gyroscope, using the code from the test/testsensor.c as an example.

Gyroscope input itself works well, but an interval between SDL_SENSORUPDATE events is about 200ms (the SENSOR_DELAY_NORMAL, I believe), when I need the interval about 20-40ms (the SENSOR_DELAY_GAME or SENSOR_DELAY_FASTEST).

Mon, 23 Mar 2020 14:54:31 -0400iOS: fixed bug whereby some SDL testing apps weren't launching
David Ludwig [Mon, 23 Mar 2020 14:54:31 -0400] rev 13668
iOS: fixed bug whereby some SDL testing apps weren't launching

Test apps in Xcode-iOS/Test/TestiPhoneOS.xcodeproj weren't launching
in the most-recent release of Xcode and the iOS Simulator (version 11.3.1).
This was caused by their shared Info.plist file not defining a
CFBundleShortVersionString (as reported by Xcode, when launching a test
app from within Xcode).

Sun, 22 Mar 2020 20:09:14 -0400Do not overwrite window surface created by driver
Jay Petacat [Sun, 22 Mar 2020 20:09:14 -0400] rev 13667
Do not overwrite window surface created by driver

If a driver's implementation of CreateWindowFramebuffer sets the window
surface, use that rather than overwriting it. A driver may set the window
surface if data cannot be passed via the CreateWindowFramebuffer output
parameters (e.g. surface palette colors).