docs.html
author Sam Lantinga <slouken@libsdl.org>
Thu, 19 Jul 2007 08:12:45 +0000
branchSDL-1.2
changeset 4083 a66ac59b3939
parent 4074 fd1cbe7a706c
child 4115 63b57f6b6523
permissions -rw-r--r--
Added patch note for bug #461
slouken@0
     1
<HTML>
slouken@0
     2
<HEAD><TITLE>SDL Stable Release</TITLE></HEAD>
slouken@0
     3
<BODY BGCOLOR="#FFEBCD" TEXT="#000000">
slouken@0
     4
slouken@0
     5
<IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
slouken@0
     6
<P>
slouken@511
     7
This source is stable, and is fully tested on all supported platforms.<br>
slouken@511
     8
Please send bug reports or questions to the SDL mailing list:<br>
slouken@511
     9
<a href="http://www.libsdl.org/mailing-list.php"
slouken@511
    10
        >http://www.libsdl.org/mailing-list.php</a><br>
slouken@511
    11
The latest stable release may be found on the
slouken@511
    12
	<a href="http://www.libsdl.org/">SDL website</A>.
slouken@511
    13
</P>
slouken@0
    14
slouken@0
    15
<H2> <A HREF="docs/index.html">API Documentation</A> </H2>
slouken@1840
    16
slouken@3960
    17
<H2> SDL 1.2.12 Release Notes </H2>
slouken@3960
    18
<P>
slouken@3960
    19
SDL 1.2.12 is a minor bug fix release.
slouken@3960
    20
</P>
slouken@3960
    21
slouken@3960
    22
<H3> General Notes </H3>
slouken@3960
    23
slouken@3960
    24
<BLOCKQUOTE>
slouken@3960
    25
<P>
slouken@3960
    26
	Added support for the PulseAudio sound server: http://www.pulseaudio.org/
slouken@3960
    27
</P>
slouken@3960
    28
<P>
icculus@3982
    29
	Added SDL_VIDEO_ALLOW_SCREENSAVER to override SDL's disabling of the screensaver on Mac OS X, Windows, and X11.
slouken@3960
    30
</P>
slouken@3960
    31
<P>
slouken@3960
    32
	Fixed buffer overrun crash when resampling audio rates.
slouken@3960
    33
</P>
slouken@3960
    34
<P>
slouken@3960
    35
	Fixed audio bug where converting to mono was doubling the volume.
slouken@3960
    36
</P>
slouken@3960
    37
<P>
slouken@3960
    38
	Fixed off-by-one error in the C implementation of SDL_revcpy()
slouken@3960
    39
</P>
slouken@3960
    40
<P>
slouken@3966
    41
	Fixed compiling with Sun Studio.
slouken@3966
    42
</P>
slouken@3966
    43
<P>
slouken@3960
    44
	Support for AmigaOS has been removed from the main SDL code.
slouken@3960
    45
</P>
icculus@3968
    46
<P>
icculus@3968
    47
	Support for Nokia 9210 "EPOC" driver has been removed from the main SDL code.
icculus@3968
    48
</P>
icculus@3975
    49
<P>
icculus@3975
    50
	Unofficial support for the S60/SymbianOS platform has been added.
icculus@3975
    51
</P>
slouken@3976
    52
<P>
slouken@3976
    53
	Unofficial support for the Nintendo DS platform has been added.
slouken@3976
    54
</P>
icculus@4048
    55
<P>
icculus@4048
    56
	Reenabled MMX assembly for YUV overlay processing (GNU C Compiler only).
icculus@4048
    57
</P>
slouken@3960
    58
</BLOCKQUOTE>
slouken@3960
    59
slouken@3960
    60
<H3> Unix Notes </H3>
slouken@3960
    61
slouken@3960
    62
<BLOCKQUOTE>
slouken@3960
    63
<P>
slouken@4021
    64
	Fixed detection of X11 DGA mouse support.
slouken@4021
    65
</P>
slouken@4021
    66
<P>
slouken@3994
    67
	Improved XIM support for asian character sets.
slouken@3994
    68
</P>
slouken@3994
    69
<P>
slouken@3960
    70
	The GFX_Display has been added to the X11 window information in SDL_syswm.h.
slouken@3960
    71
