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.

Thu, 29 Aug 2013 08:26:55 -0700Christoph Mallon: Use SDL_arraysize()
Sam Lantinga [Thu, 29 Aug 2013 08:26:55 -0700] rev 7717
Christoph Mallon: Use SDL_arraysize()

Thu, 29 Aug 2013 08:26:24 -0700Christoph Mallon: Simplify assignment.
Sam Lantinga [Thu, 29 Aug 2013 08:26:24 -0700] rev 7716
Christoph Mallon: Simplify assignment.

Thu, 29 Aug 2013 08:25:54 -0700Christoph Mallon: Report an error, if creating the directories in SDL_GetPrefPath() failed.
Sam Lantinga [Thu, 29 Aug 2013 08:25:54 -0700] rev 7715
Christoph Mallon: Report an error, if creating the directories in SDL_GetPrefPath() failed.

Thu, 29 Aug 2013 08:25:24 -0700Christoph Mallon: Remove lone /* if */ comment.
Sam Lantinga [Thu, 29 Aug 2013 08:25:24 -0700] rev 7714
Christoph Mallon: Remove lone /* if */ comment.