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