docs.html
branchSDL-1.2
changeset 12989 f4dccc2744a2
parent 6132 1d8211416a01
child 12993 e7ee29d04712
equal deleted inserted replaced
12988:e92b0859ceed 12989:f4dccc2744a2
    11 The latest stable release may be found on the
    11 The latest stable release may be found on the
    12 	<a href="http://www.libsdl.org/">SDL website</A>.
    12 	<a href="http://www.libsdl.org/">SDL website</A>.
    13 </P>
    13 </P>
    14 
    14 
    15 <H2> <A HREF="docs/index.html">API Documentation</A> </H2>
    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-7637, 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   Mouse: fix SDL_ResetMouse() using a bogus mouse button causing a
       
    49   negative shift (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=3593">3593</a>.)
       
    50 </P>
       
    51 <P>
       
    52   Cdrom: fix SDL_CDResume() and SDL_CDStop() not returning failure
       
    53   when they should (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=4108">4108</a>.)
       
    54 </P>
       
    55 <P>
       
    56   Unix, pthread: Fix SDL_SemWaitTimeout() returning -1 instead of
       
    57   SDL_MUTEX_TIMEDOUT upon timeout (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=1426">1426</a>.)
       
    58 </P>
       
    59 <P>
       
    60   NetBSD: wscons support.
       
    61 </P>
       
    62 <P>
       
    63   NetBSD, audio: use AUDIO_GETBUFINFO when available.
       
    64 </P>
       
    65 <P>
       
    66   OpenBSD, audio: add sndio support.
       
    67 </P>
       
    68 <P>
       
    69   Haiku/BeOS, audio: fix error in buffer size setting (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=1679">1679</a>.)
       
    70 </P>
       
    71 <P>
       
    72   OpenBSD: fix dynamic loading of X libs (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=1434">1434</a>.)
       
    73 </P>
       
    74 <P>
       
    75   X11video: fix missing symbol X11_KeyToUnicode in .so file (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=1390">1390</a>.
       
    76   not being an official SDL function, the use of X11_KeyToUnicode() is
       
    77   discouraged.)
       
    78 </P>
       
    79 <P>
       
    80   X11video: fix compilation with libX11 >= 1.5.99.902 (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=1769">1769</a>.)
       
    81 </P>
       
    82 <P>
       
    83   X11video: fix for XChangeProperty() crash (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=1427">1427</a>.)
       
    84 </P>
       
    85 <P>
       
    86   X11video: fix SDL_EnableUNICODE sometimes dropping keyboard events
       
    87   completely (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=2325">2325</a>.)
       
    88 </P>
       
    89 <P>
       
    90   X11video: fixed no SDL_VIDEORESIZE event being generated when the
       
    91   window manager sets the window size (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=1859">1859</a>.)
       
    92 </P>
       
    93 <P>
       
    94   X11video: fix X11_SetGammaRamp not checking the return value of
       
    95   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>.)
       
    96 </P>
       
    97 <P>
       
    98   X11video: fix SDL_VIDEORESIZE events not received when resizing
       
    99   window from the corner (inverted logic in X11 ConfigureNotify, i.e.
       
   100   resize handling - bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=1430">1430</a>.)
       
   101 </P>
       
   102 <P>
       
   103   X11video: unblock SDL_WM_GrabInput() GrabNotViewable case (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=1155">1155</a>.)
       
   104 </P>
       
   105 <P>
       
   106   Mac OS X: fixed crash on any input in Quartz code (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=2560">2560</a>.)
       
   107 </P>
       
   108 <P>
       
   109   Mac OS X: fixed crash in Quartz gamma ramp code.
       
   110 </P>
       
   111 <P>
       
   112   Mac OS X: fixed build for 10.9 Mavericks or newer (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=2085">2085</a>.)
       
   113 </P>
       
   114 <P>
       
   115   Mac OS X, joystick: update to support Saitek p2500 gamepad (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=2025">2025</a>)
       
   116 </P>
       
   117 <P>
       
   118   Mac OS X, main: updates for -psn_XXX command line arg for Finder
       
   119   launches in new macOS versions.
       
   120 </P>
       
   121 <P>
       
   122   Mac OS X, main: replace deprecated CPS apis in new OSX versions
       
   123   (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=4114">4114</a>.)
       
   124 </P>
       
   125 <P>
       
   126   Windows, video: fix other window positions/sizes when exiting
       
   127   fullscreen (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=3315">3315</a>.)
       
   128 </P>
       
   129 <P>
       
   130   Windows, keyboard: reset deadkeys upon SDL_EnableUNICODE() or upon
       
   131   quit (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=3332">3332</a>.)
       
   132 </P>
       
   133 <P>
       
   134   Windows: Visual Studio project file updates.
       
   135 </P>
       
   136 <P>
       
   137   OS/2: Watcom makefile updates.
       
   138 </P>
       
   139 <P>
       
   140   FreeBSD, joystick: compile fixes.
       
   141 </P>
       
   142 <P>
       
   143   BSD, joystick: increase the number of uhid devices to scan (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=1561">1561</a>)
       
   144 </P>
       
   145 <P>
       
   146   Linux, evdev: ignore joystick axis events if they aren't in a sane
       
   147   range.
       
   148 </P>
       
   149 <P>
       
   150   Linux, joystick: fix Dualshock 3's motion sensors overwrite analog
       
   151   stick: protect against any axis that isn't reported by EVIOCGBIT but
       
   152   still sending EV_ABS events (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=3193">3193</a>.)
       
   153 </P>
       
   154 <P>
       
   155   FreeBSD, cdrom: fix CDROM detection misbehaviour for 7.x and newer
       
   156   (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=1529">1529</a>.)
       
   157 </P>
       
   158 <P>
       
   159   Solaris, audio: fix pulseaudio dynamic linking.
       
   160 </P>
       
   161 <P>
       
   162   Solaris, cpuinfo: fix asm syntax error causing build failures.
       
   163 </P>
       
   164 <P>
       
   165   Atari: multiple platform code updates.
       
   166 </P>
       
   167 <P>
       
   168   RiscOS: cleanups to platform code.
       
   169 </P>
       
   170 <P>
       
   171   RiscOS: fix thread starvation in fullscreen mode.
       
   172 </P>
       
   173 <P>
       
   174   RiscOS: fix returning from full-screen to 16M colour modes.
       
   175 </P>
       
   176 <P>
       
   177   RiscOS: fix receiving PreQuit messages.
       
   178 </P>
       
   179 <P>
       
   180   RiscOS: ensure the window size is consistent at different DPIs.
       
   181 </P>
       
   182 <P>
       
   183   RiscOS, video: add support for more pixel formats.
       
   184 </P>
       
   185 <P>
       
   186   RiscOS: mouse fixes. restore mouse palette when exiting while mouse
       
   187   is in focus. don't reset mouse focus when recreating the window.
       
   188 </P>
       
   189 <P>
       
   190   RiscOS: support Windows and Menu key input.
       
   191 </P>
       
   192 <P>
       
   193   Configuration: fix library detection selecting wrong lib (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=2795">2795</a>.)
       
   194 </P>
       
   195 <P>
       
   196   Configuration: fix detecting dynamic library support on powerpc64le
       
   197   (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=3481">3481</a>.)
       
   198 </P>
       
   199 <P>
       
   200   SDL error: string formatting fixes to deal with nasty corner cases
       
   201   (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=2049">2049</a>.)
       
   202 </P>
       
   203 <P>
       
   204   SDL_error: handle %lu, %li and %ld in format string (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=3739">3739</a>.)
       
   205 </P>
       
   206 <P>
       
   207   stdlib: updated SDL_qsort() code.
       
   208 </P>
       
   209 <P>
       
   210   stdlib: use _strtoi64() and _strtoui64() when available for windows.
       
   211 </P>
       
   212 <P>
       
   213   headers, close_code.h: fix unbalanced #pragma pack(pop) for watcom
       
   214   builds (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=3781">3781</a>.)
       
   215 </P>
       
   216 <P>
       
   217   headers, begin_code.h, close_code.h: updates to SDLCALL and DECLSPEC
       
   218   macros for OS/2.
       
   219 </P>
       
   220 <P>
       
   221   headers, endian: add Watcom inline asm for SDL_Swap16 and SDL_Swap32
       
   222 </P>
       
   223 <P>
       
   224   headers, config: updates to default windows and os2 config files.
       
   225 </P>
       
   226 <P>
       
   227   headers, SDL_syswm.h, SDL_stdinc.h: include system headers before
       
   228   packing alignment changes (bug <a href="https://bugzilla.libsdl.org/show_bug.cgi?id=4149">4149</a>.)
       
   229 </P>
       
   230 </BLOCKQUOTE>
    16 
   231 
    17 <IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
   232 <IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
    18 
   233 
    19 <H2> SDL 1.2.15 Release Notes </H2>
   234 <H2> SDL 1.2.15 Release Notes </H2>
    20 <P>
   235 <P>