WhatsNew.txt
author Ryan C. Gordon <icculus@icculus.org>
Fri, 07 Mar 2014 00:18:37 -0500
changeset 8297 be2102f000d0
parent 8274 8b1f8feb42a6
child 8303 7ee46ffa9c24
permissions -rw-r--r--
CMake: Don't use /NODEFAULTLIB on Windows unless we're Visual Studio.
     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(), SDL_GameControllerAddMappingsFromRW()
    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 * Added a field "clicks" to the mouse button event which records whether the event is a single click, double click, etc.
    19 * The screensaver is now disabled by default, and there is a hint SDL_HINT_VIDEO_ALLOW_SCREENSAVER that can change that behavior.
    20 * Added a hint SDL_HINT_MOUSE_RELATIVE_MODE_WARP to specify whether mouse relative mode should be emulated using mouse warping.
    21 * testgl2 does not need to link with libGL anymore
    22 * Added testgles2 test program to demonstrate working with OpenGL ES 2.0
    23 * Added controllermap test program to visually map a game controller
    24 
    25 Windows:
    26 * Support for OpenGL ES 2.x contexts using either WGL or EGL (natively via
    27   the driver or emulated through ANGLE)
    28 * Added a hint SDL_HINT_VIDEO_WIN_D3DCOMPILER to specify which D3D shader compiler to use for OpenGL ES 2 support through ANGLE
    29 * Added a hint SDL_HINT_VIDEO_WINDOW_SHARE_PIXEL_FORMAT that is useful when creating multiple windows that should share the same OpenGL context.
    30 * Added an event SDL_RENDER_TARGETS_RESET that is sent when D3D9 render targets are reset after the device has been restored.
    31 
    32 Mac OS X:
    33 * Added a hint SDL_HINT_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK to control whether Ctrl+click should be treated as a right click on Mac OS X. This is off by default.
    34 
    35 Linux:
    36 * Fixed fullscreen and focused behavior when receiving NotifyGrab events
    37 * Added experimental Wayland and Mir support, disabled by default
    38 
    39 Android:
    40 * Joystick support (minimum SDK version required to build SDL is now 12, 
    41   the required runtime version remains at 10, but on such devices joystick 
    42   support won't be available).
    43 * Hotplugging support for joysticks
    44 * Added a hint SDL_HINT_ACCELEROMETER_AS_JOYSTICK to control whether the accelerometer should be listed as a 3 axis joystick, which it will by default.
    45 
    46 
    47 ---------------------------------------------------------------------------
    48 2.0.1:
    49 ---------------------------------------------------------------------------
    50 
    51 General:
    52 * Added an API to get common filesystem paths in SDL_filesystem.h:
    53     SDL_GetBasePath(), SDL_GetPrefPath()
    54 * Added an API to do optimized YV12 and IYUV texture updates:
    55     SDL_UpdateYUVTexture()
    56 * Added an API to get the amount of RAM on the system:
    57     SDL_GetSystemRAM()
    58 * Added a macro to perform timestamp comparisons with SDL_GetTicks():
    59     SDL_TICKS_PASSED()
    60 * Dramatically improved OpenGL ES 2.0 rendering performance
    61 * Added OpenGL attribute SDL_GL_FRAMEBUFFER_SRGB_CAPABLE
    62 
    63 Windows:
    64 * Created a static library configuration for the Visual Studio 2010 project
    65 * Added a hint to create the Direct3D device with support for multi-threading:
    66     SDL_HINT_RENDER_DIRECT3D_THREADSAFE
    67 * Added a function to get the D3D9 adapter index for a display:
    68     SDL_Direct3D9GetAdapterIndex()
    69 * Added a function to get the D3D9 device for a D3D9 renderer:
    70     SDL_RenderGetD3D9Device()
    71 * Fixed building SDL with the mingw32 toolchain (mingw-w64 is preferred)
    72 * Fixed crash when using two XInput controllers at the same time
    73 * Fixed detecting a mixture of XInput and DirectInput controllers
    74 * Fixed clearing a D3D render target larger than the window
    75 * Improved support for format specifiers in SDL_snprintf()
    76 
    77 Mac OS X:
    78 * Added support for retina displays:
    79   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.
    80 * Fixed mouse warping in fullscreen mode
    81 * Right mouse click is emulated by holding the Ctrl key while left clicking
    82 
    83 Linux:
    84 * Fixed float audio support with the PulseAudio driver
    85 * Fixed missing line endpoints in the OpenGL renderer on some drivers
    86 * X11 symbols are no longer defined to avoid collisions when linking statically
    87 
    88 iOS:
    89 * Fixed status bar visibility on iOS 7
    90 * Flipped the accelerometer Y axis to match expected values
    91 
    92 Android:
    93 IMPORTANT: You MUST get the updated SDLActivity.java to match C code
    94 * Moved EGL initialization to native code 
    95 * Fixed the accelerometer axis rotation relative to the device rotation
    96 * Fixed race conditions when handling the EGL context on pause/resume
    97 * Touch devices are available for enumeration immediately after init
    98 
    99 Raspberry Pi:
   100 * Added support for the Raspberry Pi, see README-raspberrypi.txt for details