Mon, 04 Feb 2008 17:22:56 +0000 Date: Sat, 2 Feb 2008 22:08:05 +0100 SDL-1.2
Ryan C. Gordon <icculus@icculus.org> [Mon, 04 Feb 2008 17:22:56 +0000] rev 4137
Date: Sat, 2 Feb 2008 22:08:05 +0100 From: Marcus von Appen To: sdl@lists.libsdl.org Subject: [SDL] [Patch] SDL-1.2 SDL_revcpy() asm patch for the cld flag Hi, as reported through the FreeBSD bug tracking system in SDL 1.2.13 (and in the 1.2 branch, if I see that correctly) the SDL_revcpy() macro sets the direction flag (std), but does not clear it afterwards (cld), which is wrong according to the GCC and SYS V specs. This can cause some weird side effects, which in turn can lead to memory corruption. You can read the full report with a detailed description and test program at http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/120052 Attached is the submitted patch, which fixes the issue. Regards Marcus
Fri, 25 Jan 2008 05:48:08 +0000 Fixed crash in SDL_SetGammaRamp() SDL-1.2
Sam Lantinga <slouken@libsdl.org> [Fri, 25 Jan 2008 05:48:08 +0000] rev 4136
Fixed crash in SDL_SetGammaRamp()
Thu, 24 Jan 2008 15:50:20 +0000 Damien Carbery fixed bug #542 SDL-1.2
Sam Lantinga <slouken@libsdl.org> [Thu, 24 Jan 2008 15:50:20 +0000] rev 4135
Damien Carbery fixed bug #542 In SDL 1.2.13 sdl.m4 the AM_PATH_SDL function looks for sdl-config. It sets the PATH: PATH="$prefix/bin:$prefix/usr/bin:$PATH" but does not save the current PATH or restore the current PATH at the end. This breaks the build on Solaris because we have GNU tools in another dir (listed at the top of PATH) but non-GNU tools with the same names in $prefix/bin. Later configure tests finds the non-GNU tools and quits in error
Thu, 03 Jan 2008 06:19:07 +0000 Updates for building on Windows CE using mingw32ce cross compiler: SDL-1.2
Sam Lantinga <slouken@libsdl.org> [Thu, 03 Jan 2008 06:19:07 +0000] rev 4134
Updates for building on Windows CE using mingw32ce cross compiler: http://sourceforge.net/mailarchive/forum.php?thread_name 0703291652.38437.jwalt%40garni.ch&forum_name=cegcc-devel Hi! I just managed to compile SDL for Windows CE using the "mingw32ce" configuration of http://cegcc.sourceforge.net. Test programs work as expected (except for those using signals -- no POSIX on mingw32ce), and I didn't yet encounter any problem. While it was a pain to get everything compiled and running, the changes to SDL are actually quite small (see attached SDL-ce.diff). Unfortunately, the win32 headers shipped with cegcc are not 100% correct, and it feels quite messy to work around them in SDL code, so those headers will also need to be patched. (Attachment: win32api-ce.diff) Since I had to apply the libtool patch from the cegcc patch, I have also ad ded my copy of aclocal.m4 for SDL. I had to modify the cegcc libtool patch to use "lt_cv_deplibs_check_method=pass_all" for mingw32ce, otherwise libtool would not recognize the import libraries as valid for dynamic linking. All these changes should not affect non-WinCE builds, so they could be included in mainline SDL. If you need some docs, you can use this description for a cross-compilation README: 1) get cegcc from http://cegcc.sourceforge.net 2) build and install the "mingw32ce" variant (see cegcc installation docs) 3) patch w32api-headers (if not yet included in cegcc) 4) setup environment (customize the first three lines as you like): PREFIX=/opt/mingw32ce TARGET=arm-wince-mingw32ce BUILD=`uname -m`-pc-linux-gnu export PATH="$PREFIX/bin:$PREFIX/$TARGET/bin:$PREFIX/local/bin:$PATH" export CFLAGS="${CFLAGS:- -O2 -g} -I$PREFIX/local/include" export CPPFLAGS="${CPPFLAGS:- -O2 -g} -I$PREFIX/local/include" export CXXFLAGS="${CXXFLAGS:- -O2 -g} -I$PREFIX/local/include" export LDFLAGS="${LDFLAGS:- -O2 -g} -L$PREFIX/local/lib" export HOST_CC="gcc" export CC="$PREFIX/bin/$TARGET-gcc" export CXX="$PREFIX/bin/$TARGET-g++" export LD="$PREFIX/bin/$TARGET-ld" export AS="$PREFIX/bin/$TARGET-as" export AR="$PREFIX/bin/$TARGET-ar" export RANLIB="$PREFIX/bin/$TARGET-ranlib" export CONFIG_SHELL="/bin/sh" 5) build and install ./configure --target=$TARGET --host=$TARGET --build=$BUILD make make install 6) use (4) and (5) for any SDL-using software you want to cross-compile 7) copy $PREFIX/local/bin/SDL-1-2-0.dll into your executable directory on the WinCE machine
Thu, 03 Jan 2008 06:06:06 +0000 Updated config scripts SDL-1.2
Sam Lantinga <slouken@libsdl.org> [Thu, 03 Jan 2008 06:06:06 +0000] rev 4133
Updated config scripts
Tue, 01 Jan 2008 15:23:59 +0000 Fixed bug #531 SDL-1.2
Sam Lantinga <slouken@libsdl.org> [Tue, 01 Jan 2008 15:23:59 +0000] rev 4132
Fixed bug #531 The static libs should include all the other libraries the dynamic SDL library links with. sdl.pc should include these so "pkg-config sdl --libs --static" works
Mon, 31 Dec 2007 06:18:12 +0000 Clean up the test directory for release SDL-1.2 release-1.2.13
Sam Lantinga <slouken@libsdl.org> [Mon, 31 Dec 2007 06:18:12 +0000] rev 4131
Clean up the test directory for release
Mon, 31 Dec 2007 06:12:50 +0000 Fixed 1 out of 210 warnings. ;-) SDL-1.2
Sam Lantinga <slouken@libsdl.org> [Mon, 31 Dec 2007 06:12:50 +0000] rev 4130
Fixed 1 out of 210 warnings. ;-)
Mon, 31 Dec 2007 03:09:42 +0000 Don't need the bundle resource SDL-1.2
Sam Lantinga <slouken@libsdl.org> [Mon, 31 Dec 2007 03:09:42 +0000] rev 4129
Don't need the bundle resource
Mon, 31 Dec 2007 03:04:31 +0000 Updated MacOS Classic version, added version resource to MPW build. SDL-1.2
Sam Lantinga <slouken@libsdl.org> [Mon, 31 Dec 2007 03:04:31 +0000] rev 4128
Updated MacOS Classic version, added version resource to MPW build.
(0) -3000 -1000 -300 -100 -10 +10 +100 +300 +1000 +3000 tip