docs.html
author Sam Lantinga <slouken@libsdl.org>
Wed, 07 Oct 2009 08:00:20 +0000
branchSDL-1.2
changeset 4280 e1826b24ee8d
parent 4141 8b10a6efad41
child 4281 6e3c19f8ab96
permissions -rw-r--r--
Updated documentation with major changes for 1.2.14
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@4139
    17
<H2> SDL 1.2.14 Release Notes </H2>
slouken@4139
    18
<P>
slouken@4139
    19
SDL 1.2.14 is a minor bug fix release.
slouken@4139
    20
</P>
slouken@4139
    21
slouken@4139
    22
<H3> General Notes </H3>
slouken@4139
    23
slouken@4139
    24
<BLOCKQUOTE>
slouken@4139
    25
<P>
slouken@4141
    26
	Fixed flicker when resizing the SDL window
slouken@4139
    27
</P>
slouken@4280
    28
<P>
slouken@4280
    29
	Fixed crash in SDL_SetGammaRamp()
slouken@4280
    30
</P>
slouken@4280
    31
<P>
slouken@4280
    32
	Fixed freeze in SDL_memset() with 0 length when assembly code is disabled.
slouken@4280
    33
</P>
slouken@4280
    34
<P>
slouken@4280
    35
	Added SDL_NO_LOCK_KEYS environment variable to enable normal up/down events for Caps-Lock and Num-Lock keys.
slouken@4280
    36
</P>
slouken@4280
    37
<P>
slouken@4280
    38
	Fixed audio quality problem when converting between 22050 Hz and 44100 Hz.
slouken@4280
    39
</P>
slouken@4280
    40
<P>
slouken@4280
    41
	Fixed a threading crash when a few threads are rapidly created and complete.
slouken@4280
    42
</P>
slouken@4280
    43
<P>
slouken@4280
    44
	Fixed crash loading BMP files saved with the scanlines inverted.
slouken@4280
    45
</P>
slouken@4280
    46
<P>
slouken@4280
    47
	Fixed mouse coordinate clamping if SDL_SetVideoMode() isn't called in response to SDL_VIDEORESIZE event.
slouken@4280
    48
</P>
slouken@4280
    49
<P>
slouken@4280
    50
	Added doxygen documentation for the SDL API headers.
slouken@4280
    51
</P>
slouken@4139
    52
</BLOCKQUOTE>
slouken@4139
    53
slouken@4139
    54
<H3> Unix Notes </H3>
slouken@4139
    55
slouken@4139
    56
<BLOCKQUOTE>
slouken@4139
    57
<P>
slouken@4280
    58
	Fixed potential memory corruption due to assembly bug with SDL_revcpy()
slouken@4280
    59
</P>
slouken@4280
    60
<P>
slouken@4280
    61
	Fixed crashes trying to detect SSE features on x86_64 architecture.
slouken@4280
    62
</P>
slouken@4280
    63
<P>
slouken@4280
    64
	Fixed assembly for GCC optimized 50% alpha blending blits.
slouken@4280
    65
</P>
slouken@4280
    66
<P>
slouken@4139
    67
	Added configure option --enable-screensaver, to allow enabling the screensaver by default.
slouken@4139
    68
</P>
slouken@4139
    69
<P>
slouken@4139
    70
	Use XResetScreenSaver() instead of disabling screensaver entirely.
slouken@4139
    71
</P>
slouken@4280
    72
<P>
slouken@4280
    73
	Removed the maximum window size limitation on X11.
slouken@4280
    74
</P>
slouken@4280
    75
<P>
slouken@4280
    76
	Fixed setting the X11 window input hint.
slouken@4280
    77
</P>
slouken@4280
    78
<P>
slouken@4280
    79
	Fixed distorted X11 window icon for some visuals.
slouken@4280
    80
</P>
slouken@4280
    81
<P>
slouken@4280
    82
	Fixed detecting X11 libraries for dynamic loading on 64-bit Linux.
slouken@4280
    83
</P>
slouken@4280
    84
