Sun, 23 Jan 2011 21:02:02 -0800Michael Bicha to Sam SDL-1.2
Sam Lantinga [Sun, 23 Jan 2011 21:02:02 -0800] rev 5077
Michael Bicha to Sam

I came across further issues with SDL 1.2.14 on win32 in combination
with touch screens.

When you touched the screen older SDLs reported
SDL_MOUSEMOTION to the touch position
SDL_MOUSEBUTTONDOWN at the touch position

1.2.14 reports
SDL_MOUSEBUTTONDOWN at the last mouse position before the touch
and then a
SDL_MOUSEMOTION to the touch position

I found that to fix it in the file SDL_sysevents.c i had to put back the
following lines from 1.2.12 to get it working correctly again:
if ( mouse_relative ) {
/* RJR: March 28, 2000
report internal mouse position if in relative mode */
x = 0; y = 0;
} else {
x = (Sint16)LOWORD(lParam);
y = (Sint16)HIWORD(lParam);
#ifdef _WIN32_WCE
if (SDL_VideoSurface)
GapiTransform(this->hidden->userOrientation,
this->hidden->hiresFix, &x, &y);
#endif
}
posted = SDL_PrivateMouseButton(
state, button, x, y);

where there was only
posted = SDL_PrivateMouseButton(
state, button, 0, 0);
in 1.2.14 (appx. line 484)

please feel free to put that change into any SDL lib you like in any way
you like and thanks for your great work !

Sat, 22 Jan 2011 15:58:21 -0800Fixed size_t warnings on 64-bit build
Sam Lantinga [Sat, 22 Jan 2011 15:58:21 -0800] rev 5076
Fixed size_t warnings on 64-bit build

Sat, 22 Jan 2011 15:47:35 -0800Closing Andreas' commit. His changes don't apply to the tip code anymore.
Sam Lantinga [Sat, 22 Jan 2011 15:47:35 -0800] rev 5075
Closing Andreas' commit. His changes don't apply to the tip code anymore.

Sat, 22 Jan 2011 00:33:37 -0800Fixed bug in timer when the list of timers changed.
Sam Lantinga [Sat, 22 Jan 2011 00:33:37 -0800] rev 5074
Fixed bug in timer when the list of timers changed.

Fix contributed by Michael Bicha

Fri, 21 Jan 2011 23:46:51 -0800Fixed bug #1097
Sam Lantinga [Fri, 21 Jan 2011 23:46:51 -0800] rev 5073
Fixed bug #1097

There are problems with including intrin.h in C linkage in C++ compilation,
and further conflicts between intrin.h and winnt.h on Visual Studio 2005.

Sat, 22 Jan 2011 03:57:27 -0500Whitespace change in a README.
Ryan C. Gordon [Sat, 22 Jan 2011 03:57:27 -0500] rev 5072
Whitespace change in a README.

Fri, 21 Jan 2011 21:45:55 -0800HAVE_GCC_ATOMICS covers the test and set
Sam Lantinga [Fri, 21 Jan 2011 21:45:55 -0800] rev 5071
HAVE_GCC_ATOMICS covers the test and set

Fri, 21 Jan 2011 21:43:56 -0800Yeah, go iPhone!
Sam Lantinga [Fri, 21 Jan 2011 21:43:56 -0800] rev 5070
Yeah, go iPhone!

Fri, 21 Jan 2011 21:42:04 -0800Separated out the minimum functionality that we need from gcc for our spinlock fallback.
Sam Lantinga [Fri, 21 Jan 2011 21:42:04 -0800] rev 5069
Separated out the minimum functionality that we need from gcc for our spinlock fallback.

Fri, 21 Jan 2011 21:35:43 -0800Fixed atomic intrinsic test
Sam Lantinga [Fri, 21 Jan 2011 21:35:43 -0800] rev 5068
Fixed atomic intrinsic test