Difference between revisions of "0.9.2"

(Updated changelog)
m (Updated changelog)
Line 4: Line 4:
 
== Changes from [[0.9.1]] ==
 
== Changes from [[0.9.1]] ==
 
===Additions ===
 
===Additions ===
 +
* Added Lua 5.3's [http://www.lua.org/manual/5.3/manual.html#6.5 UTF-8 module], via <code>utf8 = require("utf8")</code>.
 
* Added [[Shader:getExternVariable]].
 
* Added [[Shader:getExternVariable]].
 
* Added several new [[CanvasFormat|Canvas texture formats]].
 
* Added several new [[CanvasFormat|Canvas texture formats]].
Line 13: Line 14:
 
* Added [[love.graphics.getStats]].
 
* Added [[love.graphics.getStats]].
 
* Added "mirroredrepeat" [[WrapMode]].
 
* Added "mirroredrepeat" [[WrapMode]].
 +
* Added [[love.audio.setDopplerScale]] and [[love.audio.getDopplerScale]].
 
* Added optional duration argument to [[Joystick:setVibration]].
 
* Added optional duration argument to [[Joystick:setVibration]].
 
* Added [[love.joystick.loadGamepadMappings]] and [[love.joystick.saveGamepadMappings]].
 
* Added [[love.joystick.loadGamepadMappings]] and [[love.joystick.saveGamepadMappings]].
Line 20: Line 22:
 
* Added [[Body:getWorld]].
 
* Added [[Body:getWorld]].
 
* Added [[Body:getJointList]].
 
* Added [[Body:getJointList]].
* Added [[Contact:getFixtures]] and [[Body:getContactList]].  
+
* Added [[Contact:getFixtures]] and [[Body:getContactList]].
 +
* Added [[Body:isDestroyed]], [[Contact:isDestroyed]], [[Fixture:isDestroyed]], [[Joint:isDestroyed]], and [[World:isDestroyed]].
 +
* Added [[love.mousemoved]] event callback.
 +
* Added [[love.mouse.setRelativeMode]] and [[love.mouse.getRelativeMode]].
 +
* Added [[love.keyboard.getKeyFromScancode]] and [[love.keyboard.getScancodeFromKey]].
 
* Added [[love.window.getDisplayName]].
 
* Added [[love.window.getDisplayName]].
 
* Added [[love.window.minimize]].
 
* Added [[love.window.minimize]].
 +
* Added [[love.window.maximize]].
 
* Added [[love.window.showMessageBox]].
 
* Added [[love.window.showMessageBox]].
 
* Added [[love.window.toPixels]] and [[love.window.fromPixels]].
 
* Added [[love.window.toPixels]] and [[love.window.fromPixels]].
Line 38: Line 45:
  
 
=== Fixes ===
 
=== Fixes ===
 +
* Fixed crashes when LÖVE objects are garbage-collected in multiple threads simultaneously.
 
* 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 the default [[love.filesystem]] identity when in Fused mode in Windows.
Line 43: Line 51:
 
* Fixed [[love.joystick.setGamepadMapping]].
 
* Fixed [[love.joystick.setGamepadMapping]].
 
* Fixed the order of vertices in [[ChainShape]]s.
 
* Fixed the order of vertices in [[ChainShape]]s.
 +
* Fixed [[love.mouse.getPosition]] returning outdated values if [[love.mouse.setPosition]] was used in the same frame.
 +
* Fixed [[love.graphics.newFont]] to error when given an invalid size argument.
 +
* Fixed the file name, line number, and backtrace given if [[love.graphics.print]] errors.
 +
* Fixed a small memory leak if [[love.graphics.newCanvas]] errors.
 
* Fixed [[Shader:getWarnings]] returning unnecessary information.
 
* Fixed [[Shader:getWarnings]] returning unnecessary information.
 
* Fixed a potential crash when [[Shader]] objects are garbage collected.
 
* Fixed a potential crash when [[Shader]] objects are garbage collected.
Line 66: Line 78:
  
 
=== Other Changes ===
 
=== Other Changes ===
 +
* Updated the Windows executable to automatically prefer the higher performance GPU on nvidia Optimus systems.
 +
* Updated the --console command-line argument in Windows to open the console before conf.lua is loaded.
 +
* Updated the love executable to verify that the love library version matches before using it.
 
* Updated the Lua wrapper code for modules to avoid crashes when the module's instance is created, deleted, and recreated.
 
* 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 internal code for handling garbage collection of love objects to be more efficient.

Revision as of 08:17, 8 February 2015

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

Renamed APIs

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

Other Changes

  • Updated the Windows executable to automatically prefer the higher performance GPU on nvidia Optimus systems.
  • Updated the --console command-line argument in Windows to open the console before conf.lua is loaded.
  • Updated the love executable to verify that the love library version matches before using it.
  • 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 the error message when invalid UTF-8 strings are used in love functions that expect UTF-8.
  • Updated love.physics.newChainShape to error if the number of arguments is invalid.
  • Updated love.physics.newPolygonShape and love.physics.newChainShape to accept a table of vertices.
  • Updated love.thread.newThread to accept a literal string of code.
  • 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.
  • Updated compressed texture loading code to allow BC6 and BC7 compressed textures (if the graphics driver supports them.)


no-game screen