Sdl 2.0.3 rc1

We broke creating an OpenGL context by default on Mac OS X 10.6, so we’re
releasing a quick update to fix that. This release also adds D3D9 renderer
support on Windows 8.

Please let us know if there are any regressions in the 2.0.3 release
candidate:
http://www.libsdl.org/tmp/download-2.0.php

We have a teaser in the source code for a new D3D11 renderer and Windows RT
support, thanks to David Ludwig. The release binaries don’t include them
since they’re still experimental, but they will be available in full form
for 2.0.4.

Thanks!

Sam Lantinga wrote:

We broke creating an OpenGL context by default on Mac OS X 10.6, so we’re releasing a quick update to fix that. This release also adds D3D9 renderer support on Windows 8.

Please let us know if there are any regressions in the 2.0.3 release candidate:
http://www.libsdl.org/tmp/download-2.0.php (http://www.libsdl.org/tmp/download-2.0.php)

We have?a teaser?in the source code for a new D3D11 renderer and Windows RT support, thanks to David Ludwig. The release binaries don’t include them since they’re still experimental, but they will be available in full form for 2.0.4.

Thanks!

I am curious, aren’t the SDL tests meant to catch major regressions ?
Is it that the buildbot can’t handle the SDL tests, or, just that there are no tests to test this particular context, so, things like this should be added to the current tests ?

I am curious, aren’t the SDL tests meant to catch major regressions ?
Is it that the buildbot can’t handle the SDL tests, or, just that there
are no tests to test this particular context, so, things like this
should be added to the current tests ?

The buildslaves don’t run the tests. And even if they did, in this case,
the bug was only triggered on Mac OS X 10.6, and the Mac buildslave is
running 10.8.

–ryan.

The Windows RT stuff sounds good!

FYI; The SDL-2.0.3-8610.tar.gz on the website download link doesn’t compile
on OSX 10.9 for me:

Hark:SDL-2.0.3-8610 doug$ make
/bin/sh build-scripts/mkinstalldirs build
mkdir -p – build
/bin/sh build-scripts/updaterev.sh
/bin/sh ./libtool --mode=compile gcc -g -O3 -DUSING_GENERATED_CONFIG_H
-Iinclude -I/Users/doug/projects/c/SDL-2.0.3-8610/include -mmmx -msse
-msse2 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden
-I/usr/X11R6/include -D_THREAD_SAFE -fpascal-strings -Wall -MMD -MT
build/SDL.lo -c /Users/doug/projects/c/SDL-2.0.3-8610/src/SDL.c -o
build/SDL.lo
libtool: compile: gcc -g -O3 -DUSING_GENERATED_CONFIG_H -Iinclude
-I/Users/doug/projects/c/SDL-2.0.3-8610/include -mmmx -msse -msse2
-DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden
-I/usr/X11R6/include -D_THREAD_SAFE -fpascal-strings -Wall -MMD -MT
build/SDL.lo -c /Users/doug/projects/c/SDL-2.0.3-8610/src/SDL.c
-fno-common -DPIC -o build/.libs/SDL.o
/Users/doug/projects/c/SDL-2.0.3-8610/src/SDL.c:393:5: error: non-void
function ‘SDL_GetRevisionNumber_REAL’ should return a value [-Wreturn-type]
return SDL_REVISION_NUMBER;

Head off hg is fine, but that particular tar ball doesn’t work.~
Doug.

On Wed, Mar 12, 2014 at 11:11 PM, Sam Lantinga wrote:

We broke creating an OpenGL context by default on Mac OS X 10.6, so we’re
releasing a quick update to fix that. This release also adds D3D9 renderer
support on Windows 8.

Please let us know if there are any regressions in the 2.0.3 release
candidate:
http://www.libsdl.org/tmp/download-2.0.php

We have a teaser in the source code for a new D3D11 renderer and Windows
RT support, thanks to David Ludwig. The release binaries don’t include them
since they’re still experimental, but they will be available in full form
for 2.0.4.

Thanks!


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

On closer inspection is has nothing to do (particularly) with the revision
itself, it’s because the build script updaterev.sh depends on hg, and in
the tar balls, .hg is not included:

revnum=echo $rev | sed 's,hg-\([0-9]*\).*,\1,' <------- Gonna be
blank…
echo “#define SDL_REVISION “$rev”” >"$header.new"
echo “#define SDL_REVISION_NUMBER $revnum” >>"$header.new"

so the output is:

Hark:SDL-2.0.3-8615 doug$ cat
/Users/doug/projects/rust/rust-editor/libs/sdl2/build/src/SDL-2.0.3-8615/include/SDL_revision.h
#define SDL_REVISION “hg–1:000000000000”
#define SDL_REVISION_NUMBER <----- yup, totally blank

…but on the other hand, it’s been that way since forever as far as what
the hg log say, so how this ever worked is kind of puzzling to me.~
Doug.

On Thu, Mar 13, 2014 at 7:50 PM, Doug <@Doug1> wrote:

FYI; The SDL-2.0.3-8610.tar.gz on the website download link doesn’t
compile on OSX 10.9 for me:

Hark:SDL-2.0.3-8610 doug$ make
/bin/sh build-scripts/mkinstalldirs build
mkdir -p – build
/bin/sh build-scripts/updaterev.sh
/bin/sh ./libtool --mode=compile gcc -g -O3 -DUSING_GENERATED_CONFIG_H
-Iinclude -I/Users/doug/projects/c/SDL-2.0.3-8610/include -mmmx -msse
-msse2 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden
-I/usr/X11R6/include -D_THREAD_SAFE -fpascal-strings -Wall -MMD -MT
build/SDL.lo -c /Users/doug/projects/c/SDL-2.0.3-8610/src/SDL.c -o
build/SDL.lo
libtool: compile: gcc -g -O3 -DUSING_GENERATED_CONFIG_H -Iinclude
-I/Users/doug/projects/c/SDL-2.0.3-8610/include -mmmx -msse -msse2
-DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden
-I/usr/X11R6/include -D_THREAD_SAFE -fpascal-strings -Wall -MMD -MT
build/SDL.lo -c /Users/doug/projects/c/SDL-2.0.3-8610/src/SDL.c
-fno-common -DPIC -o build/.libs/SDL.o
/Users/doug/projects/c/SDL-2.0.3-8610/src/SDL.c:393:5: error: non-void
function ‘SDL_GetRevisionNumber_REAL’ should return a value [-Wreturn-type]
return SDL_REVISION_NUMBER;

Head off hg is fine, but that particular tar ball doesn’t work.

~
Doug.

On Wed, Mar 12, 2014 at 11:11 PM, Sam Lantinga wrote:

We broke creating an OpenGL context by default on Mac OS X 10.6, so we’re
releasing a quick update to fix that. This release also adds D3D9 renderer
support on Windows 8.

Please let us know if there are any regressions in the 2.0.3 release
candidate:
http://www.libsdl.org/tmp/download-2.0.php

We have a teaser in the source code for a new D3D11 renderer and Windows
RT support, thanks to David Ludwig. The release binaries don’t include them
since they’re still experimental, but they will be available in full form
for 2.0.4.

Thanks!


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org