From slouken at devolution.com Thu Jul 5 22:02:11 2007 From: slouken at devolution.com (Sam Lantinga) Date: Thu, 05 Jul 2007 22:02:11 -0700 Subject: [SDL] [Bug 418] on i386 libSDL.so contains non PIC code (fwd) Message-ID: Any assembler gurus want to look into this? Forwarded message: ------------------- Date: Thu, 5 Jul 2007 01:08:49 -0700 (PDT) From: bugzilla-daemon at amp.dreamhost.com Subject: [Bug 418] on i386 libSDL.so contains non PIC code http://bugzilla.libsdl.org/show_bug.cgi?id=418 ------- Comment #13 from icculus at icculus.org 2007-07-05 01:08 ------- Okay, I looked into this. The reason this doesn't work is that we're explicitly using %%ebx without clobbering it, but gcc uses %%ebx as the PIC register, so it replaces some of our "m" variables with references to %%ebx, which it expects to be intact: pand 0x550(%ebx),%mm4 If you try to list ebx in the clobber list, GCC complains, because it needs it, and if you try to put (cr) into a "r" variable, GCC complains that it's using every register it's got available. So, something has to be consolidated into a single register or something. --ryan. -- Configure bugmail: http://bugzilla.libsdl.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact. ------------------- end forwarded message. From slouken at devolution.com Sun Jul 8 14:58:17 2007 From: slouken at devolution.com (Sam Lantinga) Date: Sun, 08 Jul 2007 14:58:17 -0700 Subject: [SDL] SDL 1.2.12 PRERELEASE Message-ID: A PRERELEASE version of SDL 1.2.12 is now available: http://www.libsdl.org/tmp/SDL-1.2.12.tar.gz http://www.libsdl.org/tmp/SDL-1.2.12.zip Please download this and test it out and report any bugs you find to: http://bugzilla.libsdl.org/ I'm hoping to release this next weekend if all goes well. :) Thanks! -Sam Lantinga, Lead Software Engineer, Blizzard Entertainment From slouken at devolution.com Tue Jul 10 23:53:01 2007 From: slouken at devolution.com (Sam Lantinga) Date: Tue, 10 Jul 2007 23:53:01 -0700 Subject: [SDL] SDL 1.2.12 PRERELEASE In-Reply-To: Message-ID: > A PRERELEASE version of SDL 1.2.12 is now available: > http://www.libsdl.org/tmp/SDL-1.2.12.tar.gz > http://www.libsdl.org/tmp/SDL-1.2.12.zip > Please download this and test it out and report any bugs you find to: > http://bugzilla.libsdl.org/ > I'm hoping to release this next weekend if all goes well. :) These have been updated, and a precompiled Windows DLL is now available: http://www.libsdl.org/tmp/SDL.dll See ya! -Sam Lantinga, Lead Software Engineer, Blizzard Entertainment From slouken at devolution.com Sat Jul 14 20:20:00 2007 From: slouken at devolution.com (Sam Lantinga) Date: Sat, 14 Jul 2007 20:20:00 -0700 Subject: [SDL] SDL 1.2.12 PRERELEASE In-Reply-To: Message-ID: > A PRERELEASE version of SDL 1.2.12 is now available: > http://www.libsdl.org/tmp/SDL-1.2.12.tar.gz > http://www.libsdl.org/tmp/SDL-1.2.12.zip > Please download this and test it out and report any bugs you find to: > http://bugzilla.libsdl.org/ This has been updated with Mac OS X cursor improvements. If you're running on Mac OS X, please download it and make sure everything works properly. See ya! -Sam Lantinga, Lead Software Engineer, Blizzard Entertainment From slouken at devolution.com Sat Jul 14 23:30:27 2007 From: slouken at devolution.com (Sam Lantinga) Date: Sat, 14 Jul 2007 23:30:27 -0700 Subject: [SDL] SDL image/mixer/net/ttf PRERELEASE Message-ID: PRERELEASE versions of some SDL libraries are now available: http://www.libsdl.org/tmp/SDL_image-1.2.6.tar.gz http://www.libsdl.org/tmp/SDL_image-1.2.6.zip http://www.libsdl.org/tmp/SDL_mixer-1.2.8.tar.gz http://www.libsdl.org/tmp/SDL_mixer-1.2.8.zip http://www.libsdl.org/tmp/SDL_net-1.2.7.tar.gz http://www.libsdl.org/tmp/SDL_net-1.2.7.zip http://www.libsdl.org/tmp/SDL_ttf-2.0.9.tar.gz http://www.libsdl.org/tmp/SDL_ttf-2.0.9.zip Please download them, test them out and report any bugs you find to: http://bugzilla.libsdl.org/ Thanks! -Sam Lantinga, Lead Software Engineer, Blizzard Entertainment From slouken at devolution.com Mon Jul 16 07:39:47 2007 From: slouken at devolution.com (Sam Lantinga) Date: Mon, 16 Jul 2007 07:39:47 -0700 Subject: [SDL] SDL 1.2.12 SDL.dll PRERELEASE Message-ID: For SDL 1.2.12 I'm experimenting with building SDL releases using a Mac OS X hosted cross-compiling environment. The advantage of this is that it depends on msvcrt.dll instead of a compiler-dependent version of the C runtime, and SDL gets built with all of the nasm and gcc assembly optimizations. Please download and try it out and let me know how it works: http://www.libsdl.org/tmp/SDL.dll This should be binary compatible with previous releases, and should work without special magic on all versions of Windows after Windows 95. Please pay special attention to the thread API to make sure it's compatible with games built with Visual C++. Thanks! -Sam Lantinga, Lead Software Engineer, Blizzard Entertainment From slouken at devolution.com Fri Jul 20 04:56:59 2007 From: slouken at devolution.com (Sam Lantinga) Date: Fri, 20 Jul 2007 04:56:59 -0700 Subject: [SDL] Thanks for the donations! Message-ID: The finances page has been updated: http://www.libsdl.org/finances.php Gianfranco Berardi, Toby Lieven, Peter Lawler, and Ultim have made generous donations toward SDL development. Thank you very much! -Sam Lantinga, Lead Software Engineer, Blizzard Entertainment From slouken at devolution.com Fri Jul 20 05:04:51 2007 From: slouken at devolution.com (Sam Lantinga) Date: Fri, 20 Jul 2007 05:04:51 -0700 Subject: [SDL] Announcing SDL 1.2.12! Message-ID: SDL 1.2.12 has been released! http://www.libsdl.org/download.php SDL 1.2.12 is a minor bugfix release, but is a recommended upgrade. General Notes: * Added support for the PulseAudio sound server: http://www.pulseaudio.org/ * Added SDL_VIDEO_ALLOW_SCREENSAVER to override SDL's disabling of the screensaver on Mac OS X, Windows, and X11. * Fixed buffer overrun crash when resampling audio rates. * Fixed audio bug where converting to mono was doubling the volume. * Fixed off-by-one error in the C implementation of SDL_revcpy() * Fixed compiling with Sun Studio. * Support for AmigaOS has been removed from the main SDL code. * Support for Nokia 9210 "EPOC" driver has been removed from the main SDL code. * Unofficial support for the S60/SymbianOS platform has been added. * Unofficial support for the Nintendo DS platform has been added. * Reenabled MMX assembly for YUV overlay processing (GNU C Compiler only). Unix Notes: * Fixed detection of X11 DGA mouse support. * Improved XIM support for asian character sets. * The GFX_Display has been added to the X11 window information in SDL_syswm.h. * Fixed PAGE_SIZE compile error in the fbcon video driver on newer Linux kernels. * Fixed hang or crash at startup if aRts can't access the hardware. * Fixed relative mouse mode when the cursor starts outside the X11 window. * Fixed accidental free of stack memory in X11 mouse acceleration code. * Closed minor memory leak in XME code. * Fixed TEXTRELs in the library to resolve some PIC issues. Windows Notes: * The GDI video driver makes better use of the palette in 8-bit modes. * The windib driver now supports more mouse buttons with WM_XBUTTON events. * On Windows, SDL_SetVideoMode() will re-create the window instead of failing if the multisample settings are changed. * Added support for UTF-8 window titles on Windows. * Fixed joystick detection on Windows. * Improved performance with Win32 file I/O. * Fixed HBITMAP leak in GAPI driver. The Windows binary is built using a Mac OS X hosted cross-compiler setup, which side-steps the Visual C++ C runtime issues, and allows SDL to be compiled with hermes and inline gcc assembly optimizations. This binary has been tested and works on Windows 98, Windows XP, and Windows Vista. Mac OS X Notes: * Added support for multi-axis controllers like 3Dconnxion's SpaceNavigator on Mac OS X. * Fixed YUV overlay crash inside Quicktime on Intel Mac OS X. * Fixed blitting alignment in Altivec alpha blit functions. * Keys F13, F14, and F15 are now usable on Apple keyboards under Mac OS X. * Fixed joystick calibration code on Mac OS X. * Fixed mouse jitter when multiple motion events are queued up in Mac OS X. * Fixed changing the cursor in fullscreen mode on Mac OS X. Mac OS Classic Notes: * Added support for gamma ramps to both toolbox and DrawSprocket video drivers. BeOS Notes: * Implemented mouse grabbing and mouse relative mode on BeOS. Special thanks to Ryan Gordon for keeping me honest, general coding, and setting up bugzilla on the new hosting domain! Enjoy! -Sam Lantinga, Lead Software Engineer, Blizzard Entertainment