Difference between revisions of "0.9.0"

m (Added new changes)
(Added line breaks to make the changelog more readable)
Line 9: Line 9:
 
* Added exit value of 1 in case of error by default.
 
* Added exit value of 1 in case of error by default.
 
* Added basic support for the file:// uri scheme.
 
* Added basic support for the file:// uri scheme.
 +
* Added [[love.timer.getAverageDelta]].
 +
* Added [[Data:getString]].
 +
* Added [[Contact:getChildren]].
 +
 
* Added [[love.filesystem.getIdentity]].
 
* Added [[love.filesystem.getIdentity]].
 
* Added [[love.filesystem.append]].
 
* Added [[love.filesystem.append]].
 
* Added [[love.filesystem.getSize]].
 
* Added [[love.filesystem.getSize]].
 +
 
* Added previously internal [[Rasterizer]] and [[GlyphData]] methods.
 
* Added previously internal [[Rasterizer]] and [[GlyphData]] methods.
 
* Added support for UTF-8 Image [[Font]]s.
 
* Added support for UTF-8 Image [[Font]]s.
Line 17: Line 22:
 
* Added [[Font:setFilter]] and [[Font:getFilter]].
 
* Added [[Font:setFilter]] and [[Font:getFilter]].
 
* Added [[Font:hasGlyph]].
 
* Added [[Font:hasGlyph]].
 +
 
* Added angle, scale, and shear parameters to [[love.graphics.printf]].
 
* Added angle, scale, and shear parameters to [[love.graphics.printf]].
 
* Added HDR canvas support.
 
* Added HDR canvas support.
Line 40: Line 46:
 
* Added [[(Image):refresh|Image:refresh]].
 
* Added [[(Image):refresh|Image:refresh]].
 
* Added [[(Image):getData|Image:getData]].
 
* Added [[(Image):getData|Image:getData]].
* Added [[SoundData:getDuration]] and [[SoundData:getSampleCount]].
+
 
* Added [[Source:isPlaying]].
 
* Added new [[Channel]]s api for [[love.thread]].
 
* Added [[Thread:getError]].
 
 
* Added [[love.math]] module.
 
* Added [[love.math]] module.
 
* Added a platform-independent (good) random implementation to [[love.math]].
 
* Added a platform-independent (good) random implementation to [[love.math]].
Line 50: Line 53:
 
* Added [[love.math.triangulate]] and [[love.math.isConvex]].
 
* Added [[love.math.triangulate]] and [[love.math.isConvex]].
 
* Added [[love.math.noise]].
 
* Added [[love.math.noise]].
* Added [[love.timer.getAverageDelta]].
+
 
* Added [[Data:getString]].
 
* Added [[Contact:getChildren]].
 
 
* Added [[love.window]] module.
 
* Added [[love.window]] module.
 
* Added [[love.window.isVisible]].
 
* Added [[love.window.isVisible]].
Line 59: Line 60:
 
* Added window [[love.resize|resize]] and [[love.visible|visible]] events.
 
* Added window [[love.resize|resize]] and [[love.visible|visible]] events.
 
* Added [[love.window.getDimensions]].
 
* Added [[love.window.getDimensions]].
 +
 +
* Added [[SoundData:getDuration]] and [[SoundData:getSampleCount]].
 +
* Added [[Source:isPlaying]].
 +
 +
* Added new [[Channel]]s api for [[love.thread]].
 +
* Added [[Thread:getError]].
 +
 
* Added [[love.mousefocus]] and [[love.window.hasMouseFocus]].
 
* Added [[love.mousefocus]] and [[love.window.hasMouseFocus]].
 
* Added [[love.mouse.setX]] and [[love.mouse.setY]].
 
* Added [[love.mouse.setX]] and [[love.mouse.setY]].
 
* Added [[love.joystickaxis|joystickaxis]] and [[love.joystickhat|joystickhat]] events.
 
* Added [[love.joystickaxis|joystickaxis]] and [[love.joystickhat|joystickhat]] events.
 
* Added [[love.joystick.reload]].
 
* Added [[love.joystick.reload]].
 +
 
* OPTIONAL: Added support for Game Music Emu.
 
* OPTIONAL: Added support for Game Music Emu.
  
Line 82: Line 91:
 
