docs.html
author Cameron Cawley <ccawley2011@gmail.com>
Tue, 03 Sep 2019 16:49:46 +0100
branchSDL-1.2
changeset 13051 08ae4fcfa2e3
parent 13009 12a87fcb4d97
child 13054 d07097a0e57e
permissions -rw-r--r--
Fix spelling of RISC OS in the changelog
     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 <IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
    18 
    19 <H2> SDL 1.2.16 Release Notes </H2>
    20 <P>
    21 SDL 1.2.16 is mostly multiple bug fixes since the previous version.
    22 Changes include:
    23 </P>
    24 <BLOCKQUOTE>
    25 <P>
    26   Audio, wav loader: security fixes for ADPCM decoding (CVE-2019-7572,
    27   CVE-2019-7573, CVE-2019-7574, CVE-2019-7575, CVE-2019-7576,
    28   CVE-2019-7577, CVE-2019-7578 -- bugs <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=4490">4490</a>, <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=4491">4491</a>, <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=4492">4492</a>, <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=4493">4493</a>, <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=4494">4494</a>,
    29   <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=4495">4495</a>, <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=4496">4496</a>, and <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=4522">4522</a>.)
    30 </P>
    31 <P>
    32   Video, bmp loader:  security fixes for CVE-2019-7635, CVE-2019-7636,
    33   CVE-2019-7638, CVE-2019-13616 (bugs <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=4498">4498</a>, <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=4499">4499</a>, <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=4500">4500</a>,
    34   <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=4517">4517</a> and <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=4538">4538</a>.)
    35 </P>
    36 <P>
    37   Video, blit: fix handling of alpha channel in Altivec accelerated
    38   blit functions (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=1424">1424</a>.)
    39 </P>
    40 <P>
    41   Video, blit: use fast path for RGB 565 -> 32-bit XRGB 8888
    42 </P>
    43 <P>
    44   Video, blit: fix RGBA<->RGBA blit broken with the optimization from
    45   <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=11">bug 11</a> (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=2976">2976</a>.)
    46 </P>
    47 <P>
    48   Video: fix integer overflow in SDL_CalculatePitch (CVE-2019-7637,
    49   bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=4497">4497</a>.)
    50 </P>
    51 <P>
    52   Mouse: fix SDL_ResetMouse() using a bogus mouse button causing a
    53   negative shift (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=3593">3593</a>.)
    54 </P>
    55 <P>
    56   Cdrom: fix SDL_CDResume() and SDL_CDStop() not returning failure
    57   when they should (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=4108">4108</a>.)
    58 </P>
    59 <P>
    60   Unix, pthread: Fix SDL_SemWaitTimeout() returning -1 instead of
    61   SDL_MUTEX_TIMEDOUT upon timeout (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=1426">1426</a>.)
    62 </P>
    63 <P>
    64   NetBSD: wscons support.
    65 </P>
    66 <P>
    67   NetBSD, audio: use AUDIO_GETBUFINFO when available.
    68 </P>
    69 <P>
    70   OpenBSD, audio: add sndio support.
    71 </P>
    72 <P>
    73   Haiku/BeOS, audio: fix error in buffer size setting (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=1679">1679</a>.)
    74 </P>
    75 <P>
    76   OpenBSD: fix dynamic loading of X libs (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=1434">1434</a>.)
    77 </P>
    78 <P>
    79   X11video: fix missing symbol X11_KeyToUnicode in .so file (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=1390">1390</a>.
    80   not being an official SDL function, the use of X11_KeyToUnicode() is
    81   strongly discouraged.)
    82 </P>
    83 <P>
    84   X11video: fix compilation with libX11 >= 1.5.99.902 (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=1769">1769</a>.)
    85 </P>
    86 <P>
    87   X11video: fix for XChangeProperty() crash (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=1427">1427</a>.)
    88 </P>
    89 <P>
    90   X11video: fix SDL_EnableUNICODE sometimes dropping keyboard events
    91   completely (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=2325">2325</a>.)
    92 </P>
    93 <P>
    94   X11video: fix no SDL_VIDEORESIZE event being generated when the
    95   window manager sets the window size (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=1859">1859</a>.)
    96 </P>
    97 <P>
    98   X11video: fix X11_SetGammaRamp not checking the return value of
    99   XStoreColors (bugs <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=1979">1979</a>, <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=3770">3770</a>.)
   100 </P>
   101 <P>
   102   X11video: fix SDL_VIDEORESIZE events not received when resizing
   103   window from the corner (inverted logic in X11 ConfigureNotify, i.e.
   104   resize handling - bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=1430">1430</a>.)
   105 </P>
   106 <P>
   107   X11video: unblock SDL_WM_GrabInput() GrabNotViewable case (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=1155">1155</a>.)
   108 </P>
   109 <P>
   110   Mac OS X: fix crash on any input in Quartz code (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=2560">2560</a>.)
   111 </P>
   112 <P>
   113   Mac OS X: fix crash in Quartz gamma ramp code.
   114 </P>
   115 <P>
   116   Mac OS X: fix build for 10.9 Mavericks or newer (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=2085">2085</a>.)
   117 </P>
   118 <P>
   119   Mac OS X, Quartz: fix cursor transparency (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=4076">4076</a>.)
   120 </P>
   121 <P>
   122   Mac OS X, joystick: update to support Saitek p2500 gamepad (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=2025">2025</a>)
   123 </P>
   124 <P>
   125   Mac OS X, main: updates for -psn_XXX command line arg for Finder
   126   launches in new macOS versions.
   127 </P>
   128 <P>
   129   Mac OS X, main: replace deprecated CPS apis in new OSX versions
   130   (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=4114">4114</a>.)
   131 </P>
   132 <P>
   133   Windows, video: fix other window positions/sizes when exiting
   134   fullscreen (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=3315">3315</a>.)
   135 </P>
   136 <P>
   137   Windows, keyboard: reset deadkeys upon SDL_EnableUNICODE() or upon
   138   quit (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=3332">3332</a>.)
   139 </P>
   140 <P>
   141   Windows: Visual Studio project file updates.
   142 </P>
   143 <P>
   144   OS/2: Watcom makefile updates.
   145 </P>
   146 <P>
   147   FreeBSD, joystick: compile fixes.
   148 </P>
   149 <P>
   150   BSD, joystick: increase the number of uhid devices to scan (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=1561">1561</a>)
   151 </P>
   152 <P>
   153   Linux, evdev: ignore joystick axis events if they aren't in a sane
   154   range.
   155 </P>
   156 <P>
   157   Linux, joystick: fix Dualshock 3's motion sensors overwrite analog
   158   stick: protect against any axis that isn't reported by EVIOCGBIT but
   159   still sending EV_ABS events (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=3193">3193</a>.)
   160 </P>
   161 <P>
   162   FreeBSD, cdrom: fix CDROM detection misbehaviour for 7.x and newer
   163   (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=1529">1529</a>.)
   164 </P>
   165 <P>
   166   Solaris, audio: fix pulseaudio dynamic linking.
   167 </P>
   168 <P>
   169   Solaris, cpuinfo: fix asm syntax error causing build failures.
   170 </P>
   171 <P>
   172   Atari: multiple platform code updates.
   173 </P>
   174 <P>
   175   RISC OS: cleanups to platform code.
   176 </P>
   177 <P>
   178   RISC OS: fix thread starvation in fullscreen mode.
   179 </P>
   180 <P>
   181   RISC OS: fix returning from full-screen to 16M colour modes.
   182 </P>
   183 <P>
   184   RISC OS: fix receiving PreQuit messages.
   185 </P>
   186 <P>
   187   RISC OS: ensure the window size is consistent at different DPIs.
   188 </P>
   189 <P>
   190   RISC OS, video: add support for more pixel formats.
   191 </P>
   192 <P>
   193   RISC OS: mouse fixes. restore mouse palette when exiting while mouse
   194   is in focus. don't reset mouse focus when recreating the window.
   195 </P>
   196 <P>
   197   RISC OS: support Windows and Menu key input.
   198 </P>
   199 <P>
   200   Configuration: fix library detection selecting wrong lib (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=2795">2795</a>.)
   201 </P>
   202 <P>
   203   Configuration: fix detecting dynamic library support on powerpc64le
   204   (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=3481">3481</a>.)
   205 </P>
   206 <P>
   207   SDL error: string formatting fixes to deal with nasty corner cases
   208   (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=2049">2049</a>.)
   209 </P>
   210 <P>
   211   SDL_error: handle %lu, %li and %ld in format string (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=3739">3739</a>.)
   212 </P>
   213 <P>
   214   stdlib: updated SDL_qsort() code.
   215 </P>
   216 <P>
   217   stdlib: use _strtoi64() and _strtoui64() when available for windows.
   218 </P>
   219 <P>
   220   headers, close_code.h: fix unbalanced #pragma pack(pop) for watcom
   221   builds (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=3781">3781</a>.)
   222 </P>
   223 <P>
   224   headers, begin_code.h, close_code.h: updates to SDLCALL and DECLSPEC
   225   macros for OS/2.
   226 </P>
   227 <P>
   228   headers, endian: add Watcom inline asm for SDL_Swap16 and SDL_Swap32
   229 </P>
   230 <P>
   231   headers, config: updates to default windows and os2 config files.
   232 </P>
   233 <P>
   234   headers, SDL_syswm.h, SDL_stdinc.h: include system headers before
   235   packing alignment changes (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=4149">4149</a>.)
   236 </P>
   237 </BLOCKQUOTE>
   238 
   239 <IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
   240 
   241 <H2> SDL 1.2.15 Release Notes </H2>
   242 <P>
   243 SDL 1.2.15 is a minor bug fix release.
   244 </P>
   245 
   246 <H3> General Notes </H3>
   247 
   248 <BLOCKQUOTE>
   249 <P>
   250 	Fixed assembly register clobbering in CPU info routines
   251 </P>
   252 <P>
   253 	Fixed memory stomp when using stretch blit on large images
   254 </P>
   255 <P>
   256 	Fixed pixel corruption with overlapping blits
   257 </P>
   258 <P>
   259 	SDL_JOYSTICK_DEVICE can be a colon separated list of joystick devices
   260 </P>
   261 <P>
   262 	Disabled MMX blitters since they don't compile on modern compilers
   263 </P>
   264 </BLOCKQUOTE>
   265 
   266 <H3> Unix Notes </H3>
   267 
   268 <BLOCKQUOTE>
   269 <P>
   270 	Fixed crash in joystick code on newer Linux kernels
   271 </P>
   272 <P>
   273 	Fixed channel swizzling for ALSA target with 6-channel output
   274 </P>
   275 <P>
   276 	Use the OpenGL GLX_EXT_swap_control extension if available
   277 </P>
   278 <P>
   279 	XRandR support is disabled by default because it causes desktop reconfiguring.  It can be enabled with the SDL_VIDEO_X11_XRANDR=1 environment variable, or by applying this patch: <a href="http://hg.libsdl.org/SDL/raw-rev/8ec3036098df">http://hg.libsdl.org/SDL/raw-rev/8ec3036098df</a>
   280 </P>
   281 </BLOCKQUOTE>
   282 
   283 <H3> Windows Notes </H3>
   284 
   285 <BLOCKQUOTE>
   286 <P>
   287 	Fixed SDL_GL_ACCELERATED_VISUAL handling
   288 </P>
   289 <P>
   290 	Fixed application state handling with ALT-Tab
   291 </P>
   292 <P>
   293 	Fixed occasional crash handling WM_ACTIVATEAPP in Direct X code
   294 </P>
   295 <P>
   296 	Fixed UTF-8 decoding of Russian characters
   297 </P>
   298 </BLOCKQUOTE>
   299 
   300 <H3> Mac OS X Notes </H3>
   301 
   302 <BLOCKQUOTE>
   303 <P>
   304 	Fixed building and running on Mac OS X 10.7 (Lion)
   305 </P>
   306 </BLOCKQUOTE>
   307 
   308 <IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
   309 
   310 <H2> SDL 1.2.14 Release Notes </H2>
   311 <P>
   312 SDL 1.2.14 is a significant bug fix release and a recommended update.
   313 </P>
   314 
   315 <H3> General Notes </H3>
   316 
   317 <BLOCKQUOTE>
   318 <P>
   319 	Fixed flicker when resizing the SDL window
   320 </P>
   321 <P>
   322 	Fixed crash in SDL_SetGammaRamp()
   323 </P>
   324 <P>
   325 	Fixed freeze in SDL_memset() with 0 length when assembly code is disabled.
   326 </P>
   327 <P>
   328 	Added SDL_DISABLE_LOCK_KEYS environment variable to enable normal up/down events for Caps-Lock and Num-Lock keys.
   329 </P>
   330 <P>
   331 	Fixed audio quality problem when converting between 22050 Hz and 44100 Hz.
   332 </P>
   333 <P>
   334 	Fixed a threading crash when a few threads are rapidly created and complete.
   335 </P>
   336 <P>
   337 	Increased accuracy of alpha blending routines.
   338 </P>
   339 <P>
   340 	Fixed crash loading BMP files saved with the scanlines inverted.
   341 </P>
   342 <P>
   343 	Fixed mouse coordinate clamping if SDL_SetVideoMode() isn't called in response to SDL_VIDEORESIZE event.
   344 </P>
   345 <P>
   346 	Added doxygen documentation for the SDL API headers.
   347 </P>
   348 </BLOCKQUOTE>
   349 
   350 <H3> Unix Notes </H3>
   351 
   352 <BLOCKQUOTE>
   353 <P>
   354 	Fixed potential memory corruption due to assembly bug with SDL_revcpy()
   355 </P>
   356 <P>
   357 	Fixed crashes trying to detect SSE features on x86_64 architecture.
   358 </P>
   359 <P>
   360 	Fixed assembly for GCC optimized 50% alpha blending blits.
   361 </P>
   362 <P>
   363 	Added configure option --enable-screensaver, to allow enabling the screensaver by default.
   364 </P>
   365 <P>
   366 	Use XResetScreenSaver() instead of disabling screensaver entirely.
   367 </P>
   368 <P>
   369 	Removed the maximum window size limitation on X11.
   370 </P>
   371 <P>
   372 	Fixed SDL_GL_SWAP_CONTROL on X11.
   373 </P>
   374 <P>
   375 	Fixed setting the X11 window input hint.
   376 </P>
   377 <P>
   378 	Fixed distorted X11 window icon for some visuals.
   379 </P>
   380 <P>
   381 	Fixed detecting X11 libraries for dynamic loading on 64-bit Linux.
   382 </P>
   383 <P>
   384 	SDL_GL_GetAttribute(SDL_GL_SWAP_CONTROL) returns the correct value with GLX_SGI_swap_control.
   385 </P>
   386 <P>
   387 	Added SDL_VIDEO_FULLSCREEN_DISPLAY as a preferred synonym for SDL_VIDEO_FULLSCREEN_HEAD on X11.
   388 </P>
   389 <P>
   390 	The SDL_VIDEO_FULLSCREEN_DISPLAY environment variable can be set to 0 to place fullscreen SDL windows on the first Xinerama screen.
   391 </P>
   392 <P>
   393 	Added the SDL_VIDEO_FBCON_ROTATION environment variable to control output orientation on the framebuffer console.
   394 	<BR>
   395 	Valid values are:
   396 	<UL>
   397 	<LI>not set   - Not rotating, no shadow.
   398 	<LI>"NONE"    - Not rotating, but still using shadow.
   399 	<LI>"CW"      - Rotating screen clockwise.
   400 	<LI>"UD"      - Rotating screen upside down.
   401 	<LI>"CCW"     - Rotating screen counter clockwise.
   402 	</UL>
   403 </P>
   404 <P>
   405 	Fixed DirectFB detection on some Linux distributions.
   406 </P>
   407 <P>
   408 	Added code to use the PS3 SPE processors for YUV conversion on Linux.
   409 </P>
   410 <P>
   411 	Updated ALSA support to the latest stable API
   412 </P>
   413 <P>
   414 	ALSA is now preferred over OSS audio.  (SDL_AUDIODRIVER=dsp will restore the previous behavior.)
   415 </P>
   416 <P>
   417 	Improved support for PulseAudio
   418 </P>
   419 <P>
   420 	The Network Audio System support is now dynamically loaded at runtime.
   421 </P>
   422 <P>
   423 	Fixed crash with the MP-8866 Dual USB Joypad on newer Linux kernels.
   424 </P>
   425 <P>
   426 	Fixed crash in SDL_Quit() when a joystick has been unplugged.
   427 </P>
   428 </BLOCKQUOTE>
   429 
   430 <H3> Windows Notes </H3>
   431 
   432 <BLOCKQUOTE>
   433 <P>
   434 	Verified 100% compatibility with Windows 7.
   435 </P>
   436 <P>
   437 	Prevent loss of OpenGL context when setting the video mode in response to a window resize event.
   438 </P>
   439 <P>
   440 	Fixed video initialization with SDL_WINDOWID on Windows XP.
   441 </P>
   442 <P>
   443 	Improved mouse input responsiveness for first-person-shooter games.
   444 </P>
   445 <P>
   446 	IME messages are now generated for localized input.
   447 </P>
   448 <P>
   449 	SDL_RWFromFile() takes a UTF-8 filename when opening a file.
   450 </P>
   451 <P>
   452 	The SDL_STDIO_REDIRECT environment variable can be used to override whether SDL redirects stdio to stdout.txt and stderr.txt.
   453 </P>
   454 <P>
   455 	Fixed dynamic object loading on Windows CE.
   456 </P>
   457 </BLOCKQUOTE>
   458 
   459 <H3> Mac OS X Notes </H3>
   460 
   461 <BLOCKQUOTE>
   462 <P>
   463 	SDL now builds on Mac OS X 10.6 (Snow Leopard).
   464 	<BR>
   465 	Eric Wing posted a good rundown on the numerous changes here: <A HREF="http://playcontrol.net/ewing/jibberjabber/big_behind-the-scenes_chang.html">http://playcontrol.net/ewing/jibberjabber/big_behind-the-scenes_chang.html</A>
   466 </P>
   467 <P>
   468 	The X11 video driver is built by default.
   469 </P>
   470 <P>
   471 	Fixed SDL_VIDEO_WINDOW_POS environment variable for Quartz target.
   472 </P>
   473 <P>
   474 	Fixed setting the starting working directory in release builds.
   475 </P>
   476 </BLOCKQUOTE>
   477 
   478 <IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
   479 
   480 <H2> SDL 1.2.13 Release Notes </H2>
   481 <P>
   482 SDL 1.2.13 is a minor bug fix release.
   483 </P>
   484 
   485 <H3> General Notes </H3>
   486 
   487 <BLOCKQUOTE>
   488 <P>
   489 	Fixed link error when building with Intel Compiler 10.
   490 </P>
   491 <P>
   492 	Removed stray C++ comment from public headers.
   493 </P>
   494 </BLOCKQUOTE>
   495 
   496 <H3> Unix Notes </H3>
   497 
   498 <BLOCKQUOTE>
   499 <P>
   500 	Fixed crash in SDL_SoftStretch() on secure operating systems.
   501 </P>
   502 <P>
   503 	Fixed undefined symbol on X11 implementations without UTF-8 support.
   504 </P>
   505 <P>
   506 	Worked around BadAlloc error when using XVideo on the XFree86 Intel Integrated Graphics driver.
   507 </P>
   508 <P>
   509 	Scan for all joysticks on Linux instead of stopping at one that was removed.
   510 </P>
   511 <P>
   512 	Fixed use of sdl-config arguments in sdl.m4
   513 </P>
   514 </BLOCKQUOTE>
   515 
   516 <H3> Windows Notes </H3>
   517 
   518 <BLOCKQUOTE>
   519 <P>
   520 	Fixed crash when a video driver reports higher than 32 bpp video modes.
   521 </P>
   522 <P>
   523 	Fixed restoring the desktop after setting a 24-bit OpenGL video mode.
   524 </P>
   525 <P>
   526 	Fixed window titles on Windows 95/98/ME.
   527 </P>
   528 <P>
   529 	Added SDL_BUTTON_X1 and SDL_BUTTON_X2 constants for extended mouse buttons.
   530 </P>
   531 <P>
   532 	Added support for quoted command line arguments.
   533 </P>
   534 </BLOCKQUOTE>
   535 
   536 <H3> Mac OS X Notes </H3>
   537 
   538 <BLOCKQUOTE>
   539 <P>
   540 	SDL now builds on Mac OS X 10.5 (Leopard).
   541 </P>
   542 <P>
   543 	Fixed high frequency crash involving text input.
   544 </P>
   545 <P>
   546 	Fixed beeping when the escape key is pressed and UNICODE translation is enabled.
   547 </P>
   548 <P>
   549 	Improved trackpad scrolling support.
   550 </P>
   551 <P>
   552 	Fixed joystick hat reporting for certain joysticks.
   553 </P>
   554 </BLOCKQUOTE>
   555 
   556 <IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
   557 
   558 <H2> SDL 1.2.12 Release Notes </H2>
   559 <P>
   560 SDL 1.2.12 is a minor bug fix release.
   561 </P>
   562 
   563 <H3> General Notes </H3>
   564 
   565 <BLOCKQUOTE>
   566 <P>
   567 	Added support for the PulseAudio sound server: http://www.pulseaudio.org/
   568 </P>
   569 <P>
   570 	Added SDL_VIDEO_ALLOW_SCREENSAVER to override SDL's disabling of the screensaver on Mac OS X, Windows, and X11.
   571 </P>
   572 <P>
   573 	Fixed buffer overrun crash when resampling audio rates.
   574 </P>
   575 <P>
   576 	Fixed audio bug where converting to mono was doubling the volume.
   577 </P>
   578 <P>
   579 	Fixed off-by-one error in the C implementation of SDL_revcpy()
   580 </P>
   581 <P>
   582 	Fixed compiling with Sun Studio.
   583 </P>
   584 <P>
   585 	Support for AmigaOS has been removed from the main SDL code.
   586 </P>
   587 <P>
   588 	Support for Nokia 9210 "EPOC" driver has been removed from the main SDL code.
   589 </P>
   590 <P>
   591 	Unofficial support for the S60/SymbianOS platform has been added.
   592 </P>
   593 <P>
   594 	Unofficial support for the Nintendo DS platform has been added.
   595 </P>
   596 <P>
   597 	Reenabled MMX assembly for YUV overlay processing (GNU C Compiler only).
   598 </P>
   599 </BLOCKQUOTE>
   600 
   601 <H3> Unix Notes </H3>
   602 
   603 <BLOCKQUOTE>
   604 <P>
   605 	Fixed detection of X11 DGA mouse support.
   606 </P>
   607 <P>
   608 	Improved XIM support for asian character sets.
   609 </P>
   610 <P>
   611 	The GFX_Display has been added to the X11 window information in SDL_syswm.h.
   612 </P>
   613 <P>
   614 	Fixed PAGE_SIZE compile error in the fbcon video driver on newer Linux kernels.
   615 </P>
   616 <P>
   617 	Fixed hang or crash at startup if aRts can't access the hardware.
   618 </P>
   619 <P>
   620 	Fixed relative mouse mode when the cursor starts outside the X11 window.
   621 </P>
   622 <P>
   623 	Fixed accidental free of stack memory in X11 mouse acceleration code.
   624 </P>
   625 <P>
   626 	Closed minor memory leak in XME code.
   627 </P>
   628 <P>
   629 	Fixed TEXTRELs in the library to resolve some PIC issues.
   630 </P>
   631 </BLOCKQUOTE>
   632 
   633 <H3> Windows Notes </H3>
   634 
   635 <BLOCKQUOTE>
   636 <P>
   637 	The GDI video driver makes better use of the palette in 8-bit modes.
   638 </P>
   639 <P>
   640 	The windib driver now supports more mouse buttons with WM_XBUTTON events.
   641 </P>
   642 <P>
   643 	On Windows, SDL_SetVideoMode() will re-create the window instead of failing if the multisample settings are changed.
   644 </P>
   645 <P>
   646 	Added support for UTF-8 window titles on Windows.
   647 </P>
   648 <P>
   649 	Fixed joystick detection on Windows.
   650 </P>
   651 <P>
   652 	Improved performance with Win32 file I/O.
   653 </P>
   654 <P>
   655 	Fixed HBITMAP leak in GAPI driver.
   656 </P>
   657 </BLOCKQUOTE>
   658 
   659 <H3> Mac OS X Notes </H3>
   660 
   661 <BLOCKQUOTE>
   662 <P>
   663 	Added support for multi-axis controllers like 3Dconnxion's SpaceNavigator on Mac OS X.
   664 </P>
   665 <P>
   666 	Fixed YUV overlay crash inside Quicktime on Intel Mac OS X.
   667 </P>
   668 <P>
   669 	Fixed blitting alignment in Altivec alpha blit functions.
   670 </P>
   671 <P>
   672 	Keys F13, F14, and F15 are now usable on Apple keyboards under Mac OS X.
   673 </P>
   674 <P>
   675 	Fixed joystick calibration code on Mac OS X.
   676 </P>
   677 <P>
   678 	Fixed mouse jitter when multiple motion events are queued up in Mac OS X.
   679 </P>
   680 <P>
   681 	Fixed changing the cursor in fullscreen mode on Mac OS X.
   682 </P>
   683 </BLOCKQUOTE>
   684 
   685 <H3> Mac OS Classic Notes </H3>
   686 
   687 <BLOCKQUOTE>
   688 <P>
   689 	Added support for gamma ramps to both toolbox and DrawSprocket video drivers.
   690 </P>
   691 </BLOCKQUOTE>
   692 
   693 <H3> BeOS Notes </H3>
   694 
   695 <BLOCKQUOTE>
   696 <P>
   697 	Implemented mouse grabbing and mouse relative mode on BeOS.
   698 </P>
   699 </BLOCKQUOTE>
   700 
   701 <IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
   702 
   703 <H2> SDL 1.2.11 Release Notes </H2>
   704 <P>
   705 SDL 1.2.11 is a minor bug fix release.
   706 </P>
   707 
   708 <H3> Unix Notes </H3>
   709 
   710 <BLOCKQUOTE>
   711 <P>
   712 	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.
   713 </P>
   714 <P>
   715 	Fixed building SDL with Xinerama disabled.
   716 </P>
   717 <P>
   718 	Fixed DRI OpenGL library loading, using RTLD_GLOBAL in dlopen().
   719 </P>
   720 <P>
   721 	Added pkgconfig configuration support.
   722 </P>
   723 </BLOCKQUOTE>
   724 
   725 <H3> Windows Notes </H3>
   726 
   727 <BLOCKQUOTE>
   728 <P>
   729 	Setting SDL_GL_SWAP_CONTROL now works with Windows OpenGL.
   730 </P>
   731 <P>
   732 	The Win32 window positioning code works properly for windows with menus.
   733 </P>
   734 <P>
   735 	DirectSound audio quality has been improved on certain sound cards.
   736 </P>
   737 <P>
   738 	Fixed 5.1 audio channel ordering on Windows and Mac OS X.
   739 </P>
   740 <P>
   741 	Plugged a couple of minor memory leaks in the windib video driver.
   742 </P>
   743 <P>
   744 	Fixed type collision with stdint.h when building with gcc on Win32.
   745 </P>
   746 <P>
   747 	Fixed building with the Digital Mars Compiler on Win32.
   748 </P>
   749 </BLOCKQUOTE>
   750 
   751 <H3> Mac OS X Notes </H3>
   752 
   753 <BLOCKQUOTE>
   754 <P>
   755 	The Quartz video driver supports 32x32 cursors on Mac OS X 10.3 and above.
   756 </P>
   757 </BLOCKQUOTE>
   758 
   759 <IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
   760 
   761 <H2> SDL 1.2.10 Release Notes </H2>
   762 <P>
   763 SDL 1.2.10 is a major release, featuring a revamp of the build system and many API improvements and bug fixes.
   764 </P>
   765 <H3> API enhancements </H3>
   766 <UL>
   767 <LI>
   768 	If SDL_OpenAudio() is passed zero for the desired format
   769 	fields, the following environment variables will be used
   770 	to fill them in:
   771 <pre><code>
   772 		SDL_AUDIO_FREQUENCY
   773 		SDL_AUDIO_FORMAT
   774 		SDL_AUDIO_CHANNELS
   775 		SDL_AUDIO_SAMPLES
   776 </code></pre>
   777 	If an environment variable is not specified, it will be set
   778 	to a reasonable default value.
   779 <LI>
   780 	SDL_SetVideoMode() now accepts 0 for width or height and will use
   781 	the current video mode (or the desktop mode if no mode has been set.)
   782 <LI>
   783 	Added current_w and current_h to the SDL_VideoInfo structure,
   784 	which is set to the desktop resolution during video intialization,
   785 	and then set to the current resolution when a video mode is set.
   786 <LI>
   787 	SDL_GL_LoadLibrary() will load the system default OpenGL library
   788 	if it is passed NULL as a parameter.
   789 <LI>
   790 	Added SDL_GL_SWAP_CONTROL to wait for vsync in OpenGL applications.
   791 <LI>
   792 	Added SDL_GL_ACCELERATED_VISUAL to guarantee hardware acceleration.
   793 <LI>
   794 	SDL_WM_SetCaption() now officially takes UTF-8 title and icon strings, and displays international characters on supported platforms.
   795 <LI>
   796 	Added SDL_GetKeyRepeat() to query the key repeat settings.
   797 <LI>
   798 	Added the "dummy" audio driver, which can be used to emulate audio
   799 	output without a sound card.
   800 <LI>
   801 	Added SDL_config.h, with defaults for various build environments.
   802 </UL>
   803 
   804 <H3> General Notes </H3>
   805 
   806 <BLOCKQUOTE>
   807 <P>
   808 	The SDL website now has an <A HREF="http://www.libsdl.org/rss/rss.xml">RSS feed</A>!
   809 <P>
   810 	The SDL development source code is now managed with <A HREF="http://www.libsdl.org/svn.php">Subversion</A>.
   811 <P>
   812 	SDL now uses the Bugzilla <A HREF="http://bugzilla.libsdl.org/">bug tracking system</A>, hosted by icculus.org.
   813 <P>
   814 	SDL is licensed under version 2.1 of the GNU Lesser General Public License.
   815 <P>
   816 	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.
   817 <P>
   818 	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>
   819 <P>
   820 	Alex Volkov contributed highly optimized RGB <-> RGBA blitters.
   821 </BLOCKQUOTE>
   822 
   823 <H3> Unix Notes </H3>
   824 
   825 <BLOCKQUOTE>
   826 <P>
   827 	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.
   828 <P>
   829 	The XiG XME extension code is now included in the X11 video driver by default.
   830 <P>
   831 	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.
   832 <P>
   833 	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.
   834 <P>
   835 	XVidMode video modes are now sorted so they maintain the refresh rates specified in the X11 configuration file.
   836 <P>
   837 	SDL windows are no longer transparent in X11 compositing systems like XGL.
   838 <P>
   839 	The mouse is properly released by the X11 video driver if the fullscreen window loses focus.
   840 <P>
   841 	The X11 input driver now uses XIM to handle international input.
   842 <P>
   843 	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.
   844 <P>
   845 	Fixed a bug preventing stereo OpenGL contexts from being selected on the X11 driver.
   846 <P>
   847 	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.
   848 <P>
   849 	The framebuffer console video driver now has a parser for /etc/fb.modes for improved video mode handling.
   850 <P>
   851 	The framebuffer console video driver now allows asynchronous VT switching, and restores the full contents of the screen when switched back.
   852 <P>
   853 	The framebuffer console now uses CTRL-ALT-FN to switch virtual terminals, to avoid collisions with application key bindings.
   854 <P>
   855 	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.
   856 <P>
   857 	The SVGAlib video driver now has support for banked (non-linear) video modes.
   858 <P>
   859 	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.
   860 <P>
   861 	Many patches have been incorporated from *BSD ports.
   862 </BLOCKQUOTE>
   863 
   864 <H3> Windows Notes </H3>
   865 
   866 <BLOCKQUOTE>
   867 <P>
   868 	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".
   869 <P>
   870 	SDL has been ported to 64-bit Windows.
   871 <P>
   872 	Dmitry Yakimov contributed a GAPI video driver for Windows CE.
   873 <P>
   874 	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.
   875 <P>
   876 	Dialog boxes are now shown when SDL is in windowed OpenGL mode.
   877 <P>
   878 	The SDL window is recreated when necessary to maintain OpenGL context attributes, when switching between windowed and fullscreen modes.
   879 <P>
   880 	An SDL_VIDEORESIZE event is properly sent when the SDL window is maximized and restored.
   881 <P>
   882 	Window positions are retained when switching between fullscreen and windowed modes.
   883 <P>
   884 	ToUnicode() is used, when available, for improved handling of international keyboard input.
   885 <P>
   886 	The PrtScrn is now treated normally with both key down and key up events.
   887 <P>
   888 	Pressing ALT-F4 now delivers an SDL_QUIT event to SDL applications.
   889 <P>
   890 	Joystick names are now correct for joysticks which have been unplugged and then plugged back in since booting.
   891 <P>
   892 	An MCI error when playing the last track on a CD-ROM has been fixed.
   893 <P>
   894 	OpenWatcom projects for building SDL have been provided by Marc Peter.
   895 </BLOCKQUOTE>
   896 
   897 <H3> Mac OS X Notes </H3>
   898 
   899 <BLOCKQUOTE>
   900 <P>
   901 	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.
   902 <P>
   903 	The X11 video driver with GLX support can be built on Mac OS X, if the X11 development SDK is installed.
   904 <P>
   905 	Transitions between fullscreen resolutions and windowed mode now use a much faster asynchronous fade to hide desktop flicker.
   906 <P>
   907 	Icons set with SDL_WM_SetIcon() now have the proper colors on Intel Macs.
   908 </BLOCKQUOTE>
   909 
   910 <H3> OS/2 Notes </H3>
   911 
   912 <BLOCKQUOTE>
   913 <P>
   914 	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.
   915 </BLOCKQUOTE>
   916 
   917 <IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
   918 
   919 </BODY>
   920 </HTML>