Alex Szpakowski
f151190548
filesystem restructure work.
...
Add mount/unmountCommonPath, mount/unmountFullPath, getFullCommonPath.
Reimplement identity and save directory code in terms of new commonpath code.
Add internal createRealDirectory function (not exposed, currently).
2021-01-01 16:29:40 -04:00
Alex Szpakowski
f00f5cb51a
physfs: add PHYSFS_canUnmount
...
Fix unmount on a RW archive not checking if writable files are open
2021-01-01 16:25:50 -04:00
Alex Szpakowski
2bee42893b
physfs: fix indentation
2020-12-31 14:10:39 -04:00
Alex Szpakowski
f61a650a87
Add 'readonly' field to love.filesystem.getInfo's returned table
2020-12-31 00:06:41 -04:00
Alex Szpakowski
9e9fa71589
physfs: Add PHYSFS_mountRW
2020-12-30 22:54:08 -04:00
Alex Szpakowski
801bc4b5d4
Merge branch '12.0-development' into filesystem
2020-12-27 14:22:38 -04:00
Alex Szpakowski
2868893ddf
Merge branch 'master' into 12.0-development
2020-12-22 22:55:05 -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
85ca9f51d3
Merge pull request #1645 from MikuAuahDark/windows-arm-rework
...
LÖVE on Windows 10 ARM patches (step 2)
2020-12-22 20:04:16 -04:00
Alex Szpakowski
b7400892a4
Merge branch 'master' into 12.0-development
2020-12-22 19:35:06 -04:00
Alex Szpakowski
140c1f38c0
Minor code style tweaks
2020-12-22 19:34:23 -04:00
Alex Szpakowski
1f9d98263d
Refactor Buffer internals.
...
Allows buffers created with love.graphics.newBuffer to only allocate VRAM data. Previously they had a copy of their contents in RAM.
Also makes it easier to implement Buffers in other graphics APIs and to implement more types of Buffers in the future.
2020-12-22 19:23:02 -04:00
Alex Szpakowski
a1861a8ff4
Don't allow calling Texture:generateMipmaps on depth/stencil textures
2020-12-21 13:36:29 -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
cigumo
74edaf8fba
adds iOS audio interruption handling and recovery
2020-12-08 23:13:52 -03:00
Miku AuahDark
67ea81f739
Don't look for (and link with) OpenGL for Megasource build
2020-12-03 14:29:03 +08:00
Miku AuahDark
6301b690af
Ensure LOVE_SIMD_NEON is defined when compiling for Windows ARM64
2020-12-03 13:53:41 +08:00
Miku AuahDark
c8eeefba51
dr_flac: Ensure NEON codepath is taken for Windows ARM64
...
Patch based on mackron/dr_libs@5c6b5b1638
2020-12-03 13:48:25 +08:00
Miku AuahDark
fc69bcce03
dr_mp3: Fix Windows ARM64 compilation.
...
Based on lieff/minimp3@0d0c452dc7 . dr_mp3 is based on minimp3,
thus have similar structure.
Ieally, we should update dr_mp3, but it makes the commit noisy and dr_mp3 is updated often
so an update to dr_mp3 should be done before new LOVE releases.
2020-12-03 13:45:58 +08:00
Miku AuahDark
cfda1f5425
PhysFS: Fix compile error when targetting Windows ARM64
2020-12-03 13:34:23 +08:00
Alex Szpakowski
975cadf66b
Merge branch 'master' into 12.0-development
2020-11-13 17:58:53 -04: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
fc2cf602f6
Fix RopeJoints not working.
2020-11-12 23:46:49 -04:00
Alex Szpakowski
6a1f4ecabe
Changelog formatting fix
2020-11-11 21:04:24 -04:00
Alex Szpakowski
5608db4bb0
Updated changelog
2020-11-11 16:35:27 -04:00
Alex Szpakowski
7b2d1dc382
Merge branch 'master' into 12.0-development
2020-11-11 16:12:21 -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
7a18190c5c
Restructure SpriteBatch internal vertex data
2020-11-03 22:12:56 -04:00
Alex Szpakowski
c12b46da98
Fix compilation on macOS/iOS after box2d update
2020-11-03 22:11:07 -04:00
Alex Szpakowski
cbde2ce76c
Merge pull request #1613 from thegrb93/box2d-update
...
Box2d update to 2.4.1
2020-11-02 21:27:57 -04:00
Alex Szpakowski
3d2614ff2e
Fix compilation when SDL < 2.0.5 is used
2020-11-02 18:20:58 -04:00
Alex Szpakowski
5031cb5f56
Images don't hold on to RAM copies of their contents anymore
2020-11-02 18:17:07 -04:00
Alex Szpakowski
316fccfe1b
love.window.setMode no longer destroys and recreates the window
2020-11-02 18:08:35 -04:00
Garrett Brown
23a0341676
Fix missing loveAssert
2020-11-01 22:46:31 -05:00
Alex Szpakowski
905e5baf06
Replace highdpi window flag with t.highdpi in love.conf
2020-11-01 21:36:15 -04:00
Alex Szpakowski
f0838a4eb7
Merge branch 'master' into 12.0-development
2020-10-26 20:43:52 -03: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
7e0c7e3a67
Fix the default mipmap filter for textures.
2020-10-26 18:25:40 -03:00
Alex Szpakowski
99875d83b3
Fix explicit texture MSAA of 1 or 0 not being treated the same as the default
2020-10-26 17:11:50 -03:00
Alex Szpakowski
e10444c21f
Move Texture:generateMipmaps error handling out of backend code
2020-10-25 23:13:50 -03:00
Alex Szpakowski
442f37e0a1
Fix a potential bug in captureScreenshot on some older systems
2020-10-25 23:00:12 -03:00
Alex Szpakowski
7934ce0a66
Handle backbuffer MSAA manually in love.graphics code
...
Previously love would use SDL APIs to make the system (WGL etc) handle it, which meant the OpenGL context had to be recreated whenever MSAA changed.
2020-10-25 22:24:07 -03:00
Garrett Brown
dd445ed182
Fix b2Assert location and fix isfinite missing
2020-10-17 22:52:58 -04:00
Garrett Brown
dfd8c84d43
replace isfinite with std::isfinite
2020-10-17 22:40:07 -04:00
Garrett Brown
1b74b34cce
Update userdata stuff to how new box2d wants it
2020-10-17 22:30:01 -04:00
Garrett Brown
77f238767f
Update to box2d 2.4.1
2020-10-17 22:15:18 -04:00
Alex Szpakowski
2b0f8495bf
Fix a crash in Text:set. Fixes issue #1639
2020-10-16 21:19:50 -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