docs.html
author Sam Lantinga <slouken@libsdl.org>
Sun, 08 Jul 2007 20:38:36 +0000
branchSDL-1.2
changeset 4021 cbad710a6509
parent 4011 f5794774970d
child 4025 3ee8c808638b
permissions -rw-r--r--
Fixed bug #437

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