Sam Lantinga <slouken@libsdl.org> [Sat, 27 Jul 2013 02:50:19 -0700] rev 7525
Fixed bug 1743 - CMake produces libraries with wrong filename/SONAME
David Gow
As discussed on the list, the autotools build backend uses libtool's "release" option, giving us the SONAME libSDL2-2.0.so.0, whereas CMake doesn't, giving us libSDL2.so.0
While libSDL2.so.0 has some small advantages (being simpler and matching the names on some other OSes better), many products have already been developed expecting libSDL2-2.0.so.0, which better matches SDL 1.2's SONAME. It seems clear, therefore, that most developers prefer this name.
This patch emulates libtool's functionality, making libSDL2-2.0.so.0 the name of the shared library, while leaving libSDL2.a as the filename of the static library. Unlike with libtool, no libSDL2.so symlink is yet made. I also haven't tested this on anything but Linux, so it might break other platforms. :/
Sam Lantinga <slouken@libsdl.org> [Sat, 27 Jul 2013 02:45:26 -0700] rev 7524
Improved error checking in the haptic system, preventing crashes in some cases.
Edgar Simo 2012-05-06 02:33:39 EDT
I recall that driver being buggy back in the day, but looking over the code there's a number of things being done wrong which I've fixed and it should now properly error out instead of crashing. Also make sure you initialize the haptic subsystem before using haptic commands (which I now more explicitly try to enforce).
Sam Lantinga <slouken@libsdl.org> [Sun, 14 Jul 2013 18:17:28 -0700] rev 7523
Fixed bug 1919 - Window icon disappears as soon as a renderer is created
Sebastian
Setting a window icon works just fine until a renderer is added to the window.
After adding the renderer the icon disappears.
Reproduce by:
- Take the example code from the wiki: http://wiki.libsdl.org/moin.fcg/SDL_SetWindowIcon
- Add the following two lines after SDL_FreeSurface(surface);
SDL_Delay(1000);
SDL_Renderer* ren = SDL_CreateRenderer(window, -1, SDL_RENDERER_ACCELERATED);
-compile and run
You will see the window icon correctly at first. After the Delay the Icon will disappear.
Sam Lantinga <slouken@libsdl.org> [Sat, 27 Jul 2013 00:49:34 -0700] rev 7522
Fixed bug 1526 - X11 - XUnmapWindow should not be called directly
driedfruit
In X11_HideWindow, we call XUnmapWindow to unmap. According to ICCCN2.0, this should never happen, and XWithdrawWindow should be called instead.
http://www.tronche.com/gui/x/icccm/sec-4.html#s-4.1.4
"The reason for requiring the client to send a synthetic UnmapNotify event is to ensure that the window manager gets some notification of the client's desire to change state, ***even though the window may already be unmapped when the desire is expressed***."
Additionally, this can be observed at http://cgit.freedesktop.org/xorg/lib/libX11/tree/src/Withdraw.c#n65
Failure to comply leads to "MapNotify" event never appearing on non-reparenting WMs after subsequent show-hide-show requests. (I'm currently observing this behavior, thus my bug report).
Jørgen P. Tjernø <jorgen@valvesoftware.com> [Fri, 26 Jul 2013 13:30:24 -0700] rev 7521
Fix cmake breakage (thanks Marcus)
My recent change broke the sdlcheck.cmake by not escaping some quotes properly.
Thanks to Marcus von Appen for pointing it out and providing the patch.
Gabriel Jacobo <gabomdq@gmail.com> [Fri, 26 Jul 2013 12:37:36 -0300] rev 7520
Consider the case where an attribute is set to EGL_DONT_CARE in eglChooseConfig
SDL doesn't currently use EGL_DONT_CARE, but it doesn' hurt to future proof.
Gabriel Jacobo <gabomdq@gmail.com> [Fri, 26 Jul 2013 12:22:40 -0300] rev 7519
[Android] Bug 1827, select the best matching config provided by eglChooseConfig
Sam Lantinga <slouken@libsdl.org> [Thu, 25 Jul 2013 18:11:09 -0700] rev 7518
Fixed crash and garbled output when converting from F32 to S16 audio.
Sam Lantinga <slouken@libsdl.org> [Thu, 25 Jul 2013 09:51:21 -0700] rev 7517
Updated the copyright year for the test programs
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Wed, 24 Jul 2013 22:25:17 +0200] rev 7516
Corrected return value to be of correct type.