Commit graph

263 commits

Author SHA1 Message Date
Max Horn
14ac01a11a Simplify check for a slash in the string *g*
svn-id: r34485
2008-09-11 09:25:13 +00:00
Max Horn
4a2a9f49ca Small fix to help with compile problems on Amiga
svn-id: r34474
2008-09-10 09:20:38 +00:00
Lars Persson
c331a92243 Updated/Fixed Symbian Filesystem handling.
Does not store ending backslash on path, and will list any sub folder properly, by adding '\' when needed.

svn-id: r34453
2008-09-08 21:54:04 +00:00
Lars Persson
864c2244f0 Set default save path via save manager.
Fix bug in symbian-fs GetChild function.

svn-id: r34417
2008-09-07 16:43:03 +00:00
Lars Persson
c9262dd6e2 StdioStream implemented with Symbian file handling.
svn-id: r34400
2008-09-07 12:37:14 +00:00
Lars Persson
c4fcd2b578 Remove symbian defines from stdiostream.cpp
svn-id: r34399
2008-09-07 10:57:28 +00:00
Max Horn
f8bcb0782b Unlike ferror, our Stream::ioFailed() is also supposed to return true when the end of stream has been reached
svn-id: r34385
2008-09-06 17:00:50 +00:00
Max Horn
e994723e7c Some tweaks to help (?) OS/2
svn-id: r34368
2008-09-05 20:42:41 +00:00
Lars Persson
80dd18a820 Updated filehandling for Symbian OS
svn-id: r34346
2008-09-05 12:02:15 +00:00
Max Horn
5308f12c75 Ported AMIGA specific file buffering 'hack' from class File to StdioStream
svn-id: r34345
2008-09-05 11:59:33 +00:00
Max Horn
196ce8eb98 POSIX FSNode: got rid of Double-slashes in paths for childs of the root; simplified code
svn-id: r34307
2008-09-03 14:55:19 +00:00
Max Horn
7f18aaf8ec Pushed AbstractFilesystemNode::openForReading() / openForWriting() impls out to backends
svn-id: r34304
2008-09-03 12:56:46 +00:00
Max Horn
320a5dc99f Moved StdioStream to its own files inside backends
svn-id: r34303
2008-09-03 11:49:02 +00:00
Max Horn
531bcf847c Moved FilesystemNode / FSList to namespace Common; also got rid of some 'typedef Common::String String;' name aliases
svn-id: r34302
2008-09-03 11:22:51 +00:00
Max Horn
c350ffabf3 Added new AbstractFilesystemNode::openForReading & ::openForWriting method, based on StdioStream; changed FilesystemNode to use them
svn-id: r34301
2008-09-03 10:40:46 +00:00
Filippos Karapetis
9691562987 Cleanup
svn-id: r34295
2008-09-03 09:03:21 +00:00
Max Horn
c752e5fcfa Modified POSIX FSNode implementation to use Common::normalizePath & Common::lastPathComponent; added a TODO regarding relative paths
svn-id: r34283
2008-09-02 15:19:31 +00:00
Max Horn
cb21c25e41 FSNode code: Merged most versions of lastPathComponent() into one new AbstractFilesystemNode::lastPathComponent() method, with customizable path separator character
svn-id: r34197
2008-08-27 20:31:22 +00:00
Max Horn
5860aa45b7 Slightly modified form of patch #2043093: OS/2 patches for posix-fs
svn-id: r34193
2008-08-27 18:38:06 +00:00
Max Horn
16e02f051d Turned SymbianFilesystemFactory from a singleton into a normal class; adapted symbian backend accordingly
svn-id: r34101
2008-08-22 11:49:34 +00:00
Max Horn
b727ac880d Turned Windows, AmigaOS and POSIX FSFactories into plain classes; no need for them to be singletons (actually true for all other FS factories)
svn-id: r34098
2008-08-22 11:36:47 +00:00
Max Horn
74238bb53a Moved POSIXFilesystemNode class declaration to a new header file, to enable subclassing
svn-id: r34097
2008-08-22 11:19:41 +00:00
Lars Persson
a045b77b59 Don't Use CEikonEnv::Static, get FS from system class instead
svn-id: r34025
2008-08-19 08:54:28 +00:00
Max Horn
8a84e3a46f cleanup
svn-id: r33847
2008-08-13 20:37:54 +00:00
Travis Howell
a9bef1051e Remove file attribute check, since getChild() can be called on file path that doesn'r exist.
svn-id: r33633
2008-08-05 11:42:04 +00:00
Max Horn
01f07b5e21 cleanup
svn-id: r33587
2008-08-03 18:29:37 +00:00
Nicola Mettifogo
b0e2cd5967 Fixed constructor for WindowsFilesystemNode. On Windows, trailing slashes can be added only to directory names.
svn-id: r33350
2008-07-28 02:56:17 +00:00
Eugene Sandulenko
5e666ef774 Patch #1971285: "Nintendo Wii port"
svn-id: r32547
2008-06-04 20:28:20 +00:00
Max Horn
5288daa863 DS: Forgot to commit #include changes in the ds-fs.* files; this allows to get rid of -Isource/fat
svn-id: r32520
2008-06-03 21:04:41 +00:00
Max Horn
defc030143 Removed the GP32 port
svn-id: r32139
2008-05-15 11:40:38 +00:00
Johannes Schickel
600ab40bca Changed all delete [] usages to delete[].
svn-id: r31927
2008-05-07 14:31:45 +00:00
Lars Persson
acc5d79d7c Remove Symbian FS creation from common SDL code
svn-id: r31364
2008-04-02 21:19:17 +00:00
Max Horn
e93a1f0c32 Removing dead code
svn-id: r31304
2008-03-29 21:17:43 +00:00
Max Horn
05b159609b Removed remaining traces of the dead MorphOS backend, which itself was removed about one year ago
svn-id: r31114
2008-03-12 18:42:47 +00:00
Travis Howell
608be9666d Fix compile.
svn-id: r31035
2008-03-03 01:09:09 +00:00
Robert Göffringmann
3b27b9fa43 the ps2 changes from the 0.11.1 release, plus some bugfixes and cleanup.
svn-id: r31034
2008-03-03 00:41:59 +00:00
Marcus Comstedt
964caae2dd Moved Dreamcast filesystem factory to platform directory.
svn-id: r31021
2008-03-01 15:45:54 +00:00
Chris Apers
29c6c7a626 Fixed FileSystemNode::exists() method, see bug #1875588. SAGA engine works fine now
svn-id: r30979
2008-02-26 20:54:02 +00:00
Max Horn
5c99d45d9f Don't #include the FS factory implementations in common/system.cpp; rather, rely on the build system to include them
svn-id: r30957
2008-02-24 23:14:04 +00:00
Filippos Karapetis
dbba13a7ac Stop redefinitions of ARRAYSIZE
svn-id: r30954
2008-02-24 15:00:28 +00:00
Max Horn
e421a23639 Replaced FilesystemFactory::makeFSFactory with a new method OSystem::getFilesystemFactory()
svn-id: r30947
2008-02-23 23:03:08 +00:00
Max Horn
80d55b0388 Renamed AbstractFilesystemFactory to FilesystemFactory
svn-id: r30935
2008-02-23 19:01:12 +00:00
Marcus Comstedt
4c117772bd Implement exists(), isReadable() and isWritable().
svn-id: r30773
2008-02-03 17:02:51 +00:00
Jordi Vilalta Prat
d6c34bdc4b Fixed the spaces before tabs.
svn-id: r30667
2008-01-28 00:14:17 +00:00
Jordi Vilalta Prat
66e9d4f5e8 Removed trailing spaces.
svn-id: r30664
2008-01-27 19:47:41 +00:00
Lars Persson
8d3f7c68ee Functionality for is readable and writable
svn-id: r30601
2008-01-21 20:48:25 +00:00
Max Horn
e8374f6775 Removed obsolete comment, fixed indention
svn-id: r30589
2008-01-20 17:12:00 +00:00
Lars Persson
f3e42ffa39 - Updated version numbers, Implemented exists properly, Added two engines in main_features.inl
svn-id: r30586
2008-01-20 12:50:27 +00:00
Max Horn
4ba2df8792 Use explicit path in #include statement (DS port specific)
svn-id: r30552
2008-01-18 17:24:34 +00:00
Joost Peters
fa1495de7b implement exists(), isReadable() and isWritable() stubs using access()
svn-id: r30537
2008-01-17 21:35:31 +00:00