WhatsNew.txt
author Ryan C. Gordon <icculus@icculus.org>
Tue, 27 May 2014 15:40:03 -0400
changeset 8933 063ef6957a12
parent 8676 e217c66375e5
child 8833 ae720d61d14d
permissions -rw-r--r--
Some updates for the X11 drag areas work.
slouken@7228
     1
slouken@7878
     2
This is a list of major changes in SDL's version history.
slouken@7228
     3
slouken@7878
     4
---------------------------------------------------------------------------
gabomdq@8676
     5
2.0.4:
gabomdq@8676
     6
---------------------------------------------------------------------------
gabomdq@8676
     7
gabomdq@8676
     8
General:
gabomdq@8676
     9
* Added an event SDL_RENDER_DEVICE_RESET that is sent from the D3D renderers 
gabomdq@8676
    10
  when the D3D device is lost, and from Android's event loop when the GLES
gabomdq@8676
    11
  context had to be re created.
gabomdq@8676
    12
gabomdq@8676
    13
---------------------------------------------------------------------------
slouken@8303
    14
2.0.3:
slouken@8303
    15
---------------------------------------------------------------------------
slouken@8303
    16
slouken@8625
    17
Mac OS X:
slouken@8625
    18
* Fixed creating an OpenGL context by default on Mac OS X 10.6
slouken@8625
    19
slouken@8303
    20
slouken@8303
    21
---------------------------------------------------------------------------
gabomdq@7907
    22
2.0.2:
gabomdq@7907
    23
---------------------------------------------------------------------------
gabomdq@8044
    24
General:
slouken@8197
    25
* Added SDL_GL_ResetAttributes() to reset OpenGL attributes to default values
philipp@8220
    26
* Added an API to load a database of game controller mappings from a file:
slouken@8270
    27
    SDL_GameControllerAddMappingsFromFile(), SDL_GameControllerAddMappingsFromRW()
slouken@8197
    28
* Added game controller mappings for the PS4 and OUYA controllers
slouken@8197
    29
* Added SDL_GetDefaultAssertionHandler() and SDL_GetAssertionHandler()
slouken@8197
    30
* Added SDL_DetachThread()
slouken@8197
    31
* Added SDL_HasAVX() to determine if the CPU has AVX features
slouken@8197
    32
* Added SDL_vsscanf(), SDL_acos(), and SDL_asin() to the stdlib routines
gabomdq@8062
    33
* EGL can now create/manage OpenGL and OpenGL ES 1.x/2.x contexts, and share
gabomdq@8062
    34
  them using SDL_GL_SHARE_WITH_CURRENT_CONTEXT
slouken@8270
    35
* Added a field "clicks" to the mouse button event which records whether the event is a single click, double click, etc.
slouken@8270
    36
* The screensaver is now disabled by default, and there is a hint SDL_HINT_VIDEO_ALLOW_SCREENSAVER that can change that behavior.
slouken@8270
    37
* Added a hint SDL_HINT_MOUSE_RELATIVE_MODE_WARP to specify whether mouse relative mode should be emulated using mouse warping.
slouken@8197
    38
* testgl2 does not need to link with libGL anymore
slouken@8197
    39
* Added testgles2 test program to demonstrate working with OpenGL ES 2.0
slouken@8197
    40
* Added controllermap test program to visually map a game controller
philipp@8220
    41
gabomdq@8044
    42
Windows:
gabomdq@8044
    43
* Support for OpenGL ES 2.x contexts using either WGL or EGL (natively via
gabomdq@8044
    44
  the driver or emulated through ANGLE)
slouken@8270
    45
* Added a hint SDL_HINT_VIDEO_WIN_D3DCOMPILER to specify which D3D shader compiler to use for OpenGL ES 2 support through ANGLE
slouken@8270
    46
* Added a hint SDL_HINT_VIDEO_WINDOW_SHARE_PIXEL_FORMAT that is useful when creating multiple windows that should share the same OpenGL context.
slouken@8270
    47
* Added an event SDL_RENDER_TARGETS_RESET that is sent when D3D9 render targets are reset after the device has been restored.
slouken@8270
    48
slouken@8270
    49
Mac OS X:
slouken@8270
    50
* 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.
slouken@8270
    51
slouken@8270
    52
Linux:
slouken@8270
    53
