Difference between revisions of "0.9.2"

m (Updated changelog)
(Updated changelog)
Line 9: Line 9:
 
* Added [[love.graphics.getCompressedImageFormats]].
 
* Added [[love.graphics.getCompressedImageFormats]].
 
* Added [[ParticleSystem:setQuads]].
 
* Added [[ParticleSystem:setQuads]].
 +
* Added [[ParticleSystem:setLinearDamping]].
 
* Added [[SpriteBatch:flush]].
 
* Added [[SpriteBatch:flush]].
 
* Added [[love.graphics.getStats]].
 
* Added [[love.graphics.getStats]].
Line 19: Line 20:
 
* Added [[love.window.minimize]].
 
* Added [[love.window.minimize]].
 
* Added [[love.window.showMessageBox]].
 
* Added [[love.window.showMessageBox]].
 +
* Added [[love.window.toPixels]] and [[love.window.fromPixels]].
 +
* Added [[love.window.setPosition]] and [[love.window.setPosition]].
 +
* Added <code>x</code> and <code>y</code> fields to the <code>flags</code> table in [[love.window.setMode]] and [[love.window.getMode]], and to the <code>t.window</code> table in [[love.conf]].
 
* Added <code>refreshrate</code> field to the table returned by [[love.window.getMode]].
 
* Added <code>refreshrate</code> field to the table returned by [[love.window.getMode]].
 
* Added [[love.filesystem.isSymlink]], [[love.filesystem.setSymlinksEnabled]], and [[love.filesystem.areSymlinksEnabled]].
 
* Added [[love.filesystem.isSymlink]], [[love.filesystem.setSymlinksEnabled]], and [[love.filesystem.areSymlinksEnabled]].
Line 31: Line 35:
 
=== Fixes ===
 
=== Fixes ===
 
* Fixed [[love.filesystem.setIdentity]] breaking in some situations when called multiple times.
 
* Fixed [[love.filesystem.setIdentity]] breaking in some situations when called multiple times.
 +
* Fixed the default [[love.filesystem]] identity when in Fused mode in Windows.
 
* Fixed [[love.system.openURL]] sometimes blocking indefinitely on Linux.
 
* Fixed [[love.system.openURL]] sometimes blocking indefinitely on Linux.
 
* Fixed [[love.joystick.setGamepadMapping]].
 
* Fixed [[love.joystick.setGamepadMapping]].
Line 40: Line 45:
 
* Fixed [[Mesh:setDrawRange]] when the Mesh has a vertex map set.
 
* Fixed [[Mesh:setDrawRange]] when the Mesh has a vertex map set.
 
* Fixed internal detection of the 'position' and 'effect' shader functions.
 
* Fixed internal detection of the 'position' and 'effect' shader functions.
 +
* Fixed some cases of noncompliant shader code not properly erroring on some nvidia drivers.
 
* Fixed Texture memory leak when [[Mesh]]es are garbage collected.
 
* Fixed Texture memory leak when [[Mesh]]es are garbage collected.
 
* Fixed the default [[LineJoin|line join mode]] to be 'miter' instead of an undefined value.
 
* Fixed the default [[LineJoin|line join mode]] to be 'miter' instead of an undefined value.
Line 45: Line 51:
 
* Fixed detection of [[CompressedFormat|compressed textures]] to work regardless of the file's extension.
 
* Fixed detection of [[CompressedFormat|compressed textures]] to work regardless of the file's extension.
 
* Fixed the default [[love.errhand|error handler]] screen's text size when highdpi mode is enabled on a Retina monitor in OS X.
 
* Fixed the default [[love.errhand|error handler]] screen's text size when highdpi mode is enabled on a Retina monitor in OS X.
 +
* Fixed the default [[love.errhand|error handler]] background color when sRGB mode is enabled for the window.
 
* Fixed the state of [[love.graphics.setWireframe|wireframe mode]] when love.window.setMode is called.
 
* Fixed the state of [[love.graphics.setWireframe|wireframe mode]] when love.window.setMode is called.
 
* Fixed [[love.window.setMode]] to fall back to the largest available mode if a width or height greater than the largest supported is specified and exclusive-fullscreen mode is used.
 
