docs.html
author Sam Lantinga <slouken@libsdl.org>
Thu, 19 Jul 2007 08:12:45 +0000
branchSDL-1.2
changeset 4083 a66ac59b3939
parent 4074 fd1cbe7a706c
child 4115 63b57f6b6523
permissions -rw-r--r--
Added patch note for bug #461
     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, Windows, 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 	Fixed compiling with Sun Studio.
    42 </P>
    43 <P>
    44 	Support for AmigaOS has been removed from the main SDL code.
    45 </P>
    46 <P>
    47 	Support for Nokia 9210 "EPOC" driver has been removed from the main SDL code.
    48 </P>
    49 <P>
    50 	Unofficial support for the S60/SymbianOS platform has been added.
    51 </P>
    52 <P>
    53 	Unofficial support for the Nintendo DS platform has been added.
    54 </P>
    55 <P>
    56 	Reenabled MMX assembly for YUV overlay processing (GNU C Compiler only).
    57 </P>
    58 </BLOCKQUOTE>
    59 
    60 <H3> Unix Notes </H3>
    61 
    62 <BLOCKQUOTE>
    63 <P>
    64 	Fixed detection of X11 DGA mouse support.
    65 </P>
    66 <P>
    67 	Improved XIM support for asian character sets.
    68 </P>
    69 <P>
    70 	The GFX_Display has been added to the X11 window information in SDL_syswm.h.
    71 </P>
    72 <P>
    73 	Fixed PAGE_SIZE compile error in the fbcon video driver on newer Linux kernels.
    74 </P>
    75 <P>
    76 	Fixed hang or crash at startup if aRts can't access the hardware.
    77 </P>
    78 <P>
    79 	Fixed relative mouse mode when the cursor starts outside the X11 window.
    80 </P>
    81 <P>
    82 	Fixed accidental free of stack memory in X11 mouse acceleration code.
    83 </P>
    84 <P>
    85 	Closed minor memory leak in XME code.
    86 </P>
    87 <P>
    88 	Fixed TEXTRELs in the library to resolve some PIC issues.
    89 </P>
    90 </BLOCKQUOTE>
    91 
    92 <H3> Windows Notes </H3>
    93 
    94 <BLOCKQUOTE>
    95 <P>
    96 	The GDI video driver makes better use of the palette in 8-bit modes.
    97 </P>
    98 <P>
    99 	The windib driver now supports more mouse buttons with WM_XBUTTON events.
   100 </P>
   101 <P>
   102 	On Windows, SDL_SetVideoMode() will re-create the window instead of failing if the multisample settings are changed.
   103 </P>
   104 <P>
   105 	Added support for UTF-8 window titles on Windows.
   106 </P>
   107 <P>
   108 	Fixed joystick detection on Windows.
   109 </P>
   110 <P>
   111 	Improved performance with Win32 file I/O.
   112 </P>
   113 <P>
   114 	Fixed HBITMAP leak in GAPI driver.
   115 </P>
   116 </BLOCKQUOTE>
   117 
   118 <H3> Mac OS X Notes </H3>
   119 
   120 <BLOCKQUOTE>
   121 <P>
   122 	Added support for multi-axis controllers like 3Dconnxion's SpaceNavigator on Mac OS X.
   123 </P>
   124 <P>
   125 	Fixed YUV overlay crash inside Quicktime on Intel Mac OS X.
   126 </P>
   127 <P>
   128 	Fixed blitting alignment in Altivec alpha blit functions.
   129 </P>
   130 <P>
   131 	Keys F13, F14, and F15 are now usable on Apple keyboards under Mac OS X.
   132 </P>
   133 <P>
   134 	Fixed joystick calibration code on Mac OS X.
   135 </P>
   136 <P>
   137 	Fixed mouse jitter when multiple motion events are queued up in Mac OS X.
   138 </P>
   139 <P>
   140 	Fixed changing the cursor in fullscreen mode on Mac OS X.
   141 </P>
   142 </BLOCKQUOTE>
   143 
   144 <H3> Mac OS Classic Notes </H3>
   145 
   146 <BLOCKQUOTE>
   147 <P>
   148 	Added support for gamma ramps to both toolbox and DrawSprocket video drivers.
   149 </P>
   150 </BLOCKQUOTE>
   151 
   152 <H3> BeOS Notes </H3>
   153 
   154 <BLOCKQUOTE>
   155 <P>
   156 	Implemented mouse grabbing and mouse relative mode on BeOS.
   157 </P>
   158 </BLOCKQUOTE>
   159 
   160 <IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
   161 
   162 <H2> SDL 1.2.11 Release Notes </H2>
   163 <P>
   164 SDL 1.2.11 is a minor bug fix release.
   165 </P>
   166 
   167 <H3> Unix Notes </H3>
   168 
   169 <BLOCKQUOTE>
   170 <P>
   171 	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.
   172 </P>
   173 <P>
   174 	Fixed building SDL with Xinerama disabled.
   175 </P>
   176 <P>
   177 	Fixed DRI OpenGL library loading, using RTLD_GLOBAL in dlopen().
   178 </P>
   179 <P>
   180 	Added pkgconfig configuration support.
   181 </P>
   182 </BLOCKQUOTE>
   183 
   184 <H3> Windows Notes </H3>
   185 
   186 <BLOCKQUOTE>
   187 <P>
   188 	Setting SDL_GL_SWAP_CONTROL now works with Windows OpenGL.
   189 </P>
   190 <P>
   191 	The Win32 window positioning code works properly for windows with menus.
   192 </P>
   193 <P>
   194 	DirectSound audio quality has been improved on certain sound cards.
   195 </P>
   196 <P>
   197 	Fixed 5.1 audio channel ordering on Windows and Mac OS X.
   198 </P>
   199 <P>
   200 	Plugged a couple of minor memory leaks in the windib video driver.
   201 </P>
   202 <P>
   203 	Fixed type collision with stdint.h when building with gcc on Win32.
   204 </P>
   205 <P>
   206 	Fixed building with the Digital Mars Compiler on Win32.
   207 </P>
   208 </BLOCKQUOTE>
   209 
   210 <H3> Mac OS X Notes </H3>
   211 
   212 <BLOCKQUOTE>
   213 <P>
   214 	The Quartz video driver supports 32x32 cursors on Mac OS X 10.3 and above.
   215 </P>
   216 </BLOCKQUOTE>
   217 
   218 <IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
   219 
   220 <H2> SDL 1.2.10 Release Notes </H2>
   221 <P>
   222 SDL 1.2.10 is a major release, featuring a revamp of the build system and many API improvements and bug fixes.
   223 </P>
   224 <H3> API enhancements </H3>
   225 <UL>
   226 <LI>
   227 	If SDL_OpenAudio() is passed zero for the desired format
   228 	fields, the following environment variables will be used
   229 	to fill them in:
   230 <pre><code>
   231 		SDL_AUDIO_FREQUENCY
   232 		SDL_AUDIO_FORMAT
   233 		SDL_AUDIO_CHANNELS
   234 		SDL_AUDIO_SAMPLES
   235 </code></pre>
   236 	If an environment variable is not specified, it will be set
   237 	to a reasonable default value.
   238 <LI>
   239 	SDL_SetVideoMode() now accepts 0 for width or height and will use
   240 	the current video mode (or the desktop mode if no mode has been set.)
   241 <LI>
   242 	Added current_w and current_h to the SDL_VideoInfo structure,
   243 	which is set to the desktop resolution during video intialization,
   244 	and then set to the current resolution when a video mode is set.
   245 <LI>
   246 	SDL_GL_LoadLibrary() will load the system default OpenGL library
   247 	if it is passed NULL as a parameter.
   248 <LI>
   249 	Added SDL_GL_SWAP_CONTROL to wait for vsync in OpenGL applications.
   250 <LI>
   251 	Added SDL_GL_ACCELERATED_VISUAL to guarantee hardware acceleration.
   252 <LI>
   253 	SDL_WM_SetCaption() now officially takes UTF-8 title and icon strings, and displays international characters on supported platforms.
   254 <LI>
   255 	Added SDL_GetKeyRepeat() to query the key repeat settings.
   256 <LI>
   257 	Added the "dummy" audio driver, which can be used to emulate audio
   258 	output without a sound card.
   259 <LI>
   260 	Added SDL_config.h, with defaults for various build environments.
   261 </UL>
   262 
   263 <H3> General Notes </H3>
   264 
   265 <BLOCKQUOTE>
   266 <P>
   267 	The SDL website now has an <A HREF="http://www.libsdl.org/rss/rss.xml">RSS feed</A>!
   268 <P>
   269 	The SDL development source code is now managed with <A HREF="http://www.libsdl.org/svn.php">Subversion</A>.
   270 <P>
   271 	SDL now uses the Bugzilla <A HREF="http://bugzilla.libsdl.org/">bug tracking system</A>, hosted by icculus.org.
   272 <P>
   273 	SDL is licensed under version 2.1 of the GNU Lesser General Public License.
   274 <P>
   275 	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.
   276 <P>
   277 	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>
   278 <P>
   279 	Alex Volkov contributed highly optimized RGB <-> RGBA blitters.
   280 </BLOCKQUOTE>
   281 
   282 <H3> Unix Notes </H3>
   283 
   284 <BLOCKQUOTE>
   285 <P>
   286 	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.
   287 <P>
   288 	The XiG XME extension code is now included in the X11 video driver by default.
   289 <P>
   290 	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.
   291 <P>
   292 	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.
   293 <P>
   294 	XVidMode video modes are now sorted so they maintain the refresh rates specified in the X11 configuration file.
   295 <P>
   296 	SDL windows are no longer transparent in X11 compositing systems like XGL.
   297 <P>
   298 	The mouse is properly released by the X11 video driver if the fullscreen window loses focus.
   299 <P>
   300 	The X11 input driver now uses XIM to handle international input.
   301 <P>
   302 	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.
   303 <P>
   304 	Fixed a bug preventing stereo OpenGL contexts from being selected on the X11 driver.
   305 <P>
   306 	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.
   307 <P>
   308 	The framebuffer console video driver now has a parser for /etc/fb.modes for improved video mode handling.
   309 <P>
   310 	The framebuffer console video driver now allows asynchronous VT switching, and restores the full contents of the screen when switched back.
   311 <P>
   312 	The framebuffer console now uses CTRL-ALT-FN to switch virtual terminals, to avoid collisions with application key bindings.
   313 <P>
   314 	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.
   315 <P>
   316 	The SVGAlib video driver now has support for banked (non-linear) video modes.
   317 <P>
   318 	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.
   319 <P>
   320 	Many patches have been incorporated from *BSD ports.
   321 </BLOCKQUOTE>
   322 
   323 <H3> Windows Notes </H3>
   324 
   325 <BLOCKQUOTE>
   326 <P>
   327 	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".
   328 <P>
   329 	SDL has been ported to 64-bit Windows.
   330 <P>
   331 	Dmitry Yakimov contributed a GAPI video driver for Windows CE.
   332 <P>
   333 	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.
   334 <P>
   335 	Dialog boxes are now shown when SDL is in windowed OpenGL mode.
   336 <P>
   337 	The SDL window is recreated when necessary to maintain OpenGL context attributes, when switching between windowed and fullscreen modes.
   338 <P>
   339 	An SDL_VIDEORESIZE event is properly sent when the SDL window is maximized and restored.
   340 <P>
   341 	Window positions are retained when switching between fullscreen and windowed modes.
   342 <P>
   343 	ToUnicode() is used, when available, for improved handling of international keyboard input.
   344 <P>
   345 	The PrtScrn is now treated normally with both key down and key up events.
   346 <P>
   347 	Pressing ALT-F4 now delivers an SDL_QUIT event to SDL applications.
   348 <P>
   349 	Joystick names are now correct for joysticks which have been unplugged and then plugged back in since booting.
   350 <P>
   351 	An MCI error when playing the last track on a CD-ROM has been fixed.
   352 <P>
   353 	OpenWatcom projects for building SDL have been provided by Marc Peter.
   354 </BLOCKQUOTE>
   355 
   356 <H3> Mac OS X Notes </H3>
   357 
   358 <BLOCKQUOTE>
   359 <P>
   360 	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.
   361 <P>
   362 	The X11 video driver with GLX support can be built on Mac OS X, if the X11 development SDK is installed.
   363 <P>
   364 	Transitions between fullscreen resolutions and windowed mode now use a much faster asynchronous fade to hide desktop flicker.
   365 <P>
   366 	Icons set with SDL_WM_SetIcon() now have the proper colors on Intel Macs.
   367 </BLOCKQUOTE>
   368 
   369 <H3> OS/2 Notes </H3>
   370 
   371 <BLOCKQUOTE>
   372 <P>
   373 	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.
   374 </BLOCKQUOTE>
   375 
   376 <IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
   377 
   378 </BODY>
   379 </HTML>