Mon, 21 Sep 2009 11:30:54 +0000 Whoops, need both the header and the library! SDL-1.2
Sam Lantinga <> [Mon, 21 Sep 2009 11:30:54 +0000] rev 4224
Whoops, need both the header and the library!
Mon, 21 Sep 2009 11:14:36 +0000 Fixed bug #727 SDL-1.2
Sam Lantinga <> [Mon, 21 Sep 2009 11:14:36 +0000] rev 4223
Fixed bug #727 Lorenzo Desole 2009-04-19 07:36:10 PDT I am one of the developers of a multimedia application (My Media System MMS), which uses SDL. MMS is normally running in fullscreen mode but it switches it off before launching external applications (mplayer, xine, etc.). The problem with fullscreen is that when the latter is switched off either via SDL_WM_ToggleFullScreen() or SDL_SetVideoMode(), SDL compares the current screen sizes with the ones saved when the video system was initted, and if they don't match, it calls XF86VidModeSwitchToMode() to switch to the old modeline. This makes it impossible for external programs and for MMS itself to use RandR to change the screen size, because next time fullscreen mode is turned off, it bombs out with the following error: X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 136 (XFree86-VidModeExtension) Minor opcode of failed request: 10 (XF86VidModeSwitchToMode) [...] Obviously this happens only if the new screen resolution is smaller than the original one and XF86VidModeSwitchToMode() can't succeed. I couldn't find any way to inform SDL that the screen resolution it uses as reference is no longer valid. This can be fixed by adding "save_mode(this)" to ./src/video/x11/SDL_x11modes.c, API X11_EnterFullScreen(_THIS), like this: int X11_EnterFullScreen(_THIS) { int okay; + save_mode(this); I can't rule out possible side effects, but I don't see any. While I admit this is a minor issue for the general users, it is a major showstopper for our program where the ability to change screen resolution and refresh rate according to the movie being played, is very important. Thanks in advance.
Mon, 21 Sep 2009 11:04:32 +0000 Fixed bug #714 SDL-1.2
Sam Lantinga <> [Mon, 21 Sep 2009 11:04:32 +0000] rev 4222
Fixed bug #714 2009-03-14 15:18:45 PDT Created an attachment (id=305) [details] patch to change HAVE_ICONV to HAVE_ICONV_H There are two separate iconv checks in configure -- one for the header file and one for the library. include/SDL_stdinc.h uses the library define to see whether or not it should reference the types defined in the header, which naturally breaks if the library exists and the header does not.
Mon, 21 Sep 2009 10:23:07 +0000 Fixed bug #674 SDL-1.2
Sam Lantinga <> [Mon, 21 Sep 2009 10:23:07 +0000] rev 4221
Fixed bug #674 Matej 2009-01-08 09:25:34 PST Hello, I maintain a cross-platform project that uses SDL. One of the users who runs OSX has told me that he has problems with linking to SDL due to missing -framework option. I think that the problem is because of this: 'sdl-config --libs' outputs '-L/opt/local/lib -lSDLmain -lSDL -Wl,-framework,Cocoa' All the options are passed to the linker except the last one. I think that the good output should be just: '-L/opt/local/lib -lSDLmain -lSDL -framework Cocoa' since those options (--libs) are passed to the linker, so the '-Wl' option is redundant and possibly harmful in this very case I use autotools with libtool to do the build... Regards, Matej
Mon, 21 Sep 2009 09:58:43 +0000 Fixed bug #795 SDL-1.2
Sam Lantinga <> [Mon, 21 Sep 2009 09:58:43 +0000] rev 4220
Fixed bug #795 Andrey 2009-09-14 21:16:53 PDT WinCE GetCursorPos fixed I'm using iPAQ HP rx5919, with Windows Mobile 5. And I also use mingw32ce 0.59.1 toolchain. I fixed this, see attachment patch.
Mon, 21 Sep 2009 09:54:33 +0000 Fixed bug #695 SDL-1.2
Sam Lantinga <> [Mon, 21 Sep 2009 09:54:33 +0000] rev 4219
Fixed bug #695 Nomad 2009-02-08 10:34:43 PST The 2nd init is good. The problem is in "SDL_dibevents.c" in DIB_CreateWindow() in SVN: { char *windowid = SDL_getenv("SDL_WINDOWID"); SDL_RegisterApp(NULL, 0, 0); ... using of data to which windowid is points problem: SDL_RegisterApp() may call SDL_getenv() and windowid will point to some wrong string solve: char *windowid; SDL_RegisterApp(NULL, 0, 0); windowid = SDL_getenv("SDL_WINDOWID");
Mon, 21 Sep 2009 09:47:53 +0000 Fixed bug #778 SDL-1.2
Sam Lantinga <> [Mon, 21 Sep 2009 09:47:53 +0000] rev 4218
Fixed bug #778 Derek Weitzel 2009-08-11 12:17:09 PDT Window Manager: xorg-x11-twm-1.0.1-3.1 Running through Xdmx. The same application could expand to the full screen using GLUT (freeglut). Overview: While running on a very high resolution display, discovered the maximium width of the window is 4096.
Mon, 21 Sep 2009 09:38:10 +0000 Fixed bug #706 SDL-1.2
Sam Lantinga <> [Mon, 21 Sep 2009 09:38:10 +0000] rev 4217
Fixed bug #706 Ken Bull 2009-02-25 13:22:02 PST Adds Doxygen support for all headers (except config and boilerplate headers) in the include folder for SDL-1.2 revision 4446. While in general SDL is quite thoroughly commented, none of these comments are correctly formatted for Doxygen and are generally inconsistent in their formatting.
Mon, 21 Sep 2009 09:27:08 +0000 Fixed bug #698 SDL-1.2
Sam Lantinga <> [Mon, 21 Sep 2009 09:27:08 +0000] rev 4216
Fixed bug #698 Hans de Goede 2009-02-13 01:10:52 PST Since the new "glitch free" version of pulseaudio (used in Fedora 10 amongst others), the sound of SDL using apps (like a simple playmus call) has been crackling. While looking in to fixing this I noticed that the current pulseaudio code in SDL uses pa_simple. However pa_simple uses a thread to pump pulseaudio events and ipc, given that SDL already has its own thread for audio handling this is clearly suboptimal, leading to unnecessary context switching IPC, etc. Also pa_simple does not allow one to implement the WaitAudio() callback for SDL audiodrivers properly. Given that my work is mostly a rewrite (although some original pieces remain) I'm attaching the new .c and .h file, as that is easier to review then the huge diff. Let me know if you also want the diff. This new version has the following features: -no longer use an additional thread next to the SDL sound thread -do not crackle with glitch free audio -when used with a newer pulse, which does glitch free audio, the total latency is the same as with the alsa driver -proper WaitAudio() implementation, saving another mixlen worth of latency -adds a WaitDone() implementation This patch has been written in consultancy with Lennart Poetering (the pulseaudio author) and has been reviewed by him for correct use of the pa API.
Mon, 21 Sep 2009 09:18:42 +0000 Fixed bug #615 SDL-1.2
Sam Lantinga <> [Mon, 21 Sep 2009 09:18:42 +0000] rev 4215
Fixed bug #615 Scott McCreary 2008-08-21 10:48:14 PDT This patch adds support for Haiku. Haiku is an open-source recreation of BeOS. It has better POSIX compliance than beOS did, and other improved features, which in some cases causes us to have to "undo" previous BeOS workarounds. Here's our port log entry for it, showing the steps to force the changes into configure and Makefile: Note that this was only tried on 1.2.13 stable so far. Haiku is using a newer config.guess / config.sub that doesn't yet seem to be in the released libtool, so we are having to copy it in for now.
(0) -3000 -1000 -300 -100 -10 +10 +100 +300 +1000 +3000 tip