Ryan C. Gordon <icculus@icculus.org> [Mon, 08 Jun 2015 03:07:16 -0400] rev 9722
Added LDFLAGS note to Raspberry Pi documentation (thanks, Michael!).
Ryan C. Gordon <icculus@icculus.org> [Mon, 08 Jun 2015 02:58:46 -0400] rev 9721
x11: Drop duplicate XInput2 XI_RawMotion events.
This happens when the pointer is grabbed, but it's not clear if this is a
bug in x.org or my misunderstanding of the XGrabPointer() documentation.
At any rate, we'll want to revisit this later for a better solution.
Fixes Bugzilla #2963.
Ryan C. Gordon <icculus@icculus.org> [Mon, 08 Jun 2015 01:52:43 -0400] rev 9720
Unix: Don't send quit events during signal handler.
Make note to send it, and send next time we SDL_PumpEvents().
Otherwise, we might be trying to use malloc() to push a new event on the
queue while a signal is interrupting malloc() elsewhere, usually causing a
crash.
Fixes Bugzilla #2870.
Ryan C. Gordon <icculus@icculus.org> [Mon, 08 Jun 2015 01:17:58 -0400] rev 9719
Updated configure script.
Ryan C. Gordon <icculus@icculus.org> [Mon, 08 Jun 2015 01:13:51 -0400] rev 9718
configure/cmake/x11: Removed SDL_VIDEO_DRIVER_X11_CONST_PARAM_XDATA32 test.
This was the only thing that made SDL_config.h generate differently between
32 and 64-bit versions of Linux, so instead we force a function cast in our
X11 code to match our dynamic loader version, which removes the compile error
on some machines that prompted this test in the first place.
Xlib never wrote to this data, so if you're on an older Xlib where this param
wasn't const, your data should still be intact when we force the caller to
think it was actually const after all.
Fixes Bugzilla #1893.
Ryan C. Gordon <icculus@icculus.org> [Sun, 07 Jun 2015 20:15:09 -0400] rev 9717
CMake: default to shared library builds being enabled.
Ryan C. Gordon <icculus@icculus.org> [Sun, 07 Jun 2015 20:00:20 -0400] rev 9716
Let's assume that if VS2005 and VS2010 do it, VS2008 probably does, too.
Ryan C. Gordon <icculus@icculus.org> [Sun, 07 Jun 2015 19:58:42 -0400] rev 9715
VS2005 tweaks (thanks, Ozkan!).
Fixes Bugzilla #2895.
His notes:
The following trivial changes make SDL2 tree (mostly) compatible with Visual
Studio 2005:
* SDL_stdlib.c: Similar to VS2010 and newer, VS2005 also generates memcpy(),
(it also generates memset(), see below), so propagate the #if condition to
cover VS2005.
* SDL_pixels.c (SDL_CalculateGammaRamp): VS2005 generates a memset() call for
gamma==0 case, so replace the if loop with SDL_memset().
* SDL_windowsvideo.h: Include msctf.h only with VS2008 and newer, otherwise
include SDL_msctf.h
* SDL_windowskeyboard.c: Adjust the #ifdefs so that SDL_msctf.h inclusion is
always recognized correctly.
Ryan C. Gordon <icculus@icculus.org> [Sun, 07 Jun 2015 18:29:23 -0400] rev 9714
Maybe patched to compile on some Windows configurations.
(Maybe) Fixes Bugzilla #3001.
Ryan C. Gordon <icculus@icculus.org> [Sun, 07 Jun 2015 17:59:31 -0400] rev 9713
Backed out changeset c9c61d66cfa0
This caused Bugzilla #2963, so we'll find a better solution.