aboutsummaryrefslogtreecommitdiff
path: root/backends/fs/posix
AgeCommit message (Collapse)Author
2019-12-16ANDROID: Fix crash due to adding '.' folder in SearchManagerThanasis Antoniou
2019-11-20POSIX: Use fstat instead of fseek / ftell to retrieve file stream sizesBastien Bouclet
fstat is generally faster as is does not cause the IO buffer to be invalidated / refilled. Benchmark results for the startup time of the SCI engine with Gabriel Knight 1 CD: - Linux, glibc, spinning HDD, fseek/ftell: 140 ms - Linux, glibc, spinning HDD, fstat: 100 ms - 3DS, newlib, SD card, fseek/ftell: 68 s - 3DS, newlib, SD card, fstat: 11 s
2019-11-12ANDROID: Override UTF-8 compliant definition of vsn_printfThanasis Antoniou
This sets Android as a non-standard port in configure in order to override the definition for vsn_printf The vsn_printf implementation is taken from https://github.com/weiss/c99-snprintf
2019-10-313DS: Avoid stat calls in DrivePOSIXFilesystemNodeBastien Bouclet
2019-09-27ANDROID: Use external storage enumerator for the root directoryEugene Sandulenko
2019-08-06BACKENDS: Rename and simplify AbstractFSNode::create()Cameron Cawley
2019-07-14POSIX: Fix missing expansion of "~" to home when it has no suffixThierry Crozat
This fixes bug #10941: Tilde in save path creates "~" folder
2019-04-28POSIX: Clean up formattingCameron Cawley
2019-04-16POSIX: Move implementation of exists, isReadable and isWritable into ↵Cameron Cawley
posix-fs.cpp
2018-08-18POSIX: Allow forbidden symbols required by FreeMiNTCameron Cawley
2018-03-28PSP2: allow loading games from uma0: in addition to ux0:rsn8887
2017-03-04PSP2: Add Playstation Vita (PSP2) supportcpasjuste
2017-01-12BACKENDS: Fix Shadowing Compiler Warning for isDirectory symbol.D G Turner
This should ensure that any future cut-and-paste for new backends do not repeat this same warning issue.
2016-10-09JANITORIAL: Remove more trailing spacesEugene Sandulenko
2016-08-30BACKENDS: Rename variable shadowing functionWillem Jan Palenstijn
2016-08-30BACKENDS: Use open instead of creat to create filesBastien Bouclet
creat is not defined on the PS3. Also close the file descriptor.
2016-08-24CLOUD: Fix posix backend compilationEugene Sandulenko
2016-08-24CLOUD: Make download() create necessary directoriesAlexander Tkachev
DumpFile::open() with createPath=true create would create the missing directories from the path before opening a file. Thus, one can easily create a file and avoid "can't open a file" error.
2016-02-02POSIX: Move assureDirectoryExists to posix-fs{.h,.cpp}.Johannes Schickel
2014-02-18POSIX: Make GPL headers consistent in themselves.Johannes Schickel
2011-06-22PS3: Initial version of the PlayStation 3 backendBastien Bouclet
2011-06-04IRIX: Fix compilationJoost Peters
2011-05-25BUILD: Rename UNIX #define to POSIXMax Horn
2011-05-23COMMON: Mark more symbols as forbiddenMax Horn
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-03MACOSX: Try to fix compile errors triggered with certain Mac OS X SDK versionsMax Horn
2011-05-03COMMON: Forbid use of getcwd&getwd; add macro to enable unistd.h compatibilityMax Horn
2011-05-03BACKENDS: Avoid #including .cpp filesMax Horn
So far, the various *-fs-factory.cpp files were #including the corresponding *-fs.cpp files. This is surprising and hence could lead to all kinds of problems). To fix this, provide proper headers for the *-fs.cpp files. This also makes code reuse via subclassing possible. Since not all ports were tested, this will likely lead to a few easy to fix compile regressions.
2011-05-02ALL: Mark printf and various other symbols as forbiddenMax Horn
Right now, a few places in the frontend code still use printf and consorts. We mark the affected files with a FIXME for now, and add a dedicated exception for each. To be fixed! Also tweak FORBIDDEN_SYMBOL_REPLACEMENT to hopefully really always enforce a compiler error
2009-03-14Applied part of patch #2684986Max Horn
svn-id: r39398
2009-01-23Renamed FSNode::openForReading / openForWriting to createReadStream / ↵Max Horn
createWriteStream, again to make ownership of the returned stream clear svn-id: r36014
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-10-02Renamed FilesystemNode -> FSNodeMax Horn
svn-id: r34716
2008-09-17Patch #2043093 (again - new patch): OS/2 patches for posix-fsMax Horn
svn-id: r34595
2008-09-11Simplify check for a slash in the string *g*Max Horn
svn-id: r34485
2008-09-05Some tweaks to help (?) OS/2Max Horn
svn-id: r34368
2008-09-03POSIX FSNode: got rid of Double-slashes in paths for childs of the root; ↵Max Horn
simplified code svn-id: r34307
2008-09-03Pushed AbstractFilesystemNode::openForReading() / openForWriting() impls out ↵Max Horn
to backends svn-id: r34304
2008-09-03Moved StdioStream to its own files inside backendsMax Horn
svn-id: r34303
2008-09-03Moved FilesystemNode / FSList to namespace Common; also got rid of some ↵Max Horn
'typedef Common::String String;' name aliases svn-id: r34302
2008-09-02Modified POSIX FSNode implementation to use Common::normalizePath & ↵Max Horn
Common::lastPathComponent; added a TODO regarding relative paths svn-id: r34283
2008-08-27FSNode code: Merged most versions of lastPathComponent() into one new ↵Max Horn
AbstractFilesystemNode::lastPathComponent() method, with customizable path separator character svn-id: r34197
2008-08-27Slightly modified form of patch #2043093: OS/2 patches for posix-fsMax Horn
svn-id: r34193
2008-08-22Turned Windows, AmigaOS and POSIX FSFactories into plain classes; no need ↵Max Horn
for them to be singletons (actually true for all other FS factories) svn-id: r34098
2008-08-22Moved POSIXFilesystemNode class declaration to a new header file, to enable ↵Max Horn
subclassing svn-id: r34097
2008-08-03cleanupMax Horn
svn-id: r33587
2008-02-24Don't #include the FS factory implementations in common/system.cpp; rather, ↵Max Horn
rely on the build system to include them svn-id: r30957
2008-02-23Renamed AbstractFilesystemFactory to FilesystemFactoryMax Horn
svn-id: r30935
2008-01-28Fixed the spaces before tabs.Jordi Vilalta Prat
svn-id: r30667
2008-01-27Removed trailing spaces.Jordi Vilalta Prat
svn-id: r30664