<P>
slouken@4280
    85
	SDL_GL_GetAttribute(SDL_GL_SWAP_CONTROL) returns the correct value with GLX_SGI_swap_control.
slouken@4280
    86
</P>
slouken@4280
    87
<P>
slouken@4280
    88
	The SDL_VIDEO_FULLSCREEN_HEAD environment variable can be set to 0 to place fullscreen SDL windows on the first Xinerama screen.
slouken@4280
    89
</P>
slouken@4280
    90
<P>
slouken@4280
    91
	Added the SDL_VIDEO_FBCON_ROTATION environment variable to control output orientation on the framebuffer console.
slouken@4280
    92
	<BR>
slouken@4280
    93
	Valid values are:
slouken@4280
    94
	<UL>
slouken@4280
    95
	<LI>not set   - Not rotating, no shadow.
slouken@4280
    96
	<LI>"NONE"    - Not rotating, but still using shadow.
slouken@4280
    97
	<LI>"CW"      - Rotating screen clockwise.
slouken@4280
    98
	<LI>"UD"      - Rotating screen upside down.
slouken@4280
    99
	<LI>"CCW"     - Rotating screen counter clockwise.
slouken@4280
   100
	</UL>
slouken@4280
   101
</P>
slouken@4280
   102
<P>
slouken@4280
   103
	Fixed DirectFB detection on some Linux distributions.
slouken@4280
   104
</P>
slouken@4280
   105
<P>
slouken@4280
   106
	Added code to use the PS3 SPE processors for YUV conversion on Linux.
slouken@4280
   107
</P>
slouken@4280
   108
<P>
slouken@4280
   109
	Improved support for PulseAudio
slouken@4280
   110
</P>
slouken@4280
   111
<P>
slouken@4280
   112
	The Network Audio System support is now dynamically loaded at runtime.
slouken@4280
   113
</P>
slouken@4280
   114
<P>
slouken@4280
   115
	Fixed crash with the MP-8866 Dual USB Joypad on newer Linux kernels.
slouken@4280
   116
</P>
slouken@4280
   117
<P>
slouken@4280
   118
	Fixed crash in SDL_Quit() when a joystick has been unplugged.
slouken@4280
   119
</P>
slouken@4139
   120
</BLOCKQUOTE>
slouken@4139
   121
slouken@4139
   122
<H3> Windows Notes </H3>
slouken@4139
   123
slouken@4139
   124
<BLOCKQUOTE>
slouken@4139
   125
<P>
slouken@4280
   126
	Verified 100% compatibility with Windows 7.
slouken@4280
   127
</P>
slouken@4280
   128
<P>
slouken@4280
   129
	Prevent loss of OpenGL context when setting the video mode in response to a window resize event.
slouken@4280
   130
</P>
slouken@4280
   131
<P>
slouken@4280
   132
	Improved mouse input responsiveness for first-person-shooter games.
slouken@4280
   133
</P>
slouken@4280
   134
<P>
slouken@4280
   135
	The SDL_STDIO_REDIRECT environment variable can be used to override whether SDL redirects stdio to stdout.txt and stderr.txt.
slouken@4280
   136
</P>
slouken@4280
   137
<P>
slouken@4280
   138
	Fixed video initialization with SDL_WINDOWID on Windows XP
slouken@4280
   139
</P>
slouken@4280
   140
<P>
slouken@4280
   141
	Fixed dynamic object loading on Windows CE.
slouken@4139
   142
</P>
slouken@4139
   143
</BLOCKQUOTE>
slouken@4139
   144
slouken@4139
   145
<H3> Mac OS X Notes </H3>
slouken@4139
   146
slouken@4139
   147
<BLOCKQUOTE>
slouken@4139
   148
<P>
slouken@4280
   149
	SDL now builds on Mac OS X 10.6 (Snow Leopard).
slouken@4280
   150
	<BR>
slouken@4280
   151
	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>
slouken@4280
   152
</P>
slouken@4280
   153
<P>
slouken@4280
   154
	The X11 video driver is built by default.
slouken@4280
   155
