News 2004

From SDL.NET

Table of contents

New Release SDL.NET 2.1.0beta1 - 30 Dec 2004

SDL.NET 2.1.0beta1 has been released. I have started to integrate SDL_gfx features into SDL.NET. New features include:

  • Added Rotation
  • Added Zooming
  • Added Horizontal Flipping
  • Added primitive drawing (circles, ellipses, triangles and more)
  • Fixed ChannelFinished delegate for real this time :-)
  • Moved to NAnt 0.85 rc1
  • All examples except for the CDPlayer run on Mono for Windows.

I plan to test out the library and the examples on Mono for Linux before the final release.

Please download it and let me know if you have any feedback.

Fixed ChannelFinishedDelegate problem - 14 Dec 2004

I fixed the ChannelFinished delegate. It required an update in Tao.Sdl. I also added a FlipHorizontal method to the Surface object. Once I am done with some other Tao.Sdl stuff, I will release a 2.1beta that includes these fixes and the SdlGfx functionality.

- 24 Nov 2004== ==CVS Update: Added Sdl_gfx primitives, rotation and zooming

I have added some new functionality to the CVS tree. I have added the primitives from Sdl_gfx (circles, polygons, ellipses, bezier curves etc.). I have also added methods that allow you to rotate and zoom the surface. I also created a somewhat crude example that shows off each primitive. When the dust settles from the 2.0.0 release, I will start releasing the next round of betas so people can try out the new stuff.

- 22 Nov 2004== ==New Release SDL.NET 2.0.0

SDL.NET 2.0.0 has finally been released. Please download it and try it out. There were only some minor documentation changes since the last beta release. Any feedback would greatly be appreciated.

Many thanks go out to all of the forum posters who provided feedback, to pygame.org who provided the prebuilt SDL libs and to Randy Ridge of taoframework.com who helped out with the Tao.Sdl bindings.

New Releases SDL.NET 2.0.0b2 and Tao.Sdl-2004-11-16 - 16 Nov 2004

I have uploaded two new releases today.

Tao.Sdl-2004-11-16 just contains a minor tweak to the Sdl.FreeSurface() binding.

SdlDotNet 2.0.0b2 contains a reworking on the Dispose() methods for several classes. Hopefully this will resolve some of the memory leak problems that have cropped up. I also at long last fixed the Music and Channel delegates. Check out the Rectangles example for some sample code on how to use the MusicDelegate.

Please try this out and provide some feedback (especially on the Surface memory leak). If this release looks good, then I will probably tag it and release it as 2.0.0.

New Releases Tao.Sdl-2004-11-11 and Tao.Sdl Dependencies 1.1.0-1 - 12 Nov 2004

A new release for Tao.Sdl has been uploaded today. Tao.Sdl now includes bindings for the Sdl_gfx and smpeg libraries. Tao.Sdl can now be used to draw primitives such as circles, rectangles, triangles etc and also play MPEG-1 movies.

This marks a milestone for Tao.Sdl because it now has bindings for all of the libraries that I intended to use from the outset (SDL, SDL_image, SDL_ttf, SDL_mixer, SDL_gfx, smpeg). Unless there is a strong reason, no more C libraries will be incorporated into Tao.Sdl. That said, there are still many improvements needed to Tao.Sdl: better Nunit tests, more docs, fixing some bindings.

I have also released the package of prebuilt dll dependencies for Tao.Sdl. Many thanks go out to Pygame for providing a version of smpeg that has functioning audio.

The new files are available here.

New Release SDL.NET 2.0.0b1 - 04 Nov 2004

I have uploaded the latest version of SDL.NET. It includes these changes:

  • Added Gears example that uses OpenGL.
  • Finished adding all functionality that existed in 1.5.x.

Including: Surface.DrawPixel Surface.GetPixel Surface.FlipVertical

  • Added Timer.Delay
  • Added PixelsExample which uses the Draw/Get pixel methods.
  • Modified FontExample to use FlipVertical

Please take a look at this version and provide feedback if possible. I am hoping this release will be feature complete and will try to focus on bugs. New feature requests (e.g. FlipHorizontal, Image rotation) will wait until the next release.

New Releases SDL.NET 2.0.0a2, Tao.Sdl-2004-11-03 and SDL.NET 1.5.2 - 02 Nov 2004

A busy week of coding has led to three releases today. The latest cut of the 2.x code tree with associated updates in Tao.Sdl. I have also released a bugfix version of the old 1.5.x code to resolve a memory leak issue. You can find the releases on the download page.

SDL.NET 2.0.0a2 features a much more ".NET style compliance" after using the FXCop utility. FXCop can be run against a library to find problems with naming conventions, misuse/lack of properties, enums, events and all sorts of other problems. I also updated the examples so that Tao.Sdl does not have to be referenced directly (i.e. "using Tao.Sdl" is no longer necessary).

Tao.Sdl was updated to allow the enums to be used in a more C-like fashion so that C programmers would have an easier time of understanding the library.

SDL.NET 1.5.2 is a simple bugfix release that addresses a long standing memory leak. Thanks goes out to scottles2 for the fix.

New Releases SDL.NET 2.0.0a1 and Tao.Sdl-2004-10-28 - 29 Oct 2004

