changes.txt 95 KB

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