Targets genererate their own firmware
[yari.git] / shared / SDL-1.2 / docs.html
bloba840ca3c8ee4aa799db0752d51aec5a2506e2969
1 <HTML>
2 <HEAD><TITLE>SDL Stable Release</TITLE></HEAD>
3 <BODY BGCOLOR="#FFEBCD" TEXT="#000000">
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>
15 <H2> <A HREF="docs/index.html">API Documentation</A> </H2>
17 <H2> SDL 1.2.14 Release Notes </H2>
18 <P>
19 SDL 1.2.14 is a minor bug fix release.
20 </P>
22 <H3> General Notes </H3>
24 <BLOCKQUOTE>
25 <P>
26 Fixed flicker when resizing the SDL window
27 </P>
28 </BLOCKQUOTE>
30 <H3> Unix Notes </H3>
32 <BLOCKQUOTE>
33 <P>
34 Added configure option --enable-screensaver, to allow enabling the screensaver by default.
35 </P>
36 <P>
37 Use XResetScreenSaver() instead of disabling screensaver entirely.
38 </P>
39 </BLOCKQUOTE>
41 <H3> Windows Notes </H3>
43 <BLOCKQUOTE>
44 <P>
45 </P>
46 </BLOCKQUOTE>
48 <H3> Mac OS X Notes </H3>
50 <BLOCKQUOTE>
51 <P>
52 </P>
53 </BLOCKQUOTE>
55 <IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
57 <H2> SDL 1.2.13 Release Notes </H2>
58 <P>
59 SDL 1.2.13 is a minor bug fix release.
60 </P>
62 <H3> General Notes </H3>
64 <BLOCKQUOTE>
65 <P>
66 Fixed link error when building with Intel Compiler 10.
67 </P>
68 <P>
69 Removed stray C++ comment from public headers.
70 </P>
71 </BLOCKQUOTE>
73 <H3> Unix Notes </H3>
75 <BLOCKQUOTE>
76 <P>
77 Fixed crash in SDL_SoftStretch() on secure operating systems.
78 </P>
79 <P>
80 Fixed undefined symbol on X11 implementations without UTF-8 support.
81 </P>
82 <P>
83 Worked around BadAlloc error when using XVideo on the XFree86 Intel Integrated Graphics driver.
84 </P>
85 <P>
86 Scan for all joysticks on Linux instead of stopping at one that was removed.
87 </P>
88 <P>
89 Fixed use of sdl-config arguments in sdl.m4
90 </P>
91 </BLOCKQUOTE>
93 <H3> Windows Notes </H3>
95 <BLOCKQUOTE>
96 <P>
97 Fixed crash when a video driver reports higher than 32 bpp video modes.
98 </P>
99 <P>
100 Fixed restoring the desktop after setting a 24-bit OpenGL video mode.
101 </P>
103 Fixed window titles on Windows 95/98/ME.
104 </P>
106 Added SDL_BUTTON_X1 and SDL_BUTTON_X2 constants for extended mouse buttons.
107 </P>
109 Added support for quoted command line arguments.
110 </P>
111 </BLOCKQUOTE>
113 <H3> Mac OS X Notes </H3>
115 <BLOCKQUOTE>
117 SDL now builds on Mac OS X 10.5 (Leopard).
118 </P>
120 Fixed high frequency crash involving text input.
121 </P>
123 Fixed beeping when the escape key is pressed and UNICODE translation is enabled.
124 </P>
126 Improved trackpad scrolling support.
127 </P>
129 Fixed joystick hat reporting for certain joysticks.
130 </P>
131 </BLOCKQUOTE>
133 <IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
135 <H2> SDL 1.2.12 Release Notes </H2>
137 SDL 1.2.12 is a minor bug fix release.
138 </P>
140 <H3> General Notes </H3>
142 <BLOCKQUOTE>
144 Added support for the PulseAudio sound server: http://www.pulseaudio.org/
145 </P>
147 Added SDL_VIDEO_ALLOW_SCREENSAVER to override SDL's disabling of the screensaver on Mac OS X, Windows, and X11.
148 </P>
150 Fixed buffer overrun crash when resampling audio rates.
151 </P>
153 Fixed audio bug where converting to mono was doubling the volume.
154 </P>
156 Fixed off-by-one error in the C implementation of SDL_revcpy()
157 </P>
159 Fixed compiling with Sun Studio.
160 </P>
162 Support for AmigaOS has been removed from the main SDL code.
163 </P>
165 Support for Nokia 9210 "EPOC" driver has been removed from the main SDL code.
166 </P>
168 Unofficial support for the S60/SymbianOS platform has been added.
169 </P>
171 Unofficial support for the Nintendo DS platform has been added.
172 </P>
174 Reenabled MMX assembly for YUV overlay processing (GNU C Compiler only).
175 </P>
176 </BLOCKQUOTE>
178 <H3> Unix Notes </H3>
180 <BLOCKQUOTE>
182 Fixed detection of X11 DGA mouse support.
183 </P>
185 Improved XIM support for asian character sets.
186 </P>
188 The GFX_Display has been added to the X11 window information in SDL_syswm.h.
189 </P>
191 Fixed PAGE_SIZE compile error in the fbcon video driver on newer Linux kernels.
192 </P>
194 Fixed hang or crash at startup if aRts can't access the hardware.
195 </P>
197 Fixed relative mouse mode when the cursor starts outside the X11 window.
198 </P>
200 Fixed accidental free of stack memory in X11 mouse acceleration code.
201 </P>
203 Closed minor memory leak in XME code.
204 </P>
206 Fixed TEXTRELs in the library to resolve some PIC issues.
207 </P>
208 </BLOCKQUOTE>
210 <H3> Windows Notes </H3>
212 <BLOCKQUOTE>
214 The GDI video driver makes better use of the palette in 8-bit modes.
215 </P>
217 The windib driver now supports more mouse buttons with WM_XBUTTON events.
218 </P>
220 On Windows, SDL_SetVideoMode() will re-create the window instead of failing if the multisample settings are changed.
221 </P>
223 Added support for UTF-8 window titles on Windows.
224 </P>
226 Fixed joystick detection on Windows.
227 </P>
229 Improved performance with Win32 file I/O.
230 </P>
232 Fixed HBITMAP leak in GAPI driver.
233 </P>
234 </BLOCKQUOTE>
236 <H3> Mac OS X Notes </H3>
238 <BLOCKQUOTE>
240 Added support for multi-axis controllers like 3Dconnxion's SpaceNavigator on Mac OS X.
241 </P>
243 Fixed YUV overlay crash inside Quicktime on Intel Mac OS X.
244 </P>
246 Fixed blitting alignment in Altivec alpha blit functions.
247 </P>
249 Keys F13, F14, and F15 are now usable on Apple keyboards under Mac OS X.
250 </P>
252 Fixed joystick calibration code on Mac OS X.
253 </P>
255 Fixed mouse jitter when multiple motion events are queued up in Mac OS X.
256 </P>
258 Fixed changing the cursor in fullscreen mode on Mac OS X.
259 </P>
260 </BLOCKQUOTE>
262 <H3> Mac OS Classic Notes </H3>
264 <BLOCKQUOTE>
266 Added support for gamma ramps to both toolbox and DrawSprocket video drivers.
267 </P>
268 </BLOCKQUOTE>
270 <H3> BeOS Notes </H3>
272 <BLOCKQUOTE>
274 Implemented mouse grabbing and mouse relative mode on BeOS.
275 </P>
276 </BLOCKQUOTE>
278 <IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
280 <H2> SDL 1.2.11 Release Notes </H2>
282 SDL 1.2.11 is a minor bug fix release.
283 </P>
285 <H3> Unix Notes </H3>
287 <BLOCKQUOTE>
289 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.
290 </P>
292 Fixed building SDL with Xinerama disabled.
293 </P>
295 Fixed DRI OpenGL library loading, using RTLD_GLOBAL in dlopen().
296 </P>
298 Added pkgconfig configuration support.
299 </P>
300 </BLOCKQUOTE>
302 <H3> Windows Notes </H3>
304 <BLOCKQUOTE>
306 Setting SDL_GL_SWAP_CONTROL now works with Windows OpenGL.
307 </P>
309 The Win32 window positioning code works properly for windows with menus.
310 </P>
312 DirectSound audio quality has been improved on certain sound cards.
313 </P>
315 Fixed 5.1 audio channel ordering on Windows and Mac OS X.
316 </P>
318 Plugged a couple of minor memory leaks in the windib video driver.
319 </P>
321 Fixed type collision with stdint.h when building with gcc on Win32.
322 </P>
324 Fixed building with the Digital Mars Compiler on Win32.
325 </P>
326 </BLOCKQUOTE>
328 <H3> Mac OS X Notes </H3>
330 <BLOCKQUOTE>
332 The Quartz video driver supports 32x32 cursors on Mac OS X 10.3 and above.
333 </P>
334 </BLOCKQUOTE>
336 <IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
338 <H2> SDL 1.2.10 Release Notes </H2>
340 SDL 1.2.10 is a major release, featuring a revamp of the build system and many API improvements and bug fixes.
341 </P>
342 <H3> API enhancements </H3>
343 <UL>
344 <LI>
345 If SDL_OpenAudio() is passed zero for the desired format
346 fields, the following environment variables will be used
347 to fill them in:
348 <pre><code>
349 SDL_AUDIO_FREQUENCY
350 SDL_AUDIO_FORMAT
351 SDL_AUDIO_CHANNELS
352 SDL_AUDIO_SAMPLES
353 </code></pre>
354 If an environment variable is not specified, it will be set
355 to a reasonable default value.
356 <LI>
357 SDL_SetVideoMode() now accepts 0 for width or height and will use
358 the current video mode (or the desktop mode if no mode has been set.)
359 <LI>
360 Added current_w and current_h to the SDL_VideoInfo structure,
361 which is set to the desktop resolution during video intialization,
362 and then set to the current resolution when a video mode is set.
363 <LI>
364 SDL_GL_LoadLibrary() will load the system default OpenGL library
365 if it is passed NULL as a parameter.
366 <LI>
367 Added SDL_GL_SWAP_CONTROL to wait for vsync in OpenGL applications.
368 <LI>
369 Added SDL_GL_ACCELERATED_VISUAL to guarantee hardware acceleration.
370 <LI>
371 SDL_WM_SetCaption() now officially takes UTF-8 title and icon strings, and displays international characters on supported platforms.
372 <LI>
373 Added SDL_GetKeyRepeat() to query the key repeat settings.
374 <LI>
375 Added the "dummy" audio driver, which can be used to emulate audio
376 output without a sound card.
377 <LI>
378 Added SDL_config.h, with defaults for various build environments.
379 </UL>
381 <H3> General Notes </H3>
383 <BLOCKQUOTE>
385 The SDL website now has an <A HREF="http://www.libsdl.org/rss/rss.xml">RSS feed</A>!
387 The SDL development source code is now managed with <A HREF="http://www.libsdl.org/svn.php">Subversion</A>.
389 SDL now uses the Bugzilla <A HREF="http://bugzilla.libsdl.org/">bug tracking system</A>, hosted by icculus.org.
391 SDL is licensed under version 2.1 of the GNU Lesser General Public License.
393 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.
395 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>
397 Alex Volkov contributed highly optimized RGB <-> RGBA blitters.
398 </BLOCKQUOTE>
400 <H3> Unix Notes </H3>
402 <BLOCKQUOTE>
404 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.
406 The XiG XME extension code is now included in the X11 video driver by default.
408 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.
410 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.
412 XVidMode video modes are now sorted so they maintain the refresh rates specified in the X11 configuration file.
414 SDL windows are no longer transparent in X11 compositing systems like XGL.
416 The mouse is properly released by the X11 video driver if the fullscreen window loses focus.
418 The X11 input driver now uses XIM to handle international input.
420 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.
422 Fixed a bug preventing stereo OpenGL contexts from being selected on the X11 driver.
424 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.
426 The framebuffer console video driver now has a parser for /etc/fb.modes for improved video mode handling.
428 The framebuffer console video driver now allows asynchronous VT switching, and restores the full contents of the screen when switched back.
430 The framebuffer console now uses CTRL-ALT-FN to switch virtual terminals, to avoid collisions with application key bindings.
432 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.
434 The SVGAlib video driver now has support for banked (non-linear) video modes.
436 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.
438 Many patches have been incorporated from *BSD ports.
439 </BLOCKQUOTE>
441 <H3> Windows Notes </H3>
443 <BLOCKQUOTE>
445 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".
447 SDL has been ported to 64-bit Windows.
449 Dmitry Yakimov contributed a GAPI video driver for Windows CE.
451 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.
453 Dialog boxes are now shown when SDL is in windowed OpenGL mode.
455 The SDL window is recreated when necessary to maintain OpenGL context attributes, when switching between windowed and fullscreen modes.
457 An SDL_VIDEORESIZE event is properly sent when the SDL window is maximized and restored.
459 Window positions are retained when switching between fullscreen and windowed modes.
461 ToUnicode() is used, when available, for improved handling of international keyboard input.
463 The PrtScrn is now treated normally with both key down and key up events.
465 Pressing ALT-F4 now delivers an SDL_QUIT event to SDL applications.
467 Joystick names are now correct for joysticks which have been unplugged and then plugged back in since booting.
469 An MCI error when playing the last track on a CD-ROM has been fixed.
471 OpenWatcom projects for building SDL have been provided by Marc Peter.
472 </BLOCKQUOTE>
474 <H3> Mac OS X Notes </H3>
476 <BLOCKQUOTE>
478 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.
480 The X11 video driver with GLX support can be built on Mac OS X, if the X11 development SDK is installed.
482 Transitions between fullscreen resolutions and windowed mode now use a much faster asynchronous fade to hide desktop flicker.
484 Icons set with SDL_WM_SetIcon() now have the proper colors on Intel Macs.
485 </BLOCKQUOTE>
487 <H3> OS/2 Notes </H3>
489 <BLOCKQUOTE>
491 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.
492 </BLOCKQUOTE>
494 <IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
496 </BODY>
497 </HTML>