Sun, 27 Aug 2017 19:03:15 -0700Fixed bug 3770 - XStoreColor returns zero on failure SDL-1.2
Sam Lantinga <slouken@libsdl.org> [Sun, 27 Aug 2017 19:03:15 -0700] rev 11362
Fixed bug 3770 - XStoreColor returns zero on failure

Thorsten Otto

The fix done in http://hg.libsdl.org/SDL/rev/3665bc284271 is wrong. The current code returns -1 if the calls *succeeds*, and does not call XSync(). The outcome of this is that the whole screen turns black when trying to open a 640x480x8 window on a true-color display (short example attached). I suggest to add the attached patch to fix this (yes i know that the 1.2 branch is obsolete, but the faulty patch causes really bad behaviour for a very common scenario).

Sun, 27 Aug 2017 19:00:03 -0700Fixed bug 3740 - atexit() in test/testime.c
Sam Lantinga <slouken@libsdl.org> [Sun, 27 Aug 2017 19:00:03 -0700] rev 11361
Fixed bug 3740 - atexit() in test/testime.c

Sun, 27 Aug 2017 18:53:30 -0700SDL_dynapi.c: add missing SDLCALL to macros.
Sam Lantinga <slouken@libsdl.org> [Sun, 27 Aug 2017 18:53:30 -0700] rev 11360
SDL_dynapi.c: add missing SDLCALL to macros.

Sun, 27 Aug 2017 18:52:43 -0700Swapped conditional arguments for standard SDL readability
Sam Lantinga <slouken@libsdl.org> [Sun, 27 Aug 2017 18:52:43 -0700] rev 11359
Swapped conditional arguments for standard SDL readability

Sun, 27 Aug 2017 18:49:36 -0700SDL_dynapi.h: revert commit a6da0a386f68 in order to enable dynapi
Sam Lantinga <slouken@libsdl.org> [Sun, 27 Aug 2017 18:49:36 -0700] rev 11358
SDL_dynapi.h: revert commit a6da0a386f68 in order to enable dynapi


[ optional ]

Sun, 27 Aug 2017 18:49:11 -0700SDL_dynapi_procs.h: adjust SDL_CreateThread for os/2
Sam Lantinga <slouken@libsdl.org> [Sun, 27 Aug 2017 18:49:11 -0700] rev 11357
SDL_dynapi_procs.h: adjust SDL_CreateThread for os/2

Sun, 27 Aug 2017 18:48:51 -0700SDL_thread.h: fix os/2 defines (rev 11340:97cd834a843e was a missing patch)
Sam Lantinga <slouken@libsdl.org> [Sun, 27 Aug 2017 18:48:51 -0700] rev 11356
SDL_thread.h: fix os/2 defines (rev 11340:97cd834a843e was a missing patch)

Sun, 27 Aug 2017 18:43:52 -0700Fixed bug 2266 - please add notifications for clipboard updates on Android
Sam Lantinga <slouken@libsdl.org> [Sun, 27 Aug 2017 18:43:52 -0700] rev 11355
Fixed bug 2266 - please add notifications for clipboard updates on Android

Sylvain

Hi! here's a patch for that with two class loaded regarding API level.
Test both case : before API 11 and after.

I also remove now unused GetSystemServiceFromUIThread() and minor clean-up (haptic warning prototype).

Sun, 27 Aug 2017 18:36:54 -0700Fixed bug 2265 - Voice to text feature on Android repeats some text via SDL_TEXTINPUT
Sam Lantinga <slouken@libsdl.org> [Sun, 27 Aug 2017 18:36:54 -0700] rev 11354
Fixed bug 2265 - Voice to text feature on Android repeats some text via SDL_TEXTINPUT

Sylvain

Small patch for this issue. I tested it and it seems to work.

- it can send several backspaces (instead of only 1).
- it calls directly "sendKeyEvent()" instead of "super.sendKeyEvent()".
otherwise, it would go through the android internals, calling again "onKey()".
and then the "backspace" would arrive after the next "commitText()".

Sat, 26 Aug 2017 21:17:12 -0700Fixed bug 3774 - Cmake build fails for Android
Sam Lantinga <slouken@libsdl.org> [Sat, 26 Aug 2017 21:17:12 -0700] rev 11353
Fixed bug 3774 - Cmake build fails for Android

sfalexrog

Android haptic code was not added to CMakeLists.txt, leading to build failures when targeting Android platform.

Attached patch adds Android haptic driver to source sets and adds configuration parameter to SDL_config.h.cmake.