docs.html
author Sam Lantinga <slouken@libsdl.org>
Wed, 17 May 2006 08:18:28 +0000
branchSDL-1.3
changeset 1659 14717b52abc0
parent 1124 4a061326d752
child 1892 c08abb88531b
permissions -rw-r--r--
Merge trunk-1.3-3
slouken@0
     1
<HTML>
slouken@0
     2
<HEAD><TITLE>SDL Stable Release</TITLE></HEAD>
slouken@0
     3
<BODY BGCOLOR="#FFEBCD" TEXT="#000000">
slouken@0
     4
slouken@0
     5
<IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
slouken@0
     6
<P>
slouken@511
     7
This source is stable, and is fully tested on all supported platforms.<br>
slouken@511
     8
Please send bug reports or questions to the SDL mailing list:<br>
slouken@511
     9
<a href="http://www.libsdl.org/mailing-list.php"
slouken@511
    10
        >http://www.libsdl.org/mailing-list.php</a><br>
slouken@511
    11
The latest stable release may be found on the
slouken@511
    12
	<a href="http://www.libsdl.org/">SDL website</A>.
slouken@511
    13
</P>
slouken@0
    14
slouken@0
    15
<H2> <A HREF="docs/index.html">API Documentation</A> </H2>
slouken@1659
    16
slouken@1659
    17
<H2> SDL 1.2.10 Release Notes </H2>
slouken@0
    18
<P>
slouken@1659
    19
SDL 1.2.10 is a major release, featuring a revamp of the build system and many API improvements and bug fixes.
slouken@1659
    20
</P>
slouken@1659
    21
<H3> API enhancements </H3>
slouken@0
    22
<UL>
slouken@1659
    23
<LI>
slouken@1659
    24
	If SDL_OpenAudio() is passed zero for the desired format
slouken@1659
    25
	fields, the following environment variables will be used
slouken@1659
    26
	to fill them in:
slouken@1659
    27
<pre><code>
slouken@1659
    28
		SDL_AUDIO_FREQUENCY
slouken@1659
    29
		SDL_AUDIO_FORMAT
slouken@1659
    30
		SDL_AUDIO_CHANNELS
slouken@1659
    31
		SDL_AUDIO_SAMPLES
slouken@1659
    32
</code></pre>
slouken@1659
    33
	If an environment variable is not specified, it will be set
slouken@1659
    34
	to a reasonable default value.
slouken@1659
    35
<LI>
slouken@1659
    36
	SDL_SetVideoMode() now accepts 0 for width or height and will use
slouken@1659
    37
	the current video mode (or the desktop mode if no mode has been set.)
slouken@1659
    38
<LI>
slouken@1659
    39
	Added current_w and current_h to the SDL_VideoInfo structure,
slouken@1659
    40
	which is set to the desktop resolution during video intialization,
slouken@1659
    41
	and then set to the current resolution when a video mode is set.
slouken@1659
    42
<LI>
slouken@1659
    43
	SDL_GL_LoadLibrary() will load the system default OpenGL library
slouken@1659
    44
	if it is passed NULL as a parameter.
slouken@1659
    45
<LI>
slouken@1659
    46
	Added SDL_GL_SWAP_CONTROL to wait for vsync in OpenGL applications.
slouken@1659
    47
<LI>
slouken@1659
    48
	Added SDL_GL_ACCELERATED_VISUAL to guarantee hardware acceleration.
slouken@1659
    49
<LI>
slouken@1659
    50
	SDL_WM_SetCaption() now officially takes UTF-8 title and icon strings, and displays international characters on supported platforms.
slouken@1659
    51
<LI>
slouken@1659
    52
	Added SDL_GetKeyRepeat() to query the key repeat settings.
slouken@1659
    53
<LI>
slouken@1659
    54
	Added the "dummy" audio driver, which can be used to emulate audio
slouken@1659
    55
	output without a sound card.
slouken@1659
    56
<LI>
slouken@1659
    57
	Added SDL_config.h, with defaults for various build environments.
slouken@0
    58
</UL>
slouken@0
    59
slouken@1659
    60
<H3> General Notes </H3>
slouken@0
    61
slouken@1659
    62
<BLOCKQUOTE>
slouken@1659
    63
