docs.html
author Sam Lantinga <slouken@libsdl.org>
Thu, 17 Apr 2014 22:36:14 -0700
branchSDL-1.2
changeset 8716 0aade9c0203f
parent 6132 1d8211416a01
child 12989 f4dccc2744a2
permissions -rw-r--r--
Fixed bug 2325 - SDL_EnableUNICODE sometimes drops keyboard events completely

Rafał Mużyło

The most annoying part of this bug is that though I've found it in two separate apps, I don't have a trivial testcase for it.

The problem seems to be a condition race, as it's triggered quite randomly (therefore it will be hard to tell whether it really gets fixed, if a probable fix is found).

While it's specific to SDL 1.2, it seems quite similar to the problem described and fixed in http://forums.libsdl.org/viewtopic.php?p=40503.

Now, I should start describing the problem.

A game uses Escape to open menu (the exact key might not be important). Upon opening, it calls SDL_EnableUNICODE(1). Upon closing it calls SDL_EnableUNICODE(0).

I have an IME running.

Game uses SDL_PollEvent to get the events.

If Escape is pressed repeatedly, menu is opened and closed, till it eventually freezes in open state.
"freezes" in this context means "app itself still runs, but no keyboard events are getting delivered (though - for example - mouse events still are)". "getting delivered" should mean "SDL_PollEvent is not receiving any".
If it matters, the last delivered keyboard event is a keypress, the release never arrives.

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