Difference between revisions of "0.9.2"
(Created page) |
(Updated changelog) |
||
Line 14: | Line 14: | ||
* Added [[Joint:setUserData]] and [[Joint:getUserData]]. | * Added [[Joint:setUserData]] and [[Joint:getUserData]]. | ||
* Added [[Body:getWorld]]. | * Added [[Body:getWorld]]. | ||
+ | * Added [[Contact:getFixtures]] and [[Body:getContactList]]. | ||
* Added [[love.window.getDisplayName]]. | * Added [[love.window.getDisplayName]]. | ||
* Added [[love.window.minimize]]. | * Added [[love.window.minimize]]. | ||
+ | * Added [[love.window.showMessageBox]]. | ||
+ | * Added [[love.filesystem.isSymlink]], [[love.filesystem.setSymlinksEnabled]], and [[love.filesystem.areSymlinksEnabled]]. | ||
=== Deprecations === | === Deprecations === | ||
Line 33: | Line 36: | ||
* Fixed internal detection of the 'position' and 'effect' shader functions. | * Fixed internal detection of the 'position' and 'effect' shader functions. | ||
* 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 [[love.errhand|error handler]] screen's text size when highdpi mode is enabled on a Retina monitor in OS X. | ||
=== Renamed APIs === | === Renamed APIs === | ||
Line 38: | Line 43: | ||
=== Other Changes === | === Other Changes === | ||
− | * Updated error message when [[love.math. | + | * Updated the internal Lua wrapper code for modules to account for cases where the module's instance is created, completely removed from memory, and then recreated during the program's lifetime. |
+ | * Updated the paths returned by [[love.filesystem.getSaveDirectory]] etc. to no longer have double-slashes ("//") in the middle of the path. | ||
+ | * 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.physics.newChainShape]] to error if the number of arguments is invalid. | ||
* Updated love-created threads to use names visible in external debuggers. | * Updated love-created threads to use names visible in external debuggers. |
Revision as of 23:10, 28 July 2014
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.
Contents
Changes from 0.9.1
Additions
- Added Shader:getExternVariable.
- Added several new Canvas texture formats.
- Added love.graphics.getCanvasFormats.
- Added love.graphics.getCompressedImageFormats.
- Added ParticleSystem:setQuads.
- Added SpriteBatch:flush.
- Added optional duration argument to Joystick:setVibration.
- Added love.joystick.loadGamepadMappings and love.joystick.saveGamepadMappings.
- Added Joint:setUserData and Joint:getUserData.
- Added Body:getWorld.
- Added Contact:getFixtures and Body:getContactList.
- Added love.window.getDisplayName.
- Added love.window.minimize.
- Added love.window.showMessageBox.
- Added love.filesystem.isSymlink, love.filesystem.setSymlinksEnabled, and love.filesystem.areSymlinksEnabled.
Deprecations
- Deprecated SpriteBatch:bind and SpriteBatch:unbind.
- Deprecated all uses of the name 'FSAA' in favor of 'MSAA'.
- Deprecated the 'hdrcanvas' graphics feature enum in favor of love.graphics.getCanvasFormats.
- Deprecated the 'dxt' and 'bc5' graphics feature enums in favor of love.graphics.getCompressedImageFormats.
Fixes
- Fixed shader:getWarnings returning unnecessary information.
- Fixed love.filesystem.setIdentity breaking in some situations when called multiple times.
- 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 File: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 Texture memory leak when Meshes are garbage collected.
- Fixed the default line join mode to be 'miter' instead of an undefined value.
- Fixed the default error handler screen's text size when highdpi mode is enabled on a Retina monitor in OS X.
Renamed APIs
- Renamed all cases of FSAA to MSAA. The FSAA names still exist for backward-compatibility.
Other Changes
- Updated the internal Lua wrapper code for modules to account for cases where the module's instance is created, completely removed from memory, and then recreated during the program's lifetime.
- Updated the paths returned by love.filesystem.getSaveDirectory etc. to no longer have double-slashes ("//") in the middle of the path.
- 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.