Mon, 23 Apr 2018 22:29:14 -0700Improved error messages when Vulkan isn't configured (thanks Daniel Gibson!) default tip
Sam Lantinga <slouken@libsdl.org> [Mon, 23 Apr 2018 22:29:14 -0700] rev 11954
Improved error messages when Vulkan isn't configured (thanks Daniel Gibson!)

Mon, 23 Apr 2018 22:17:56 -0700Fixed build
Sam Lantinga <slouken@libsdl.org> [Mon, 23 Apr 2018 22:17:56 -0700] rev 11953
Fixed build

Mon, 23 Apr 2018 22:07:56 -0700Added SDL_THREAD_PRIORITY_TIME_CRITICAL
Sam Lantinga <slouken@libsdl.org> [Mon, 23 Apr 2018 22:07:56 -0700] rev 11952
Added SDL_THREAD_PRIORITY_TIME_CRITICAL

Mon, 23 Apr 2018 21:55:59 -0700Fixed bug 4144 - CMake complains about trailing spaces in sdl2.pc
Sam Lantinga <slouken@libsdl.org> [Mon, 23 Apr 2018 21:55:59 -0700] rev 11951
Fixed bug 4144 - CMake complains about trailing spaces in sdl2.pc

Azamat H. Hackimov

When you try use SDL2 2.0.8 in CMake project in Linux, it complains about trailing spaces in sdl2.pc:

CMake Error at CMakeLists.txt:147 (add_executable):
Target "TestSimpleMain" links to item "-L/usr/lib64 -lSDL2 " which has
leading or trailing whitespace. This is now an error according to policy
CMP0004.

Mon, 23 Apr 2018 21:50:03 -0700TryLockMutex: Fix error handling for TryLockMutex
Sam Lantinga <slouken@libsdl.org> [Mon, 23 Apr 2018 21:50:03 -0700] rev 11950
TryLockMutex: Fix error handling for TryLockMutex

Christian Herzig

pthread_mutex_trylock() and by the way, pthread_mutex_lock() do not set errno.
Pthread-methods directly return error code as int. See related man-pages for
details.

Mon, 23 Apr 2018 20:24:12 -0700Handle NULL return from SDL_DBus_GetContext()
Sam Lantinga <slouken@libsdl.org> [Mon, 23 Apr 2018 20:24:12 -0700] rev 11949
Handle NULL return from SDL_DBus_GetContext()

Mon, 23 Apr 2018 19:20:12 -0700Handle NULL return from SDL_DBus_GetContext()
Sam Lantinga <slouken@libsdl.org> [Mon, 23 Apr 2018 19:20:12 -0700] rev 11948
Handle NULL return from SDL_DBus_GetContext()

Mon, 23 Apr 2018 19:18:52 -0700Added SDL_LinuxSetThreadPriority() to directly set the priority of a Linux thread (tid)
Sam Lantinga <slouken@libsdl.org> [Mon, 23 Apr 2018 19:18:52 -0700] rev 11947
Added SDL_LinuxSetThreadPriority() to directly set the priority of a Linux thread (tid)
This function tries using RealtimeKit connecting over DBUS as needed.

Mon, 23 Apr 2018 17:10:36 -0700Added support for adjusting thread priorities using Linux RealtimeKit
Sam Lantinga <slouken@libsdl.org> [Mon, 23 Apr 2018 17:10:36 -0700] rev 11946
Added support for adjusting thread priorities using Linux RealtimeKit

Michael Sartain

This is a quick pass at adding Linux RealtimeKit thread priority support to SDL.

It allows me to bump the thread priority to high without root privileges or setting any caps, etc.

rtkit readme here:
http://git.0pointer.net/rtkit.git/tree/README

Mon, 16 Apr 2018 02:11:09 -0400coreaudio: Use the standard SDL audio thread instead of spinning a new one.
Ryan C. Gordon <icculus@icculus.org> [Mon, 16 Apr 2018 02:11:09 -0400] rev 11945
coreaudio: Use the standard SDL audio thread instead of spinning a new one.

Fixes corner cases, like the audio callback not firing if the device is
disconnected, etc.