Commit graph

571 commits

Author SHA1 Message Date
Le Philousophe
122ddf1f26 ANDROID: Fix assertion fault and missing initializer 2023-04-22 12:29:01 +02:00
antoniou79
b33816117f ANDROID: Comments on Android storage
And a minor comment fix
2023-03-27 19:14:57 +03:00
Thierry Crozat
148892f102
BACKENDS: Add possibility to specify virtual drive in ChRootFilesystemFactory
It allows to get access to additional directories outside of the sandbox root.
This is used on iOS to access files in the app bundle.
2023-03-24 21:15:13 +01:00
Le Philousophe
0df602e029 ANDROID: Don't crash when fetchChildren failed in Java 2023-03-18 12:00:21 +01:00
Le Philousophe
58d6a398e2 ANDROID: Don't keep a _cache variable, it's never checked 2023-03-04 18:18:20 +01:00
Le Philousophe
9665980ca5 ANDROID: Slightly optimize and rewrite cacheData 2023-03-04 18:18:20 +01:00
Le Philousophe
3276e18779 ANDROID: Add missing header for Android filesystem specific 2023-02-28 20:34:44 +02:00
Le Philousophe
78471da510 ANDROID: Add remove feature to Android filesystem abstraction 2023-02-28 19:16:15 +02:00
Le Philousophe
283d67b185 ANDROID: Allow SAF non-existent node creation from path
This is used by DumpFile.
As in all other implementations, parent node is expected to exist.
2023-02-26 21:46:50 +02:00
Le Philousophe
5483cd9a64 ANDROID: Allow to create a /saf node from path
This avoids errors when creating parent directories in DumpFile
This also allows the user to specify /saf path in browser to allow
browsing.
2023-02-26 21:46:40 +02:00
Le Philousophe
94f601061b ANDROID: Make SAF strings translatable and better looking 2023-02-12 17:55:31 +01:00
Vladimir Serbinenko
73d935451c
KOLIBRI: Add kolibrios backend 2023-02-05 23:00:42 +01:00
Le Philousophe
baf42ae7e6 ANDROID: Add a dialog to revoke SAF authorizations
Remove old all-in-one revoke authorizations process
2023-01-20 14:14:03 +01:00
Le Philousophe
a465718c24 ANDROID: Fix comment
For coherence sake
2023-01-20 14:14:03 +01:00
Le Philousophe
ca1dbfc9d6 ANDROID: Add SAF support 2023-01-20 14:14:03 +01:00
Le Philousophe
0fdf53f984 ANDROID: Remove platform specific code from shared code 2023-01-20 14:14:03 +01:00
Le Philousophe
54fd20c36c POSIX: Refactor DrivePOSIXFilesystemNode to allow for dynamic drives 2023-01-20 14:14:03 +01:00
Le Philousophe
787d4e1db6 POSIX: Allow to subclass DrivePOSIXFilesystemNode
Without this, there are some cases where the nodes created are not the
subclass.
Also make _config available to derived classes.
2023-01-20 14:14:03 +01:00
Donovan Watteau
0eb9ca84de BACKENDS: Make StdioStream use a 64-bit fseeko/ftello on more platforms
Note that using fseeko64() means that fopen64() should be used instead.
2022-12-11 21:48:33 +01:00
elasota
cc11b531e3 JANITORIAL: Clean up all non-engine Visual Studio warnings. 2022-12-04 00:08:48 +01:00
Le Philousophe
43997e2911 WIN32: Don't use unsafe sprintf and vsprintf 2022-10-23 22:46:19 +02:00
Le Philousophe
a60e8ff2cb MORPHOS: Don't use unsafe sprintf and vsprintf 2022-10-23 22:46:19 +02:00
Le Philousophe
7c657796f4 POSIX: Don't use unsafe strcat and strcpy
It was commented but still
2022-10-23 22:46:19 +02:00
Le Philousophe
15e7346f1c MORPHOS: Don't use unsafe strcat and strcpy 2022-10-23 22:46:19 +02:00
Le Philousophe
5a0e4ced67 AMIGAOS: Don't use unsafe strcat and strcpy 2022-10-23 22:46:19 +02:00
Hubert Maier
874f894936 AMIGAOS: Fix oversight in debug output 2022-10-23 21:45:10 +02:00
Hubert Maier
24ce65629a AMIGAOS: Coding convention 2022-10-23 00:06:33 +03:00
Hubert Maier
022995f4ad AMIGAOS: Clean up 2022-10-23 00:06:33 +03:00
Le Philousophe
337ec7f6d9 VITA: Fix build with latest toolchains
This whole workaround may be unnecessary though as mkdir seems to be
implemented correctly on lastest Vita toolchain.
2022-06-01 12:45:29 +02:00
Eugene Sandulenko
5e05f93f36
ALL: Remove Symbian port 2022-05-28 12:32:29 +02:00
Hubert Maier
a83ce7d609 AMIGAOS: Revise directory creation
- Change warnings to debug
- Fix trailing slash
2022-05-14 09:55:55 +03:00
Hubert Maier
49c7f4c6a1 AMIGAOS: Add directory creation to FS 2022-05-14 09:55:55 +03:00
Antoniou Athanasios
3ee5a99619 ANDROID: More safeguards against empty path in browser 2022-03-02 14:29:56 +02:00
Thunderforge
fd129ebc0c JANITORIAL: "Mac OS X" and "OS X" to "macOS" in comments
Apple's desktop operating system was formerly called "Mac OS X" and "OS X", but since 2016 it has been called "macOS" (starting with version 10.12).

