Wed, 20 Jul 2005 17:40:58 +0000 Reserve space in system buffer to call XBIOS from interrupt
Patrice Mandin <patmandin@gmail.com> [Wed, 20 Jul 2005 17:40:58 +0000] rev 1096
Reserve space in system buffer to call XBIOS from interrupt
Wed, 20 Jul 2005 17:39:10 +0000 XBIOS in interrupt not usable under MiNT
Patrice Mandin <patmandin@gmail.com> [Wed, 20 Jul 2005 17:39:10 +0000] rev 1095
XBIOS in interrupt not usable under MiNT
Mon, 18 Jul 2005 13:42:57 +0000 Set hardware palette to black in True Colour mode
Patrice Mandin <patmandin@gmail.com> [Mon, 18 Jul 2005 13:42:57 +0000] rev 1094
Set hardware palette to black in True Colour mode
Sun, 17 Jul 2005 07:11:43 +0000 Save all registers on interrupt
Patrice Mandin <patmandin@gmail.com> [Sun, 17 Jul 2005 07:11:43 +0000] rev 1093
Save all registers on interrupt
Thu, 07 Jul 2005 22:51:59 +0000 Forgot variable declaration
Patrice Mandin <patmandin@gmail.com> [Thu, 07 Jul 2005 22:51:59 +0000] rev 1092
Forgot variable declaration
Thu, 07 Jul 2005 15:29:38 +0000 Correctly process top/bottom event messages
Patrice Mandin <patmandin@gmail.com> [Thu, 07 Jul 2005 15:29:38 +0000] rev 1091
Correctly process top/bottom event messages
Thu, 07 Jul 2005 15:06:38 +0000 Send window to the bottom
Patrice Mandin <patmandin@gmail.com> [Thu, 07 Jul 2005 15:06:38 +0000] rev 1090
Send window to the bottom
Thu, 07 Jul 2005 13:38:22 +0000 Don't use both mouse events for the same task
Patrice Mandin <patmandin@gmail.com> [Thu, 07 Jul 2005 13:38:22 +0000] rev 1089
Don't use both mouse events for the same task
Thu, 07 Jul 2005 12:10:30 +0000 Don't generate multiple mouse focus events
Patrice Mandin <patmandin@gmail.com> [Thu, 07 Jul 2005 12:10:30 +0000] rev 1088
Don't generate multiple mouse focus events
Fri, 01 Jul 2005 15:39:23 +0000 Document IKBD hardware problem with mouse buttons and joystick fire buttons
Patrice Mandin <patmandin@gmail.com> [Fri, 01 Jul 2005 15:39:23 +0000] rev 1087
Document IKBD hardware problem with mouse buttons and joystick fire buttons
Thu, 30 Jun 2005 12:03:19 +0000 Cleanup C2P routine
Patrice Mandin <patmandin@gmail.com> [Thu, 30 Jun 2005 12:03:19 +0000] rev 1086
Cleanup C2P routine
Thu, 30 Jun 2005 12:02:25 +0000 4bits screen also has hardware palette
Patrice Mandin <patmandin@gmail.com> [Thu, 30 Jun 2005 12:02:25 +0000] rev 1085
4bits screen also has hardware palette
Thu, 30 Jun 2005 08:20:53 +0000 Was not using firstcolor parameter
Patrice Mandin <patmandin@gmail.com> [Thu, 30 Jun 2005 08:20:53 +0000] rev 1084
Was not using firstcolor parameter
Wed, 29 Jun 2005 20:38:56 +0000 Direct newbies to what to do
Patrice Mandin <patmandin@gmail.com> [Wed, 29 Jun 2005 20:38:56 +0000] rev 1083
Direct newbies to what to do
Wed, 29 Jun 2005 20:32:46 +0000 Avoid generating multiple key press/release messages for the same key
Patrice Mandin <patmandin@gmail.com> [Wed, 29 Jun 2005 20:32:46 +0000] rev 1082
Avoid generating multiple key press/release messages for the same key
Wed, 29 Jun 2005 16:18:46 +0000 Call old interrupt when receiving MIDI stuff
Patrice Mandin <patmandin@gmail.com> [Wed, 29 Jun 2005 16:18:46 +0000] rev 1081
Call old interrupt when receiving MIDI stuff
Wed, 29 Jun 2005 16:18:08 +0000 Remove debug code
Patrice Mandin <patmandin@gmail.com> [Wed, 29 Jun 2005 16:18:08 +0000] rev 1080
Remove debug code
Sat, 25 Jun 2005 18:21:13 +0000 Forgot enumeration value for Atari clones
Patrice Mandin <patmandin@gmail.com> [Sat, 25 Jun 2005 18:21:13 +0000] rev 1079
Forgot enumeration value for Atari clones
Fri, 24 Jun 2005 12:48:38 +0000 Patch from Antonio SJ Musumeci:
Ryan C. Gordon <icculus@icculus.org> [Fri, 24 Jun 2005 12:48:38 +0000] rev 1078
Patch from Antonio SJ Musumeci: " This code with SDL-1.2.8 and CVS: #include <stdio.h> #include <stdlib.h> #include <SDL.h> int main(int argc, char** argv) { char alphabet[26] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; char buffer_file[27] = {0}; char buffer_mem[27] = {0}; int rv_file; int rv_mem; FILE* file_ptr; SDL_RWops* rwop_file; SDL_RWops* rwop_mem; file_ptr = fopen("./blah", "w"); fwrite(alphabet, 1, sizeof(alphabet), file_ptr); fclose(file_ptr); rwop_mem = SDL_RWFromMem(alphabet, sizeof(alphabet)); rwop_file = SDL_RWFromFile("./blah", "r"); rv_mem = SDL_RWread(rwop_mem , buffer_mem, 5, 6); rv_file = SDL_RWread(rwop_file, buffer_file, 5, 6); printf("From File: %d %s\n" "From Mem: %d %s\n", rv_file, buffer_file, rv_mem, buffer_mem); printf("Seek end of File: %d\n" "Seek end of Mem: %d\n", SDL_RWseek(rwop_file, 0, SEEK_END), SDL_RWseek(rwop_mem , 0, SEEK_END)); SDL_RWclose(rwop_file); SDL_RWclose(rwop_mem); return 0; } Produces this output: From File: 5 ABCDEFGHIJKLMNOPQRSTUVWXYZ From Mem: 5 ABCDEFGHIJKLMNOPQRSTUVWXY Seek end of File: 26 Seek end of Mem: 26 " --ryan.
Wed, 15 Jun 2005 23:41:57 +0000 The Darwin/MacOSX joystick code is largely copied from the HID Utilities
Ryan C. Gordon <icculus@icculus.org> [Wed, 15 Jun 2005 23:41:57 +0000] rev 1077
The Darwin/MacOSX joystick code is largely copied from the HID Utilities package...make the symbols defined by HID Utilities static inside SDL so that an app can link against their own copy of this package without symbol clash.
Sun, 12 Jun 2005 16:12:55 +0000 [PATCH] SDL_GetVideoMode() do not find the best video mode
Patrice Mandin <patmandin@gmail.com> [Sun, 12 Jun 2005 16:12:55 +0000] rev 1076
[PATCH] SDL_GetVideoMode() do not find the best video mode The current GetVideoMode() function stops at the first mode which has any dimensions smaller than the one asked, and gives the previous in the list. If I ask 336x224 with this list: 768x480 768x240 640x400 640x200 384x480 384x240 320x400 320x200 SDL will give me 640x400, because 640x200 as height smaller than what I asked. However the best mode is the smaller which has both dimensions bigger than the one asked (384x240 in my example). This patch fixes this, plus it does not rely on a sorted video mode list.
Tue, 07 Jun 2005 13:30:06 +0000 Use wrong line length of menubar save buffer
Patrice Mandin <patmandin@gmail.com> [Tue, 07 Jun 2005 13:30:06 +0000] rev 1075
Use wrong line length of menubar save buffer
Tue, 07 Jun 2005 11:52:46 +0000 Save/restore system palette when application topped/untopped
Patrice Mandin <patmandin@gmail.com> [Tue, 07 Jun 2005 11:52:46 +0000] rev 1074
Save/restore system palette when application topped/untopped
Mon, 06 Jun 2005 21:50:26 +0000 Another forgotten variable declaration
Patrice Mandin <patmandin@gmail.com> [Mon, 06 Jun 2005 21:50:26 +0000] rev 1073
Another forgotten variable declaration
Mon, 06 Jun 2005 16:54:03 +0000 Use correct system function to free memory
Patrice Mandin <patmandin@gmail.com> [Mon, 06 Jun 2005 16:54:03 +0000] rev 1072
Use correct system function to free memory
Mon, 06 Jun 2005 16:36:18 +0000 SDL will center surface on screen for us
Patrice Mandin <patmandin@gmail.com> [Mon, 06 Jun 2005 16:36:18 +0000] rev 1071
SDL will center surface on screen for us
Mon, 06 Jun 2005 10:45:53 +0000 Forgot variable declaration
Patrice Mandin <patmandin@gmail.com> [Mon, 06 Jun 2005 10:45:53 +0000] rev 1070
Forgot variable declaration
Mon, 06 Jun 2005 10:27:22 +0000 Restore and save menu bar when entering and exiting fullscreen mode
Patrice Mandin <patmandin@gmail.com> [Mon, 06 Jun 2005 10:27:22 +0000] rev 1069
Restore and save menu bar when entering and exiting fullscreen mode
Mon, 06 Jun 2005 10:26:40 +0000 Can not grab mouse
Patrice Mandin <patmandin@gmail.com> [Mon, 06 Jun 2005 10:26:40 +0000] rev 1068
Can not grab mouse
Fri, 03 Jun 2005 08:18:55 +0000 Better mouse lose/gain focus
Patrice Mandin <patmandin@gmail.com> [Fri, 03 Jun 2005 08:18:55 +0000] rev 1067
Better mouse lose/gain focus
Thu, 02 Jun 2005 22:02:18 +0000 Resize window to fit asked video mode
Patrice Mandin <patmandin@gmail.com> [Thu, 02 Jun 2005 22:02:18 +0000] rev 1066
Resize window to fit asked video mode
Thu, 02 Jun 2005 22:00:48 +0000 Enable/disable mouse focus
Patrice Mandin <patmandin@gmail.com> [Thu, 02 Jun 2005 22:00:48 +0000] rev 1065
Enable/disable mouse focus
Tue, 31 May 2005 12:31:11 +0000 Add Centscreen extended modes support
Patrice Mandin <patmandin@gmail.com> [Tue, 31 May 2005 12:31:11 +0000] rev 1064
Add Centscreen extended modes support
Fri, 20 May 2005 20:37:28 +0000 Used wrong offset in joystick packet
Patrice Mandin <patmandin@gmail.com> [Fri, 20 May 2005 20:37:28 +0000] rev 1063
Used wrong offset in joystick packet
Fri, 20 May 2005 07:34:34 +0000 Date: Tue, 22 Mar 2005 23:50:20 +0100
Sam Lantinga <slouken@libsdl.org> [Fri, 20 May 2005 07:34:34 +0000] rev 1062
Date: Tue, 22 Mar 2005 23:50:20 +0100 From: Johannes Schmidt Subject: [PATCH] Re: [SDL] SDL 1.2.8 Prerelease On Saturday 18 December 2004 13:59, Stephane Marchesin wrote: > >#error "The kernel sources in /usr/src/linux are not yet configured." > >#error "Please run 'make cloneconfig && make dep' in /usr/src/linux/" > >#error "to get a kernel that is configured like the running kernel." > >#error "Alternatively, you can copy one of the config files" > >#error "arch/$ARCH/defconfig.* to .config, and run" > >#error "'make oldconfig && make dep' to configure the kernel" > >#error "for that configuration." > >- > > That's the Suse kernel sources... > I think the only way out is to add a test in ./configure Attached is a patch (it works for me[TM]) which adds a CheckLinuxVersion() to configure.in and a check for HAVE_LINUX_VERSION_H to src/cdrom/linux/SDL_syscdrom.c.
Wed, 18 May 2005 17:02:17 +0000 Add Falcon Centscreen extension support
Patrice Mandin <patmandin@gmail.com> [Wed, 18 May 2005 17:02:17 +0000] rev 1061
Add Falcon Centscreen extension support
Mon, 16 May 2005 08:23:34 +0000 Support SDL_VIDEO_X11_NODIRECTCOLOR for OpenGL visuals
Sam Lantinga <slouken@libsdl.org> [Mon, 16 May 2005 08:23:34 +0000] rev 1060
Support SDL_VIDEO_X11_NODIRECTCOLOR for OpenGL visuals
Mon, 16 May 2005 07:43:46 +0000 Date: Tue, 10 May 2005 22:15:25 +0100
Sam Lantinga <slouken@libsdl.org> [Mon, 16 May 2005 07:43:46 +0000] rev 1059
Date: Tue, 10 May 2005 22:15:25 +0100 From: Peter Naulls Subject: RISC OS SDL patch Some of the RISC OS audio code is no longer used do to the switch to /dev/dsp, and can be removed as per the attached diff.
Mon, 16 May 2005 05:55:17 +0000 Eh, more correct.
Sam Lantinga <slouken@libsdl.org> [Mon, 16 May 2005 05:55:17 +0000] rev 1058
Eh, more correct.
Mon, 16 May 2005 05:34:58 +0000 Date: Mon, 02 May 2005 04:23:16 -0500
Sam Lantinga <slouken@libsdl.org> [Mon, 16 May 2005 05:34:58 +0000] rev 1057
Date: Mon, 02 May 2005 04:23:16 -0500 From: Jonathan Atkins Subject: Re: [PATCH] *CRITICAL* 8bit direct RGB palette not being created I think that SDL_AllocFormat should create the palette for all 8bit surfaces. And when the RGBAmasks match the normal 3:3:2:0 we need to apply the old behavior. If the mask doesn't match that, then we need to make the right palette assuming the masks are valid (I don't think we validate any masks for high color surfaces...so we wouldn't here) Then there's always a palette available for the 8bit surfaces. This restores the normal behavior and allows for masks to create palettes automatically for odd masks even, which would be a neato thing to have in there, as SDL never did this before.
Mon, 16 May 2005 04:45:07 +0000 *** empty log message ***
Sam Lantinga <slouken@libsdl.org> [Mon, 16 May 2005 04:45:07 +0000] rev 1056
*** empty log message ***
Sun, 08 May 2005 19:58:34 +0000 *** empty log message ***
Sam Lantinga <slouken@libsdl.org> [Sun, 08 May 2005 19:58:34 +0000] rev 1055
*** empty log message ***
Thu, 05 May 2005 10:52:22 +0000 Add support for ARAnyM Atari emulator
Patrice Mandin <patmandin@gmail.com> [Thu, 05 May 2005 10:52:22 +0000] rev 1054
Add support for ARAnyM Atari emulator
Wed, 20 Apr 2005 05:57:39 +0000 Patched to compile again on x86 systems that use the assembly blitters.
Ryan C. Gordon <icculus@icculus.org> [Wed, 20 Apr 2005 05:57:39 +0000] rev 1053
Patched to compile again on x86 systems that use the assembly blitters.
Sun, 17 Apr 2005 10:40:41 +0000 Some work on using accelerated alpha blits with hardware surfaces.
Ryan C. Gordon <icculus@icculus.org> [Sun, 17 Apr 2005 10:40:41 +0000] rev 1052
Some work on using accelerated alpha blits with hardware surfaces. From Stephane Marchesin's fork, don't know who originally wrote it.
Sun, 17 Apr 2005 10:36:03 +0000 SDL_CDOpen() fails on Linux if data track on disc is mounted in the
Ryan C. Gordon <icculus@icculus.org> [Sun, 17 Apr 2005 10:36:03 +0000] rev 1051
SDL_CDOpen() fails on Linux if data track on disc is mounted in the filesystem. Removing O_EXCL from open() call fixes this. Problem and solution noted by "Fosters": http://www.libsdl.org/pipermail/sdl/2005-March/068028.html
Sun, 17 Apr 2005 10:32:41 +0000 Holding down shift while moving the mouse's scrollwheel on MacOS X makes the
Ryan C. Gordon <icculus@icculus.org> [Sun, 17 Apr 2005 10:32:41 +0000] rev 1050
Holding down shift while moving the mouse's scrollwheel on MacOS X makes the OS report these are "horizontal scrollwheel" events, which confuses gaming apps in several legitimate conditions. Now all scrollwheel events are made to look vertical when passed to the app. Patch by John Knottenbelt. http://www.libsdl.org/pipermail/sdl/2005-March/067978.html
Sun, 17 Apr 2005 10:27:00 +0000 Mixer: Visual C MMX asm code now aligns loops to 16 bytes.
Ryan C. Gordon <icculus@icculus.org> [Sun, 17 Apr 2005 10:27:00 +0000] rev 1049
Mixer: Visual C MMX asm code now aligns loops to 16 bytes. This patch came from Stephane Marchesin's codefork, but I don't know who wrote it originally.
Sun, 17 Apr 2005 10:23:58 +0000 Fixed direction key input on WinCE devices, thanks to
Ryan C. Gordon <icculus@icculus.org> [Sun, 17 Apr 2005 10:23:58 +0000] rev 1048
Fixed direction key input on WinCE devices, thanks to cal-at-splitreflection-com. http://www.libsdl.org/pipermail/sdl/2005-April/068072.html
Sun, 17 Apr 2005 10:19:22 +0000 Altivec-optimized blitters!
Ryan C. Gordon <icculus@icculus.org> [Sun, 17 Apr 2005 10:19:22 +0000] rev 1047
Altivec-optimized blitters! Vast majority of this work is compliments of Bob Ippolito. http://www.devolution.com/pipermail/sdl/2005-February/067466.html and many other posts.
Sun, 17 Apr 2005 10:16:30 +0000 Added some parentheses for a little more macro safety. Recommended by Petri
Ryan C. Gordon <icculus@icculus.org> [Sun, 17 Apr 2005 10:16:30 +0000] rev 1046
Added some parentheses for a little more macro safety. Recommended by Petri Kero, here: http://www.devolution.com/pipermail/sdl/2005-March/067630.html
Fri, 01 Apr 2005 15:19:26 +0000 Release CPU when waiting
Patrice Mandin <patmandin@gmail.com> [Fri, 01 Apr 2005 15:19:26 +0000] rev 1045
Release CPU when waiting
Wed, 30 Mar 2005 12:38:03 +0000 Optimize also for 68020 and higher CPUs
Patrice Mandin <patmandin@gmail.com> [Wed, 30 Mar 2005 12:38:03 +0000] rev 1044
Optimize also for 68020 and higher CPUs
Mon, 07 Mar 2005 10:09:21 +0000 Disable debug code
Patrice Mandin <patmandin@gmail.com> [Mon, 07 Mar 2005 10:09:21 +0000] rev 1043
Disable debug code
Mon, 07 Mar 2005 10:00:58 +0000 Dynamically create list of video modes, easier to add new ones
Patrice Mandin <patmandin@gmail.com> [Mon, 07 Mar 2005 10:00:58 +0000] rev 1042
Dynamically create list of video modes, easier to add new ones
Wed, 02 Mar 2005 17:17:26 +0000 Was using width of surface instead of pitch to calculate length of surface width in words
Patrice Mandin <patmandin@gmail.com> [Wed, 02 Mar 2005 17:17:26 +0000] rev 1041
Was using width of surface instead of pitch to calculate length of surface width in words
Tue, 22 Feb 2005 17:57:40 +0000 Preliminary support for Blowup and Screen Blaster 3 extensions on Atari Falcon 030
Patrice Mandin <patmandin@gmail.com> [Tue, 22 Feb 2005 17:57:40 +0000] rev 1040
Preliminary support for Blowup and Screen Blaster 3 extensions on Atari Falcon 030
Tue, 15 Feb 2005 11:50:33 +0000 Added testblitspeed to aid in profiling of SDL's blitters.
Ryan C. Gordon <icculus@icculus.org> [Tue, 15 Feb 2005 11:50:33 +0000] rev 1039
Added testblitspeed to aid in profiling of SDL's blitters.
Sun, 13 Feb 2005 07:10:02 +0000 Ugly hack to make this work with gcc 2.x and 3.x
Sam Lantinga <slouken@libsdl.org> [Sun, 13 Feb 2005 07:10:02 +0000] rev 1038
Ugly hack to make this work with gcc 2.x and 3.x Thanks to Stephane Marchesin for the dirty dirty work.
Sat, 12 Feb 2005 19:39:08 +0000 Date: Tue, 01 Feb 2005 17:53:07 -0800
Sam Lantinga <slouken@libsdl.org> [Sat, 12 Feb 2005 19:39:08 +0000] rev 1037
Date: Tue, 01 Feb 2005 17:53:07 -0800 From: Bill May Subject: [SDL] Diffs for dsp audio in case of failures. The rewrite recently done for 1.2.8 forgot to handle error cases by closing the audio. Here is a patch that does.
Sat, 12 Feb 2005 18:03:54 +0000 [SDL] [PATCH] fix FB_VideoQuit for ia64
Sam Lantinga <slouken@libsdl.org> [Sat, 12 Feb 2005 18:03:54 +0000] rev 1036
[SDL] [PATCH] fix FB_VideoQuit for ia64 Jesse Barnes Fri Jan 14 11:13:54 PST 2005 I noticed that on my ia64 machine when SDL_Quit was called, the machine would hang in weird ways. It turned out to be caused by a machine check in the memset() call near the top of FB_VideoQuit. Generally memset shouldn't be used on I/O regions like the framebuffer or other I/O device memory (the Linux kernel has special routines for dealing with I/O memory), so I changed the #ifdef __powerpc__ to #if defined(__powerpc__) || defined(__ia64__) and SDL_Quit now works properly. The change should probably be made unconditional though since doing one byte at a time is the only way to be portable, afaik.
Sat, 12 Feb 2005 18:01:31 +0000 Date: Wed, 26 Jan 2005 13:37:09 GMT
Sam Lantinga <slouken@libsdl.org> [Sat, 12 Feb 2005 18:01:31 +0000] rev 1035
Date: Wed, 26 Jan 2005 13:37:09 GMT From: Peter Naulls Subject: RISC OS SDL Patches Sam, I've attached a diff of the latest changes to libSDL for RISC OS support. These changes are by Alan Buckley and myself. The most significant of these are: Optimised assembler blit rountines - I've attached the file src/video/riscos/SDL_riscosASM.s which is needed for this. Move to using /dev/dsp instead of its own audio implementation. This means that src/audio/riscos/SDL_drenderer.c should be removed Typo fixes. Mainly correct spelling of "RISC OS", but some from elsewhere too.
Sat, 29 Jan 2005 09:58:40 +0000 clear convert.buf before filling it
Patrice Mandin <patmandin@gmail.com> [Sat, 29 Jan 2005 09:58:40 +0000] rev 1034
clear convert.buf before filling it
Tue, 25 Jan 2005 17:58:44 +0000 The fix is going back in. :)
Sam Lantinga <slouken@libsdl.org> [Tue, 25 Jan 2005 17:58:44 +0000] rev 1033
The fix is going back in. :)
Tue, 25 Jan 2005 16:57:11 +0000 Date: Mon, 24 Jan 2005 21:37:56 +0800
Sam Lantinga <slouken@libsdl.org> [Tue, 25 Jan 2005 16:57:11 +0000] rev 1032
Date: Mon, 24 Jan 2005 21:37:56 +0800 From: Chris Taylor Subject: Patch to put back dynamic OpenGL loading for MPW I sent a patch a while ago that removes dynamic OpenGL loading for Macintosh Programmer's Workshop. Dynamic loading DOES actually work when an SDL program is built with MPW, it just has to be set up for it. (Whoops!!) This is the ideal way to get OpenGL extensions to work, which D2X uses quite a few of. This patch puts dynamic loading back in SDL for Mac OS 9. It applies to current CVS. I noticed that two members need to be set when DrawSprocket is used.
Tue, 18 Jan 2005 18:40:48 +0000 Date: Sun, 16 Jan 2005 19:20:15 +0100
Sam Lantinga <slouken@libsdl.org> [Tue, 18 Jan 2005 18:40:48 +0000] rev 1031
Date: Sun, 16 Jan 2005 19:20:15 +0100 From: Stephane Marchesin To: Kirill Ponomarew Subject: [SDL] Problem on x86_64 with latest CVS (Re: sdl12 with gcc-2.95) >-I../../src -I../../src/main/freebsd -I../../src/audio >-I../../src/video -I../../src/video/XFree86/extensions >-I../../src/events -I../../src/joystick -I../../src/cdrom >-I../../src/thread -I../../src/timer -I../../src/endian >-I../../src/file -I../../src/thread -MT SDL_endian.lo -MD -MP -MF >.deps/SDL_endian.Tpo -c SDL_endian.c -fPIC -DPIC -o >.libs/SDL_endian.o >{standard input}: Assembler messages: >{standard input}:144: Error: suffix or operands invalid for `xchg' >*** Error code 1 > That's a totally different problem. This was introduced in CVS 4 days ago : http://www.libsdl.org/cgi/cvsweb.cgi/SDL12/include/SDL_endian.h.diff?r1=1.11\ &r2=1.12 Just revert this patch.
Tue, 18 Jan 2005 18:32:10 +0000 Date: Sat, 15 Jan 2005 15:06:01 -0600
Sam Lantinga <slouken@libsdl.org> [Tue, 18 Jan 2005 18:32:10 +0000] rev 1030
Date: Sat, 15 Jan 2005 15:06:01 -0600 From: Tyler Montbriand Subject: [SDL] minor bugfix for test/testoverlay2.c Programs that use malloc ought to #include <stdlib.h> . On 32-bit systems you can get away with not including it, but on 64-bit systems it will assume malloc() returns a 32-bit integer and butcher the 64-bit pointers it returns.
Mon, 17 Jan 2005 19:38:28 +0000 Date: Mon, 17 Jan 2005 20:54:50 +0200
Ryan C. Gordon <icculus@icculus.org> [Mon, 17 Jan 2005 19:38:28 +0000] rev 1029
Date: Mon, 17 Jan 2005 20:54:50 +0200 From: Ville [snip] Subject: [PATCH] SDL/DirectFB: remove Matrox CRTC2 flicker filter Hi, This patch removes the flicker filter option from the DirectFB backend's Matrox CRTC2 code in SDL. I will be removing the option from DirectFB (because it doesn't actually work) and that would cause the SDL code to fail without this fix. I was going to send this to some SDL list directly but libsdl.org is down so I'm not sure what if any lists there are. Thomas Jarosch (the guy who wrote the code) said you would accept SDL patches. Let me know if I should send this somewhere else. -- Ville Syrj�l� syrjala _at sci.fi http://www.sci.fi/~syrjala/
Thu, 13 Jan 2005 23:24:56 +0000 Fix various problems with the timer code.
Sam Lantinga <slouken@libsdl.org> [Thu, 13 Jan 2005 23:24:56 +0000] rev 1028
Fix various problems with the timer code. * SDL_timer_running wasn't always updated correctly. * Fixed occasional crash in SDL_SetTimer() when clearing threaded timers * It was possible to get both the timer thread and event thread running * Other misc. cleanup
Wed, 12 Jan 2005 19:38:24 +0000 Clarified the code in the pixel format allocation
Sam Lantinga <slouken@libsdl.org> [Wed, 12 Jan 2005 19:38:24 +0000] rev 1027
Clarified the code in the pixel format allocation Added support for direct color 8-bpp modes.
Wed, 12 Jan 2005 06:04:48 +0000 Select patches included from The NetBSD Package Collection (www.pkgsrc.org)
Sam Lantinga <slouken@libsdl.org> [Wed, 12 Jan 2005 06:04:48 +0000] rev 1026
Select patches included from The NetBSD Package Collection (www.pkgsrc.org)
Sat, 08 Jan 2005 23:13:01 +0000 Avoid gcc parse errors on Win32. This is fine in general because gcc uses
Sam Lantinga <slouken@libsdl.org> [Sat, 08 Jan 2005 23:13:01 +0000] rev 1025
Avoid gcc parse errors on Win32. This is fine in general because gcc uses the cdecl calling convention by default.
Tue, 04 Jan 2005 19:06:23 +0000 Bumped the minor version number...
Sam Lantinga <slouken@libsdl.org> [Tue, 04 Jan 2005 19:06:23 +0000] rev 1024
Bumped the minor version number...
Tue, 04 Jan 2005 19:05:32 +0000 Fix potential use of freed memory in the threaded timer system
Sam Lantinga <slouken@libsdl.org> [Tue, 04 Jan 2005 19:05:32 +0000] rev 1023
Fix potential use of freed memory in the threaded timer system
Tue, 04 Jan 2005 19:04:14 +0000 *** empty log message ***
Sam Lantinga <slouken@libsdl.org> [Tue, 04 Jan 2005 19:04:14 +0000] rev 1022
*** empty log message ***
Mon, 03 Jan 2005 00:24:44 +0000 Date: Sun, 2 Jan 2005 18:36:09 +0100
Sam Lantinga <slouken@libsdl.org> [Mon, 03 Jan 2005 00:24:44 +0000] rev 1021
Date: Sun, 2 Jan 2005 18:36:09 +0100 From: Jon Daniel Subject: [SDL] KeyRepeat fix If you switch keys very fast and hold the last one it doesn't get repeated because the key release of the first key occured after the key press of the second key. Unfortunatly the key release of the first key sets SDL_KeyRepeat.timestamp = 0; causing the the second key not to repeat. This should be always reproducable. I've only checked this on x86-64 X11. To fix this I just added another condition to make sure the sym of the released key matches SDL_KeyRepeat.key.keysym.sym.
Sun, 02 Jan 2005 05:11:16 +0000 Allow SDL to be loaded by Matlab
Sam Lantinga <slouken@libsdl.org> [Sun, 02 Jan 2005 05:11:16 +0000] rev 1020
Allow SDL to be loaded by Matlab
Sun, 02 Jan 2005 05:05:21 +0000 Date: Fri, 31 Dec 2004 04:14:09 +0900
Sam Lantinga <slouken@libsdl.org> [Sun, 02 Jan 2005 05:05:21 +0000] rev 1019
Date: Fri, 31 Dec 2004 04:14:09 +0900 From: Hayashi Naoyuki Subject: SDL patch for Tru64 UNIX 4.0X SDL-1.2.8 support only Tru64 5.X. This patch is for Tru64 UNIX 4.X.(tested on Tru64 UNIX 4.0G and 5.1B) SDL-1.2.8/configure.in: ld doesn't accept -pthread option. cc -pthread has same effect as -D_REENTRANT when compiling, and has same effect as -lpthread -lexc when linking. SDL-1.2.8/include/begin_code.h: Old Compaq C Compiler accept not inline but __inline. SDL-1.2.8/src/audio/SDL_mixer_MMX.c: SDL-1.2.8/src/audio/SDL_mixer_MMX.h: Old Compaq C Compiler doesn't accept //. SDL-1.2.8/src/cdrom/osf/SDL_syscdrom.c: When becoming Tru64 v5.0 from Tru64 v4.0, the arrangement of the cd-rom device was changed.
Mon, 27 Dec 2004 20:03:53 +0000 Date: Fri, 24 Dec 2004 23:32:06 -0500
Sam Lantinga <slouken@libsdl.org> [Mon, 27 Dec 2004 20:03:53 +0000] rev 1018
Date: Fri, 24 Dec 2004 23:32:06 -0500 From: Mike Frysinger Subject: [SDL] minor fix for gcc-2.x building in src/video/directfb/SDL_DirectFB_video.c, some variables are not declared at the beginning of scope ... newer gcc's will accept this, but gcc-2.x does not find attached a simple patch by Matt Taylor to resolve this http://bugs.gentoo.org/show_bug.cgi?id=75392
Sun, 19 Dec 2004 22:04:44 +0000 *** empty log message ***
Sam Lantinga <slouken@libsdl.org> [Sun, 19 Dec 2004 22:04:44 +0000] rev 1017
*** empty log message ***
Thu, 16 Dec 2004 06:39:54 +0000 *** empty log message ***
Sam Lantinga <slouken@libsdl.org> [Thu, 16 Dec 2004 06:39:54 +0000] rev 1016
*** empty log message ***
Thu, 16 Dec 2004 05:29:55 +0000 *** empty log message ***
Sam Lantinga <slouken@libsdl.org> [Thu, 16 Dec 2004 05:29:55 +0000] rev 1015
*** empty log message ***
Wed, 15 Dec 2004 01:02:20 +0000 Added change log notes release-1.2.8
Sam Lantinga <slouken@libsdl.org> [Wed, 15 Dec 2004 01:02:20 +0000] rev 1014
Added change log notes
Tue, 14 Dec 2004 18:23:27 +0000 Date: Tue, 14 Dec 2004 12:08:30 +0100
Sam Lantinga <slouken@libsdl.org> [Tue, 14 Dec 2004 18:23:27 +0000] rev 1013
Date: Tue, 14 Dec 2004 12:08:30 +0100 From: Marcin Konicki Subject: Re: [SDL] SDL 1.2.8 Prerelease I'm sending small fix for BeOS, which prevents filling up SDL's message queue too fast. Without it, SDL receives "key down" messages from BeOS code, for each key repeat (BeOS handles key repeats itself, and application can check if received "key down" message from BeOS is first time key down, or if it's repeat, and which repeat it is). Since there is no way for "sdl driver" to turn off "default" SDL's key-repeat mechanism, they were working both at the same time (and queue could be filled up very fast). So this patch removes handling "key down" message from BeOS if it's key_repeat "type".
Tue, 14 Dec 2004 06:20:49 +0000 Date: Mon, 13 Dec 2004 21:28:18 -0500
Sam Lantinga <slouken@libsdl.org> [Tue, 14 Dec 2004 06:20:49 +0000] rev 1012
Date: Mon, 13 Dec 2004 21:28:18 -0500 From: Jonathan Atkins Subject: [SDL] SDL_SaveBMP width bugfix this fixes the pitch versus width difference that can happen (especially for 8bit and 24bit (with the exact RGBAmasks) surfaces) when you use SDL_SaveBMP. The problem was the pitch was used instead of the width, which in some cases is much wider than the screen area you really want to save...making for ugly crud on the saved image borders. This code has been tested with & without pitch overhangs...and with the right masks for 24 bit surfaces. I tested 8,15,16,24,32-0RGB,32-RGBA(with no SDL_SRCALPHA flag).
Mon, 13 Dec 2004 08:49:17 +0000 *** empty log message ***
Sam Lantinga <slouken@libsdl.org> [Mon, 13 Dec 2004 08:49:17 +0000] rev 1011
*** empty log message ***
Mon, 13 Dec 2004 08:00:14 +0000 Whoops. :)
Sam Lantinga <slouken@libsdl.org> [Mon, 13 Dec 2004 08:00:14 +0000] rev 1010
Whoops. :)
Mon, 13 Dec 2004 07:32:53 +0000 No really, don't link with the ALSA library!
Sam Lantinga <slouken@libsdl.org> [Mon, 13 Dec 2004 07:32:53 +0000] rev 1009
No really, don't link with the ALSA library!
Mon, 13 Dec 2004 07:07:08 +0000 ALSA is loaded dynamically now, so it's safe to build into the library
Sam Lantinga <slouken@libsdl.org> [Mon, 13 Dec 2004 07:07:08 +0000] rev 1008
ALSA is loaded dynamically now, so it's safe to build into the library
Mon, 06 Dec 2004 15:01:00 +0000 Document new OpenGL feature
Patrice Mandin <patmandin@gmail.com> [Mon, 06 Dec 2004 15:01:00 +0000] rev 1007
Document new OpenGL feature
Mon, 06 Dec 2004 04:17:56 +0000 Updated SDL for MacOS X Xcode support
Sam Lantinga <slouken@libsdl.org> [Mon, 06 Dec 2004 04:17:56 +0000] rev 1006
Updated SDL for MacOS X Xcode support
Sat, 04 Dec 2004 20:53:58 +0000 Some Atari OpenGL implementations draw upside down
Patrice Mandin <patmandin@gmail.com> [Sat, 04 Dec 2004 20:53:58 +0000] rev 1005
Some Atari OpenGL implementations draw upside down
Sat, 04 Dec 2004 10:31:16 +0000 Be sure to compile without OpenGL enabled
Patrice Mandin <patmandin@gmail.com> [Sat, 04 Dec 2004 10:31:16 +0000] rev 1004
Be sure to compile without OpenGL enabled
Thu, 02 Dec 2004 23:00:28 +0000 Wrong RGB24 to RGB16 conversion
Patrice Mandin <patmandin@gmail.com> [Thu, 02 Dec 2004 23:00:28 +0000] rev 1003
Wrong RGB24 to RGB16 conversion
Thu, 02 Dec 2004 13:45:29 +0000 Wrong pixel size for source buffer for old drivers
Patrice Mandin <patmandin@gmail.com> [Thu, 02 Dec 2004 13:45:29 +0000] rev 1002
Wrong pixel size for source buffer for old drivers
Tue, 30 Nov 2004 19:02:42 +0000 *** empty log message ***
Sam Lantinga <slouken@libsdl.org> [Tue, 30 Nov 2004 19:02:42 +0000] rev 1001
*** empty log message ***
Tue, 30 Nov 2004 16:14:05 +0000 TinyGL only support RGB24 color buffer
Patrice Mandin <patmandin@gmail.com> [Tue, 30 Nov 2004 16:14:05 +0000] rev 1000
TinyGL only support RGB24 color buffer
Tue, 30 Nov 2004 15:21:29 +0000 Added a usage example for SDL_GetWMInfo()
Sam Lantinga <slouken@libsdl.org> [Tue, 30 Nov 2004 15:21:29 +0000] rev 999
Added a usage example for SDL_GetWMInfo()
Tue, 30 Nov 2004 14:45:08 +0000 Date: Wed, 24 Nov 2004 01:25:48 +0100
Sam Lantinga <slouken@libsdl.org> [Tue, 30 Nov 2004 14:45:08 +0000] rev 998
Date: Wed, 24 Nov 2004 01:25:48 +0100 From: Stephane Marchesin Subject: Re: [SDL] Problem compiling SDL 1.2.7 - there is a bug that was introduced in the kernel headers for 2.6.9 which is fixed in 2.6.10. This bug *will* byte when compiling the cdrom subsystem. A patch that works around this bug is attached. Note that users affected are not those running 2.6.9, but those using the 2.6.9 kernel headers for their system (i.e. whose libc is built against 2.6.9 headers).
Tue, 30 Nov 2004 14:28:20 +0000 Date: Sat, 27 Nov 2004 13:35:43 +0100
Sam Lantinga <slouken@libsdl.org> [Tue, 30 Nov 2004 14:28:20 +0000] rev 997
Date: Sat, 27 Nov 2004 13:35:43 +0100 From: "Martin Bickel" Subject: [SDL] Patch: fixing uninitilized palette while running Valgrind over my application I found the following problem in SDL: The function MapNto1 allocates SDL_Color colors[256] but does not initialize it. SDL_DitherColors is then called which initialized the r, g and b component, but not the 'unused' component of each color. When Map1to1 is called from MapNto1, it runs a memcmp on the colors, which also evaluates the unused component and therefor returns differences much more often than necessary. So the 'unused' component of SDL_Color should be initialized. This patch does this by calling memset for the whole array in MapNto1 .
Tue, 30 Nov 2004 13:04:22 +0000 Forgot to change window title in the normal case
Patrice Mandin <patmandin@gmail.com> [Tue, 30 Nov 2004 13:04:22 +0000] rev 996
Forgot to change window title in the normal case
Sun, 28 Nov 2004 21:52:29 +0000 TinyGL does not have glFinish, only glFlush
Patrice Mandin <patmandin@gmail.com> [Sun, 28 Nov 2004 21:52:29 +0000] rev 995
TinyGL does not have glFinish, only glFlush
Sat, 27 Nov 2004 23:11:20 +0000 Wrong size of parameters for SDL_Swap32 m68k assembly routine
Patrice Mandin <patmandin@gmail.com> [Sat, 27 Nov 2004 23:11:20 +0000] rev 994
Wrong size of parameters for SDL_Swap32 m68k assembly routine
Sat, 27 Nov 2004 21:28:49 +0000 Forgot to flush OpenGL buffer using glFinish
Patrice Mandin <patmandin@gmail.com> [Sat, 27 Nov 2004 21:28:49 +0000] rev 993
Forgot to flush OpenGL buffer using glFinish
Fri, 26 Nov 2004 22:11:30 +0000 Keep current OpenGL context when possible
Patrice Mandin <patmandin@gmail.com> [Fri, 26 Nov 2004 22:11:30 +0000] rev 992
Keep current OpenGL context when possible
Fri, 26 Nov 2004 16:16:50 +0000 Final touches to OSMesa OpenGL support on Atari, using loadable libraries. Hope SDL 1.2.8 is out soon.
Patrice Mandin <patmandin@gmail.com> [Fri, 26 Nov 2004 16:16:50 +0000] rev 991
Final touches to OSMesa OpenGL support on Atari, using loadable libraries. Hope SDL 1.2.8 is out soon.
Fri, 26 Nov 2004 16:13:24 +0000 Restore everything when a function pointer is NULL
Patrice Mandin <patmandin@gmail.com> [Fri, 26 Nov 2004 16:13:24 +0000] rev 990
Restore everything when a function pointer is NULL
Thu, 25 Nov 2004 15:47:49 +0000 Factorize OSMesa OpenGL code for Atari drivers
Patrice Mandin <patmandin@gmail.com> [Thu, 25 Nov 2004 15:47:49 +0000] rev 989
Factorize OSMesa OpenGL code for Atari drivers
Mon, 22 Nov 2004 20:37:41 +0000 Remove ambiguous/useless code
Patrice Mandin <patmandin@gmail.com> [Mon, 22 Nov 2004 20:37:41 +0000] rev 988
Remove ambiguous/useless code
Mon, 22 Nov 2004 20:36:59 +0000 Do not use registers when not necessary
Patrice Mandin <patmandin@gmail.com> [Mon, 22 Nov 2004 20:36:59 +0000] rev 987
Do not use registers when not necessary
Mon, 22 Nov 2004 10:18:04 +0000 Add conversion routines for unsupported screen formats
Patrice Mandin <patmandin@gmail.com> [Mon, 22 Nov 2004 10:18:04 +0000] rev 986
Add conversion routines for unsupported screen formats
Mon, 22 Nov 2004 10:16:58 +0000 Add m68k assembly routines for endianness conversion
Patrice Mandin <patmandin@gmail.com> [Mon, 22 Nov 2004 10:16:58 +0000] rev 985
Add m68k assembly routines for endianness conversion
Sun, 21 Nov 2004 21:59:47 +0000 Add OSMesa OpenGL support to the Atari GEM video driver
Patrice Mandin <patmandin@gmail.com> [Sun, 21 Nov 2004 21:59:47 +0000] rev 984
Add OSMesa OpenGL support to the Atari GEM video driver
Sun, 21 Nov 2004 00:57:47 +0000 Date: Fri, 19 Nov 2004 06:23:53 -0800 (PST)
Sam Lantinga <slouken@libsdl.org> [Sun, 21 Nov 2004 00:57:47 +0000] rev 983
Date: Fri, 19 Nov 2004 06:23:53 -0800 (PST) From: Eric Wing Subject: OS X Mouse inversion problem fix (again) Here's yet another patch for the OS X mouse inversion problem. This should fix the problem once and for all. I know I've said this before, but *This time for sure!* :) If you recall, my last patch broke the non-OpenGL windowed code and caused the inversion to occur there instead. Max submitted a patch that partially reverted the changes back which included the os version hack which is currently the most recent CVS. Aaron Sullivan identified and reported to the mailing list the other day, that the last partial regression of the code broke OS X 10.2. Looking over the results, I'm thinking that I was slightly more successful than I thought at unifying the code. I think I was trying to unify the code base for OpenGL and non-OpenGL windowed modes for all versions of the OS. It looks like I failed at at unifying the OpenGL and non-OpenGL code, but I did succeed at unifying the OS versions. Thus, we no longer need the hack for the OS version checks. The partial regression still included an OS check which is what broke things for < 10.3. Attached is the patch for SDL_QuartzWM.m. It basically is a half-line change that removes one of the two checks that decides if the mouse coordinates need to be inverted, i.e: if (system_version >= 0x1030 && (SDL_VideoSurface->flags & SDL_OPENGL) ) becomes this: if(SDL_VideoSurface->flags & SDL_OPENGL) With Aaron's outstanding help, we have collectively tested: windowed OpenGL windowed non-OpenGL fullscreen OpenGL fullscreen non-OpenGL under OS X 10.2 (Jaguar), 10.3 (Panther), and 10.4 (Tiger). We don't have access to 10.0 or 10.1, but since the original problem didn't materialize until 10.3, I'm hopeful that testing 10.2 is sufficient. And now that the code is uniform, I'm also hoping we'll be safe moving forward to deal with future revisions of the OS with this issue.
Sat, 20 Nov 2004 20:57:28 +0000 Add missing --add-missing
Patrice Mandin <patmandin@gmail.com> [Sat, 20 Nov 2004 20:57:28 +0000] rev 982
Add missing --add-missing
Sat, 20 Nov 2004 20:56:23 +0000 sdl-config already provides needed libs for MiNT build
Patrice Mandin <patmandin@gmail.com> [Sat, 20 Nov 2004 20:56:23 +0000] rev 981
sdl-config already provides needed libs for MiNT build
Sat, 20 Nov 2004 20:47:52 +0000 OSMesa draws upside down
Patrice Mandin <patmandin@gmail.com> [Sat, 20 Nov 2004 20:47:52 +0000] rev 980
OSMesa draws upside down
Wed, 17 Nov 2004 23:23:03 +0000 Grr, have to resort video modes one more time
Patrice Mandin <patmandin@gmail.com> [Wed, 17 Nov 2004 23:23:03 +0000] rev 979
Grr, have to resort video modes one more time
Wed, 17 Nov 2004 23:13:15 +0000 Add support for OpenGL on Atari using OSMesa, the offscreen rendering driver from Mesa
Patrice Mandin <patmandin@gmail.com> [Wed, 17 Nov 2004 23:13:15 +0000] rev 978
Add support for OpenGL on Atari using OSMesa, the offscreen rendering driver from Mesa
Mon, 15 Nov 2004 23:34:56 +0000 Updated for Visual C++ 6 build
Sam Lantinga <slouken@libsdl.org> [Mon, 15 Nov 2004 23:34:56 +0000] rev 977
Updated for Visual C++ 6 build
(0) -1000 -120 +120 +1000 +3000 tip