changes.txt 64 KB

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