changes.txt 83 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433
  1. LOVE 12.0 [N/A]
  2. ---------------
  3. Released: N/A
  4. * Added love.event.restart(optionalvalue). A new love.restart field will contain the value after restarting.
  5. * Added SoundData:copyFrom.
  6. * Added SoundData:slice.
  7. * Added t.highdpi startup flag in love.conf, replacing t.window.highdpi and the highdpi flag of love.window.setMode.
  8. * Added per-shader opt in support for the GLSL 4.30 (desktop) and GLSL ES 3.10 (mobile) shading languages, via #pragma language glsl4.
  9. * Added love.graphics.newTexture. newImage and newCanvas still exist as convenience constructor functions.
  10. * Added love.graphics.getTextureFormats, which replaces getImageFormats and getCanvasFormats.
  11. * Added Graphics Buffer objects, including vertex, index, and texel buffers.
  12. * Added APIs for interacting with the Buffer objects owned by Meshes.
  13. * Added Mesh:getAttachedAttributes.
  14. * Added integer buffer data formats.
  15. * Added love.graphics.setBlendState, which gives lower level control over blend operations than setBlendMode.
  16. * Added new 'clampone' wrap mode.
  17. * Added a variant of Font:getWidth which takes a codepoint number argument.
  18. * Changed the default font from Vera size 12 to Noto Sans size 13.
  19. * Changed the Texture class and implementation to no longer have separate Canvas and Image subclasses.
  20. * Changed Images to no longer hold onto a CPU copy of their pixel data after creation.
  21. * Changed love.window.setMode to no longer clear the contents of Canvases or otherwise recreate OpenGL resources.
  22. * Updated Box2D from 2.3 to 2.4.1.
  23. * Deprecated love.graphics.getImageFormats and love.graphics.getCanvasFormats (replaced by getTextureFormats).
  24. * Deprecated t.window.highdpi in love.conf and the highdpi flag of love.window.setMode (replaced by t.highdpi in love.conf).
  25. * Deprecated the variants of Mesh:attachAttribute and SpriteBatch:attachAttribute which accept a Mesh (replaced by variants which accept a Buffer).
  26. * Removed the variant of SpriteBatch:setColor() which turns off all previously set colors.
  27. * Fixed BezierCurve:render adding collinear points in some situations.
  28. LOVE 11.4 [Mysterious Mysteries]
  29. --------------------------------
  30. Released: N/A
  31. * Added native arm64 support on macOS.
  32. * Added Body:getLocalPoints.
  33. * Added Font:getKerning.
  34. * Added support for r16, rg16, and rgba16 pixel formats in Canvases.
  35. * Added Shader:send(name, matrixlayout, data, ...) variant, whose argument order is more consistent than Shader:send(name, data, matrixlayout, ...).
  36. * Changed love.timer.getTime to start at 0 when the module is first loaded.
  37. * Changed certain out-of-Lua-memory situations to show a message box instead of instantly crashing.
  38. * Fixed build-time compatibility with Lua 5.4.
  39. * Fixed code compatibility with math.mod and string.gfind when LuaJIT 2.1 is used.
  40. * Fixed errors on some systems related to > 53 bit pointer addresses, when recent versions of LuaJIT 2.1 are used.
  41. * Fixed drag-and-drop to open a love game on macOS causing love.event.quit("restart") to fail.
  42. * 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).
  43. * Fixed File:isEOF when called on a dropped file.
  44. * Fixed support for > 2GB dropped files on desktops.
  45. * Fixed love.physics meter scale value persisting after love.event.quit("restart").
  46. * Fixed audio to resume properly after interruption on iOS.
  47. * Fixed love.graphics.newVideo to error instead of crash when an invalid video file is given.
  48. * Fixed initial window creation to set the window's title during creation instead of after.
  49. * Fixed the window's screen position when exiting fullscreen via love.window.setFullscreen.
  50. * Fixed love.displayrotated being given a boolean instead of an enum string.
  51. * Fixed memory corruption and a crash when drawing smooth lines.
  52. * Fixed a crash in Canvas:newImageData when the pixel format's pixel byte size multiplied by its width isn't a multiple of 4.
  53. * Fixed love.graphics.newVolumeImage when explicit mipmaps are provided.
  54. * Fixed freezes and crashes in automatic batching when an AMD GPU is used.
  55. * Fixed love.graphics.print and Image:replacePixels on more AMD/ATI GPUs.
  56. * Fixed Font:setFallbacks to account for different DPI scales in each fallback font.
  57. * Fixed Font:getWrap to not remove trailing newlines.
  58. * Fixed Text:getWidth when the Text's string only contains spaces.
  59. * Fixed a crash with some Intel graphics drivers on Linux.
  60. * Fixed a hang with some Intel graphics drivers on Windows, by preventing gamma correct rendering on affected systems.
  61. * Fixed a crash with some Intel graphics drivers on Windows when mipmapped Canvases are used.
  62. * Fixed texture memory reported by love.graphics.getStats when a volume or array Canvas is created.
  63. * Fixed DXT1 textures which use 1 bit alpha-cutout.
  64. * Fixed rare issues where textures were not sent to shaders correctly.
  65. * Fixed Shader:send(name, data, matrixlayout, ...).
  66. * Fixed quad offsets in ParticleSystems when ParticleSystem:setOffset is not used.
  67. * Fixed rounded rectangles breaking if the rx or ry parameters are negative.
  68. * Fixed rounded rectangle automatic points calculation when rx or ry are more than half the rectangle's size.
  69. * Fixed source code compilation on Xcode 12+.
  70. * Fixed source code compilation on Linux systems that don't provide posix_spawn APIs.
  71. LOVE 11.3 [Mysterious Mysteries]
  72. --------------------------------
  73. Released: 2019-10-27
  74. * Added support for FLAC audio files.
  75. * Added support for microphone recording on Android.
  76. * Added t.audio.mic (false by default). On Android, setting it to true requests microphone recording permission from the user.
  77. * Added Decoder:clone.
  78. * Added Data:getFFIPointer.
  79. * Added Joystick:getDeviceInfo.
  80. * Added Joystick:getGamepadMappingString and love.joystick.getGamepadMappingString(guid).
  81. * Added love.math.colorToBytes and love.math.colorFromBytes.
  82. * Added 'usedpiscale' boolean (true by default) to love.window.setMode and love.conf. Disables automatic DPI scaling when false.
  83. * Added love.window.getDisplayOrientation and a love.displayrotated callback.
  84. * Added love.window.get/setVSync, to allow setting vsync without recreating the window.
  85. * Added love.window.getSafeArea.
  86. * Added an optional vertex count parameter to Mesh:setVertices.
  87. * Added support for rgba4, rgb5a1, rgb565, rgb10a2, rg11b10f, r8, rg8, r16, rg16, r16f, rg16f, r32f, and rg32f formats in ImageData and Images.
  88. * Added support for loading .dds files that contain uncompressed pixel data.
  89. * Changed audio file type detection, so it probes all supported backends for unrecognized extensions.
  90. * Fixed "bad lightuserdata" errors when running love on some arm64 devices.
  91. * Fixed boot.lua's line numbers in stack traces to match its source code.
  92. * Fixed the deprecation system not fully restarting when love.event.quit("restart") is used.
  93. * Fixed love.isVersionCompatible.
  94. * Fixed named Channels persisting across love.event.quit("restart") occurrences.
  95. * Fixed race conditions when different love.physics Worlds are used in different threads.
  96. * Fixed World:getJoints to return the fully resolved type of the Joint, instead of the base type.
  97. * Fixed love.timer.sleep(0) to return control to the OS scheduler instead of being a no-op.
  98. * Fixed love.math.randomNormal incorrectly using cached state after love.math.setRandomSeed or setRandomState.
  99. * Fixed love.data.hash returning an incorrect hash for certain input sizes.
  100. * Fixed love.data.newByteData to cause a Lua error instead of crashing when invalid arguments are used.
  101. * Fixed the Data-returning variant of love.filesystem.read and File:read to return the number of bytes that were read.
  102. * Fixed love.filesystem's require loaders to error instead of crashing when no argument is given.
  103. * Fixed love.filesystem.mount(Data).
  104. * Fixed a memory leak when loading files in some situations.
  105. * Fixed t.audio.mixwithsystem.
  106. * Fixed audio clicks immediately after playing a Source on iOS.
  107. * Fixed Source:play + Source:stop + Source:play looping the first few ms of sound for streaming Sources on iOS.
  108. * Fixed Source:play + Source:seek looping the first few ms of sound for streaming Sources on iOS.
  109. * Fixed occasional pops in streaming sources on iOS.
  110. * Fixed love.audio.play(sources) to use previously set playback positions on stopped Sources.
  111. * Fixed Source:setEffect(name, true) and Source:getEffect(name) when the effect has no associated Filter.
  112. * Fixed love.audio.newSource(filename, "queue") to cause a Lua error.
  113. * Fixed Source:setPitch to error if the given pitch is <= 0, NaN, or infinity.
  114. * Fixed video seeking and pausing in various scenarios.
  115. * Fixed an audio Source memory leak when a Video gets garbage collected after playing it.
  116. * Fixed video playback support on some Adreno-based Android devices.
  117. * Fixed black fringes around text in some situations.
  118. * Fixed extreme flickering when text moves along non-integer coordinates.
  119. * Fixed the first character in a string sometimes not being processed during text vertex generation.
  120. * Fixed Text:set(" ") not clearing any previously set text in a Text object.
  121. * Fixed love.graphics.getTextureTypes to return a table with boolean values in its fields instead of number values.
  122. * Fixed lines not rendering properly if a single line has more than 65,000 vertices.
  123. * Fixed a pixel shader performance regression on some graphics drivers when OpenGL 3 or OpenGL ES 3 is used.
  124. * Fixed text not showing up on Radeon HD 3000-series graphics cards on Windows.
  125. * Fixed non-integer DPI scale values being truncated to integers in love.graphics.newCanvas.
  126. * Fixed creating depth canvases on Windows systems when using an Intel HD 3000 GPU.
  127. * Fixed automatic batching performance to be more consistent on all operating systems.
  128. * Fixed gammaToLinearPrecise in shaders not being as precise as it should be.
  129. * Fixed ImageData:paste and ImageData:setPixel to have more consistent clamping and rounding of color values when different formats are used.
  130. LOVE 11.2 [Mysterious Mysteries]
  131. --------------------------------
  132. Released: 2018-11-25
  133. * Added Source:setAirAbsorption and Source:getAirAbsorption.
  134. * Added Body:setTransform and Body:getTransform.
  135. * Improved performance of love.graphics.draw slightly on iOS and Android.
  136. * Fixed filesystem initialization on Windows 10 update 1809.
  137. * Fixed compatibility with Lua 5.2 and 5.3.
  138. * Fixed the explicit format + Data argument variant of love.data.decompress.
  139. * Fixed love.joystick.setGamepadMapping not being able to change existing mappings.
  140. * Fixed a crash on quit on Linux if a custom cursor is active when quitting.
  141. * Fixed a crash in the Data variant of Shader:send when it's called after love.window.setMode.
  142. * Fixed a love.graphics.setCanvas error message to be less confusing.
  143. LOVE 11.1 [Mysterious Mysteries]
  144. --------------------------------
  145. Released: 2018-04-15
  146. * Fixed love.graphics.setCanvas failing randomly.
  147. * Fixed love.graphics.clear(colortable) when no Canvas is active.
  148. * Fixed stencil and depth support on older phones.
  149. * Fixed love.event.quit causing crashes and other unexpected behaviour if a Canvas is active.
  150. * Fixed Fixture:getShape crashing when returning a ChainShape.
  151. * Fixed love.joystick.loadJoystickMappings outputting a deprecation warning about love.filesystem.isFile.
  152. * Fixed Source:queue to show the correct argument name in the error message when an invalid data parameter is given.
  153. * Fixed t.console=true causing an error on Windows if lovec.exe is used.
  154. LOVE 11.0 [Mysterious Mysteries]
  155. --------------------------------
  156. Released: 2018-04-01
  157. * Added Object:release.
  158. * Added Data:clone.
  159. * Added queueable audio sources.
  160. * Added audio input support.
  161. * Added Source filters: low gain, high gain and band pass.
  162. * Added audio effect APIs (reverb, echo, etc.)
  163. * Added variants of SoundData:getSample/setSample which take a channel parameter.
  164. * Added variants of all table-with-fields-returning get* functions, the new variants take an existing table to fill in.
  165. * Added a variant to World:update, which accepts the number of iterations to run. The defaults are now 8 and 3.
  166. * Added Body:isTouching.
  167. * Added RopeJoint:setMaxLength.
  168. * Added a click count argument to love.mousepressed and love.mousereleased.
  169. * Added variants of love.filesystem.mount which accept a Data or FileData object containing zipped data.
  170. * Added love.filesystem.get/setCRequirePath, and use that to find c libraries for require.
  171. * Added variants of File:read and love.filesystem.read which take an enum to determine whether they return a FileData or a string.
  172. * Added love.data module. It includes hex/base64 encoding functions, MD5 and SHA hashing, string packing, compression APIs, and more.
  173. * Added Channel:hasRead, which checks if a message has been read. Takes an id, which Channel:push will now return.
  174. * Added variants of Channel:demand and Channel:supply which take a timeout argument.
  175. * Added Transform objects to love.math.
  176. * Added support for different ImageData formats, including RGBA8 (the default), RGBA16, RGBA16F, and RGBA32F.
  177. * Added the ability to load Radiance HDR, OpenEXR, and 16 bit PNG images.
  178. * Added love.graphics.getImageFormats (replaces love.graphics.getCompressedImageFormats).
  179. * Added the ability to specify a per-object pixel density scale factor when creating Images, Canvases, Fonts, and Videos. Affects drawing.
  180. * Added Texture:getPixelWidth/Height and love.graphics.getPixelWidth/Height.
  181. * Added Texture:getPixelDensity, love.graphics.getPixelDensity, and Font:getPixelDensity.
  182. * Added Texture:getMipmapCount, getFormat, getLayerCount, getDepth, and getTextureType.
  183. * Added Array, Cubemap, and Volume texture types and corresponding Image and Canvas APIs.
  184. * Added love.graphics.getTextureTypes, returns a table with fields indicating support for each texture type.
  185. * Added mipmapping support to Canvases, including both auto-generated mipmaps and manually rendering to a specific mipmap level.
  186. * Added 'stencil8', 'depth24stencil8', 'depth32fstencil8', 'depth16', 'depth24', and 'depth32f' pixel formats for Canvases.
  187. * Added variant of love.graphics.newCanvas which accepts a table of settings.
  188. * Added optional 'readable' boolean field to the table passed into love.graphics.newCanvas.
  189. * Added optional 'depthstencil' field to the table passed into love.graphics.setCanvas, for using a depth/stencil Canvas.
  190. * Added optional 'depth' and 'stencil' boolean fields to the table passed into setCanvas, for enabling depth and stencil buffers if 'depthstencil' isn't used.
  191. * Added shadow sampler support for Canvases.
  192. * Added love.graphics.setDepthMode for using the depth buffer for depth testing/writes. Depth values of rendered objects can only be set via shaders.
  193. * Added love.graphics.setMeshCullMode, for culling back- or front-facing triangles when drawing a Mesh.
  194. * Added love.graphics.setFrontFaceWinding.
  195. * Added variant of love.graphics.getCanvasFormats which takes a 'readable' boolean.
  196. * Added love.graphics.drawLayer and SpriteBatch:add/setLayer for easily drawing layers of Array Textures.
  197. * Added variants of love.graphics.print and printf which take a Font argument.
  198. * Added variants of love.graphics.clear to control how the active depth and stencil buffers are cleared.
  199. * Added love.graphics.applyTransform and love.graphics.replaceTransform.
  200. * Added love.graphics.transformPoint and love.graphics.inverseTransformPoint.
  201. * Added love.graphics.getStackDepth.
  202. * Added love.graphics.flushBatch for manually flushing automatically batched draws.
  203. * Added SpriteBatch:setDrawRange.
  204. * Added per-shader opt in support for the GLSL 3.30 and GLSL ES 3.00 shading languages.
  205. * Added 'void effect()' pixel shader entry point.
  206. * Added love.graphics.validateShader.
  207. * Added Shader:hasUniform.
  208. * Added support for non-square shader uniform matrices on desktop platforms and on mobile GLSL 3.
  209. * Added Shader:send(matrixname, is_column_major, matrix, ...) which specifies how to interpret the matrix table arguments.
  210. * Added Shader:send variants which accept a Data object.
  211. * Added 'borderellipse' and 'borderrectangle' ParticleSystem distributions.
  212. * Added variant of ParticleSystem:setEmissionArea which accepts an area angle and a flag for whether particle directions are relative to the center of the area.
  213. * Added ParticleSystem:set/getAreaSpreadAngle and set/getAreaSpreadIsRelativeDirection.
  214. * Added love.graphics.captureScreenshot (replaces love.graphics.newScreenshot).
  215. * Added 'glsl3', 'instancing', 'fullnpot','pixelshaderhighp', and 'shaderderivatives' graphics features.
  216. * Added 'anisotropy' graphics limit.
  217. * Added Mesh instancing support via love.graphics.drawInstanced and Mesh:attachAttribute.
  218. * Added a Mesh:attachAttribute variant that takes a different target attribute name.
  219. * Added Mesh:detachAttribute.
  220. * Added a variant of Mesh:setVertexMap which accepts a Data object.
  221. * Added love.window.updateMode.
  222. * Added love.window.isMinimized.
  223. * Added love.window.restore.
  224. * Added the ability to prevent love from creating a stencil buffer for the window.
  225. * Added cycle detection to Variant's table serialization, cycles now cause an error, rather than a stack overflow.
  226. * Added love.graphics.newShader File and FileData variants.
  227. * Added a default love.threaderror callback, which raises the error in the main thread.
  228. * Added checks for invalid constants passed to love.keyboard.isDown/isScancodeDown.
  229. * Added deprecation warnings, on by default for non-fused games.
  230. * Added love.filesystem.getInfo.
  231. * Added 'drawcallsbatched' to love.graphics.getStats.
  232. * Added support for header-less DEFLATE to love.data.compress/decompress.
  233. * Deprecated love.filesystem.exists / isFile / isDirectory / isSymlink / getLastModified / getSize (use getInfo instead).
  234. * Deprecated love.math.compress / decompress (use love.data.compress / decompress instead).
  235. * - All renamed APIs are formally deprecated rather than completely removed.
  236. * Renamed love.window.getPixelScale to love.window.getDPIScale.
  237. * Renamed love.mouse.hasCursor to love.mouse.isCursorSupported.
  238. * Renamed ParticleSystem:setAreaSpread to ParticleSystem:setEmissionArea.
  239. * Renamed love.errhand to love.errorhandler.
  240. * Renamed Source/SoundData/Decoder:getChannels to getChannelCount.
  241. * Renamed PrismaticJoint/RevoluteJoint:hasLimitsEnabled to areLimitsEnabled.
  242. * Renamed love.audio.getSourceCount to love.audio.getActiveSourceCount.
  243. * Renamed all get[Object]List functions to get[Object]s.
  244. * Removed the default source type for love.audio.newSource.
  245. * Removed variant of love.filesystem.newFileData which takes base64 data, use love.data.decode instead.
  246. * Removed the no-argument variant of Text:set, use Text:clear instead.
  247. * Removed love.graphics.getCompressedImageFormats, use love.graphics.getImageFormats instead.
  248. * Removed the 'void effects(...)' pixel shader entry point. Use the new 'void effect()' instead.
  249. * Removed Shader:getExternVariable, use Shader:hasUniform instead.
  250. * Removed love.graphics.newScreenshot, use love.graphics.captureScreenshot instead.
  251. * Removed deprecated enet function host:socket_get_address.
  252. * Removed functions deprecated in LÖVE 0.10.2:
  253. * Removed Shader:sendInt, Shader:sendBoolean, Shader:sentFloat, Shader:sendMatrix, and Shader:sendTexture (use Shader:send instead).
  254. * Removed love.window.isCreated (use love.window.isOpen instead).
  255. * Improved performance when drawing textures, shapes, lines, and points by automatically batching their draw calls together when possible.
  256. * Improved performance of Shader:send when the Shader is not active.
  257. * Improved performance of love.math.randomNormal when LuaJIT's JIT compiler is enabled.
  258. * Improved performance of love.filesystem.lines and File:lines, especially when reading from a file inside a zip/.love.
  259. * Changed all color values to be in the range 0-1, rather than 0-255.
  260. * Changed high-dpi functionality to require much less code (often none at all) for graphics to appear at the correct sizes and positions.
  261. * Changed love.graphics.print and friends to ignore carriage returns.
  262. * Changed the 'multiply' blend mode to error if not used with the 'premultiplied' blend alpha mode, since the formula only works with that anyway.
  263. * Changed some love.graphics, love.window, and love.event APIs to cause an error if a Canvas is active.
  264. * Changed stenciling functionality with a Canvas active to require stencil=true (or a custom stencil-formatted Canvas) to be set in setCanvas.
  265. * Changed Mesh:setDrawRange to take 'start' and 'count' parameters instead of 'min' and 'max'.
  266. * Changed the 'vsync' field of love.window.setMode and t.window in love.conf. It's now an integer with 0 disabling vsync.
  267. * Changed the audio playback APIs drastically.
  268. * Changed enet to no longer set the 'enet' global, again matching luasocket.
  269. * Changed Source seeking behaviour, all kinds of Sources now behave similarly when seeking past the boundaries.
  270. * Changed love.timer.step, it now returns dt.
  271. * Changed love.run and love.errhand to return a function for their main loop, which gets called until love quits.
  272. * Updated and improved command line argument handling.
  273. * Updated the boot sequence to show an error instead of the no-game screen, if a nonexistant folder is passed in as the source game directory.
  274. * Updated 'love.exe --version' on Windows to print to the parent console.
  275. * Updated Android print rerouting and JIT compilation disabling to apply inside threads.
  276. * Updated invalid enum value error messages to show a list of the valid enum values.
  277. * Updated Source:seek to work if the Source isn't playing.
  278. * Updated love.event.poll to stop allocating memory unnecessarily.
  279. * Updated love.math.random to have improved numeric distribution.
  280. * Updated love.graphics to support Core Profile OpenGL 3.3+ when available.
  281. * Updated shaders to always expose derivative functions (dFdx, dFdy, fwidth) when available in OpenGL ES.
  282. * Updated shaders to allow using VERTEX and PIXEL in shader code.
  283. * Updated love.graphics.circle/ellipse/arc/rectangle to take transformation scale into account when determining the number of segments to use.
  284. * Updated Font glyph generation to improve antialiasing.
  285. * Updated Canvas:newImageData to return an ImageData with a format that matches the Canvas' as closely as possible.
  286. * Updated love.graphics.newImage to treat file names ending with "@2x", "@3x", etc. as a pixel density scale factor if none is explicitly supplied.
  287. * Updated the error message when bad values are given to love.graphics.line.
  288. * Updated the maximum love.graphics transformation/state stack depth from 64 to 128.
  289. * Updated the default error handler to allow copying the error to the clipboard when the user decides to do so.
  290. * Updated love.filesystem.setRequirePath to support multiple template '?' characters in each path.
  291. * Updated luasocket to version 3.0rc1.
  292. * Updated love.joystick.loadGamepadMappings so it doesn't error when given an empty string.
  293. * Updated love.joystick.setGamepadMapping to use the controller's name for the new mapping when possible.
  294. * Fixed error in default error handler when the error message contains non UTF-8 bytes.
  295. * Fixed a memory leak when sending love objects to threads which never load that object's module.
  296. * Fixed a memory leak in enet when peer:send fails.
  297. * Fixed os.execute always returning -1 in Linux.
  298. * Fixed the default reference angle for WeldJoint, PrismaticJoint, and RevoluteJoint.
  299. * Fixed Fixture:getShape to reuse the existing internal Fixture-owned shape.
  300. * Fixed MouseJoint:setFrequency to error instead of crashing if a frequency of 0 is set.
  301. * Fixed love.system.set/getClipboardText to error instead of crashing, when a window hasn't been created.
  302. * Fixed Joystick:getGamepadMapping to work with xinput controllers.
  303. * Fixed love.joystick.setGamepadMapping's replacement code.
  304. * Fixed baseline calculation when rendering text.
  305. * Fixed VaryingTexCoords and love_ScreenSize in shaders to be 'highp' in OpenGL ES, when supported.
  306. * Fixed ParticleSystem:setParticleLifetime to error if a negative value is given.
  307. * Fixed Shader:send and Shader:sendColor ignoring the last argument for an array.
  308. * Fixed a crash when love.graphics.pop is called after a love.window.setMode while the transformation stack was not empty.
  309. * Fixed love.window.isMaximized.
  310. * Fixed video playback to work with a wider range of Ogg Theora files.
  311. * Fixed video seeking to be faster.
  312. * Fixed BezierCurves to error instead of hanging in some situations.
  313. * Fixed compilation of luasocket with newer luajit 2.1.0 beta versions.
  314. LOVE 0.10.2 [Super Toast]
  315. -------------------------
  316. Released: 2016-10-31
  317. * Added lovec.exe in Windows. It is the same as love.exe but built with the Console subsystem, so it always uses or provides a console.
  318. * Added the ability to restart the game via love.event.quit("restart").
  319. * Added support for passing a table to love.mouse.isDown, love.keyboard.isDown, love.keyboard.isScancodeDown, Joystick:isDown, and Joystick:isGamepadDown.
  320. * Added love.window.isMaximized.
  321. * Added 'shaderswitches' field to the table returned by love.graphics.getStats.
  322. * Added Quad:getTextureDimensions.
  323. * Added 'ellipse' area distribution to ParticleSystems.
  324. * Added support for BC4-7 compressed texture formats in KTX files.
  325. * Added PrismaticJoint:getAxis and WheelJoint:getAxis.
  326. * Added 2-point version of love.physics.newRevoluteJoint.
  327. * Added table variants of Fixture:setCategory and Fixture:setMask.
  328. * Added getNextVertex and getPreviousVertex to ChainShape and EdgeShape.
  329. * Added optional reference angle arguments to RevoluteJoint, PrismaticJoint, and WeldJoint constructors.
  330. * Added RevoluteJoint:getReferenceAngle, PrismaticJoint:getReferenceAngle, and WeldJoint:getReferenceAngle.
  331. * Deprecated undocumented Shader:sendTexture, Shader:sendMatrix, Shader:sendInt, and Shader:sendFloat functions.
  332. * Fixed love on iOS 6.
  333. * Fixed os.execute always returning -1 on Linux.
  334. * Fixed the love.lowmemory callback to call collectgarbage() after the callback has fired, instead of before.
  335. * Fixed love.math.noise(nil) to error instead of returning nil.
  336. * Fixed an occasional crash when a Thread ends.
  337. * Fixed a hang at the end of video playback with some video files.
  338. * Fixed the video decoding thread to not do any work when there are no videos to decode.
  339. * Fixed love.graphics.newVideo(file) to no longer error if love.audio is disabled.
  340. * Fixed a rare bug in Source:play for streaming Sources if the associated OpenAL source object was previously used for a static Source.
  341. * Fixed corrupted Font glyphs in rare cases.
  342. * Fixed stencils inside Canvases on some OpenGL ES 2 devices.
  343. * Fixed an OpenGL error in OpenGL ES 3 when multiple render targets are used.
  344. * Fixed love.window.setMode crashing when called with a Canvas active.
  345. * Fixed love.window.maximize to update the reported window dimensions immediately.
  346. * Fixed gamma correction of ImageFonts and BMFonts with colored images.
  347. * Fixed the default shader improperly applying gamma correction to per-vertex colors when gamma correction is requested but not supported on OpenGL ES.
  348. * Fixed text coloring breaking because of an empty string.
  349. * Fixed large burst of particles when dramatically increasing the emission rate of a ParticleSystem.
  350. * Fixed SpriteBatch:setBufferSize to keep old sprite data if it can fit.
  351. * Fixed MouseJoint:getBodies unconditionally erroring.
  352. * Fixed memory leak in Text:set.
  353. * Fixed incorrect kerning caused by using kerning information for the wrong character in some fonts.
  354. * Fixed ImageData:setPixel/getPixel/mapPixel and SoundData:setSample/getSample to properly handle non-integer coordinates.
  355. * Improved performance of Channel methods by roughly 2x in many cases.
  356. * Improved performance of Shader:send when small numbers of arguments are given.
  357. * Updated love.filesystem.mount to accept a DroppedFile as the first parameter.
  358. * Updated Shader:send to do type and argument checking based on the specified uniform variable's information instead of the arguments to the function.
  359. * Updated Shader:send to accept a flat table for matrix uniforms.
  360. LOVE 0.10.1 [Super Toast]
  361. -------------------------
  362. Released: 2016-02-14
  363. * Added a new love.conf flag t.externalstorage, which determines whether files are saved in internal or external storage on Android devices.
  364. * Added a new variant of love.graphics.arc which can draw different types of arcs ("pie", "open", or "closed").
  365. * Added "lighten" and "darken" BlendModes. They can only be used with the "premultiplied" BlendAlphaMode.
  366. * Added the "lighten" GraphicsFeature constant.
  367. * Added the ability to avoid clearing specific Canvases when calling love.graphics.clear, if multiple Canvases are active at once via love.graphics.setCanvas.
  368. * Added Text:getDimensions.
  369. * Added optional "collideconnected" argument to love.physics.newMotorJoint.
  370. * Fixed a Lua error in the no-game screen if the window's height is too small.
  371. * Fixed the default error handler to reset the mouse Cursor.
  372. * Fixed love.filesystem functions crashing when called if liblove is used directly without calling love.filesystem.init.
  373. * Fixed audio on Android to pause when the app is inactive, and resume when the app becomes active again.
  374. * Fixed the Video decoding thread hanging after Video:seek or when a Video finishes.
  375. * Fixed Video:isPlaying to always return false after it finishes playing.
  376. * Fixed RandomGenerator:random crashing if a nil 'self' is used.
  377. * Fixed loading BMFont files which have characters with 0 width or height (a space character, for example).
  378. * Fixed love.graphics.newFont causing crashes if FileData is passed in.
  379. * Fixed love.graphics.clear(colortable) causing crashes on OpenGL ES 2 systems when a Canvas is active.
  380. * Fixed a driver bug on some Android devices which caused all objects to show up as black.
  381. * Fixed a driver bug on Windows with AMD graphics cards where love.graphics.clear would not always work.
  382. * Fixed Shader:sendColor incorrectly converting alpha values from sRGB to linear RGB when gamma-correct rendering is enabled.
  383. * Fixed love.graphics.newMesh(vertices) double-converting colors from sRGB to linear RGB when gamma-correct rendering is enabled.
  384. * Fixed love.graphics.new* crashing when there is no graphics context/window.
  385. * Updated the Windows executable to prefer the high-powered AMD graphics card on systems which have switchable Intel+AMD GPUs.
  386. * Updated love.touch.getTouches to return the list of IDs in the relative order that the touches initially happened, instead of being in a random order.
  387. * Updated the error messages caused by invalid or bad arguments to ImageData and SoundData methods to be more descriptive.
  388. LOVE 0.10.0 [Super Toast]
  389. -------------------------
  390. Released: 2015-12-22
  391. * Added an iOS port.
  392. * Added an Android port.
  393. * Added the flag t.accelerometerjoystick to love.conf. Disables accelerometer-as-joystick functionality on mobile devices when false.
  394. * Added the flag t.gammacorrect to love.conf (replaces t.window.srgb.) Enabling it globally enables gamma-correct rendering, when supported.
  395. * Added video playback support for Ogg Theora videos, via love.graphics.newVideo and Video objects.
  396. * Added love.video module. It is not used for displaying videos on-screen, only decoding them.
  397. * Added love.touch module. Note that it has important differences from the touch implementation in the LÖVE 0.9 Android and iOS ports.
  398. * Added love.touchpressed, love.touchreleased, and love.touchmoved.
  399. * Added love.system.vibrate.
  400. * Added love.filesystem.setRequirePath and love.filesystem.getRequirePath.
  401. * Added an optional program exit argument to love.event.quit.
  402. * Added love.filedropped and love.directorydropped event callback functions.
  403. * Added love.lowmemory event callback function, called when the app is running out of memory on mobile operating systems.
  404. * Added love.textedited event callback function, called when the user is compositing text (e.g. via an IME.)
  405. * Added love.wheelmoved event callback function (replaces "wu" and "wd" constants for love.mousepressed.)
  406. * Added love.mouse.hasCursor.
  407. * Added a boolean argument to love.mousepressed and love.mousereleased indicating whether the button event originated from a touch press.
  408. * Added optional x/y/width/height arguments to love.keyboard.setTextInput. They tell the system where text will show up so on-screen keyboards can avoid that area.
  409. * Added Source:getType (replaces Source:isStatic.)
  410. * Added Source:getDuration and Decoder:getDuration.
  411. * Added an optional string argument containing raw pixel byte data to the width/height variant of love.image.newImageData.
  412. * Added love.graphics.ellipse.
  413. * Added rounded-rectangle support to love.graphics.rectangle.
  414. * Added love.graphics.points (replaces love.graphics.point.)
  415. * Added love.graphics.intersectScissor.
  416. * Added an optional argument to love.graphics.setBlendMode which indicates whether to treat the colors of drawn objects as having pre-multiplied alpha.
  417. * Added love.graphics.getSupported (replaces love.graphics.isSupported.)
  418. * Added love.graphics.getSystemLimits (replaces love.graphics.getSystemLimit.)
  419. * Added love.graphics.stencil and love.graphics.set/getStencilTest (replaces love.graphics.setStencil.)
  420. * Added love.graphics.isActive.
  421. * Added color arguments to love.graphics.clear. It no longer always uses the background color value.
  422. * Added love.graphics.discard.
  423. * Added love.graphics.isGammaCorrect.
  424. * Added the "clampzero" WrapMode.
  425. * Added the ability to specify custom mipmaps when creating an image, via love.graphics.newImage(filename, {mipmaps={mip1, mip2, ...}})
  426. * Added optional x/y/width/height arguments to Image:refresh and Canvas:newImageData.
  427. * Added Image:getFlags.
  428. * Added one- and two-channel Canvas formats: r8, rg8, r16f, rg16f, r32f, and rg32f.
  429. * Added support for different formats in each Canvas when using multi-canvas rendering. Added the "multicanvasformats" Graphics Feature constant.
  430. * Added support for OpenGL ES 2 and 3.
  431. * Added support for loading ETC, EAC, PVRTC, and ASTC compressed textures on systems that support them.
  432. * Added custom vertex attribute support for Meshes via new variants of love.graphics.newMesh.
  433. * Added Mesh:setVertexAttribute and Mesh:getVertexAttribute.
  434. * Added Mesh:getVertexFormat.
  435. * Added Mesh:flush.
  436. * Added an optional 'startvertex' argument to Mesh:setVertices.
  437. * Added the ability for love.graphics.newMesh and Mesh:setVertices to accept a Data object.
  438. * Added Mesh:setAttributeEnabled and Mesh:isAttributeEnabled.
  439. * Added Mesh:attachAttribute.
  440. * Added SpriteBatch:attachAttribute.
  441. * Added Shader:sendColor.
  442. * Added new shader functions: gammaCorrectColor, gammaToLinear, and linearToGamma. The functions also have 'precise' and 'fast' variants.
  443. * Added Text objects and love.graphics.newText.
  444. * Added per-character color support to love.graphics.print/printf and to Text objects.
  445. * Added BMFont bitmap font file support to love.graphics.newFont and love.font.
  446. * Added kerning support for TrueType/OpenType and BMFont Fonts.
  447. * Added an optional font hinting argument to love.graphics.newFont when loading TrueType fonts.
  448. * Added an optional spacing argument to love.graphics.newImageFont, which applies additional spacing to all rendered glyphs.
  449. * Added Font:setFallbacks.
  450. * Added love.window.maximize.
  451. * Added love.window.close.
  452. * Added love.window.requestAttention.
  453. * Added love.window.setDisplaySleepEnabled and love.window.isDisplaySleepEnabled.
  454. * Added BezierCurve:renderSegment and BezierCurve:removeControlPoint.
  455. * Added BezierCurve:getSegment.
  456. * Added love.math.compress and love.math.decompress.
  457. * Added Channel:performAtomic.
  458. * Changed love.mousepressed, love.mousereleased, and love.mouse.isDown to use button numbers instead of named button constants.
  459. * Changed love.keypressed to be love.keypressed(key, scancode, isrepeat).
  460. * Changed love.keyreleased to be love.keyreleased(key, scancode).
  461. * Changed Font:getWrap's second return value to be a table containing the text split into lines.
  462. * Changed love.graphics.newImage's optional second argument to be a table of flags (flags are "mipmaps" and "linear".)
  463. * Changed the arguments for the standard variants of love.graphics.newMesh to newMesh(vertices [, drawmode, usage]) and newMesh(vertexcount [, drawmode, usage]).
  464. * Changed ImageData:encode to return a FileData object. ImageData:encode's first parameter is now the format to encode to, and the second parameter is an optional filename to write to.
  465. * Renamed the "normal" Fullscreen Type to "exclusive".
  466. * Renamed the DistanceModel constants "inverse clamped", "linear clamped", and "exponent clamped" to "inverseclamped", "linearclamped", and "exponentclamped".
  467. * Renamed the "additive", "subtractive", and "multiplicative" BlendModes to "add", "subtract", and "multiply".
  468. * Renamed the KeyConstant and Scancode representing the spacebar from " " to "space".
  469. * Renamed File:eof to File:isEOF.
  470. * Renamed Canvas:getImageData to Canvas:newImageData.
  471. * Renamed love.image's CompressedData type to CompressedImageData.
  472. * Removed callback variant of love.filesystem.getDirectoryItems.
  473. * Removed the "wu" and "wd" constants for love.mousepressed (replaced by love.wheelmoved.)
  474. * Removed the named mouse button constants (replaced by button numbers.)
  475. * Removed Source:isStatic (replaced by Source:getType.)
  476. * Removed image loading support for all (non-compressed texture) file formats except for PNG, JPEG, TGA, and BMP.
  477. * Removed JPEG encoding support from ImageData:encode.
  478. * Removed love.graphics.point (replaced by love.graphics.points.)
  479. * Removed love.graphics.setPointStyle and love.graphics.getPointStyle.
  480. * Removed love.graphics.isSupported (replaced by love.graphics.getSupported.)
  481. * Removed love.graphics.getSystemLimit (replaced by love.graphics.getSystemLimits.)
  482. * Removed love.graphics.setStencil (replaced by love.graphics.stencil and love.graphics.setStencilTest.)
  483. * Removed the "canvas", "shader", "npot", "subtractive", and "mipmap" Graphics Feature constants (the features always have guaranteed support now.)
  484. * Removed the "multicanvas" Graphics Feature constant (use love.graphics.getSystemLimits instead.)
  485. * Removed the "srgb" Graphics Feature constant (use love.graphics.isGammaCorrect() or love.graphics.getCanvasFormats().srgb instead.)
  486. * Removed the "srgb" flag in love.window.setMode and in the t.window table in love.conf (Replaced by t.gammacorrect.)
  487. * Removed the "premultiplied" blend mode (love.graphics.setBlendMode("alpha", "premultiplied") now does the same thing.)
  488. * Removed Canvas:getPixel (use Canvas:newImageData instead.)
  489. * Removed Canvas:clear (use love.graphics.clear instead.)
  490. * Removed Mesh:getVertices.
  491. * Removed Mesh:setVertexColors and Mesh:hasVertexColors (use Mesh:setAttributeEnabled("VertexColor", enable) instead.)
  492. * Removed functions deprecated in LOVE 0.9.1 and 0.9.2:
  493. * Removed love.graphics.getMaxImageSize and love.graphics.getMaxPointSize (replaced by love.graphics.getSystemLimits.)
  494. * Removed Mesh:set/getImage, SpriteBatch:set/getImage, and ParticleSystem:set/getImage (replaced by set/getTexture.)
  495. * Removed SpriteBatch:bind/unbind.
  496. * Removed Canvas:getFSAA and the "fsaa" flag in love.conf and love.window.setMode (replaced by Canvas:getMSAA and "msaa".)
  497. * Removed the "dxt" and "bc5" Graphics Feature constant (replaced by love.graphics.getCompressedImageFormats.)
  498. * Removed the "hdrcanvas" Graphics Feature constant (replaced by love.graphics.getCanvasFormats.)
  499. * Removed love.window.getWidth/getHeight/getDimensions (use love.graphics.getWidth/getHeight/getDimensions or love.window.getMode instead.)
  500. * Fixed utf8.char.
  501. * Fixed detection of fused love games.
  502. * Fixed World:getCallbacks and World:getContactFilter when used in coroutines.
  503. * Fixed crashes when objects which store Lua callback functions are garbage collected after being used in coroutines.
  504. * Fixed memory leaks in love.physics if World:destroy is never called. When a World is GCed it now destroys all objects it owns.
  505. * Fixed love.keyboard.getKeyFromScancode crashing when an invalid scancode is given.
  506. * Fixed decoding of 8-bit WAV files.
  507. * Fixed a crash issue when rewinding streaming ogg Sources, when certain versions of libvorbis are used.
  508. * Fixed love.audio.stop() not rewinding streaming Sources.
  509. * Fixed the stencil buffer in Canvases when an unsupported MSAA value is used to create the Canvas.
  510. * Fixed Canvas:renderTo to restore the previous Canvas if an error occurs in the passed function.
  511. * Fixed love.graphics.draw(canvas) to cause an error if that Canvas is the active one.
  512. * Fixed Mesh:getVertexMap to return nil rather than an empty table, if no vertex map has been set.
  513. * Fixed love.graphics.getColorMask.
  514. * Fixed the default offset for particles when ParticleSystem:setQuads or ParticleSystem:setTexture is used.
  515. * Fixed love.graphics.shear resetting all love.graphics transformations.
  516. * Fixed the "add" and "subtract" blend modes to no longer modify the alpha of the Canvas / screen.
  517. * Improved the performance of World:rayCast and World:queryBoundingBox.
  518. * Improved the performance of love.graphics.line and other line drawing functions, when the "smooth" LineStyle is used.
  519. * Improved the performance of Shader:send when matrices are used.
  520. * Improved the performance of ImageData and SoundData methods when LuaJIT's JIT compiler is enabled, by using efficient FFI code.
  521. * Improved the performance of love.math.noise, love.math.gammaToLinear, love.math.linearToGamma, love.math.random, and RandomGenerator:random when LuaJIT's JIT compiler is enabled.
  522. * Updated the compatibility warning notice to use a message box and to show the version specified in love.conf.
  523. * Updated the compatibility warning notice to display before main.lua is loaded.
  524. * Updated the __tostring metamethod of love objects to output the pointer value, similar to tostring(table).
  525. * Updated World:setCallbacks, World:setContactFilter, World:queryBoundingBox, and World:rayCast to have improved argument type checking.
  526. * Updated threads to load love.filesystem automatically.
  527. * Updated love.filesystem to enable symlinks by default.
  528. * Updated love.math.setRandomSeed and RandomGenerator:setSeed to produce better results for the first few random() calls.
  529. * Updated love.math.random and RandomGenerator:random to produce slightly better results in general.
  530. * Updated Source methods that deal with spatial audio to error rather than failing silently if the Source isn't mono.
  531. * Updated the 3D and 4D variants of love.math.noise to use Perlin noise rather than Simplex noise, to avoid patent issues.
  532. * Updated ImageFonts to no longer treat separator pixels as spacing.
  533. * Updated the default font to use less memory.
  534. * Updated the behavior of text wrapping with love.graphics.printf and Font:getWrap to work better.
  535. * Updated love.graphics.print and love.graphics.printf to no longer automatically round the x and y position arguments.
  536. * Updated some error messages for love.graphics.newImage to be more descriptive.
  537. * Updated love.graphics color functions to automatically apply love.math.gammaToLinear to color values when gamma-correct rendering is enabled.
  538. * Updated the 'normal' Canvas format to internally use 'srgb' rather than 'rgba8' when gamma-correct rendering is enabled.
  539. * Updated love.graphics.setColor to affect all drawn objects, including ParticleSystems, SpriteBatches, and Meshes.
  540. * Updated the default fullscreen type to be "desktop" rather than "exclusive".
  541. * Updated the minimum runtime system requirements of LOVE to require OpenGL 2.1 or OpenGL ES 2 support.
  542. * Updated the pixel shader effect function so screen_coords.y is 0 at the top of the screen instead of the bottom.
  543. * Updated Images to require setting the mipmaps flag to true on creation in order to use mipmaps.
  544. * Updated Images to allow mipmaps for non-power-of-two sizes.
  545. LOVE 0.9.2 [Baby Inspector]
  546. ---------------------------
  547. Released: 2015-02-14
  548. * Added Lua 5.3's UTF-8 module (via utf8 = require("utf8")).
  549. * Added Shader:getExternVariable.
  550. * Added several new canvas texture formats.
  551. * Added love.graphics.getCanvasFormats.
  552. * Added love.graphics.getCompressedImageFormats.
  553. * Added ParticleSystem:setQuads.
  554. * Added ParticleSystem:setLinearDamping.
  555. * Added SpriteBatch:flush.
  556. * Added love.graphics.getStats.
  557. * Added "mirroredrepeat" wrap mode.
  558. * Added love.audio.setDopplerScale and love.audio.getDopplerScale.
  559. * Added optional duration argument to Joystick:setVibration.
  560. * Added love.joystick.loadGamepadMappings and love.joystick.saveGamepadMappings.
  561. * Added Joint:setUserData and Joint:getUserData.
  562. * Added Joint:getBodies.
  563. * Added GearJoint:getJoints.
  564. * Added Contact:getFixtures and Body:getContactList.
  565. * Added Body:getWorld.
  566. * Added Body:getJointList.
  567. * Added Body/Contact/Fixture/Joint/World:isDestroyed.
  568. * Added love.mousemoved event callback.
  569. * Added love.mouse.setRelativeMode and love.mouse.getRelativeMode.
  570. * Added Scancode enums, love.keyboard.getKeyFromScancode, and love.keyboard.getScancodeFromKey.
  571. * Added love.window.getDisplayName.
  572. * Added love.window.minimize.
  573. * Added love.window.showMessageBox.
  574. * Added 'refreshrate' field to the table returned by love.window.getMode.
  575. * Added love.window.toPixels and love.window.fromPixels.
  576. * Added love.window.setPosition and love.window.getPosition, and 'x' and 'y' fields to love.window.setMode and t.window in love.conf.
  577. * Added love.filesystem.isSymlink, love.filesystem.setSymlinksEnabled, and love.filesystem.areSymlinksEnabled.
  578. * Added love.filesystem.getRealDirectory.
  579. * Deprecated SpriteBatch:bind and SpriteBatch:unbind.
  580. * Deprecated all uses of the name 'FSAA' in favor of 'MSAA'.
  581. * Deprecated the 'hdrcanvas' graphics feature enum in favor of getCanvasFormats.
  582. * Deprecated the 'dxt' and 'bc5' graphics feature enums in favor of getCompressedImageFormats.
  583. * Fixed crashes when love objects are used in multiple threads.
  584. * Fixed love.filesystem.setIdentity breaking in some situations when called multiple times.
  585. * Fixed the default love.filesystem identity when in Fused mode in Windows.
  586. * Fixed love.system.openURL sometimes blocking indefinitely on Linux.
  587. * Fixed love.joystick.setGamepadMapping.
  588. * Fixed the order of vertices in ChainShapes.
  589. * Fixed love.mouse.getPosition returning outdated values if love.mouse.setPosition is used in the same frame.
  590. * Fixed love.graphics.newFont to error when given an invalid size argument.
  591. * Fixed the filename and backtrace given when love.graphics.print errors.
  592. * Fixed a small memory leak if love.graphics.newCanvas errors.
  593. * Fixed shader:getWarnings returning unnecessary information.
  594. * Fixed some cases of noncompliant shader code not properly erroring on some nvidia drivers.
  595. * Fixed a potential crash when Shader objects are garbage collected.
  596. * Fixed a potential small memory leak triggered when love.graphics.newShader errors.
  597. * Fixed love.graphics.newMesh(vertexcount, ...) causing the Mesh to do instanced rendering.
  598. * Fixed Mesh:getVertexMap.
  599. * Fixed Image:refresh generating mipmaps multiple times if mipmap filtering is enabled.
  600. * Fixed Image:setMipmapFilter to not keep bad state around if it errors.
  601. * Fixed Mesh:setDrawRange when the Mesh has a vertex map set.
  602. * Fixed internal detection of the 'position' and 'effect' shader functions.
  603. * Fixed Texture memory leak when Meshes are garbage collected.
  604. * Fixed the default line join mode to be 'miter' instead of an undefined value.
  605. * Fixed the default error handler text size when highdpi mode is enabled on a Retina monitor.
  606. * Fixed the default error handler background color when sRGB mode is enabled for the window.
  607. * Fixed love.window.setMode to fall back to the largest available mode if a width or height greater than the largest supported is specified and fullscreen is used.
  608. * Fixed the state of wireframe mode when love.window.setMode is called.
  609. * Fixed Canvas:getPixel to error if the coordinates are not within the Canvas' size.
  610. * Fixed detection of compressed textures to work regardless of the file's extension.
  611. * Renamed all cases of FSAA to MSAA. The FSAA names still exist for backward-compatibility.
  612. * Updated the Windows executable to automatically prefer the higher performance GPU on nvidia Optimus systems.
  613. * Updated the --console command-line argument in Windows to open the console before conf.lua is loaded.
  614. * Updated t.console and the --console command-line argument in Windows to use the existing Console window, if love was launched from one.
  615. * Updated the love executable to verify that the love library's version matches.
  616. * Updated the Lua wrapper code for modules to avoid crashes when the module's instance is created, deleted, and recreated.
  617. * Updated internal code for handling garbage collection of love objects to be more efficient.
  618. * Updated love's initialization code to trigger a Lua error if love.conf has an error in it.
  619. * Updated the paths returned by love.filesystem.getSaveDirectory and friends to strip double-slashes from the string.
  620. * Updated the error message when love.filesystem.write or File:open fails because the directory doesn't exist.
  621. * Updated the error message when love.math.setRandomseed(0) is attempted.
  622. * Updated the error message when invalid UTF-8 strings are used in love functions that expect UTF-8.
  623. * Updated love.physics.newPolygonShape and love.physics.newChainShape to accept a table of vertices.
  624. * Updated love.physics.newChainShape to error if the number of arguments is invalid.
  625. * Updated love.thread.newThread to accept a literal string of code directly.
  626. * Updated love-created threads to use names visible in external debuggers.
  627. * Updated SpriteBatch:unbind to use less VRAM if the SpriteBatch has the static usage hint.
  628. * Updated love.graphics.newImage, love.image.newImageData, etc. to leave less Lua-owned memory around.
  629. * Updated love.graphics.push to accept different stack types to push. Current types are "transform" and "all".
  630. * Updated love shaders to accept GLSL ES precision qualifiers on variables, although they do nothing.
  631. * Updated the error message for love.graphics.newShader to be less cryptic if an invalid filename is given.
  632. * Updated compressed texture loading code to allow BC6 and BC7 compressed textures (if the graphics driver supports them.)
  633. LOVE 0.9.1 [Baby Inspector]
  634. ---------------------------
  635. Released: 2014-04-01
  636. * Added Source:clone.
  637. * Added blend mode "screen".
  638. * Added ParticleSystem:clone.
  639. * Added ParticleSystem:moveTo, has smoother emitter movement compared to setPosition.
  640. * Added ParticleSystem:setRelativeRotation.
  641. * Added love.graphics.setWireframe for debugging.
  642. * Added Mesh:setDrawRange and Mesh:getDrawRange.
  643. * Added CircleShape:getPoint and CircleShape:setPoint.
  644. * Added Mesh/SpriteBatch/ParticleSystem:setTexture, accepts Canvases and Images.
  645. * Added high-dpi window support for Retina displays in OS X, via the 'highdpi' window flag.
  646. * Added love.window.getPixelScale.
  647. * Added love.graphics.getSystemLimit.
  648. * Added antialiasing support to Canvases.
  649. * Added Canvas:getFSAA.
  650. * Added 'love_ScreenSize' built-in variable in shaders.
  651. * Added love.getVersion.
  652. * Added support for gamma-correct rendering.
  653. * Added love.graphics.isSupported("srgb").
  654. * Added love.math.gammaToLinear and love.math.linearToGamma.
  655. * Added RandomGenerator:getState and RandomGenerator:setState.
  656. * Added Body:setUserData and Body:getUserData.
  657. * Added some missing obscure key constants.
  658. * Added optional callback function argument to love.filesystem.getDirectoryItems.
  659. * Added love.system.openURL.
  660. * Deprecated Mesh/SpriteBatch/ParticleSystem:setImage.
  661. * Deprecated love.graphics.getMaxImageSize and love.graphics.getMaxPointSize.
  662. * Fixed love.graphics.scale with negative values causing incorrect line widths.
  663. * Fixed Joystick:isDown using 0-based button index arguments.
  664. * Fixed Source:setPitch to error when infinity or NaN is given.
  665. * Fixed love.graphics.setCanvas() to restore the proper viewport and scissor rectangles.
  666. * Fixed TrueType font glyphs which request a monochrome bitmap pixel mode.
  667. * Fixed love.graphics.reset causing crashes when called in between love.graphics.push/pop.
  668. * Fixed tab characters ("\t") to display properly with love.graphics.print.
  669. * Fixed love.graphics.isCreated to return false when love.window.setMode fails completely.
  670. * Fixed love.window.setMode to not destroy OpenGL resources before checking whether a fullsceren size is supported.
  671. * Fixed World:getBodyList and World:getJointList causing hard crashes.
  672. * Fixed loading BC4 compressed textures.
  673. * Fixed SoundData objects being initialized with garbage values.
  674. * Fixed 8-bit SoundData samples when used in love.audio Sources.
  675. * Updated the error text for love.filesystem’s module searchers when require fails.
  676. * Updated the love.filesystem module searchers to be tried after package.preload instead of before.
  677. * Updated love.graphics.newParticleSystem, newSpriteBatch, and newMesh to accept Canvases.
  678. * Updated Canvas drawing code, texture coordinates are no longer flipped vertically.
  679. * Updated Canvas:renderTo to work properly if a Canvas is currently active.
  680. * Updated ParticleSystem:setEmissionRate to accept non-integer numbers.
  681. * Updated Source:play to return a boolean indicating success.
  682. * Updated t.console in conf.lua to create the console before modules are loaded in Windows.
  683. * Updated Mesh vertex maps (index buffers) to use less space in VRAM.
  684. * Updated love.graphics.newMesh and Mesh:setVertices to default the UV parameters to 0,0.
  685. * Updated Fixture:set/getUserData to work in Coroutines.
  686. * Updated fullscreen-desktop and resizable window modes in OS X to use Mac OS 10.7's fullscreen Spaces.
  687. * Updated love.filesystem's C library loader to look in paths added via love.filesystem.mount, in Fused mode.
  688. * Updated the default love.run code to make initial love.math.random calls more random.
  689. LOVE 0.9.0 [Baby Inspector]
  690. ---------------------------
  691. Released: 2013-12-13
  692. * Added better multiplayer networking support via ENet.
  693. * Added --fused command line argument, to simulate fusing.
  694. * Added liblove.
  695. * Added the ability to have exit values.
  696. * Added exit value of 1 in case of error by default.
  697. * Added basic support for the file:// uri scheme.
  698. * Added love.filesystem.isFused.
  699. * Added love.filesystem.getIdentity.
  700. * Added love.filesystem.append.
  701. * Added love.filesystem.getSize.
  702. * Added love.filesystem.mount and love.filesystem.unmount.
  703. * Added optional file search order parameter to love.filesystem.setIdentity.
  704. * Added File:isOpen and File:getMode.
  705. * Added Fie:setBuffer, File:getBuffer, and File:flush.
  706. * Added textinput event for unicode text input.
  707. * Added love.keyboard.setTextInput and love.keyboard.hasTextInput.
  708. * Added previously internal Rasterizer and GlyphData object methods.
  709. * Added support for UTF-8 ImageFonts.
  710. * Added Font:getAscent/getDescent/getBaseline.
  711. * Added Font:setFilter/getFilter.
  712. * Added Font:hasGlyphs.
  713. * Added angle, scale, and shear parameters to love.graphics.printf.
  714. * Added HDR canvas support.
  715. * Added mipmapping support (has isSupported test).
  716. * Added vertex shader support.
  717. * Added boolean support to Shader:send.
  718. * Added Canvas:getPixel.
  719. * Added blend mode "replace".
  720. * Added line join modes.
  721. * Added Mesh objects, allowing for arbitrary textured polygons.
  722. * Added multiple render target support to love.graphics.setCanvas.
  723. * Added love.graphics.setColorMask.
  724. * Added love.graphics.origin.
  725. * Added love.graphics.getRendererInfo.
  726. * Added love.graphics.getMaxImageSize.
  727. * Added SpriteBatch:getCount and SpriteBatch:getBufferSize.
  728. * Added SpriteBatch:getColor.
  729. * Added ParticleSystem:emit.
  730. * Added ParticleSystem:setInsertMode and ParticleSystem:getInsertMode.
  731. * Added many ParticleSystem getter methods.
  732. * Added DXT compressed texture support via love.image.newCompressedData.
  733. * Added love.image.isCompressed and Image:isCompressed.
  734. * Added Image/Canvas/ImageData:getDimensions.
  735. * Added anisotropic filtering support for Images, Canvases, and Fonts.
  736. * Added Image:refresh.
  737. * Added Image:getData.
  738. * Added SoundData:getDuration and SoundData:getSampleCount.
  739. * Added Source:isPlaying.
  740. * Added Source:setRelative and Source:isRelative.
  741. * Added Source:setCone and Source:getCone.
  742. * Added Source:getChannels.
  743. * Added new Channels API for love.thread.
  744. * Added limited table support to Channel:push.
  745. * Added Thread:getError.
  746. * Added Thread:isRunning.
  747. * Added threaderror event.
  748. * Added love.math module.
  749. * Added a platform-independent (good) random implementation to love.math.
  750. * Added RandomGenerator objects.
  751. * Added BezierCurve objects.
  752. * Added love.math.triangulate and love.math.isConvex.
  753. * Added love.math.noise.
  754. * Added love.timer.getAverageDelta.
  755. * Added Data:getString.
  756. * Added Contact:getChildren.
  757. * Added love.system module.
  758. * Added love.system.getClipboardText and love.system.setClipboardText.
  759. * Added love.system.getOS and love.system.getProcessorCount.
  760. * Added love.window module.
  761. * Added love.window.isVisible.
  762. * Added flags to love.window.setMode.
  763. * Added monitor choosing support to love.window.setMode.
  764. * Added support for resizable, borderless, and non-centered windows.
  765. * Added support for "fullscreen-desktop" mode.
  766. * Added window resize and visible events.
  767. * Added love.window.getDimensions.
  768. * Added love.window.getIcon.
  769. * Added t.window.icon to love.conf.
  770. * Added love.mousefocus and love.window.hasMouseFocus.
  771. * Added custom hardware cursors via love.mouse.newCursor.
  772. * Added love.mouse.setX/setY.
  773. * Added Joystick objects.
  774. * Added love.joystick.getJoystick.
  775. * Added joystick connect and disconnect events.
  776. * Added joystickaxis and joystickhat events.
  777. * Added unified Gamepad API for joysticks which have a similar layout to the Xbox controller.
  778. * Added joystick vibration support, works with most common gamepads.
  779. * OPTIONAL: Added support for Game Music Emu.
  780. * Fixed fused mode in OS X.
  781. * Fixed printing to the console in Windows before love.load is called.
  782. * Fixed the default love.run to not include the time taken by love.load in the first frame's dt.
  783. * Fixed the error screen not always appearing until the next input event.
  784. * Fixed love.event.clear.
  785. * Fixed love.mouse.setPosition when called in love.load.
  786. * Fixed scaling in several love.physics functions.
  787. * Fixed Box2D exception in World:update.
  788. * Fixed many uncaught Box2D / love.physics exceptions for Bodies and Joints.
  789. * Fixed ChainShape:getPoints running out of Lua stack space and crashing.
  790. * Fixed File:read reading past end of file.
  791. * Fixed love.filesystem.setIdentity not removing read access from old directories.
  792. * Fixed possible memory leak in utf-8 decoder.
  793. * Fixed spacing for the last character in an ImageFont.
  794. * Fixed line wrapping in love.graphics.printf.
  795. * Fixed love.graphics.printf to error if the wrap limit is negative.
  796. * Fixed love.graphics.print truncating strings with embedded zeros.
  797. * Fixed crashes with font drawing on some ATI cards.
  798. * Fixed artifacts when drawing lines at huge scale.
  799. * Fixed Fonts and Canvases ignoring default image filter.
  800. * Fixed scissor boxes when a canvas is set after love.graphics.setScissor is called.
  801. * Fixed love.graphics.getLineWidth returning incorrect values.
  802. * Fixed love.graphics.getColor on some Windows systems.
  803. * Fixed alpha blend mode.
  804. * Fixed multiplicative blend mode.
  805. * Fixed love.graphics.getPointStyle.
  806. * Fixed line numbers in shader errors.
  807. * Fixed Shader:send with Images and Canvases failing sometimes.
  808. * Fixed Shader:send to keep a reference to sent Images and Canvases.
  809. * Fixed crash when binding SpriteBatches multiple times.
  810. * Fixed SpriteBatches with more than 16,384 sprites.
  811. * Fixed particle draw order for ParticleSystems.
  812. * Fixed ParticleSystem:setSizes resetting the size variation.
  813. * Fixed the graphics viewport not matching the window size when using an unsupported fullscreen mode.
  814. * Fixed getMode and friends returning wrong values when using desktop size.
  815. * Fixed keyrepeat settings being lost after (indirect) setMode.
  816. * Fixed the icon being reset after setMode.
  817. * Fixed memory leak in the mp3 decoder.
  818. * Fixed sound issues with some versions of OpenAL soft, by enabling direct channels.
  819. * Fixed 'random' hangs in audio.
  820. * Fixed love.sound.newDecoder not accepting FileData.
  821. * Fixed case (in)sensitivity of sound file extension parsing.
  822. * Fixed looping support in tracker music formats.
  823. * Fixed skipping/looping issues when playing streaming audio Sources.
  824. * Fixed race condition in Source:play.
  825. * Fixed WAVE sound playback.
  826. * Moved love's startup to modules/love.
  827. * Moved window-related functions from love.graphics to love.window.
  828. * Renamed love's boot script to 'love.boot', which can be required.
  829. * Renamed love.filesystem.mkdir to love.filesystem.createDirectory.
  830. * Renamed love.filesystem.enumerate to love.filesystem.getDirectoryItems.
  831. * Renamed World:setAllowSleeping to World:setSleepingAllowed.
  832. * Renamed ChainShape:setPrevVertex to ChainShape:setPreviousVertex.
  833. * Renamed Joint:enableMotor to Joint:setMotorEnabled.
  834. * Renamed Joint:enableLimit and Joint:isLimitEnabled to Joint:setLimitsEnabled and Joint:hasLimitsEnabled.
  835. * Renamed t.screen to t.window in love.conf.
  836. * Renamed love.graphics.setCaption to love.window.setTitle.
  837. * Renamed PixelEffect to Shader (but now with vertex shaders).
  838. * Renamed love.graphics.setDefaultImageFilter to love.graphics.setDefaultFilter.
  839. * Renamed ParticleSystem:setSprite to ParticleSystem:setImage.
  840. * Renamed ParticleSystem:setGravity to ParticleSystem:setLinearAcceleration.
  841. * Renamed ParticleSystem:setLifetime/setParticleLife to setEmitter/ParticleLifetime.
  842. * Renamed ParticleSystem:count and all getNum* functions to get*Count.
  843. * Renamed Source:setDistance to Source:setAttenuationDistances.
  844. * Renamed SoundData:getBits and Decoder:getBits to SoundData:getBitDepth and Decoder:getBitDepth.
  845. * Renamed love.mouse.setGrab to love.mouse.setGrabbed.
  846. * Removed release mode.
  847. * Removed love.keyboard.getKeyRepeat (see love.keyboard.hasKeyRepeat).
  848. * Removed the unicode argument from love.keypressed (see love.textinput).
  849. * Removed love.graphics.drawTest.
  850. * Removed love.graphics.quad/triangle.
  851. * Removed love.graphics.setColorMode.
  852. * Removed love.graphics.newStencil.
  853. * Removed love.graphics.setLine/setPoint.
  854. * Removed love.graphics.drawq (functionality is merged into love.graphics.draw).
  855. * Removed SpriteBatch:addq/setq (functionality is merged into SpriteBatch:add/set).
  856. * Removed Quad:flip.
  857. * Removed ParticleSystem:isFull/isEmpty.
  858. * Removed ParticleSystem:getX/getY.
  859. * Removed love.graphics.checkMode.
  860. * Removed love.joystick.open and friends.
  861. * Removed love.joystick module functions which operated on individual joysticks (see Joystick objects).
  862. * Removed joystick ball support.
  863. * Removed thread names.
  864. * Removed old thread messaging API (see Channels).
  865. * Removed love.timer.getMicroTime.
  866. * Updated functions which return love objects to re-use the Lua-side object instead of always recreating it.
  867. * Updated the windows console, it now tries to re-use an active one first.
  868. * Updated error handling, error handlers now get resolved when the error occurs.
  869. * Updated order of sleep/present in love.run (now draws, *then* sleeps).
  870. * Updated love.filesystem to try to create the appdata directory if it doesn't exist yet.
  871. * Updated the default filesystem identity to omit file extension.
  872. * Updated love.filesystem.newFile to optionally open the file.
  873. * Updated most love.filesystem functions to return nil, error on internal failure.
  874. * Updated love.keyboard.setKeyRepeat to take a boolean argument instead of numbers.
  875. * Updated love.keypressed's second argument to be a boolean indicating key repeat.
  876. * Updated keyboard key constants for some more modern keyboard keys.
  877. * Updated window code to use adaptive vsync when available, if vsync is enabled.
  878. * updated love.graphics.print's x and y arguments to default to 0.
  879. * Updated the setFilter and setWrap methods, the second argument is now optional.
  880. * Updated Font and ParticleSystem rendering code, now more performant.
  881. * Updated SpriteBatch code, now more performant when adding/setting and (un)binding.
  882. * Updated Canvas code to support more systems.
  883. * Updated Canvas:getImageData and love.graphics.newScreenshot to be more efficient.
  884. * Updated love.graphics.newScreenshot to create a fully opaque image by default.
  885. * Updated error messages when sending bad values to Shaders.
  886. * Updated love.graphics.newParticleSystem to have a default buffer size of 1000.
  887. * Updated ImageData:setPixel to accept a table and default to 255 alpha.
  888. * Updated ImageData:mapPixel, is now more efficient and accepts optional x,y,w,h arguments.
  889. * Updated love.image memory handling, improves errors and thread-safety.
  890. * Updated all love object constructors to optionally accept FileData if they accept a filename.
  891. * Updated allocation for SoundData, it's more efficient and less wasteful.
  892. * Updated SoundData:set/getSample to error for invalid samples.
  893. * Updated Source:set* functions to default z to 0.
  894. * Updated Source:seek to error for negative offsets.
  895. * Updated Thread:start to accept arguments which get passed to the thread.
  896. * Updated love.timer.getFPS to be microsecond-accurate.
  897. * Updated love.timer.getTime to be microsecond-accurate and monotonic.
  898. * Updated Box2D to version 2.3.0.
  899. LOVE 0.8.0 [Rubber Piggy]
  900. -------------------------
  901. Released: 2012-04-02
  902. * Added release error screen.
  903. * Added alpha to love.graphics.setBackgroundColor.
  904. * Added Canvas:clear(r, g, b, a).
  905. * Added Canvas support to love.graphics.drawq.
  906. * Added Canvas:getWidth and Canvas:getHeight.
  907. * Added love.graphics.arc.
  908. * Added seek and tell to Source objects.
  909. * Added color interpolation to ParticleSystem.
  910. * Added automatic PO2 padding for systems not supporting the OpenGL extension.
  911. * Added UTF-8 support for fonts.
  912. * Added Box2D error handling for some commonly failing functions.
  913. * Added ability for fused release games to have their write dir in appdata.
  914. * Added shear transformation to drawing functions.
  915. * Added origin to font printing.
  916. * Added love.graphics.getMode.
  917. * Added per-sprite colors on SpriteBatches.
  918. * Added PixelEffects.
  919. * Added love.graphics.isSupported.
  920. * Added love.graphics.getCanvas.
  921. * Added love.event.quit.
  922. * Added stencil masks.
  923. * Added alternative SpriteBatch provider, it should work everywhere now.
  924. * Added a loader for binary modules.
  925. * Added Thread:getKeys.
  926. * Added option of fractions for Quads.
  927. * Added PNG, JPEG and GIF support to ImageData:encode.
  928. * Added 64-bit support for Mac OS X.
  929. * Added premultiplied blending mode.
  930. * Added functions to set/get default image filter modes.
  931. * Added SpriteBatch:set.
  932. * Added new events system, with support for custom events and long event names.
  933. * Added sound attenuation by distance.
  934. * Added SpriteBatch:getImage.
  935. * Added combine color mode.
  936. * Added automatic random seeding to love.run.
  937. * Added support for the subtract BlendMode on older graphics cards.
  938. * Added love._os field, which contains the OS the game is running on.
  939. * Fixed wrapping for single words.
  940. * Fixed tracebacks not showing filenames.
  941. * Fixed love.graphics.push/pop capable of causing overflows/underflows.
  942. * Fixed setScissor on Canvases.
  943. * Fixed several issues with audio, e.g. clicks and pops in mp3s.
  944. * Fixed crashes when bodies were destroyed during collisions.
  945. * Fixed bound SpriteBatches corrupting when drawing.
  946. * Fixed thread-safety issues with ImageData.
  947. * Fixed memory leaks in audio sources.
  948. * Fixed thread's set (previously send) accidentally changing the type.
  949. * Fixed SoundData allocating the wrong number of samples.
  950. * Fixed SpriteBatch support on Intel cards.
  951. * Fixed love.filesystem.lines() leaking.
  952. * Fixed most leaking on unclosed File objects.
  953. * Fixed crashes when operating on non-existent files.
  954. * Fixed a bug where empty files on windows would never reach eof.
  955. * Fixed crash when SoundData runs out of memory.
  956. * Fixed ordering of loaders, love should have priority over lua.
  957. * Fixed several miscellaneous memory leaks.
  958. * Fixed a few cases where strings with \0 in them would not be stored correctly.
  959. * Fixed love's startup time being in the first dt.
  960. * Fixed internal string conversions, they are faster now.
  961. * Fixed (bad) performance of ImageData:paste.
  962. * Fixed love.graphics.toggleFullscreen not maintaining graphics state.
  963. * Renamed SpriteBatch's lock/unlock to bind/unbind.
  964. * Renamed Framebuffer to Canvas.
  965. * Renamed love.thread.send/receive to set/get.
  966. * Renamed love.graphics.setRenderTarget to setCanvas.
  967. * Removed canvas auto-clearing.
  968. * Removed EncodedImageData.
  969. * Removed old syntax for require (with extension).
  970. * Removed love.graphics.setFont([file], [size]).
  971. * Removed Thread:kill.
  972. * Updated love.joystick to be 1-indexed.
  973. * Updated Sources to update more cleanly and control more intuitively.
  974. * Updated font engine.
  975. * Updated line drawing to a custom system.
  976. * Updated love.timer.sleep to use seconds, like the rest of love.
  977. * Updated love.timer to be more accurate.
  978. * Updated love.graphics.circle to have max(10, r) as default for segments.
  979. * Updated ImageData:encode to write to files directly.
  980. * Updated version compatibility system to actually do something.
  981. * Updated love.run's order, events are checked just before update.
  982. * Updated Box2D to version 2.2.1.
  983. LOVE 0.7.2 [Game Slave]
  984. -----------------------
  985. Released: 2011-05-04
  986. * Added Framebuffer:get/setWrap.
  987. * Added love.event.clear.
  988. * Added support for any number of arguments to love.keyboard.isDown, love.mouse.isDown and love.joystick.isDown.
  989. * Added SpriteBatch:setImage().
  990. * Fixed fused games not working.
  991. * Fixed ParticleSystem:setSize ignoring the variation argument.
  992. * Fixed some file-opening exceptions not being caught.
  993. * Fixed files loaded by libmodplug being too loud.
  994. * Fixed paths with periods in them not working.
  995. * Fixed love.graphics.getBlendMode not detecting subtractive and multiplicative blend modes.
  996. * Fixed crash when there was no memory available for newImageData(w, h).
  997. * Updated PhysicsFS version to 2.0.2 on Windows
  998. * Updated OpenAL Soft version to 1.13 on Windows
  999. * Updated libmodplug version to 0.8.8.1 on Windows
  1000. * Updated FreeType version to 2.4.4 on Windows
  1001. * Updated libmpg123 version to 1.13.2 on Windows
  1002. * Windows binary no longer depends on VC2005 runtime.
  1003. * Windows binary no longer depends on SSE2 support.
  1004. LOVE 0.7.1 [Game Slave]
  1005. -----------------------
  1006. Released: 2011-02-14
  1007. * Added source:isPaused()
  1008. * Added error when initial window can't be created.
  1009. * Added framebuffer filter modes.
  1010. * Added love.filesystem.getLastModified.
  1011. * Added filter modes for ImageFonts.
  1012. * Added dead key support by using "unknown" key with correct unicode value.
  1013. * Added 0 width and height in love.conf. (for current desktop resolution)
  1014. * Added alpha support when encoding TGA images.
  1015. * Fixed a lot of bugs regarding zero characters in threads.
  1016. * Fixed handling of a directory named "love" in current directory.
  1017. * Fixed a few unhandled errors in setScissor.
  1018. * Fixed a bug where old physics callbacks were never dereferenced.
  1019. * Fixed loss of mouse visibility settings on setMode.
  1020. * Fixed creation of a framebuffer unbinding current framebuffer.
  1021. * Fixed several race conditions in love.thread.
  1022. * Fixed 'love .', so it won't use lovedir/. as save dir.
  1023. * Fixed setLineHeight.
  1024. * Fixed extended ascii and ImageFonts.
  1025. * Fixed printf's line wrapping.
  1026. * Fixed crash when playing sounds.
  1027. * Fixed playback of mp3s with arbitrary sample rates.
  1028. * Fixed handling of negative indices in love.joystick.
  1029. * Fixed toggleFullscreen.
  1030. * Fixed unexpected behaviour with hash tables to love.graphics.line.
  1031. * Fixed mouse coordinates being capped after setMode.
  1032. * Fixed setFont's error handling on a non-existant file.
  1033. * Fixed issue where Windows builds would hard crash on Lua errors
  1034. * Removed custom sample rates for Decoders.
  1035. LOVE 0.7.0 [Game Slave]
  1036. -----------------------
  1037. Released: 2010-12-05
  1038. * Added love.thread.
  1039. * Added love.font.
  1040. * Added love.graphics.Framebuffer.
  1041. * Added Source:play, Source:pause, etc.
  1042. * Added Source:isStatic().
  1043. * Added get/setPosition, get/setVelocity, and get/setDirection to Source.
  1044. * Added get/setGroupIndex to CircleShape and PolygonShape.
  1045. * Added Font:getWrap.
  1046. * Added identity field to love.conf.
  1047. * Added love.quit callback.
  1048. * Added love.focus callback.
  1049. * Added extra meter parameter to love.physics.newWorld.
  1050. * Added love.graphics.setIcon.
  1051. * Added way to make the window desktop resolution.
  1052. * Added subtractive and multiplicative blend modes.
  1053. * Added body:getAllowSleeping.
  1054. * Added shape:getBody.
  1055. * Added love.filesystem.FileData for public usage.
  1056. * Added base64 support for love.filesystem.FileData.
  1057. * Added table support for love.graphics.setColor and love.graphics.setBackgroundColor.
  1058. * Added love.graphics.hasFocus().
  1059. * Added ?/init.lua to the loader.
  1060. * Fixed the debug module not being an upvalue of the error handlers. (you can now override debug)
  1061. * Fixed some cases when love.audio.pause and friends, were acting on everything, not just the passed Source.
  1062. * Fixed setFixedRotation enabling other flags.
  1063. * Fixed a bug in the loader (for require).
  1064. * Fixed ParticleSystem::setSprite not retaining the new image.
  1065. * Fixed setMode removing images settings (wrapping, filters).
  1066. * Fixed shape:getBody, it's now exposed for LÖVE usage.
  1067. * Fixed DistanceJoint:getType() returning "circle" - it now returns "distance".
  1068. * Fixed SpriteBatches being unaffected by setColor
  1069. * Fixed the audio bug.
  1070. * Fixed invalid FSAA values crashing LÖVE.
  1071. * Fixed a bunch of compiler warnings.
  1072. * Fixed OS X not properly using UTIs for .love files.
  1073. * Fixed the modplug decoder not properly handeling files that fail to load.
  1074. * Fixed a memory leak in setFont.
  1075. * Fixed bug where errors in threads wouldn't get picked up by demand.
  1076. * Fixed part of the bug with newlines when scaling text (rotating still messes up the lines).
  1077. * Fixed the bug where newImageFont would try to created ImageData out of ImageData.
  1078. * Fixed error handler not resetting the blend mode.
  1079. * Changed fonts, they're now po2 safe.
  1080. * Changed the traceback in the error screen.
  1081. * Changed font origin to top-left.
  1082. * Changed linux save dir location to obey to Freedesktop.org's XDG specs. (~/.local/share/love by default.)
  1083. * Removed font functions from love.graphics.
  1084. * Removed love.physics.newWorld(w, h). Use love.physics.newWorld(x1, y1, x2, y2) instead.
  1085. LOVE 0.6.2 [Jiggly Juice]
  1086. -------------------------
  1087. Released: 2010-03-06
  1088. * Fixed a bug causing ImageFonts to cut off some pixels.
  1089. * Fixed a bug where filled rectangles were too small.
  1090. * Fixed a bug in Image:setFilter where it would switch the parameters.
  1091. * Fixed a bug in ImageRasterizer where it wasn't using the data.
  1092. * Image filter and wrap modes now use string constants as well.
  1093. * Fixed double-transform bug in SpriteBatch.
  1094. * Errors are reported on stdout again.
  1095. * Another fix for the icons on ubuntu.
  1096. LOVE 0.6.1 [Jiggly Juice]
  1097. -------------------------
  1098. Released: 2010-02-07
  1099. * Added Shape:setGroupIndex and getGroupIndex.
  1100. * Added Body:setFixedRotation and Body:getFixedRotation.
  1101. * Added Body:setInertia.
  1102. * Added CircleShape:getLocalCenter and CircleShape:getWorldCenter.
  1103. * Added icons and file associations for the debs.
  1104. * Added the demos folder to the Mac OS X DMG.
  1105. * It's now possible to run a .love from Resources in Mac OS X, thanks to Steve Johnson.
  1106. * Fixed a bug with multiple Sources on the same Music.
  1107. * Fixed a bug so the mouse doesn't get crippled when the keyboard is disabled.
  1108. * Fixed a bug where love.graphics.rectangle drew a too large rectangle.
  1109. * Fixed a bug where memory wouldn't be released correctly.
  1110. * Fixed epic physics typo (getRestituion->getRestitution).
  1111. * Fixed crash on opening non-existent image.
  1112. * The error screen redraws when an event occurs.
  1113. * The default love.run() now gracefully handles disabled modules.
  1114. * The debian packages should now successfully include icons, file associations, etc, and should give the correct architecture.
  1115. * Added support for drawing polylines to love.graphics.line - the syntax is the same as love.graphics.polygon.
  1116. * Removed Music and Sound. There are now only sources.
  1117. * Improved the stability of love.audio/love.sound.
  1118. LOVE 0.6.0 [Jiggly Juice]
  1119. -------------------------
  1120. Released: 2009-12-24
  1121. * Lost track of 0.6.0 changes a long while ago. Don't trust the list below.
  1122. * Added love.graphics.print()/printf().
  1123. * Added unicode-translated parameter to love.keypressed().
  1124. * Added love.event.
  1125. * Added love.filesystem.setIdentity().
  1126. * Added OpenAL dependency.
  1127. * Fixed love.fileystem problems with internal \0 in strings.
  1128. * Fixed love.filesystem.mkdir/remove not working when write directory not set.
  1129. * Fixed position of Window.
  1130. * Changed parameter order of draws().
  1131. * Changed origin for images to top-left.
  1132. * Changed love.filesystem.open to accept mode (removed from love.filesystem.newFile).
  1133. * Changed love.filesystem.read() which now returns two parameters (data, length).
  1134. * Changed love.filesystem.write() which now takes up to four parameters (file, data, length, mode).
  1135. * Changed default color mode to "modulate".
  1136. * Changed name of love.color_normal to "replace".
  1137. * Changed name of love.blend_normal to "alpha".
  1138. * Changed the conf file format.
  1139. * Removed Color object.
  1140. * Removed Animation.
  1141. * Removed several constants.
  1142. * Removed love.graphics.draw() for strings.
  1143. * Removed love.system.
  1144. * Removed SWIG.
  1145. * Removed boost.
  1146. * Removed SDL_mixer.
  1147. LOVE 0.5.0 [Salted Nuts]
  1148. ------------------------
  1149. Released: 2009-01-02
  1150. * Added love.joystick.
  1151. * Added network support via LuaSocket.
  1152. * Added support for loading of appended .love-file.
  1153. * Added love.filesystem.lines().
  1154. * Added a loader function to enable use of normal require().
  1155. * Added love.filesystem.load().
  1156. * Added love.filesystem.getSaveDirectory()
  1157. * Added love.filesystem.getWorkingDirectory()
  1158. * Added optional explicit destruction of Box2D objects.
  1159. * Added shape:testSegment().
  1160. * Added love.graphics.screenshot() (.bmp only).
  1161. * Added default size (12) to font-related functions.
  1162. * Added love.graphics.setFont( filename, size )
  1163. * Added love.graphics.setLineStippe and related functions.
  1164. * Added love.graphics.setPointSize and related functions.
  1165. * Changed love.filesystem.read() to accept file name.
  1166. * Changed love.filesystem.write() to accept file name.
  1167. * Changed love.graphics.triangle() to accept CCW and CW ordering.
  1168. * Fixed love.graphics.read adding bogus characters at the end of string.
  1169. * Fixed epic swigfusion bug.
  1170. * Fixed love.graphics.getFont so it returns nil if no font is present.
  1171. * Fixed bug where love.graphics.getBlendMode() always returns blend_normal.
  1172. * Fixed bug which caused error screen to be scissored (when enabled).
  1173. * Fixed Body:setAngle to accept degrees like everything else.
  1174. * Cleaned up love::File and love_physfs.
  1175. * Cleaned up love::Reference so it stores its reference in _G.
  1176. LOVE 0.4.0 [Taco Beam]
  1177. ----------------------
  1178. Released: 2008-08-29
  1179. * Added love.physics. (YES!)
  1180. * Added love.audio.setMode().
  1181. * Added love.audio.setChannels().
  1182. * Added love.graphics.polygon().
  1183. * Added love.graphics.setScissor() and love.graphics.getScissor() to handle scissoring the graphical area.
  1184. * Fixed missing constants related to image optimization.
  1185. * Fixed memory leak related to love::File (thanks amnesiasoft!).
  1186. LOVE 0.3.2 [Lemony Fresh]
  1187. -------------------------
  1188. Released: 2008-07-04
  1189. * Added love.graphics.rectangle()
  1190. * Added love.graphics.setLineWidth()
  1191. * Added love.graphics.setLineStyle()
  1192. * Added love.graphics.getLineWidth()
  1193. * Added love.graphics.getLineStyle()
  1194. * Added love.mouse.getPosition()
  1195. * Added love.audio_loop
  1196. * Added love.timer.getTime()
  1197. * Changed love.graphics.quad() to accept CCW and CW ordering.
  1198. * Fixed default color mode bug.
  1199. * Fixed line width being applied unnecessarily.
  1200. * Fixed line width bug related to fullscreen toggle.
  1201. * Fixed music not looping.
  1202. LOVE 0.3.1 [Space Meat]
  1203. -----------------------
  1204. Released: 2008-06-21
  1205. * Fixed segfault related to graphics.
  1206. * Fixed wait-forever bug related to audio.
  1207. * Fixed error reporting not working across modules.
  1208. * Fixed bug where games with a trailing "/" would not start.
  1209. * Fixed bug which caused love.timer.sleep to delay for (way) too long.
  1210. LOVE 0.3.0 [Mutant Vermin]
  1211. --------------------------
  1212. Released: 2008-06-17
  1213. * Added ParticleSystem.
  1214. * Added visual error reporting.
  1215. * Added love.system for game control needs.
  1216. * Added input grabbing.
  1217. * Added functions in love.graphics for display management.
  1218. * Added love.graphics.point().
  1219. * Added functions in love.graphics for getting current color, font, etc.
  1220. * Added love.filesystem.enumerate() for getting folder contents.
  1221. * Added functions for setting the window caption.
  1222. * Added version checking. An error occurs if the game is incompatible.
  1223. * Fixed print() :)
  1224. * Removed all keyboard shortcuts.
  1225. * Save folders are now created only if required.
  1226. * On Windows, the new save location is %APPDATA%\LOVE\game
  1227. LOVE 0.2.1 [Impending Doom]
  1228. ---------------------------
  1229. Released: 2008-03-29
  1230. * Added many functions in love.filesystem.
  1231. * Added a dedicated save-folder for each game.
  1232. * Added timer.sleep.
  1233. * Added line heights to font objects.
  1234. * Added love.graphics.getWidth/getHeight.
  1235. * Added scaling and rotation for text.
  1236. * Added variable spacing to ImageFont.
  1237. * Added support for variable line quality when drawing primitives.
  1238. * Added several functions for drawing sections of images. (love.graphics.draws)
  1239. * Added image optimization function and padding function.
  1240. * Added love.graphics.getWidth/Height.
  1241. * Split devices up into actual SWIG-modules. This means that:
  1242. - Functions are used like this: love.graphics.draw, not love.graphics:draw
  1243. - love.objects is no more. Objects are created by an appropriate device.
  1244. * How you draw primitives has been altered.
  1245. * draw(string, x, y, wrap, align) has become drawf(string, x, y, wrap, align)
  1246. * Changed getFps to getFPS.
  1247. * Escape is no more ... enter: Alt+F4.
  1248. * love.filesystem.include has been renamed to love.filesystem.require.
  1249. * ImageFonts now consider the spacing as well as the glyph size.
  1250. * Fixed a massive ImageFont bug which resulted in float-positioning failure.
  1251. * Fixed a bug when loading fonts where the specified size doesn't represent the true size of the font.
  1252. * Updated DevIL to version 1.6.8-rc2 (Windows)
  1253. * Updated FreeType to freetype-2.3.5-1 (Windows)
  1254. * Updated Lua to 5.1.3 (Windows)
  1255. * Updated SDL to 1.2.13 (Windows)
  1256. * Removed boost::filesystem.
  1257. LOVE 0.2.0 [Mini-Moose]
  1258. -----------------------
  1259. Released: 2008-02-06
  1260. * Added ImageFont
  1261. * Added Animation
  1262. * Added text formatting functions
  1263. * Added setCenter for Image and Animation.
  1264. * Added methods for rendering of scaled/rotated sprites.
  1265. * Added the drawing of basic shapes.
  1266. * Added default font and embedded resources.
  1267. * Added Ctrl+R for reload.
  1268. * Added blending and color modes.
  1269. * Fixed memory usage of Graphics.
  1270. * Fixed a bug where the set text color would change the color of any images rendered.
  1271. * Fixed CWD bug.
  1272. * Fixed titlebar. Game title is now displayed.
  1273. LOVE 0.1.1 [Santa-Power]
  1274. ------------------------
  1275. Initial release!
  1276. Released: 2008-01-13
  1277. * Image loading and rendering.
  1278. * Sound loading and playing.
  1279. * Font loading and rendering.
  1280. * Lua-scriptable games.
  1281. * Config files.
  1282. * Stuff is loadable from archive files.
  1283. * Keyboard, mouse, display, timer, etc. (Basic devices).