changes.txt 59 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102
  1. LOVE 0.10.3 [Super Toast]
  2. -------------------------
  3. Released: N/A
  4. * Added RopeJoint:setMaxLength.
  5. * Fixed Shader:send and Shader:sendColor ignoring the last argument for an array.
  6. * Fixed a crash when love.graphics.pop is called after a love.window.setMode while the transformation stack was not empty.
  7. * Fixed BezierCurves to error instead of hanging in some situations.
  8. * Fixed compilation of luasocket with newer luajit 2.1.0 beta versions.
  9. * Improved command line argument handling.
  10. * Improved seeking support, especially for short video files.
  11. * Updated the default error handler to allow copying the error to the clipboard when the user decides to do so.
  12. * Updated love.filesystem.setRequirePath to support multiple template '?' characters in each path.
  13. LOVE 0.10.2 [Super Toast]
  14. -------------------------
  15. Released: 2016-10-31
  16. * 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.
  17. * Added the ability to restart the game via love.event.quit("restart").
  18. * Added support for passing a table to love.mouse.isDown, love.keyboard.isDown, love.keyboard.isScancodeDown, Joystick:isDown, and Joystick:isGamepadDown.
  19. * Added love.window.isMaximized.
  20. * Added 'shaderswitches' field to the table returned by love.graphics.getStats.
  21. * Added Quad:getTextureDimensions.
  22. * Added 'ellipse' area distribution to ParticleSystems.
  23. * Added support for BC4-7 compressed texture formats in KTX files.
  24. * Added PrismaticJoint:getAxis and WheelJoint:getAxis.
  25. * Added 2-point version of love.physics.newRevoluteJoint.
  26. * Added table variants of Fixture:setCategory and Fixture:setMask.
  27. * Added getNextVertex and getPreviousVertex to ChainShape and EdgeShape.
  28. * Added optional reference angle arguments to RevoluteJoint, PrismaticJoint, and WeldJoint constructors.
  29. * Added RevoluteJoint:getReferenceAngle, PrismaticJoint:getReferenceAngle, and WeldJoint:getReferenceAngle.
  30. * Deprecated undocumented Shader:sendTexture, Shader:sendMatrix, Shader:sendInt, and Shader:sendFloat functions.
  31. * Fixed love on iOS 6.
  32. * Fixed os.execute always returning -1 on Linux.
  33. * Fixed the love.lowmemory callback to call collectgarbage() after the callback has fired, instead of before.
  34. * Fixed love.math.noise(nil) to error instead of returning nil.
  35. * Fixed an occasional crash when a Thread ends.
  36. * Fixed a hang at the end of video playback with some video files.
  37. * Fixed the video decoding thread to not do any work when there are no videos to decode.
  38. * Fixed love.graphics.newVideo(file) to no longer error if love.audio is disabled.
  39. * Fixed a rare bug in Source:play for streaming Sources if the associated OpenAL source object was previously used for a static Source.
  40. * Fixed corrupted Font glyphs in rare cases.
  41. * Fixed stencils inside Canvases on some OpenGL ES 2 devices.
  42. * Fixed an OpenGL error in OpenGL ES 3 when multiple render targets are used.
  43. * Fixed love.window.setMode crashing when called with a Canvas active.
  44. * Fixed love.window.maximize to update the reported window dimensions immediately.
  45. * Fixed gamma correction of ImageFonts and BMFonts with colored images.
  46. * Fixed the default shader improperly applying gamma correction to per-vertex colors when gamma correction is requested but not supported on OpenGL ES.
  47. * Fixed text coloring breaking because of an empty string.
  48. * Fixed large burst of particles when dramatically increasing the emission rate of a ParticleSystem.
  49. * Fixed SpriteBatch:setBufferSize to keep old sprite data if it can fit.
  50. * Fixed MouseJoint:getBodies unconditionally erroring.
  51. * Fixed memory leak in Text:set.
  52. * Fixed incorrect kerning caused by using kerning information for the wrong character in some fonts.
  53. * Fixed ImageData:setPixel/getPixel/mapPixel and SoundData:setSample/getSample to properly handle non-integer coordinates.
  54. * Improved performance of Channel methods by roughly 2x in many cases.
  55. * Improved performance of Shader:send when small numbers of arguments are given.
  56. * Updated love.filesystem.mount to accept a DroppedFile as the first parameter.
  57. * Updated Shader:send to do type and argument checking based on the specified uniform variable's information instead of the arguments to the function.
  58. * Updated Shader:send to accept a flat table for matrix uniforms.
  59. LOVE 0.10.1 [Super Toast]
  60. -------------------------
  61. Released: 2016-02-14
  62. * Added a new love.conf flag t.externalstorage, which determines whether files are saved in internal or external storage on Android devices.
  63. * Added a new variant of love.graphics.arc which can draw different types of arcs ("pie", "open", or "closed").
  64. * Added "lighten" and "darken" BlendModes. They can only be used with the "premultiplied" BlendAlphaMode.
  65. * Added the "lighten" GraphicsFeature constant.
  66. * Added the ability to avoid clearing specific Canvases when calling love.graphics.clear, if multiple Canvases are active at once via love.graphics.setCanvas.
  67. * Added Text:getDimensions.
  68. * Added optional "collideconnected" argument to love.physics.newMotorJoint.
  69. * Fixed a Lua error in the no-game screen if the window's height is too small.
  70. * Fixed the default error handler to reset the mouse Cursor.
  71. * Fixed love.filesystem functions crashing when called if liblove is used directly without calling love.filesystem.init.
  72. * Fixed audio on Android to pause when the app is inactive, and resume when the app becomes active again.
  73. * Fixed the Video decoding thread hanging after Video:seek or when a Video finishes.
  74. * Fixed Video:isPlaying to always return false after it finishes playing.
  75. * Fixed RandomGenerator:random crashing if a nil 'self' is used.
  76. * Fixed loading BMFont files which have characters with 0 width or height (a space character, for example).
  77. * Fixed love.graphics.newFont causing crashes if FileData is passed in.
  78. * Fixed love.graphics.clear(colortable) causing crashes on OpenGL ES 2 systems when a Canvas is active.
  79. * Fixed a driver bug on some Android devices which caused all objects to show up as black.
  80. * Fixed a driver bug on Windows with AMD graphics cards where love.graphics.clear would not always work.
  81. * Fixed Shader:sendColor incorrectly converting alpha values from sRGB to linear RGB when gamma-correct rendering is enabled.
  82. * Fixed love.graphics.newMesh(vertices) double-converting colors from sRGB to linear RGB when gamma-correct rendering is enabled.
  83. * Fixed love.graphics.new* crashing when there is no graphics context/window.
  84. * Updated the Windows executable to prefer the high-powered AMD graphics card on systems which have switchable Intel+AMD GPUs.
  85. * 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.
  86. * Updated the error messages caused by invalid or bad arguments to ImageData and SoundData methods to be more descriptive.
  87. LOVE 0.10.0 [Super Toast]
  88. -------------------------
  89. Released: 2015-12-22
  90. * Added an iOS port.
  91. * Added an Android port.
  92. * Added the flag t.accelerometerjoystick to love.conf. Disables accelerometer-as-joystick functionality on mobile devices when false.
  93. * Added the flag t.gammacorrect to love.conf (replaces t.window.srgb.) Enabling it globally enables gamma-correct rendering, when supported.
  94. * Added video playback support for Ogg Theora videos, via love.graphics.newVideo and Video objects.
  95. * Added love.video module. It is not used for displaying videos on-screen, only decoding them.
  96. * Added love.touch module. Note that it has important differences from the touch implementation in the LÖVE 0.9 Android and iOS ports.
  97. * Added love.touchpressed, love.touchreleased, and love.touchmoved.
  98. * Added love.system.vibrate.
  99. * Added love.filesystem.setRequirePath and love.filesystem.getRequirePath.
  100. * Added an optional program exit argument to love.event.quit.
  101. * Added love.filedropped and love.directorydropped event callback functions.
  102. * Added love.lowmemory event callback function, called when the app is running out of memory on mobile operating systems.
  103. * Added love.textedited event callback function, called when the user is compositing text (e.g. via an IME.)
  104. * Added love.wheelmoved event callback function (replaces "wu" and "wd" constants for love.mousepressed.)
  105. * Added love.mouse.hasCursor.
  106. * Added a boolean argument to love.mousepressed and love.mousereleased indicating whether the button event originated from a touch press.
  107. * 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.
  108. * Added Source:getType (replaces Source:isStatic.)
  109. * Added Source:getDuration and Decoder:getDuration.
  110. * Added an optional string argument containing raw pixel byte data to the width/height variant of love.image.newImageData.
  111. * Added love.graphics.ellipse.
  112. * Added rounded-rectangle support to love.graphics.rectangle.
  113. * Added love.graphics.points (replaces love.graphics.point.)
  114. * Added love.graphics.intersectScissor.
  115. * Added an optional argument to love.graphics.setBlendMode which indicates whether to treat the colors of drawn objects as having pre-multiplied alpha.
  116. * Added love.graphics.getSupported (replaces love.graphics.isSupported.)
  117. * Added love.graphics.getSystemLimits (replaces love.graphics.getSystemLimit.)
  118. * Added love.graphics.stencil and love.graphics.set/getStencilTest (replaces love.graphics.setStencil.)
  119. * Added love.graphics.isActive.
  120. * Added color arguments to love.graphics.clear. It no longer always uses the background color value.
  121. * Added love.graphics.discard.
  122. * Added love.graphics.isGammaCorrect.
  123. * Added the "clampzero" WrapMode.
  124. * Added the ability to specify custom mipmaps when creating an image, via love.graphics.newImage(filename, {mipmaps={mip1, mip2, ...}})
  125. * Added optional x/y/width/height arguments to Image:refresh and Canvas:newImageData.
  126. * Added Image:getFlags.
  127. * Added one- and two-channel Canvas formats: r8, rg8, r16f, rg16f, r32f, and rg32f.
  128. * Added support for different formats in each Canvas when using multi-canvas rendering. Added the "multicanvasformats" Graphics Feature constant.
  129. * Added support for OpenGL ES 2 and 3.
  130. * Added support for loading ETC, EAC, PVRTC, and ASTC compressed textures on systems that support them.
  131. * Added custom vertex attribute support for Meshes via new variants of love.graphics.newMesh.
  132. * Added Mesh:setVertexAttribute and Mesh:getVertexAttribute.
  133. * Added Mesh:getVertexFormat.
  134. * Added Mesh:flush.
  135. * Added an optional 'startvertex' argument to Mesh:setVertices.
  136. * Added the ability for love.graphics.newMesh and Mesh:setVertices to accept a Data object.
  137. * Added Mesh:setAttributeEnabled and Mesh:isAttributeEnabled.
  138. * Added Mesh:attachAttribute.
  139. * Added SpriteBatch:attachAttribute.
  140. * Added Shader:sendColor.
  141. * Added new shader functions: gammaCorrectColor, gammaToLinear, and linearToGamma. The functions also have 'precise' and 'fast' variants.
  142. * Added Text objects and love.graphics.newText.
  143. * Added per-character color support to love.graphics.print/printf and to Text objects.
  144. * Added BMFont bitmap font file support to love.graphics.newFont and love.font.
  145. * Added kerning support for TrueType/OpenType and BMFont Fonts.
  146. * Added an optional font hinting argument to love.graphics.newFont when loading TrueType fonts.
  147. * Added an optional spacing argument to love.graphics.newImageFont, which applies additional spacing to all rendered glyphs.
  148. * Added Font:setFallbacks.
  149. * Added love.window.maximize.
  150. * Added love.window.close.
  151. * Added love.window.requestAttention.
  152. * Added love.window.setDisplaySleepEnabled and love.window.isDisplaySleepEnabled.
  153. * Added BezierCurve:renderSegment and BezierCurve:removeControlPoint.
  154. * Added BezierCurve:getSegment.
  155. * Added love.math.compress and love.math.decompress.
  156. * Added Channel:performAtomic.
  157. * Changed love.mousepressed, love.mousereleased, and love.mouse.isDown to use button numbers instead of named button constants.
  158. * Changed love.keypressed to be love.keypressed(key, scancode, isrepeat).
  159. * Changed love.keyreleased to be love.keyreleased(key, scancode).
  160. * Changed Font:getWrap's second return value to be a table containing the text split into lines.
  161. * Changed love.graphics.newImage's optional second argument to be a table of flags (flags are "mipmaps" and "linear".)
  162. * Changed the arguments for the standard variants of love.graphics.newMesh to newMesh(vertices [, drawmode, usage]) and newMesh(vertexcount [, drawmode, usage]).
  163. * 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.
  164. * Renamed the "normal" Fullscreen Type to "exclusive".
  165. * Renamed the DistanceModel constants "inverse clamped", "linear clamped", and "exponent clamped" to "inverseclamped", "linearclamped", and "exponentclamped".
  166. * Renamed the "additive", "subtractive", and "multiplicative" BlendModes to "add", "subtract", and "multiply".
  167. * Renamed the KeyConstant and Scancode representing the spacebar from " " to "space".
  168. * Renamed File:eof to File:isEOF.
  169. * Renamed Canvas:getImageData to Canvas:newImageData.
  170. * Renamed love.image's CompressedData type to CompressedImageData.
  171. * Removed callback variant of love.filesystem.getDirectoryItems.
  172. * Removed the "wu" and "wd" constants for love.mousepressed (replaced by love.wheelmoved.)
  173. * Removed the named mouse button constants (replaced by button numbers.)
  174. * Removed Source:isStatic (replaced by Source:getType.)
  175. * Removed image loading support for all (non-compressed texture) file formats except for PNG, JPEG, TGA, and BMP.
  176. * Removed JPEG encoding support from ImageData:encode.
  177. * Removed love.graphics.point (replaced by love.graphics.points.)
  178. * Removed love.graphics.setPointStyle and love.graphics.getPointStyle.
  179. * Removed love.graphics.isSupported (replaced by love.graphics.getSupported.)
  180. * Removed love.graphics.getSystemLimit (replaced by love.graphics.getSystemLimits.)
  181. * Removed love.graphics.setStencil (replaced by love.graphics.stencil and love.graphics.setStencilTest.)
  182. * Removed the "canvas", "shader", "npot", "subtractive", and "mipmap" Graphics Feature constants (the features always have guaranteed support now.)
  183. * Removed the "multicanvas" Graphics Feature constant (use love.graphics.getSystemLimits instead.)
  184. * Removed the "srgb" Graphics Feature constant (use love.graphics.isGammaCorrect() or love.graphics.getCanvasFormats().srgb instead.)
  185. * Removed the "srgb" flag in love.window.setMode and in the t.window table in love.conf (Replaced by t.gammacorrect.)
  186. * Removed the "premultiplied" blend mode (love.graphics.setBlendMode("alpha", "premultiplied") now does the same thing.)
  187. * Removed Canvas:getPixel (use Canvas:newImageData instead.)
  188. * Removed Canvas:clear (use love.graphics.clear instead.)
  189. * Removed Mesh:getVertices.
  190. * Removed Mesh:setVertexColors and Mesh:hasVertexColors (use Mesh:setAttributeEnabled("VertexColor", enable) instead.)
  191. * Removed functions deprecated in LOVE 0.9.1 and 0.9.2:
  192. * Removed love.graphics.getMaxImageSize and love.graphics.getMaxPointSize (replaced by love.graphics.getSystemLimits.)
  193. * Removed Mesh:set/getImage, SpriteBatch:set/getImage, and ParticleSystem:set/getImage (replaced by set/getTexture.)
  194. * Removed SpriteBatch:bind/unbind.
  195. * Removed Canvas:getFSAA and the "fsaa" flag in love.conf and love.window.setMode (replaced by Canvas:getMSAA and "msaa".)
  196. * Removed the "dxt" and "bc5" Graphics Feature constant (replaced by love.graphics.getCompressedImageFormats.)
  197. * Removed the "hdrcanvas" Graphics Feature constant (replaced by love.graphics.getCanvasFormats.)
  198. * Removed love.window.getWidth/getHeight/getDimensions (use love.graphics.getWidth/getHeight/getDimensions or love.window.getMode instead.)
  199. * Fixed utf8.char.
  200. * Fixed detection of fused love games.
  201. * Fixed World:getCallbacks and World:getContactFilter when used in coroutines.
  202. * Fixed crashes when objects which store Lua callback functions are garbage collected after being used in coroutines.
  203. * Fixed memory leaks in love.physics if World:destroy is never called. When a World is GCed it now destroys all objects it owns.
  204. * Fixed love.keyboard.getKeyFromScancode crashing when an invalid scancode is given.
  205. * Fixed decoding of 8-bit WAV files.
  206. * Fixed a crash issue when rewinding streaming ogg Sources, when certain versions of libvorbis are used.
  207. * Fixed love.audio.stop() not rewinding streaming Sources.
  208. * Fixed the stencil buffer in Canvases when an unsupported MSAA value is used to create the Canvas.
  209. * Fixed Canvas:renderTo to restore the previous Canvas if an error occurs in the passed function.
  210. * Fixed love.graphics.draw(canvas) to cause an error if that Canvas is the active one.
  211. * Fixed Mesh:getVertexMap to return nil rather than an empty table, if no vertex map has been set.
  212. * Fixed love.graphics.getColorMask.
  213. * Fixed the default offset for particles when ParticleSystem:setQuads or ParticleSystem:setTexture is used.
  214. * Fixed love.graphics.shear resetting all love.graphics transformations.
  215. * Fixed the "add" and "subtract" blend modes to no longer modify the alpha of the Canvas / screen.
  216. * Improved the performance of World:rayCast and World:queryBoundingBox.
  217. * Improved the performance of love.graphics.line and other line drawing functions, when the "smooth" LineStyle is used.
  218. * Improved the performance of Shader:send when matrices are used.
  219. * Improved the performance of ImageData and SoundData methods when LuaJIT's JIT compiler is enabled, by using efficient FFI code.
  220. * 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.
  221. * Updated the compatibility warning notice to use a message box and to show the version specified in love.conf.
  222. * Updated the compatibility warning notice to display before main.lua is loaded.
  223. * Updated the __tostring metamethod of love objects to output the pointer value, similar to tostring(table).
  224. * Updated World:setCallbacks, World:setContactFilter, World:queryBoundingBox, and World:rayCast to have improved argument type checking.
  225. * Updated threads to load love.filesystem automatically.
  226. * Updated love.filesystem to enable symlinks by default.
  227. * Updated love.math.setRandomSeed and RandomGenerator:setSeed to produce better results for the first few random() calls.
  228. * Updated love.math.random and RandomGenerator:random to produce slightly better results in general.
  229. * Updated Source methods that deal with spatial audio to error rather than failing silently if the Source isn't mono.
  230. * Updated the 3D and 4D variants of love.math.noise to use Perlin noise rather than Simplex noise, to avoid patent issues.
  231. * Updated ImageFonts to no longer treat separator pixels as spacing.
  232. * Updated the default font to use less memory.
  233. * Updated the behavior of text wrapping with love.graphics.printf and Font:getWrap to work better.
  234. * Updated love.graphics.print and love.graphics.printf to no longer automatically round the x and y position arguments.
  235. * Updated some error messages for love.graphics.newImage to be more descriptive.
  236. * Updated love.graphics color functions to automatically apply love.math.gammaToLinear to color values when gamma-correct rendering is enabled.
  237. * Updated the 'normal' Canvas format to internally use 'srgb' rather than 'rgba8' when gamma-correct rendering is enabled.
  238. * Updated love.graphics.setColor to affect all drawn objects, including ParticleSystems, SpriteBatches, and Meshes.
  239. * Updated the default fullscreen type to be "desktop" rather than "exclusive".
  240. * Updated the minimum runtime system requirements of LOVE to require OpenGL 2.1 or OpenGL ES 2 support.
  241. * Updated the pixel shader effect function so screen_coords.y is 0 at the top of the screen instead of the bottom.
  242. * Updated Images to require setting the mipmaps flag to true on creation in order to use mipmaps.
  243. * Updated Images to allow mipmaps for non-power-of-two sizes.
  244. LOVE 0.9.2 [Baby Inspector]
  245. ---------------------------
  246. Released: 2015-02-14
  247. * Added Lua 5.3's UTF-8 module (via utf8 = require("utf8")).
  248. * Added Shader:getExternVariable.
  249. * Added several new canvas texture formats.
  250. * Added love.graphics.getCanvasFormats.
  251. * Added love.graphics.getCompressedImageFormats.
  252. * Added ParticleSystem:setQuads.
  253. * Added ParticleSystem:setLinearDamping.
  254. * Added SpriteBatch:flush.
  255. * Added love.graphics.getStats.
  256. * Added "mirroredrepeat" wrap mode.
  257. * Added love.audio.setDopplerScale and love.audio.getDopplerScale.
  258. * Added optional duration argument to Joystick:setVibration.
  259. * Added love.joystick.loadGamepadMappings and love.joystick.saveGamepadMappings.
  260. * Added Joint:setUserData and Joint:getUserData.
  261. * Added Joint:getBodies.
  262. * Added GearJoint:getJoints.
  263. * Added Contact:getFixtures and Body:getContactList.
  264. * Added Body:getWorld.
  265. * Added Body:getJointList.
  266. * Added Body/Contact/Fixture/Joint/World:isDestroyed.
  267. * Added love.mousemoved event callback.
  268. * Added love.mouse.setRelativeMode and love.mouse.getRelativeMode.
  269. * Added Scancode enums, love.keyboard.getKeyFromScancode, and love.keyboard.getScancodeFromKey.
  270. * Added love.window.getDisplayName.
  271. * Added love.window.minimize.
  272. * Added love.window.showMessageBox.
  273. * Added 'refreshrate' field to the table returned by love.window.getMode.
  274. * Added love.window.toPixels and love.window.fromPixels.
  275. * Added love.window.setPosition and love.window.getPosition, and 'x' and 'y' fields to love.window.setMode and t.window in love.conf.
  276. * Added love.filesystem.isSymlink, love.filesystem.setSymlinksEnabled, and love.filesystem.areSymlinksEnabled.
  277. * Added love.filesystem.getRealDirectory.
  278. * Deprecated SpriteBatch:bind and SpriteBatch:unbind.
  279. * Deprecated all uses of the name 'FSAA' in favor of 'MSAA'.
  280. * Deprecated the 'hdrcanvas' graphics feature enum in favor of getCanvasFormats.
  281. * Deprecated the 'dxt' and 'bc5' graphics feature enums in favor of getCompressedImageFormats.
  282. * Fixed crashes when love objects are used in multiple threads.
  283. * Fixed love.filesystem.setIdentity breaking in some situations when called multiple times.
  284. * Fixed the default love.filesystem identity when in Fused mode in Windows.
  285. * Fixed love.system.openURL sometimes blocking indefinitely on Linux.
  286. * Fixed love.joystick.setGamepadMapping.
  287. * Fixed the order of vertices in ChainShapes.
  288. * Fixed love.mouse.getPosition returning outdated values if love.mouse.setPosition is used in the same frame.
  289. * Fixed love.graphics.newFont to error when given an invalid size argument.
  290. * Fixed the filename and backtrace given when love.graphics.print errors.
  291. * Fixed a small memory leak if love.graphics.newCanvas errors.
  292. * Fixed shader:getWarnings returning unnecessary information.
  293. * Fixed some cases of noncompliant shader code not properly erroring on some nvidia drivers.
  294. * Fixed a potential crash when Shader objects are garbage collected.
  295. * Fixed a potential small memory leak triggered when love.graphics.newShader errors.
  296. * Fixed love.graphics.newMesh(vertexcount, ...) causing the Mesh to do instanced rendering.
  297. * Fixed Mesh:getVertexMap.
  298. * Fixed Image:refresh generating mipmaps multiple times if mipmap filtering is enabled.
  299. * Fixed Image:setMipmapFilter to not keep bad state around if it errors.
  300. * Fixed Mesh:setDrawRange when the Mesh has a vertex map set.
  301. * Fixed internal detection of the 'position' and 'effect' shader functions.
  302. * Fixed Texture memory leak when Meshes are garbage collected.
  303. * Fixed the default line join mode to be 'miter' instead of an undefined value.
  304. * Fixed the default error handler text size when highdpi mode is enabled on a Retina monitor.
  305. * Fixed the default error handler background color when sRGB mode is enabled for the window.
  306. * 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.
  307. * Fixed the state of wireframe mode when love.window.setMode is called.
  308. * Fixed Canvas:getPixel to error if the coordinates are not within the Canvas' size.
  309. * Fixed detection of compressed textures to work regardless of the file's extension.
  310. * Renamed all cases of FSAA to MSAA. The FSAA names still exist for backward-compatibility.
  311. * Updated the Windows executable to automatically prefer the higher performance GPU on nvidia Optimus systems.
  312. * Updated the --console command-line argument in Windows to open the console before conf.lua is loaded.
  313. * Updated t.console and the --console command-line argument in Windows to use the existing Console window, if love was launched from one.
  314. * Updated the love executable to verify that the love library's version matches.
  315. * Updated the Lua wrapper code for modules to avoid crashes when the module's instance is created, deleted, and recreated.
  316. * Updated internal code for handling garbage collection of love objects to be more efficient.
  317. * Updated love's initialization code to trigger a Lua error if love.conf has an error in it.
  318. * Updated the paths returned by love.filesystem.getSaveDirectory and friends to strip double-slashes from the string.
  319. * Updated the error message when love.filesystem.write or File:open fails because the directory doesn't exist.
  320. * Updated the error message when love.math.setRandomseed(0) is attempted.
  321. * Updated the error message when invalid UTF-8 strings are used in love functions that expect UTF-8.
  322. * Updated love.physics.newPolygonShape and love.physics.newChainShape to accept a table of vertices.
  323. * Updated love.physics.newChainShape to error if the number of arguments is invalid.
  324. * Updated love.thread.newThread to accept a literal string of code directly.
  325. * Updated love-created threads to use names visible in external debuggers.
  326. * Updated SpriteBatch:unbind to use less VRAM if the SpriteBatch has the static usage hint.
  327. * Updated love.graphics.newImage, love.image.newImageData, etc. to leave less Lua-owned memory around.
  328. * Updated love.graphics.push to accept different stack types to push. Current types are "transform" and "all".
  329. * Updated love shaders to accept GLSL ES precision qualifiers on variables, although they do nothing.
  330. * Updated the error message for love.graphics.newShader to be less cryptic if an invalid filename is given.
  331. * Updated compressed texture loading code to allow BC6 and BC7 compressed textures (if the graphics driver supports them.)
  332. LOVE 0.9.1 [Baby Inspector]
  333. ---------------------------
  334. Released: 2014-04-01
  335. * Added Source:clone.
  336. * Added blend mode "screen".
  337. * Added ParticleSystem:clone.
  338. * Added ParticleSystem:moveTo, has smoother emitter movement compared to setPosition.
  339. * Added ParticleSystem:setRelativeRotation.
  340. * Added love.graphics.setWireframe for debugging.
  341. * Added Mesh:setDrawRange and Mesh:getDrawRange.
  342. * Added CircleShape:getPoint and CircleShape:setPoint.
  343. * Added Mesh/SpriteBatch/ParticleSystem:setTexture, accepts Canvases and Images.
  344. * Added high-dpi window support for Retina displays in OS X, via the 'highdpi' window flag.
  345. * Added love.window.getPixelScale.
  346. * Added love.graphics.getSystemLimit.
  347. * Added antialiasing support to Canvases.
  348. * Added Canvas:getFSAA.
  349. * Added 'love_ScreenSize' built-in variable in shaders.
  350. * Added love.getVersion.
  351. * Added support for gamma-correct rendering.
  352. * Added love.graphics.isSupported("srgb").
  353. * Added love.math.gammaToLinear and love.math.linearToGamma.
  354. * Added RandomGenerator:getState and RandomGenerator:setState.
  355. * Added Body:setUserData and Body:getUserData.
  356. * Added some missing obscure key constants.
  357. * Added optional callback function argument to love.filesystem.getDirectoryItems.
  358. * Added love.system.openURL.
  359. * Deprecated Mesh/SpriteBatch/ParticleSystem:setImage.
  360. * Deprecated love.graphics.getMaxImageSize and love.graphics.getMaxPointSize.
  361. * Fixed love.graphics.scale with negative values causing incorrect line widths.
  362. * Fixed Joystick:isDown using 0-based button index arguments.
  363. * Fixed Source:setPitch to error when infinity or NaN is given.
  364. * Fixed love.graphics.setCanvas() to restore the proper viewport and scissor rectangles.
  365. * Fixed TrueType font glyphs which request a monochrome bitmap pixel mode.
  366. * Fixed love.graphics.reset causing crashes when called in between love.graphics.push/pop.
  367. * Fixed tab characters ("\t") to display properly with love.graphics.print.
  368. * Fixed love.graphics.isCreated to return false when love.window.setMode fails completely.
  369. * Fixed love.window.setMode to not destroy OpenGL resources before checking whether a fullsceren size is supported.
  370. * Fixed World:getBodyList and World:getJointList causing hard crashes.
  371. * Fixed loading BC4 compressed textures.
  372. * Fixed SoundData objects being initialized with garbage values.
  373. * Fixed 8-bit SoundData samples when used in love.audio Sources.
  374. * Updated the error text for love.filesystem’s module searchers when require fails.
  375. * Updated the love.filesystem module searchers to be tried after package.preload instead of before.
  376. * Updated love.graphics.newParticleSystem, newSpriteBatch, and newMesh to accept Canvases.
  377. * Updated Canvas drawing code, texture coordinates are no longer flipped vertically.
  378. * Updated Canvas:renderTo to work properly if a Canvas is currently active.
  379. * Updated ParticleSystem:setEmissionRate to accept non-integer numbers.
  380. * Updated Source:play to return a boolean indicating success.
  381. * Updated t.console in conf.lua to create the console before modules are loaded in Windows.
  382. * Updated Mesh vertex maps (index buffers) to use less space in VRAM.
  383. * Updated love.graphics.newMesh and Mesh:setVertices to default the UV parameters to 0,0.
  384. * Updated Fixture:set/getUserData to work in Coroutines.
  385. * Updated fullscreen-desktop and resizable window modes in OS X to use Mac OS 10.7's fullscreen Spaces.
  386. * Updated love.filesystem's C library loader to look in paths added via love.filesystem.mount, in Fused mode.
  387. * Updated the default love.run code to make initial love.math.random calls more random.
  388. LOVE 0.9.0 [Baby Inspector]
  389. ---------------------------
  390. Released: 2013-12-13
  391. * Added better multiplayer networking support via ENet.
  392. * Added --fused command line argument, to simulate fusing.
  393. * Added liblove.
  394. * Added the ability to have exit values.
  395. * Added exit value of 1 in case of error by default.
  396. * Added basic support for the file:// uri scheme.
  397. * Added love.filesystem.isFused.
  398. * Added love.filesystem.getIdentity.
  399. * Added love.filesystem.append.
  400. * Added love.filesystem.getSize.
  401. * Added love.filesystem.mount and love.filesystem.unmount.
  402. * Added optional file search order parameter to love.filesystem.setIdentity.
  403. * Added File:isOpen and File:getMode.
  404. * Added Fie:setBuffer, File:getBuffer, and File:flush.
  405. * Added textinput event for unicode text input.
  406. * Added love.keyboard.setTextInput and love.keyboard.hasTextInput.
  407. * Added previously internal Rasterizer and GlyphData object methods.
  408. * Added support for UTF-8 ImageFonts.
  409. * Added Font:getAscent/getDescent/getBaseline.
  410. * Added Font:setFilter/getFilter.
  411. * Added Font:hasGlyphs.
  412. * Added angle, scale, and shear parameters to love.graphics.printf.
  413. * Added HDR canvas support.
  414. * Added mipmapping support (has isSupported test).
  415. * Added vertex shader support.
  416. * Added boolean support to Shader:send.
  417. * Added Canvas:getPixel.
  418. * Added blend mode "replace".
  419. * Added line join modes.
  420. * Added Mesh objects, allowing for arbitrary textured polygons.
  421. * Added multiple render target support to love.graphics.setCanvas.
  422. * Added love.graphics.setColorMask.
  423. * Added love.graphics.origin.
  424. * Added love.graphics.getRendererInfo.
  425. * Added love.graphics.getMaxImageSize.
  426. * Added SpriteBatch:getCount and SpriteBatch:getBufferSize.
  427. * Added SpriteBatch:getColor.
  428. * Added ParticleSystem:emit.
  429. * Added ParticleSystem:setInsertMode and ParticleSystem:getInsertMode.
  430. * Added many ParticleSystem getter methods.
  431. * Added DXT compressed texture support via love.image.newCompressedData.
  432. * Added love.image.isCompressed and Image:isCompressed.
  433. * Added Image/Canvas/ImageData:getDimensions.
  434. * Added anisotropic filtering support for Images, Canvases, and Fonts.
  435. * Added Image:refresh.
  436. * Added Image:getData.
  437. * Added SoundData:getDuration and SoundData:getSampleCount.
  438. * Added Source:isPlaying.
  439. * Added Source:setRelative and Source:isRelative.
  440. * Added Source:setCone and Source:getCone.
  441. * Added Source:getChannels.
  442. * Added new Channels API for love.thread.
  443. * Added limited table support to Channel:push.
  444. * Added Thread:getError.
  445. * Added Thread:isRunning.
  446. * Added threaderror event.
  447. * Added love.math module.
  448. * Added a platform-independent (good) random implementation to love.math.
  449. * Added RandomGenerator objects.
  450. * Added BezierCurve objects.
  451. * Added love.math.triangulate and love.math.isConvex.
  452. * Added love.math.noise.
  453. * Added love.timer.getAverageDelta.
  454. * Added Data:getString.
  455. * Added Contact:getChildren.
  456. * Added love.system module.
  457. * Added love.system.getClipboardText and love.system.setClipboardText.
  458. * Added love.system.getOS and love.system.getProcessorCount.
  459. * Added love.window module.
  460. * Added love.window.isVisible.
  461. * Added flags to love.window.setMode.
  462. * Added monitor choosing support to love.window.setMode.
  463. * Added support for resizable, borderless, and non-centered windows.
  464. * Added support for "fullscreen-desktop" mode.
  465. * Added window resize and visible events.
  466. * Added love.window.getDimensions.
  467. * Added love.window.getIcon.
  468. * Added t.window.icon to love.conf.
  469. * Added love.mousefocus and love.window.hasMouseFocus.
  470. * Added custom hardware cursors via love.mouse.newCursor.
  471. * Added love.mouse.setX/setY.
  472. * Added Joystick objects.
  473. * Added love.joystick.getJoystick.
  474. * Added joystick connect and disconnect events.
  475. * Added joystickaxis and joystickhat events.
  476. * Added unified Gamepad API for joysticks which have a similar layout to the Xbox controller.
  477. * Added joystick vibration support, works with most common gamepads.
  478. * OPTIONAL: Added support for Game Music Emu.
  479. * Fixed fused mode in OS X.
  480. * Fixed printing to the console in Windows before love.load is called.
  481. * Fixed the default love.run to not include the time taken by love.load in the first frame's dt.
  482. * Fixed the error screen not always appearing until the next input event.
  483. * Fixed love.event.clear.
  484. * Fixed love.mouse.setPosition when called in love.load.
  485. * Fixed scaling in several love.physics functions.
  486. * Fixed Box2D exception in World:update.
  487. * Fixed many uncaught Box2D / love.physics exceptions for Bodies and Joints.
  488. * Fixed ChainShape:getPoints running out of Lua stack space and crashing.
  489. * Fixed File:read reading past end of file.
  490. * Fixed love.filesystem.setIdentity not removing read access from old directories.
  491. * Fixed possible memory leak in utf-8 decoder.
  492. * Fixed spacing for the last character in an ImageFont.
  493. * Fixed line wrapping in love.graphics.printf.
  494. * Fixed love.graphics.printf to error if the wrap limit is negative.
  495. * Fixed love.graphics.print truncating strings with embedded zeros.
  496. * Fixed crashes with font drawing on some ATI cards.
  497. * Fixed artifacts when drawing lines at huge scale.
  498. * Fixed Fonts and Canvases ignoring default image filter.
  499. * Fixed scissor boxes when a canvas is set after love.graphics.setScissor is called.
  500. * Fixed love.graphics.getLineWidth returning incorrect values.
  501. * Fixed love.graphics.getColor on some Windows systems.
  502. * Fixed alpha blend mode.
  503. * Fixed multiplicative blend mode.
  504. * Fixed love.graphics.getPointStyle.
  505. * Fixed line numbers in shader errors.
  506. * Fixed Shader:send with Images and Canvases failing sometimes.
  507. * Fixed Shader:send to keep a reference to sent Images and Canvases.
  508. * Fixed crash when binding SpriteBatches multiple times.
  509. * Fixed SpriteBatches with more than 16,384 sprites.
  510. * Fixed particle draw order for ParticleSystems.
  511. * Fixed ParticleSystem:setSizes resetting the size variation.
  512. * Fixed the graphics viewport not matching the window size when using an unsupported fullscreen mode.
  513. * Fixed getMode and friends returning wrong values when using desktop size.
  514. * Fixed keyrepeat settings being lost after (indirect) setMode.
  515. * Fixed the icon being reset after setMode.
  516. * Fixed memory leak in the mp3 decoder.
  517. * Fixed sound issues with some versions of OpenAL soft, by enabling direct channels.
  518. * Fixed 'random' hangs in audio.
  519. * Fixed love.sound.newDecoder not accepting FileData.
  520. * Fixed case (in)sensitivity of sound file extension parsing.
  521. * Fixed looping support in tracker music formats.
  522. * Fixed skipping/looping issues when playing streaming audio Sources.
  523. * Fixed race condition in Source:play.
  524. * Fixed WAVE sound playback.
  525. * Moved love's startup to modules/love.
  526. * Moved window-related functions from love.graphics to love.window.
  527. * Renamed love's boot script to 'love.boot', which can be required.
  528. * Renamed love.filesystem.mkdir to love.filesystem.createDirectory.
  529. * Renamed love.filesystem.enumerate to love.filesystem.getDirectoryItems.
  530. * Renamed World:setAllowSleeping to World:setSleepingAllowed.
  531. * Renamed ChainShape:setPrevVertex to ChainShape:setPreviousVertex.
  532. * Renamed Joint:enableMotor to Joint:setMotorEnabled.
  533. * Renamed Joint:enableLimit and Joint:isLimitEnabled to Joint:setLimitsEnabled and Joint:hasLimitsEnabled.
  534. * Renamed t.screen to t.window in love.conf.
  535. * Renamed love.graphics.setCaption to love.window.setTitle.
  536. * Renamed PixelEffect to Shader (but now with vertex shaders).
  537. * Renamed love.graphics.setDefaultImageFilter to love.graphics.setDefaultFilter.
  538. * Renamed ParticleSystem:setSprite to ParticleSystem:setImage.
  539. * Renamed ParticleSystem:setGravity to ParticleSystem:setLinearAcceleration.
  540. * Renamed ParticleSystem:setLifetime/setParticleLife to setEmitter/ParticleLifetime.
  541. * Renamed ParticleSystem:count and all getNum* functions to get*Count.
  542. * Renamed Source:setDistance to Source:setAttenuationDistances.
  543. * Renamed SoundData:getBits and Decoder:getBits to SoundData:getBitDepth and Decoder:getBitDepth.
  544. * Renamed love.mouse.setGrab to love.mouse.setGrabbed.
  545. * Removed release mode.
  546. * Removed love.keyboard.getKeyRepeat (see love.keyboard.hasKeyRepeat).
  547. * Removed the unicode argument from love.keypressed (see love.textinput).
  548. * Removed love.graphics.drawTest.
  549. * Removed love.graphics.quad/triangle.
  550. * Removed love.graphics.setColorMode.
  551. * Removed love.graphics.newStencil.
  552. * Removed love.graphics.setLine/setPoint.
  553. * Removed love.graphics.drawq (functionality is merged into love.graphics.draw).
  554. * Removed SpriteBatch:addq/setq (functionality is merged into SpriteBatch:add/set).
  555. * Removed Quad:flip.
  556. * Removed ParticleSystem:isFull/isEmpty.
  557. * Removed ParticleSystem:getX/getY.
  558. * Removed love.graphics.checkMode.
  559. * Removed love.joystick.open and friends.
  560. * Removed love.joystick module functions which operated on individual joysticks (see Joystick objects).
  561. * Removed joystick ball support.
  562. * Removed thread names.
  563. * Removed old thread messaging API (see Channels).
  564. * Removed love.timer.getMicroTime.
  565. * Updated functions which return love objects to re-use the Lua-side object instead of always recreating it.
  566. * Updated the windows console, it now tries to re-use an active one first.
  567. * Updated error handling, error handlers now get resolved when the error occurs.
  568. * Updated order of sleep/present in love.run (now draws, *then* sleeps).
  569. * Updated love.filesystem to try to create the appdata directory if it doesn't exist yet.
  570. * Updated the default filesystem identity to omit file extension.
  571. * Updated love.filesystem.newFile to optionally open the file.
  572. * Updated most love.filesystem functions to return nil, error on internal failure.
  573. * Updated love.keyboard.setKeyRepeat to take a boolean argument instead of numbers.
  574. * Updated love.keypressed's second argument to be a boolean indicating key repeat.
  575. * Updated keyboard key constants for some more modern keyboard keys.
  576. * Updated window code to use adaptive vsync when available, if vsync is enabled.
  577. * updated love.graphics.print's x and y arguments to default to 0.
  578. * Updated the setFilter and setWrap methods, the second argument is now optional.
  579. * Updated Font and ParticleSystem rendering code, now more performant.
  580. * Updated SpriteBatch code, now more performant when adding/setting and (un)binding.
  581. * Updated Canvas code to support more systems.
  582. * Updated Canvas:getImageData and love.graphics.newScreenshot to be more efficient.
  583. * Updated love.graphics.newScreenshot to create a fully opaque image by default.
  584. * Updated error messages when sending bad values to Shaders.
  585. * Updated love.graphics.newParticleSystem to have a default buffer size of 1000.
  586. * Updated ImageData:setPixel to accept a table and default to 255 alpha.
  587. * Updated ImageData:mapPixel, is now more efficient and accepts optional x,y,w,h arguments.
  588. * Updated love.image memory handling, improves errors and thread-safety.
  589. * Updated all love object constructors to optionally accept FileData if they accept a filename.
  590. * Updated allocation for SoundData, it's more efficient and less wasteful.
  591. * Updated SoundData:set/getSample to error for invalid samples.
  592. * Updated Source:set* functions to default z to 0.
  593. * Updated Source:seek to error for negative offsets.
  594. * Updated Thread:start to accept arguments which get passed to the thread.
  595. * Updated love.timer.getFPS to be microsecond-accurate.
  596. * Updated love.timer.getTime to be microsecond-accurate and monotonic.
  597. * Updated Box2D to version 2.3.0.
  598. LOVE 0.8.0 [Rubber Piggy]
  599. -------------------------
  600. Released: 2012-04-02
  601. * Added release error screen.
  602. * Added alpha to love.graphics.setBackgroundColor.
  603. * Added Canvas:clear(r, g, b, a).
  604. * Added Canvas support to love.graphics.drawq.
  605. * Added Canvas:getWidth and Canvas:getHeight.
  606. * Added love.graphics.arc.
  607. * Added seek and tell to Source objects.
  608. * Added color interpolation to ParticleSystem.
  609. * Added automatic PO2 padding for systems not supporting the OpenGL extension.
  610. * Added UTF-8 support for fonts.
  611. * Added Box2D error handling for some commonly failing functions.
  612. * Added ability for fused release games to have their write dir in appdata.
  613. * Added shear transformation to drawing functions.
  614. * Added origin to font printing.
  615. * Added love.graphics.getMode.
  616. * Added per-sprite colors on SpriteBatches.
  617. * Added PixelEffects.
  618. * Added love.graphics.isSupported.
  619. * Added love.graphics.getCanvas.
  620. * Added love.event.quit.
  621. * Added stencil masks.
  622. * Added alternative SpriteBatch provider, it should work everywhere now.
  623. * Added a loader for binary modules.
  624. * Added Thread:getKeys.
  625. * Added option of fractions for Quads.
  626. * Added PNG, JPEG and GIF support to ImageData:encode.
  627. * Added 64-bit support for Mac OS X.
  628. * Added premultiplied blending mode.
  629. * Added functions to set/get default image filter modes.
  630. * Added SpriteBatch:set.
  631. * Added new events system, with support for custom events and long event names.
  632. * Added sound attenuation by distance.
  633. * Added SpriteBatch:getImage.
  634. * Added combine color mode.
  635. * Added automatic random seeding to love.run.
  636. * Added support for the subtract BlendMode on older graphics cards.
  637. * Added love._os field, which contains the OS the game is running on.
  638. * Fixed wrapping for single words.
  639. * Fixed tracebacks not showing filenames.
  640. * Fixed love.graphics.push/pop capable of causing overflows/underflows.
  641. * Fixed setScissor on Canvases.
  642. * Fixed several issues with audio, e.g. clicks and pops in mp3s.
  643. * Fixed crashes when bodies were destroyed during collisions.
  644. * Fixed bound SpriteBatches corrupting when drawing.
  645. * Fixed thread-safety issues with ImageData.
  646. * Fixed memory leaks in audio sources.
  647. * Fixed thread's set (previously send) accidentally changing the type.
  648. * Fixed SoundData allocating the wrong number of samples.
  649. * Fixed SpriteBatch support on Intel cards.
  650. * Fixed love.filesystem.lines() leaking.
  651. * Fixed most leaking on unclosed File objects.
  652. * Fixed crashes when operating on non-existent files.
  653. * Fixed a bug where empty files on windows would never reach eof.
  654. * Fixed crash when SoundData runs out of memory.
  655. * Fixed ordering of loaders, love should have priority over lua.
  656. * Fixed several miscellaneous memory leaks.
  657. * Fixed a few cases where strings with \0 in them would not be stored correctly.
  658. * Fixed love's startup time being in the first dt.
  659. * Fixed internal string conversions, they are faster now.
  660. * Fixed (bad) performance of ImageData:paste.
  661. * Fixed love.graphics.toggleFullscreen not maintaining graphics state.
  662. * Renamed SpriteBatch's lock/unlock to bind/unbind.
  663. * Renamed Framebuffer to Canvas.
  664. * Renamed love.thread.send/receive to set/get.
  665. * Renamed love.graphics.setRenderTarget to setCanvas.
  666. * Removed canvas auto-clearing.
  667. * Removed EncodedImageData.
  668. * Removed old syntax for require (with extension).
  669. * Removed love.graphics.setFont([file], [size]).
  670. * Removed Thread:kill.
  671. * Updated love.joystick to be 1-indexed.
  672. * Updated Sources to update more cleanly and control more intuitively.
  673. * Updated font engine.
  674. * Updated line drawing to a custom system.
  675. * Updated love.timer.sleep to use seconds, like the rest of love.
  676. * Updated love.timer to be more accurate.
  677. * Updated love.graphics.circle to have max(10, r) as default for segments.
  678. * Updated ImageData:encode to write to files directly.
  679. * Updated version compatibility system to actually do something.
  680. * Updated love.run's order, events are checked just before update.
  681. * Updated Box2D to version 2.2.1.
  682. LOVE 0.7.2 [Game Slave]
  683. -----------------------
  684. Released: 2011-05-04
  685. * Added Framebuffer:get/setWrap.
  686. * Added love.event.clear.
  687. * Added support for any number of arguments to love.keyboard.isDown, love.mouse.isDown and love.joystick.isDown.
  688. * Added SpriteBatch:setImage().
  689. * Fixed fused games not working.
  690. * Fixed ParticleSystem:setSize ignoring the variation argument.
  691. * Fixed some file-opening exceptions not being caught.
  692. * Fixed files loaded by libmodplug being too loud.
  693. * Fixed paths with periods in them not working.
  694. * Fixed love.graphics.getBlendMode not detecting subtractive and multiplicative blend modes.
  695. * Fixed crash when there was no memory available for newImageData(w, h).
  696. * Updated PhysicsFS version to 2.0.2 on Windows
  697. * Updated OpenAL Soft version to 1.13 on Windows
  698. * Updated libmodplug version to 0.8.8.1 on Windows
  699. * Updated FreeType version to 2.4.4 on Windows
  700. * Updated libmpg123 version to 1.13.2 on Windows
  701. * Windows binary no longer depends on VC2005 runtime.
  702. * Windows binary no longer depends on SSE2 support.
  703. LOVE 0.7.1 [Game Slave]
  704. -----------------------
  705. Released: 2011-02-14
  706. * Added source:isPaused()
  707. * Added error when initial window can't be created.
  708. * Added framebuffer filter modes.
  709. * Added love.filesystem.getLastModified.
  710. * Added filter modes for ImageFonts.
  711. * Added dead key support by using "unknown" key with correct unicode value.
  712. * Added 0 width and height in love.conf. (for current desktop resolution)
  713. * Added alpha support when encoding TGA images.
  714. * Fixed a lot of bugs regarding zero characters in threads.
  715. * Fixed handling of a directory named "love" in current directory.
  716. * Fixed a few unhandled errors in setScissor.
  717. * Fixed a bug where old physics callbacks were never dereferenced.
  718. * Fixed loss of mouse visibility settings on setMode.
  719. * Fixed creation of a framebuffer unbinding current framebuffer.
  720. * Fixed several race conditions in love.thread.
  721. * Fixed 'love .', so it won't use lovedir/. as save dir.
  722. * Fixed setLineHeight.
  723. * Fixed extended ascii and ImageFonts.
  724. * Fixed printf's line wrapping.
  725. * Fixed crash when playing sounds.
  726. * Fixed playback of mp3s with arbitrary sample rates.
  727. * Fixed handling of negative indices in love.joystick.
  728. * Fixed toggleFullscreen.
  729. * Fixed unexpected behaviour with hash tables to love.graphics.line.
  730. * Fixed mouse coordinates being capped after setMode.
  731. * Fixed setFont's error handling on a non-existant file.
  732. * Fixed issue where Windows builds would hard crash on Lua errors
  733. * Removed custom sample rates for Decoders.
  734. LOVE 0.7.0 [Game Slave]
  735. -----------------------
  736. Released: 2010-12-05
  737. * Added love.thread.
  738. * Added love.font.
  739. * Added love.graphics.Framebuffer.
  740. * Added Source:play, Source:pause, etc.
  741. * Added Source:isStatic().
  742. * Added get/setPosition, get/setVelocity, and get/setDirection to Source.
  743. * Added get/setGroupIndex to CircleShape and PolygonShape.
  744. * Added Font:getWrap.
  745. * Added identity field to love.conf.
  746. * Added love.quit callback.
  747. * Added love.focus callback.
  748. * Added extra meter parameter to love.physics.newWorld.
  749. * Added love.graphics.setIcon.
  750. * Added way to make the window desktop resolution.
  751. * Added subtractive and multiplicative blend modes.
  752. * Added body:getAllowSleeping.
  753. * Added shape:getBody.
  754. * Added love.filesystem.FileData for public usage.
  755. * Added base64 support for love.filesystem.FileData.
  756. * Added table support for love.graphics.setColor and love.graphics.setBackgroundColor.
  757. * Added love.graphics.hasFocus().
  758. * Added ?/init.lua to the loader.
  759. * Fixed the debug module not being an upvalue of the error handlers. (you can now override debug)
  760. * Fixed some cases when love.audio.pause and friends, were acting on everything, not just the passed Source.
  761. * Fixed setFixedRotation enabling other flags.
  762. * Fixed a bug in the loader (for require).
  763. * Fixed ParticleSystem::setSprite not retaining the new image.
  764. * Fixed setMode removing images settings (wrapping, filters).
  765. * Fixed shape:getBody, it's now exposed for LÖVE usage.
  766. * Fixed DistanceJoint:getType() returning "circle" - it now returns "distance".
  767. * Fixed SpriteBatches being unaffected by setColor
  768. * Fixed the audio bug.
  769. * Fixed invalid FSAA values crashing LÖVE.
  770. * Fixed a bunch of compiler warnings.
  771. * Fixed OS X not properly using UTIs for .love files.
  772. * Fixed the modplug decoder not properly handeling files that fail to load.
  773. * Fixed a memory leak in setFont.
  774. * Fixed bug where errors in threads wouldn't get picked up by demand.
  775. * Fixed part of the bug with newlines when scaling text (rotating still messes up the lines).
  776. * Fixed the bug where newImageFont would try to created ImageData out of ImageData.
  777. * Fixed error handler not resetting the blend mode.
  778. * Changed fonts, they're now po2 safe.
  779. * Changed the traceback in the error screen.
  780. * Changed font origin to top-left.
  781. * Changed linux save dir location to obey to Freedesktop.org's XDG specs. (~/.local/share/love by default.)
  782. * Removed font functions from love.graphics.
  783. * Removed love.physics.newWorld(w, h). Use love.physics.newWorld(x1, y1, x2, y2) instead.
  784. LOVE 0.6.2 [Jiggly Juice]
  785. -------------------------
  786. Released: 2010-03-06
  787. * Fixed a bug causing ImageFonts to cut off some pixels.
  788. * Fixed a bug where filled rectangles were too small.
  789. * Fixed a bug in Image:setFilter where it would switch the parameters.
  790. * Fixed a bug in ImageRasterizer where it wasn't using the data.
  791. * Image filter and wrap modes now use string constants as well.
  792. * Fixed double-transform bug in SpriteBatch.
  793. * Errors are reported on stdout again.
  794. * Another fix for the icons on ubuntu.
  795. LOVE 0.6.1 [Jiggly Juice]
  796. -------------------------
  797. Released: 2010-02-07
  798. * Added Shape:setGroupIndex and getGroupIndex.
  799. * Added Body:setFixedRotation and Body:getFixedRotation.
  800. * Added Body:setInertia.
  801. * Added CircleShape:getLocalCenter and CircleShape:getWorldCenter.
  802. * Added icons and file associations for the debs.
  803. * Added the demos folder to the Mac OS X DMG.
  804. * It's now possible to run a .love from Resources in Mac OS X, thanks to Steve Johnson.
  805. * Fixed a bug with multiple Sources on the same Music.
  806. * Fixed a bug so the mouse doesn't get crippled when the keyboard is disabled.
  807. * Fixed a bug where love.graphics.rectangle drew a too large rectangle.
  808. * Fixed a bug where memory wouldn't be released correctly.
  809. * Fixed epic physics typo (getRestituion->getRestitution).
  810. * Fixed crash on opening non-existent image.
  811. * The error screen redraws when an event occurs.
  812. * The default love.run() now gracefully handles disabled modules.
  813. * The debian packages should now successfully include icons, file associations, etc, and should give the correct architecture.
  814. * Added support for drawing polylines to love.graphics.line - the syntax is the same as love.graphics.polygon.
  815. * Removed Music and Sound. There are now only sources.
  816. * Improved the stability of love.audio/love.sound.
  817. LOVE 0.6.0 [Jiggly Juice]
  818. -------------------------
  819. Released: 2009-12-24
  820. * Lost track of 0.6.0 changes a long while ago. Don't trust the list below.
  821. * Added love.graphics.print()/printf().
  822. * Added unicode-translated parameter to love.keypressed().
  823. * Added love.event.
  824. * Added love.filesystem.setIdentity().
  825. * Added OpenAL dependency.
  826. * Fixed love.fileystem problems with internal \0 in strings.
  827. * Fixed love.filesystem.mkdir/remove not working when write directory not set.
  828. * Fixed position of Window.
  829. * Changed parameter order of draws().
  830. * Changed origin for images to top-left.
  831. * Changed love.filesystem.open to accept mode (removed from love.filesystem.newFile).
  832. * Changed love.filesystem.read() which now returns two parameters (data, length).
  833. * Changed love.filesystem.write() which now takes up to four parameters (file, data, length, mode).
  834. * Changed default color mode to "modulate".
  835. * Changed name of love.color_normal to "replace".
  836. * Changed name of love.blend_normal to "alpha".
  837. * Changed the conf file format.
  838. * Removed Color object.
  839. * Removed Animation.
  840. * Removed several constants.
  841. * Removed love.graphics.draw() for strings.
  842. * Removed love.system.
  843. * Removed SWIG.
  844. * Removed boost.
  845. * Removed SDL_mixer.
  846. LOVE 0.5.0 [Salted Nuts]
  847. ------------------------
  848. Released: 2009-01-02
  849. * Added love.joystick.
  850. * Added network support via LuaSocket.
  851. * Added support for loading of appended .love-file.
  852. * Added love.filesystem.lines().
  853. * Added a loader function to enable use of normal require().
  854. * Added love.filesystem.load().
  855. * Added love.filesystem.getSaveDirectory()
  856. * Added love.filesystem.getWorkingDirectory()
  857. * Added optional explicit destruction of Box2D objects.
  858. * Added shape:testSegment().
  859. * Added love.graphics.screenshot() (.bmp only).
  860. * Added default size (12) to font-related functions.
  861. * Added love.graphics.setFont( filename, size )
  862. * Added love.graphics.setLineStippe and related functions.
  863. * Added love.graphics.setPointSize and related functions.
  864. * Changed love.filesystem.read() to accept file name.
  865. * Changed love.filesystem.write() to accept file name.
  866. * Changed love.graphics.triangle() to accept CCW and CW ordering.
  867. * Fixed love.graphics.read adding bogus characters at the end of string.
  868. * Fixed epic swigfusion bug.
  869. * Fixed love.graphics.getFont so it returns nil if no font is present.
  870. * Fixed bug where love.graphics.getBlendMode() always returns blend_normal.
  871. * Fixed bug which caused error screen to be scissored (when enabled).
  872. * Fixed Body:setAngle to accept degrees like everything else.
  873. * Cleaned up love::File and love_physfs.
  874. * Cleaned up love::Reference so it stores its reference in _G.
  875. LOVE 0.4.0 [Taco Beam]
  876. ----------------------
  877. Released: 2008-08-29
  878. * Added love.physics. (YES!)
  879. * Added love.audio.setMode().
  880. * Added love.audio.setChannels().
  881. * Added love.graphics.polygon().
  882. * Added love.graphics.setScissor() and love.graphics.getScissor() to handle scissoring the graphical area.
  883. * Fixed missing constants related to image optimization.
  884. * Fixed memory leak related to love::File (thanks amnesiasoft!).
  885. LOVE 0.3.2 [Lemony Fresh]
  886. -------------------------
  887. Released: 2008-07-04
  888. * Added love.graphics.rectangle()
  889. * Added love.graphics.setLineWidth()
  890. * Added love.graphics.setLineStyle()
  891. * Added love.graphics.getLineWidth()
  892. * Added love.graphics.getLineStyle()
  893. * Added love.mouse.getPosition()
  894. * Added love.audio_loop
  895. * Added love.timer.getTime()
  896. * Changed love.graphics.quad() to accept CCW and CW ordering.
  897. * Fixed default color mode bug.
  898. * Fixed line width being applied unnecessarily.
  899. * Fixed line width bug related to fullscreen toggle.
  900. * Fixed music not looping.
  901. LOVE 0.3.1 [Space Meat]
  902. -----------------------
  903. Released: 2008-06-21
  904. * Fixed segfault related to graphics.
  905. * Fixed wait-forever bug related to audio.
  906. * Fixed error reporting not working across modules.
  907. * Fixed bug where games with a trailing "/" would not start.
  908. * Fixed bug which caused love.timer.sleep to delay for (way) too long.
  909. LOVE 0.3.0 [Mutant Vermin]
  910. --------------------------
  911. Released: 2008-06-17
  912. * Added ParticleSystem.
  913. * Added visual error reporting.
  914. * Added love.system for game control needs.
  915. * Added input grabbing.
  916. * Added functions in love.graphics for display management.
  917. * Added love.graphics.point().
  918. * Added functions in love.graphics for getting current color, font, etc.
  919. * Added love.filesystem.enumerate() for getting folder contents.
  920. * Added functions for setting the window caption.
  921. * Added version checking. An error occurs if the game is incompatible.
  922. * Fixed print() :)
  923. * Removed all keyboard shortcuts.
  924. * Save folders are now created only if required.
  925. * On Windows, the new save location is %APPDATA%\LOVE\game
  926. LOVE 0.2.1 [Impending Doom]
  927. ---------------------------
  928. Released: 2008-03-29
  929. * Added many functions in love.filesystem.
  930. * Added a dedicated save-folder for each game.
  931. * Added timer.sleep.
  932. * Added line heights to font objects.
  933. * Added love.graphics.getWidth/getHeight.
  934. * Added scaling and rotation for text.
  935. * Added variable spacing to ImageFont.
  936. * Added support for variable line quality when drawing primitives.
  937. * Added several functions for drawing sections of images. (love.graphics.draws)
  938. * Added image optimization function and padding function.
  939. * Added love.graphics.getWidth/Height.
  940. * Split devices up into actual SWIG-modules. This means that:
  941. - Functions are used like this: love.graphics.draw, not love.graphics:draw
  942. - love.objects is no more. Objects are created by an appropriate device.
  943. * How you draw primitives has been altered.
  944. * draw(string, x, y, wrap, align) has become drawf(string, x, y, wrap, align)
  945. * Changed getFps to getFPS.
  946. * Escape is no more ... enter: Alt+F4.
  947. * love.filesystem.include has been renamed to love.filesystem.require.
  948. * ImageFonts now consider the spacing as well as the glyph size.
  949. * Fixed a massive ImageFont bug which resulted in float-positioning failure.
  950. * Fixed a bug when loading fonts where the specified size doesn't represent the true size of the font.
  951. * Updated DevIL to version 1.6.8-rc2 (Windows)
  952. * Updated FreeType to freetype-2.3.5-1 (Windows)
  953. * Updated Lua to 5.1.3 (Windows)
  954. * Updated SDL to 1.2.13 (Windows)
  955. * Removed boost::filesystem.
  956. LOVE 0.2.0 [Mini-Moose]
  957. -----------------------
  958. Released: 2008-02-06
  959. * Added ImageFont
  960. * Added Animation
  961. * Added text formatting functions
  962. * Added setCenter for Image and Animation.
  963. * Added methods for rendering of scaled/rotated sprites.
  964. * Added the drawing of basic shapes.
  965. * Added default font and embedded resources.
  966. * Added Ctrl+R for reload.
  967. * Added blending and color modes.
  968. * Fixed memory usage of Graphics.
  969. * Fixed a bug where the set text color would change the color of any images rendered.
  970. * Fixed CWD bug.
  971. * Fixed titlebar. Game title is now displayed.
  972. LOVE 0.1.1 [Santa-Power]
  973. ------------------------
  974. Initial release!
  975. Released: 2008-01-13
  976. * Image loading and rendering.
  977. * Sound loading and playing.
  978. * Font loading and rendering.
  979. * Lua-scriptable games.
  980. * Config files.
  981. * Stuff is loadable from archive files.
  982. * Keyboard, mouse, display, timer, etc. (Basic devices).