2894 Commits

Author SHA1 Message Date
Alex Szpakowski 009a98a112 Merged in AuahDark/love/android-fix (pull request #116)
Tiny love.system.openURL fix
2018-11-20 03:21:14 +00:00
Alex Szpakowski 5143926b38 Copy the data size of old uniforms to the new uniform when reinitializing shader uniforms after love.window.setMode.
Fixes a crash in the Data variant of Shader:send when it's called after setMode on a shader that was created before the setMode call.
2018-11-12 15:20:09 -04:00
Tae Hanazono 4c13278784 Modify openURL to return boolean from Java side
--HG--
branch : android-fix
2018-11-03 15:19:55 +08:00
Alex Szpakowski da23448efe Update version to 11.2 2018-10-28 13:52:09 -03:00
Pablo Mayobre b53f3de4a7 Add Source:setAirAbsorption() and Source:getAirAbsorption() 2018-10-23 03:22:33 +00:00
Joel Schumacher 9a9ac96c4b Fix Windows version of __PHYSFS_platformCalcUserDir after Update 1809 2018-10-03 20:02:59 +02:00
Joel Schumacher 0499f03891 Remove extern declaration of std::vector<std::string>::emplace_back to fix compliation with MSVC 2018-10-03 20:02:10 +02:00
Alex Szpakowski e1ec98ad64 Add an ARM NEON simd implementation of matrix multiplication. 2018-09-29 14:52:11 -03:00
Alex Szpakowski 535be96f03 Optimize StreamBuffer::getUsableSize to not be a virtual method. 2018-09-29 14:50:49 -03:00
Alex Szpakowski 0cf106fa6a Keep a reference to the SDL video subsystem in the mouse module, since cursors need it. Potentially resolves issue #1388. 2018-09-28 20:51:41 -03:00
Josh Grams cca5af66e8 setCanvas: rephrase confusing error message. 2018-09-21 08:32:27 -04:00
Alex Szpakowski 79679f6272 Fix an uninitialized variable causing (harmless) OpenGL errors. Resolves issue #1434. 2018-08-14 18:10:15 -03:00
Alex Szpakowski b38c61b7ce Merged in daviel/love/bodygettransform (pull request #107)
Added body:getTransform method
2018-06-09 13:36:56 +00:00
David K b8c9bc38a1 Renamed arguments in setTransform method. Merge setters in to one lamba
--HG--
branch : bodygettransform
2018-05-26 09:54:09 +02:00
David K 0d1b2bc68a Added body:setTransform method
--HG--
branch : bodygettransform
2018-05-24 20:25:55 +02:00
David K 29b7dcf21b Added body:getTransform method
--HG--
branch : bodygettransform
2018-04-29 21:05:03 +02:00
Alex Szpakowski 4546a38751 Update changelog and version 2018-04-08 11:31:10 -03:00
Alex Szpakowski 866df108ab Windows: attempt to make love._openConsole smarter about dealing with already being attached to a console. See issue #1394. 2018-04-07 18:59:12 -03:00
Alex Szpakowski b934f74795 Fix Fixture:getShape() causing crashes with ChainShapes (resolves issue #1392), removed dead code that's no longer valid 2018-04-07 18:37:29 -03:00
Alex Szpakowski bb228cab0c Fix love.event.quit causing crashes and other bad behaviour if a Canvas is active. Resolves issue #1395. 2018-04-07 12:43:00 -03:00
Alex Szpakowski 7b91ab915c Potentially fix depth/stencil support on older phones. 2018-04-07 11:35:20 -03:00
Bart van Strien 571503c02e Don't use deprecated isFile in love.joystick.loadGamepadMappings (fixes #1391) 2018-04-04 17:49:51 +02:00
Alex Szpakowski 93372b87a8 Fix love.graphics.clear(colortable) when no Canvas is active. 2018-04-03 20:12:41 -03:00
Alex Szpakowski 613de97b58 Fix Source:queue to show the correct argument in the error message when an invalid data parameter is passed in. 2018-04-02 16:34:48 -03:00
Alex Szpakowski cfa30167ca Fix hash map collisions when setting canvases. 2018-04-02 15:58:38 -03:00
Alex Szpakowski 388c93b049 nogame screen: escape key quits love. 2018-04-01 15:05:39 -03:00
Alex Szpakowski 3fe9e51a46 nogame screen: bring back double-tap-to-exit on touch screens. 2018-04-01 13:01:02 -03:00
Martin Felis 1462f4cf56 (Android) Removed declaration of log2 as it is available in newer NDK APIs 2018-03-31 22:46:12 +02:00
Bart van Strien da9716b96d Update version number and changelog 2018-03-31 12:27:02 +02:00
Alex Szpakowski 0cefb12c13 Add a variant of love.filesystem.getInfo which filters based on file type. getInfo(filename, "directory") will only return info for non-symlinked directories, for example. 2018-03-24 14:43:56 -03:00
Alex Szpakowski 277816fc86 Update codename 2018-03-11 19:11:33 -03:00
Alex Szpakowski 3949fde802 Fix querying the default audio recording device, some Source code style cleanups. 2018-03-11 18:47:44 -03:00
Alex Szpakowski 3a2ffc5e07 Add support for header-less DEFLATE data to love.data.compress/decompress. 2018-02-24 22:28:58 -04:00
Bart van Strien f32237a524 Prevent error in File:lines if the last line does not end with a newline (resolves #1383) 2018-02-17 14:55:39 +01:00
Alex Szpakowski 8e83834722 Use the joystick's name in new gamepad mappings, when possible. Resolves issue #1370. 2018-02-16 18:20:35 -04:00
bjornbytes 1916c2a5fa Fix getCanvas for cube canvases; 2018-02-11 22:09:14 -08:00
Bart van Strien d60849a9d5 Fix looping in File:lines on opened files (resolves #1377) 2018-02-11 12:10:57 +01:00
Bart van Strien fc9fcd2626 Prevent needless seeking in File:lines on closed files (issue #1377) 2018-02-10 12:06:30 +01:00
Alex Szpakowski 53872d813a Don't error when love.joystick.loadGamepadMappings is given an empty string/file, since saveGamepadMappings can produce that. Resolves issue #1375. 2018-02-07 22:32:06 -04:00
Alex Szpakowski a361b5c330 Fix invalid base64 produced by love.data.encode when the input data has byte values greater than 252. Resolves issue #1374. 2018-02-07 22:28:33 -04:00
Bart van Strien 2f17cab3b4 Prevent out-of-bounds access in Text:add when an empty string is added (fixes #1372) 2018-01-30 17:31:44 +01:00
Alex Szpakowski d37c53584e Fixed the mipmaps flag in love.graphics.newImage; cleaned up a bit of vector code in love.math.isConvex. 2018-01-28 22:32:40 -04:00
Alex Szpakowski a461f2d7af Improve the error message when love.filesystem.init fails. 2018-01-28 16:53:09 -04:00
Alex Szpakowski 0bc820ee0e Merged in cigumo/love (pull request #99)
Changes Filesystem::setSource mount order on Android

Simplifies the way setSource is handled on Android. It tries to mount
first and if that fails it will copy to memory and mount.

This works alongside a separate patch to GameActivity.java submitted
to the love-android-sdl2 repo, that contains the /sdcard/lovegame
fallback mechanism, and also allows to copy the game.love to the app
cache dir, which is useful for large files.
2018-01-25 02:15:29 +00:00
Alex Szpakowski a2454d74cd Fix some DPI scale calculations to work with depth-only rendering. 2018-01-21 17:35:57 -04:00
Alex Szpakowski c798cce89d Improve the error message given when love.event pumping functions are called with a Canvas active. 2018-01-14 19:25:38 -04:00
Alex Szpakowski 39201af79f Improve the error message when an invalid layer or face index is given in love.graphics.setMode. 2018-01-14 19:15:24 -04:00
Alex Szpakowski 4d5c4ef807 Fix Body:isTouching. 2018-01-14 14:40:46 -04:00
Alex Szpakowski 02e115c339 Add Body:isTouching(otherbody). See issue #1365. 2018-01-14 14:37:48 -04:00
Alex Szpakowski ac52666c6f Rename ParticleSystem:setAreaSpread to setEmissionArea, and move the functionality from setAreaSpreadAngle/setAreSpreadIsRelativeDirection into setEmissionArea. Resolves issue #1311. 2018-01-13 21:11:07 -04:00