Tue, 12 Mar 2013 09:10:37 -0700Fix bug 1560 - SDL_RWFromConstMem write operation returns -1 but should return 0.
Andreas Schiffler [Tue, 12 Mar 2013 09:10:37 -0700] rev 6996
Fix bug 1560 - SDL_RWFromConstMem write operation returns -1 but should return 0.

Sun, 10 Mar 2013 21:10:10 -0700Fixed bug 1751 - Direcftb renderer viewport behaviour differs from API description.
Sam Lantinga [Sun, 10 Mar 2013 21:10:10 -0700] rev 6995
Fixed bug 1751 - Direcftb renderer viewport behaviour differs from API description.

tomaszewski.p

According to API description:
SDL_RenderSetViewport - Use this function to set the drawing area for rendering on the current target.

DirectFB renderer in DirectFB_UpdateViewport function just sets clip on surface, instead of moving drawing area.

Attached patch uses set clip rectangle to move {x,y} coordinates during draw and blit operations to be compatible with API description.

Sun, 10 Mar 2013 16:28:20 -0700Fix bug 1574 - updaterev.sh fails when path contains spaces
Andreas Schiffler [Sun, 10 Mar 2013 16:28:20 -0700] rev 6994
Fix bug 1574 - updaterev.sh fails when path contains spaces

Sun, 10 Mar 2013 13:36:20 -0400Patched to compile on Visual Studio.
Ryan C. Gordon [Sun, 10 Mar 2013 13:36:20 -0400] rev 6993
Patched to compile on Visual Studio.

Sun, 10 Mar 2013 13:31:55 -0400Fixed compiler warning.
Ryan C. Gordon [Sun, 10 Mar 2013 13:31:55 -0400] rev 6992
Fixed compiler warning.

Sun, 10 Mar 2013 13:28:39 -0400Attempt to get XInput haptics building on Cygwin (or rather, avoid building).
Ryan C. Gordon [Sun, 10 Mar 2013 13:28:39 -0400] rev 6991
Attempt to get XInput haptics building on Cygwin (or rather, avoid building).

Sun, 10 Mar 2013 13:05:47 -0400First shot at Windows XInput haptics.
Ryan C. Gordon [Sun, 10 Mar 2013 13:05:47 -0400] rev 6990
First shot at Windows XInput haptics.

Sun, 10 Mar 2013 09:09:31 -0700Fixed bug 1750 - Directfb renderer does not support SDL_RENDERER_TARGETTEXTURE
Sam Lantinga [Sun, 10 Mar 2013 09:09:31 -0700] rev 6989
Fixed bug 1750 - Directfb renderer does not support SDL_RENDERER_TARGETTEXTURE

tomaszewski.p

DirectFB renderer does not support SDL_RENDERER_TARGETTEXTURE what makes it incompatible with GL or GLES(2) renderers.

Attached patched:
- adds support for SDL_RENDERER_TARGETTEXTURE,
- DirectFB RenderCopy converts destination rectangle from floats to ints,
- fixes whitespaces to be the same in whole file.

Sun, 10 Mar 2013 09:07:23 -0700Fixed bug 1749 - SDL_GL_CreateContext() causes fatal X11 protocol errors that should just be caught instead
Sam Lantinga [Sun, 10 Mar 2013 09:07:23 -0700] rev 6988
Fixed bug 1749 - SDL_GL_CreateContext() causes fatal X11 protocol errors that should just be caught instead

Lee Salzman

When using SDL_GL_CreateContext() to create a >= 3.0 version or core/forward-compatible context, internally glXCreateContextAttribsARB is used. Mesa in particular seems to be having trouble with this call and returning all sorts of errors, so it is dangerous to poll for the highest GL version by using calls to SDL_GL_CreateContext unless you are sure, a priori, that the call will suceed, defeating the point of its use.

X11 protocol errors are of the following form, with varying details depending on user, but the cause is always SDL_GL_CreateContext as above...

X Error of failed request: GLXBadFBConfig
Major opcode of failed request: 153 (GLX)
Minor opcode of failed request: 34 ()
Serial number of failed request: 215
Current serial number in output stream: 221

These sorts of errors can be temporarily filtered out by setting an X11 error handler to catch and ignore them, which is safe with respect to SDL_GL_CreateContext behavior because this function is allowed to return NULL to indicate failure.

A patch is attached to do this temporary filtering/catching of errors generated by trying to use glXCreateContextAttribs and friends...

Sun, 10 Mar 2013 09:03:38 -0700Fixed bug 1748 - Patch for errors and mistakes in SDL 2 README files.
Sam Lantinga [Sun, 10 Mar 2013 09:03:38 -0700] rev 6987
Fixed bug 1748 - Patch for errors and mistakes in SDL 2 README files.

Philipp Wiesemann

SDL's README files seem to contain multiple errors and mistakes. I attached a patch with changes and updates.

README:
* removed Windows CE because no more supported

README-SDL.txt:
* corrected spelling mistake

README.DirectFB:
* corrected spelling mistakes

README.MacOSX:
* corrected spelling mistakes

README.Platforms:
* changed Android version to match AndroidManifest.xml

README.Porting:
* added missing directories from list
* removed cdrom directories from list

README.android:
* updated required NDK revision
* add project.properties to list
* changed lower limit for to android-10 and removed upper
* added a statement why older devices not supported
* added correct dates to statements about OpenGL ES
* added info about Google's device numbers and date
* corrected spelling mistakes

README.gesture:
* corrected spelling mistakes

README.pandora:
* corrected spelling mistake

README.touch:
* changed that values are no in range 0..1
* updated the names of some functions
* updated the notes about usage
* corrected spelling mistakes
* added info that API changed near original author contact