Sat, 21 Aug 2004 11:34:24 +0000 Date: Mon, 12 Jul 2004 14:17:47 -0500
Sam Lantinga <slouken@libsdl.org> [Sat, 21 Aug 2004 11:34:24 +0000] rev 941
Date: Mon, 12 Jul 2004 14:17:47 -0500 From: Richard Smith Subject: Re: [SDL] Disableing color depth and mode searching > Also, I should add that a quick way to get the desired effect is to > #define BROKEN_MODES on top of the SDL_fbvideo.c file. > Ah yes, I see that looks like that will do what I need. Curious as to why this is a #define and not an enviroment variable like the other settings. I would think that finding cards (or chips) with broken modes would be the norm rather than the execption.
Sat, 21 Aug 2004 05:29:45 +0000 Date: Sat, 10 Jul 2004 21:02:33 +0200
Sam Lantinga <slouken@libsdl.org> [Sat, 21 Aug 2004 05:29:45 +0000] rev 940
Date: Sat, 10 Jul 2004 21:02:33 +0200 From: "Philippe Plantier (ayin)" Subject: [SDL] Problems allocating large surfaces There are problems when allocating large surfaces using SDL_CreateRGBSurface. When, for example, we try to allocate a surface wider than 16384 pixels, the calculation of the pitch overflows; this leads to a surface that has the w and h flags correctly set, but whose "pixels" buffer is too small. That may lead to heap corruption.
Sat, 21 Aug 2004 04:20:00 +0000 Date: Tue, 01 Jun 2004 15:27:44 +0300
Sam Lantinga <slouken@libsdl.org> [Sat, 21 Aug 2004 04:20:00 +0000] rev 939
Date: Tue, 01 Jun 2004 15:27:44 +0300 From: Martin_Storsj Subject: Update for dynamic loading of ALSA I sent you a patch a few months ago which enables SDL to load ALSA dynamically. Now I've finally got time to tweak this yet some more. I've added code from alsa.m4 (from alsa's dev package) to acinclude.m4, and made the detection of the alsa library name a bit better. I've also fixed up the loading versioned symbols with dlvsym, so that it falls back to dlsym. I wouldn't say the configure script is complete yet, but this is how far I've come this time, and I'm no expert at those things.
Sat, 21 Aug 2004 03:55:12 +0000 Hmm, this should work a little better. :)
Sam Lantinga <slouken@libsdl.org> [Sat, 21 Aug 2004 03:55:12 +0000] rev 938
Hmm, this should work a little better. :)
Sat, 21 Aug 2004 03:45:58 +0000 Date: Tue, 27 Jul 2004 17:14:00 +0200
Sam Lantinga <slouken@libsdl.org> [Sat, 21 Aug 2004 03:45:58 +0000] rev 937
Date: Tue, 27 Jul 2004 17:14:00 +0200 From: "Eckhard Stolberg" Subject: Controller names in SDL for Windows I'm working on an Atari 2600 emulator for different systems that uses the SDL. Some time ago someone created an adaptor that lets you use your old Atari controllers with your computer through the USB port. Some of the Atari controllers require special handling by the emulator, so it would be nice, if it would be possible to detect if any of the controllers connected to the computer is this adaptor. SDL would allow that with the SDL_JoystickName function, but unfortunately it doesn't work properly on Windows. On Linux and MacOSX this function returns the name of the controller, but on Windows you'll only get the name of the joystick driver. Most joysticks nowadays use the generic Microsoft driver, so they all return the same name. In an old MSDN article (http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/dnarinput/html/msdn_extdirect.asp) Microsoft describes how to read out the OEM controller names from the registry. I have implemented this for the SDL controller handler on Windows, and now reading the joystick name works properly there too.
Sat, 21 Aug 2004 03:21:44 +0000 CoreAudio driver works on Mac OSX 10.1
Sam Lantinga <slouken@libsdl.org> [Sat, 21 Aug 2004 03:21:44 +0000] rev 936
CoreAudio driver works on Mac OSX 10.1
Sat, 21 Aug 2004 02:06:30 +0000 Audio improvements from Max Horn, including a new CoreAudio driver for MacOSX
Sam Lantinga <slouken@libsdl.org> [Sat, 21 Aug 2004 02:06:30 +0000] rev 935
Audio improvements from Max Horn, including a new CoreAudio driver for MacOSX
Fri, 20 Aug 2004 22:35:23 +0000 Date: Thu, 17 Jun 2004 11:38:51 -0700 (PDT)
Sam Lantinga <slouken@libsdl.org> [Fri, 20 Aug 2004 22:35:23 +0000] rev 934
Date: Thu, 17 Jun 2004 11:38:51 -0700 (PDT) From: Eric Wing <ewing2121@yahoo.com> Subject: New OS X patch (was Re: [SDL] Bug with inverted mouse coordinates in I have a new patch for OS X I would like to submit. First, it appears no further action has been taken on my fix from Apple on the OpenGL windowed mode mouse inversion problem. The fix would reunify the code, and no longer require case checking for which version of the OS you are running. This is probably a good fix because the behavior with the old code could change again with future versions of the OS, so those fixes are included in this new patch. But in addition, when I was at Apple, I asked them about the ability to distinguish between the modifier keys on the left and right sides of the keyboard (e.g. Left Shift, Right Shift, Left/Right Alt, L/R Cmd, L/R Ctrl). They told me that starting with Panther, the OS began supporting this feature. This has always been a source of annoyance for me when bringing a program that comes from Windows or Linux to OS X when the keybindings happened to need distinguishable left-side and right-side keys. So the rest of the patch I am submitting contains new code to support this feature on Panther (and presumably later versions of the OS). So after removing the OS version checks for the mouse inversion problem, I reused the OS version checks to activate the Left/Right detection of modifier keys. If you are running Panther (or above), the new code will attempt to distinguish between sides. For the older OS's, the code path reverts to the original code. I've tested with Panther on a G4 Cube, G5 dual processor, and Powerbook Rev C. The Cube and G5 keyboards demonstrated the ability to distinguish between sides. The Powerbook seems to only have left-side keys, but the patch was still able to handle it by producing the same results as before the patch. I also wanted to test a non-Apple keyboard. Unfortunately, I don't have any PC USB keyboards. However, I was able to borrow a Sun Microsystems USB keyboard, so I tried that out on the G5, and I got the correct behavior for left and right sides. I'm expecting that if it worked with a Sun keyboard, most other keyboards should work with no problems.
Fri, 20 Aug 2004 22:33:11 +0000 Added an option to show the logo at the cursor position for debugging
Sam Lantinga <slouken@libsdl.org> [Fri, 20 Aug 2004 22:33:11 +0000] rev 933
Added an option to show the logo at the cursor position for debugging
Fri, 20 Aug 2004 22:32:05 +0000 Use the canonical glext.h on MacOS X as well (#define NO_SDL_GLEXT if you don't want this)
Sam Lantinga <slouken@libsdl.org> [Fri, 20 Aug 2004 22:32:05 +0000] rev 932
Use the canonical glext.h on MacOS X as well (#define NO_SDL_GLEXT if you don't want this)
Fri, 20 Aug 2004 19:42:44 +0000 *** empty log message ***
Sam Lantinga <slouken@libsdl.org> [Fri, 20 Aug 2004 19:42:44 +0000] rev 931
*** empty log message ***
Fri, 20 Aug 2004 18:57:01 +0000 Date: Fri, 20 Aug 2004 08:31:20 +0200
Sam Lantinga <slouken@libsdl.org> [Fri, 20 Aug 2004 18:57:01 +0000] rev 930
Date: Fri, 20 Aug 2004 08:31:20 +0200 From: "Markus F.X.J. Oberhumer" Subject: [SDL-CVS][patch] add missing SDLCALL to headers the small patch attached below (against current CVS) adds some missing SDLCALL decorations to callback types and arguments. Unfortunately one of these changes breaks your gen{def,exp}.pl scripts which should be changed to use non-greedy regular expression matching...
Wed, 18 Aug 2004 21:41:39 +0000 Date: Mon, 05 Jul 2004 14:37:59 +0200
Sam Lantinga <slouken@libsdl.org> [Wed, 18 Aug 2004 21:41:39 +0000] rev 929
Date: Mon, 05 Jul 2004 14:37:59 +0200 From: Yves Maurischat Subject: [SDL] Crashes when using aRts on Linux We had a problem with my app using SDL. It always crashed after SDL_OpenAudio(), if the artsd was running on a Linux machine with KDE. After some investigation (and searching for differences in other apps using arts) we found out, that the problem resulted from loading, calling arts_init(), calling arts_free() and unloading the aRts-Library in .../src/audio/arts/SDL_artsaudio.c twice: first in "static int Audio_Available()", the second time in "static SDL_AudioDevice *Audio_CreateDevice(int devindex)".
Tue, 10 Aug 2004 20:58:47 +0000 Forgot to initialize maximum position for mouse
Patrice Mandin <patmandin@gmail.com> [Tue, 10 Aug 2004 20:58:47 +0000] rev 928
Forgot to initialize maximum position for mouse
Tue, 10 Aug 2004 18:59:58 +0000 Wrong check for minimum mouse position
Patrice Mandin <patmandin@gmail.com> [Tue, 10 Aug 2004 18:59:58 +0000] rev 927
Wrong check for minimum mouse position
Tue, 10 Aug 2004 18:53:38 +0000 Give mouse position relative to window position, and do not generate mouse button event if outside of the window
Patrice Mandin <patmandin@gmail.com> [Tue, 10 Aug 2004 18:53:38 +0000] rev 926
Give mouse position relative to window position, and do not generate mouse button event if outside of the window
Mon, 09 Aug 2004 11:53:14 +0000 Do not destroy window on resize, so we can go back to original size from maximized size
Patrice Mandin <patmandin@gmail.com> [Mon, 09 Aug 2004 11:53:14 +0000] rev 925
Do not destroy window on resize, so we can go back to original size from maximized size
Thu, 05 Aug 2004 19:50:06 +0000 Too much backslash-n at end of line
Patrice Mandin <patmandin@gmail.com> [Thu, 05 Aug 2004 19:50:06 +0000] rev 924
Too much backslash-n at end of line
Thu, 05 Aug 2004 19:43:07 +0000 Correctly center window on creation
Patrice Mandin <patmandin@gmail.com> [Thu, 05 Aug 2004 19:43:07 +0000] rev 923
Correctly center window on creation
Thu, 05 Aug 2004 19:40:23 +0000 Correctly set window size if resized or maximized
Patrice Mandin <patmandin@gmail.com> [Thu, 05 Aug 2004 19:40:23 +0000] rev 922
Correctly set window size if resized or maximized
Thu, 05 Aug 2004 19:37:45 +0000 Use meaningful define instead of numeral value
Patrice Mandin <patmandin@gmail.com> [Thu, 05 Aug 2004 19:37:45 +0000] rev 921
Use meaningful define instead of numeral value
Thu, 05 Aug 2004 19:34:44 +0000 Use SDL_SetError instead of fprintf
Patrice Mandin <patmandin@gmail.com> [Thu, 05 Aug 2004 19:34:44 +0000] rev 920
Use SDL_SetError instead of fprintf
Tue, 03 Aug 2004 15:40:18 +0000 Absolute mouse position was given as relative movement to SDL
Patrice Mandin <patmandin@gmail.com> [Tue, 03 Aug 2004 15:40:18 +0000] rev 919
Absolute mouse position was given as relative movement to SDL
Tue, 03 Aug 2004 08:50:52 +0000 Wrongly test if width multiple of 16
Patrice Mandin <patmandin@gmail.com> [Tue, 03 Aug 2004 08:50:52 +0000] rev 918
Wrongly test if width multiple of 16
Mon, 02 Aug 2004 18:39:50 +0000 Lock the screen before doing its backup
Patrice Mandin <patmandin@gmail.com> [Mon, 02 Aug 2004 18:39:50 +0000] rev 917
Lock the screen before doing its backup
Sun, 25 Jul 2004 19:43:56 +0000 Date: Sun, 25 Jul 2004 23:10:03 +0800
Sam Lantinga <slouken@libsdl.org> [Sun, 25 Jul 2004 19:43:56 +0000] rev 916
Date: Sun, 25 Jul 2004 23:10:03 +0800 From: Chris Taylor Subject: SDL for Macintosh Programmer's Workshop: removed dynamic loading I'm working on a game called D2X which uses SDL, and I recently ported it to Mac OS 9. I used MPW to build it. It uses OpenGL. To get it to work, I had to build SDL so it doesn't dynamically load OpenGL. This is because I don't think MPW supports dynamic loading. The following patch makes sure when SDL is built under MPW, dynamic loading of shared libraries is disabled.
Sun, 25 Jul 2004 18:43:07 +0000 You can't free locked surfaces!
Sam Lantinga <slouken@libsdl.org> [Sun, 25 Jul 2004 18:43:07 +0000] rev 915
You can't free locked surfaces!
Sun, 25 Jul 2004 18:31:50 +0000 Date: Wed, 23 Jun 2004 17:05:33 -0400
Sam Lantinga <slouken@libsdl.org> [Sun, 25 Jul 2004 18:31:50 +0000] rev 914
Date: Wed, 23 Jun 2004 17:05:33 -0400 From: Chris Nelson Subject: [SDL] [Patch] WiseGroup MP-8800 / MP-8866 (PS2 Joystick) In the current cvs version, SDL doesn't handle these Playstation2 controller => USB adapters correctly, in linux. It will always assume that the maximum number of joysticks (2 in the case of the MP-8866, 4 in the case of the 8800) are plugged in. This is bad not only because it allows SDL to exaggerate the number of logical joysticks, but primarily because the joystick axes are mapped incorrectly, all over the place, such that the devices are effectively unusable unless you have the maximum number of joysticks plugged in. My changes to src/joystick/linux/SDL_sysjoystick.c build on another's previous work (which was a special case for this very joystick, actually), and fix both of these problems, as well as making the current code a little more general, to allow for others to more easily drop in code for quirky joysticks such as these. I've tested this code under 2.6.7 as well as 2.4.24... Both work as advertised (provided you load the JOYDEV linux code as a module, otherwise they won't work at all, new code or old, but that's another issue entirely). Though this sounds horribly formal, you have my permission to distribute all of my work on this issue under the LGPL. So there.
Sun, 25 Jul 2004 17:33:33 +0000 Date: Mon, 28 Jun 2004 23:15:55 +0200
Sam Lantinga <slouken@libsdl.org> [Sun, 25 Jul 2004 17:33:33 +0000] rev 913
Date: Mon, 28 Jun 2004 23:15:55 +0200 From: Ivo Danihelka Subject: [SDL] [PATCH] SDL_WM_SetCaption with UTF-8 This patch enables UTF-8 suport for SDL_WM_SetCaption() in x11. XFree86 >= 4.0.2 supports text strings in UTF-8. Presence of this feature is indicated by the macro X_HAVE_UTF8_STRING.
Wed, 21 Jul 2004 04:53:26 +0000 *** empty log message ***
Sam Lantinga <slouken@libsdl.org> [Wed, 21 Jul 2004 04:53:26 +0000] rev 912
*** empty log message ***
(0) -300 -100 -50 -30 +30 +50 +100 +300 +1000 +3000 tip