Fri, 28 Jan 2011 10:37:36 -0800 Updated main.c for API changes
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Jan 2011 10:37:36 -0800] rev 5125
Updated main.c for API changes Kees Bakker to sdl The main.c for the template is still targeting SDL1.2. Here is the patch to make it work for SDL1.3 (I'm hoping the mailing lists accepts attachments.) In this patch I have also changed the shell script that assembles the Template. Since there is now only one lib target (same name for "device" and "simulator" version) I copy the simulator library to the destination with the name libSDLSimulator.a. This is not a satisfactory solution, because both libraries are included in the project while only one is needed (depending on the selected environment). However, I'm not fluent with Xcode to say what a better solution would be. Kind regards, Kees Bakker
Fri, 28 Jan 2011 10:21:58 -0800 Fixed bug #1056 (Frequent crashes in Touch events by simply touching the screen)
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Jan 2011 10:21:58 -0800] rev 5124
Fixed bug #1056 (Frequent crashes in Touch events by simply touching the screen) Joseba GarcĂ­a Echebarria 2010-12-15 01:55:22 PST I believe the crash is caused by a check not being performed on wether an SDL_Touch element is NULL before using it in the SDL_SendTouchMotion function in src/events/SDL_touch.c around line 400. Judging from the rest of the code, there's a missing if (!touch) { return 0; } before using "touch" as SDL_GetFinger(), SDL_GetFingerIndexId() use touch->num_fingers without checking. I can attach a patch if you like. It seems pretty straightforward, though. I have yet to discover why touch is being returned as NULL as this error is only triggered when an actual gesture has been performed, maybe something related to SDL_AddTouch()?
Thu, 27 Jan 2011 22:44:08 -0800 Removed completely non-portable event thread hack.
Sam Lantinga <slouken@libsdl.org> [Thu, 27 Jan 2011 22:44:08 -0800] rev 5123
Removed completely non-portable event thread hack. Next I'll be working on generalizing the event sources and making the event queue lock-free. :)
Thu, 27 Jan 2011 20:51:54 -0800 Fixed test
Sam Lantinga <slouken@libsdl.org> [Thu, 27 Jan 2011 20:51:54 -0800] rev 5122
Fixed test
Thu, 27 Jan 2011 20:49:07 -0800 Added CPU cache line size to the test output.
Sam Lantinga <slouken@libsdl.org> [Thu, 27 Jan 2011 20:49:07 -0800] rev 5121
Added CPU cache line size to the test output.
Thu, 27 Jan 2011 20:46:45 -0800 Added API function to get CPU cache line size.
Sam Lantinga <slouken@libsdl.org> [Thu, 27 Jan 2011 20:46:45 -0800] rev 5120
Added API function to get CPU cache line size.
Thu, 27 Jan 2011 20:37:54 -0800 Fixed quotes around Mercurial revision text
Sam Lantinga <slouken@libsdl.org> [Thu, 27 Jan 2011 20:37:54 -0800] rev 5119
Fixed quotes around Mercurial revision text
Thu, 27 Jan 2011 20:14:10 -0800 0 isn't a valid Mercurial revision
Sam Lantinga <slouken@libsdl.org> [Thu, 27 Jan 2011 20:14:10 -0800] rev 5118
0 isn't a valid Mercurial revision
Thu, 27 Jan 2011 20:30:39 -0600 Always copy the SDL_config_windows.h to SDL_config.h for VisualC 2005, 2008 and 2010 projects.
krogoway [Thu, 27 Jan 2011 20:30:39 -0600] rev 5117
Always copy the SDL_config_windows.h to SDL_config.h for VisualC 2005, 2008 and 2010 projects.
Thu, 27 Jan 2011 16:51:47 -0800 Bump up the default cache line size.
Sam Lantinga <slouken@libsdl.org> [Thu, 27 Jan 2011 16:51:47 -0800] rev 5116
Bump up the default cache line size.
(0) -3000 -1000 -300 -100 -10 +10 +100 +300 +1000 +3000 tip