</P>
slouken@3960
    72
<P>
slouken@3960
    73
	Fixed PAGE_SIZE compile error in the fbcon video driver on newer Linux kernels.
slouken@3960
    74
</P>
slouken@3960
    75
<P>
slouken@3960
    76
	Fixed hang or crash at startup if aRts can't access the hardware.
slouken@3960
    77
</P>
slouken@3960
    78
<P>
slouken@3960
    79
	Fixed relative mouse mode when the cursor starts outside the X11 window.
slouken@3960
    80
</P>
slouken@3960
    81
<P>
slouken@3960
    82
	Fixed accidental free of stack memory in X11 mouse acceleration code.
slouken@3960
    83
</P>
slouken@3960
    84
<P>
slouken@3960
    85
	Closed minor memory leak in XME code.
slouken@3960
    86
</P>
icculus@4048
    87
<P>
icculus@4048
    88
	Fixed TEXTRELs in the library to resolve some PIC issues.
icculus@4048
    89
</P>
slouken@3960
    90
</BLOCKQUOTE>
slouken@3960
    91
slouken@3960
    92
<H3> Windows Notes </H3>
slouken@3960
    93
slouken@3960
    94
<BLOCKQUOTE>
slouken@3960
    95
<P>
slouken@3993
    96
	The GDI video driver makes better use of the palette in 8-bit modes.
slouken@3993
    97
</P>
slouken@3993
    98
<P>
icculus@3970
    99
	The windib driver now supports more mouse buttons with WM_XBUTTON events.
icculus@3970
   100
</P>
icculus@3970
   101
<P>
slouken@4083
   102
	On Windows, SDL_SetVideoMode() will re-create the window instead of failing if the multisample settings are changed.
slouken@4083
   103
</P>
slouken@4083
   104
<P>
slouken@3960
   105
	Added support for UTF-8 window titles on Windows.
slouken@3960
   106
</P>
slouken@3960
   107
<P>
slouken@3960
   108
	Fixed joystick detection on Windows.
slouken@3960
   109
</P>
slouken@3960
   110
<P>
slouken@4032
   111
	Improved performance with Win32 file I/O.
slouken@4032
   112
</P>
slouken@4032
   113
<P>
slouken@3960
   114
	Fixed HBITMAP leak in GAPI driver.
slouken@3960
   115
</P>
slouken@3960
   116
</BLOCKQUOTE>
slouken@3960
   117
slouken@3960
   118
<H3> Mac OS X Notes </H3>
slouken@3960
   119
slouken@3960
   120
<BLOCKQUOTE>
slouken@3960
   121
<P>
slouken@3960
   122
	Added support for multi-axis controllers like 3Dconnxion's SpaceNavigator on Mac OS X.
slouken@3960
   123
</P>
slouken@3960
   124
<P>
slouken@3960
   125
	Fixed YUV overlay crash inside Quicktime on Intel Mac OS X.
slouken@3960
   126
</P>
slouken@3960
   127
<P>
slouken@3960
   128
	Fixed blitting alignment in Altivec alpha blit functions.
slouken@3960
   129
</P>
slouken@3960
   130
<P>
slouken@3960
   131
	Keys F13, F14, and F15 are now usable on Apple keyboards under Mac OS X.
slouken@3960
   132
</P>
slouken@3960
   133
<P>
slouken@3960
   134
	Fixed joystick calibration code on Mac OS X.
slouken@3960
   135
</P>
slouken@3960
   136
<P>
slouken@3960
   137
	Fixed mouse jitter when multiple motion events are queued up in Mac OS X.
slouken@3960
   138
</P>
slouken@4074
   139
<P>
slouken@4074
   140
	Fixed changing the cursor in fullscreen mode on Mac OS X.
slouken@4074
   141
</P>
slouken@3960
   142
</BLOCKQUOTE>
slouken@3960
   143
slouken@3963
   144
<H3> Mac OS Classic Notes </H3>
slouken@3963
   145
slouken@3963
   146
<BLOCKQUOTE>
slouken@3963
   147
<P>
slouken@3963
   148
	Added support for gamma ramps to both toolbox and DrawSprocket video drivers.
slouken@3963
   149
</P>
slouken@3963
   150
</BLOCKQUOTE>
slouken@3963
   151