</P>
slouken@4280
   156
<P>
slouken@4280
   157
	Fixed SDL_VIDEO_WINDOW_POS environment variable for Quartz target.
slouken@4280
   158
</P>
slouken@4280
   159
<P>
slouken@4280
   160
	Fixed setting the starting working directory in release builds.
slouken@4139
   161
</P>
slouken@4139
   162
</BLOCKQUOTE>
slouken@4139
   163
slouken@4139
   164
<IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
slouken@4139
   165
slouken@4115
   166
<H2> SDL 1.2.13 Release Notes </H2>
slouken@4115
   167
<P>
slouken@4115
   168
SDL 1.2.13 is a minor bug fix release.
slouken@4115
   169
</P>
slouken@4115
   170
slouken@4115
   171
<H3> General Notes </H3>
slouken@4115
   172
slouken@4115
   173
<BLOCKQUOTE>
slouken@4115
   174
<P>
slouken@4115
   175
	Fixed link error when building with Intel Compiler 10.
slouken@4115
   176
</P>
slouken@4115
   177
<P>
slouken@4115
   178
	Removed stray C++ comment from public headers.
slouken@4115
   179
</P>
slouken@4115
   180
</BLOCKQUOTE>
slouken@4115
   181
slouken@4115
   182
<H3> Unix Notes </H3>
slouken@4115
   183
slouken@4115
   184
<BLOCKQUOTE>
slouken@4115
   185
<P>
slouken@4115
   186
	Fixed crash in SDL_SoftStretch() on secure operating systems.
slouken@4115
   187
</P>
slouken@4115
   188
<P>
slouken@4119
   189
	Fixed undefined symbol on X11 implementations without UTF-8 support.
slouken@4119
   190
</P>
slouken@4119
   191
<P>
slouken@4115
   192
	Worked around BadAlloc error when using XVideo on the XFree86 Intel Integrated Graphics driver.
slouken@4115
   193
</P>
slouken@4115
   194
<P>
slouken@4115
   195
	Scan for all joysticks on Linux instead of stopping at one that was removed.
slouken@4115
   196
</P>
slouken@4121
   197
<P>
slouken@4121
   198
	Fixed use of sdl-config arguments in sdl.m4
slouken@4121
   199
</P>
slouken@4115
   200
</BLOCKQUOTE>
slouken@4115
   201
slouken@4115
   202
<H3> Windows Notes </H3>
slouken@4115
   203
slouken@4115
   204
<BLOCKQUOTE>
slouken@4115
   205
<P>
slouken@4115
   206
	Fixed crash when a video driver reports higher than 32 bpp video modes.
slouken@4115
   207
</P>
slouken@4115
   208
<P>
slouken@4115
   209
	Fixed restoring the desktop after setting a 24-bit OpenGL video mode.
slouken@4115
   210
</P>
slouken@4115
   211
<P>
slouken@4115
   212
	Fixed window titles on Windows 95/98/ME.
slouken@4115
   213
</P>
slouken@4115
   214
<P>
slouken@4115
   215
	Added SDL_BUTTON_X1 and SDL_BUTTON_X2 constants for extended mouse buttons.
slouken@4115
   216
</P>
slouken@4119
   217
<P>
slouken@4119
   218
	Added support for quoted command line arguments.
slouken@4119
   219
</P>
slouken@4115
   220
</BLOCKQUOTE>
slouken@4115
   221
slouken@4115
   222
<H3> Mac OS X Notes </H3>
slouken@4115
   223
slouken@4115
   224
<BLOCKQUOTE>
slouken@4115
   225
<P>
slouken@4115
   226
	SDL now builds on Mac OS X 10.5 (Leopard).
slouken@4115
   227
</P>
slouken@4115
   228
<P>
slouken@4115
   229
	Fixed high frequency crash involving text input.
slouken@4115
   230
</P>
slouken@4115
   231
<P>
slouken@4123
   232
	Fixed beeping when the escape key is pressed and UNICODE translation is enabled.
slouken@4123
   233
