Difference between revisions of "0.9.0"

m
(Updated changelog)
Line 22: Line 22:
 
* Added [[(File):isOpen|File:isOpen]] and [[(File):getMode|File:getMode]].
 
* Added [[(File):isOpen|File:isOpen]] and [[(File):getMode|File:getMode]].
 
* Added [[(File):setBuffer|File:setBuffer]], [[(File):getBuffer|File:getBuffer]], and [[(File):flush|File:flush]].
 
* Added [[(File):setBuffer|File:setBuffer]], [[(File):getBuffer|File:getBuffer]], and [[(File):flush|File:flush]].
 +
 +
* Added [[love.textinput|textinput]] event for unicode text input.
  
 
* Added previously internal [[Rasterizer]] and [[GlyphData]] methods.
 
* Added previously internal [[Rasterizer]] and [[GlyphData]] methods.
Line 61: Line 63:
 
* 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.system]] module.
 +
* Added [[love.system.getClipboardText]] and [[love.system.setClipboardText]].
 +
* Added [[love.system.getOS]] and [[love.system.getProcessorCount]].
  
 
* Added [[love.window]] module.
 
* Added [[love.window]] module.
 
* Added [[love.window.isVisible]].
 
* Added [[love.window.isVisible]].
 
* Added flags to [[love.window.setMode]].
 
* Added flags to [[love.window.setMode]].
 +
* Added monitor choosing support to love.window.setMode.
 
* Added support for resizable, borderless, and non-centered windows.
 
* Added support for resizable, borderless, and non-centered windows.
 +
* Added support for [[FullscreenType|"fullscreen-desktop"]] mode.
 
* 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]].
Line 73: Line 81:
 
* Added [[Source:isPlaying]].
 
* Added [[Source:isPlaying]].
  
* Added new [[Channel]]s api for [[love.thread]].
+
* Added new [[Channel]]s API for [[love.thread]].
 
* Added limited table support to [[Channel:push]].
 
* Added limited table support to [[Channel:push]].
 
* Added [[Thread:getError]].
 
* Added [[Thread:getError]].
Line 80: Line 88:
  
 
* Added [[love.mousefocus]] and [[love.window.hasMouseFocus]].
 
* Added [[love.mousefocus]] and [[love.window.hasMouseFocus]].
 +
* Added custom hardware [[Cursor|cursor]] support via [[love.mouse.newCursor]].
 
* Added [[love.mouse.setX]] and [[love.mouse.setY]].
 
* Added [[love.mouse.setX]] and [[love.mouse.setY]].
 +
 +
* Added [[Joystick]] objects.
 +
* Added [[love.joystick.getJoystick]].
 +
* Added joystick [[love.joystickadded|connect]] and [[love.joystickremoved|disconnect]] events.
 
* Added [[love.joystickaxis|joystickaxis]] and [[love.joystickhat|joystickhat]] events.
 
* Added [[love.joystickaxis|joystickaxis]] and [[love.joystickhat|joystickhat]] events.
* Added [[love.joystick.reload]].
+
* Added unified [[Joystick:isGamepadDown|Gamepad API]] for joysticks which have a similar layout to the Xbox controller.
  
 
* OPTIONAL: Added support for Game Music Emu.
 
* OPTIONAL: Added support for Game Music Emu.
Line 88: Line 101:
 
=== Removals ===
 
=== Removals ===
 
* Removed release mode (but Fused mode is still there.)
 
* Removed release mode (but Fused mode is still there.)
 +
* Removed [[love.keyboard.setKeyRepeat]] and [[love.keyboard.getKeyRepeat]].
 +
* Removed the unicode argument from [[love.keypressed]] (see [[love.textinput]]).
 +
 
* Removed love.graphics.drawTest.
 
* Removed love.graphics.drawTest.
 
* Removed [[love.graphics.quad]] and [[love.graphics.triangle]].
 
* Removed [[love.graphics.quad]] and [[love.graphics.triangle]].
Line 98: Line 114:
 
