Long awaited CVS update

Here is the long awaited CVS update:
http://www.devolution.com/~slouken/SDL/download.html

   * Linux cdrom list now comes from /etc/fstab 
   * Fixed support for UK keyboard (thanks John Elliott) 
   * The event queue is now thread-safe 
   * Added event queue pump function: SDL_PumpEvents() 
   * Added low level event function: SDL_PeepEvents() 
   * Added a new thread function: SDL_ThreadID() 
   * Fixed an audio rate conversion memory overrun 
   * Fixed crash with RLE acceleration on big surfaces 
   * Improved MacOS display driver - added fullscreen 
   * Removed spurious warnings from Linux X11 driver 
   * Fixed memory leak in SDL_InvalidateMap() 
   * Fixed right button of 2-button mice on Win32 
   * Enabled XFree86 mode changes on older servers 

The big changes are that SDL now supports a thread-safe event queue,
and if -DTHREADED_EVENTS is defined on Linux, a separate event thread
will be spawned to deliver events to the event queue asynchronously
from the main thread. This was a feature in 0.3, and is back and
works by popular demand. :slight_smile:

To support this new event model, two new optional functions are available:
SDL_PumpEvents(), which is used to pump the event queue when
-DTHREADED_EVENTS is not defined.
and
SDL_PeepEvents(), which is used to manipulate the event queue
in a thread-safe manner. It even allows you to add your own
events to the queue.
See the new test program “threadwin.c” for an example of the new functions.

The old functions are still fully supported, and are implemented as
wrappers around the new functions.

Michael Mestre has contributed a new demo program:
“sierp”
It uses a very simple algorithm based on the color=x|y function,
which produces a sierpinsky-like image : very fun !

This is still just a CVS update release because the code has not been
fully tested on all supported platforms.

See ya!
-Sam Lantinga (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
Author of Simple DirectMedia Layer -
http://www.devolution.com/~slouken/SDL/

I doesn’t seem to be able to update SDL and SDL-demos via CVS, I always
get:

$ cvs update -d
cvs [update aborted]: connect to devolution.com:2401 failed: Connection refused

Is anybody else experiencing such a problem?

-MicheleOn Fri, Feb 19, 1999 at 05:18:48PM -0800, Sam Lantinga wrote:

This is still just a CVS update release because the code has not been
fully tested on all supported platforms.

I doesn’t seem to be able to update SDL and SDL-demos via CVS, I always
get:

$ cvs update -d
cvs [update aborted]: connect to devolution.com:2401 failed: Connection refused

The server has moved a few times, and the CVS server hasn’t been set up
yet. I’ll take care of that tomorrow. In the meantime, you can pick it
up from the web page at:
http://www.devolution.com/~slouken/SDL/download.html

See ya!
-Sam Lantinga (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
Author of Simple DirectMedia Layer -
http://www.devolution.com/~slouken/SDL/