Commit Graph

286 Commits

Author SHA1 Message Date
Andre Heider
e94378511e made ISO9660 support optional via USE_WII_DI
svn-id: r35985
2009-01-21 19:29:02 +00:00
Andre Heider
57d118e930 Added ISO9660/Joliet DVD support
svn-id: r35930
2009-01-19 23:57:49 +00:00
Andre Heider
964a451e42 Removed slashes as last char from directories
svn-id: r35894
2009-01-18 12:58:06 +00:00
Andre Heider
2e321f7a74 use pointers when passing struct stat
svn-id: r35882
2009-01-17 18:48:35 +00:00
Andre Heider
9f1ac87466 Reuse given stat flags when possible to avoid fstat() calls
svn-id: r35872
2009-01-16 19:32:19 +00:00
Andre Heider
18e67a8ed7 disable buffering for newlib's poor fread() implementation
svn-id: r35675
2009-01-02 18:00:12 +00:00
Max Horn
6561a7bf36 Set/unified svn:keywords for all *.h and *.cpp files
svn-id: r35651
2009-01-01 17:05:05 +00:00
Eugene Sandulenko
696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +00:00
Filippos Karapetis
88ac9b5a9b Silenced warning about redefinition of ARRAYSIZE under Windows, after the latest FS changes
svn-id: r35583
2008-12-27 20:21:55 +00:00
Andre Heider
4feac7a2e0 changes for the new libfat version. the root node now yields a list of all mounted devices
svn-id: r35504
2008-12-23 19:23:11 +00:00
Robin Watts
8f3b2e9b4d Remove warnings from NDS build.
svn-id: r35172
2008-11-29 18:01:16 +00:00
Robin Watts
f897def64d Eliminate some warnings from NDS specific code.
svn-id: r35157
2008-11-23 11:49:58 +00:00
Travis Howell
df9a1baadc Fix regressions in HE games, when slashes are used in filenames for file opcodes.
svn-id: r35105
2008-11-17 11:09:57 +00:00
Neil Millstone
8b9311dd4e DS: Fixing feof behaviour and path prefix stuff.
svn-id: r34934
2008-11-07 23:21:35 +00:00
Max Horn
c7fde102e3 Renamed FilesystemNode -> FSNode
svn-id: r34716
2008-10-02 16:58:59 +00:00
Max Horn
468b387b97 Patch #2043093 (again - new patch): OS/2 patches for posix-fs
svn-id: r34595
2008-09-17 18:26:44 +00:00
Max Horn
2bcc5681d8 DS: Removing some dead code; merged (parts of) std_cwd into GBAMPSaveFileManager::listSavefiles
svn-id: r34587
2008-09-17 16:38:01 +00:00
Max Horn
05d78c26b4 DS: Backported 0.12 changes to trunk
svn-id: r34568
2008-09-15 22:43:20 +00:00
Max Horn
ace51b317a DS: Some more compile fixes (prope solution would of course be to overload ::openForReading & ::openForWriting)
svn-id: r34550
2008-09-14 22:44:49 +00:00
Willem Jan Palenstijn
c8eeae8d4d Big patch changing semantics of ReadStream::eos():
eos() now only returns true _after_ trying to read past the end of the stream.

This has a large potential for regressions. Please test!

svn-id: r34549
2008-09-14 22:28:53 +00:00
Max Horn
02a846c669 Compilation fix for NDS
svn-id: r34542
2008-09-14 21:32:45 +00:00
Max Horn
655ce26b3f Big patch changing the signature of various Stream methods (some ports may need to be slightly tweaked to fix overloading errors/warnings)
svn-id: r34514
2008-09-13 16:51:46 +00:00
Lars Persson
169edfccf3 Added SymbianStream.h for SymbianStdioStream definition
Renamed Symbian stream implementation to
SymbianStdioStream instead of StdioStream.

svn-id: r34498
2008-09-11 21:32:40 +00:00
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