WhatsNew.txt
changeset 10514 c2ad551770eb
parent 9995 d79480c1e151
child 10521 caea79aa9035
equal deleted inserted replaced
10513:929a96567efa 10514:c2ad551770eb
     1 
     1 
     2 This is a list of major changes in SDL's version history.
     2 This is a list of major changes in SDL's version history.
       
     3 
       
     4 ---------------------------------------------------------------------------
       
     5 2.0.5:
       
     6 ---------------------------------------------------------------------------
       
     7 
       
     8 General:
       
     9 * Implemented audio capture support for some platforms
       
    10 * Added SDL_DequeueAudio() to retrieve audio when buffer queuing is turned on for audio capture
       
    11 * Added events for dragging and dropping text
       
    12 * Added events for dragging and dropping multiple items
       
    13 * By default the click raising a window will not be delivered to the SDL application. You can set the hint SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH to "1" to allow that click through to the window.
       
    14 * Saving a surface with an alpha channel as a BMP will use a newer BMP format that supports alpha information. You can set the hint SDL_HINT_BMP_SAVE_LEGACY_FORMAT to "1" to use the old format.
       
    15 * Added SDL_GetHintBoolean() to get the boolean value of a hint
       
    16 * Added SDL_RenderSetIntegerScale() to set whether to smoothly scale or use integral multiples of the viewport size when scaling the rendering output
       
    17 * Added SDL_CreateRGBSurfaceWithFormat() and SDL_CreateRGBSurfaceWithFormatFrom() to create an SDL surface with a specific pixel format
       
    18 * Added SDL_GetDisplayUsableBounds() which returns the area usable for windows. For example, on Mac OS X, this subtracts the area occupied by the menu bar and dock.
       
    19 * Added SDL_GetWindowBordersSize() which returns the size of the window's borders around the client area
       
    20 * Added a window event SDL_WINDOWEVENT_HIT_TEST when a window had a hit test that wasn't SDL_HITTEST_NORMAL (e.g. in the title bar or window frame)
       
    21 * Added SDL_SetWindowResizable() to change whether a window is resizable
       
    22 * Added SDL_SetWindowOpacity() and SDL_GetWindowOpacity() to affect the window transparency
       
    23 * Added SDL_SetWindowModalFor() to set a window as modal for another window
       
    24 * Added support for AUDIO_U16LSB and AUDIO_U16MSB to SDL_MixAudioFormat()
       
    25 * Fixed flipped images when reading back from target textures when using the OpenGL renderer
       
    26 * Fixed texture color modulation with SDL_BLENDMODE_NONE when using the OpenGL renderer
       
    27 * Fixed bug where the alpha value of colorkeys was ignored when blitting in some cases
       
    28 
       
    29 Windows:
       
    30 * Added a hint SDL_HINT_WINDOWS_DISABLE_THREAD_NAMING to prevent SDL from raising a debugger exception to name threads. This exception can cause problems with .NET applications when running under a debugger.
       
    31 * The hint SDL_HINT_THREAD_STACK_SIZE is now supported on Windows
       
    32 * Fixed XBox controller triggers automatically being pulled at startup
       
    33 * The first icon from the executable is used as the default window icon at runtime
       
    34 * Fixed SDL log messages being printed twice if SDL was built with C library support
       
    35 * Reset dead keys when the SDL window loses focus, so dead keys pressed in SDL applications don't affect text input into other applications.
       
    36 
       
    37 Mac OS X:
       
    38 * Fixed selecting the dummy video driver
       
    39 * The caps lock key now generates a pressed event when pressed and a released event when released, instead of a press/release event pair when pressed.
       
    40 * Fixed mouse wheel events on Mac OS X 10.12
       
    41 * The audio driver has been updated to use AVFoundation for better compatibility with newer versions of Mac OS X
       
    42 
       
    43 Linux:
       
    44 * Added support for the Fcitx IME
       
    45 * Added a window event SDL_WINDOWEVENT_TAKE_FOCUS when a window manager asks the SDL window whether it wants to take focus.
       
    46 * Refresh rates are now rounded instead of truncated, e.g. 59.94 Hz is rounded up to 60 Hz instead of 59.
       
    47 * Added initial support for touchscreens on Raspberry Pi
       
    48 
       
    49 iOS:
       
    50 * Added support for dynamically loaded objects on iOS 8 and newer
       
    51 
       
    52 tvOS:
       
    53 * Added support for Apple TV
       
    54 * Added a hint SDL_HINT_APPLE_TV_REMOTE_ALLOW_ROTATION to control whether he Apple TV remote's joystick axes will automatically match the rotation of the remote.  
       
    55 
       
    56 Android:
       
    57 * Fixed SDL not resizing window when Android screen resolution changes
       
    58 * Corrected the joystick Z axis reporting for the accelerometer
       
    59 
       
    60 Emscripten (running in a web browser):
       
    61 * Many bug fixes and improvements
       
    62 
     3 
    63 
     4 ---------------------------------------------------------------------------
    64 ---------------------------------------------------------------------------
     5 2.0.4:
    65 2.0.4:
     6 ---------------------------------------------------------------------------
    66 ---------------------------------------------------------------------------
     7 
    67