Sat, 08 May 2010 04:52:17 -0700 Exempted writable modes from bundle check on OS X since bundle areas are typically read-only.
Eric Wing <ewing . public |-at-| gmail . com> [Sat, 08 May 2010 04:52:17 -0700] rev 4449
Exempted writable modes from bundle check on OS X since bundle areas are typically read-only.
Sat, 08 May 2010 01:12:55 -0700 Adding testsdl (automated test) support to iPhone Xcode project (to match Mac Xcode project).
Eric Wing <ewing . public |-at-| gmail . com> [Sat, 08 May 2010 01:12:55 -0700] rev 4448
Adding testsdl (automated test) support to iPhone Xcode project (to match Mac Xcode project). I haven't updated yet to the 3.2 SDK so SDL no longer builds for me so I can't yet verify if the new target completely works.
Sat, 08 May 2010 00:54:22 -0700 Added automated test to Xcode project plus needed changes to SDL_RWFromFile to be OS X bundle aware.
Eric Wing <ewing . public |-at-| gmail . com> [Sat, 08 May 2010 00:54:22 -0700] rev 4447
Added automated test to Xcode project plus needed changes to SDL_RWFromFile to be OS X bundle aware. The Mac OS X project has a new target called testsdl which builds the automated test. I looked at using Xcode's native unit test support, but the impedance mismatch between the existing automated test structure and Apple's was more than I could handle. As such, the testsdl application is a full blown proper OS X application, which means it is a self-contained .app bundle. This immediately revealed some problems from the automated test. The largest problem was the assumption about the current working directory and where to find resources. (I suspect Windows may have a similar problem depending on circumstance.) To open resources, the test was looking in directories relative to the SDL source directory, but this will not work well with self-contained .app bundles and Xcode which can place its built applications almost anywhere. And for real-world situations, this is pretty useless anyway. So I modified SDL_RWFromFile to do special things on OS X. First, it will look for a file in the .app bundle. If not found, it will fallback and just call fopen as it used to do. I also had to modify the automated test itself because it had a contrieved test which called fopen directly to do read from an existing FILE pointer. In addition, there was a write test. Since a .app bundle is likely going to be read-only, I added a special case for OS X to write to NSTemporaryDirectory. I expect these changes should work for both Mac and iPhone OS (which includes iPad). I will update the iPhone Xcode project next. Finally, FYI, the X11 automated test seems to be failing. Below is my output. Pending breakpoint 4 - "-[NSException raise]" resolved Platform : All tests successful (2) SDL_RWops : All tests successful (5) Rect : All tests successful (1) SDL_Surface : All tests successful (6) Rendering with cocoa driver : All tests successful (3) Assert Failed! Blit output not the same. Test Case 'Renderer x11' Test Suite 'Rendering with x11 driver' Last SDL error '' Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSGetSurfaceBounds Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged. Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0xa150 Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0xa150 Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0xa150 Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSGetWindowBounds Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSGetSurfaceBounds Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0xa150 Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0xa150 Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0xa150 Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSGetWindowBounds Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSGetSurfaceBounds Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0xa150 Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0xa150 Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0xa150 Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSGetWindowBounds Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSGetSurfaceBounds Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0xa150 Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0xa150 Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0xa150 Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSGetWindowBounds Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSGetSurfaceBounds Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0xa150 Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0xa150 Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0xa150 Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSGetWindowBounds Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSGetSurfaceBounds Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0xa150 Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0xa150 Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0xa150 Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSGetWindowBounds Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSGetSurfaceBounds Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0xa150 Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0xa150 Sat May 8 00:30:34 iMacAL.local testsdl[71586] <Error>: kCGErrorIllegalArgument: CGSBindSurface: Invalid window 0xa150 Rendering with x11 driver : Failed 1 out of 4 testcases! Rendering with dummy driver : All tests successful (3) SDL_Audio : All tests successful (1) Tests run with SDL 1.3.0 revision 1095906 System is running Mac OS X and is little endian
Sun, 02 May 2010 05:08:12 -0400 Much improved multi-display support for iPad.
Ryan C. Gordon <icculus@icculus.org> [Sun, 02 May 2010 05:08:12 -0400] rev 4446
Much improved multi-display support for iPad. Fixes most issues and limitations, I think.
Sat, 01 May 2010 13:50:56 -0400 Test for system version in the Apple Recommended way.
Ryan C. Gordon <icculus@icculus.org> [Sat, 01 May 2010 13:50:56 -0400] rev 4445
Test for system version in the Apple Recommended way. (a similar test is output by Xcode for the iPhone View Application template).
Fri, 30 Apr 2010 00:39:31 -0400 Implemented SDL power APIs for iPhoneOS.
Ryan C. Gordon <icculus@icculus.org> [Fri, 30 Apr 2010 00:39:31 -0400] rev 4444
Implemented SDL power APIs for iPhoneOS.
Thu, 29 Apr 2010 22:53:18 -0400 Implemented display mode functionality for UIKit.
Ryan C. Gordon <icculus@icculus.org> [Thu, 29 Apr 2010 22:53:18 -0400] rev 4443
Implemented display mode functionality for UIKit. The iPad (and iPhoneOS 3.2) introduce both a larger screen and the ability to enumerate and configure external displays. This hooks up SDL's multi-display API to this new functionality, and removes the hardcoded iPhone resolution.
Sun, 25 Apr 2010 20:16:38 -0400 SDL-1.2: Quartz fullscreen video contentRect was used uninitialized. SDL-1.2
Ryan C. Gordon <icculus@icculus.org> [Sun, 25 Apr 2010 20:16:38 -0400] rev 4442
SDL-1.2: Quartz fullscreen video contentRect was used uninitialized.
Fri, 23 Apr 2010 02:19:34 -0700 Fixed bug 978
Sam Lantinga <slouken@libsdl.org> [Fri, 23 Apr 2010 02:19:34 -0700] rev 4441
Fixed bug 978 Yann Leprince 2010-03-31 11:07:53 PDT Please add a #serial line as below to sdl.m4 and increase the serial number with each revision of this file. This allows using aclocal --install, thereby enabling automatic updating of sdl.m4 in SDL-based packages that distribute it. # serial 1 The complete documentation and rationale for #serial can be found in the Automake documentation: <http://www.gnu.org/software/automake/manual/html_node/Serials.html>.
Fri, 23 Apr 2010 02:19:19 -0700 Fixed bug 978 SDL-1.2
Sam Lantinga <slouken@libsdl.org> [Fri, 23 Apr 2010 02:19:19 -0700] rev 4440
Fixed bug 978 Yann Leprince 2010-03-31 11:07:53 PDT Please add a #serial line as below to sdl.m4 and increase the serial number with each revision of this file. This allows using aclocal --install, thereby enabling automatic updating of sdl.m4 in SDL-based packages that distribute it. # serial 1 The complete documentation and rationale for #serial can be found in the Automake documentation: <http://www.gnu.org/software/automake/manual/html_node/Serials.html>.
Fri, 23 Apr 2010 02:15:05 -0700 esigra 2010-04-17 03:53:57 PDT
Sam Lantinga <slouken@libsdl.org> [Fri, 23 Apr 2010 02:15:05 -0700] rev 4439
esigra 2010-04-17 03:53:57 PDT If this header file is supposed to be includable from C++ code, the code should of course use one of the SDL_*_cast macros from SDL_stdinc.h.
Fri, 23 Apr 2010 02:14:06 -0700 esigra 2010-04-17 03:53:57 PDT SDL-1.2
Sam Lantinga <slouken@libsdl.org> [Fri, 23 Apr 2010 02:14:06 -0700] rev 4438
esigra 2010-04-17 03:53:57 PDT If this header file is supposed to be includable from C++ code, the code should of course use one of the SDL_*_cast macros from SDL_stdinc.h.
Tue, 20 Apr 2010 07:16:42 -0700 Fix a crash caused by empty keyboard focus
Jjgod Jiang <gzjjgod@gmail.com> [Tue, 20 Apr 2010 07:16:42 -0700] rev 4437
Fix a crash caused by empty keyboard focus --- src/events/SDL_keyboard.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
Thu, 15 Apr 2010 22:27:50 -0700 changeset: 4434:4e5dd7dc58cd
Sam Lantinga <slouken@libsdl.org> [Thu, 15 Apr 2010 22:27:50 -0700] rev 4436
changeset: 4434:4e5dd7dc58cd tag: tip user: Jjgod Jiang <gzjjgod@gmail.com> date: Fri Apr 16 13:20:33 2010 +0800 summary: Fix window height calculation for text input rect
Thu, 15 Apr 2010 22:27:01 -0700 Minor cleanup on Jiang's patch
Sam Lantinga <slouken@libsdl.org> [Thu, 15 Apr 2010 22:27:01 -0700] rev 4435
Minor cleanup on Jiang's patch
Thu, 15 Apr 2010 22:14:26 -0700 changeset: 4433:25667ea797fa
Sam Lantinga <slouken@libsdl.org> [Thu, 15 Apr 2010 22:14:26 -0700] rev 4434
changeset: 4433:25667ea797fa tag: tip user: Jiang Jiang <gzjjgod@gmail.com> date: Thu Apr 15 12:01:46 2010 +0800 summary: Add windowID to text editing event
Thu, 15 Apr 2010 21:27:32 -0700 Fixed bug 984
Sam Lantinga <slouken@libsdl.org> [Thu, 15 Apr 2010 21:27:32 -0700] rev 4433
Fixed bug 984 SDL_CreateTexture allows the creation of textures of size 0, which can lead to div by 0 errors
Tue, 13 Apr 2010 22:01:14 -0700 Fixed bug 944
Sam Lantinga <slouken@libsdl.org> [Tue, 13 Apr 2010 22:01:14 -0700] rev 4432
Fixed bug 944 Tatu Kilappa 2010-02-11 12:13:20 PST When compiling with -Wconversion, gcc complains about a cast in SDL_endian.h that might change the result as we are casting from an int into an Uint16. This is of course not visible unless we are on a non-x86 platform where the assembler is not available. While it's not really an error, the warning is really annoying. To fix, change SDL_endian.h line 87 to: return(Uint16)((x<<8)|(x>>8)); Thank you.
Tue, 13 Apr 2010 21:46:10 -0700 Fixed bug 944 SDL-1.2
Sam Lantinga <slouken@libsdl.org> [Tue, 13 Apr 2010 21:46:10 -0700] rev 4431
Fixed bug 944 Tatu Kilappa 2010-02-11 12:13:20 PST When compiling with -Wconversion, gcc complains about a cast in SDL_endian.h that might change the result as we are casting from an int into an Uint16. This is of course not visible unless we are on a non-x86 platform where the assembler is not available. While it's not really an error, the warning is really annoying. To fix, change SDL_endian.h line 87 to: return(Uint16)((x<<8)|(x>>8)); Thank you.
Tue, 13 Apr 2010 21:24:55 -0700 CVS is so last decade... SDL-1.2
Sam Lantinga <slouken@libsdl.org> [Tue, 13 Apr 2010 21:24:55 -0700] rev 4430
CVS is so last decade...
Thu, 25 Mar 2010 01:08:26 -0700 General improvements for user custom event registration
Sam Lantinga <slouken@libsdl.org> [Thu, 25 Mar 2010 01:08:26 -0700] rev 4429
General improvements for user custom event registration * Switched event type to enum (int32) * Switched polling by mask to polling by type range * Added SDL_RegisterEvents() to allow dynamic user event registration * Spread events out to allow inserting new related events without breaking binary compatibility * Added padding to event structures so they're the same size regardless of 32-bit compiler structure packing settings * Split SDL_HasEvent() to SDL_HasEvent() for a single event and SDL_HasEvents() for a range of events * Added SDL_GetEventState() as a shortcut for SDL_EventState(X, SDL_QUERY) * Added SDL_FlushEvent() and SDL_FlushEvents() to clear events from the event queue
Wed, 10 Mar 2010 15:07:20 +0000 Fixed bug #968
Sam Lantinga <slouken@libsdl.org> [Wed, 10 Mar 2010 15:07:20 +0000] rev 4428
Fixed bug #968 Andrey 2010-03-07 07:57:14 PST mingw32ce-build small fix
Wed, 10 Mar 2010 15:04:13 +0000 Fixed bug #943 SDL-1.2
Sam Lantinga <slouken@libsdl.org> [Wed, 10 Mar 2010 15:04:13 +0000] rev 4427
Fixed bug #943 Ozkan Sezer 2010-02-06 12:31:06 PST Hi: Here are some small fixes for compiling SDL against mingw-w64. (see http://mingw-w64.sourceforge.net/ . Despite the name, it supports both win32 and win64.) Two patches, one for SDL-1.2 and one for SDL-1.3 attached. src/audio/windx5/directx.h and src/video/windx5/directx.h (both SDL-1.2 and SDL-1.3.) I get compilation errors about some union not having a member named u1 and alike, because of other system headers being included before this one and them already defining DUMMYUNIONNAME and stuff. This header probably assumes that those stuff are defined in windef.h, but mingw-w64 headers define them in _mingw.h. Easily fixed by moving NONAMELESSUNION definition to the top of the file. SDL_dx5yuv.c (SDL-1.2-only) also needs to include the header before SDL_video.h to avoid the same problem. src/thread/win32/SDL_systhread.c (both SDL-1.2 and SDL-1.3.) : The __GNUC__ case for pfnSDL_CurrentBeginThread is 32-bit centric because _beginthreadex returns uintptr_t, not unsigned long which is 32 bits in win64. Changing the return type to uintptr_t fixes it. Hope these are useful. Thanks.
Wed, 10 Mar 2010 15:02:58 +0000 Fixed bug #943
Sam Lantinga <slouken@libsdl.org> [Wed, 10 Mar 2010 15:02:58 +0000] rev 4426
Fixed bug #943 Ozkan Sezer 2010-02-06 12:31:06 PST Hi: Here are some small fixes for compiling SDL against mingw-w64. (see http://mingw-w64.sourceforge.net/ . Despite the name, it supports both win32 and win64.) src/audio/windx5/directx.h and src/video/windx5/directx.h (both SDL-1.2 and SDL-1.3.) I get compilation errors about some union not having a member named u1 and alike, because of other system headers being included before this one and them already defining DUMMYUNIONNAME and stuff. This header probably assumes that those stuff are defined in windef.h, but mingw-w64 headers define them in _mingw.h. Easily fixed by moving NONAMELESSUNION definition to the top of the file. src/thread/win32/SDL_systhread.c (both SDL-1.2 and SDL-1.3.) : The __GNUC__ case for pfnSDL_CurrentBeginThread is 32-bit centric because _beginthreadex returns uintptr_t, not unsigned long which is 32 bits in win64. Changing the return type to uintptr_t fixes it. video/SDL_blit.h (and configure.in) (SDL-1.3-only) : MinGW-w64 uses msvcrt version of _aligned_malloc and _aligned_free and they are defined in intrin.h (similar to VC). Adding proper ifdefs fixes it. (Notes about macros to check: __MINGW32__ is defined for both mingw.org and for mingw-w64 for both win32 and win64, __MINGW64__ is only defined for _WIN64, so __MINGW64__ can't be used to detect mingw-w64: including _mingw.h and then checking for __MINGW64_VERSION_MAJOR does the trick.) SDL_win32video.h (SDL-1.3-only) : Tweaked the VINWER definition and location in order to avoid multiple redefinition warnings. Hope these are useful. Thanks.
Tue, 09 Mar 2010 06:07:48 +0000 Fixed bug #961
Sam Lantinga <slouken@libsdl.org> [Tue, 09 Mar 2010 06:07:48 +0000] rev 4425
Fixed bug #961 Kalle Olavi Niemitalo 2010-02-28 09:15:50 PST It seems the SDLK_LMETA and SDLK_RMETA constants have been removed from SDL 1.3. I grepped for them in the SDL source tree and these were the only hits: ./include/SDL_compat.h:230:#define SDLK_LSUPER SDLK_LMETA ./include/SDL_compat.h:231:#define SDLK_RSUPER SDLK_RMETA ./src/video/bwindow/SDL_BWin.h:194: keymap[0x66] = SDLK_LMETA; ./src/video/bwindow/SDL_BWin.h:195: keymap[0x67] = SDLK_RMETA; I don't know how compatible SDL 1.3 is supposed to be with applications designed for SDL 1.2. However, as you can see, SDL itself is still trying to use the removed constants, and that is clearly a bug. Because SDL_compat.h defines KMOD_LMETA as KMOD_LGUI, I suppose it should also define SDLK_LMETA as SDLK_LGUI, and SDLK_RMETA likewise.
Fri, 05 Mar 2010 15:43:46 +0000 Removed reference to compatibility function
Sam Lantinga <slouken@libsdl.org> [Fri, 05 Mar 2010 15:43:46 +0000] rev 4424
Removed reference to compatibility function
Sun, 28 Feb 2010 09:23:23 +0000 Disable error checks for reset actuators and set autocenter.
Edgar Simo <bobbens@gmail.com> [Sun, 28 Feb 2010 09:23:23 +0000] rev 4423
Disable error checks for reset actuators and set autocenter. Reset actuators and set autocenter might not actually be supported on all implementations. We'll just disable error checking since they aren't critical to neither opening the joystick nor the haptic subsystem.
Sun, 28 Feb 2010 23:45:02 -0800 Replaced README.SVN with Mercurial information, for 1.2 branch. SDL-1.2
Ryan C. Gordon <icculus@icculus.org> [Sun, 28 Feb 2010 23:45:02 -0800] rev 4422
Replaced README.SVN with Mercurial information, for 1.2 branch.
Sun, 28 Feb 2010 03:23:07 -0500 Changed the Subversion README to Mercurial.
Ryan C. Gordon <icculus@icculus.org> [Sun, 28 Feb 2010 03:23:07 -0500] rev 4421
Changed the Subversion README to Mercurial.
Sun, 28 Feb 2010 02:19:04 -0500 Added .hgignore file for 1.2 branch. SDL-1.2
Ryan C. Gordon <icculus@icculus.org> [Sun, 28 Feb 2010 02:19:04 -0500] rev 4420
Added .hgignore file for 1.2 branch.
Sun, 28 Feb 2010 02:07:40 -0500 Changed revision details to be a string (an hg changeset) instead of an int.
Ryan C. Gordon <icculus@icculus.org> [Sun, 28 Feb 2010 02:07:40 -0500] rev 4419
Changed revision details to be a string (an hg changeset) instead of an int.
Sun, 28 Feb 2010 02:06:47 -0500 Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org> [Sun, 28 Feb 2010 02:06:47 -0500] rev 4418
Made an .hgignore to mostly match old svn:ignore properties.
Sun, 28 Feb 2010 00:31:38 -0500 Readded Xcode.tar.gz to the Mercurial repository. SDL-1.2
Ryan C. Gordon <icculus@icculus.org> [Sun, 28 Feb 2010 00:31:38 -0500] rev 4417
Readded Xcode.tar.gz to the Mercurial repository. (This was stripped from previous revisions to make the repo smaller.)
Sun, 28 Feb 2010 00:21:37 -0500 Closing obsolete SDL-1.3 named branch SDL-1.3
Ryan C. Gordon <icculus@icculus.org> [Sun, 28 Feb 2010 00:21:37 -0500] rev 4416
Closing obsolete SDL-1.3 named branch
Sun, 28 Feb 2010 00:21:36 -0500 Closing obsolete SDL-ryan-multiple-audio-device named branch SDL-ryan-multiple-audio-device
Ryan C. Gordon <icculus@icculus.org> [Sun, 28 Feb 2010 00:21:36 -0500] rev 4415
Closing obsolete SDL-ryan-multiple-audio-device named branch
Sun, 28 Feb 2010 00:21:35 -0500 Closing obsolete SDL-1.2-olpc named branch SDL-1.2-olpc
Ryan C. Gordon <icculus@icculus.org> [Sun, 28 Feb 2010 00:21:35 -0500] rev 4414
Closing obsolete SDL-1.2-olpc named branch
Sun, 28 Feb 2010 00:21:33 -0500 Closing obsolete gsoc2008_audio_resampling named branch gsoc2008_audio_resampling
Ryan C. Gordon <icculus@icculus.org> [Sun, 28 Feb 2010 00:21:33 -0500] rev 4413
Closing obsolete gsoc2008_audio_resampling named branch
Sun, 28 Feb 2010 00:21:32 -0500 Closing obsolete gsoc2008_manymouse named branch gsoc2008_manymouse
Ryan C. Gordon <icculus@icculus.org> [Sun, 28 Feb 2010 00:21:32 -0500] rev 4412
Closing obsolete gsoc2008_manymouse named branch
Sun, 28 Feb 2010 00:21:32 -0500 Closing obsolete gsoc2008_iphone named branch gsoc2008_iphone
Ryan C. Gordon <icculus@icculus.org> [Sun, 28 Feb 2010 00:21:32 -0500] rev 4411
Closing obsolete gsoc2008_iphone named branch
Sun, 28 Feb 2010 00:21:31 -0500 Closing obsolete gsoc2008_force_feedback named branch gsoc2008_force_feedback
Ryan C. Gordon <icculus@icculus.org> [Sun, 28 Feb 2010 00:21:31 -0500] rev 4410
Closing obsolete gsoc2008_force_feedback named branch
Sun, 28 Feb 2010 00:21:30 -0500 Closing obsolete gsoc2008_nds named branch gsoc2008_nds
Ryan C. Gordon <icculus@icculus.org> [Sun, 28 Feb 2010 00:21:30 -0500] rev 4409
Closing obsolete gsoc2008_nds named branch
Sun, 28 Feb 2010 00:21:28 -0500 Closing obsolete gsoc2009_unit_tests named branch gsoc2009_unit_tests
Ryan C. Gordon <icculus@icculus.org> [Sun, 28 Feb 2010 00:21:28 -0500] rev 4408
Closing obsolete gsoc2009_unit_tests named branch
Sun, 28 Feb 2010 00:21:27 -0500 Closing obsolete gsoc2009_IME named branch gsoc2009_IME
Ryan C. Gordon <icculus@icculus.org> [Sun, 28 Feb 2010 00:21:27 -0500] rev 4407
Closing obsolete gsoc2009_IME named branch
Sun, 28 Feb 2010 00:21:26 -0500 Closing obsolete gsoc2009_ps3 named branch gsoc2009_ps3
Ryan C. Gordon <icculus@icculus.org> [Sun, 28 Feb 2010 00:21:26 -0500] rev 4406
Closing obsolete gsoc2009_ps3 named branch
Sun, 28 Feb 2010 09:56:32 +0000 update tags
convert-repo [Sun, 28 Feb 2010 09:56:32 +0000] rev 4405
update tags
Thu, 19 Apr 2007 07:12:30 +0000 First shot at GTK+ video target for the OLPC laptops. Seriously incomplete, SDL-1.2-olpc
Ryan C. Gordon <icculus@icculus.org> [Thu, 19 Apr 2007 07:12:30 +0000] rev 4404
First shot at GTK+ video target for the OLPC laptops. Seriously incomplete, but it's enough to get some bits to a window...
Thu, 19 Apr 2007 07:10:05 +0000 Branching for some One Laptop Per Child experiments. SDL-1.2-olpc
Ryan C. Gordon <icculus@icculus.org> [Thu, 19 Apr 2007 07:10:05 +0000] rev 4403
Branching for some One Laptop Per Child experiments.
Fri, 12 Feb 2010 16:59:34 +0000 Fixed channel swizzling for ALSA target with 6-channel output. SDL-1.2
Ryan C. Gordon <icculus@icculus.org> [Fri, 12 Feb 2010 16:59:34 +0000] rev 4402
Fixed channel swizzling for ALSA target with 6-channel output. Fixes Bugzilla #942.
Fri, 05 Feb 2010 19:20:49 +0000 Fixed uninitialized variable in FreeBSD joystick. SDL-1.2
Ryan C. Gordon <icculus@icculus.org> [Fri, 05 Feb 2010 19:20:49 +0000] rev 4401
Fixed uninitialized variable in FreeBSD joystick. Patch by Marcus von Appen.
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.
Fri, 11 Dec 2009 15:14:13 +0000 Fixed bug #895 SDL-1.2
Sam Lantinga <slouken@libsdl.org> [Fri, 11 Dec 2009 15:14:13 +0000] rev 4390
Fixed bug #895 Markus Rothe 2009-12-07 09:32:46 PST Check if libspe2 is available Building on PowerPC64 results in: [...] In file included from ./src/video/ps3/SDL_ps3events_c.h:33, from ./src/video/ps3/SDL_ps3video.c:32: ./src/video/ps3/SDL_ps3video.h:34:21: error: libspe2.h: No such file or directory In file included from ./src/video/ps3/SDL_ps3events_c.h:33, from ./src/video/ps3/SDL_ps3video.c:32: ./src/video/ps3/SDL_ps3video.h:75: error: expected specifier-qualifier-list before 'spe_context_ptr_t' ./src/video/ps3/SDL_ps3video.c:78: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fb_writer_spu' ./src/video/ps3/SDL_ps3video.c: In function 'PS3_VideoInit': ./src/video/ps3/SDL_ps3video.c:167: error: 'spu_data_t' has no member named 'program' ./src/video/ps3/SDL_ps3video.c:167: error: 'fb_writer_spu' undeclared (first use in this function) [...] The problem is that the ps3 video driver is being build regardless if libspe2 is installed or not. The attached patch fixes this problem. [ Note: The other headers that are being checked for are coming from the linux headers package on powerpc64. As a result these are also available if you're on a generic powerpc64 machine and not a PS3 only. ]
(0) -3000 -1000 -300 -100 -60 +60 +100 +300 +1000 +3000 tip