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
Alex Szpakowski
b5ef8a8c2c
Update changelog
2021-04-05 11:01:02 -03:00
Alex Szpakowski
c59c85e04c
Fix Text:getWidth when the Text only contains spaces
...
Fixes #1555
2021-04-05 10:32:01 -03:00
Alex Szpakowski
f89aabb0bb
Update copyright year for 2021
2021-04-04 16:14:45 -03:00
Alex Szpakowski
1e3e4faba7
Fix the wrong type of deletion used in some internal Mesh data
2021-04-04 16:02:59 -03:00
Alex Szpakowski
c991f999eb
Account for different DPI scales in font fallbacks.
...
Fixes #1675
2021-04-04 16:01:22 -03:00
Miku AuahDark
cbc0602620
Make sure to delete activity returned by SDL when calling getAssetManager()
2021-02-13 19:03:23 +08:00
Miku AuahDark
22455276f6
Implement experimental fusing method.
...
https://github.com/love2d/love-android/issues/201#issuecomment-772628115
2021-02-06 22:10:49 +08:00
Miku AuahDark
e967348409
Implement AAsset virtual archive for Android
2021-02-06 22:04:33 +08:00
Alex Szpakowski
4ebe64afe1
Merge pull request #1662 from MikuAuahDark/full64bitludata
...
Allow full 64-bit lightuserdata usage if the LuaJIT supports it.
2021-01-09 11:44:13 -04:00
Miku AuahDark
4f491c2e61
Allow full 64-bit lightuserdata usage if the LuaJIT supports it.
...
Issue love2d/love-android#200
Original patch was sent by slime in Discord. Modified a bit to add
code that checks for 64-bit lightuserdata support.
2021-01-07 11:49:11 +08:00
Alex Szpakowski
9742adb1b9
macOS: add search paths for mpg123's headers
...
Needed for newer versions of mpg123
2021-01-05 17:37:01 -04:00
Alex Szpakowski
ecae291b53
Merge pull request #1658 from MikuAuahDark/tell64
...
Support for >2GB DroppedFile in desktops.
2021-01-02 16:12:51 -04:00
Miku AuahDark
61580c7a0d
Update src/modules/filesystem/DroppedFile.cpp
...
as suggested
Co-authored-by: Qais Patankar <qaisjp@gmail.com >
2021-01-01 20:48:15 +08:00
Miku AuahDark
781acf5c4d
Support for >2GB DroppedFile in desktops.
2020-12-31 16:48:42 +08:00
Miku AuahDark
7524677d4c
Don't use feof to check for end-of-file in DroppedFile.
...
Fixes #1551
Apparently `feof` is only set when `fread(..., size, count, ...) < size * count` happends,
however we actually have code that automatically adjust amount of bytes to read
(and at "eof" it really happends to be 0) so fread is never able to set the EOF flag.
2020-12-31 10:32:05 +08:00
Alex Szpakowski
c04b8d19a0
Merge pull request #1657 from qaisjp/feature/get-world-points
...
Fix #1614 : add Body:getLocalPoints
2020-12-30 14:17:06 -04:00
Qais Patankar
562cc6b1cb
Fix #1614 : add Body:getLocalPoints
2020-12-30 04:27:48 +00:00
Alex Szpakowski
95ab4054ff
Fix a freeze on Intel drivers when using mipmapped Canvases
...
Fixes #1585
Also disallow generateMipmaps on depth/stencil canvases because it's not really supported.
2020-12-26 16:37:37 -04:00
Alex Szpakowski
4f730e930b
Potential workaround for driver bug related to canvas mipmaps
2020-12-25 16:13:29 -04:00
Miku AuahDark
9c4db00e94
Android: Fix changing orientation with t.window.fullscreen = true
...
Fixes love2d/love-android#196
2020-12-25 21:45:32 +08:00
Alex Szpakowski
fe23c16198
Disable gamma correction on Windows + Intel HD 2/3000 / Intel HD Graphics
...
It's completely broken there. Closes #1592
2020-12-24 20:31:33 -04:00
Alex Szpakowski
90bd8f1811
Update version
2020-12-24 12:45:08 -04:00
Alex Szpakowski
9e460ba53e
Fix explicit window position not being restored in some cases when exiting fullscreen
...
Fixes #1426
2020-12-24 12:29:00 -04:00
Miku AuahDark
57a2a88a09
Android: Rename "openURL" Java method to "openURLFromLOVE"
...
SDL 2.0.14 adds openURL method which conflicts with LOVE one.
2020-12-24 22:15:15 +08:00
Alex Szpakowski
48a13d443b
Fix validating glsl1 shaders using array textures on GLES3
2020-12-23 20:42:12 -04:00
Alex Szpakowski
d357ceb191
Merge pull request #1648 from xordspar0/tegra-3-bug
...
Work around Ouya driver bug related to texture array support
2020-12-23 20:13:41 -04:00
Alex Szpakowski
ae4fe5bff9
Update Xcode project files
2020-12-23 13:00:24 -04:00
Alex Szpakowski
f3afdee70a
Keep math.mod and string.gfind when LuaJIT 2.1 is used
...
Code written assuming LuaJIT 2.0 is being used might rely on them, even though they're deprecated (and removed in LuaJIT 2.1).
2020-12-23 12:58:26 -04:00
Alex Szpakowski
bfaae71f2a
macOS: only build for x64, for now
...
We don't support arm64 yet
2020-12-22 22:54:43 -04:00
Alex Szpakowski
140c1f38c0
Minor code style tweaks
2020-12-22 19:34:23 -04:00
Alex Szpakowski
73c79d1b73
Merge pull request #1646 from cigumo/ios-audio-interruption-handling
...
adds iOS audio interruption handling and recovery
2020-12-18 22:53:02 -04:00
Miku AuahDark
81272ba5b5
Only use pinned memory on AMD GPUs.
...
As per in Discord, for some reason Intel driver in Linux(?) expose
pinned memory extension and causes driver crash in one test case.
2020-12-15 10:25:38 +08:00
Jordan Christiansen
0fd53e2e3d
Disable GL_EXT_texture_array on OpenGL ES 2.0
...
The Nvidia Tegra 3 driver for Android (used by Ouya) erroneously claims
to support the desktop-oriented GL_EXT_texture_array extension. On
desktop GPUs using (non ES) OpenGL, the glTexImage3D and similar
functions are always present, and the GL_EXT_texture_array extension
simply adds support for texture arrays to those functions. On OpenGL ES
2.0, those functions do not exist, and GL_OES_texture_3D is required to
define them.
Calling glTexImage3D on the Tegra 3 causes a segfault. This change works
around the issue by manually setting GLAD_EXT_texture_array to 0 on
OpenGL ES 2.0 systems, which causes LÖVE to avoid codepaths that assume
that the 3D texture functions are available. It doesn't make sense for
any OpenGL ES 2.0 GPU to claim support for GL_EXT_texture_array.
Fixes #1647
2020-12-09 19:54:36 -06:00
cigumo
74edaf8fba
adds iOS audio interruption handling and recovery
2020-12-08 23:13:52 -03:00
Alex Szpakowski
0b06d0d1f9
macOS: turn code signing off completely on x64
...
Previously it was using ad-hoc ('sign to run locally') signing, which breaks on macOS 10.14 and older when a .love is put in the Resources subfolder. Ad-hoc is necessary on Apple Silicon but not x64, if real code signing isn't used.
2020-11-13 17:57:30 -04:00
Alex Szpakowski
1bcae1abe9
Update changelog
2020-11-11 16:07:35 -04:00
Alex Szpakowski
e32935e0f6
Backport Canvas memory stats fix from 12.0.
...
Fixes #1642
2020-11-11 15:11:00 -04:00
Alex Szpakowski
f519d2e2df
macOS: fix issues with drag-and-drop to open a love game
...
- Fix love.event.quit("restart") running the no-game screen instead of the current game.
- Fix fused apps opening other games when drag-and-drop is used.
2020-10-26 20:37:41 -03:00
Alex Szpakowski
2b88ca1da4
Merge pull request #1637 from glebm/pspawn
...
System.cpp: Do not require posix_spawn on "Linux"
2020-10-13 08:47:29 -03:00
Gleb Mazovetskiy
0ad34a3c71
System.cpp: Do not require posix_spawn on "Linux"
...
Many libc implementations do not implement posix_spawn.
Allow love2d to build without it.
2020-10-13 08:39:54 +01:00
Alex Szpakowski
fec09d75c8
Merge pull request #1636 from glebm/glad
...
glad.hpp: Fix include inside a namespace
2020-10-11 23:57:28 -03:00
Gleb Mazovetskiy
186fa4e0ad
glad.hpp: Fix include inside a namespace
...
These includes should not be inside a namespace.
2020-10-11 10:27:32 +01:00
Miku AuahDark
d2c42bd746
Merge pull request #1634 from 0x7D2B/patch-1
...
Fix AUR link (love-hg to love-git)
2020-10-06 18:43:27 +08:00