* Fixed fullscreen and focused behavior when receiving NotifyGrab events
slouken@8270
    54
* Added experimental Wayland and Mir support, disabled by default
gabomdq@7907
    55
gabomdq@7907
    56
Android:
gabomdq@7907
    57
* Joystick support (minimum SDK version required to build SDL is now 12, 
gabomdq@7907
    58
  the required runtime version remains at 10, but on such devices joystick 
gabomdq@7907
    59
  support won't be available).
gabomdq@8057
    60
* Hotplugging support for joysticks
slouken@8274
    61
* 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.
slouken@8197
    62
gabomdq@7907
    63
gabomdq@7907
    64
---------------------------------------------------------------------------
slouken@7878
    65
2.0.1:
slouken@7878
    66
---------------------------------------------------------------------------
slouken@7878
    67
slouken@7878
    68
General:
slouken@7878
    69
* Added an API to get common filesystem paths in SDL_filesystem.h:
slouken@7878
    70
    SDL_GetBasePath(), SDL_GetPrefPath()
slouken@7878
    71
* Added an API to do optimized YV12 and IYUV texture updates:
slouken@7878
    72
    SDL_UpdateYUVTexture()
slouken@7878
    73
* Added an API to get the amount of RAM on the system:
slouken@7878
    74
    SDL_GetSystemRAM()
slouken@7878
    75
* Added a macro to perform timestamp comparisons with SDL_GetTicks():
slouken@7878
    76
    SDL_TICKS_PASSED()
slouken@7878
    77
* Dramatically improved OpenGL ES 2.0 rendering performance
slouken@7878
    78
* Added OpenGL attribute SDL_GL_FRAMEBUFFER_SRGB_CAPABLE
slouken@7878
    79
slouken@7878
    80
Windows:
slouken@7878
    81
* Created a static library configuration for the Visual Studio 2010 project
slouken@7878
    82
* Added a hint to create the Direct3D device with support for multi-threading:
slouken@7878
    83
    SDL_HINT_RENDER_DIRECT3D_THREADSAFE
slouken@7878
    84
* Added a function to get the D3D9 adapter index for a display:
slouken@7878
    85
    SDL_Direct3D9GetAdapterIndex()
slouken@7878
    86
* Added a function to get the D3D9 device for a D3D9 renderer:
slouken@7878
    87
    SDL_RenderGetD3D9Device()
slouken@7878
    88
* Fixed building SDL with the mingw32 toolchain (mingw-w64 is preferred)
slouken@7878
    89
* Fixed crash when using two XInput controllers at the same time
slouken@7878
    90
* Fixed detecting a mixture of XInput and DirectInput controllers
slouken@7878
    91
* Fixed clearing a D3D render target larger than the window
slouken@7878
    92
* Improved support for format specifiers in SDL_snprintf()
slouken@7878
    93
slouken@7878
    94
Mac OS X:
slouken@7878
    95
* Added support for retina displays:
slouken@7878
    96
  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.
slouken@7878
    97
* Fixed mouse warping in fullscreen mode
slouken@7878
    98
* Right mouse click is emulated by holding the Ctrl key while left clicking
slouken@7878
    99
slouken@7878
   100
Linux:
slouken@7878
   101
* Fixed float audio support with the PulseAudio driver
slouken@7878
   102
* Fixed missing line endpoints in the OpenGL renderer on some drivers
slouken@7878
   103
* X11 symbols are no longer defined to avoid collisions when linking statically
slouken@7878
   104
slouken@7878
   105
iOS:
slouken@7878
   106
* Fixed status bar visibility on iOS 7
slouken@7878
   107
* Flipped the accelerometer Y axis to match expected values
slouken@7878
   108
slouken@7878
   109
Android:
slouken@7878
   110
IMPORTANT: You MUST get the updated SDLActivity.java to match C code
slouken@7878
   111
* Moved EGL initialization to native code 
slouken@7878
   112
* Fixed the accelerometer axis rotation relative to the device rotation
slouken@7878
   113
* Fixed race conditions when handling the EGL context on pause/resume
slouken@7878
   114
* Touch devices are available for enumeration immediately after init
slouken@7878
   115
slouken@7878
   116
Raspberry Pi:
slouken@7878
   117
* Added support for the Raspberry Pi, see README-raspberrypi.txt for details