Sam Lantinga <slouken@libsdl.org> [Mon, 05 Jan 2009 01:48:15 +0000] rev 3000
Whoops, missing files from Couriersud's update
Sam Lantinga <slouken@libsdl.org> [Sun, 04 Jan 2009 23:48:23 +0000] rev 2999
Fixed missing include for SDL_INIT_EVENTTHREAD
Sam Lantinga <slouken@libsdl.org> [Sun, 04 Jan 2009 23:43:33 +0000] rev 2998
Date: Sun, 04 Jan 2009 20:53:30 +0100
From: Couriersud
Subject: SDL1.3 DirectFB patches
The attached contains the following directfb changes:
- Dynamic loading of libdirectfb.so. This may to turned off as well in configure
- Use linux-input by default. May be switched off by environment variable.
- Added some code which will use directfb's x11 backend when DISPLAY is set.
Sam Lantinga <slouken@libsdl.org> [Sun, 04 Jan 2009 23:41:09 +0000] rev 2997
indent
Sam Lantinga <slouken@libsdl.org> [Sun, 04 Jan 2009 23:36:53 +0000] rev 2996
Added missing void
Sam Lantinga <slouken@libsdl.org> [Sun, 04 Jan 2009 19:36:55 +0000] rev 2995
Added more info for precise waiting in SDL_WaitEvent()
Sam Lantinga <slouken@libsdl.org> [Sun, 04 Jan 2009 19:33:21 +0000] rev 2994
Date: Sat, 3 Jan 2009 22:11:18 -0500
From: "Donny Viszneki"
Subject: Re: [SDL] Want to help with SDL 1.3?
>> > For example, here's a good quick project for someone from the TODO list:
>> > * Add diagonal line clipping to SDL_IntersectRectAndLine()
Just wanted to point out that the patch is available at
http://codebad.com/rect-line-ix.patch
I hereby grant Sam Lantinga an irrevocable non-exclusive distribution
license to this patch to do with as he wishes.
Sam Lantinga <slouken@libsdl.org> [Sun, 04 Jan 2009 19:26:50 +0000] rev 2993
Technically more correct
Sam Lantinga <slouken@libsdl.org> [Sun, 04 Jan 2009 18:29:20 +0000] rev 2992
The core pointer is comprised of merging the inputs of all mice.
If there are other mice, they should show up in the device list, and
we want to report events from those devices instead of the core events.
However, if XInput isn't supported or we can't find other mice in the
device list, we'll add the core pointer and interpret normal mouse events.
Sam Lantinga <slouken@libsdl.org> [Sun, 04 Jan 2009 17:30:00 +0000] rev 2991
Implemented svn revision support
Added reminder about name -> scancode/keysym mapping
Sam Lantinga <slouken@libsdl.org> [Sun, 04 Jan 2009 17:14:27 +0000] rev 2990
indent
Sam Lantinga <slouken@libsdl.org> [Sun, 04 Jan 2009 17:10:04 +0000] rev 2989
Make the SDL keysyms that represent unprintable ASCII values actually have
those values, for more intuitive use and better compatibility with SDL 1.2.
Sam Lantinga <slouken@libsdl.org> [Sun, 04 Jan 2009 17:04:29 +0000] rev 2988
Added keyrepeat to the TODO list
Sam Lantinga <slouken@libsdl.org> [Sun, 04 Jan 2009 17:04:13 +0000] rev 2987
Added the Google Summer of Code folks to the credits.
Sam Lantinga <slouken@libsdl.org> [Sun, 04 Jan 2009 06:32:01 +0000] rev 2986
Updated the snapshot script for use on the website
Sam Lantinga <slouken@libsdl.org> [Sun, 04 Jan 2009 05:52:14 +0000] rev 2985
Fixed some dependency issues with SDL_revision.h
Sam Lantinga <slouken@libsdl.org> [Sun, 04 Jan 2009 05:41:52 +0000] rev 2984
Fixed some dependency issues with SDL_revision.h
Sam Lantinga <slouken@libsdl.org> [Sun, 04 Jan 2009 05:27:13 +0000] rev 2983
Fine tuned revision code, updated testver
Sam Lantinga <slouken@libsdl.org> [Sun, 04 Jan 2009 05:08:12 +0000] rev 2982
Make the current revision number available
Sam Lantinga <slouken@libsdl.org> [Sat, 03 Jan 2009 21:01:02 +0000] rev 2981
Good ideas, added to the TODO list
Szymon Wilczek <kazeuser@gmail.com> [Sat, 03 Jan 2009 12:00:20 +0000] rev 2980
Bug 653 bugfix
Sam Lantinga <slouken@libsdl.org> [Sat, 03 Jan 2009 07:33:42 +0000] rev 2979
Fixed crash on Windows
Sam Lantinga <slouken@libsdl.org> [Sat, 03 Jan 2009 07:23:11 +0000] rev 2978
Added a few things to the TODO list.
Unit testing is becoming more and more important the more features are added
and the more combinations of factors there are to test.
Sam Lantinga <slouken@libsdl.org> [Sat, 03 Jan 2009 07:16:57 +0000] rev 2977
Icons with translucency are implemented
Reminder to finish off multi-display support
Sam Lantinga <slouken@libsdl.org> [Sat, 03 Jan 2009 06:15:58 +0000] rev 2976
Added bug reports to the credits
Sam Lantinga <slouken@libsdl.org> [Sat, 03 Jan 2009 06:12:05 +0000] rev 2975
Fixed bug #663
Fixed mouse wheel direction
Sam Lantinga <slouken@libsdl.org> [Sat, 03 Jan 2009 06:03:56 +0000] rev 2974
The mouse position is relative to the client window.
Fixed setting the mouse focus when the mouse enters/leaves the window.
Sam Lantinga <slouken@libsdl.org> [Sat, 03 Jan 2009 05:42:18 +0000] rev 2973
Improved Direct3D YUV texture support
Sam Lantinga <slouken@libsdl.org> [Sat, 03 Jan 2009 04:33:19 +0000] rev 2972
Query available formats before advertising them.
Sam Lantinga <slouken@libsdl.org> [Sat, 03 Jan 2009 01:20:55 +0000] rev 2971
Should we also set the icon in the task manager?
Sam Lantinga <slouken@libsdl.org> [Sat, 03 Jan 2009 01:01:53 +0000] rev 2970
Added support for translucent icons on Windows
Sam Lantinga <slouken@libsdl.org> [Sat, 03 Jan 2009 01:00:38 +0000] rev 2969
Added support for saving 32-bit BMP with alpha channel (disabled by default)
Sam Lantinga <slouken@libsdl.org> [Fri, 02 Jan 2009 23:47:16 +0000] rev 2968
Date: Fri, 02 Jan 2009 23:22:39 +0100
From: Couriersud
Subject: SDL1.3 Win32 Resize bug
the attached diff fixes a bug where width and height were exchanged when
resizing a window.
Sam Lantinga <slouken@libsdl.org> [Fri, 02 Jan 2009 17:39:48 +0000] rev 2967
Implemented SDL_SetWindowIcon(), with translucent icon support under X11.
Sam Lantinga <slouken@libsdl.org> [Fri, 02 Jan 2009 16:38:31 +0000] rev 2966
There are still 8-bit applications that can take advantage of these (like Diablo 2)
Sam Lantinga <slouken@libsdl.org> [Fri, 02 Jan 2009 16:06:29 +0000] rev 2965
Maybe add a timeout for SDL_WaitEvent()
Sam Lantinga <slouken@libsdl.org> [Fri, 02 Jan 2009 16:03:37 +0000] rev 2964
indent
Sam Lantinga <slouken@libsdl.org> [Fri, 02 Jan 2009 15:47:49 +0000] rev 2963
Don't use DirectColor visuals until we implement DirectColor colormap support
Sam Lantinga <slouken@libsdl.org> [Fri, 02 Jan 2009 10:30:53 +0000] rev 2962
Hopefully fixed crash when there are no input devices
Sam Lantinga <slouken@libsdl.org> [Fri, 02 Jan 2009 09:50:25 +0000] rev 2961
The _NET_WM_ICON protocol doesn't require the icon to be set before the window is shown.
Sam Lantinga <slouken@libsdl.org> [Fri, 02 Jan 2009 09:27:36 +0000] rev 2960
It's probably not worth pushing palettized textures. The memory optimization
isn't worth the effort on modern hardware with the sorts of games that would
be using the SDL 1.3 texture API.
Sam Lantinga <slouken@libsdl.org> [Fri, 02 Jan 2009 09:14:55 +0000] rev 2959
Now that we don't have to worry about 8-bit displays, maybe we can add alpha
to the palette entries?
Sam Lantinga <slouken@libsdl.org> [Fri, 02 Jan 2009 09:12:21 +0000] rev 2958
Bye bye PseudoColor! :)
Sam Lantinga <slouken@libsdl.org> [Fri, 02 Jan 2009 09:04:31 +0000] rev 2957
Ryan doesn't like hung programs to lock up his system. Silly, huh?
Ryan C. Gordon <icculus@icculus.org> [Fri, 02 Jan 2009 08:12:14 +0000] rev 2956
Fixed off-by-one in audio converters, when growing a data type's size.
Ryan C. Gordon <icculus@icculus.org> [Fri, 02 Jan 2009 07:34:01 +0000] rev 2955
Avoid unnecessary assignment in generated audio type converters.
Sam Lantinga <slouken@libsdl.org> [Fri, 02 Jan 2009 04:35:52 +0000] rev 2954
Whoops, we need to actually fill the colormap on DirectColor visuals.
Temporarily disable them for now.
Sam Lantinga <slouken@libsdl.org> [Fri, 02 Jan 2009 01:37:07 +0000] rev 2953
Added Couriersud to credits for finding bugs
Sam Lantinga <slouken@libsdl.org> [Fri, 02 Jan 2009 01:34:52 +0000] rev 2952
Date: Fri, 02 Jan 2009 00:54:48 +0100
From: Couriersud
Subject: SDL1.3 Two small bugs ...
The first bug is rather straight forward; XCloseDevice needs a device,
not an ID.
Sam Lantinga <slouken@libsdl.org> [Fri, 02 Jan 2009 01:32:51 +0000] rev 2951
Don't check in personal files
Holmes Futrell <hfutrell@umail.ucsb.edu> [Thu, 01 Jan 2009 23:49:28 +0000] rev 2950
Added target testdraw2 for running the test/testdraw2.c test.
Holmes Futrell <hfutrell@umail.ucsb.edu> [Thu, 01 Jan 2009 23:47:33 +0000] rev 2949
Modified OpenGL ES render driver to support new SDL_RenderFill, SDL_RenderLine, and SDL_RenderPoint.
Holmes Futrell <hfutrell@umail.ucsb.edu> [Thu, 01 Jan 2009 23:01:05 +0000] rev 2948
Re-enabled joystick support during compilation.
Sam Lantinga <slouken@libsdl.org> [Thu, 01 Jan 2009 21:34:22 +0000] rev 2947
Date: Thu, 01 Jan 2009 21:32:12 +0100
From: Couriersud
Subject: Fusionsound audio driver
attached is a diff containing a audio driver for the FusionSound
library. This sound library is closely related to DirectFB and uses the
same transport (fusion) as DirectFB when running applications "remote",
i.e. over the network. As such, it natively redirects sound where
DirectFB redirects video. This may be handy for everyone using SDL over
DirectFB.
Sam Lantinga <slouken@libsdl.org> [Thu, 01 Jan 2009 19:42:48 +0000] rev 2946
Kicking off the great SDL Bug Hunt for January 2009
Sam Lantinga <slouken@libsdl.org> [Thu, 01 Jan 2009 18:58:26 +0000] rev 2945
Fixed DirectColor visual window creation problem
Sam Lantinga <slouken@libsdl.org> [Thu, 01 Jan 2009 18:49:43 +0000] rev 2944
Windows line drawing support is implemented
Sam Lantinga <slouken@libsdl.org> [Thu, 01 Jan 2009 08:22:20 +0000] rev 2943
Oh yeah, it's an XInput symbol
Sam Lantinga <slouken@libsdl.org> [Thu, 01 Jan 2009 08:21:19 +0000] rev 2942
indent
Sam Lantinga <slouken@libsdl.org> [Thu, 01 Jan 2009 08:19:56 +0000] rev 2941
Added missing symbol
Sam Lantinga <slouken@libsdl.org> [Thu, 01 Jan 2009 07:59:08 +0000] rev 2940
Fixed X11 mouse motion/button events - it's not actually safe to cast mouse events to device events.
Fixed building SDL without XInput support
Simplified the process of registering a mouse device
Ryan C. Gordon <icculus@icculus.org> [Thu, 01 Jan 2009 07:58:20 +0000] rev 2939
Audio driver priority: favor PulseAudio and ALSA over OSS.
Ryan C. Gordon <icculus@icculus.org> [Thu, 01 Jan 2009 07:54:58 +0000] rev 2938
Adjusted default choice of audio driver.
If a driver can definitely see available devices, it is chosen. Otherwise,
we'll take the first driver that initializes but saw no devices...this might
be because it can't enumerate them, or there really aren't any available.
This prevents the dsp driver from hogging control when there are no /dev/dsp*
nodes (for example, on a Linux box with ALSA and no OSS emulation).
Sam Lantinga <slouken@libsdl.org> [Wed, 31 Dec 2008 08:05:21 +0000] rev 2937
Removed unused variable
Sam Lantinga <slouken@libsdl.org> [Wed, 31 Dec 2008 07:56:56 +0000] rev 2936
iPhone build compiles again (drawing routines need to be implemented)
Sam Lantinga <slouken@libsdl.org> [Wed, 31 Dec 2008 07:35:55 +0000] rev 2935
Added testdraw2 to Visual C++ tests
Sam Lantinga <slouken@libsdl.org> [Wed, 31 Dec 2008 07:11:53 +0000] rev 2934
Fixed logic problem with SDL_RestoreWindow()
Sam Lantinga <slouken@libsdl.org> [Wed, 31 Dec 2008 06:18:33 +0000] rev 2933
indent
Sam Lantinga <slouken@libsdl.org> [Wed, 31 Dec 2008 06:17:24 +0000] rev 2932
Implemented Direct3D line and point drawing
Sam Lantinga <slouken@libsdl.org> [Tue, 30 Dec 2008 17:09:42 +0000] rev 2931
Date: Mon, 29 Dec 2008 23:29:52 +0100
From: Couriersud
Subject: SDL1.3: Some X11 diffs
The attached diff fixes the following issues in the X11 backend:
a) When calling resize, actually a move was performed. This has been
corrected.
b) DisplayHeight and DisplayWidth do not return up-to-date information
after a modeswitch using the xrandr code, which I enabled in
x11_modes.c
Height and width are now queried from the root window and all
occurrences of DisplayHeight and DisplayWidth changed.
Sam Lantinga <slouken@libsdl.org> [Tue, 30 Dec 2008 17:02:53 +0000] rev 2930
Date: Mon, 29 Dec 2008 23:29:52 +0100
From: Couriersud
I have attached the latest DirectFB changes.
Sam Lantinga <slouken@libsdl.org> [Tue, 30 Dec 2008 17:02:06 +0000] rev 2929
indent
Sam Lantinga <slouken@libsdl.org> [Tue, 30 Dec 2008 07:15:46 +0000] rev 2928
Fixed missing return value
Sam Lantinga <slouken@libsdl.org> [Tue, 30 Dec 2008 07:14:11 +0000] rev 2927
SetDrawColor() and SetDrawBlendMode() are optional
Sam Lantinga <slouken@libsdl.org> [Tue, 30 Dec 2008 04:38:39 +0000] rev 2926
In theory this implements GDI rendering, but it doesn't work for some reason.
Also removed blending support from the advertised interface, since it's not
actually supported.
Sam Lantinga <slouken@libsdl.org> [Tue, 30 Dec 2008 04:22:24 +0000] rev 2925
Swapped functions to match the other renderer files
Sam Lantinga <slouken@libsdl.org> [Tue, 30 Dec 2008 03:54:34 +0000] rev 2924
Added project for testdraw2
Sam Lantinga <slouken@libsdl.org> [Tue, 30 Dec 2008 03:51:20 +0000] rev 2923
Visual C++ 5 and 6 are no longer supported. You can use Visual C++ Express Edition to build SDL.
Sam Lantinga <slouken@libsdl.org> [Mon, 29 Dec 2008 19:48:01 +0000] rev 2922
Significant performance boost with blend mode none
Sam Lantinga <slouken@libsdl.org> [Thu, 25 Dec 2008 05:39:54 +0000] rev 2921
Don't forget OpenGL 3.0 support
Sam Lantinga <slouken@libsdl.org> [Thu, 25 Dec 2008 05:26:29 +0000] rev 2920
indent
Sam Lantinga <slouken@libsdl.org> [Thu, 25 Dec 2008 05:16:18 +0000] rev 2919
Fixed compiling Windows renderers. Lines and points will be implemented later.
Sam Lantinga <slouken@libsdl.org> [Thu, 25 Dec 2008 05:11:29 +0000] rev 2918
Updated to build on Windows
Sam Lantinga <slouken@libsdl.org> [Thu, 25 Dec 2008 04:56:44 +0000] rev 2917
Updated project with new source files
Sam Lantinga <slouken@libsdl.org> [Thu, 25 Dec 2008 04:42:28 +0000] rev 2916
Fixed pitch alignment problem causing MITSHM error on 16-bit displays
Sam Lantinga <slouken@libsdl.org> [Wed, 24 Dec 2008 13:13:38 +0000] rev 2915
Fixed CPU feature detection on x86_64 platform
(registers were being corrupted, causing crashes)
Sam Lantinga <slouken@libsdl.org> [Wed, 24 Dec 2008 13:04:18 +0000] rev 2914
Correct the test program
Sam Lantinga <slouken@libsdl.org> [Wed, 24 Dec 2008 12:17:25 +0000] rev 2913
Don't unlock a surface we didn't lock
Sam Lantinga <slouken@libsdl.org> [Tue, 23 Dec 2008 04:51:36 +0000] rev 2912
Fixed clipping source rect to match destination rect clipping
Sam Lantinga <slouken@libsdl.org> [Tue, 23 Dec 2008 02:39:03 +0000] rev 2911
Need diagonal line clipping
Sam Lantinga <slouken@libsdl.org> [Tue, 23 Dec 2008 02:38:28 +0000] rev 2910
Fixed argument order to the line clipping routine
Sam Lantinga <slouken@libsdl.org> [Tue, 23 Dec 2008 02:23:18 +0000] rev 2909
Added line clipping
Sam Lantinga <slouken@libsdl.org> [Tue, 23 Dec 2008 01:28:06 +0000] rev 2908
Added clipping for render copy
Sam Lantinga <slouken@libsdl.org> [Mon, 22 Dec 2008 05:29:55 +0000] rev 2907
typo fix
Sam Lantinga <slouken@libsdl.org> [Mon, 22 Dec 2008 04:58:35 +0000] rev 2906
/* FIXME FIXME FIXME
* Window creation fails in the colormap code on DirectColor visuals:
* XA_RGB_BEST_MAP not found and could not be created
* I'm disabling this for now until Bob can look at it. We don't need
* it until we implement the gamma fading using DirectColor RGB ramps
*/
Sam Lantinga <slouken@libsdl.org> [Mon, 22 Dec 2008 04:52:43 +0000] rev 2905
Fixed crash when resizing the window with the software renderer.
This is similar to the crash fix in the OpenGL renderer in revision 4187
Sam Lantinga <slouken@libsdl.org> [Sun, 21 Dec 2008 20:17:41 +0000] rev 2904
Fixed clip_rect when drawing points and lines with software renderer.
Lock the minimal rect to minimize texture uploads
Sam Lantinga <slouken@libsdl.org> [Sun, 21 Dec 2008 20:16:21 +0000] rev 2903
Working Bresenham line drawing algorithm. We can optimize later, if needed.
Sam Lantinga <slouken@libsdl.org> [Sun, 21 Dec 2008 17:55:02 +0000] rev 2902
Fixed crash in testdraw2, added more points
Sam Lantinga <slouken@libsdl.org> [Sun, 21 Dec 2008 17:39:41 +0000] rev 2901
Added RenderPiont() API
Merged the drawing tests into a single test program
Sam Lantinga <slouken@libsdl.org> [Sun, 21 Dec 2008 08:59:56 +0000] rev 2900
Make it possible to switch algorithms in the future
Sam Lantinga <slouken@libsdl.org> [Sun, 21 Dec 2008 08:55:06 +0000] rev 2899
Added ARGB optimized case for Mac OS X
Sam Lantinga <slouken@libsdl.org> [Sun, 21 Dec 2008 08:28:25 +0000] rev 2898
Share code between fill and line drawing
Added general RGB surface format fallbacks to drawing code
Fixed issues with destination surface alpha channel
Sam Lantinga <slouken@libsdl.org> [Sun, 21 Dec 2008 08:24:32 +0000] rev 2897
Added test program to verify fill functionality
Sam Lantinga <slouken@libsdl.org> [Sat, 20 Dec 2008 23:19:20 +0000] rev 2896
Date: Sat, 20 Dec 2008 23:25:19 +0100
From: Couriersud
Subject: 32 & 16 bit versions of blendrect and blendline
attached are 32, 16 and 15 bit versions of the blendrect and blendline
functionality. There was an issue with the bresenham alg. in drawline
which I also fixed.
Sam Lantinga <slouken@libsdl.org> [Sat, 20 Dec 2008 23:10:20 +0000] rev 2895
indent
Sam Lantinga <slouken@libsdl.org> [Sat, 20 Dec 2008 18:56:35 +0000] rev 2894
Added missing return
Sam Lantinga <slouken@libsdl.org> [Sat, 20 Dec 2008 18:40:30 +0000] rev 2893
Turn on line antialiasing (requires blending to be enabled)
Sam Lantinga <slouken@libsdl.org> [Sat, 20 Dec 2008 18:26:06 +0000] rev 2892
Add a few test pattern lines
Sam Lantinga <slouken@libsdl.org> [Sat, 20 Dec 2008 13:55:45 +0000] rev 2891
indent
Sam Lantinga <slouken@libsdl.org> [Sat, 20 Dec 2008 13:54:19 +0000] rev 2890
Placeholder for line drawing algorithm (current code doesn't work)
Sam Lantinga <slouken@libsdl.org> [Sat, 20 Dec 2008 13:53:54 +0000] rev 2889
Fixed crash in software line drawing
Sam Lantinga <slouken@libsdl.org> [Sat, 20 Dec 2008 13:14:28 +0000] rev 2888
Added stubs for software implementations of blending fills and line drawing
Sam Lantinga <slouken@libsdl.org> [Sat, 20 Dec 2008 12:32:53 +0000] rev 2887
Added a test program for line drawing
Sam Lantinga <slouken@libsdl.org> [Sat, 20 Dec 2008 12:32:38 +0000] rev 2886
Minor corrections
Sam Lantinga <slouken@libsdl.org> [Sat, 20 Dec 2008 12:32:25 +0000] rev 2885
indent
Sam Lantinga <slouken@libsdl.org> [Sat, 20 Dec 2008 12:00:00 +0000] rev 2884
Date: Fri, 19 Dec 2008 20:17:35 +0100
From: Couriersud
Subject: Re: Aw: Experience using SDL1.3 in sdlmame/Proposal for api additions
> For consistency you'd probably want:
> SDL_SetRenderDrawColor(Uint8 r, Uint8 g, Uint8 b, Uint8 a);
> SDL_SetRenderDrawBlendMode(SDL_BlendMode blendMode);
> SDL_RenderLine(int x1, int y1, int x2, int y2);
> SDL_RenderFill(SDL_Rect *rect);
>
> You probably also want to add API functions query the current state.
>
I have implemented the above api for the opengl, x11, directfb and
software renderers. I have also renamed *TEXTUREBLENDMODE* constants to
BLENDMODE*. The unix build compiles. The windows renderer still needs to
be updated, but I have no windows development machine at hand. Have a
look at the x11 renderer for a sample.
Vector games now run at 90% both on opengl and directfb in comparison to
sdlmame's own opengl renderer. The same applies to raster games.
The diff also includes
a) Changed XDrawRect to XFillRect in x11 renderer
b) A number of changes to fix blending and modulation issues in the
directfb renderer.
Sam Lantinga <slouken@libsdl.org> [Sat, 20 Dec 2008 08:41:05 +0000] rev 2883
indent
Sam Lantinga <slouken@libsdl.org> [Sat, 20 Dec 2008 06:46:37 +0000] rev 2882
Fixed crash when resizing YUV textures
Ryan C. Gordon <icculus@icculus.org> [Fri, 19 Dec 2008 09:15:59 +0000] rev 2881
More resampling fixes.