Sat, 07 Jan 2012 17:08:17 -0500Updated SDL test projects
Sam Lantinga <slouken@libsdl.org> [Sat, 07 Jan 2012 17:08:17 -0500] rev 6176
Updated SDL test projects

Sat, 07 Jan 2012 16:57:09 -0500Added testnative to the Makefile and fixed building on Mac OS X
Sam Lantinga <slouken@libsdl.org> [Sat, 07 Jan 2012 16:57:09 -0500] rev 6175
Added testnative to the Makefile and fixed building on Mac OS X

Sat, 07 Jan 2012 14:21:22 -0500Better error messaging when SDL can't create a window surface.
Sam Lantinga <slouken@libsdl.org> [Sat, 07 Jan 2012 14:21:22 -0500] rev 6174
Better error messaging when SDL can't create a window surface.

Sat, 07 Jan 2012 13:52:10 -0500Fixed bug 1364 - Fullscreen OpenGL fails in OS 10.7 if deployment target is less than 10.7 SDL-1.2
Sam Lantinga <slouken@libsdl.org> [Sat, 07 Jan 2012 13:52:10 -0500] rev 6173
Fixed bug 1364 - Fullscreen OpenGL fails in OS 10.7 if deployment target is less than 10.7

amaranth72@gmail.com 2012-01-07 01:28:40 PST
Using the latest Hg tip of SDL 1.2, SDL_SetVideoMode will fail with the
SDL_OPENGL and SDL_FULLSCREEN flags set if the computer is running Lion and the
build deployment target version is lower than 10.7.

The issue seems to be at line 840 of SDL_QuartzVideo.m, where it checks if the
minimum required version is less than 10.7. If that condition is true, then it
uses the pre-Lion fullscreen method, even though the condition doesn't seem to
say anything about whether the computer is currently running Lion or not.

I tried doing this inside the #if conditional check (pseudocode): if (isLion) {
do new Lion stuff } else { do old stuff } , and that seemed to work fine. An
"invalid fullscreen drawable" warning was still around even though fullscreen
worked with the new addition, but I think that's because Lion wants SDL to add
a new Spaces thing when it goes fullscreen.

Sat, 07 Jan 2012 03:22:47 -0500Use version B instead of A until we switch SDL 1.3 to SDL2
Sam Lantinga <slouken@libsdl.org> [Sat, 07 Jan 2012 03:22:47 -0500] rev 6172
Use version B instead of A until we switch SDL 1.3 to SDL2

C.W. Betts 2012-01-06 22:58:41 PST
I would NOT use A. SDL 1.2 uses A, and if I understand correctly, SDL 1.3 and
SDL 1.2 are not binary compatible. Having a different link path for 1.2 and 1.3
will solve any runtime linking errors that might occur.

Sam Lantinga 2012-01-07 00:22:09 PST
Good point. Until we switch SDL 1.3 to SDL2, we shouldn't use the same link
path.

Sat, 07 Jan 2012 02:32:08 -0500Fixed bug 1256 - Invalid window warning in GL_CreateRenderer
Sam Lantinga <slouken@libsdl.org> [Sat, 07 Jan 2012 02:32:08 -0500] rev 6171
Fixed bug 1256 - Invalid window warning in GL_CreateRenderer

Martin Gerhardy 2011-07-27 02:26:06 PDT
the window reference is lost in the GL_CreateRenderer function. The attached
patch should fix this error.

#0 SDLSystem_LogOutputFunction (userdata=0x63b010, category=1,
priority=SDL_LOG_PRIORITY_ERROR, message=0x7fffffffcd00 "Invalid window") at
src/system/sdl/SDLSystem.cpp:8
#1 0x00007ffff7b1ddb3 in SDL_LogMessageV (category=1,
priority=SDL_LOG_PRIORITY_ERROR, fmt=<value optimized out>, ap=<value optimized
out>) at src/SDL_log.c:275
#2 0x00007ffff7b1df7c in SDL_LogError (category=<value optimized out>,
fmt=<value optimized out>) at src/SDL_log.c:212
#3 0x00007ffff7b1d582 in SDL_SetError (fmt=0x7ffff7baaff0 "") at
src/SDL_error.c:111
#4 0x00007ffff7b96f9e in SDL_GL_MakeCurrent (window=0x0, ctx=0xa62ce0) at
src/video/SDL_video.c:2484
#5 0x00007ffff7b4ba0c in GL_ActivateRenderer (renderer=0xa8f680) at
src/render/opengl/SDL_render_gl.c:195
#6 0x00007ffff7b4c59a in GL_ResetState (window=0x918010, flags=<value
optimized out>) at src/render/opengl/SDL_render_gl.c:214
#7 GL_CreateRenderer (window=0x918010, flags=<value optimized out>) at
src/render/opengl/SDL_render_gl.c:343
#8 0x00007ffff7b48053 in SDL_CreateRenderer (window=0x918010, index=<value
optimized out>, flags=2) at src/render/SDL_render.c:166

Sat, 07 Jan 2012 02:07:38 -0500Fixed C99 correctness and signed/unsigned compiler warning SDL-1.2
Sam Lantinga <slouken@libsdl.org> [Sat, 07 Jan 2012 02:07:38 -0500] rev 6170
Fixed C99 correctness and signed/unsigned compiler warning

Tue, 28 Jun 2011 22:26:47 +0200X11: Added support to _NET_WM_PID and WM_CLIENT_MACHINE atoms SDL-1.2
Marco Trevisan (Treviño) <mail@3v1n0.net> [Tue, 28 Jun 2011 22:26:47 +0200] rev 6169
X11: Added support to _NET_WM_PID and WM_CLIENT_MACHINE atoms

Add support to the _NET_WM_PID atom which is needed by many windows
managers to correctly associate a SDL window to its process and to
related .desktop file and icon for the given host.

Sat, 07 Jan 2012 02:04:38 -0500Added X11 dynamic loading support for XSetWMProperties()
Sam Lantinga <slouken@libsdl.org> [Sat, 07 Jan 2012 02:04:38 -0500] rev 6168
Added X11 dynamic loading support for XSetWMProperties()

Mon, 27 Jun 2011 19:30:52 +0200X11: Move to XSetWMProperties and add support to _NET_WM_PID
Marco Trevisan (Treviño) <mail@3v1n0.net> [Mon, 27 Jun 2011 19:30:52 +0200] rev 6167
X11: Move to XSetWMProperties and add support to _NET_WM_PID

Use the convenience function XSetWMProperties to set size, input
and class hints, it also automatically sets the WM_CLIENT_MACHINE
(this one needed by _NET_WM_PID) and WM_LOCALE_NAME windows hints.

Plus we add support to the _NET_WM_PID atom which is needed by many
windows managers to correctly associate a SDL window to its process
and to related .desktop file and icon for the given host.