Wed, 10 Jul 2013 18:31:17 -0700Added release/acquire memory barriers to the atomic API
Sam Lantinga [Wed, 10 Jul 2013 18:31:17 -0700] rev 7393
Added release/acquire memory barriers to the atomic API
* Added a destructor to clean up TLS memory at thread shutdown
* Refactored the TLS code to have platform independent code and a small platform dependent core with a fallback to generic code if platform dependent functions fail.
* Fixed recursion issues with SDL_GetErrBuf()

Wed, 10 Jul 2013 02:37:57 -0700Fixed Haiku build
Sam Lantinga [Wed, 10 Jul 2013 02:37:57 -0700] rev 7392
Fixed Haiku build

Wed, 10 Jul 2013 02:32:04 -0700Implemented an API for thread-local storage: SDL_TLSCreate(), SDL_TLSSet(), SDL_TLSGet()
Sam Lantinga [Wed, 10 Jul 2013 02:32:04 -0700] rev 7391
Implemented an API for thread-local storage: SDL_TLSCreate(), SDL_TLSSet(), SDL_TLSGet()

Tue, 09 Jul 2013 12:58:54 -0700SDL_GL_MakeCurrent: Only no-op redundant calls on *same* thread.
Jørgen P. Tjernø [Tue, 09 Jul 2013 12:58:54 -0700] rev 7390
SDL_GL_MakeCurrent: Only no-op redundant calls on *same* thread.

This ensures that we only no-op redundant calls if they're made on the
same thread as the last MakeCurrent with those arguments. This should
maek SDL behave better with multithreaded environments.

Tue, 09 Jul 2013 12:57:12 -0700Mac: Remove dead FULLSCREEN_TOGGLEABLE code.
Jørgen P. Tjernø [Tue, 09 Jul 2013 12:57:12 -0700] rev 7389
Mac: Remove dead FULLSCREEN_TOGGLEABLE code.

This code was written almost 2 years ago, and the flag hasn't been
changed since. Cleaning up the code by removing the conditional blocks,
so that they behave the same way they have for the past two years.

FULLSCREEN_TOGGLEABLE used to cause us to use
-[NSOpenGLContext setFullScreen] and a pixel format with
NSOpenGLPFAFullScreen.

Tue, 09 Jul 2013 13:54:29 -0300Removing video/uikit/*.c from configure's iOS sources
Gabriel Jacobo [Tue, 09 Jul 2013 13:54:29 -0300] rev 7388
Removing video/uikit/*.c from configure's iOS sources
Unexplicable computer sciences phenomenon: Instead of returning an empty set,
*.c in an folder with no .c files produces the "*.c" string to be added as
a source. I'm sorry future generations, we are doing the best we can :)

Tue, 09 Jul 2013 11:57:32 -0400Backout hg changset 898992405fa7; lots of things still use SDL_types.h. :/
Ryan C. Gordon [Tue, 09 Jul 2013 11:57:32 -0400] rev 7387
Backout hg changset 898992405fa7; lots of things still use SDL_types.h. :/

Will remove this again at some point in the future, though.

Tue, 09 Jul 2013 08:01:40 -0700Made the SDL_memset4() comment even clearer so we don't accidentally replace it with memset() in the future.
Sam Lantinga [Tue, 09 Jul 2013 08:01:40 -0700] rev 7386
Made the SDL_memset4() comment even clearer so we don't accidentally replace it with memset() in the future.

Tue, 09 Jul 2013 07:13:58 -0700Backed out commit 898992405fa7 because memset() does a byte fill and SDL_memset4() does a uint32 fill and this change breaks SDL_FillRect()
Sam Lantinga [Tue, 09 Jul 2013 07:13:58 -0700] rev 7385
Backed out commit 898992405fa7 because memset() does a byte fill and SDL_memset4() does a uint32 fill and this change breaks SDL_FillRect()

Tue, 09 Jul 2013 10:25:16 -0300Adds Input Focus handling on Android to improve pausing/resuming behavior
Gabriel Jacobo [Tue, 09 Jul 2013 10:25:16 -0300] rev 7384
Adds Input Focus handling on Android to improve pausing/resuming behavior
Ref: http://android-developers.blogspot.com/2011/11/making-android-games-that-play-nice.html