Tue, 11 Oct 2005 18:16:12 +0000 Date: Mon, 10 Oct 2005 13:09:32 +0300
Ryan C. Gordon <icculus@icculus.org> [Tue, 11 Oct 2005 18:16:12 +0000] rev 1157
Date: Mon, 10 Oct 2005 13:09:32 +0300 From: Tommi Kyntola <tommi.kyntola@ray.fi> To: sdl@libsdl.org Subject: [SDL] [RFC] get_ticks broken on linux It uses gettimeofday to calculate the timedifference. Gettimeofday returns current time which is seldom monotonous. This breaks SDL timer subsystem. (time callbacks and all that get borked when the time difference ms is suddenly ~ 2^32) I posted a message about this earlier but got no response. Some thoughts on this matter would be appreciated. (Or even an explanation for the lack of interest.) A patch below would use the posix timers that have been around since posix 93 and do provide a good source of monotonous time on linux boxes (and on few others too). The following patch is also availabe at: http://www.hut.fi/u/tkyntola/SDL-1.2.9-clockfix.patch It's against 1.2.9, but I can easily rediffit against the cvs branch is needed. cheers, Tommi Kyntola tommi.kyntola@ray.fi
Tue, 11 Oct 2005 17:33:03 +0000 Date: Tue, 11 Oct 2005 16:58:12 +0300 (EEST)
Ryan C. Gordon <icculus@icculus.org> [Tue, 11 Oct 2005 17:33:03 +0000] rev 1156
Date: Tue, 11 Oct 2005 16:58:12 +0300 (EEST) From: =?ISO-8859-1?Q?Martin_Storsj=F6?= <martin@martin.st> To: sdl@libsdl.org Subject: [SDL] [PATCH] Use nanosleep on OS X Hi, The current version of SDL_Delay on OS X seems to always sleep at least 10 msec. OS X has nanosleep(), which performs shorter sleeps well. The attached patch makes it use that one instead of select() as currently. // Martin
Mon, 03 Oct 2005 08:38:28 +0000 Fixed some compiler warnings about "unreachable code" on Watcom C.
Ryan C. Gordon <icculus@icculus.org> [Mon, 03 Oct 2005 08:38:28 +0000] rev 1155
Fixed some compiler warnings about "unreachable code" on Watcom C.
Mon, 03 Oct 2005 08:12:32 +0000 Fixed compiler warnings in Watcom C.
Ryan C. Gordon <icculus@icculus.org> [Mon, 03 Oct 2005 08:12:32 +0000] rev 1154
Fixed compiler warnings in Watcom C.
Sun, 02 Oct 2005 00:50:03 +0000 SDL_CDROMInit() shouldn't be a stub in the dummy driver, since that's
Ryan C. Gordon <icculus@icculus.org> [Sun, 02 Oct 2005 00:50:03 +0000] rev 1153
SDL_CDROMInit() shouldn't be a stub in the dummy driver, since that's implemented in the higher-level CD code.
Thu, 29 Sep 2005 09:43:00 +0000 Updates to PocketPC (WinCE) support, thanks to Dmitry Yakimov at
Ryan C. Gordon <icculus@icculus.org> [Thu, 29 Sep 2005 09:43:00 +0000] rev 1152
Updates to PocketPC (WinCE) support, thanks to Dmitry Yakimov at activekitten.com.
Wed, 28 Sep 2005 11:36:20 +0000 Removed atexit() from most of the test programs; atexit(SDL_Quit) isn't safe
Ryan C. Gordon <icculus@icculus.org> [Wed, 28 Sep 2005 11:36:20 +0000] rev 1151
Removed atexit() from most of the test programs; atexit(SDL_Quit) isn't safe if SDL is built with a non-cdecl calling convention, and it's just generally bad practice anyhow. Now programs explicitly call SDL_Quit() where appropriate, wrap SDL_Quit() in a cdecl function where it can't be avoided, and rely on the parachute where a crash might have hit the atexit() before (these ARE test programs, after all!).
Wed, 28 Sep 2005 06:38:22 +0000 Typo that broke Windows builds.
Ryan C. Gordon <icculus@icculus.org> [Wed, 28 Sep 2005 06:38:22 +0000] rev 1150
Typo that broke Windows builds.
Wed, 28 Sep 2005 03:34:24 +0000 Same inline asm bug in S8 mixer, fixed last night, is also in the MSVC version.
Ryan C. Gordon <icculus@icculus.org> [Wed, 28 Sep 2005 03:34:24 +0000] rev 1149
Same inline asm bug in S8 mixer, fixed last night, is also in the MSVC version.
Wed, 28 Sep 2005 02:26:29 +0000 Patched inline assembly to compile on gcc 4.0.1. Details are here:
Ryan C. Gordon <icculus@icculus.org> [Wed, 28 Sep 2005 02:26:29 +0000] rev 1148
Patched inline assembly to compile on gcc 4.0.1. Details are here: http://bugs.gentoo.org/show_bug.cgi?id=104437 I believe the patch is from Harald van Dijk (comment #16 at the above url).
(0) -1000 -300 -100 -10 +10 +100 +300 +1000 +3000 tip