Changing across all comments and documentation to use this current terminology, except in cases where the historical versions are explicitly referenced. No code changes are made; we should consider changing those in future PRs.
2022-01-29 14:15:05 +01:00
Le Philousophe
675695c708 PSP: Fix build failures with latest PSP toolchain
The new PSP toolchain automatically links system libraries which wasn't
the case before. The ordering of libraries builtin in GCC and our spec
file collided. This fixes the order.
PSP SDK includes time.h so it needs an exemption.
A warning was emitted about a if without curly braces which are needed.
2021-12-31 09:50:53 +01:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh
44219dfa1a BACKENDS: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
Orgad Shaneh
b11c5ace90 BACKENDS: JANITORIAL: Remove 'virtual' when override is specified 2021-11-14 14:31:41 +02:00
SupSuper
8c86319923 BACKENDS: Use U32String for FSNode::getDisplayName 2021-08-23 21:22:27 +01:00
Carlo Bramini
f44e87dfb7
WIN32: Remove F_OK/R_OK/W_OK hack (#3265)
In backends/fs/windows/windows-fs.cpp, the macros F_OK/R_OK/W_OK are not defined by system includes of MSVC, so they have been added manually into the code.
While this solution works, in my opinion it would be much cleaner to use GetFileAttributes() for getting this information.
Actually, this is what the _access()/_waccess() functions do and, afterall, this is a piece of code expected to work on Windows only.
2021-08-13 21:58:01 +03:00
Cameron Cawley
423f4cce6b BACKENDS: Add override and final keywords 2021-08-12 15:16:48 +01:00
Paul Gilbert
9db14ee109 BACKENDS: Update all the backends to support SeekableWriteStream 2021-08-08 18:13:30 -07:00
Fiodar Stryzhniou
b7dfd620be SYMBIAN: FS: Fix codestyle from #3170. 2021-08-02 15:13:07 +03:00
antoniou
4ac31d5481 ANDROID: Use SAF if a directory is not writeable 2021-08-01 16:10:54 +03:00
D G Turner
4cbbabf1a2 SYMBIAN: Minor Fixes for Code Formatting Conventions
No functional change.
2021-07-17 05:43:13 +01:00
Fiodar Stryzhniou
6ddfb08b16 SYMBIAN: Simplify access to file server session.
This fixes bug #12728.
2021-07-16 01:10:34 +01:00
Paul Gilbert
92bc05ba7c BACKENDS: Symbian compilation fix 2021-07-10 14:48:31 -07:00
Cameron Cawley
ceb5f67c05 N64: Fix compilation 2021-07-09 23:17:54 +01:00
Le Philousophe
ced1ffd336 PSP: Ensure functions signatures match the parent ones 2021-07-09 17:20:28 +02:00
Le Philousophe
37e997730c PSP: Fix build 2021-07-09 17:20:28 +02:00