From 98084b301f439667cf228a4cd984ef0f645388d1 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Wed, 7 Oct 2009 08:00:20 +0000 Subject: [PATCH] Updated documentation with major changes for 1.2.14 --- WhatsNew | 8 ++++ docs.html | 109 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 117 insertions(+) diff --git a/WhatsNew b/WhatsNew index aa0b8d2c3..929318071 100644 --- a/WhatsNew +++ b/WhatsNew @@ -3,6 +3,14 @@ This is a list of API changes in SDL's version history. Version 1.0: +1.2.14: + Added cast macros for correct usage with C++: + SDL_reinterpret_cast(type, expression) + SDL_static_cast(type, expression) + + Added SDL_NO_LOCK_KEYS environment variable to enable normal + up/down events for Caps-Lock and Num-Lock keys. + 1.2.13: Added SDL_BUTTON_X1 and SDL_BUTTON_X2 constants. diff --git a/docs.html b/docs.html index a840ca3c8..6fd083c00 100644 --- a/docs.html +++ b/docs.html @@ -25,23 +25,120 @@

General Notes

Fixed flicker when resizing the SDL window

+

+ Fixed crash in SDL_SetGammaRamp() +

+

+ Fixed freeze in SDL_memset() with 0 length when assembly code is disabled. +

+

+ Added SDL_NO_LOCK_KEYS environment variable to enable normal up/down events for Caps-Lock and Num-Lock keys. +

+

+ Fixed audio quality problem when converting between 22050 Hz and 44100 Hz. +

+

+ Fixed a threading crash when a few threads are rapidly created and complete. +

+

+ Fixed crash loading BMP files saved with the scanlines inverted. +

+

+ Fixed mouse coordinate clamping if SDL_SetVideoMode() isn't called in response to SDL_VIDEORESIZE event. +

+

+ Added doxygen documentation for the SDL API headers. +

Unix Notes

+

+ Fixed potential memory corruption due to assembly bug with SDL_revcpy() +

+

+ Fixed crashes trying to detect SSE features on x86_64 architecture. +

+

+ Fixed assembly for GCC optimized 50% alpha blending blits. +

Added configure option --enable-screensaver, to allow enabling the screensaver by default.

Use XResetScreenSaver() instead of disabling screensaver entirely.

+

+ Removed the maximum window size limitation on X11. +

+

+ Fixed setting the X11 window input hint. +

+

+ Fixed distorted X11 window icon for some visuals. +

+

+ Fixed detecting X11 libraries for dynamic loading on 64-bit Linux. +

+

+ SDL_GL_GetAttribute(SDL_GL_SWAP_CONTROL) returns the correct value with GLX_SGI_swap_control. +

+

+ The SDL_VIDEO_FULLSCREEN_HEAD environment variable can be set to 0 to place fullscreen SDL windows on the first Xinerama screen. +

+

+ Added the SDL_VIDEO_FBCON_ROTATION environment variable to control output orientation on the framebuffer console. +
+ Valid values are: +

+

+

+ Fixed DirectFB detection on some Linux distributions. +

+

+ Added code to use the PS3 SPE processors for YUV conversion on Linux. +

+

+ Improved support for PulseAudio +

+

+ The Network Audio System support is now dynamically loaded at runtime. +

+

+ Fixed crash with the MP-8866 Dual USB Joypad on newer Linux kernels. +

+

+ Fixed crash in SDL_Quit() when a joystick has been unplugged. +

Windows Notes

+ Verified 100% compatibility with Windows 7. +

+

+ Prevent loss of OpenGL context when setting the video mode in response to a window resize event. +

+

+ Improved mouse input responsiveness for first-person-shooter games. +

+

+ The SDL_STDIO_REDIRECT environment variable can be used to override whether SDL redirects stdio to stdout.txt and stderr.txt. +

+

+ Fixed video initialization with SDL_WINDOWID on Windows XP +

+

+ Fixed dynamic object loading on Windows CE.

@@ -49,6 +146,18 @@

Mac OS X Notes

+ SDL now builds on Mac OS X 10.6 (Snow Leopard). +
+ Eric Wing posted a good rundown on the numerous changes here: http://playcontrol.net/ewing/jibberjabber/big_behind-the-scenes_chang.html +

+

+ The X11 video driver is built by default. +

+

+ Fixed SDL_VIDEO_WINDOW_POS environment variable for Quartz target. +

+

+ Fixed setting the starting working directory in release builds.