</P>
slouken@4123
   234
<P>
slouken@4115
   235
	Improved trackpad scrolling support.
slouken@4115
   236
</P>
slouken@4120
   237
<P>
slouken@4120
   238
	Fixed joystick hat reporting for certain joysticks.
slouken@4120
   239
</P>
slouken@4115
   240
</BLOCKQUOTE>
slouken@4115
   241
slouken@4115
   242
<IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
slouken@4115
   243
slouken@3960
   244
<H2> SDL 1.2.12 Release Notes </H2>
slouken@3960
   245
<P>
slouken@3960
   246
SDL 1.2.12 is a minor bug fix release.
slouken@3960
   247
</P>
slouken@3960
   248
slouken@3960
   249
<H3> General Notes </H3>
slouken@3960
   250
slouken@3960
   251
<BLOCKQUOTE>
slouken@3960
   252
<P>
slouken@3960
   253
	Added support for the PulseAudio sound server: http://www.pulseaudio.org/
slouken@3960
   254
</P>
slouken@3960
   255
<P>
icculus@3982
   256
	Added SDL_VIDEO_ALLOW_SCREENSAVER to override SDL's disabling of the screensaver on Mac OS X, Windows, and X11.
slouken@3960
   257
</P>
slouken@3960
   258
<P>
slouken@3960
   259
	Fixed buffer overrun crash when resampling audio rates.
slouken@3960
   260
</P>
slouken@3960
   261
<P>
slouken@3960
   262
	Fixed audio bug where converting to mono was doubling the volume.
slouken@3960
   263
</P>
slouken@3960
   264
<P>
slouken@3960
   265
	Fixed off-by-one error in the C implementation of SDL_revcpy()
slouken@3960
   266
</P>
slouken@3960
   267
<P>
slouken@3966
   268
	Fixed compiling with Sun Studio.
slouken@3966
   269
</P>
slouken@3966
   270
<P>
slouken@3960
   271
	Support for AmigaOS has been removed from the main SDL code.
slouken@3960
   272
</P>
icculus@3968
   273
<P>
icculus@3968
   274
	Support for Nokia 9210 "EPOC" driver has been removed from the main SDL code.
icculus@3968
   275
</P>
icculus@3975
   276
<P>
icculus@3975
   277
	Unofficial support for the S60/SymbianOS platform has been added.
icculus@3975
   278
</P>
slouken@3976
   279
<P>
slouken@3976
   280
	Unofficial support for the Nintendo DS platform has been added.
slouken@3976
   281
</P>
icculus@4048
   282
<P>
icculus@4048
   283
	Reenabled MMX assembly for YUV overlay processing (GNU C Compiler only).
icculus@4048
   284
</P>
slouken@3960
   285
</BLOCKQUOTE>
slouken@3960
   286
slouken@3960
   287
<H3> Unix Notes </H3>
slouken@3960
   288
slouken@3960
   289
<BLOCKQUOTE>
slouken@3960
   290
<P>
slouken@4021
   291
	Fixed detection of X11 DGA mouse support.
slouken@4021
   292
</P>
slouken@4021
   293
<P>
slouken@3994
   294
	Improved XIM support for asian character sets.
slouken@3994
   295
</P>
slouken@3994
   296
<P>
slouken@3960
   297
	The GFX_Display has been added to the X11 window information in SDL_syswm.h.
slouken@3960
   298
</P>
slouken@3960
   299
<P>
slouken@3960
   300
	Fixed PAGE_SIZE compile error in the fbcon video driver on newer Linux kernels.
slouken@3960
   301
</P>
slouken@3960
   302
<P>
slouken@3960
   303
	Fixed hang or crash at startup if aRts can't access the hardware.
slouken@3960
   304
</P>
slouken@3960
   305
<P>
slouken@3960
   306
	Fixed relative mouse mode when the cursor starts outside the X11 window.
slouken@3960
   307
</P>
slouken@3960
   308
<P>
slouken@3960
   309
	Fixed accidental free of stack memory in X11 mouse acceleration code.
