Alex Szpakowski
fc1c1e1e1f
Merge branch 'main' into 12.0-development
2021-12-30 16:39:22 -04:00
Alex Szpakowski
21b996e5b4
Add note in the changelog about LuaJIT 2.1.
2021-12-30 14:00:12 -04:00
Alex Szpakowski
b66daf3338
Update iOS CI for xcframework dependencies
2021-12-30 12:48:41 -04:00
Alex Szpakowski
c0dc051bc4
iOS: use new xcframework dependency libraries.
...
They support arm64+x64 simulators, as well as 64 bit iOS devices.
2021-12-30 12:46:37 -04:00
Miku AuahDark
165ffa7e34
Package JIT modules as artifact in Windows
...
See #1752
2021-12-30 20:00:04 +08:00
Alex Szpakowski
ebe628eb8b
Update CI and readme for new love-apple-dependencies repo path.
2021-12-28 16:25:03 -04:00
Alex Szpakowski
0786eff656
Update changelog
2021-12-28 15:30:10 -04:00
Alex Szpakowski
cf0a45f601
Fix non-stream buffers uploading redundant data when a sub-range is modified.
...
https://love2d.org/forums/viewtopic.php?f=4&t=92458
2021-12-28 15:10:09 -04:00
Alex Szpakowski
bfcf025ef7
Add 'staging' buffer data usage enum.
2021-12-28 12:49:33 -04:00
Alex Szpakowski
52101b2563
Add love.graphics.copyTextureToBuffer and copyBufferToTexture.
2021-12-28 12:46:56 -04:00
Alex Szpakowski
d7bfc2ebcb
Fix compile error
2021-12-27 21:31:04 -04:00
Alex Szpakowski
5b3a5e7721
Remove the need for copysource and copydest buffer usage flags.
2021-12-27 21:17:04 -04:00
Alex Szpakowski
4195911680
Relax Texture:replacePixels sub-rect restriction for compressed textures.
2021-12-27 12:10:37 -04:00
Alex Szpakowski
75b2ddc3c9
Fix love.graphics.clear's alpha component.
2021-12-24 16:14:06 -04:00
Alex Szpakowski
185b53421a
Fix function declaration type mismatch (didn't cause any errors).
2021-12-24 11:41:12 -04:00
Alex Szpakowski
c8038f22df
Merge branch 'main' into 12.0-development
2021-12-24 11:35:35 -04:00
Alex Szpakowski
cee8f8ae48
Fix a compiler warning
2021-12-24 11:26:11 -04:00
Miku AuahDark
ede0ad0a20
Fix ENet error on certain system with >48-bit pointers.
...
Fixes love2d/love-android#222
2021-12-19 09:47:45 +08:00
Alex Szpakowski
6adfe16c26
Merge pull request #1758 from megagrump/main-fileDataFromData
...
Create FileData from Data objects
2021-12-13 10:41:19 -04:00
megagrump
b359311832
accept Data objects in newFileData
2021-12-13 09:20:17 +01:00
Alex Szpakowski
7168ef73d8
Merge pull request #1757 from MikuAuahDark/chunkname
...
Change luaL_loadbuffer chunkname with prefixes.
2021-12-11 22:05:17 -04:00
Miku AuahDark
380cc1033e
Change luax_runwrapper chunk name prefix.
2021-12-12 09:34:08 +08:00
Miku AuahDark
fb815edc28
Change luaL_loadbuffer chunkname with prefixes.
2021-12-12 09:23:00 +08:00
Alex Szpakowski
7e271fc53e
Use SDL's rumble APIs for Joystick:setVibration, when available.
...
Fixes #1756
2021-12-11 11:52:42 -04:00
Alex Szpakowski
ebd5f13456
Fix missing ByteData:clone and DataView:clone implementations.
...
Fixes #1754
2021-12-07 19:51:40 -04:00
Alex Szpakowski
7310fde7b9
glslang: fix compilation on certain newer compilers
...
This is already fixed in the latest glslang source code, but updating may be too risky for love 11.x.
2021-12-04 13:11:01 -04:00
Alex Szpakowski
b54aaf65ca
Fix the default error handler drawing when love.graphics is inactive.
...
love.graphics.isActive() is false on mobile devices when the app isn't in the foreground. On iOS there can be a few frames between when the app is backgrounded and when the OS pauses it, where it's not valid to call OpenGL functions or present the screen.
2021-12-04 11:58:00 -04:00
Alex Szpakowski
c35b1515ca
Merge pull request #1749 from Schweinepriester/patch-1
...
README.md: HTTP => HTTPS
2021-11-28 13:54:56 -04:00
Kai
9a480d7752
README.md: HTTP => HTTPS
2021-11-28 18:36:00 +01:00
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
6c43c22e26
Merge pull request #1744 from megagrump/12.0-noiseAliasing
...
use double precision numbers in love.math.noise
2021-11-22 10:21:51 -04:00
megagrump
136c3cd277
use double precision numbers in love.math.noise
2021-11-22 14:57:05 +01:00
Alex Szpakowski
9cc98df218
Merge pull request #1743 from megagrump/12.0-getMotorTorque
...
use dt instead of inv_dt in RevoluteJoint::getMotorTorque
2021-11-21 01:08:48 -04:00
megagrump
85894ad5e4
use dt instead of inv_dt in RevoluteJoint::getMotorTorque
2021-11-21 01:04:48 +01: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
Alex Szpakowski
a3ff9999d1
Disallow mat3 formats in shader storage buffers.
...
GLSL's std430 layout rules make it really unintuitive for users to deal with.
2021-11-06 18:30:08 -03:00
Alex Szpakowski
5c98cbdabd
Fix Shader:send with storage buffers when the shader uses more than 1.
2021-11-06 17:03:54 -03:00
Alex Szpakowski
fb77e64f61
Allow plain arrays of a base type as shader buffer block declarations.
2021-11-06 16:42:41 -03:00
Alex Szpakowski
68977ec311
Fix alignment of storage buffers with vec3 or mat3 components.
2021-11-06 11:17:23 -03:00
Alex Szpakowski
041aa2fc23
Revert Shader:send to cause a Lua error instead of returning false,
...
if the given variable doesn't exist or is optimized out in the shader.
2021-11-06 10:43:43 -03:00
Alex Szpakowski
b916c0ad92
Fix error message when sending buffers to unused variables
2021-11-06 10:41:30 -03: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