Thu, 17 Dec 2009 03:04:04 +0000Added support for querying the number of CPUs available on Linux. This also happens to work on Mac OS X.
Sam Lantinga [Thu, 17 Dec 2009 03:04:04 +0000] rev 3586
Added support for querying the number of CPUs available on Linux. This also happens to work on Mac OS X.

Wed, 16 Dec 2009 19:50:51 +0000Initial band-aids on SDL_GetMouseState() API breakage. More work to come.
Ryan C. Gordon [Wed, 16 Dec 2009 19:50:51 +0000] rev 3585
Initial band-aids on SDL_GetMouseState() API breakage. More work to come.

Fixes Bugzilla #758.

Wed, 16 Dec 2009 16:42:04 +0000Fixed cpuid assembly to work on PIC code
Sam Lantinga [Wed, 16 Dec 2009 16:42:04 +0000] rev 3584
Fixed cpuid assembly to work on PIC code

Wed, 16 Dec 2009 16:08:17 +0000Allocate memory only if we're going to overwrite an environment variable
Sam Lantinga [Wed, 16 Dec 2009 16:08:17 +0000] rev 3583
Allocate memory only if we're going to overwrite an environment variable

Wed, 16 Dec 2009 11:03:38 +0000Updated svn:ignore.
Ryan C. Gordon [Wed, 16 Dec 2009 11:03:38 +0000] rev 3582
Updated svn:ignore.

Wed, 16 Dec 2009 10:59:51 +0000Implemented SDL_setenv(), moved SDL_putenv() to compat.
Ryan C. Gordon [Wed, 16 Dec 2009 10:59:51 +0000] rev 3581
Implemented SDL_setenv(), moved SDL_putenv() to compat.

Fixes Bugzilla #779.

Wed, 16 Dec 2009 08:17:05 +0000Implemented Windows version of SDL_GetCPUCount()
Sam Lantinga [Wed, 16 Dec 2009 08:17:05 +0000] rev 3580
Implemented Windows version of SDL_GetCPUCount()

Wed, 16 Dec 2009 06:53:53 +0000Added SDL_GetCPUCount() to see how many cores are available.
Sam Lantinga [Wed, 16 Dec 2009 06:53:53 +0000] rev 3579
Added SDL_GetCPUCount() to see how many cores are available.

Wed, 16 Dec 2009 04:48:11 +0000Fixed bug #741
Sam Lantinga [Wed, 16 Dec 2009 04:48:11 +0000] rev 3578
Fixed bug #741

The thread ID is an unsigned long so it can hold pthread_t so people can do naughty things with it.

I'm going to be adding additional useful thread API functions, but this should prevent crashes in people's existing code on 64-bit architectures.

Wed, 16 Dec 2009 03:02:31 +0000Fixed bug #736
Sam Lantinga [Wed, 16 Dec 2009 03:02:31 +0000] rev 3577
Fixed bug #736

Don't use the SSE cache instruction in MMX code if SSE isn't available. :)