slouken@3960
   310
</P>
slouken@3960
   311
<P>
slouken@3960
   312
	Closed minor memory leak in XME code.
slouken@3960
   313
</P>
icculus@4048
   314
<P>
icculus@4048
   315
	Fixed TEXTRELs in the library to resolve some PIC issues.
icculus@4048
   316
</P>
slouken@3960
   317
</BLOCKQUOTE>
slouken@3960
   318
slouken@3960
   319
<H3> Windows Notes </H3>
slouken@3960
   320
slouken@3960
   321
<BLOCKQUOTE>
slouken@3960
   322
<P>
slouken@3993
   323
	The GDI video driver makes better use of the palette in 8-bit modes.
slouken@3993
   324
</P>
slouken@3993
   325
<P>
icculus@3970
   326
	The windib driver now supports more mouse buttons with WM_XBUTTON events.
icculus@3970
   327
</P>
icculus@3970
   328
<P>
slouken@4083
   329
	On Windows, SDL_SetVideoMode() will re-create the window instead of failing if the multisample settings are changed.
slouken@4083
   330
</P>
slouken@4083
   331
<P>
slouken@3960
   332
	Added support for UTF-8 window titles on Windows.
slouken@3960
   333
</P>
slouken@3960
   334
<P>
slouken@3960
   335
	Fixed joystick detection on Windows.
slouken@3960
   336
</P>
slouken@3960
   337
<P>
slouken@4032
   338
	Improved performance with Win32 file I/O.
slouken@4032
   339
</P>
slouken@4032
   340
<P>
slouken@3960
   341
	Fixed HBITMAP leak in GAPI driver.
slouken@3960
   342
</P>
slouken@3960
   343
</BLOCKQUOTE>
slouken@3960
   344
slouken@3960
   345
<H3> Mac OS X Notes </H3>
slouken@3960
   346
slouken@3960
   347
<BLOCKQUOTE>
slouken@3960
   348
<P>
slouken@3960
   349
	Added support for multi-axis controllers like 3Dconnxion's SpaceNavigator on Mac OS X.
slouken@3960
   350
</P>
slouken@3960
   351
<P>
slouken@3960
   352
	Fixed YUV overlay crash inside Quicktime on Intel Mac OS X.
slouken@3960
   353
</P>
slouken@3960
   354
<P>
slouken@3960
   355
	Fixed blitting alignment in Altivec alpha blit functions.
slouken@3960
   356
</P>
slouken@3960
   357
<P>
slouken@3960
   358
	Keys F13, F14, and F15 are now usable on Apple keyboards under Mac OS X.
slouken@3960
   359
</P>
slouken@3960
   360
<P>
slouken@3960
   361
	Fixed joystick calibration code on Mac OS X.
slouken@3960
   362
</P>
slouken@3960
   363
<P>
slouken@3960
   364
	Fixed mouse jitter when multiple motion events are queued up in Mac OS X.
slouken@3960
   365
</P>
slouken@4074
   366
<P>
slouken@4074
   367
	Fixed changing the cursor in fullscreen mode on Mac OS X.
slouken@4074
   368
</P>
slouken@3960
   369
</BLOCKQUOTE>
slouken@3960
   370
slouken@3963
   371
<H3> Mac OS Classic Notes </H3>
slouken@3963
   372
slouken@3963
   373
<BLOCKQUOTE>
slouken@3963
   374
<P>
slouken@3963
   375
	Added support for gamma ramps to both toolbox and DrawSprocket video drivers.
slouken@3963
   376
</P>
slouken@3963
   377
</BLOCKQUOTE>
slouken@3963
   378
slouken@3960
   379
<H3> BeOS Notes </H3>
slouken@3960
   380
slouken@3960
   381
<BLOCKQUOTE>
slouken@3960
   382
<P>
slouken@3960
   383
	Implemented mouse grabbing and mouse relative mode on BeOS.
slouken@3960
   384
</P>
slouken@3960
   385
</BLOCKQUOTE>
slouken@3960
   386
slouken@3960
   387
<IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
slouken@3960
   388
slouken@1892
   389
<H2> SDL 1.2.11 Release Notes </H2>
slouken@1892
   390
<P>
slouken@1892
   391
SDL 1.2.11 is a minor bug fix release.
slouken@1892
   392
</P>
slouken@1892
   393
slouken@1892
   394
<H3> Unix Notes </H3>
slouken@1892
   395
slouken@1892
   396
<BLOCKQUOTE>
slouken@1892
   397
<P>
slouken@1892
   398
	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
   399
</P>
slouken@1892
   400
<P>
slouken@1892
   401
	Fixed building SDL with Xinerama disabled.
slouken@1892
   402
</P>
slouken@1892
   403
<P>
slouken@1892
   404
	Fixed DRI OpenGL library loading, using RTLD_GLOBAL in dlopen().
slouken@1892
   405
</P>
slouken@1892
   406
<P>
slouken@1892
   407
	Added pkgconfig configuration support.
slouken@1892
   408
</P>
slouken@1892
   409
</BLOCKQUOTE>
slouken@1892
   410
slouken@1892
   411
<H3> Windows Notes </H3>
slouken@1892
   412
slouken@1892
   413
<BLOCKQUOTE>
slouken@1892
   414
<P>
slouken@1892
   415
	Setting SDL_GL_SWAP_CONTROL now works with Windows OpenGL.
slouken@1892
   416
</P>
slouken@1892
   417
<P>
slouken@1892
   418
	The Win32 window positioning code works properly for windows with menus.
slouken@1892
   419
</P>
slouken@1892
   420
<P>
slouken@1892
   421
	DirectSound audio quality has been improved on certain sound cards.
slouken@1892
   422
</P>
slouken@1892
   423
<P>
slouken@1892
   424
	Fixed 5.1 audio channel ordering on Windows and Mac OS X.
slouken@1892
   425
</P>
slouken@1892
   426
<P>
slouken@1892
   427
	Plugged a couple of minor memory leaks in the windib video driver.
slouken@1892
   428
</P>
slouken@1892
   429
<P>
slouken@1892
   430
	Fixed type collision with stdint.h when building with gcc on Win32.
slouken@1892
   431
</P>
slouken@1892
   432
<P>
slouken@1892
   433
	Fixed building with the Digital Mars Compiler on Win32.
slouken@1892
   434
</P>
slouken@1892
   435
</BLOCKQUOTE>
slouken@1892
   436
slouken@1892
   437
<H3> Mac OS X Notes </H3>
slouken@1892
   438
slouken@1892
   439
<BLOCKQUOTE>
slouken@1892
   440
<P>
slouken@1892
   441
	The Quartz video driver supports 32x32 cursors on Mac OS X 10.3 and above.
slouken@1892
   442
</P>
slouken@1892
   443
</BLOCKQUOTE>
slouken@1892
   444
slouken@1892
   445
<IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
slouken@1892
   446
slouken@1840
   447
<H2> SDL 1.2.10 Release Notes </H2>
slouken@0
   448
<P>
slouken@1840
   449
SDL 1.2.10 is a major release, featuring a revamp of the build system and many API improvements and bug fixes.
slouken@1840
   450
</P>
slouken@1840
   451
<H3> API enhancements </H3>
slouken@0
   452
<UL>
slouken@1840
   453
<LI>
slouken@1840
   454
	If SDL_OpenAudio() is passed zero for the desired format
slouken@1840
   455
	fields, the following environment variables will be used
slouken@1840
   456
	to fill them in:
slouken@1840
   457
<pre><code>
slouken@1840
   458
		SDL_AUDIO_FREQUENCY
slouken@1840
   459
		SDL_AUDIO_FORMAT
slouken@1840
   460
		SDL_AUDIO_CHANNELS
slouken@1840
   461
		SDL_AUDIO_SAMPLES
slouken@1840
   462
</code></pre>
slouken@1840
   463
	If an environment variable is not specified, it will be set
slouken@1840
   464
	to a reasonable default value.
slouken@1840
   465
