Sun, 24 Jan 2010 20:08:14 +0000 PulseAudio: get the window title for the context name if it wasn't set already. SDL-1.2
Ryan C. Gordon <icculus@icculus.org> [Sun, 24 Jan 2010 20:08:14 +0000] rev 4400
PulseAudio: get the window title for the context name if it wasn't set already. Will still fall back to get_progname() if it can't figure out the title.
Sun, 24 Jan 2010 17:54:57 +0000 Patched to compile on Visual C++. SDL-1.2
Ryan C. Gordon <icculus@icculus.org> [Sun, 24 Jan 2010 17:54:57 +0000] rev 4399
Patched to compile on Visual C++.
Sun, 24 Jan 2010 08:35:09 +0000 1.2: let PulseAudio hook into SDL_WM_SetCaption(). SDL-1.2
Ryan C. Gordon <icculus@icculus.org> [Sun, 24 Jan 2010 08:35:09 +0000] rev 4398
1.2: let PulseAudio hook into SDL_WM_SetCaption(). This lets Pulse's system-wide list of currently playing sources have accurate names for SDL applications. DO NOT MERGE WITH 1.3...we'll design a more formal API there.
Sun, 17 Jan 2010 05:19:32 +0000 Reverted accidental commit. SDL-1.2
Ryan C. Gordon <icculus@icculus.org> [Sun, 17 Jan 2010 05:19:32 +0000] rev 4397
Reverted accidental commit.
Sun, 17 Jan 2010 05:17:59 +0000 1.2 pulseaudio: make some function pointers static. SDL-1.2
Ryan C. Gordon <icculus@icculus.org> [Sun, 17 Jan 2010 05:17:59 +0000] rev 4396
1.2 pulseaudio: make some function pointers static.
Wed, 06 Jan 2010 06:41:41 +0000 Call SDL_OutOfMemory() if SDL_malloc() fails. SDL-1.2
Ryan C. Gordon <icculus@icculus.org> [Wed, 06 Jan 2010 06:41:41 +0000] rev 4395
Call SDL_OutOfMemory() if SDL_malloc() fails.
Thu, 17 Dec 2009 14:33:00 +0000 Merged SDL 1.3 revision 5424, fixing a crash in the joystick code on recent kernels. SDL-1.2
Sam Lantinga <slouken@libsdl.org> [Thu, 17 Dec 2009 14:33:00 +0000] rev 4394
Merged SDL 1.3 revision 5424, fixing a crash in the joystick code on recent kernels.
Mon, 14 Dec 2009 22:41:31 +0000 Fixed bug #901 SDL-1.2
Sam Lantinga <slouken@libsdl.org> [Mon, 14 Dec 2009 22:41:31 +0000] rev 4393
Fixed bug #901 Tim Angus 2009-12-11 11:45:46 PST Disable mouse event generation when state is not SDL_APPMOUSEFOCUS If a Windows SDL application is minimised by using alt-tab, SDL_APPMOUSEFOCUS is lost as part of the minimisation. Unfortunately, the directx driver doesn't pay any attention to this state when generating mouse button events, so clicking on the Desktop can cause mouse clicks in the SDL application, while it's still minimised. The attached patch fixes this. It looks much more complicated than it actually is due to indentation; here it is ignoring whitespace: tma@abraxas:~/sources/SDL-1.2-svn$ svn diff -x -b Index: src/video/windx5/SDL_dx5events.c =================================================================== --- src/video/windx5/SDL_dx5events.c (revision 5376) +++ src/video/windx5/SDL_dx5events.c (working copy) @@ -374,10 +374,9 @@ if ( !(SDL_GetAppState() & SDL_APPMOUSEFOCUS) ) { mouse_lost = 1; ClipCursor(NULL); - } - + } else { /* If the mouse was lost, regain some sense of mouse state */ - if ( mouse_lost && (SDL_GetAppState() & SDL_APPMOUSEFOCUS) ) { + if ( mouse_lost ) { POINT mouse_pos; Uint8 old_state; Uint8 new_state; @@ -548,6 +547,7 @@ if ( xrel || yrel ) { post_mouse_motion(1, xrel, yrel); } + } } /* The main Win32 event handler */
Fri, 11 Dec 2009 15:31:37 +0000 Fixed bug #898 SDL-1.2
Sam Lantinga <slouken@libsdl.org> [Fri, 11 Dec 2009 15:31:37 +0000] rev 4392
Fixed bug #898 Jeremiah Morris 2009-12-09 16:07:17 PST No-op GlobalToLocal translations in fullscreen mode On my MacBook Pro running 10.6, I noticed a small upward bias on mouse movement in a fullscreen SDL application. The app uses WarpCursor and GetMouseState in a loop to measure relative movement. I tracked it down to NSWindow's convertBaseToScreen: routine, which added a 2-pixel offset on the Y coordinate instead of the expected (+0,+0) translation. In fullscreen mode, QZ_PrivateWarpCursor() does not translate the desired position through QZ_PrivateGlobalToLocal() before passing it to the Core Graphics system. However, QZ_GetMouseLocation() does call the reverse QZ_PrivateLocalToGlobal() even in fullscreen mode. This asymmetry caused problems each time the mouse was moved.
Fri, 11 Dec 2009 15:24:53 +0000 Fixed bug #849 some more: SDL-1.2
Sam Lantinga <slouken@libsdl.org> [Fri, 11 Dec 2009 15:24:53 +0000] rev 4391
Fixed bug #849 some more: Tim Angus 2009-11-26 14:41:04 PST Fix to the cursor not being responsive when the app doesn't have SDL_APPINPUTFOCUS The problems with the directx driver are similar to the ones I introduced in the windib driver with r4478. Basically if the application did not have focus, the mouse position is not updated. It's not really that the mouse cursor was invisible, it's that it is stuck underneath another window where you can't see it. This behaviour predates my r4478 changes and is the reason I unwittingly broke the windib driver as I had been replicating the way the directx driver deals with focus. Prior to r4478 the directx driver could not be used in windowed mode, so the broken focusing would not have actually been observable. Anyway, the attached patch makes the directx driver behaves like the windib driver in terms of focus. Time for 1.2.15? ;) I've added an additional change of moving the calls to WIN_GrabInput that are made on WM_ACTIVATE messages so that they only occur when the state is SDL_APPINPUTFOCUS. When a fullscreen application is minimised using alt-tab, it still receives WM_ACTIVATE messages when other applications are selected. If WIN_GrabInput is called when the SDL application doesn't have input focus, bad things happen; it shouldn't be being called at all. I've also added a line to make sure that SDL_APPMOUSEFOCUS state is dropped when the application is minimised following an alt-tab.
(0) -3000 -1000 -300 -100 -10 +10 +100 +300 +1000 +3000 tip