* Fixed [[love.window.setMode]] to fall back to the largest available mode if a width or height greater than the largest supported is specified and exclusive-fullscreen mode is used.
Line 63: Line 70:
 
* Updated [[love.graphics.newImage]], [[love.image.newImageData]], etc. to leave less temporary Lua-owned memory around.
 
* Updated [[love.graphics.newImage]], [[love.image.newImageData]], etc. to leave less temporary Lua-owned memory around.
 
* Updated [[love.graphics.push]] to accept different [[StackType|stack types]] to push. Current types are "transform" and "all".
 
* Updated [[love.graphics.push]] to accept different [[StackType|stack types]] to push. Current types are "transform" and "all".
 +
* Updated love shaders to accept GLSL ES precision qualifiers (<code>lowp</code>, <code>mediump</code>, and <code>highp</code>) on variables, although they do nothing.
 +
* Updated the error message for [[love.graphics.newShader]] to be less cryptic if an invalid filename is given.
  
  

Revision as of 04:27, 20 September 2014

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.  


The codename for LÖVE 0.9.2 is Baby Inspector. It is currently not released.

Changes from 0.9.1

Additions

Deprecations

Fixes

  • Fixed love.filesystem.setIdentity breaking in some situations when called multiple times.
  • Fixed the default love.filesystem identity when in Fused mode in Windows.
  • Fixed love.system.openURL sometimes blocking indefinitely on Linux.
  • Fixed love.joystick.setGamepadMapping.
  • Fixed Shader:getWarnings returning unnecessary information.
  • Fixed a potential crash when Shader objects are garbage collected.
  • Fixed love.graphics.newMesh(vertexcount, ...) causing the Mesh to do instanced rendering.
  • Fixed Mesh:getVertexMap.
  • Fixed Image:refresh generating mipmaps multiple times if mipmap filtering is enabled.
  • Fixed Mesh:setDrawRange when the Mesh has a vertex map set.
  • Fixed internal detection of the 'position' and 'effect' shader functions.
  • Fixed some cases of noncompliant shader code not properly erroring on some nvidia drivers.
  • Fixed Texture memory leak when Meshes are garbage collected.
  • Fixed the default line join mode to be 'miter' instead of an undefined value.
  • Fixed Canvas:getPixel to error if the coordinates are not within the Canvas' bounds.
  • Fixed detection of compressed textures to work regardless of the file's extension.
  • Fixed the default error handler screen's text size when highdpi mode is enabled on a Retina monitor in OS X.
  • Fixed the default error handler background color when sRGB mode is enabled for the window.
  • Fixed the state of wireframe mode when love.window.setMode is called.
  • Fixed love.window.setMode to fall back to the largest available mode if a width or height greater than the largest supported is specified and exclusive-fullscreen mode is used.

Renamed APIs

  • Renamed all cases of FSAA to MSAA. The FSAA names still exist for backward-compatibility.

Other Changes

  • Updated the Lua wrapper code for modules to avoid crashes when the module's instance is created, deleted, and recreated.
  • Updated internal code for handling garbage collection of love objects to be more efficient.
  • Updated love's initialization code to trigger a Lua error if love.conf has an error in it.
  • Updated love.filesystem.getSaveDirectory and friends to strip double-slashes ("//") from their returned paths.
  • Updated the error message when love.filesystem.write or File:open fails because the directory doesn't exist.
  • Updated error message when love.math.setRandomSeed(0) is attempted.
  • Updated love.physics.newChainShape to error if the number of arguments is invalid.
  • Updated love-created threads to use names visible in external debuggers.
  • Updated SpriteBatch:unbind / SpriteBatch:flush to use less VRAM if the SpriteBatch has the static usage hint.
  • Updated love.graphics.newImage, love.image.newImageData, etc. to leave less temporary Lua-owned memory around.
  • Updated love.graphics.push to accept different stack types to push. Current types are "transform" and "all".
  • Updated love shaders to accept GLSL ES precision qualifiers (lowp, mediump, and highp) on variables, although they do nothing.
  • Updated the error message for love.graphics.newShader to be less cryptic if an invalid filename is given.


no-game screen