<LI>
slouken@1840
   466
	SDL_SetVideoMode() now accepts 0 for width or height and will use
slouken@1840
   467
	the current video mode (or the desktop mode if no mode has been set.)
slouken@1840
   468
<LI>
slouken@1840
   469
	Added current_w and current_h to the SDL_VideoInfo structure,
slouken@1840
   470
	which is set to the desktop resolution during video intialization,
slouken@1840
   471
	and then set to the current resolution when a video mode is set.
slouken@1840
   472
<LI>
slouken@1840
   473
	SDL_GL_LoadLibrary() will load the system default OpenGL library
slouken@1840
   474
	if it is passed NULL as a parameter.
slouken@1840
   475
<LI>
slouken@1840
   476
	Added SDL_GL_SWAP_CONTROL to wait for vsync in OpenGL applications.
slouken@1840
   477
<LI>
slouken@1840
   478
	Added SDL_GL_ACCELERATED_VISUAL to guarantee hardware acceleration.
slouken@1840
   479
<LI>
slouken@1840
   480
	SDL_WM_SetCaption() now officially takes UTF-8 title and icon strings, and displays international characters on supported platforms.
slouken@1840
   481
<LI>
slouken@1840
   482
	Added SDL_GetKeyRepeat() to query the key repeat settings.
slouken@1840
   483
<LI>
slouken@1840
   484
	Added the "dummy" audio driver, which can be used to emulate audio
slouken@1840
   485
	output without a sound card.
slouken@1840
   486
<LI>
slouken@1840
   487
	Added SDL_config.h, with defaults for various build environments.
slouken@0
   488
</UL>
slouken@0
   489
slouken@1840
   490
<H3> General Notes </H3>
slouken@0
   491
slouken@1840
   492
<BLOCKQUOTE>
slouken@1840
   493
<P>
slouken@1840
   494
	The SDL website now has an <A HREF="http://www.libsdl.org/rss/rss.xml">RSS feed</A>!
slouken@1840
   495
<P>
slouken@1840
   496
	The SDL development source code is now managed with <A HREF="http://www.libsdl.org/svn.php">Subversion</A>.
slouken@1840
   497
<P>
slouken@1840
   498
	SDL now uses the Bugzilla <A HREF="http://bugzilla.libsdl.org/">bug tracking system</A>, hosted by icculus.org.
slouken@1840
   499
<P>
slouken@1840
   500
	SDL is licensed under version 2.1 of the GNU Lesser General Public License.
slouken@1840
   501
<P>
slouken@1840
   502
	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
   503
<P>
slouken@1840
   504
	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
   505
<P>
slouken@1840
   506
	Alex Volkov contributed highly optimized RGB <-> RGBA blitters.
slouken@1840
   507
</BLOCKQUOTE>
slouken@0
   508
slouken@1840
   509
<H3> Unix Notes </H3>
slouken@0
   510
slouken@1840
   511
<BLOCKQUOTE>
slouken@1840
   512
<P>
slouken@1840
   513
	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
   514
<P>
slouken@1840
   515
	The XiG XME extension code is now included in the X11 video driver by default.
slouken@1840
   516
<P>
slouken@1840
   517
	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
   518
<P>
slouken@1840
   519
	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
   520
<P>
slouken@1840
   521
	XVidMode video modes are now sorted so they maintain the refresh rates specified in the X11 configuration file.
slouken@1840
   522
<P>
slouken@1840
   523
	SDL windows are no longer transparent in X11 compositing systems like XGL.
slouken@1840
   524
<P>
slouken@1840
   525
	The mouse is properly released by the X11 video driver if the fullscreen window loses focus.
slouken@1840
   526
<P>
slouken@1840
   527
	The X11 input driver now uses XIM to handle international input.
slouken@1840
   528
<P>
slouken@1840
   529
	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
   530
<P>
slouken@1840
   531
	Fixed a bug preventing stereo OpenGL contexts from being selected on the X11 driver.
slouken@1840
   532
<P>
slouken@1840
   533
	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
   534
