Difference between revisions of "11.4"

m
m
Line 6: Line 6:
 
=== Additions ===
 
=== Additions ===
 
* Added native Apple Silicon (arm64) support on macOS.
 
* Added native Apple Silicon (arm64) support on macOS.
 +
* Added a variant of [[love.filesystem.newFileData]] which accepts a [[Data]] object.
 
* Added [[Body:getLocalPoints]].
 
* Added [[Body:getLocalPoints]].
 
* Added [[Font:getKerning]].
 
* Added [[Font:getKerning]].
Line 15: Line 16:
 
* Changed [[love.timer.getTime]] to start at 0 when the module is first loaded.
 
* Changed [[love.timer.getTime]] to start at 0 when the module is first loaded.
 
* Changed certain out-of-Lua-memory situations to show a message box instead of instantly crashing.
 
* Changed certain out-of-Lua-memory situations to show a message box instead of instantly crashing.
 +
* Changed the naming scheme of LOVE's embedded Lua files for improved integration with Lua chunkname APIs.
  
  
Line 21: Line 23:
 
* Fixed code compatibility with math.mod and string.gfind when LuaJIT 2.1 is used.
 
* Fixed code compatibility with math.mod and string.gfind when LuaJIT 2.1 is used.
 
* Fixed errors on some systems related to > 53 bit pointer addresses, when recent versions of LuaJIT 2.1 are used.
 
* Fixed errors on some systems related to > 53 bit pointer addresses, when recent versions of LuaJIT 2.1 are used.
 +
* Fixed the default error handler showing a blank screen on some mobile devices.
 
* Fixed drag-and-drop to open a love game on macOS causing [[love.event.quit#Function_2|love.event.quit("restart")]] to fail.
 
* Fixed drag-and-drop to open a love game on macOS causing [[love.event.quit#Function_2|love.event.quit("restart")]] to fail.
 
* Fixed fused macOS apps opening other love games when drag-and-drop is used (if the fused app hasn't already removed .love files from recognized document types).
 
* Fixed fused macOS apps opening other love games when drag-and-drop is used (if the fused app hasn't already removed .love files from recognized document types).
 
* Fixed [[(File):isEOF|File:isEOF]] when called on a dropped file.
 
* Fixed [[(File):isEOF|File:isEOF]] when called on a dropped file.
 
* Fixed support for > 2GB [[love.filedropped|dropped files]] on desktops.
 
* Fixed support for > 2GB [[love.filedropped|dropped files]] on desktops.
 +
* Fixed [[ByteData]] and [[DataView]] missing [[Data:clone]] implementations.
 
* Fixed love.physics [[love.physics.setMeter|meter scale value]] persisting after love.event.quit("restart").
 
* Fixed love.physics [[love.physics.setMeter|meter scale value]] persisting after love.event.quit("restart").
 
* Fixed audio to resume properly after interruption on iOS.
 
* Fixed audio to resume properly after interruption on iOS.
Line 47: Line 51:
 
* Fixed Shader:send(name, data, matrixlayout, ...).
 
* Fixed Shader:send(name, data, matrixlayout, ...).
 
* Fixed quad offsets in [[ParticleSystem]]s when ParticleSystem:setOffset is not used.
 
* Fixed quad offsets in [[ParticleSystem]]s when ParticleSystem:setOffset is not used.
 +
* Fixed a performance issue with setting a small subrange of data in non-stream [[Mesh]]es and [[SpriteBatch]]es.
 
* Fixed rounded rectangles breaking if the rx or ry parameters are negative.
 
* Fixed rounded rectangles breaking if the rx or ry parameters are negative.
 
* Fixed rounded rectangle automatic points calculation when rx or ry are more than half the rectangle's size.
 
* Fixed rounded rectangle automatic points calculation when rx or ry are more than half the rectangle's size.

Revision as of 17:20, 30 December 2021

no-game screen

The codename for LÖVE 11.4 is Mysterious Mysteries. It is currently not released.

Changes from 11.3

Additions


Other Changes

  • Changed love.timer.getTime to start at 0 when the module is first loaded.
  • Changed certain out-of-Lua-memory situations to show a message box instead of instantly crashing.
  • Changed the naming scheme of LOVE's embedded Lua files for improved integration with Lua chunkname APIs.


Fixes

  • Fixed build-time compatibility with Lua 5.4.
  • Fixed code compatibility with math.mod and string.gfind when LuaJIT 2.1 is used.
  • Fixed errors on some systems related to > 53 bit pointer addresses, when recent versions of LuaJIT 2.1 are used.
  • Fixed the default error handler showing a blank screen on some mobile devices.
  • Fixed drag-and-drop to open a love game on macOS causing love.event.quit("restart") to fail.
  • Fixed fused macOS apps opening other love games when drag-and-drop is used (if the fused app hasn't already removed .love files from recognized document types).
  • Fixed File:isEOF when called on a dropped file.
  • Fixed support for > 2GB dropped files on desktops.
  • Fixed ByteData and DataView missing Data:clone implementations.
  • Fixed love.physics meter scale value persisting after love.event.quit("restart").
  • Fixed audio to resume properly after interruption on iOS.
  • Fixed love.graphics.newVideo to error instead of crash when an invalid video file is given.
  • Fixed initial window creation to set the window's title during creation instead of after.
  • Fixed the window's screen position when exiting fullscreen via love.window.setFullscreen.
  • Fixed love.displayrotated being given a boolean instead of an enum string.
  • Fixed memory corruption and a crash when drawing smooth lines.
  • Fixed a crash in Canvas:newImageData when the pixel format's pixel byte size multiplied by its width isn't a multiple of 4.
  • Fixed love.graphics.newVolumeImage when explicit mipmaps are provided.
  • Fixed freezes and crashes in automatic batching when an AMD GPU is used.
  • Fixed love.graphics.print and Image:replacePixels on more AMD/ATI GPUs.
  • Fixed Font:setFallbacks to account for different DPI scales in each fallback font.
  • Fixed Font:getWrap to not remove trailing newlines.
  • Fixed Text:getWidth when the Text's string only contains spaces.
  • Fixed a crash with some Intel graphics drivers on Linux.
  • Fixed a hang with some Intel graphics drivers on Windows, by preventing gamma correct rendering on affected systems.
  • Fixed a crash with some Intel graphics drivers on Windows when mipmapped Canvases are used.
  • Fixed texture memory reported by love.graphics.getStats when a volume or array Canvas is created.
  • Fixed DXT1 textures which use 1 bit alpha-cutout.
  • Fixed rare issues where textures were not sent to shaders correctly.
  • Fixed Shader:send(name, data, matrixlayout, ...).
  • Fixed quad offsets in ParticleSystems when ParticleSystem:setOffset is not used.
  • Fixed a performance issue with setting a small subrange of data in non-stream Meshes and SpriteBatches.
  • Fixed rounded rectangles breaking if the rx or ry parameters are negative.
  • Fixed rounded rectangle automatic points calculation when rx or ry are more than half the rectangle's size.
  • Fixed source code compilation on Xcode 12+.
  • Fixed source code compilation on Linux systems that don't provide posix_spawn APIs.