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