Commit Graph

3762 Commits

Author SHA1 Message Date
Alex Szpakowski c5b8930a75 Updated changelog 2021-11-24 21:30:18 -04:00
Alex Szpakowski 8f9d1d7f82 xcode: address setting recommendations added in 13.1 2021-11-24 21:18:45 -04:00
Alex Szpakowski b87034404e newVideo: slightly more descriptive error when given an invalid file 2021-11-24 21:15:51 -04:00
Alex Szpakowski ff12dbbd69 Merge pull request #1729 from MikuAuahDark/fix1728
Break OggDemuxer::readPage loop on EOF.
2021-11-24 21:07:04 -04:00
Alex Szpakowski d0e22fb56e Merge pull request #1739 from s-walrus/fix/font-getwrap-final-newline
Fix #1707: Font:getWrap() removing final newline charancter
2021-11-20 16:43:56 -04:00
Miku AuahDark 7b6012891d Replace AppImage packaging method.
The new AppImage packaging method compiles all the dependencies from
source instead of using system-provided libraries, which can be
problematic in certain situations (see #1710).

Fixes #1710 and closes #1700
2021-11-20 11:42:33 +08:00
Alex Szpakowski bd741a8c78 Fix incorrect particle offsets when Quads are used without setOffset.
Fixes #1741.
2021-11-19 21:44:04 -04:00
Miku AuahDark 0f9e598ebb Fixed love.filesystem.getDirectoryItems() in Android with new fusing mehod. 2021-11-13 14:34:54 +08:00
Alex Szpakowski 888051d01e Potential very hacky workaround for arm64 JIT allocation issues.
Try to reserve blocks of executable memory before external library code claims the address space. LuaJIT on arm64 currently has a very limited range of memory it can use for JIT code.
2021-11-12 21:58:49 -04:00
Miku AuahDark 1bb22d2e90 Set game source path when using virtual archive in Android.
This will also prevent double `love.filesystem.setSource()` call
in that case.
2021-11-05 15:22:03 +08:00
Miku AuahDark 3a18a2ab0d Use GameActivity.buildFileLookup via JNI to build file tree.
Turns out AAssetDir_getNextFilename() intentionally excludes directories,
thus the custom archive backend only sees the top-level files.
2021-11-05 13:55:14 +08:00
Miku AuahDark b79b99bbaa Use specialized logic when loading C modules in Android. 2021-11-02 17:54:13 +08:00
Semyon Yentsov a57d207a57 Fix bug #1707 2021-11-01 01:37:18 +03:00
Alex Szpakowski e27a71f798 Move boot.lua to src/modules/love/ with raw string literal format.
Split it up into 3 files to keep under VS2013's raw string literal character limit.
Now boot.lua doesn't need a regeneration step when it's modified.
2021-10-19 21:22:26 -03:00
Alex Szpakowski 0f4adbab0d update stb_image from 2.26 to 2.27 2021-10-16 21:28:22 -03:00
Alex Szpakowski 9b8a422d95 update lodepng to latest code 2021-10-16 21:25:05 -03:00
Alex Szpakowski 28372bff7e Update readme to refer to new main branch name 2021-10-16 21:15:58 -03:00
Alex Szpakowski e5954af38e update Github Actions builds to pull megasource from the new main branch 2021-10-16 21:14:38 -03:00
Alex Szpakowski 4574805486 Make rounded rectangles more robust.
- rx and ry parameters are set to 0 if they're negative.
- automatic points calculation doesn't cause an unnecessarily large amount of points when rx or ry are greater than half the rectangle's size.
2021-10-10 22:08:56 -03:00
Alex Szpakowski 4a579bf2a7 Merge pull request #1730 from zombrodo/fix/1721-printf-wrap
Fix #1721: floor result of scaling kerning based on dpi
2021-09-24 23:01:51 -03:00
Miku AuahDark 75a3e5db01 Fix VS2013 compilation of a066e18. 2021-09-25 08:17:41 +08:00
Miku AuahDark de368ade4a Break OggDemuxer::readPage loop on EOF. 2021-09-21 22:52:50 +08:00
Miku AuahDark a066e18aa6 Register custom Lua PANIC handler that shows message box.
Some users complained that LOVE simply closes when it reaches
certain memory limit. Note that this is not a foolproof solution.
See the comments.

The real fix for this is to switch LuaJIT to GC64 mode on x64.
2021-09-15 23:22:32 +08:00
Alex Szpakowski 16ebaea390 Fix DXT1 textures which use 1 bit alpha-cutout.
Note that premultiplied alpha blending must be used with DXT1 alpha cutout textures if linear filtering is used, otherwise transparent black pixels will be blended with opaque non-black pixels resulting in dark fringes.
2021-09-05 12:55:32 -03:00
Jack Robinson bfca659e37 Fix #1721: floor result of scaling kerning based on dpi 2021-08-31 21:22:06 +12:00
Miku AuahDark 216d5ca4b2 Fix love.displayrotated passes boolean instead of string
Fixes #1722
2021-08-21 14:31:44 +08:00
Alex Szpakowski 1e69a8c485 macOS: fix framework dependency paths in xcode 2021-06-06 11:46:22 -03:00
Miku AuahDark f272570797 Update license with new commit hash and URLs
* Update stb_image and dr_flac commit hash
* Update OpenAL-soft URL
2021-05-31 09:57:33 +08:00
Alex Szpakowski d899fe96b6 update dr_flac 2021-05-30 21:27:34 -03:00
Alex Szpakowski d419795a28 Expand stb_image thread-local workaround to apply to iOS devices 2021-05-30 21:12:45 -03:00
Alex Szpakowski df4519873c Add github build action for iOS.
Currently builds iOS Simulator only (to avoid needing code signing), with no artifacts.
2021-05-30 16:44:06 -03:00
Alex Szpakowski 5c3ff29a30 Update xcode project version 2021-05-30 16:42:29 -03:00
Alex Szpakowski 512b0b068c Fix release builds for iOS Simulator 2021-05-30 16:40:29 -03:00
Alex Szpakowski 042b0ffe31 Fix previous workaround commit... 2021-05-30 16:06:11 -03:00
Alex Szpakowski 13523f5a5a Update stb_image 2021-05-30 16:04:54 -03:00
Alex Szpakowski f20c637dd6 iOS: Fix simulator build 2021-05-30 16:04:37 -03:00
Alex Szpakowski aa8ed7c8c5 Revert change that added codepoint variant of Font:getWidth.
It could break code that relied on Lua's implicit conversion from numbers to strings.
2021-05-30 15:46:21 -03:00
Miku AuahDark 4fe21d40d1 Switch from Ubuntu 16.04 to 18.04
This is only for GitHub Actions artifacts (due to actions/virtual-environments#3287),
thus official releases will hopefully still based on 16.04.
2021-05-30 23:36:12 +08:00
Alex Szpakowski 838901f5dc Update readme with new macOS build instructions 2021-05-30 12:19:01 -03:00
Alex Szpakowski 5b4c4e5a0e github action for macOS archives .app file. 2021-05-30 12:07:02 -03:00
Alex Szpakowski 28a3dca937 Add github build action for macOS 2021-05-30 12:06:26 -03:00
Alex Szpakowski 3cf303adb3 macOS: build for arm64+x64.
Remove obsolete linker flags needed for LuaJIT 2.0.
2021-05-30 11:08:52 -03:00
Alex Szpakowski aeb2a853c7 macOS: xcode only looks for frameworks in platform/xcode/macosx/Frameworks.
A symlink can be used if other search locations are desired.
2021-05-30 11:07:53 -03:00
Alex Szpakowski 4e15df2df9 macOS: remove accidentally included Lua files from love.framework 2021-05-30 10:47:47 -03:00
Alex Szpakowski fbe8ce198c Add project-local macOS frameworks to gitignore 2021-05-30 10:45:58 -03:00
Alex Szpakowski e9c58c8192 Work around certain buggy Vivante GPU drivers on Android
love2d/love-android#204
2021-04-17 15:09:21 -03:00
Alex Szpakowski 977c690fa9 Fix physics meter value persisting after love.event.quit("restart").
Fixes #1685
2021-04-11 19:53:16 -03:00
Alex Szpakowski 6f8c48f6cd Reorder readme sections 2021-04-05 12:25:40 -03:00
Alex Szpakowski 774ebfcf90 Small tweaks to readme 2021-04-05 12:10:01 -03:00
Alex Szpakowski 7b6978f052 Add Font:getKerning.
Also add a variant of Font:getWidth which accepts a codepoint number.
Fixes #1403
2021-04-05 11:22:54 -03:00