Commit Graph

  • 38cb56f168 Use doubles instead of floats for the time argument in Source:seek. This probably won't affect anything meaningfully, but in theory it's more precise. Alex Szpakowski 2019-05-26 14:46:52 -03:00
  • 3c77edb68b Fix modplug-decoded streaming Sources when looping repeatedly, and when stop() is called on them. Resolves issue #1493. Alex Szpakowski 2019-05-26 13:55:29 -03:00
  • 7b7d03721c Prevent the currently displayed video frame from changing if the video is paused Bart van Strien 2019-05-22 20:00:30 +02:00
  • 064296a6ce Don't write intermediate frames to the backbuffer if catching up or seeking Bart van Strien 2019-05-22 19:57:39 +02:00
  • 1e8ab8ce1e Never seek video more than once when trying to catch up (issue #1472, issue #1438) Bart van Strien 2019-05-22 19:50:51 +02:00
  • ae572f2ffe Fix love.isVersionCompatible (resolves issue #1488). Alex Szpakowski 2019-05-19 18:30:45 -03:00
  • 64c1ca977b Update stb_image from 2.16 to 2.22. Alex Szpakowski 2019-05-18 00:08:11 -03:00
  • 638e535061 Updated changelog Alex Szpakowski 2019-05-16 20:16:40 -03:00
  • 33186430af Simplify Source playback offset tracking to only store the integer sample offset, and convert to seconds when requested. Alex Szpakowski 2019-05-16 19:17:19 -03:00
  • c4b21b6efe Try probing the audio type if extension matching fails (resolves #1487) Bart van Strien 2019-05-04 11:35:41 +02:00
  • 4662580059 Make sure the mpg123 decoder tries to read data on creation Bart van Strien 2019-05-04 11:26:16 +02:00
  • bf5e3820bd Remove unused stored extension in Decoder Bart van Strien 2019-05-04 10:44:41 +02:00
  • 372a55c6ac ImageData supports more formats: r8, rg8, r16, rg16, r16f, rg16f, r32f, rg32f. Format conversion via ImageData:paste is not supported for those (yet). Alex Szpakowski 2019-04-28 12:09:16 -03:00
  • 8b51dc831d Work around occasional pops in streaming sources on iOS, by making the streaming source update code more like what was there in 0.10.x. Alex Szpakowski 2019-04-24 20:13:07 -03:00
  • 8f0686c204 Code style cleanup. Alex Szpakowski 2019-04-24 00:11:18 -03:00
  • 9d4cb2a949 iOS: Fix Source:play+stop+play and Source:play+seek, for streaming sources. Resolves issue #1484. Alex Szpakowski 2019-04-24 00:10:22 -03:00
  • 14abf2c9e8 Move source seeking from Source::playAtomic to prepareAtomic. Fixes love.audio.play(sources) for sources which had seek() called before the play call. Alex Szpakowski 2019-04-23 21:30:32 -03:00
  • 276bdd1dbf iOS: fix audio clicks immediately after playing a source. Resolves issue #1485. Alex Szpakowski 2019-04-23 21:18:56 -03:00
  • 84f9f3f4d5 Update Xcode project for Xcode 10.2. Alex Szpakowski 2019-04-11 18:45:09 -03:00
  • e7c36022a8 Update PhysFS to 3.0.2. Alex Szpakowski 2019-04-07 16:41:55 -03:00
  • 69c47675b9 Add Decoder:clone. Resolves issue #1479. Alex Szpakowski 2019-04-07 15:47:00 -03:00
  • db1c982f76 boot.lua and nogame.lua line numbers match the source code once they're embedded into love (thanks, pgimeno!) Alex Szpakowski 2019-04-06 13:08:25 -03:00
  • 09cd3b68c9 Explicitly disable color FBO attachments where possible for depth/stencil canvases. Potentially fixes issue #1470 Alex Szpakowski 2019-04-02 21:13:01 -03:00
  • 0c2153e0ca Fix a potentially uninitialized value in love.graphics code. Minor cleanup. Alex Szpakowski 2019-04-02 20:20:18 -03:00
  • b439ff07ce Allow love.timer.sleep(0). Alex Szpakowski 2019-04-02 20:12:09 -03:00
  • 9d2640364b Convert the readme back to utf-8 Bart van Strien 2019-03-09 15:27:54 +01:00
  • 00e7d640c7 Also test source pitch is positive and clarify error (resolves #1474) Bart van Strien 2019-03-09 15:24:02 +01:00
  • 5b2b328624 Merged in Lin-Buo-Ren/love/Lin-Buo-Ren/fix-heading-markup-in-readme-1551583956825 (pull request #122) Bart van Strien 2019-03-09 14:15:11 +00:00
  • e3d73d9351 Fix heading markup in README 林博仁 2019-03-03 03:33:24 +00:00
  • 3d64ad0a3e Properly propagate errors when creating a DataView (fixes #1476) Bart van Strien 2019-03-02 13:47:49 +01:00
  • 4fd2009e25 Merged in AuahDark/love/android-safearea (pull request #121) Alex Szpakowski 2019-02-09 23:24:42 +00:00
  • b3497f42e4 Add failsafe for love.window.getSafeArea in Android. Miku AuahDark 2019-02-09 18:55:48 +08:00
  • 4a08c0f7c1 Implement love.window.getSafeArea for Android Miku AuahDark 2019-02-08 23:58:02 +08:00
  • 76917685dd Add an optional vertex count parameter to mesh:setVertices. Alex Szpakowski 2019-01-19 12:12:29 -04:00
  • 74dcc41b38 Cleaned up love.graphics Image code for determining whether the image's pixel format is supported. Alex Szpakowski 2019-01-16 19:30:21 -04:00
  • 1bb50fccac Reduce peak memory usage when a font's glyph atlas needs to be recreated. Alex Szpakowski 2019-01-16 18:21:58 -04:00
  • d83117c981 Improve precision of the gammaToLinearPrecise shader function. Alex Szpakowski 2019-01-15 17:29:13 -04:00
  • 91d425e7e1 Fix World:getJoints to return fully resolved types for joints. Alex Szpakowski 2019-01-05 10:17:11 -04:00
  • 3ad16a70da love.physics: move internal box2d->love object map to World instances, and clean up some physics object code. Resolves issue #1465. Alex Szpakowski 2019-01-04 21:36:05 -04:00
  • 0752f27bdf Update copyright year for 2019 Alex Szpakowski 2019-01-03 21:09:05 -04:00
  • a7d0c02058 Remove some unused love.physics Body methods, and clean up a bit of code. Alex Szpakowski 2019-01-03 20:36:47 -04:00
  • 19890a65c3 Move named channel code to the thread module instead of having a static map. Fixes issue #1464. Alex Szpakowski 2018-12-31 22:36:36 -04:00
  • 364718fa46 Android: potentially work around a Qualcomm Adreno driver bug which prevented videos from being loaded into vram. Alex Szpakowski 2018-12-31 21:02:02 -04:00
  • 3af66da51e Automatic batching: improve the consistency of performance and draw calls for the vertex buffer upload approach taken on older Windows and Linux GPUs which are only capable of GL3. Alex Szpakowski 2018-12-27 23:52:54 -04:00
  • 974b02f6e0 Update changelog Alex Szpakowski 2018-12-27 21:52:11 -04:00
  • 97883ae627 Update version to 11.3 Alex Szpakowski 2018-12-27 21:48:42 -04:00
  • 752c5b70f1 Fix font vertex generation skipping the first glyph in the string if it restarts its loop due to its texture atlas being recreated to make room for more glyphs. Resolves issue #1452. Alex Szpakowski 2018-12-27 21:16:45 -04:00
  • a91a0a9431 update glslang Alex Szpakowski 2018-12-26 14:47:34 -04:00
  • 324a290040 The code related to t.audio.mixwithsystem=true is run before the audio module is loaded. Fixes issue #1430. Alex Szpakowski 2018-12-26 11:36:23 -04:00
  • f504ace6cd Make sure love.window.getSafeArea is in DPI-scaled units on all platforms. Alex Szpakowski 2018-12-26 10:36:41 -04:00
  • d41aca836e Add love.window.getSafeArea (resolves issue #1437). Returns a rectangle (x, y, w, h) inside the window which is known to be unobstructed by a system title bar, the iPhone X notch, etc. Useful for making sure UI elements can be seen by the user. Alex Szpakowski 2018-12-26 00:34:14 -04:00
  • 1c853cbcc3 Fall back to glTexImage instead of glTexStorage on Radeon 3xxx drivers on Windows. Potentially works around a graphics driver bug which prevented text from showing up. Alex Szpakowski 2018-12-25 18:33:26 -04:00
  • ebe98a91ec Expose C++ variant data union so other C++ code can access it. Alex Szpakowski 2018-12-21 14:25:43 -04:00
  • fc17ecba0d Expose C++ love.event Message name and args fields so other code can access them. Alex Szpakowski 2018-12-21 14:12:44 -04:00
  • 29f8667cbc Update changelog Alex Szpakowski 2018-12-19 21:52:46 -04:00
  • b2ed16cd7b Error when trying to create a queueable source with newSource (issue #1450) Bart van Strien 2018-12-19 11:04:36 +01:00
  • 6fa0187ef0 Work around possible bugs in sdl2 autoconf script (resolves #1381) Bart van Strien 2018-12-19 10:33:33 +01:00
  • e2aa469170 Add love.window.get/setVSync, to allow changing the vsync setting without recreating the window. Alex Szpakowski 2018-12-18 13:39:06 -04:00
  • 6302602a45 Add love.math.colorToBytes and colorFromBytes, simple functions to convert between 0-1 and 0-255 (byte) colors. Alex Szpakowski 2018-12-18 00:07:39 -04:00
  • 5d5c2f9a96 math and data module instances are now deleted when they have no more Lua references (matches the behaviour of other modules.) Fixes the deprecation system not fully restarting when love.event.quit("restart") is called. Alex Szpakowski 2018-12-17 16:44:13 -04:00
  • d4762b4612 Add love.window.getDisplayOrientation and a love.displayrotated callback. Resolves issue #1441. Alex Szpakowski 2018-12-17 16:19:56 -04:00
  • 43ee232897 macOS: Use a (non-persistent) map/sync approach for stream buffers, instead of glBufferSubData. This usually won't affect performance either way, but avoids some worst-case performance cliffs on my Intel GPU in my testing. Alex Szpakowski 2018-12-16 15:15:32 -04:00
  • 5f9f8c18ba Update CMake script to generate zip/exe filenames which match love's new version naming scheme. Alex Szpakowski 2018-12-13 23:19:48 -04:00
  • de813dd42d Add an Xcode 10 auto-generated file to the repository. Alex Szpakowski 2018-12-13 22:38:11 -04:00
  • a96c2e77e6 Add platform/xcode/ios/luajit-git to the hgignore file. Alex Szpakowski 2018-12-13 22:36:42 -04:00
  • dc5e43adf3 Split wrap_Graphics.lua into two files to work around VS2013's 16kB limit for raw string literals. Alex Szpakowski 2018-12-13 22:34:30 -04:00
  • 1896f82f5d GL3/GLES3: Work around some drivers (e.g. Intel on Windows) making pixel shaders unnecessarily expensive when MRT is not used, because love declares ~8 pixel shader outputs even when only the first is used by shader code. Alex Szpakowski 2018-12-13 20:52:45 -04:00
  • bcc5e77632 Simplify OpenGL 3+ stream buffer syncing code used with automatic batching. Alex Szpakowski 2018-12-12 17:51:03 -04:00
  • 9cdb4300de Merged in PabloMayobre/love/PabloMayobre/fix-seteffecteffect-true-and-geteffectef-1540253791471 (pull request #114) Alex Szpakowski 2018-12-12 18:20:42 +00:00
  • c8d2d76df7 Work around a compiler bug in old versions of VS2013 (resolves issue #1458). Alex Szpakowski 2018-12-12 11:26:14 -04:00
  • 2e190f4fa0 Merged in PabloMayobre/love-1/PabloMayobre/fixed-hash-functions-in-data-module-not--1543171550077 (pull request #117) Alex Szpakowski 2018-12-06 21:50:18 +00:00
  • 7253118100 Make and use a vector variant of luax_convobj Bart van Strien 2018-12-03 18:19:28 +01:00
  • 1670edf4ba Fix Source:setEffect working incorrectly when a fourth or more arguments are passed Pablo Mayobre 2018-11-30 04:01:52 +00:00
  • ed68ac6b28 Fix hash functions. The length appended at the end was the modified length (taking into consideration the appended bit) instead of the original length as it should be. Pablo Mayobre 2018-11-30 03:54:58 +00:00
  • a1d6da4624 Silence compiler warning Michael Vetter 2018-11-29 17:07:20 +01:00
  • 43633d7b44 Fix typo: paddedlength -> paddedLength Pablo Mayobre 2018-11-25 19:03:30 +00:00
  • 7c1603537f Fixed hash functions in data module, not taking the appended 1bit into consideration when calculating padding length. Fixes #1453 Pablo Mayobre 2018-11-25 18:46:33 +00:00
  • 0113a25296 Added tag 11.2 for changeset 55dc225ee239 Alex Szpakowski 2018-11-25 12:48:52 -04:00
  • 0d969c6c80 Add release date for 11.2. 11.2 Alex Szpakowski 2018-11-25 12:48:11 -04:00
  • 009a98a112 Merged in AuahDark/love/android-fix (pull request #116) Alex Szpakowski 2018-11-20 03:21:14 +00:00
  • 5143926b38 Copy the data size of old uniforms to the new uniform when reinitializing shader uniforms after love.window.setMode. Alex Szpakowski 2018-11-12 15:20:09 -04:00
  • c00849d573 Move java files to love-android repo Tae Hanazono 2018-11-04 19:43:48 +08:00
  • 07fcc1e151 Rationale confusion Tae Hanazono 2018-11-03 16:30:49 +08:00
  • 18e4f81f87 Request external storage Tae Hanazono 2018-11-03 15:54:50 +08:00
  • 4c13278784 Modify openURL to return boolean from Java side Tae Hanazono 2018-11-03 15:19:55 +08:00
  • a496bb7d52 Place Android Java codes to platform Tae Hanazono 2018-11-03 10:39:29 +08:00
  • da23448efe Update version to 11.2 Alex Szpakowski 2018-10-28 13:52:09 -03:00
  • 40febe0a81 Update changelog Alex Szpakowski 2018-10-28 13:41:26 -03:00
  • a1604f4294 Update Xcode project with the latest changes from Xcode 10. Alex Szpakowski 2018-10-28 13:41:12 -03:00
  • b53f3de4a7 Add Source:setAirAbsorption() and Source:getAirAbsorption() Pablo Mayobre 2018-10-23 03:22:33 +00:00
  • e840631388 Fix :setEffect("effect", true) and :getEffect("effect") when no filter is associated to the effect. Pablo Mayobre 2018-10-23 00:17:19 +00:00
  • 9a9ac96c4b Fix Windows version of __PHYSFS_platformCalcUserDir after Update 1809 Joel Schumacher 2018-10-03 20:02:59 +02:00
  • 0499f03891 Remove extern declaration of std::vector<std::string>::emplace_back to fix compliation with MSVC Joel Schumacher 2018-10-03 20:02:10 +02:00
  • e1ec98ad64 Add an ARM NEON simd implementation of matrix multiplication. Alex Szpakowski 2018-09-29 14:52:11 -03:00
  • 535be96f03 Optimize StreamBuffer::getUsableSize to not be a virtual method. Alex Szpakowski 2018-09-29 14:50:49 -03:00
  • 0cf106fa6a Keep a reference to the SDL video subsystem in the mouse module, since cursors need it. Potentially resolves issue #1388. Alex Szpakowski 2018-09-28 20:51:41 -03:00
  • cca5af66e8 setCanvas: rephrase confusing error message. Josh Grams 2018-09-21 08:32:27 -04:00
  • 79679f6272 Fix an uninitialized variable causing (harmless) OpenGL errors. Resolves issue #1434. Alex Szpakowski 2018-08-14 18:10:15 -03:00
  • 4d3a87eb7f Add a hard version dependency between the love and liblove debian packages Bart van Strien 2018-07-10 19:17:49 +02:00
  • b38c61b7ce Merged in daviel/love/bodygettransform (pull request #107) Alex Szpakowski 2018-06-09 13:36:56 +00:00