WhatsNew.txt
author Sam Lantinga <slouken@libsdl.org>
Mon, 24 Feb 2014 22:36:24 -0800
changeset 8251 833eae6867c2
parent 8220 7fff00b50032
child 8270 75a296e647e7
permissions -rw-r--r--
Added a bunch of missing windows messages
     1 
     2 This is a list of major changes in SDL's version history.
     3 
     4 ---------------------------------------------------------------------------
     5 2.0.2:
     6 ---------------------------------------------------------------------------
     7 General:
     8 * Added SDL_GL_ResetAttributes() to reset OpenGL attributes to default values
     9 * Added an API to load a database of game controller mappings from a file:
    10     SDL_GameControllerAddMappingsFromFile()
    11 * Added game controller mappings for the PS4 and OUYA controllers
    12 * Added SDL_GetDefaultAssertionHandler() and SDL_GetAssertionHandler()
    13 * Added SDL_DetachThread()
    14 * Added SDL_HasAVX() to determine if the CPU has AVX features
    15 * Added SDL_vsscanf(), SDL_acos(), and SDL_asin() to the stdlib routines
    16 * EGL can now create/manage OpenGL and OpenGL ES 1.x/2.x contexts, and share
    17   them using SDL_GL_SHARE_WITH_CURRENT_CONTEXT
    18 * testgl2 does not need to link with libGL anymore
    19 * Added testgles2 test program to demonstrate working with OpenGL ES 2.0
    20 * Added controllermap test program to visually map a game controller
    21 
    22 Windows:
    23 * Support for OpenGL ES 2.x contexts using either WGL or EGL (natively via
    24   the driver or emulated through ANGLE)
    25 
    26 Android:
    27 * Joystick support (minimum SDK version required to build SDL is now 12, 
    28   the required runtime version remains at 10, but on such devices joystick 
    29   support won't be available).
    30 * Hotplugging support for joysticks
    31 
    32 Linux:
    33 * Fixed fullscreen and focused behavior when receiving NotifyGrab events
    34 * Added experimental Wayland and Mir support, disabled by default
    35 
    36 
    37 ---------------------------------------------------------------------------
    38 2.0.1:
    39 ---------------------------------------------------------------------------
    40 
    41 General:
    42 * Added an API to get common filesystem paths in SDL_filesystem.h:
    43     SDL_GetBasePath(), SDL_GetPrefPath()
    44 * Added an API to do optimized YV12 and IYUV texture updates:
    45     SDL_UpdateYUVTexture()
    46 * Added an API to get the amount of RAM on the system:
    47     SDL_GetSystemRAM()
    48 * Added a macro to perform timestamp comparisons with SDL_GetTicks():
    49     SDL_TICKS_PASSED()
    50 * Dramatically improved OpenGL ES 2.0 rendering performance
    51 * Added OpenGL attribute SDL_GL_FRAMEBUFFER_SRGB_CAPABLE
    52 
    53 Windows:
    54 * Created a static library configuration for the Visual Studio 2010 project
    55 * Added a hint to create the Direct3D device with support for multi-threading:
    56     SDL_HINT_RENDER_DIRECT3D_THREADSAFE
    57 * Added a function to get the D3D9 adapter index for a display:
    58     SDL_Direct3D9GetAdapterIndex()
    59 * Added a function to get the D3D9 device for a D3D9 renderer:
    60     SDL_RenderGetD3D9Device()
    61 * Fixed building SDL with the mingw32 toolchain (mingw-w64 is preferred)
    62 * Fixed crash when using two XInput controllers at the same time
    63 * Fixed detecting a mixture of XInput and DirectInput controllers
    64 * Fixed clearing a D3D render target larger than the window
    65 * Improved support for format specifiers in SDL_snprintf()
    66 
    67 Mac OS X:
    68 * Added support for retina displays:
    69   Create your window with the SDL_WINDOW_ALLOW_HIGHDPI flag, and then use SDL_GL_GetDrawableSize() to find the actual drawable size. You are responsible for scaling mouse and drawing coordinates appropriately.
    70 * Fixed mouse warping in fullscreen mode
    71 * Right mouse click is emulated by holding the Ctrl key while left clicking
    72 
    73 Linux:
    74 * Fixed float audio support with the PulseAudio driver
    75 * Fixed missing line endpoints in the OpenGL renderer on some drivers
    76 * X11 symbols are no longer defined to avoid collisions when linking statically
    77 
    78 iOS:
    79 * Fixed status bar visibility on iOS 7
    80 * Flipped the accelerometer Y axis to match expected values
    81 
    82 Android:
    83 IMPORTANT: You MUST get the updated SDLActivity.java to match C code
    84 * Moved EGL initialization to native code 
    85 * Fixed the accelerometer axis rotation relative to the device rotation
    86 * Fixed race conditions when handling the EGL context on pause/resume
    87 * Touch devices are available for enumeration immediately after init
    88 
    89 Raspberry Pi:
    90 * Added support for the Raspberry Pi, see README-raspberrypi.txt for details