Sun, 01 Jan 2006 23:45:52 +0000 To: sdl@libsdl.org
Ryan C. Gordon <icculus@icculus.org> [Sun, 01 Jan 2006 23:45:52 +0000] rev 1211
To: sdl@libsdl.org From: Christian Walther <cwalther@gmx.ch> Date: Wed, 28 Dec 2005 12:13:20 +0100 Subject: [SDL] Fix for opening documents on Mac OS X < 10.4 The current code in SDLMain.m that transforms documents opened from the Finder into command-line arguments (introduced in revision 1.14, 2005-08-11) uses the methods -[NSString lengthOfBytesUsingEncoding:] and -[NSString getCString:maxLength:encoding:], which are only available in Mac OS X 10.4. Compiling this code on 10.3 produces warnings, and running it (i.e. starting an SDL application by opening a document) leads to weird behavior which I didn't investigate in detail ("*** -[NSCFString lengthOfBytesUsingEncoding:]: selector not recognized" is printed to the console log, and the SDL window never opens). The attached patch removes the offending calls and uses -[NSString UTF8String] instead, which is available everywhere. Tested on 10.3.9, and I see no reason why it shouldn't also work on 10.2 and 10.4. Two further comments: * The comment above the -[SDLMain application: openFile:] implementation says "You need to have a CFBundleDocumentsType section in your Info.plist to get this message, apparently." This is not the case in my experience - it worked just fine with a hand-built bare-bones application consisting only of Test.app/Contents/MacOS/test, without any Info.plist (although you have to press the option and command keys for such an application to accept a dragged file). * I took the liberty of cleaning up another area of SDLMain.m: I changed "CustomApplicationMain (argc, argv)" to "CustomApplicationMain (int argc, char **argv)". This avoids the "type of `argv' defaults to `int'" warnings, and I'm not sure if leaving out the types could cause problems on platforms where an int and a char** aren't of the same size. -Christian
Sun, 01 Jan 2006 23:34:06 +0000 Bumped windib's priority above DirectX, since both DirectDraw and DirectInput
Ryan C. Gordon <icculus@icculus.org> [Sun, 01 Jan 2006 23:34:06 +0000] rev 1210
Bumped windib's priority above DirectX, since both DirectDraw and DirectInput seem to be giving people issues on newer Windows and DX revisions. We'll see if this is just a temporary fix or not... :/ --ryan.
Sun, 01 Jan 2006 19:14:11 +0000 Added preliminary missingtranslation from Atari to Unicode charset
Patrice Mandin <patmandin@gmail.com> [Sun, 01 Jan 2006 19:14:11 +0000] rev 1209
Added preliminary missingtranslation from Atari to Unicode charset
Fri, 23 Dec 2005 09:40:15 +0000 From: "alan buckley" <alan_baa@hotmail.com>
Sam Lantinga <slouken@libsdl.org> [Fri, 23 Dec 2005 09:40:15 +0000] rev 1208
From: "alan buckley" <alan_baa@hotmail.com> Subject: Patch for RISC OS cursor palette handling in SDL Date: Mon, 07 Nov 2005 09:14:15 -0800 The mouse cursor palette was not correctly restored on RISC OS if the system was using anything but the default mouse colours. Additionally I've modifed the order the wait for vsync is called as it should be after the screen bank switching.
Wed, 21 Dec 2005 18:02:36 +0000 To: sdl@libsdl.org
Ryan C. Gordon <icculus@icculus.org> [Wed, 21 Dec 2005 18:02:36 +0000] rev 1207
To: sdl@libsdl.org From: Christian Walther <cwalther@gmx.ch> Date: Wed, 21 Dec 2005 13:39:39 +0100 Subject: [SDL] Another mouse bug patch for Mac OS X Oh my, yet another change in the quartz mouse handling code! :) The attached patch fixes the following bug: Calling SDL_WarpMouse() while the cursor is invisible and grabbed should only update SDL's internal mouse location, not try to warp the system cursor (which is not at that location, but fixed in the middle of the window). Otherwise, the next mouse motion event is wrong. Please apply. Thanks Christian
Mon, 19 Dec 2005 06:58:51 +0000 Patched to compile on gcc 2.95.3.
Ryan C. Gordon <icculus@icculus.org> [Mon, 19 Dec 2005 06:58:51 +0000] rev 1206
Patched to compile on gcc 2.95.3.
Wed, 14 Dec 2005 05:55:17 +0000 Updated to the latest glext.h
Sam Lantinga <slouken@libsdl.org> [Wed, 14 Dec 2005 05:55:17 +0000] rev 1205
Updated to the latest glext.h
Tue, 13 Dec 2005 16:40:12 +0000 Date: Tue, 13 Dec 2005 13:33:50 +0000
Sam Lantinga <slouken@libsdl.org> [Tue, 13 Dec 2005 16:40:12 +0000] rev 1204
Date: Tue, 13 Dec 2005 13:33:50 +0000 From: "alan buckley" Subject: Patch to fix audio locking on RISC OS When threads were not disabled on a RISC OS build the audio mixer mutex was not created.
Mon, 12 Dec 2005 11:14:29 +0000 Fixed configure script on latest Mac OS X developer tools (and hopefully
Ryan C. Gordon <icculus@icculus.org> [Mon, 12 Dec 2005 11:14:29 +0000] rev 1203
Fixed configure script on latest Mac OS X developer tools (and hopefully didn't break it everywhere else...grumble...) --ryan.
Mon, 12 Dec 2005 10:54:41 +0000 Matched SDL_AllowRW and SDL_FreeRW calls in SDL_rwops.c ...
Ryan C. Gordon <icculus@icculus.org> [Mon, 12 Dec 2005 10:54:41 +0000] rev 1202
Matched SDL_AllowRW and SDL_FreeRW calls in SDL_rwops.c ...
(0) -1000 -300 -100 -10 +10 +100 +300 +1000 +3000 tip