<P>
slouken@1659
    64
	The SDL website now has an <A HREF="http://www.libsdl.org/rss/rss.xml">RSS feed</A>!
slouken@1659
    65
<P>
slouken@1659
    66
	The SDL development source code is now managed with <A HREF="http://www.libsdl.org/svn.php">Subversion</A>.
slouken@1659
    67
<P>
slouken@1659
    68
	SDL now uses the Bugzilla <A HREF="http://bugzilla.libsdl.org/">bug tracking system</A>, hosted by icculus.org.
slouken@1659
    69
<P>
slouken@1659
    70
	SDL is licensed under version 2.1 of the GNU Lesser General Public License.
slouken@1659
    71
<P>
slouken@1659
    72
	The entire build system has been revamped to make it much more portable, including versions of C library functions to make it possible to run SDL on a minimal embedded environment.  See README.Porting in the SDL source distribution for information on how to port SDL to a new platform.
slouken@1659
    73
<P>
slouken@1659
    74
	SDL_opengl.h has been updated with the latest glext.h from <A HREF="http://oss.sgi.com/projects/ogl-sample/registry/">http://oss.sgi.com/projects/ogl-sample/registry/</A>
slouken@1659
    75
<P>
slouken@1659
    76
	Alex Volkov contributed highly optimized RGB <-> RGBA blitters.
slouken@1659
    77
</BLOCKQUOTE>
slouken@0
    78
slouken@1659
    79
<H3> Unix Notes </H3>
slouken@0
    80
slouken@1659
    81
<BLOCKQUOTE>
slouken@1659
    82
<P>
slouken@1659
    83
	The X11 libraries are dynamically loaded at runtime by default.  This allows the distributed version of SDL to run on systems without X11 libraries installed.
slouken@1659
    84
<P>
slouken@1659
    85
	The XiG XME extension code is now included in the X11 video driver by default.
slouken@1659
    86
<P>
slouken@1659
    87
	XRandR support for video mode switching has been added to the X11 driver, but is disabled because of undesired interactions with window managers.  You can enable this by setting the environment variable SDL_VIDEO_X11_XRANDR to 1.
slouken@1659
    88
<P>
slouken@1659
    89
	Xinerama multi-head displays are properly handled now, and the SDL_VIDEO_FULLSCREEN_HEAD environment variable can be used to select the screen used for fullscreen video modes.  Note that changing the video modes only works on screen 0.
slouken@1659
    90
<P>
slouken@1659
    91
	XVidMode video modes are now sorted so they maintain the refresh rates specified in the X11 configuration file.
slouken@1659
    92
<P>
slouken@1659
    93
	SDL windows are no longer transparent in X11 compositing systems like XGL.
slouken@1659
    94
<P>
slouken@1659
    95
	The mouse is properly released by the X11 video driver if the fullscreen window loses focus.
slouken@1659
    96
<P>
slouken@1659
    97
	The X11 input driver now uses XIM to handle international input.
slouken@1659
    98
<P>
slouken@1659
    99
	The screensaver and DPMS monitor blanking are disabled while SDL games are running under the X11 and DGA video drivers.  This behavior will be formalized and selectable in SDL 1.3.
slouken@1659
   100
<P>
slouken@1659
   101
	Fixed a bug preventing stereo OpenGL contexts from being selected on the X11 driver.
slouken@1659
   102
<P>
slouken@1659
   103
	The DGA video driver now waits for pending blits involving surfaces before they are freed.  This prevents display oddities when using SDL_DisplayFormat() to convert many images.
slouken@1659
   104
<P>
slouken@1659
   105
	The framebuffer console video driver now has a parser for /etc/fb.modes for improved video mode handling.
slouken@1659
   106
<P>
slouken@1659
   107
	The framebuffer console video driver now allows asynchronous VT switching, and restores the full contents of the screen when switched back.
slouken@1659
   108
<P>
slouken@1659
   109
	The framebuffer console now uses CTRL-ALT-FN to switch virtual terminals, to avoid collisions with application key bindings.
slouken@1659
   110
<P>
slouken@1659
   111
	The framebuffer console input driver correctly sets IMPS/2 mode for wheel mice.  It also properly detects when gpm is in IMPS/2 protocol mode, or passing raw protocol from an IMPS/2 mouse.
slouken@1659
   112
<P>
slouken@1659
   113
	The SVGAlib video driver now has support for banked (non-linear) video modes.