slouken@3960
   152
<H3> BeOS Notes </H3>
slouken@3960
   153
slouken@3960
   154
<BLOCKQUOTE>
slouken@3960
   155
<P>
slouken@3960
   156
	Implemented mouse grabbing and mouse relative mode on BeOS.
slouken@3960
   157
</P>
slouken@3960
   158
</BLOCKQUOTE>
slouken@3960
   159
slouken@3960
   160
<IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
slouken@3960
   161
slouken@1892
   162
<H2> SDL 1.2.11 Release Notes </H2>
slouken@1892
   163
<P>
slouken@1892
   164
SDL 1.2.11 is a minor bug fix release.
slouken@1892
   165
</P>
slouken@1892
   166
slouken@1892
   167
<H3> Unix Notes </H3>
slouken@1892
   168
slouken@1892
   169
<BLOCKQUOTE>
slouken@1892
   170
<P>
slouken@1892
   171
	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.
slouken@1892
   172
</P>
slouken@1892
   173
<P>
slouken@1892
   174
	Fixed building SDL with Xinerama disabled.
slouken@1892
   175
</P>
slouken@1892
   176
<P>
slouken@1892
   177
	Fixed DRI OpenGL library loading, using RTLD_GLOBAL in dlopen().
slouken@1892
   178
</P>
slouken@1892
   179
<P>
slouken@1892
   180
	Added pkgconfig configuration support.
slouken@1892
   181
</P>
slouken@1892
   182
</BLOCKQUOTE>
slouken@1892
   183
slouken@1892
   184
<H3> Windows Notes </H3>
slouken@1892
   185
slouken@1892
   186
<BLOCKQUOTE>
slouken@1892
   187
<P>
slouken@1892
   188
	Setting SDL_GL_SWAP_CONTROL now works with Windows OpenGL.
slouken@1892
   189
</P>
slouken@1892
   190
<P>
slouken@1892
   191
	The Win32 window positioning code works properly for windows with menus.
slouken@1892
   192
</P>
slouken@1892
   193
<P>
slouken@1892
   194
	DirectSound audio quality has been improved on certain sound cards.
slouken@1892
   195
</P>
slouken@1892
   196
<P>
slouken@1892
   197
	Fixed 5.1 audio channel ordering on Windows and Mac OS X.
slouken@1892
   198
</P>
slouken@1892
   199
<P>
slouken@1892
   200
	Plugged a couple of minor memory leaks in the windib video driver.
slouken@1892
   201
</P>
slouken@1892
   202
<P>
slouken@1892
   203
	Fixed type collision with stdint.h when building with gcc on Win32.
slouken@1892
   204
</P>
slouken@1892
   205
<P>
slouken@1892
   206
	Fixed building with the Digital Mars Compiler on Win32.
slouken@1892
   207
</P>
slouken@1892
   208
</BLOCKQUOTE>
slouken@1892
   209
slouken@1892
   210
<H3> Mac OS X Notes </H3>
slouken@1892
   211
slouken@1892
   212
<BLOCKQUOTE>
slouken@1892
   213
<P>
slouken@1892
   214
	The Quartz video driver supports 32x32 cursors on Mac OS X 10.3 and above.
slouken@1892
   215
</P>
slouken@1892
   216
</BLOCKQUOTE>
slouken@1892
   217
slouken@1892
   218
<IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
slouken@1892
   219
slouken@1840
   220
<H2> SDL 1.2.10 Release Notes </H2>
slouken@0
   221
<P>
slouken@1840
   222
SDL 1.2.10 is a major release, featuring a revamp of the build system and many API improvements and bug fixes.
slouken@1840
   223
</P>
slouken@1840
   224
<H3> API enhancements </H3>
slouken@0
   225
<UL>
slouken@1840
   226
<LI>
slouken@1840
   227
	If SDL_OpenAudio() is passed zero for the desired format
slouken@1840
   228
	fields, the following environment variables will be used
slouken@1840
   229
	to fill them in:
slouken@1840
   230
<pre><code>
slouken@1840
   231
		SDL_AUDIO_FREQUENCY
slouken@1840
   232
		SDL_AUDIO_FORMAT
slouken@1840
   233
		SDL_AUDIO_CHANNELS
slouken@1840
   234
		SDL_AUDIO_SAMPLES
