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