------------------------------------------------------------------------ r3028 | pmandin | 2007-05-27 01:53:48 -0700 (Sun, 27 May 2007) | 1 line Changed paths: M /branches/SDL-1.2/src/video/gem/SDL_gemvideo.c Allow creation of window bigger than visible size ------------------------------------------------------------------------ r3027 | pmandin | 2007-05-26 13:12:58 -0700 (Sat, 26 May 2007) | 1 line Changed paths: M /branches/SDL-1.2/src/video/gem/SDL_gemvideo.c Oops ------------------------------------------------------------------------ r3025 | pmandin | 2007-05-26 13:09:56 -0700 (Sat, 26 May 2007) | 1 line Changed paths: M /branches/SDL-1.2/src/video/gem/SDL_gemvideo.c Simply resize existing window ------------------------------------------------------------------------ r3023 | pmandin | 2007-05-26 12:44:37 -0700 (Sat, 26 May 2007) | 1 line Changed paths: M /branches/SDL-1.2/src/video/gem/SDL_gemvideo.c GEM has a window manager, of course ------------------------------------------------------------------------ r3022 | icculus | 2007-05-22 15:15:54 -0700 (Tue, 22 May 2007) | 3 lines Changed paths: M /branches/SDL-1.2/src/video/x11/SDL_x11gl.c Check correct glX extension name for swap_control, but it doesn't look like we ever actually look up the symbol...that's probably a bug. :/ ------------------------------------------------------------------------ r3020 | icculus | 2007-05-13 16:12:46 -0700 (Sun, 13 May 2007) | 2 lines Changed paths: M /branches/SDL-1.2/configure.in M /branches/SDL-1.2/include/SDL_config.h.in M /branches/SDL-1.2/src/audio/SDL_audio.c M /branches/SDL-1.2/src/audio/SDL_sysaudio.h A /branches/SDL-1.2/src/audio/pulse A /branches/SDL-1.2/src/audio/pulse/SDL_pulseaudio.c A /branches/SDL-1.2/src/audio/pulse/SDL_pulseaudio.h Committed PulseAudio driver. Thanks, Stephan! ------------------------------------------------------------------------ r3017 | icculus | 2007-04-17 02:09:48 -0700 (Tue, 17 Apr 2007) | 2 lines Changed paths: D /branches/SDL-1.2/test/.gdbinit Removing .gdbinit from test directory. ------------------------------------------------------------------------ r3016 | icculus | 2007-04-17 01:28:19 -0700 (Tue, 17 Apr 2007) | 4 lines Changed paths: M /branches/SDL-1.2/src/video/wincommon/SDL_wingl.c Let Windows OpenGL users use SDL_GL_SWAP_CONTROL even if WGL_ARB_pixel_format isn't available...this looks like it got tucked into here with the other attributes, which are wrapped in a pixel_format availability check. ------------------------------------------------------------------------ r3015 | icculus | 2007-04-06 13:30:41 -0700 (Fri, 06 Apr 2007) | 8 lines Changed paths: M /branches/SDL-1.2/src/video/quartz/SDL_QuartzEvents.m M /branches/SDL-1.2/src/video/quartz/SDL_QuartzVideo.h M /branches/SDL-1.2/src/video/quartz/SDL_QuartzVideo.m M /branches/SDL-1.2/src/video/x11/SDL_x11events.c M /branches/SDL-1.2/src/video/x11/SDL_x11events_c.h M /branches/SDL-1.2/src/video/x11/SDL_x11video.c M /branches/SDL-1.2/src/video/x11/SDL_x11video.h Let app set SDL_VIDEO_ALLOW_SCREENSAVER environment variable to override SDL's attempt to disable screen savers. Works for Quartz (Mac OS X) and X11. Need a formal API for this in 1.3, still. Fixes Bugzilla #415. ------------------------------------------------------------------------ r3012 | icculus | 2007-04-04 03:34:42 -0700 (Wed, 04 Apr 2007) | 3 lines Changed paths: M /branches/SDL-1.2/configure.in There are several subsystems that need IOKit linked in on Mac OS X, so handle cases where one or more of them are disabled. ------------------------------------------------------------------------ r3011 | icculus | 2007-04-04 03:30:07 -0700 (Wed, 04 Apr 2007) | 4 lines Changed paths: M /branches/SDL-1.2/configure.in Crap, put this patch in the wrong place. THIS fixes Bugzilla #403. :/ ------------------------------------------------------------------------ r3010 | icculus | 2007-04-04 03:28:14 -0700 (Wed, 04 Apr 2007) | 6 lines Changed paths: M /branches/SDL-1.2/configure.in Don't compile the joystick code if --disable-joystick is specified at ./configure time, and define SDL_JOYSTICK_DUMMY if the subsystem is wanted but there aren't any drivers available for the platform. Fixes Bugzilla #403. ------------------------------------------------------------------------ r3008 | icculus | 2007-04-04 02:40:40 -0700 (Wed, 04 Apr 2007) | 4 lines Changed paths: M /branches/SDL-1.2/include/SDL_video.h M /branches/SDL-1.2/src/video/SDL_pixels.c Const correctness patch for SDL_MapRGB and SDL_MapRGBA. Fixes Bugzilla #421. ------------------------------------------------------------------------ r3006 | icculus | 2007-04-04 02:32:29 -0700 (Wed, 04 Apr 2007) | 5 lines Changed paths: M /branches/SDL-1.2/src/video/SDL_blit_A.c BlitRGBtoRGBPixelAlphaMMX() is putting the wrong value into a register. Thanks to Alex Volkov for following up on this. Fixes Bugzilla #390. ------------------------------------------------------------------------ r3005 | icculus | 2007-04-04 02:15:39 -0700 (Wed, 04 Apr 2007) | 5 lines Changed paths: M /branches/SDL-1.2/src/video/x11/SDL_x11mouse.c Fixed buggy SDL_VIDEO_X11_MOUSEACCEL behaviour...correctly free buffer, and only call XChangePointerControl() if we have valid arguments. Fixes Bugzilla #417. ------------------------------------------------------------------------ r3003 | icculus | 2007-03-31 20:27:45 -0700 (Sat, 31 Mar 2007) | 13 lines Changed paths: M /branches/SDL-1.2/SDL.spec.in M /branches/SDL-1.2/sdl-config.in Date: Sat, 31 Mar 2007 16:39:52 +0200 From: Bert Wesarg To: sdl@lists.libsdl.org Subject: [SDL] [PATCH] sdl-config.in needs ${libdir} Hello, after the patch for Bug #321, sdl-config.in needs the libdir variable. and there is a hardcoded 'lib' in SDL.spec.in too. Bert Wesarg ------------------------------------------------------------------------ r3002 | icculus | 2007-03-30 13:09:55 -0700 (Fri, 30 Mar 2007) | 4 lines Changed paths: M /branches/SDL-1.2/include/SDL_stdinc.h Adjusted to handle different constness in older versions of iconv. Fixes Bugzilla #419. ------------------------------------------------------------------------ r3000 | icculus | 2007-03-29 23:26:28 -0700 (Thu, 29 Mar 2007) | 2 lines Changed paths: M /branches/SDL-1.2/test/testfile.c Patched to compile on Visual Studio. ------------------------------------------------------------------------ r2999 | icculus | 2007-03-27 17:44:05 -0700 (Tue, 27 Mar 2007) | 3 lines Changed paths: M /branches/SDL-1.2/Xcode.tar.gz Updated Xcode project files...they referenced the removed amiga headers, so building would fail. ------------------------------------------------------------------------ r2998 | icculus | 2007-03-27 17:36:35 -0700 (Tue, 27 Mar 2007) | 2 lines Changed paths: M /branches/SDL-1.2/include/SDL_config_macosx.h Fixed Mac OS X config header when compiling with -Wundef. ------------------------------------------------------------------------ r2996 | icculus | 2007-03-26 17:37:51 -0700 (Mon, 26 Mar 2007) | 33 lines Changed paths: M /branches/SDL-1.2/include/SDL_config_macosx.h From: Laurence Passmore Date: Mon, 26 Mar 2007 23:22:45 +0100 To: "A list for developers using the SDL library. \(includes SDL-announce\)" Subject: [SDL] SDL_config_macosx.h: MAC_OS_X_VERSION_MIN_REQUIRED Hi, I just compiled my SDL application on Mac OS X with -Wundef and it threw a number of errors. Of note was: SDL_config_macosx.h: 34 warning: "MAC_OS_X_VERSION_MIN_REQUIRED" is not defined Line 34 is: #if ( (MAC_OS_X_VERSION_MIN_REQUIRED >= 1030) || (!defined (__POWERPC__)) ) Now according to this mailing on the Apple developer lists: http://lists.apple.com/archives/Xcode-users/2005/May/msg00602.html that particular #define was removed from the gcc compiler defaults and AvailabilityMacros.h (/usr/include/AvailabilityMacros.h) should be pulled in directly instead. Would someone closer to the Mac OS X version of SDL be willing to make that change please? Thanks. Laurence Passmore Homeworld SDL @ www.homeworldsdl.org ------------------------------------------------------------------------ r2993 | icculus | 2007-03-18 15:37:10 -0700 (Sun, 18 Mar 2007) | 9 lines Changed paths: M /branches/SDL-1.2/src/joystick/darwin/SDL_sysjoystick.c Mac OS X joystick support: don't ignore kHIDUsage_GD_MultiAxisController devices, since they are probably joysticks, or joystick-like things. See 3Dconnexion's SpaceNavigator for an example of such a device: http://www.3dconnexion.com/products/3a1d.php Thanks to Laurence Passmore for the fix. ------------------------------------------------------------------------ r2991 | icculus | 2007-03-13 18:09:24 -0700 (Tue, 13 Mar 2007) | 7 lines Changed paths: M /branches/SDL-1.2/src/video/fbcon/SDL_fbvideo.c Linux fbcon: don't include asm/page.h if we know getpagesize() exists, since we don't need it, and doing so will hit #error lines on some CPU archs. Thanks to Mike Frysinger for the heads up. Fixes Bugzilla #414. ------------------------------------------------------------------------ r2990 | icculus | 2007-02-22 16:37:07 -0800 (Thu, 22 Feb 2007) | 2 lines Changed paths: M /branches/SDL-1.2/src/video/quartz/SDL_QuartzEvents.m Removed some debug printf() calls I accidentally added to Subversion. ------------------------------------------------------------------------ r2989 | icculus | 2007-02-20 14:57:28 -0800 (Tue, 20 Feb 2007) | 2 lines Changed paths: M /branches/SDL-1.2/src/joystick/linux/SDL_sysjoystick.c Merged r2987:2988 from trunk/SDL: buggy Sidewinder ID added to linux joysticks. ------------------------------------------------------------------------ r2986 | icculus | 2007-02-20 13:05:12 -0800 (Tue, 20 Feb 2007) | 5 lines Changed paths: M /branches/SDL-1.2/src/video/directfb/SDL_DirectFB_yuv.c Need to set DLSCL_ADMINISTRATIVE coop level in directfb driver, or YUV overlay creation will fail in newer DirectFB versions. Fixes Bugzilla #394. ------------------------------------------------------------------------ r2985 | icculus | 2007-02-15 20:56:17 -0800 (Thu, 15 Feb 2007) | 7 lines Changed paths: M /branches/SDL-1.2/src/video/wincommon/SDL_syswm.c SDL_SetWindowCaption() on Windows: try to use the unicode SetWindowText() if it exists in user32.dll, and fallback to converting to the current codepage (instead of latin1) if not. Fixes Bugzilla #365. ------------------------------------------------------------------------ r2984 | icculus | 2007-02-15 19:50:42 -0800 (Thu, 15 Feb 2007) | 2 lines Changed paths: M /branches/SDL-1.2/include/SDL_stdinc.h M /branches/SDL-1.2/src/stdlib/SDL_iconv.c Minor const correctness patch to SDL_iconv. ------------------------------------------------------------------------ r2982 | icculus | 2007-02-15 15:50:45 -0800 (Thu, 15 Feb 2007) | 11 lines Changed paths: M /branches/SDL-1.2/configure.in M /branches/SDL-1.2/include/SDL_config.h.in M /branches/SDL-1.2/src/video/fbcon/SDL_fbvideo.c Patched fbcon to compile on newer Linux kernels that don't #define PAGE_SIZE, since a memory page's size may vary on various architectures and kernel configurations. Will use getpagesize() if it exists, the PAGE_SIZE #define from older kernels if that doesn't, and #error out if that's not there either...but it's probably 4096 in that case. We may revisit this. Fixes Bugzilla #392. ------------------------------------------------------------------------ r2980 | icculus | 2007-02-15 03:06:22 -0800 (Thu, 15 Feb 2007) | 5 lines Changed paths: M /branches/SDL-1.2/src/stdlib/SDL_string.c Force chars to unsigned chars in SDL_string.c, so platforms that expect these to not be negative, when not EOF, work. Fixes Bugzilla #338. ------------------------------------------------------------------------ r2978 | icculus | 2007-02-14 02:40:24 -0800 (Wed, 14 Feb 2007) | 7 lines Changed paths: M /branches/SDL-1.2/BUGS Removed the contents of the BUGS file, as most (all?) of the issues were either long-since fixed or something that will never get fixed. The file now points people to Bugzilla and the mailing list. Fixes Bugzilla #352. ------------------------------------------------------------------------ r2976 | icculus | 2007-02-14 02:23:23 -0800 (Wed, 14 Feb 2007) | 9 lines Changed paths: M /branches/SDL-1.2/src/video/quartz/SDL_QuartzEvents.m M /branches/SDL-1.2/src/video/quartz/SDL_QuartzKeys.h Quartz code should use F13, F14, and F15 keys instead of PrintScreen, ScrollLock, and Pause, since that's what's on the standard Apple keyboards (minus the laptops, which have neither set). Ideally we'll find a better way to distinguish this...the keys being replaced would be correct on a USB keyboard for Windows. Sigh. Fixes Bugzilla #301. ------------------------------------------------------------------------ r2963 | icculus | 2007-02-13 01:58:04 -0800 (Tue, 13 Feb 2007) | 4 lines Changed paths: M /branches/SDL-1.2/build-scripts/fatbuild.sh Corrected wrong SDK path in build-scripts/fatbuild.sh. Fixes Bugzilla #377. ------------------------------------------------------------------------ r2961 | icculus | 2007-02-13 01:20:37 -0800 (Tue, 13 Feb 2007) | 2 lines Changed paths: M /branches/SDL-1.2/test/testcursor.c Free all the created cursors in test/testcursor.c. ------------------------------------------------------------------------ r2957 | icculus | 2007-02-12 03:45:18 -0800 (Mon, 12 Feb 2007) | 4 lines Changed paths: M /branches/SDL-1.2/include/SDL_config_win32.h Digital Mars has stdint.h, so use the header on Windows with that compiler. Fixes Bugzilla #376. ------------------------------------------------------------------------ r2955 | icculus | 2007-02-12 02:52:10 -0800 (Mon, 12 Feb 2007) | 5 lines Changed paths: M /branches/SDL-1.2/src/video/SDL_blit_A.c Handle source data alignment correctly in Blit32to32SurfaceAlphaAltivec(). Fixes Bugzilla #279. ------------------------------------------------------------------------ r2953 | icculus | 2007-02-04 22:44:51 -0800 (Sun, 04 Feb 2007) | 2 lines Changed paths: M /branches/SDL-1.2/include/SDL_endian.h M /branches/SDL-1.2/src/video/SDL_blit.c Patched to compile on BeOS and old, old GCC releases. ------------------------------------------------------------------------ r2951 | icculus | 2007-02-03 00:17:12 -0800 (Sat, 03 Feb 2007) | 12 lines Changed paths: M /branches/SDL-1.2/src/loadso/dlopen/SDL_sysloadso.c Actually, this is dumb, just simplify this for now. (But what if this finds the wrong symbol? We really should make this a ./configure test and only do one dlsym or the other depending on the platform...) Reference Bugzilla #354. --ryan. ------------------------------------------------------------------------ r2950 | icculus | 2007-02-03 00:11:45 -0800 (Sat, 03 Feb 2007) | 6 lines Changed paths: M /branches/SDL-1.2/src/loadso/dlopen/SDL_sysloadso.c Moved otherwise-unused underscore-prepending code in dlopen backend into an #ifdef. Fixes Bugzilla #354. ------------------------------------------------------------------------ r2947 | slouken | 2007-01-22 20:47:11 -0800 (Mon, 22 Jan 2007) | 1 line Changed paths: M /branches/SDL-1.2/Makefile.in Updated svn repository ------------------------------------------------------------------------ r2935 | pmandin | 2007-01-14 06:24:36 -0800 (Sun, 14 Jan 2007) | 1 line Changed paths: M /branches/SDL-1.2/src/video/x11/SDL_x11gl.c Add error message if not using SDL_LoadObject ------------------------------------------------------------------------ r2934 | pmandin | 2007-01-11 12:33:13 -0800 (Thu, 11 Jan 2007) | 1 line Changed paths: M /branches/SDL-1.2/src/video/xbios/SDL_xbios.c A /branches/SDL-1.2/src/video/xbios/SDL_xbios_tveille.c A /branches/SDL-1.2/src/video/xbios/SDL_xbios_tveille.h Disable TurboVeille screensaver if present ------------------------------------------------------------------------ r2932 | pmandin | 2007-01-04 11:52:12 -0800 (Thu, 04 Jan 2007) | 1 line Changed paths: M /branches/SDL-1.2/test/README Alpha sort the test list, add missing ones, remove removed ones ------------------------------------------------------------------------ r2926 | icculus | 2006-12-11 11:51:19 -0800 (Mon, 11 Dec 2006) | 4 lines Changed paths: M /branches/SDL-1.2/src/video/gapi/SDL_gapivideo.c Fix of HBITMAP leak in GAPI driver by Dmitry Yakimov. Fixes Bugzilla #371. ------------------------------------------------------------------------ r2923 | icculus | 2006-12-01 12:26:06 -0800 (Fri, 01 Dec 2006) | 2 lines Changed paths: M /branches/SDL-1.2/configure.in Merge r2921:2922 from SDL trunk to 1.2 branch: mingw alloca.h workaround. ------------------------------------------------------------------------ r2919 | icculus | 2006-11-29 02:30:05 -0800 (Wed, 29 Nov 2006) | 3 lines Changed paths: M /branches/SDL-1.2/include/SDL_stdinc.h Wrapped some macro params in parentheses for alloca wrappers. Thansk, Suzuki Masahiro. ------------------------------------------------------------------------ r2914 | icculus | 2006-11-21 15:17:00 -0800 (Tue, 21 Nov 2006) | 37 lines Changed paths: M /branches/SDL-1.2/src/video/SDL_blit_A.c From: Gabriel Gambetta To: SDL Mailing List Date: Fri, 17 Nov 2006 00:39:29 -0200 Subject: [SDL] Alpha blending bug - fixed? It turns out mm5 never got the correct value. This failed : [...] "movd %1, %%mm5\n\t" : : "m" (amask), "m" (sf->Ashift) ); mm5 got 0xFF000018 instead of 0x00000018. However I did this : Uint32 ashift = sf->Ashift; [...] "movd %1, %%mm5\n\t" : : "m" (amask), "m" (ashift) ); and everything worked fine. The only thing I could find out was that ashift is 32-bit aligned but sf->Ashift isn't: printf("ashift %8X [%d]\n", &ashift, (int)(&ashift) % 4); printf("sf->Ashift %8X [%d]\n", &sf->Ashift, (int)(&sf->Ashift) % 4); ashift at BFF0E0C4 [0] sf->Ashift at 08AFB9CD [1] Could this be the problem? If it is, the fix is extremely trivial. Should I submit a patch? --Gabriel ------------------------------------------------------------------------ r2913 | icculus | 2006-11-21 12:49:35 -0800 (Tue, 21 Nov 2006) | 2 lines Changed paths: M /branches/SDL-1.2 Added sdl.pc to svn:ignore. ------------------------------------------------------------------------ r2912 | pmandin | 2006-11-19 06:07:32 -0800 (Sun, 19 Nov 2006) | 1 line Changed paths: M /branches/SDL-1.2/src/video/SDL_cursor.c Check video driver mouse cursor pointers before using them ------------------------------------------------------------------------ r2909 | icculus | 2006-11-12 19:58:22 -0800 (Sun, 12 Nov 2006) | 6 lines Changed paths: M /branches/SDL-1.2/src/video/x11/SDL_x11wm.c X11 backend: tell app that mouse focus has been obtained when grabbing the input. This allows us to enable DGA mode, even when the system cursor was outside of the window when the grab was initiated. Fixes Bugzilla #299, which has a more detailed explanation of the issue. ------------------------------------------------------------------------ r2907 | icculus | 2006-11-12 13:23:57 -0800 (Sun, 12 Nov 2006) | 3 lines Changed paths: M /branches/SDL-1.2/src/audio/dsp/SDL_dspaudio.c Block fruity channel values in dspaudio, or the fragment size won't be a power of 2. ------------------------------------------------------------------------ r2904 | icculus | 2006-11-07 07:17:31 -0800 (Tue, 07 Nov 2006) | 3 lines Changed paths: M /branches/SDL-1.2/src/loadso/beos/SDL_sysloadso.c BeOS loadso code now reports failure correctly from SDL_LoadObject(), and uses the system to provide text for SDL_SetError(). ------------------------------------------------------------------------ r2902 | icculus | 2006-11-07 07:00:43 -0800 (Tue, 07 Nov 2006) | 1 line Changed paths: M /branches/SDL-1.2/test/testloadso.c Man, who let this moron near printf()?! :) ------------------------------------------------------------------------ r2900 | icculus | 2006-11-07 06:31:25 -0800 (Tue, 07 Nov 2006) | 2 lines Changed paths: M /branches/SDL-1.2/test M /branches/SDL-1.2/test/Makefile.in A /branches/SDL-1.2/test/testloadso.c Added a test program for loadso subsystem. ------------------------------------------------------------------------ r2899 | icculus | 2006-11-07 06:06:25 -0800 (Tue, 07 Nov 2006) | 3 lines Changed paths: M /branches/SDL-1.2/src/video/bwindow/SDL_sysyuv.cc Chopped out some code to match changes in revision #2793 to fix build...but I think this just breaks fullscreen YUV rendering. ------------------------------------------------------------------------ r2898 | icculus | 2006-11-03 13:52:54 -0800 (Fri, 03 Nov 2006) | 5 lines Changed paths: M /branches/SDL-1.2/configure.in Merged r2896:2897 from trunk (use dummy joystick if subsystem enabled and no platform-specific driver exists). Fixes Bugzilla #356 (and maybe Bugzilla #350). ------------------------------------------------------------------------ r2892 | icculus | 2006-10-28 21:08:50 -0700 (Sat, 28 Oct 2006) | 2 lines Changed paths: M /branches/SDL-1.2/include/SDL_config.h.in M /branches/SDL-1.2/src/audio/SDL_sysaudio.h M /branches/SDL-1.2/src/video/SDL_sysvideo.h A few more AmigaOS things. ------------------------------------------------------------------------ r2891 | icculus | 2006-10-28 20:58:27 -0700 (Sat, 28 Oct 2006) | 5 lines Changed paths: M /branches/SDL-1.2/BUGS M /branches/SDL-1.2/README M /branches/SDL-1.2/README.AmigaOS M /branches/SDL-1.2/include/SDL_config.h.default M /branches/SDL-1.2/include/SDL_config.h.in D /branches/SDL-1.2/include/SDL_config_amiga.h M /branches/SDL-1.2/include/SDL_platform.h M /branches/SDL-1.2/src/audio/SDL_audio.c D /branches/SDL-1.2/src/audio/amigaos D /branches/SDL-1.2/src/joystick/amigaos M /branches/SDL-1.2/src/thread/SDL_thread_c.h D /branches/SDL-1.2/src/thread/amigaos D /branches/SDL-1.2/src/timer/amigaos M /branches/SDL-1.2/src/video/SDL_video.c D /branches/SDL-1.2/src/video/cybergfx M /branches/SDL-1.2/test/testplatform.c Removed broken AmigaOS support. Fixes Bugzilla #337. ------------------------------------------------------------------------ r2890 | icculus | 2006-10-28 20:44:25 -0700 (Sat, 28 Oct 2006) | 2 lines Changed paths: M /branches/SDL-1.2/test Added some newer binaries to svn:ignore. ------------------------------------------------------------------------ r2888 | icculus | 2006-10-28 20:37:24 -0700 (Sat, 28 Oct 2006) | 6 lines Changed paths: M /branches/SDL-1.2/src/joystick/win32/SDL_mmjoystick.c joyGetPosEx() was using the wrong variable for specifying a device; this is corrected now. (thanks, Ondrej!) Fixes Bugzilla #267. ------------------------------------------------------------------------ r2887 | icculus | 2006-10-28 19:46:42 -0700 (Sat, 28 Oct 2006) | 2 lines Changed paths: M /branches/SDL-1.2/src/video/Xext/XME/xme.c M /branches/SDL-1.2/src/video/Xext/extensions/xme.h M /branches/SDL-1.2/src/video/x11/SDL_x11video.c Closing minor memory leak in XME code. ------------------------------------------------------------------------ r2878 | icculus | 2006-10-27 13:18:24 -0700 (Fri, 27 Oct 2006) | 6 lines Changed paths: M /branches/SDL-1.2/src/audio/SDL_audio.c Fix for buffer overflow in audio code, when feeding a device that needs resampling. Fixes Bugzilla #298. ------------------------------------------------------------------------ r2876 | pmandin | 2006-10-21 11:53:33 -0700 (Sat, 21 Oct 2006) | 1 line Changed paths: M /branches/SDL-1.2/src/timer/mint/SDL_systimer.c M /branches/SDL-1.2/src/timer/mint/SDL_vbltimer.S Also save/restore fpu register in vbl interrupt ------------------------------------------------------------------------ r2802 | slouken | 2006-09-30 19:30:03 -0700 (Sat, 30 Sep 2006) | 1 line Changed paths: M /branches/SDL-1.2/src/video/SDL_video.c backport from 1.3 ------------------------------------------------------------------------ r2800 | icculus | 2006-09-30 19:07:09 -0700 (Sat, 30 Sep 2006) | 3 lines Changed paths: M /branches/SDL-1.2/src/audio/SDL_audio.c 1.2 backport: Replaced strncmp for SDL_AUDIODRIVER test with strcasecmp. Fixes Bugzilla #334. ------------------------------------------------------------------------ r2795 | slouken | 2006-09-24 08:45:37 -0700 (Sun, 24 Sep 2006) | 15 lines Changed paths: M /branches/SDL-1.2/src/audio/SDL_audiocvt.c Fixed bug #292 I might be on crack here. It looks like SDL_ConvertMono() in src/audio/SDL_audiocvt.c adds the left and right channels of a stereo stream together, and clamps the new mono channel if it would overflow. Shouldn't it be dividing by 2 to average the two sample points instead of clamping? Otherwise the mono sample point's volume doubles in the conversion. This would also make the conversion faster, as it replaces two branches per sample frame with a bitwise shift. --ryan. ------------------------------------------------------------------------ r2794 | slouken | 2006-09-24 08:36:37 -0700 (Sun, 24 Sep 2006) | 2 lines Changed paths: M /branches/SDL-1.2/src/video/bwindow/SDL_sysmouse.cc Fixed formatting ------------------------------------------------------------------------ r2793 | slouken | 2006-09-24 08:31:42 -0700 (Sun, 24 Sep 2006) | 9 lines Changed paths: M /branches/SDL-1.2/src/video/bwindow/SDL_BView.h M /branches/SDL-1.2/src/video/bwindow/SDL_BWin.h M /branches/SDL-1.2/src/video/bwindow/SDL_sysevents.cc M /branches/SDL-1.2/src/video/bwindow/SDL_sysmouse.cc M /branches/SDL-1.2/src/video/bwindow/SDL_sysmouse_c.h M /branches/SDL-1.2/src/video/bwindow/SDL_sysvideo.cc M /branches/SDL-1.2/src/video/bwindow/SDL_syswm.cc M /branches/SDL-1.2/src/video/bwindow/SDL_syswm_c.h Fixed bug #286 Date: Thu, 9 Feb 2006 17:06:51 +0300 From: "Oleg K [BeSman]" Subject: BeOS SDL patches Hello all. My name is Oleg K. [BeSman], Im a BeOS user from Russia.This mail contain a BeOs-specific patches to SDL (implementation of InputGrabbing and mouse_relative mode). See the source in attached file for details. ------------------------------------------------------------------------ r2792 | slouken | 2006-09-23 18:27:40 -0700 (Sat, 23 Sep 2006) | 26 lines Changed paths: M /branches/SDL-1.2/src/video/quartz/SDL_QuartzVideo.h M /branches/SDL-1.2/src/video/quartz/SDL_QuartzVideo.m Fixed bug #281 ------- Comment #2 From Christian Walther 2006-07-23 07:37 [reply] ------- Wow, that was an interesting bug to chase. It was a timing issue: it seems that for some reason, a certain time must pass between ShowMenuBar() being called in QZ_UnsetVideoMode() and the application quitting. Before rev. 1885, this delay was provided by the slow hand-coded fade. With the asynchronous Core Graphics fading introduced in rev. 1885, that delay was no longer present (most of the time) and the bug became apparent. Adding an SDL_Delay(100) somewhere between ShowMenuBar() and the end of QZ_VideoQuit() lowered the frequency of the bug appearing from "almost every time" to "very rarely" here. However, there is another solution: doing the ShowMenuBar() before releasing the captured display instead of afterwards. Apparently, no delay is necessary in that case, and it looks nicer to me anyway because it is the reverse order of the way things are set up in the beginning: capture display - set video mode - hide menu bar - ... - show menu bar - reset video mode - release captured display. So, this is what the attached patch does. In addition, I've taken the liberty of - removing some unused code that I forgot to remove in rev. 1885, - fixing two warnings about undeclared functions in SDL_QuartzVideo.m by including OpenGL.h (whose name is a bit misleading - it only declares CGL stuff, so there's no interference with SDL_opengl.h). ------------------------------------------------------------------------ r2790 | slouken | 2006-09-23 17:55:00 -0700 (Sat, 23 Sep 2006) | 3 lines Changed paths: M /branches/SDL-1.2/src/audio/ums/SDL_umsaudio.c Fixed bug #316 Looks like this is a long standing typo... is this code even used anymore? ------------------------------------------------------------------------ r2788 | slouken | 2006-09-23 17:43:36 -0700 (Sat, 23 Sep 2006) | 10 lines Changed paths: M /branches/SDL-1.2/configure.in Fixed bug #321 Hi, if "configure" is given an explicit --libdir, the sdl-config still contains the default "${exec_prefix}/lib" for runtime linker path. That should be changed to $libdir, as this is where the library goes to... Regards, Juergen ------------------------------------------------------------------------ r2786 | slouken | 2006-09-23 17:36:24 -0700 (Sat, 23 Sep 2006) | 3 lines Changed paths: M /branches/SDL-1.2/docs/html/sdlsetcursor.html M /branches/SDL-1.2/docs/man3/SDL_SetCursor.3 Fixed bug #270 SDL_SetCursor returns void, not void* ------------------------------------------------------------------------ r2785 | slouken | 2006-09-23 17:10:59 -0700 (Sat, 23 Sep 2006) | 2 lines Changed paths: M /branches/SDL-1.2/VisualC.zip M /branches/SDL-1.2/configure.in M /branches/SDL-1.2/include/SDL_version.h Bumped the version in subversion to 1.2.12 ------------------------------------------------------------------------ r2784 | slouken | 2006-09-23 17:08:28 -0700 (Sat, 23 Sep 2006) | 3 lines Changed paths: M /branches/SDL-1.2/include/SDL_syswm.h M /branches/SDL-1.2/src/video/x11/SDL_x11wm.c Fixed bug #278 Added the GFX_Display to the wminfo structure, contributed by Eric ------------------------------------------------------------------------ r2783 | slouken | 2006-09-23 17:04:06 -0700 (Sat, 23 Sep 2006) | 4 lines Changed paths: M /branches/SDL-1.2/src/video/quartz/SDL_QuartzYUV.m Fixed bug #276 PlanarPixmapInfoYUV420 is a big endian structure. Fix contributed by Jean-Charles BERTIN ------------------------------------------------------------------------ r2781 | slouken | 2006-09-23 16:15:34 -0700 (Sat, 23 Sep 2006) | 1 line Changed paths: M /branches/SDL-1.2/src/video/SDL_blit_A.c Removed an inline keyword. ------------------------------------------------------------------------ r2780 | slouken | 2006-09-23 16:12:44 -0700 (Sat, 23 Sep 2006) | 4 lines Changed paths: M /branches/SDL-1.2/src/video/wincommon/SDL_syswm.c Fixed bug #304 WinCE - refactoring of hardware buttons handling Contributed by Dmitry Yakimov ------------------------------------------------------------------------ r2779 | slouken | 2006-09-23 16:07:52 -0700 (Sat, 23 Sep 2006) | 4 lines Changed paths: M /branches/SDL-1.2/src/video/windib/SDL_dibevents.c M /branches/SDL-1.2/src/video/windib/SDL_dibvideo.c M /branches/SDL-1.2/test/testalpha.c Fixed bug #294 Can't build SDL 1.2.11(and svn) for Pocket PC 2003 with Visual Studio 2005 Fix contributed by Dmitry Yakimov ------------------------------------------------------------------------ r2767 | pmandin | 2006-09-16 05:00:03 -0700 (Sat, 16 Sep 2006) | 1 line Changed paths: M /branches/SDL-1.2/src/audio/mint/SDL_mintaudio_it.S Forgot cpu boundaries ------------------------------------------------------------------------ r2766 | pmandin | 2006-09-16 04:50:34 -0700 (Sat, 16 Sep 2006) | 1 line Changed paths: M /branches/SDL-1.2/src/audio/mint/SDL_mintaudio_it.S Save/restore fpu registers if needed ------------------------------------------------------------------------ r2765 | pmandin | 2006-09-16 03:38:09 -0700 (Sat, 16 Sep 2006) | 1 line Changed paths: M /branches/SDL-1.2/src/audio/mint/SDL_mintaudio.c M /branches/SDL-1.2/src/audio/mint/SDL_mintaudio.h M /branches/SDL-1.2/src/audio/mint/SDL_mintaudio_dma8.c M /branches/SDL-1.2/src/audio/mint/SDL_mintaudio_gsxb.c M /branches/SDL-1.2/src/audio/mint/SDL_mintaudio_mcsn.c M /branches/SDL-1.2/src/audio/mint/SDL_mintaudio_stfa.c M /branches/SDL-1.2/src/audio/mint/SDL_mintaudio_xbios.c Add function to check FPU presence ------------------------------------------------------------------------ r2764 | pmandin | 2006-09-16 02:15:11 -0700 (Sat, 16 Sep 2006) | 1 line Changed paths: M /branches/SDL-1.2/src/audio/mint/SDL_mintaudio_it.S Only saved non preserved registers ------------------------------------------------------------------------ r2763 | pmandin | 2006-09-16 02:14:25 -0700 (Sat, 16 Sep 2006) | 1 line Changed paths: M /branches/SDL-1.2/src/audio/SDL_audiocvt.c Only convert endianness if both src and dest are 16bits ------------------------------------------------------------------------ r2762 | pmandin | 2006-09-15 14:26:36 -0700 (Fri, 15 Sep 2006) | 1 line Changed paths: M /branches/SDL-1.2/README.MiNT Update to reflect driver changes ------------------------------------------------------------------------ r2761 | pmandin | 2006-09-13 14:19:13 -0700 (Wed, 13 Sep 2006) | 1 line Changed paths: M /branches/SDL-1.2/src/video/gem/SDL_gemevents.c Use new keyboard mapping routines ------------------------------------------------------------------------ r2760 | pmandin | 2006-09-13 14:18:35 -0700 (Wed, 13 Sep 2006) | 1 line Changed paths: M /branches/SDL-1.2/src/video/ataricommon/SDL_atarievents.c M /branches/SDL-1.2/src/video/ataricommon/SDL_atarievents_c.h M /branches/SDL-1.2/src/video/ataricommon/SDL_biosevents.c M /branches/SDL-1.2/src/video/ataricommon/SDL_gemdosevents.c M /branches/SDL-1.2/src/video/ataricommon/SDL_ikbdevents.c Factorize keyboard mapping between drivers ------------------------------------------------------------------------ r2755 | pmandin | 2006-09-12 12:34:18 -0700 (Tue, 12 Sep 2006) | 1 line Changed paths: M /branches/SDL-1.2/src/video/gem/SDL_gemmouse.c M /branches/SDL-1.2/src/video/gem/SDL_gemwm.c Allow grabing mouse by locking its position ------------------------------------------------------------------------ r2754 | pmandin | 2006-09-12 12:33:33 -0700 (Tue, 12 Sep 2006) | 1 line Changed paths: M /branches/SDL-1.2/src/video/gem/SDL_gemvideo.c Reenable xbios usage to get relative mouse motion ------------------------------------------------------------------------ r2753 | pmandin | 2006-09-12 12:28:54 -0700 (Tue, 12 Sep 2006) | 1 line Changed paths: M /branches/SDL-1.2/src/video/ataricommon/SDL_xbiosevents.c M /branches/SDL-1.2/src/video/ataricommon/SDL_xbiosevents_c.h M /branches/SDL-1.2/src/video/ataricommon/SDL_xbiosinterrupt.S M /branches/SDL-1.2/src/video/ataricommon/SDL_xbiosinterrupt_s.h Allow mouse to be locked when grabbed with GEM driver ------------------------------------------------------------------------ r2751 | pmandin | 2006-09-12 12:20:50 -0700 (Tue, 12 Sep 2006) | 1 line Changed paths: M /branches/SDL-1.2/src/audio/mint/SDL_mintaudio_xbios.c Disable MiNT thread usage and use hw access for updating DMA audio pointers ------------------------------------------------------------------------ r2748 | pmandin | 2006-09-08 12:17:03 -0700 (Fri, 08 Sep 2006) | 1 line Changed paths: M /branches/SDL-1.2/src/video/gem/SDL_gemmouse.c Forgot to reshow mouse cursor when exiting grab/hide mode ------------------------------------------------------------------------ r2747 | pmandin | 2006-09-07 13:52:31 -0700 (Thu, 07 Sep 2006) | 1 line Changed paths: M /branches/SDL-1.2/src/video/ataricommon/SDL_biosevents.c M /branches/SDL-1.2/src/video/ataricommon/SDL_gemdosevents.c M /branches/SDL-1.2/src/video/ataricommon/SDL_ikbdevents.c M /branches/SDL-1.2/src/video/gem/SDL_gemevents.c /me dumb, sizeof(keymap) != number of elements ------------------------------------------------------------------------ r2744 | pmandin | 2006-09-05 12:31:48 -0700 (Tue, 05 Sep 2006) | 1 line Changed paths: M /branches/SDL-1.2/src/cdrom/linux/SDL_syscdrom.c Use correct function to free allocated mem ------------------------------------------------------------------------ r2742 | icculus | 2006-09-03 14:34:11 -0700 (Sun, 03 Sep 2006) | 2 lines Changed paths: M /branches/SDL-1.2/src/audio/amigaos/SDL_ahiaudio.c M /branches/SDL-1.2/src/audio/baudio/SDL_beaudio.cc M /branches/SDL-1.2/src/audio/dart/SDL_dart.c M /branches/SDL-1.2/src/audio/dc/SDL_dcaudio.c M /branches/SDL-1.2/src/audio/dmedia/SDL_irixaudio.c M /branches/SDL-1.2/src/audio/mint/SDL_mintaudio_gsxb.c Removed some new 1.3 symbols from code backported to 1.2. ------------------------------------------------------------------------ r2739 | icculus | 2006-09-01 15:50:24 -0700 (Fri, 01 Sep 2006) | 4 lines Changed paths: M /branches/SDL-1.2/src/audio/amigaos/SDL_ahiaudio.c M /branches/SDL-1.2/src/audio/baudio/SDL_beaudio.cc M /branches/SDL-1.2/src/audio/dart/SDL_dart.c M /branches/SDL-1.2/src/audio/dc/SDL_dcaudio.c M /branches/SDL-1.2/src/audio/dmedia/SDL_irixaudio.c M /branches/SDL-1.2/src/audio/mint/SDL_mintaudio_dma8.c M /branches/SDL-1.2/src/audio/mint/SDL_mintaudio_gsxb.c M /branches/SDL-1.2/src/audio/mint/SDL_mintaudio_mcsn.c M /branches/SDL-1.2/src/audio/mint/SDL_mintaudio_stfa.c M /branches/SDL-1.2/src/audio/mint/SDL_mintaudio_xbios.c Backport from 1.3: most of the audio drivers can now handle data conversion at a higher level when they can't open the hardware in the exact format requested. ------------------------------------------------------------------------ r2684 | pmandin | 2006-08-02 14:26:31 -0700 (Wed, 02 Aug 2006) | 1 line Changed paths: M /branches/SDL-1.2/README.MiNT M /branches/SDL-1.2/src/joystick/mint/SDL_sysjoystick.c Add teamtap support (4 joypads adapter on 1 port) ------------------------------------------------------------------------ r2654 | icculus | 2006-07-24 16:29:01 -0700 (Mon, 24 Jul 2006) | 2 lines Changed paths: M /branches/SDL-1.2/src/video/qtopia/SDL_sysvideo.cc Patched to compile. Fixes Bugzilla #285. ------------------------------------------------------------------------ r2610 | slouken | 2006-07-10 14:23:11 -0700 (Mon, 10 Jul 2006) | 1 line Changed paths: M /branches/SDL-1.2/Makefile.in Updated the snapshot build target to reflect the new source location ------------------------------------------------------------------------ r2608 | slouken | 2006-07-10 14:03:59 -0700 (Mon, 10 Jul 2006) | 2 lines Changed paths: A /branches/SDL-1.2 (from /trunk/SDL:2607) D /trunk/SDL SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head. ------------------------------------------------------------------------ r2596 | pmandin | 2006-07-06 11:01:37 -0700 (Thu, 06 Jul 2006) | 1 line Changed paths: M /trunk/SDL/Makefile.in sdl.pc is in build directory, not source