Sasha Szpakowski
f03cf6a88f
love.filesystem mount APIs return false if the path is already mounted.
...
Fixes #2153 .
2025-02-08 22:03:19 -04:00
Miku AuahDark
bff50070c6
Android: Support content:// URI in love.filesystem.mountFullPath.
2025-01-16 17:06:03 +08:00
Miku AuahDark
cb27e30879
Android: Cleanup and remove usage of love:// custom protocol.
...
Let SDL3 handle content:// URI support instead.
2025-01-16 17:04:27 +08:00
Sasha Szpakowski
8e98711096
small filesystem code cleanup
2025-01-04 15:52:52 -04:00
Sasha Szpakowski
337d8fa048
remove source code support for SDL2
2024-10-18 20:22:26 -03:00
Sasha Szpakowski
caca6196fc
make sure non-app common paths are canonicalized.
2024-10-17 20:56:48 -03:00
Miku AuahDark
72d865eedc
Android: Fix error when trying to open .love file through "Load .love File".
2024-10-13 13:54:37 +08:00
Miku AuahDark
86bb7ba0ae
Android: Initial SDL3 support.
2024-10-12 19:44:54 +08:00
Sasha Szpakowski
15dfc8db0b
Canonicalize getFullCommonPath paths.
...
Fixes getRealDirectory test.
2024-08-03 19:53:46 -03:00
Sasha Szpakowski
e94b8c3d04
love.filesystem canonicalizes internal full paths where possible.
...
resolves #1693 .
resolves #1100 .
2024-08-03 19:33:55 -03:00
Miku AuahDark
629fc1c581
Android: Use mode a+rwx for directories and a+rw for files in external storage path.
...
Issue love2d/love-android#269 .
2024-04-27 12:38:30 +08:00
Miku AuahDark
329796d3ba
Android: Fix inconsistency issue with t.externalstorage.
2024-04-25 12:36:43 +08:00
Miku AuahDark
4270985df1
Android: Fix missing directories and files with externalstorage when trying to browse it through MTP.
2024-04-25 11:54:13 +08:00
Miku AuahDark
9eacd483c6
Android: Fixed assets/game.love fusing not being recognized.
...
Fixes love2d/love-android#267 .
2024-03-19 22:24:45 +08:00
Sasha Szpakowski
1e97e09b28
Rework internal module registration to happen in constructors.
2024-02-24 15:21:38 -04:00
Sasha Szpakowski
64a30f177f
Merge branch 'main' into 12.0-development
2024-02-10 12:24:48 -04:00
Sasha Szpakowski
94d5864144
update year for copyright notice
2024-02-10 12:13:22 -04:00
Sasha Szpakowski
6e80d85110
Merge branch 'main' into 12.0-development
2023-08-19 21:35:55 -03:00
Miku AuahDark
e559fd5e68
Pass pointer of PHYSFS_AndroidInit struct in Android when initializing PhysFS.
2023-06-01 15:33:04 +08: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
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
Sasha Szpakowski
95d44c2c2d
very minor compile speed improvements
2023-02-11 16:29:24 -04:00
Sasha Szpakowski
f6cdbdc868
Merge branch 'main' into 12.0-development
2022-12-31 22:46:34 -04:00
Sasha Szpakowski
c823dbca96
Update copyright year for 2023
2022-12-31 22:25:49 -04:00
Miku AuahDark
aaeb318aa6
Android: Implement special path URI for passing file descriptors.
...
This is to workaround the limitation of content:// URI severely limited.
2022-05-22 22:40:09 +08:00
Alex Szpakowski
4e051c6faa
Re-add love.filesystem.exists.
...
It's still useful sometimes because it's a bit cheaper than getInfo.
2022-04-22 21:11:39 -03:00
Alex Szpakowski
b8ff64e9e3
Add love.filesystem.openFile. Deprecate love.filesystem.newFile.
2022-04-22 21:05:20 -03:00
Alex Szpakowski
d5865e160c
File objects inherit from Stream.
2022-04-21 19:53:27 -03:00
Alex Szpakowski
7f3538d2ba
Merge branch 'main' into 12.0-development
2022-01-05 21:10:27 -04:00
Alex Szpakowski
8e7fd10b6f
Update copyright year for 2022
2021-12-31 18:33:40 -04:00
Alex Szpakowski
c8038f22df
Merge branch 'main' into 12.0-development
2021-12-24 11:35:35 -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
Alex Szpakowski
21f5ba86d3
Merge branch 'master' into 12.0-development
2021-04-07 20:33:44 -03:00
Alex Szpakowski
f89aabb0bb
Update copyright year for 2021
2021-04-04 16:14:45 -03:00
Alex Szpakowski
04d59274ef
Merge branch 'master' into 12.0-development
2021-02-14 14:45:21 -04: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
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
f61a650a87
Add 'readonly' field to love.filesystem.getInfo's returned table
2020-12-31 00:06:41 -04:00
Alex Szpakowski
0706b6243c
Add love.filesystem.mountFullPath.
2020-10-03 19:28:57 -03:00
Alex Szpakowski
5f9b5a21d0
Merge default into minor
...
--HG--
branch : minor
2020-01-03 22:45:36 -04:00
Alex Szpakowski
fc4847c69d
Update copyright for the new year
2020-01-03 22:40:36 -04:00
Alex Szpakowski
d4a1247ca3
Potentially fix a compile error.
...
--HG--
branch : minor
2019-12-22 23:03:30 -04:00
Alex Szpakowski
453063e20f
Windows: Use a more modern API for determining the save directory.
...
--HG--
branch : minor
2019-12-22 22:41:13 -04:00
Alex Szpakowski
bc12312f0f
macOS: rename most internal uses of "macosx" to "macos".
...
--HG--
branch : minor
2019-12-22 17:54:20 -04:00
Alex Szpakowski
a27781aa6a
macOS/iOS: Use more modern APIs for determining the save directory.
...
--HG--
branch : minor
2019-12-22 17:42:23 -04:00
Alex Szpakowski
0752f27bdf
Update copyright year for 2019
2019-01-03 21:09:05 -04:00
Alex Szpakowski
a461f2d7af
Improve the error message when love.filesystem.init fails.
2018-01-28 16:53:09 -04:00
Alex Szpakowski
0bc820ee0e
Merged in cigumo/love (pull request #99 )
...
Changes Filesystem::setSource mount order on Android
Simplifies the way setSource is handled on Android. It tries to mount
first and if that fails it will copy to memory and mount.
This works alongside a separate patch to GameActivity.java submitted
to the love-android-sdl2 repo, that contains the /sdcard/lovegame
fallback mechanism, and also allows to copy the game.love to the app
cache dir, which is useful for large files.
2018-01-25 02:15:29 +00:00
Bart van Strien
e80247c191
Happy new year! ✨
2018-01-03 19:47:35 +01:00