Commit Graph

3873 Commits

Author SHA1 Message Date
Miku AuahDark ae465f8e4b Insert Android-specific changelog. 2023-11-15 12:16:19 +08:00
Sasha Szpakowski a3a6e29ef0 Update changelog 2023-11-07 20:27:42 -04:00
Sasha Szpakowski 2aad15c865 Fix DistanceJoint type information 2023-10-14 16:42:31 -03:00
Sasha Szpakowski ba693500c4 Fix love.font.newBMFontRasterizer when it's given a single file param. 2023-10-11 22:05:33 -03:00
Sasha Szpakowski 2deb6273c2 Replace defunct IRC channel in readme with subreddit link 2023-08-20 13:39:20 -03:00
Miku AuahDark 536e7e9f69 configure.ac: Specify CXXFLAGS instead of CPPFLAGS.
Autotools uses CPPFLAGS for C preprocessor and CXXFLAGS for C++ compile flags.
2023-08-03 17:54:46 +08:00
Sasha Szpakowski 7706ac7ba9 iOS: don't try to open audio recording devices for capture.
It hard-crashes inside the alcCaptureOpenDevice call with Apple's OpenAL implementation.
See #1912.
2023-07-22 18:04:12 -03:00
Sasha Szpakowski e582677344 Fix mouse position backward compatibility with new SDL2 versions.
Clamp the mouse coordinates to the window's dimensions.
2023-07-01 17:53:29 -03:00
Sasha Szpakowski 6563aec89d Merge pull request #1944 from MellowArpeggiation/main
Fix #1943 - Duplicate frames being skipped when decoding Theora
2023-06-18 12:56:07 -03:00
Sasha Szpakowski 5f4f0b424b love.joystick: more fixes for duplicate platform fields in gamepad mapping strings. 2023-06-18 11:54:17 -03:00
George Paton 241378e437 Revert to old packetin loop, set granulePosition after each packet read in 2023-06-18 12:39:56 +10:00
Sasha Szpakowski df7a55911d Fix love.joystick.setGamepadMapping breaking the mapping string when replacing an existing binding.
issue #1936.
2023-06-17 22:16:18 -03:00
Sasha Szpakowski f06d6c6281 Only add platform field to love.joystick.getGamepadMappingString's result if it's not there already. 2023-06-17 20:34:27 -03:00
George Paton ec0c65642b Fix #1943 duplicate frames being skipped when decoding Theora 2023-06-15 19:22:57 +10:00
Miku AuahDark e559fd5e68 Pass pointer of PHYSFS_AndroidInit struct in Android when initializing PhysFS. 2023-06-01 15:33:04 +08:00
Miku AuahDark e9c564e989 Use new PhysfsIo class for Android AAsset wrapper. 2023-06-01 15:10:43 +08:00
Sasha Szpakowski 93c2709f7c Maybe fix build when VS2013 is used 2023-05-29 10:29:46 -03:00
Sasha Szpakowski 63f0af8971 Merge pull request #1935 from ImagicTheCat/hash-func-fix
Hash function fixes.
2023-05-29 09:47:44 -03:00
Sasha Szpakowski 5f733ef0fa Add new PhysfsIo file to xcode project 2023-05-29 09:43:44 -03:00
Sasha Szpakowski 6cc188b8ba Merge pull request #1930 from pfirsich/physfs_skip_codesign
Add PHYSFS_Io StripSuffixIo to skip codesign signatures
2023-05-29 09:42:25 -03:00
Sasha Szpakowski a161207f02 update PhysFS to 3.2.0.
Fixes #1880.
2023-05-28 12:30:32 -03:00
ImagicTheCat 22e68868e1 Fix/improve SHA-384/512 hashing. 2023-05-24 16:29:23 +02:00
ImagicTheCat ade382072d Fix/improve SHA-224/256 hashing. 2023-05-24 16:10:53 +02:00
ImagicTheCat 4304132f8f Fix/improve SHA1 hashing. 2023-05-24 16:09:34 +02:00
ImagicTheCat f1a5e47aae Fix/improve MD5 hashing. 2023-05-24 16:08:27 +02:00
Miku AuahDark 4cd0bc0de4 Improve full-lightuserdata check on 32-bit platforms.
On 32-bit platforms, full-lightuserdata is always supported since their pointer fits entirely in 2^48 limitation that LuaJIT had in older version.

