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