author Sam Lantinga
Sat, 29 Dec 2007 21:31:26 +0000
changeset 4123 9d90d7765fa7
parent 4121 917ca146d901
child 4139 568c9b3c0167
permissions -rw-r--r--
Guillaume Borios fixed bug #508

When unicode translation is ON, pressing the escape key raise an NSBeep()
because the NSTextView interprets the key as a special command (in that case
impossible to interpret)... The NSTextView instance should replaced by
something subclassed so that doCommandBySelector: does nothing.

Example code :

@interface SDLTranslatorResponder : NSTextView
- (void) doCommandBySelector:(SEL)myselector;

@implementation SDLTranslatorResponder
- (void) doCommandBySelector:(SEL) myselector {}
     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=""
    10         ></a><br>
    11 The latest stable release may be found on the
    12 	<a href="">SDL website</A>.
    13 </P>
    15 <H2> <A HREF="docs/index.html">API Documentation</A> </H2>
    17 <H2> SDL 1.2.13 Release Notes </H2>
    18 <P>
    19 SDL 1.2.13 is a minor bug fix release.
    20 </P>
    22 <H3> General Notes </H3>
    25 <P>
    26 	Fixed link error when building with Intel Compiler 10.
    27 </P>
    28 <P>
    29 	Removed stray C++ comment from public headers.
    30 </P>
    31 </BLOCKQUOTE>
    33 <H3> Unix Notes </H3>
    36 <P>
    37 	Fixed crash in SDL_SoftStretch() on secure operating systems.
    38 </P>
    39 <P>
    40 	Fixed undefined symbol on X11 implementations without UTF-8 support.
    41 </P>
    42 <P>
    43 	Worked around BadAlloc error when using XVideo on the XFree86 Intel Integrated Graphics driver.
    44 </P>
    45 <P>
    46 	Scan for all joysticks on Linux instead of stopping at one that was removed.
    47 </P>
    48 <P>
    49 	Fixed use of sdl-config arguments in sdl.m4
    50 </P>
    51 </BLOCKQUOTE>
    53 <H3> Windows Notes </H3>
    56 <P>
    57 	Fixed crash when a video driver reports higher than 32 bpp video modes.
    58 </P>
    59 <P>
    60 	Fixed restoring the desktop after setting a 24-bit OpenGL video mode.
    61 </P>
    62 <P>
    63 	Fixed window titles on Windows 95/98/ME.
    64 </P>
    65 <P>
    66 	Added SDL_BUTTON_X1 and SDL_BUTTON_X2 constants for extended mouse buttons.
    67 </P>
    68 <P>
    69 	Added support for quoted command line arguments.
    70 </P>
    71 </BLOCKQUOTE>
    73 <H3> Mac OS X Notes </H3>
    76 <P>
    77 	SDL now builds on Mac OS X 10.5 (Leopard).
    78 </P>
    79 <P>
    80 	Fixed high frequency crash involving text input.
    81 </P>
    82 <P>
    83 	Fixed beeping when the escape key is pressed and UNICODE translation is enabled.
    84 </P>
    85 <P>
    86 	Improved trackpad scrolling support.
    87 </P>
    88 <P>
    89 	Fixed joystick hat reporting for certain joysticks.
    90 </P>
    91 </BLOCKQUOTE>
    93 <IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
    95 <H2> SDL 1.2.12 Release Notes </H2>
    96 <P>
    97 SDL 1.2.12 is a minor bug fix release.
    98 </P>
   100 <H3> General Notes </H3>
   103 <P>
   104 	Added support for the PulseAudio sound server:
   105 </P>
   106 <P>
   107 	Added SDL_VIDEO_ALLOW_SCREENSAVER to override SDL's disabling of the screensaver on Mac OS X, Windows, and X11.
   108 </P>
   109 <P>
   110 	Fixed buffer overrun crash when resampling audio rates.
   111 </P>
   112 <P>
   113 	Fixed audio bug where converting to mono was doubling the volume.
   114 </P>
   115 <P>
   116 	Fixed off-by-one error in the C implementation of SDL_revcpy()
   117 </P>
   118 <P>
   119 	Fixed compiling with Sun Studio.
   120 </P>
   121 <P>
   122 	Support for AmigaOS has been removed from the main SDL code.
   123 </P>
   124 <P>
   125 	Support for Nokia 9210 "EPOC" driver has been removed from the main SDL code.
   126 </P>
   127 <P>
   128 	Unofficial support for the S60/SymbianOS platform has been added.
   129 </P>
   130 <P>
   131 	Unofficial support for the Nintendo DS platform has been added.
   132 </P>
   133 <P>
   134 	Reenabled MMX assembly for YUV overlay processing (GNU C Compiler only).
   135 </P>
   136 </BLOCKQUOTE>
   138 <H3> Unix Notes </H3>
   141 <P>
   142 	Fixed detection of X11 DGA mouse support.
   143 </P>
   144 <P>
   145 	Improved XIM support for asian character sets.
   146 </P>
   147 <P>
   148 	The GFX_Display has been added to the X11 window information in SDL_syswm.h.
   149 </P>
   150 <P>
   151 	Fixed PAGE_SIZE compile error in the fbcon video driver on newer Linux kernels.
   152 </P>
   153 <P>
   154 	Fixed hang or crash at startup if aRts can't access the hardware.
   155 </P>
   156 <P>
   157 	Fixed relative mouse mode when the cursor starts outside the X11 window.
   158 </P>
   159 <P>
   160 	Fixed accidental free of stack memory in X11 mouse acceleration code.
   161 </P>
   162 <P>
   163 	Closed minor memory leak in XME code.
   164 </P>
   165 <P>
   166 	Fixed TEXTRELs in the library to resolve some PIC issues.
   167 </P>
   168 </BLOCKQUOTE>
   170 <H3> Windows Notes </H3>
   173 <P>
   174 	The GDI video driver makes better use of the palette in 8-bit modes.
   175 </P>
   176 <P>
   177 	The windib driver now supports more mouse buttons with WM_XBUTTON events.
   178 </P>
   179 <P>
   180 	On Windows, SDL_SetVideoMode() will re-create the window instead of failing if the multisample settings are changed.
   181 </P>
   182 <P>
   183 	Added support for UTF-8 window titles on Windows.
   184 </P>
   185 <P>
   186 	Fixed joystick detection on Windows.
   187 </P>
   188 <P>
   189 	Improved performance with Win32 file I/O.
   190 </P>
   191 <P>
   192 	Fixed HBITMAP leak in GAPI driver.
   193 </P>
   194 </BLOCKQUOTE>
   196 <H3> Mac OS X Notes </H3>
   199 <P>
   200 	Added support for multi-axis controllers like 3Dconnxion's SpaceNavigator on Mac OS X.
   201 </P>
   202 <P>
   203 	Fixed YUV overlay crash inside Quicktime on Intel Mac OS X.
   204 </P>
   205 <P>
   206 	Fixed blitting alignment in Altivec alpha blit functions.
   207 </P>
   208 <P>
   209 	Keys F13, F14, and F15 are now usable on Apple keyboards under Mac OS X.
   210 </P>
   211 <P>
   212 	Fixed joystick calibration code on Mac OS X.
   213 </P>
   214 <P>
   215 	Fixed mouse jitter when multiple motion events are queued up in Mac OS X.
   216 </P>
   217 <P>
   218 	Fixed changing the cursor in fullscreen mode on Mac OS X.
   219 </P>
   220 </BLOCKQUOTE>
   222 <H3> Mac OS Classic Notes </H3>
   225 <P>
   226 	Added support for gamma ramps to both toolbox and DrawSprocket video drivers.
   227 </P>
   228 </BLOCKQUOTE>
   230 <H3> BeOS Notes </H3>
   233 <P>
   234 	Implemented mouse grabbing and mouse relative mode on BeOS.
   235 </P>
   236 </BLOCKQUOTE>
   238 <IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
   240 <H2> SDL 1.2.11 Release Notes </H2>
   241 <P>
   242 SDL 1.2.11 is a minor bug fix release.
   243 </P>
   245 <H3> Unix Notes </H3>
   248 <P>
   249 	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.
   250 </P>
   251 <P>
   252 	Fixed building SDL with Xinerama disabled.
   253 </P>
   254 <P>
   255 	Fixed DRI OpenGL library loading, using RTLD_GLOBAL in dlopen().
   256 </P>
   257 <P>
   258 	Added pkgconfig configuration support.
   259 </P>
   260 </BLOCKQUOTE>
   262 <H3> Windows Notes </H3>
   265 <P>
   266 	Setting SDL_GL_SWAP_CONTROL now works with Windows OpenGL.
   267 </P>
   268 <P>
   269 	The Win32 window positioning code works properly for windows with menus.
   270 </P>
   271 <P>
   272 	DirectSound audio quality has been improved on certain sound cards.
   273 </P>
   274 <P>
   275 	Fixed 5.1 audio channel ordering on Windows and Mac OS X.
   276 </P>
   277 <P>
   278 	Plugged a couple of minor memory leaks in the windib video driver.
   279 </P>
   280 <P>
   281 	Fixed type collision with stdint.h when building with gcc on Win32.
   282 </P>
   283 <P>
   284 	Fixed building with the Digital Mars Compiler on Win32.
   285 </P>
   286 </BLOCKQUOTE>
   288 <H3> Mac OS X Notes </H3>
   291 <P>
   292 	The Quartz video driver supports 32x32 cursors on Mac OS X 10.3 and above.
   293 </P>
   294 </BLOCKQUOTE>
   296 <IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
   298 <H2> SDL 1.2.10 Release Notes </H2>
   299 <P>
   300 SDL 1.2.10 is a major release, featuring a revamp of the build system and many API improvements and bug fixes.
   301 </P>
   302 <H3> API enhancements </H3>
   303 <UL>
   304 <LI>
   305 	If SDL_OpenAudio() is passed zero for the desired format
   306 	fields, the following environment variables will be used
   307 	to fill them in:
   308 <pre><code>
   313 </code></pre>
   314 	If an environment variable is not specified, it will be set
   315 	to a reasonable default value.
   316 <LI>
   317 	SDL_SetVideoMode() now accepts 0 for width or height and will use
   318 	the current video mode (or the desktop mode if no mode has been set.)
   319 <LI>
   320 	Added current_w and current_h to the SDL_VideoInfo structure,
   321 	which is set to the desktop resolution during video intialization,
   322 	and then set to the current resolution when a video mode is set.
   323 <LI>
   324 	SDL_GL_LoadLibrary() will load the system default OpenGL library
   325 	if it is passed NULL as a parameter.
   326 <LI>
   327 	Added SDL_GL_SWAP_CONTROL to wait for vsync in OpenGL applications.
   328 <LI>
   329 	Added SDL_GL_ACCELERATED_VISUAL to guarantee hardware acceleration.
   330 <LI>
   331 	SDL_WM_SetCaption() now officially takes UTF-8 title and icon strings, and displays international characters on supported platforms.
   332 <LI>
   333 	Added SDL_GetKeyRepeat() to query the key repeat settings.
   334 <LI>
   335 	Added the "dummy" audio driver, which can be used to emulate audio
   336 	output without a sound card.
   337 <LI>
   338 	Added SDL_config.h, with defaults for various build environments.
   339 </UL>
   341 <H3> General Notes </H3>
   344 <P>
   345 	The SDL website now has an <A HREF="">RSS feed</A>!
   346 <P>
   347 	The SDL development source code is now managed with <A HREF="">Subversion</A>.
   348 <P>
   349 	SDL now uses the Bugzilla <A HREF="">bug tracking system</A>, hosted by
   350 <P>
   351 	SDL is licensed under version 2.1 of the GNU Lesser General Public License.
   352 <P>
   353 	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.
   354 <P>
   355 	SDL_opengl.h has been updated with the latest glext.h from <A HREF=""></A>
   356 <P>
   357 	Alex Volkov contributed highly optimized RGB <-> RGBA blitters.
   358 </BLOCKQUOTE>
   360 <H3> Unix Notes </H3>
   363 <P>
   364 	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.
   365 <P>
   366 	The XiG XME extension code is now included in the X11 video driver by default.
   367 <P>
   368 	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.
   369 <P>
   370 	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.
   371 <P>
   372 	XVidMode video modes are now sorted so they maintain the refresh rates specified in the X11 configuration file.
   373 <P>
   374 	SDL windows are no longer transparent in X11 compositing systems like XGL.
   375 <P>
   376 	The mouse is properly released by the X11 video driver if the fullscreen window loses focus.
   377 <P>
   378 	The X11 input driver now uses XIM to handle international input.
   379 <P>
   380 	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.
   381 <P>
   382 	Fixed a bug preventing stereo OpenGL contexts from being selected on the X11 driver.
   383 <P>
   384 	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.
   385 <P>
   386 	The framebuffer console video driver now has a parser for /etc/fb.modes for improved video mode handling.
   387 <P>
   388 	The framebuffer console video driver now allows asynchronous VT switching, and restores the full contents of the screen when switched back.
   389 <P>
   390 	The framebuffer console now uses CTRL-ALT-FN to switch virtual terminals, to avoid collisions with application key bindings.
   391 <P>
   392 	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.
   393 <P>
   394 	The SVGAlib video driver now has support for banked (non-linear) video modes.
   395 <P>
   396 	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.
   397 <P>
   398 	Many patches have been incorporated from *BSD ports.
   399 </BLOCKQUOTE>
   401 <H3> Windows Notes </H3>
   404 <P>
   405 	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".
   406 <P>
   407 	SDL has been ported to 64-bit Windows.
   408 <P>
   409 	Dmitry Yakimov contributed a GAPI video driver for Windows CE.
   410 <P>
   411 	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.
   412 <P>
   413 	Dialog boxes are now shown when SDL is in windowed OpenGL mode.
   414 <P>
   415 	The SDL window is recreated when necessary to maintain OpenGL context attributes, when switching between windowed and fullscreen modes.
   416 <P>
   417 	An SDL_VIDEORESIZE event is properly sent when the SDL window is maximized and restored.
   418 <P>
   419 	Window positions are retained when switching between fullscreen and windowed modes.
   420 <P>
   421 	ToUnicode() is used, when available, for improved handling of international keyboard input.
   422 <P>
   423 	The PrtScrn is now treated normally with both key down and key up events.
   424 <P>
   425 	Pressing ALT-F4 now delivers an SDL_QUIT event to SDL applications.
   426 <P>
   427 	Joystick names are now correct for joysticks which have been unplugged and then plugged back in since booting.
   428 <P>
   429 	An MCI error when playing the last track on a CD-ROM has been fixed.
   430 <P>
   431 	OpenWatcom projects for building SDL have been provided by Marc Peter.
   432 </BLOCKQUOTE>
   434 <H3> Mac OS X Notes </H3>
   437 <P>
   438 	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.
   439 <P>
   440 	The X11 video driver with GLX support can be built on Mac OS X, if the X11 development SDK is installed.
   441 <P>
   442 	Transitions between fullscreen resolutions and windowed mode now use a much faster asynchronous fade to hide desktop flicker.
   443 <P>
   444 	Icons set with SDL_WM_SetIcon() now have the proper colors on Intel Macs.
   445 </BLOCKQUOTE>
   447 <H3> OS/2 Notes </H3>
   450 <P>
   451 	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.
   452 </BLOCKQUOTE>
   454 <IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
   456 </BODY>
   457 </HTML>