docs.html
author Sam Lantinga <slouken@libsdl.org>
Fri, 15 Jun 2007 05:21:33 +0000
branchSDL-1.2
changeset 3960 f5daa62ce1c4
parent 1892 c08abb88531b
child 3963 a9ad5257f794
permissions -rw-r--r--
Updated docs with bug fixes in subversion.
     1 <HTML>
     2 <HEAD><TITLE>SDL Stable Release</TITLE></HEAD>
     3 <BODY BGCOLOR="#FFEBCD" TEXT="#000000">
     4 
     5 <IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
     6 <P>
     7 This source is stable, and is fully tested on all supported platforms.<br>
     8 Please send bug reports or questions to the SDL mailing list:<br>
     9 <a href="http://www.libsdl.org/mailing-list.php"
    10         >http://www.libsdl.org/mailing-list.php</a><br>
    11 The latest stable release may be found on the
    12 	<a href="http://www.libsdl.org/">SDL website</A>.
    13 </P>
    14 
    15 <H2> <A HREF="docs/index.html">API Documentation</A> </H2>
    16 
    17 <H2> SDL 1.2.12 Release Notes </H2>
    18 <P>
    19 SDL 1.2.12 is a minor bug fix release.
    20 </P>
    21 
    22 <H3> General Notes </H3>
    23 
    24 <BLOCKQUOTE>
    25 <P>
    26 	Added support for the PulseAudio sound server: http://www.pulseaudio.org/
    27 </P>
    28 <P>
    29 	Added SDL_VIDEO_ALLOW_SCREENSAVER to override SDL's disabling of the screensaver on Mac OS X and X11.
    30 </P>
    31 <P>
    32 	Fixed buffer overrun crash when resampling audio rates.
    33 </P>
    34 <P>
    35 	Fixed audio bug where converting to mono was doubling the volume.
    36 </P>
    37 <P>
    38 	Fixed off-by-one error in the C implementation of SDL_revcpy()
    39 </P>
    40 <P>
    41 	Support for AmigaOS has been removed from the main SDL code.
    42 </P>
    43 </BLOCKQUOTE>
    44 
    45 <H3> Unix Notes </H3>
    46 
    47 <BLOCKQUOTE>
    48 <P>
    49 	The GFX_Display has been added to the X11 window information in SDL_syswm.h.
    50 </P>
    51 <P>
    52 	Fixed PAGE_SIZE compile error in the fbcon video driver on newer Linux kernels.
    53 </P>
    54 <P>
    55 	Fixed hang or crash at startup if aRts can't access the hardware.
    56 </P>
    57 <P>
    58 	Fixed relative mouse mode when the cursor starts outside the X11 window.
    59 </P>
    60 <P>
    61 	Fixed accidental free of stack memory in X11 mouse acceleration code.
    62 </P>
    63 <P>
    64 	Closed minor memory leak in XME code.
    65 </P>
    66 </BLOCKQUOTE>
    67 
    68 <H3> Windows Notes </H3>
    69 
    70 <BLOCKQUOTE>
    71 <P>
    72 	Added support for UTF-8 window titles on Windows.
    73 </P>
    74 <P>
    75 	Fixed joystick detection on Windows.
    76 </P>
    77 <P>
    78 	Fixed HBITMAP leak in GAPI driver.
    79 </P>
    80 </BLOCKQUOTE>
    81 
    82 <H3> Mac OS X Notes </H3>
    83 
    84 <BLOCKQUOTE>
    85 <P>
    86 	Added support for multi-axis controllers like 3Dconnxion's SpaceNavigator on Mac OS X.
    87 </P>
    88 <P>
    89 	Fixed YUV overlay crash inside Quicktime on Intel Mac OS X.
    90 </P>
    91 <P>
    92 	Fixed blitting alignment in Altivec alpha blit functions.
    93 </P>
    94 <P>
    95 	Keys F13, F14, and F15 are now usable on Apple keyboards under Mac OS X.
    96 </P>
    97 <P>
    98 	Fixed joystick calibration code on Mac OS X.
    99 </P>
   100 <P>
   101 	Fixed mouse jitter when multiple motion events are queued up in Mac OS X.
   102 </P>
   103 </BLOCKQUOTE>
   104 
   105 <H3> BeOS Notes </H3>
   106 
   107 <BLOCKQUOTE>
   108 <P>
   109 	Implemented mouse grabbing and mouse relative mode on BeOS.
   110 </P>
   111 </BLOCKQUOTE>
   112 
   113 <IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
   114 
   115 <H2> SDL 1.2.11 Release Notes </H2>
   116 <P>
   117 SDL 1.2.11 is a minor bug fix release.
   118 </P>
   119 
   120 <H3> Unix Notes </H3>
   121 
   122 <BLOCKQUOTE>
   123 <P>
   124 	Dynamic X11 loading is only enabled with gcc 4 supporting -fvisibility=hidden.  This fixes crashes related to symbol collisions, and allows building on Solaris and IRIX.
   125 </P>
   126 <P>
   127 	Fixed building SDL with Xinerama disabled.
   128 </P>
   129 <P>
   130 	Fixed DRI OpenGL library loading, using RTLD_GLOBAL in dlopen().
   131 </P>
   132 <P>
   133 	Added pkgconfig configuration support.
   134 </P>
   135 </BLOCKQUOTE>
   136 
   137 <H3> Windows Notes </H3>
   138 
   139 <BLOCKQUOTE>
   140 <P>
   141 	Setting SDL_GL_SWAP_CONTROL now works with Windows OpenGL.
   142 </P>
   143 <P>
   144 	The Win32 window positioning code works properly for windows with menus.
   145 </P>
   146 <P>
   147 	DirectSound audio quality has been improved on certain sound cards.
   148 </P>
   149 <P>
   150 	Fixed 5.1 audio channel ordering on Windows and Mac OS X.
   151 </P>
   152 <P>
   153 	Plugged a couple of minor memory leaks in the windib video driver.
   154 </P>
   155 <P>
   156 	Fixed type collision with stdint.h when building with gcc on Win32.
   157 </P>
   158 <P>
   159 	Fixed building with the Digital Mars Compiler on Win32.
   160 </P>
   161 </BLOCKQUOTE>
   162 
   163 <H3> Mac OS X Notes </H3>
   164 
   165 <BLOCKQUOTE>
   166 <P>
   167 	The Quartz video driver supports 32x32 cursors on Mac OS X 10.3 and above.
   168 </P>
   169 </BLOCKQUOTE>
   170 
   171 <IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
   172 
   173 <H2> SDL 1.2.10 Release Notes </H2>
   174 <P>
   175 SDL 1.2.10 is a major release, featuring a revamp of the build system and many API improvements and bug fixes.
   176 </P>
   177 <H3> API enhancements </H3>
   178 <UL>
   179 <LI>
   180 	If SDL_OpenAudio() is passed zero for the desired format
   181 	fields, the following environment variables will be used
   182 	to fill them in:
   183 <pre><code>
   184 		SDL_AUDIO_FREQUENCY
   185 		SDL_AUDIO_FORMAT
   186 		SDL_AUDIO_CHANNELS
   187 		SDL_AUDIO_SAMPLES
   188 </code></pre>
   189 	If an environment variable is not specified, it will be set
   190 	to a reasonable default value.
   191 <LI>
   192 	SDL_SetVideoMode() now accepts 0 for width or height and will use
   193 	the current video mode (or the desktop mode if no mode has been set.)
   194 <LI>
   195 	Added current_w and current_h to the SDL_VideoInfo structure,
   196 	which is set to the desktop resolution during video intialization,
   197 	and then set to the current resolution when a video mode is set.
   198 <LI>
   199 	SDL_GL_LoadLibrary() will load the system default OpenGL library
   200 	if it is passed NULL as a parameter.
   201 <LI>
   202 	Added SDL_GL_SWAP_CONTROL to wait for vsync in OpenGL applications.
   203 <LI>
   204 	Added SDL_GL_ACCELERATED_VISUAL to guarantee hardware acceleration.
   205 <LI>
   206 	SDL_WM_SetCaption() now officially takes UTF-8 title and icon strings, and displays international characters on supported platforms.
   207 <LI>
   208 	Added SDL_GetKeyRepeat() to query the key repeat settings.
   209 <LI>
   210 	Added the "dummy" audio driver, which can be used to emulate audio
   211 	output without a sound card.
   212 <LI>
   213 	Added SDL_config.h, with defaults for various build environments.
   214 </UL>
   215 
   216 <H3> General Notes </H3>
   217 
   218 <BLOCKQUOTE>
   219 <P>
   220 	The SDL website now has an <A HREF="http://www.libsdl.org/rss/rss.xml">RSS feed</A>!
   221 <P>
   222 	The SDL development source code is now managed with <A HREF="http://www.libsdl.org/svn.php">Subversion</A>.
   223 <P>
   224 	SDL now uses the Bugzilla <A HREF="http://bugzilla.libsdl.org/">bug tracking system</A>, hosted by icculus.org.
   225 <P>
   226 	SDL is licensed under version 2.1 of the GNU Lesser General Public License.
   227 <P>
   228 	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.
   229 <P>
   230 	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>
   231 <P>
   232 	Alex Volkov contributed highly optimized RGB <-> RGBA blitters.
   233 </BLOCKQUOTE>
   234 
   235 <H3> Unix Notes </H3>
   236 
   237 <BLOCKQUOTE>
   238 <P>
   239 	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.
   240 <P>
   241 	The XiG XME extension code is now included in the X11 video driver by default.
   242 <P>
   243 	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.
   244 <P>
   245 	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.
   246 <P>
   247 	XVidMode video modes are now sorted so they maintain the refresh rates specified in the X11 configuration file.
   248 <P>
   249 	SDL windows are no longer transparent in X11 compositing systems like XGL.
   250 <P>
   251 	The mouse is properly released by the X11 video driver if the fullscreen window loses focus.
   252 <P>
   253 	The X11 input driver now uses XIM to handle international input.
   254 <P>
   255 	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.
   256 <P>
   257 	Fixed a bug preventing stereo OpenGL contexts from being selected on the X11 driver.
   258 <P>
   259 	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.
   260 <P>
   261 	The framebuffer console video driver now has a parser for /etc/fb.modes for improved video mode handling.
   262 <P>
   263 	The framebuffer console video driver now allows asynchronous VT switching, and restores the full contents of the screen when switched back.
   264 <P>
   265 	The framebuffer console now uses CTRL-ALT-FN to switch virtual terminals, to avoid collisions with application key bindings.
   266 <P>
   267 	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.
   268 <P>
   269 	The SVGAlib video driver now has support for banked (non-linear) video modes.
   270 <P>
   271 	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.
   272 <P>
   273 	Many patches have been incorporated from *BSD ports.
   274 </BLOCKQUOTE>
   275 
   276 <H3> Windows Notes </H3>
   277 
   278 <BLOCKQUOTE>
   279 <P>
   280 	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".
   281 <P>
   282 	SDL has been ported to 64-bit Windows.
   283 <P>
   284 	Dmitry Yakimov contributed a GAPI video driver for Windows CE.
   285 <P>
   286 	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.
   287 <P>
   288 	Dialog boxes are now shown when SDL is in windowed OpenGL mode.
   289 <P>
   290 	The SDL window is recreated when necessary to maintain OpenGL context attributes, when switching between windowed and fullscreen modes.
   291 <P>
   292 	An SDL_VIDEORESIZE event is properly sent when the SDL window is maximized and restored.
   293 <P>
   294 	Window positions are retained when switching between fullscreen and windowed modes.
   295 <P>
   296 	ToUnicode() is used, when available, for improved handling of international keyboard input.
   297 <P>
   298 	The PrtScrn is now treated normally with both key down and key up events.
   299 <P>
   300 	Pressing ALT-F4 now delivers an SDL_QUIT event to SDL applications.
   301 <P>
   302 	Joystick names are now correct for joysticks which have been unplugged and then plugged back in since booting.
   303 <P>
   304 	An MCI error when playing the last track on a CD-ROM has been fixed.
   305 <P>
   306 	OpenWatcom projects for building SDL have been provided by Marc Peter.
   307 </BLOCKQUOTE>
   308 
   309 <H3> Mac OS X Notes </H3>
   310 
   311 <BLOCKQUOTE>
   312 <P>
   313 	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.
   314 <P>
   315 	The X11 video driver with GLX support can be built on Mac OS X, if the X11 development SDK is installed.
   316 <P>
   317 	Transitions between fullscreen resolutions and windowed mode now use a much faster asynchronous fade to hide desktop flicker.
   318 <P>
   319 	Icons set with SDL_WM_SetIcon() now have the proper colors on Intel Macs.
   320 </BLOCKQUOTE>
   321 
   322 <H3> OS/2 Notes </H3>
   323 
   324 <BLOCKQUOTE>
   325 <P>
   326 	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.
   327 </BLOCKQUOTE>
   328 
   329 <IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
   330 
   331 </BODY>
   332 </HTML>