Le Philousophe
e61dac6c68
BACKENDS: Allow write streams to be created atomically
...
When creating an atomic write stream, the file is only created once it
is closed.
This can be done using a temporary file.
This commit only adds the API but not the proper implementation.
2024-10-15 22:45:50 +02:00
Thierry Crozat
ab13d18e58
BACKENDS: Add function in FS Factory to map scummvm path to system path
...
In most cases they are the same, but in the case of a sandboxed filesystem,
they may be different. Mapping to the full system path allows using the
path with system functions, such as fopen() or third party libraries (for
example to pass a soundfont path to the fluidsynth library).
2023-12-03 16:17:32 +00:00
Thierry Crozat
cbd2b736df
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:11:50 +01:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01: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
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
Eugene Sandulenko
5e7fe2dc57
JANITORIAL: Replace spaces in indentation with tabs
2021-04-15 21:20:36 +02:00
Cameron Cawley
db445bfc87
BACKENDS: Improve AbstractFSNode::createDirectory() stubs
2019-08-06 07:17:29 +03:00
Cameron Cawley
66ef50cfeb
BACKENDS: Rename and simplify AbstractFSNode::create()
2019-08-06 07:17:29 +03:00
Cameron Cawley
ab0fab9bf9
POSIX: Move implementation of exists, isReadable and isWritable into posix-fs.cpp
2019-04-16 00:55:43 +03:00
Cameron Cawley
6e40b64eb1
POSIX: Allow forbidden symbols required by FreeMiNT
2018-08-18 14:08:40 +02:00
D G Turner
adbf18abca
BACKENDS: Fix Shadowing Compiler Warning for isDirectory symbol.
...
This should ensure that any future cut-and-paste for new backends do not
repeat this same warning issue.
2017-01-12 08:22:40 +00:00
Willem Jan Palenstijn
fb592a0dbd
BACKENDS: Rename variable shadowing function
2016-08-30 21:53:21 +02:00
Alexander Tkachev
17fc40a944
CLOUD: Add AbstractFSNode::create() backends stubs
2016-08-24 16:07:55 +06:00
Johannes Schickel
ca3c5a702f
BACKENDS: Make ChRootFilesystemFactory's constructor explicit.
2016-01-07 10:58:26 +01:00
Johannes Schickel
48df726c9e
BACKENDS: Let ChRootFilesystemFactory's constructor take a const String reference.
2016-01-07 10:57:46 +01:00
Johannes Schickel
557d58af8d
BACKENDS: Make ChRootFilesystemFactory delcaration more consistent.
...
The make* factory functions are public in the base class, thus keep the
visibility the same.
2016-01-07 10:55:01 +01:00
Johannes Schickel
adaa1bcd8f
BACKENDS: Move FIXME closer to ChRootFilesystemFactory.
2016-01-07 10:53:28 +01:00
Johannes Schickel
d13300ca22
BACKENDS: Fix include style in chroot-fs-factory.cpp.
2016-01-07 10:52:19 +01:00
Vincent Bénony
89002d5cf6
IOS: Formatting
2016-01-06 16:20:30 +01:00
Vincent Bénony
1c515e90e2
IOS: Formatting
2016-01-06 16:20:30 +01:00
Vincent Bénony
16605a3e10
IOS: Moves the helper function were it is used.
2016-01-06 16:20:29 +01:00
Vincent Bénony
793acc0f2d
IOS: Adds a warning regarding the usage of the ChRootFS class
2016-01-06 16:20:29 +01:00
Vincent Bénony
c1e664b6d6
IOS: Replaces spaces with tabs
2016-01-06 16:17:31 +01:00
Vincent Bénony
108ce38443
IOS: Added a chroot like filesystem
...
This is needed because it is not possible to keep absolute paths to the iOS document directory, because a part of its name change between each installation / update.
2016-01-06 15:35:17 +01:00