slouken@1840
   235
</code></pre>
slouken@1840
   236
	If an environment variable is not specified, it will be set
slouken@1840
   237
	to a reasonable default value.
slouken@1840
   238
<LI>
slouken@1840
   239
	SDL_SetVideoMode() now accepts 0 for width or height and will use
slouken@1840
   240
	the current video mode (or the desktop mode if no mode has been set.)
slouken@1840
   241
<LI>
slouken@1840
   242
	Added current_w and current_h to the SDL_VideoInfo structure,
slouken@1840
   243
	which is set to the desktop resolution during video intialization,
slouken@1840
   244
	and then set to the current resolution when a video mode is set.
slouken@1840
   245
<LI>
slouken@1840
   246
	SDL_GL_LoadLibrary() will load the system default OpenGL library
slouken@1840
   247
	if it is passed NULL as a parameter.
slouken@1840
   248
<LI>
slouken@1840
   249
	Added SDL_GL_SWAP_CONTROL to wait for vsync in OpenGL applications.
slouken@1840
   250
<LI>
slouken@1840
   251
	Added SDL_GL_ACCELERATED_VISUAL to guarantee hardware acceleration.
slouken@1840
   252
<LI>
slouken@1840
   253
	SDL_WM_SetCaption() now officially takes UTF-8 title and icon strings, and displays international characters on supported platforms.
slouken@1840
   254
<LI>
slouken@1840
   255
	Added SDL_GetKeyRepeat() to query the key repeat settings.
slouken@1840
   256
<LI>
slouken@1840
   257
	Added the "dummy" audio driver, which can be used to emulate audio
slouken@1840
   258
	output without a sound card.
slouken@1840
   259
<LI>
slouken@1840
   260
	Added SDL_config.h, with defaults for various build environments.
slouken@0
   261
</UL>
slouken@0
   262
slouken@1840
   263
<H3> General Notes </H3>
slouken@0
   264
slouken@1840
   265
<BLOCKQUOTE>
slouken@1840
   266
<P>
slouken@1840
   267
	The SDL website now has an <A HREF="http://www.libsdl.org/rss/rss.xml">RSS feed</A>!
slouken@1840
   268
<P>
slouken@1840
   269
	The SDL development source code is now managed with <A HREF="http://www.libsdl.org/svn.php">Subversion</A>.
slouken@1840
   270
<P>
slouken@1840
   271
	SDL now uses the Bugzilla <A HREF="http://bugzilla.libsdl.org/">bug tracking system</A>, hosted by icculus.org.
slouken@1840
   272
<P>
slouken@1840
   273
	SDL is licensed under version 2.1 of the GNU Lesser General Public License.
slouken@1840
   274
<P>
slouken@1840
   275
	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.
slouken@1840
   276
<P>
slouken@1840
   277
	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>
slouken@1840
   278
<P>
slouken@1840
   279
	Alex Volkov contributed highly optimized RGB <-> RGBA blitters.
slouken@1840
   280
</BLOCKQUOTE>
slouken@0
   281
slouken@1840
   282
<H3> Unix Notes </H3>
slouken@0
   283
slouken@1840
   284
<BLOCKQUOTE>
slouken@1840
   285
<P>
slouken@1840
   286
	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.
slouken@1840
   287
<P>
slouken@1840
   288
	The XiG XME extension code is now included in the X11 video driver by default.
slouken@1840
   289
<P>
slouken@1840
   290
	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.
slouken@1840
   291
<P>
slouken@1840
   292
	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.
slouken@1840
   293
<P>
slouken@1840
   294
	XVidMode video modes are now sorted so they maintain the refresh rates specified in the X11 configuration file.
slouken@1840
   295
<P>
slouken@1840
   296
	SDL windows are no longer transparent in X11 compositing systems like XGL.
slouken@1840
   297
<P>
slouken@1840
   298
	The mouse is properly released by the X11 video driver if the fullscreen window loses focus.
slouken@1840
   299
<P>
slouken@1840
   300
	The X11 input driver now uses XIM to handle international input.
slouken@1840
   301
<P>
slouken@1840
   302
	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.
slouken@1840
   303
<P>
slouken@1840
   304
	Fixed a bug preventing stereo OpenGL contexts from being selected on the X11 driver.