I have just uploaded new versions of both projects. The new version of Tao.Sdl is not much different - a few tweaks to the joystick subsystem. The new version of SDL.NET is finally now based on the Tao.Sdl bindings. SDL.NET is now CLS-compliant as well. Please check out both new libraries from the download page.

Tao.Sdl 2004-10-25 Release - 25 Oct 2004

Finally! A version that works! You can download it from the Files link on the Project Page.

This version has completed C# bindings for several SDL subsystems: SDL_video SDL_image SDL_ttf SDL_mixer SDL_event and the rest of the smaller SDL subsystems.

Some subsystems still need work SDL_cdrom SDL_audio (not too big of a problem since SDL_mixer is easier to use anyway)

Note that SDL_thread will not be implemented since the .NET threading model is much more likely to be used by .NET programmers.

.chm and html documentation has been greatly improved. It includes the documentation from the original SDL libraries.

Tao.Sdl will be used as the basis for the new version of the SDL.NET library.

Progress on Tao.Sdl - the native bindings for SDL.NET - 13 Oct 2004

My attention has been focussed lately on Tao.Sdl, the CLS-compliant C# SDL bindings. For the SDL library, I have revised all of the method signatures, added/reformatted all of the documentation and implemented basically everything. Some things (SDL threading model, some of the low-level read-write operations) have better .NET analogues and will not be implemented.

SDL_image has also been revised as well. I will be tackling SDL_mixer and SDL_ttf next.

I have also started to add unit tests with Nunit. This has helped greatly since it is an quick and easy way to test a lot of functionality.

Once these are done then I will start on converting SDL.NET to use Tao.SDL instead of the unsafe native bindings.

The Tao.Sdl sources can found at the Mono CVS site.

export CVSROOT=:pserver:anonymous@anoncvs.go-mono.com:/mono cvs login cvs -z3 co tao

SDL.NET IRC channel at irc.freenode.net - 21 Aug 2004

Thanks to the efforts of Vector, the #sdl.net channel is available at irc.freenode.net. Please drop in and chat about SDL.NET or anything else.

If #sdl.net does not come up automatically on the channel list window on your chat client, you may need to type in the channel manually to join. I had this issue with xchat (Windows) and colloquy (MacOSX).

Sorry for the delay... - 19 Aug 2004

I'll be taking a break from SDL.NET development for about three weeks because my wife and I just had a baby. During the last few days I have not even logged in to my computer let alone had time to work on the project. Of course, since progress had been slow as of late, this may not seem like much of a change :-).

Actually, I have been working quite a bit on the Tao.Sdl bindings. Many users had requested fixes for some of the native bindings and that is where my time had been going until a few days ago. By mid-Septmeber i will start to look at the native bindings and work on SDL.NET again.

Thanks Dave

New Tao.Sdl file Release and Tao.Sdl now part of the Mono Project - 21 Jul 2004

Due to the efforts of Randy Ridge, Tao has been added to the Mono Project. You can access the CVS repository and download the code. I have uploaded a copy of the Tao.Sdl source plus a compiled binary. You can get it here.

I have started to rewrite SDL.NET to use Tao.Sdl, but there is a lot of work to do on both libraries. Most importantly, there is a lot of marshaling work that needs to be done in Tao.Sdl so that SDL.NET can better create higher level functionality. Any help and/or advice will be greatly appreciated!

New Tao release - now including Tao.Sdl - 21 Apr 2004

Randy of Tao has released a new version of the library bindings. He has included my work on the SDL C# bindings and the Tao NAnt build system. The new release also includes new support for DevIl and GLFW in addition to OpenGL, OpenAL and Cg. SDL.NET will be built on the .NET 1.1 and Mono versions of Tao.

Quick Update on Tao Bindings - 10 Mar 2004

Lately, I have been working with Randy Ridge of the Tao OpenGL project to incorporate the native SDL bindings into Tao, thereby leaving the higher-level implementation for SDL.NET. Randy has added his code to my Tao.Sdl "alpha" and we are working on a NAnt build system for Tao. Once this is done the Tao.Sdl assembly will become a dependency for SDL.NET and I can begin working on the higher-level stuff in earnest.

Tao.SimpleDirectMediaLibrary alpha is now available - 13 Feb 2004

As I had mentioned in posts in the forum, the native bindings in SDL.NET 2.0 are going to be split out and become part of the Tao framework. SDL.NET 2.0 will focus on the higher-level functionality. You can get the file from the Downloads section under 'Supporting files.' - UPDATE: This file has been removed because it has been deprecated.

I have re-written the bindings from the ground up using the C headers from the various Sdl libraries. I have added documentation from those libraries as well (still more work needs to be done here). This version of the bindings is now CLS-compliant. If you are interested in things like Marshaling, IntPtr and DLLImports then take a look and send in your comments/fixes/whatever. I have started work on the higher level SDL.NET API that uses these bindings instead of the old ones. Note that these bindings are not compatible with SDL.NET 1.5.1.

Gearing up for SDL.NET 2.0 - 02 Jan 2004

Check out the latest thread in the Forum/Request for Enhancements and post your thoughts and suggestions for SDL.NET 2.0. What features and fixes would you like to see?

See Also

Main Page