Sat, 14 Jan 2012 13:21:19 -0500Make sure that we use consistent configuration options on platforms like Windows so that command line builds and IDE builds have ABI compatibility.
Sam Lantinga [Sat, 14 Jan 2012 13:21:19 -0500] rev 6217
Make sure that we use consistent configuration options on platforms like Windows so that command line builds and IDE builds have ABI compatibility.
Make sure we don't clobber SDL_revision.h when building from Mercurial

Sat, 14 Jan 2012 13:17:01 -0500Unofficial builds should have a 0 revision number - if this accidentally gets checked in with a different revision, this file should be reverted to this content.
Sam Lantinga [Sat, 14 Jan 2012 13:17:01 -0500] rev 6216
Unofficial builds should have a 0 revision number - if this accidentally gets checked in with a different revision, this file should be reverted to this content.

Sat, 14 Jan 2012 02:22:40 -0500Switched compatibility version to 1 since the ABI is compatible with previous versions SDL-1.2
Sam Lantinga [Sat, 14 Jan 2012 02:22:40 -0500] rev 6215
Switched compatibility version to 1 since the ABI is compatible with previous versions

Sat, 14 Jan 2012 01:38:11 -0500Fixed bug 1238 - SDL_SetKeyboardFocus may send events to already destroyed windows
Sam Lantinga [Sat, 14 Jan 2012 01:38:11 -0500] rev 6214
Fixed bug 1238 - SDL_SetKeyboardFocus may send events to already destroyed windows

bastien.bouclet@gmail.com 2011-06-26 02:15:36 PDT

SDL_Keyboard::focus does not seem to be reset when the window that has focus is
destroyed, resulting in the following crash :

#0 X11_SetWindowGammaRamp (_this=0x8ed9cb0, window=0x91f25c0, ramp=0x0) at
src/video/x11/SDL_x11window.c:948
#1 0x001bd15e in SDL_OnWindowFocusLost (window=0x91f25c0) at
src/video/SDL_video.c:1900
#2 0x00168a2e in SDL_SendWindowEvent (window=0x91f25c0, windowevent=<value
optimized out>, data1=0, data2=0)
at src/events/SDL_windowevents.c:157
#3 0x00166454 in SDL_SetKeyboardFocus (window=0x9678a08) at
src/events/SDL_keyboard.c:612

Sat, 14 Jan 2012 00:49:25 -0500Fixed inline assembly warning for PPC
Sam Lantinga [Sat, 14 Jan 2012 00:49:25 -0500] rev 6213
Fixed inline assembly warning for PPC
input constraint with a matching output constraint of incompatible type

Fri, 13 Jan 2012 20:57:35 -0500Fixed bug 1368 - Enabling joystick subsystem cause an infinite loop
Sam Lantinga [Fri, 13 Jan 2012 20:57:35 -0500] rev 6212
Fixed bug 1368 - Enabling joystick subsystem cause an infinite loop

morgan.devel@gmail.com 2012-01-13 00:32:23 PST

The android version of SDL_SYS_JoystickUpdate doesn't check if there is
actually new data and always generate the SDL_JOYAXISMOTION event.
Consequently, doing a while(SDL_PollEvent()) will result in an endless loop.

The attached patch fix this issue.

It also scale the incoming values properly in the Sint16 range. The scale from
[-gravity;+gravity] is done directly in the java part because one may want to
map the sensor values with a non-linear method for example.

Thu, 12 Jan 2012 22:54:09 -0500Better interpolation for the x4 upsampling case
Sam Lantinga [Thu, 12 Jan 2012 22:54:09 -0500] rev 6211
Better interpolation for the x4 upsampling case

Thu, 12 Jan 2012 21:42:35 -0500Fixed issue where there was a garbage sample at the end of the buffer.
Sam Lantinga [Thu, 12 Jan 2012 21:42:35 -0500] rev 6210
Fixed issue where there was a garbage sample at the end of the buffer.

Tue, 10 Jan 2012 22:52:17 -0500Fixed typo in mask comparison SDL-1.2
Sam Lantinga [Tue, 10 Jan 2012 22:52:17 -0500] rev 6209
Fixed typo in mask comparison


Bl0ckeduser

I downloaded the SDL 1.2.15 prerelease and compiled it (under Mac OS
Classic). All the tests worked without issues, but the compiler gave
this warning [formatting edited for email format]:

} else if ( vf->Rmask == 0xFF00 && (vf->Bmask = 0xFF000000) ) {

":src:video:SDL_video.c"; line 990 #Warning 2: possible unintended assignment

I discussed this with another programmer and we came to the conclusion
that this is probably a typo.

I have checked the latest mercurial sources, and the possible typo is
still there.

Bl0ckeduser

Tue, 10 Jan 2012 21:07:09 -0500David Carre cpasjuste@gmail.com
Sam Lantinga [Tue, 10 Jan 2012 21:07:09 -0500] rev 6208
David Carre cpasjuste@gmail.com

I'm playing with SDL on android, and did notice a problem in latest sources ( branch "default" ) :

SDL/src/render/opengles/SDL_glesfuncs.h:10: error: 'glDrawTexiOES' undeclared (first use in this function)
SDL/src/render/opengles/SDL_glesfuncs.h:10: error: (Each undeclared identifier is reported only once

If it can help you win some time here is the fix, applied to the "Android.mk" file :

LOCAL_CFLAGS += -D GL_GLEXT_PROTOTYPES