Thu, 05 Sep 2013 06:43:34 -0700Fixed bug 2084 - SDL_log xxx on Android outputs to Logcat with incorrect priority.
Sam Lantinga [Thu, 05 Sep 2013 06:43:34 -0700] rev 7727
Fixed bug 2084 - SDL_log xxx on Android outputs to Logcat with incorrect priority.

Pallav Nawani

This effects all SDL_Logxxx functions. On android, the debug output has a priority that is 1 higher than intended, ie, if you try SDL_LogInfo, the log has the priority of Warn instead.

Thu, 05 Sep 2013 06:38:57 -0700Fixed bug 2085 - SDL 1.2.15 fails to build on OSX 10.9 Mavericks – deprecated CGDirectPaletteRef was removed SDL-1.2
Sam Lantinga [Thu, 05 Sep 2013 06:38:57 -0700] rev 7726
Fixed bug 2085 - SDL 1.2.15 fails to build on OSX 10.9 Mavericks – deprecated CGDirectPaletteRef was removed

Adrian Petrescu

The CGDirectPaletteRef struct no longer exists in 10.9 (it had been previously deprecated) which prevents SDL 1.2.15 from building with the following error:

In file included from ./src/video/quartz/SDL_QuartzEvents.m:24:
./src/video/quartz/SDL_QuartzVideo.h:94:5: error: unknown type name 'CGDirectPaletteRef'
CGDirectPaletteRef palette; /* palette of an 8-bit display */
^

I was able to make everything compile just by removing that item from the struct, nothing else in libsdl seems to depend on it, but I have *no* idea if this is a valid fix, knowing next to nothing about SDL.

Wed, 04 Sep 2013 23:40:11 -0400The SDL_PixelFormat* passed to SDL_ConvertSurface() should be const.
Ryan C. Gordon [Wed, 04 Sep 2013 23:40:11 -0400] rev 7725
The SDL_PixelFormat* passed to SDL_ConvertSurface() should be const.

Sat, 31 Aug 2013 01:36:38 -0400Enabled thread naming on Windows.
Ryan C. Gordon [Sat, 31 Aug 2013 01:36:38 -0400] rev 7724
Enabled thread naming on Windows.

This is now done without compiler or C runtime support for __try/__except.

(Granted, it uses Visual Studio-style inline asm, but still...)

Thu, 29 Aug 2013 15:02:32 -0300Fixes bug #2040, prepare SDL_GL_CONTEXT_EGL for deprecation on v2.1
Gabriel Jacobo [Thu, 29 Aug 2013 15:02:32 -0300] rev 7723
Fixes bug #2040, prepare SDL_GL_CONTEXT_EGL for deprecation on v2.1

SDL_GL_CONTEXT_EGL = 1 is now internally treated as profile_mask = SDL_GL_CONTEXT_PROFILE_ES

Thu, 29 Aug 2013 14:03:44 -0300Fixes bug #2074 - Thanks Sylvain!
Gabriel Jacobo [Thu, 29 Aug 2013 14:03:44 -0300] rev 7722
Fixes bug #2074 - Thanks Sylvain!

SDL_syssem.c:159 comparison of unsigned expression >= 0 is always true
Solved by comparing unsigneds directly

SDL_systimer.c:164: warning: control may reach end of Compile
Solved by returning the default value if all else fails.

SDL_androidgl.c:41:1: warning: type specifier missing, defaults to 'int'
SDL_androidgl.c:47:1: warning: control reaches end of non-void function
Solved by adding void return type to the function implementation

Thu, 29 Aug 2013 08:30:21 -0700Christoph Mallon: Replace strlen(x) == 0 (O(n)) by x[0] == '\0' (O(1)).
Sam Lantinga [Thu, 29 Aug 2013 08:30:21 -0700] rev 7721
Christoph Mallon: Replace strlen(x) == 0 (O(n)) by x[0] == '\0' (O(1)).

Thu, 29 Aug 2013 08:29:51 -0700Christoph Mallon: Remove pointless if (x) before SDL_FreeSurface(x)
Sam Lantinga [Thu, 29 Aug 2013 08:29:51 -0700] rev 7720
Christoph Mallon: Remove pointless if (x) before SDL_FreeSurface(x)

Thu, 29 Aug 2013 08:29:21 -0700Christoph Mallon: Remove pointless if (x) before SDL_free(x)
Sam Lantinga [Thu, 29 Aug 2013 08:29:21 -0700] rev 7719
Christoph Mallon: Remove pointless if (x) before SDL_free(x)

Thu, 29 Aug 2013 08:27:25 -0700Christoph Mallon: Correct indendation.
Sam Lantinga [Thu, 29 Aug 2013 08:27:25 -0700] rev 7718
Christoph Mallon: Correct indendation.