* Fixed printing to the console in Windows before [[love.load]] is called.
 
* Fixed printing to the console in Windows before [[love.load]] is called.
 
* Fixed [[love.mouse.setPosition]] when called in [[love.load]].
 
* Fixed [[love.mouse.setPosition]] when called in [[love.load]].
 +
 
* Fixed scaling in several [[love.physics]] functions.
 
* Fixed scaling in several [[love.physics]] functions.
 
* Fixed Box2D exception in [[World:update]].
 
* Fixed Box2D exception in [[World:update]].
 +
 
* Fixed [[(File):read]] reading past end of file.
 
* Fixed [[(File):read]] reading past end of file.
 
* Fixed [[love.filesystem.setIdentity]] not removing read access from old directories.
 
* Fixed [[love.filesystem.setIdentity]] not removing read access from old directories.
* Fixed possible memory leak in utf-8 decoder.
+
 
 +
* Fixed possible memory leak in UTF-8 decoder.
 
* Fixed spacing for the last character in an Image [[Font]].
 
* Fixed spacing for the last character in an Image [[Font]].
 
* Fixed line wrapping in [[love.graphics.printf]].
 
* Fixed line wrapping in [[love.graphics.printf]].
Line 102: Line 114:
 
* Fixed crash when binding [[SpriteBatch]]es multiple times.
 
* Fixed crash when binding [[SpriteBatch]]es multiple times.
 
* Fixed [[SpriteBatch]]es with more than 16,383 sprites.
 
* Fixed [[SpriteBatch]]es with more than 16,383 sprites.
 +
 
* Fixed [[love.window.getMode]] and friends returning wrong values when using desktop size.
 
* Fixed [[love.window.getMode]] and friends returning wrong values when using desktop size.
 
* Fixed keyrepeat settings being lost after (indirect) [[love.window.setMode]].
 
* Fixed keyrepeat settings being lost after (indirect) [[love.window.setMode]].
 +
 
* Fixed memory leak in the mp3 decoder.
 
* Fixed memory leak in the mp3 decoder.
 
* Fixed sound issues with some versions of OpenAL soft, by enabling direct channels.
 
* Fixed sound issues with some versions of OpenAL soft, by enabling direct channels.
Line 111: Line 125:
 
* Fixed skipping/looping issues when playing streaming audio [[Source]]s.
 
* Fixed skipping/looping issues when playing streaming audio [[Source]]s.
  
=== Other Changes ===
+
=== Renamed APIs ===
* Renamed love's boot script to 'love.boot', which can be required.
 
 
* Renamed [[PixelEffect]] to [[Shader]] (but now with vertex shaders).
 
* Renamed [[PixelEffect]] to [[Shader]] (but now with vertex shaders).
 
* Renamed [[love.graphics.setDefaultImageFilter]] to [[love.graphics.setDefaultFilter]].
 
* Renamed [[love.graphics.setDefaultImageFilter]] to [[love.graphics.setDefaultFilter]].
Line 118: Line 131:
 
* Renamed [[ParticleSystem:setGravity]] to [[ParticleSystem:setLinearAcceleration]].
 
* Renamed [[ParticleSystem:setGravity]] to [[ParticleSystem:setLinearAcceleration]].
 
* Renamed [[ParticleSystem:setLifetime]] and [[ParticleSystem:setParticleLife]] to [[ParticleSystem:setEmitterLifetime]] and [[ParticleSystem:setParticleLifetime]].
 
* Renamed [[ParticleSystem:setLifetime]] and [[ParticleSystem:setParticleLife]] to [[ParticleSystem:setEmitterLifetime]] and [[ParticleSystem:setParticleLifetime]].
* Renamed [[ParticleSystem:count]] and all getNum* functions to get*Count.
 
 
* Renamed [[love.graphics.drawq]] to [[love.graphics.drawg]].
 
* Renamed [[love.graphics.drawq]] to [[love.graphics.drawg]].
 
* Renamed [[SpriteBatch:addq]] and [[SpriteBatch:setq]] to [[SpriteBatch:addg]] and [[SpriteBatch:setg]].
 
* Renamed [[SpriteBatch:addq]] and [[SpriteBatch:setq]] to [[SpriteBatch:addg]] and [[SpriteBatch:setg]].
 +
* Renamed [[ParticleSystem:count]] and all getNum* functions to get*Count.
  
 +