<P>
slouken@1840
   535
	The framebuffer console video driver now has a parser for /etc/fb.modes for improved video mode handling.
slouken@1840
   536
<P>
slouken@1840
   537
	The framebuffer console video driver now allows asynchronous VT switching, and restores the full contents of the screen when switched back.
slouken@1840
   538
<P>
slouken@1840
   539
	The framebuffer console now uses CTRL-ALT-FN to switch virtual terminals, to avoid collisions with application key bindings.
slouken@1840
   540
<P>
slouken@1840
   541
	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
   542
<P>
slouken@1840
   543
	The SVGAlib video driver now has support for banked (non-linear) video modes.
slouken@1840
   544
<P>
slouken@1840
   545
	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
   546
<P>
slouken@1840
   547
	Many patches have been incorporated from *BSD ports.
slouken@1840
   548
</BLOCKQUOTE>
slouken@0
   549
slouken@1840
   550
<H3> Windows Notes </H3>
slouken@0
   551
slouken@1840
   552
<BLOCKQUOTE>
slouken@1840
   553
<P>
slouken@1840
   554
	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
   555
<P>
slouken@1840
   556
	SDL has been ported to 64-bit Windows.
slouken@1840
   557
<P>
slouken@1840
   558
	Dmitry Yakimov contributed a GAPI video driver for Windows CE.
slouken@1840
   559
<P>
slouken@1840
   560
	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
   561
<P>
slouken@1840
   562
	Dialog boxes are now shown when SDL is in windowed OpenGL mode.
slouken@1840
   563
<P>
slouken@1840
   564
	The SDL window is recreated when necessary to maintain OpenGL context attributes, when switching between windowed and fullscreen modes.
slouken@1840
   565
<P>
slouken@1840
   566
	An SDL_VIDEORESIZE event is properly sent when the SDL window is maximized and restored.
slouken@1840
   567
<P>
slouken@1840
   568
	Window positions are retained when switching between fullscreen and windowed modes.
slouken@1840
   569
<P>
slouken@1840
   570
	ToUnicode() is used, when available, for improved handling of international keyboard input.
slouken@1840
   571
<P>
slouken@1840
   572
	The PrtScrn is now treated normally with both key down and key up events.
slouken@1840
   573
<P>
slouken@1840
   574
	Pressing ALT-F4 now delivers an SDL_QUIT event to SDL applications.
slouken@1840
   575
<P>
slouken@1840
   576
	Joystick names are now correct for joysticks which have been unplugged and then plugged back in since booting.
slouken@1840
   577
<P>
slouken@1840
   578
	An MCI error when playing the last track on a CD-ROM has been fixed.
slouken@1840
   579
<P>
slouken@1840
   580
	OpenWatcom projects for building SDL have been provided by Marc Peter.
slouken@1840
   581
</BLOCKQUOTE>
slouken@0
   582
slouken@1840
   583
<H3> Mac OS X Notes </H3>
slouken@1840
   584
slouken@1840
   585
<BLOCKQUOTE>
slouken@0
   586
<P>
slouken@1840
   587
	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
   588
<P>
slouken@1840
   589
	The X11 video driver with GLX support can be built on Mac OS X, if the X11 development SDK is installed.
slouken@1840
   590
<P>
slouken@1840
   591
	Transitions between fullscreen resolutions and windowed mode now use a much faster asynchronous fade to hide desktop flicker.
slouken@1840
   592
<P>
slouken@1840
   593
	Icons set with SDL_WM_SetIcon() now have the proper colors on Intel Macs.
slouken@1840
   594
</BLOCKQUOTE>
slouken@1840
   595
slouken@1840
   596
<H3> OS/2 Notes </H3>
slouken@1840
   597
slouken@1840
   598
<BLOCKQUOTE>
slouken@1840
   599
<P>
slouken@1840
   600
	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
   601
</BLOCKQUOTE>
slouken@1840
   602
slouken@0
   603
<IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
slouken@0
   604
slouken@0
   605
</BODY>
slouken@0
   606
</HTML>