slouken@1659
   114
<P>
slouken@1659
   115
	A video driver for OpenBSD on the Sharp Zaurus has been contributed by Staffan Ulfberg.  See the file README.wscons in the SDL source distribution for details.
slouken@1659
   116
<P>
slouken@1659
   117
	Many patches have been incorporated from *BSD ports.
slouken@1659
   118
</BLOCKQUOTE>
slouken@0
   119
slouken@1659
   120
<H3> Windows Notes </H3>
slouken@0
   121
slouken@1659
   122
<BLOCKQUOTE>
slouken@1659
   123
<P>
slouken@1659
   124
	The "windib" video driver is the default now, to prevent problems with certain laptops, 64-bit Windows, and Windows Vista.  The DirectX driver is still available, and can be selected by setting the environment variable SDL_VIDEODRIVER to "directx".
slouken@1659
   125
<P>
slouken@1659
   126
	SDL has been ported to 64-bit Windows.
slouken@1659
   127
<P>
slouken@1659
   128
	Dmitry Yakimov contributed a GAPI video driver for Windows CE.
slouken@1659
   129
<P>
slouken@1659
   130
	The default fullscreen refresh rate has been increased to match the desktop refresh rate, when using equivalent resolutions.  A full API for querying and selecting refresh rates is planned for SDL 1.3.
slouken@1659
   131
<P>
slouken@1659
   132
	Dialog boxes are now shown when SDL is in windowed OpenGL mode.
slouken@1659
   133
<P>
slouken@1659
   134
	The SDL window is recreated when necessary to maintain OpenGL context attributes, when switching between windowed and fullscreen modes.
slouken@1659
   135
<P>
slouken@1659
   136
	An SDL_VIDEORESIZE event is properly sent when the SDL window is maximized and restored.
slouken@1659
   137
<P>
slouken@1659
   138
	Window positions are retained when switching between fullscreen and windowed modes.
slouken@1659
   139
<P>
slouken@1659
   140
	ToUnicode() is used, when available, for improved handling of international keyboard input.
slouken@1659
   141
<P>
slouken@1659
   142
	The PrtScrn is now treated normally with both key down and key up events.
slouken@1659
   143
<P>
slouken@1659
   144
	Pressing ALT-F4 now delivers an SDL_QUIT event to SDL applications.
slouken@1659
   145
<P>
slouken@1659
   146
	Joystick names are now correct for joysticks which have been unplugged and then plugged back in since booting.
slouken@1659
   147
<P>
slouken@1659
   148
	An MCI error when playing the last track on a CD-ROM has been fixed.
slouken@1659
   149
<P>
slouken@1659
   150
	OpenWatcom projects for building SDL have been provided by Marc Peter.
slouken@1659
   151
</BLOCKQUOTE>
slouken@0
   152
slouken@1659
   153
<H3> Mac OS X Notes </H3>
slouken@1659
   154
slouken@1659
   155
<BLOCKQUOTE>
slouken@0
   156
<P>
slouken@1659
   157
	SDL now supports building Universal binaries, both through Xcode projects and when using configure/make.  See README.MacOSX in the SDL source archive for details.
slouken@1659
   158
<P>
slouken@1659
   159
	The X11 video driver with GLX support can be built on Mac OS X, if the X11 development SDK is installed.
slouken@1659
   160
<P>
slouken@1659
   161
	Transitions between fullscreen resolutions and windowed mode now use a much faster asynchronous fade to hide desktop flicker.
slouken@1659
   162
<P>
slouken@1659
   163
	Icons set with SDL_WM_SetIcon() now have the proper colors on Intel Macs.
slouken@1659
   164
</BLOCKQUOTE>
slouken@1659
   165
slouken@1659
   166
<H3> OS/2 Notes </H3>
slouken@1659
   167
slouken@1659
   168
<BLOCKQUOTE>
slouken@1659
   169
<P>
slouken@1659
   170
	Projects for building SDL on OS/2 with OpenWatcom have been contributed by Doodle.  See the file README.OS2 in the SDL source distribution for details.
slouken@1659
   171
</BLOCKQUOTE>
slouken@1659
   172
slouken@0
   173
<IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
slouken@0
   174
slouken@0
   175
</BODY>
slouken@0
   176
</HTML>