=== Other Changes ===
 
* Moved love's startup to modules/love.
 
* Moved love's startup to modules/love.
 
* Moved window-related functions from [[love.graphics]] to [[love.window]].
 
* Moved window-related functions from [[love.graphics]] to [[love.window]].
  
 +
* Renamed love's boot script to 'love.boot', which can be required.
 
* Updated the windows console, it now tries to re-use an active one first.
 
* Updated the windows console, it now tries to re-use an active one first.
 
* Updated error handling, error handlers now get resolved when the error occurs.
 
* Updated error handling, error handlers now get resolved when the error occurs.
 
* Updated order of sleep/present in [[love.run]] (now draws, *then* sleeps).
 
* Updated order of sleep/present in [[love.run]] (now draws, *then* sleeps).
 +
* Updated [[love.keypressed]]'s second argument to be a unicode character string.
 +
 
* Updated the default filesystem identity to omit file extension.
 
* Updated the default filesystem identity to omit file extension.
 
* Updated [[love.filesystem.newFile]] to optionally open the file.
 
* Updated [[love.filesystem.newFile]] to optionally open the file.
 
* Updated most [[love.filesystem]] functions to return nil, error on internal failure.
 
* Updated most [[love.filesystem]] functions to return nil, error on internal failure.
* Updated [[love.keypressed]]'s second argument to be a unicode character string.
+
 
 
* Updated the setFilter and setWrap methods, the second argument is now optional.
 
* Updated the setFilter and setWrap methods, the second argument is now optional.
 
* Updated [[Font]] and [[ParticleSystem]] rendering code, now more performant.
 
* Updated [[Font]] and [[ParticleSystem]] rendering code, now more performant.
Line 144: Line 161:
 
* Updated [[ImageData:setPixel]] to accept a table and default to 255 alpha.
 
* Updated [[ImageData:setPixel]] to accept a table and default to 255 alpha.
 
* Updated [[love.image]] memory handling, improves errors and thread-safety.
 
* Updated [[love.image]] memory handling, improves errors and thread-safety.
 +
 
* Updated [[love.audio.newSource]], [[love.sound.newDecoder]], and [[love.sound.newSoundData]] to accept [[FileData]].
 
* Updated [[love.audio.newSource]], [[love.sound.newDecoder]], and [[love.sound.newSoundData]] to accept [[FileData]].
 
* Updated allocation for [[SoundData]], it's more efficient and less wasteful.
 
* Updated allocation for [[SoundData]], it's more efficient and less wasteful.
 
* Updated Source:set* functions to default z to 0.
 
* Updated Source:set* functions to default z to 0.
 +
 
* Updated [[love.timer.getFPS]] to be microsecond-accurate.
 
* Updated [[love.timer.getFPS]] to be microsecond-accurate.
 
* Updated [[love.timer.getTime]] to be microsecond-accurate and monotonic.
 
* Updated [[love.timer.getTime]] to be microsecond-accurate and monotonic.
  
 
[[File:0.9.0_no-game.png|thumb|no-game screen]]
 
[[File:0.9.0_no-game.png|thumb|no-game screen]]

Revision as of 21:37, 17 June 2013

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.0 is Baby Inspector. It is currently not released.

Changes from 0.8.0

Additions

  • OPTIONAL: Added support for Game Music Emu.

Removals

Fixes

  • Fixed memory leak in the mp3 decoder.
  • Fixed sound issues with some versions of OpenAL soft, by enabling direct channels.
  • Fixed 'random' hangs in audio.
  • Fixed love.sound.newDecoder not accepting FileData.
  • Fixed looping support in tracker music formats.
  • Fixed skipping/looping issues when playing streaming audio Sources.

Renamed APIs

Other Changes

  • Renamed love's boot script to 'love.boot', which can be required.
  • Updated the windows console, it now tries to re-use an active one first.
  • Updated error handling, error handlers now get resolved when the error occurs.
  • Updated order of sleep/present in love.run (now draws, *then* sleeps).
  • Updated love.keypressed's second argument to be a unicode character string.
  • Updated the default filesystem identity to omit file extension.
  • Updated love.filesystem.newFile to optionally open the file.
  • Updated most love.filesystem functions to return nil, error on internal failure.
no-game screen