Also suppress warning about key > 0x20000000000000ULL is always false on enet.cpp when compiling on 32-bit platforms.
2023-05-23 11:12:34 +08:00
Miku AuahDark f7432bd2d4 Swap alignment workaround from processor to ternary operator. 2023-05-23 10:55:01 +08:00
Miku AuahDark f2ff90c68b Workaround alignment issue in ENet on 32-bit platforms. 2023-05-23 10:45:09 +08:00
Joel Schumacher efc54d5124 Add PHYSFS_Io StripSuffixIo to skip codesign signatures
When a fused löve executable is signed with codesign on Windows some
data is appended to the executable, preventing physfs from finding the
zip file at the end of the file.
To help physfs out a bit, we try to find the zip ourselves in the case
of regular mount failure by looking for it's characteristic end of
central directory record and, once found, pretend to physfs that the
file is shorter than it actually is and ends at the end of the zip file.
2023-05-18 13:57:07 +02:00
Miku AuahDark c8e7d4e28a Change the usage of constexpr to const.
VS2013 doesn't support them.
2023-05-03 19:05:01 +08:00
Miku AuahDark 0768583aaa Merge branch 'workaround_32bitalign' 2023-05-03 18:42:16 +08:00
Miku AuahDark 39763bba2f Retry make getdeps 250 times. 2023-04-26 22:18:53 +08:00
Sasha Szpakowski 7828d1e0fb Fix macOS colorspace backport 2023-04-23 21:19:32 -03:00
Miku AuahDark 4ab9a1ce8c Workaround alignment issue in Linux 32-bit platforms.
Apparently geting alignment right pre-C++17 is not easy.
Well, 2^32 fits entirely in Lua "double" 2^53 so it's fine
to assume alignment of 1.

Fixes #1916.
2023-04-19 16:26:06 +08:00
Sasha Szpakowski 78e7c44424 update version 2023-04-15 09:37:22 -03:00
Miku AuahDark c849f71d14 Artifact AppImage debug symbols. 2023-04-15 16:17:42 +08:00
Miku AuahDark 544bba8ef0 Update GitHub Actions dependencies. 2023-04-15 16:16:42 +08:00
Miku AuahDark fa9978ec08 Use Ubuntu 20.04 for Linux build.
actions/runner-images#6002
2023-04-14 23:25:12 -03:00
Sasha Szpakowski fe886c3c51 Updated changelog 2023-04-13 22:32:54 -03:00
scurest f5b8117c19 graphics: fix typo in comment 2023-04-13 22:12:28 -03:00
scurest 106daedf75 graphics: fix for anti-parallel line segments (#1894)
Handle the case when a line doubles back on itself, eg

  love.graphics.setLineJoin("bevel")
  love.graphics.line({
    180, 400,
    200, 400,
    100, 400
  })
2023-04-13 22:12:22 -03:00
Sasha Szpakowski a71cfdcb50 Fix typo 2023-04-13 22:12:11 -03:00
Sasha Szpakowski 1080507c7d Improve variable name readability in line rendering code. 2023-04-13 22:12:05 -03:00
slime c245397178 Remove NaN-check C assert calls in line drawing code.
Users can pass NaN point values into line drawing code. love shouldn't abort the entire program if that happens.
2023-04-13 22:11:46 -03:00
Klonan 7e0f8ca791 FIx polyline adding NaN normals, which breaks the line rendering 2023-04-13 22:11:35 -03:00
slime f6e9277a6d macOS: fix colors appearing oversaturated on P3 displays.
The fix only applies to macOS 11+ when using OpenGL.
2023-04-13 22:03:23 -03:00
Sasha Szpakowski 9963d1247c update windows build status URL 2023-01-30 09:41:02 -04:00
Sasha Szpakowski 02d2dc9427 Fix race condition when a thread is destroyed right after thread:start 2023-01-18 17:27:06 -04:00
Sasha Szpakowski 0f4304edd1 Pump events a couple times during bootup.
Fixes unexpectedly slow first frames on macOS.
Fixes #1859
2023-01-15 12:36:15 -04:00
Sasha Szpakowski 592c306276 Fix images with mipmaps when ANGLE is used with an AMD gpu. 2023-01-14 22:35:00 -04:00