Difference between revisions of "0.10.2"

(Updated changelog)
(Updated changelog)
Line 11: Line 11:
 
* Added the ability to restart the game via [[love.event.quit]]("restart").
 
* Added the ability to restart the game via [[love.event.quit]]("restart").
 
* Added support for passing a table to [[love.mouse.isDown]], [[love.keyboard.isDown]], [[love.keyboard.isScancodeDown]], [[Joystick:isDown]], and [[Joystick:isGamepadDown]].
 
* Added support for passing a table to [[love.mouse.isDown]], [[love.keyboard.isDown]], [[love.keyboard.isScancodeDown]], [[Joystick:isDown]], and [[Joystick:isGamepadDown]].
 +
* Added [[love.window.isMaximized]].
 +
* Added 'ellipse' [[AreaSpreadDistribution|area distribution]] to [[ParticleSystem]]s.
 +
* Added support for BC4-7 [[CompressedImageFormat|compressed texture formats]] in KTX files.
 
* Added 'shaderswitches' field to the table returned by [[love.graphics.getStats]].
 
* Added 'shaderswitches' field to the table returned by [[love.graphics.getStats]].
 
* Added [[Quad:getTextureDimensions]].
 
* Added [[Quad:getTextureDimensions]].
Line 23: Line 26:
  
 
=== Deprecations ===
 
=== Deprecations ===
* Deprecated undocumented [[Shader:sendTexture]], [[Shader:sendMatrix]], [[Shader:sendInt]], [[Shader:sendFloat]], and [[Shader:sendBoolean]] methods.
+
* Deprecated undocumented Shader:sendTexture, Shader:sendMatrix, Shader:sendInt, Shader:sendFloat, and Shader:sendBoolean methods.
  
  
Line 30: Line 33:
 
* Fixed os.execute always returning -1 on Linux.
 
* Fixed os.execute always returning -1 on Linux.
 
* Fixed the [[love.lowmemory]] callback to call collectgarbage() after the callback has fired, instead of before.
 
* Fixed the [[love.lowmemory]] callback to call collectgarbage() after the callback has fired, instead of before.
 +
* Fixed [[love.math.noise]](nil) to error instead of returning nil.
 +
* Fixed an occasional crash when a [[Thread]] ends.
 
* Fixed a hang at the end of video playback with some video files.
 
* Fixed a hang at the end of video playback with some video files.
 
* Fixed the video decoding thread to not do any work when there are no videos to decode.
 
* Fixed the video decoding thread to not do any work when there are no videos to decode.
Line 38: Line 43:
 
* Fixed an OpenGL error in OpenGL ES 3 when multiple render targets are used.
 
* Fixed an OpenGL error in OpenGL ES 3 when multiple render targets are used.
 
* Fixed [[love.window.setMode]] crashing when called with a Canvas active.
 
* Fixed [[love.window.setMode]] crashing when called with a Canvas active.
 +
* Fixed [[love.window.maximize]] to update the reported window dimensions immediately.
 
* Fixed gamma correction of ImageFonts and BMFonts with colored images.
 
* Fixed gamma correction of ImageFonts and BMFonts with colored images.
 
* Fixed the default shader improperly applying gamma correction to per-vertex colors when gamma correction is requested but not supported on OpenGL ES.
 
* Fixed the default shader improperly applying gamma correction to per-vertex colors when gamma correction is requested but not supported on OpenGL ES.
Line 46: Line 52:
 
* Fixed memory leak in [[Text:set]].
 
* Fixed memory leak in [[Text:set]].
 
* Fixed incorrect kerning caused by using kerning information for the wrong character in some fonts.
 
* Fixed incorrect kerning caused by using kerning information for the wrong character in some fonts.
 +
* Fixed [[ImageData:setPixel]], [[ImageData:getPixel]], [[ImageData:mapPixel], [[SoundData:setSample]], and [[SoundData:getSample]] to properly handle non-integer coordinates.
  
  

Revision as of 03:56, 30 October 2016

O.png The information on this page may not be accurate or up to date due to the information pertaining to a version that is currently in development.  


no-game screen

The codename for LÖVE 0.10.2 is Super Toast. It is currently not released.

Changes from 0.10.1

Additions


Deprecations

  • Deprecated undocumented Shader:sendTexture, Shader:sendMatrix, Shader:sendInt, Shader:sendFloat, and Shader:sendBoolean methods.


Fixes

  • Fixed love on iOS 6.
  • Fixed os.execute always returning -1 on Linux.
  • Fixed the love.lowmemory callback to call collectgarbage() after the callback has fired, instead of before.
  • Fixed love.math.noise(nil) to error instead of returning nil.
  • Fixed an occasional crash when a Thread ends.
  • Fixed a hang at the end of video playback with some video files.
  • Fixed the video decoding thread to not do any work when there are no videos to decode.
  • Fixed love.graphics.newVideo(file) to no longer error if love.audio is disabled.
  • Fixed a rare bug in Source:play for streaming Sources if the associated OpenAL source object was previously used for a static Source.
  • Fixed corrupted Font glyphs in rare cases.
  • Fixed stencils inside Canvases on some OpenGL ES 2 devices.
  • Fixed an OpenGL error in OpenGL ES 3 when multiple render targets are used.
  • Fixed love.window.setMode crashing when called with a Canvas active.
  • Fixed love.window.maximize to update the reported window dimensions immediately.
  • Fixed gamma correction of ImageFonts and BMFonts with colored images.
  • Fixed the default shader improperly applying gamma correction to per-vertex colors when gamma correction is requested but not supported on OpenGL ES.
  • Fixed text coloring breaking because of an empty string.
  • Fixed large burst of particles when dramatically increasing the emission rate of a ParticleSystem.
  • Fixed SpriteBatch:setBufferSize to keep old sprite data if it can fit.
  • Fixed MouseJoint:getBodies unconditionally erroring.
  • Fixed memory leak in Text:set.
  • Fixed incorrect kerning caused by using kerning information for the wrong character in some fonts.
  • Fixed ImageData:setPixel, ImageData:getPixel, [[ImageData:mapPixel], SoundData:setSample, and SoundData:getSample to properly handle non-integer coordinates.


Other changes

  • Improved performance of Channel methods by roughly 2x in many cases.
  • Improved performance of Shader:send when small numbers of arguments are given.
  • Updated love.filesystem.mount to accept a DroppedFile as the first parameter.
  • Updated Shader:send to do type and argument checking based on the specified uniform variable's information instead of the arguments to the function.
  • Updated Shader:send to accept a flat table for matrix uniforms.