* Removed [[ParticleSystem:isFull]] and [[ParticleSystem:isEmpty]].
 
* Removed [[ParticleSystem:isFull]] and [[ParticleSystem:isEmpty]].
 
* Removed [[ParticleSystem:getX]] and [[ParticleSystem:getY]].
 
* Removed [[ParticleSystem:getX]] and [[ParticleSystem:getY]].
* Removed [[love.joystick.open]] and friends.
+
 
* Removed [[love.joystick.getBall]] and [[love.joystick.getNumBalls]].
+
* Removed [[love.joystick]] module functions which operated on individual joysticks (see [[Joystick]] objects).
 +
* Removed [[love.joystick.getNumBalls|joystick ball]] support.
 
* Removed thread names.
 
* Removed thread names.
* Removed old thread messaging api (see [[Channel]]s).
+
* Removed old thread messaging API (see [[Channel]]s).
 
* Removed [[love.timer.getMicroTime]].
 
* Removed [[love.timer.getMicroTime]].
  
Line 134: Line 151:
 
* 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]].
 +
* Fixed [[love.graphics.printf]] to error if the wrap limit is negative.
 
* Fixed [[love.graphics.print]] truncating strings with embedded zeros.
 
* Fixed [[love.graphics.print]] truncating strings with embedded zeros.
 
* Fixed crashes with font drawing on some ATI cards.
 
* Fixed crashes with font drawing on some ATI cards.
Line 160: Line 178:
 
* Fixed looping support in tracker music formats.
 
* Fixed looping support in tracker music formats.
 
* Fixed skipping/looping issues when playing streaming audio [[Source]]s.
 
* Fixed skipping/looping issues when playing streaming audio [[Source]]s.
 +
* Fixed a race condition in [[Source:play]].
  
 
=== Other Changes ===
 
=== Other Changes ===
Line 168: Line 187:
 
* 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 [[love.keypressed]]'s second argument to indicate whether the keypress is a repeat.
 +
* Updated keyboard [[KeyConstant|key constants]] with some modern keyboard keys.
  
 
* Updated the default filesystem identity to omit file extension.
 
* Updated the default filesystem identity to omit file extension.
Line 177: Line 197:
 
* Updated [[Font]] and [[ParticleSystem]] rendering code, now more performant.
 
* Updated [[Font]] and [[ParticleSystem]] rendering code, now more performant.
 
* Updated [[SpriteBatch]] code, now more performant when adding/setting and (un)binding.
 
* Updated [[SpriteBatch]] code, now more performant when adding/setting and (un)binding.
* Updated [[Image]] creation code to error when creation fails.
 
 
* Updated [[Canvas]] code to support more systems.
 
* Updated [[Canvas]] code to support more systems.
 
* Updated [[Canvas:getImageData]] and [[love.graphics.newScreenshot]] to be more efficient.
 
* Updated [[Canvas:getImageData]] and [[love.graphics.newScreenshot]] to be more efficient.

Revision as of 01:03, 26 August 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

  • Added better multiplayer networking support with ENet (via the lua-enet library.)
  • Added --fused command line argument, to simulate fusing.
  • Added liblove.
  • Added the ability to have exit values.
  • Added exit value of 1 in case of error by default.
  • Added basic support for the file:// uri scheme.
  • Added love.timer.getAverageDelta.
  • Added Data:getString.
  • Added Contact:getChildren.
  • Added textinput event for unicode text input.
  • OPTIONAL: Added support for Game Music Emu.

Removals

Renamed APIs

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 case (in)sensitivity of sound file extension parsing.
  • Fixed looping support in tracker music formats.
  • Fixed skipping/looping issues when playing streaming audio Sources.
  • Fixed a race condition in Source:play.

Other Changes

  • 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 indicate whether the keypress is a repeat.
  • Updated keyboard key constants with some modern keyboard keys.
  • 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.
  • Updated Thread:start to accept arguments. The arguments are available in the thread via ... (the vararg expression.)
no-game screen