slouken@1840
   305
<P>
slouken@1840
   306
	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.
slouken@1840
   307
<P>
slouken@1840
   308
	The framebuffer console video driver now has a parser for /etc/fb.modes for improved video mode handling.
slouken@1840
   309
<P>
slouken@1840
   310
	The framebuffer console video driver now allows asynchronous VT switching, and restores the full contents of the screen when switched back.
slouken@1840
   311
<P>
slouken@1840
   312
	The framebuffer console now uses CTRL-ALT-FN to switch virtual terminals, to avoid collisions with application key bindings.
slouken@1840
   313
<P>
slouken@1840
   314
	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.
slouken@1840
   315
<P>
slouken@1840
   316
	The SVGAlib video driver now has support for banked (non-linear) video modes.
slouken@1840
   317
<P>
slouken@1840
   318
	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.
slouken@1840
   319
<P>
slouken@1840
   320
	Many patches have been incorporated from *BSD ports.
slouken@1840
   321
</BLOCKQUOTE>
slouken@0
   322
slouken@1840
   323
<H3> Windows Notes </H3>
slouken@0
   324
slouken@1840
   325
<BLOCKQUOTE>
slouken@1840
   326
<P>
slouken@1840
   327
	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".
slouken@1840
   328
<P>
slouken@1840
   329
	SDL has been ported to 64-bit Windows.
slouken@1840
   330
<P>
slouken@1840
   331
	Dmitry Yakimov contributed a GAPI video driver for Windows CE.
slouken@1840
   332
<P>
slouken@1840
   333
	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.
slouken@1840
   334
<P>
slouken@1840
   335
	Dialog boxes are now shown when SDL is in windowed OpenGL mode.
slouken@1840
   336
<P>
slouken@1840
   337
	The SDL window is recreated when necessary to maintain OpenGL context attributes, when switching between windowed and fullscreen modes.
slouken@1840
   338
<P>
slouken@1840
   339
	An SDL_VIDEORESIZE event is properly sent when the SDL window is maximized and restored.
slouken@1840
   340
<P>
slouken@1840
   341
	Window positions are retained when switching between fullscreen and windowed modes.
slouken@1840
   342
<P>
slouken@1840
   343
	ToUnicode() is used, when available, for improved handling of international keyboard input.
slouken@1840
   344
<P>
slouken@1840
   345
	The PrtScrn is now treated normally with both key down and key up events.
slouken@1840
   346
<P>
slouken@1840
   347
	Pressing ALT-F4 now delivers an SDL_QUIT event to SDL applications.
slouken@1840
   348
<P>
slouken@1840
   349
	Joystick names are now correct for joysticks which have been unplugged and then plugged back in since booting.
slouken@1840
   350
<P>
slouken@1840
   351
	An MCI error when playing the last track on a CD-ROM has been fixed.
slouken@1840
   352
<P>
slouken@1840
   353
	OpenWatcom projects for building SDL have been provided by Marc Peter.
slouken@1840
   354
</BLOCKQUOTE>
slouken@0
   355
slouken@1840
   356
<H3> Mac OS X Notes </H3>
slouken@1840
   357
slouken@1840
   358
<BLOCKQUOTE>
slouken@0
   359
<P>
slouken@1840
   360
	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.
slouken@1840
   361
<P>
slouken@1840
   362
	The X11 video driver with GLX support can be built on Mac OS X, if the X11 development SDK is installed.
slouken@1840
   363
<P>
slouken@1840
   364
	Transitions between fullscreen resolutions and windowed mode now use a much faster asynchronous fade to hide desktop flicker.
slouken@1840
   365
<P>
slouken@1840
   366
	Icons set with SDL_WM_SetIcon() now have the proper colors on Intel Macs.
slouken@1840
   367
</BLOCKQUOTE>
slouken@1840
   368
slouken@1840
   369
<H3> OS/2 Notes </H3>
slouken@1840
   370
slouken@1840
   371
<BLOCKQUOTE>
slouken@1840
   372
<P>
slouken@1840
   373
	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.
slouken@1840
   374
</BLOCKQUOTE>
slouken@1840
   375
slouken@0
   376
<IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
slouken@0
   377
slouken@0
   378
</BODY>
slouken@0
   379
</HTML>