382 Commits

Author SHA1 Message Date
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
Max Horn
fa1052e1b2 Removed obsolete comment
svn-id: r29992
2007-12-25 23:16:52 +00:00
Neil Millstone
1cfedb217a Remove a comment
svn-id: r29943
2007-12-21 18:34:08 +00:00
Neil Millstone
8183d56407 Implement exists() in DS file system
svn-id: r29942
2007-12-21 18:30:25 +00:00
Max Horn
66a1c085c0 Expand ~/ to the HOME env var (see also patch #1846545)
svn-id: r29797
2007-12-09 17:28:29 +00:00
David Corrales
6afbcc89a7 Factorize most of the common code in the isReadable() and isWritable() methods for the AmigaOS backend, via the getFibProtection() method.
svn-id: r29342
2007-10-31 19:37:34 +00:00
David Corrales
b5653141fa Properly implemented the isReadable() and isWritable() methods for the AmigaOSFilesystemNode backend.
Thanks a lot to Raziel_One on this one :)

svn-id: r29339
2007-10-31 17:43:40 +00:00
Johannes Schickel
e7e0532e1b - free fib object in AmigaOSFilesystemNode::exists
- cleanup

svn-id: r29330
2007-10-30 21:57:41 +00:00
David Corrales
0f741540d0 Fixed a typo in the AmigaOSFilesystemNode::exists() method.
svn-id: r29329
2007-10-30 21:37:00 +00:00
David Corrales
bc0c8afc39 Added a missing variable to the AmigaOSFilesystem::exists() method. Hopefully it's complete now :)
svn-id: r29328
2007-10-30 21:35:26 +00:00
David Corrales
5b9e6a47fc Implement the AmigaOSFilesystemNode::exists() method.
svn-id: r29327
2007-10-30 21:31:39 +00:00
Kostas Nakos
371cc6deda make sure our GetCurrentDirectory is used (non existant in ce api)
svn-id: r29300
2007-10-28 17:59:14 +00:00
Joost Peters
281767f19e fix compile after recent fs code rename
svn-id: r29229
2007-10-17 19:45:23 +00:00
Neil Millstone
688f074ea5 Fixed a load of compile errors, reverted additions to lastPathComponent() which were clearly in error.
svn-id: r29204
2007-10-13 15:41:34 +00:00
David Corrales
9cdb195df7 Fixed a missing return value in the lastPathComponent function. Thanks to Raziel_AOne :)
svn-id: r29172
2007-10-07 20:42:46 +00:00
David Corrales
aba30d7ea8 Commit of patch #1804861. It implements a static lastPathComponent() function in each backend, used to extract the last path component of a given path, returned by getName().
svn-id: r29159
2007-10-07 00:28:38 +00:00
Gregory Montoir
61a642b1cc fixed savepath files listing under win32
svn-id: r29113
2007-09-27 20:39:06 +00:00
Johannes Schickel
b93e906285 oops.
svn-id: r29030
2007-09-22 20:51:34 +00:00
Johannes Schickel
2115e5d181 Hopefully fix amigos4 fs implementation.
svn-id: r29029
2007-09-22 20:47:41 +00:00
Nicola Mettifogo
258901bab9 Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
svn-id: r28966
2007-09-19 08:40:12 +00:00
Joost Peters
59f36957e8 rename psp_fs.cpp to psp-fs.cpp (as per the naming convention)
svn-id: r28963
2007-09-19 08:16:37 +00:00
Joost Peters
55d7f0b132 _displayName now contains the last path component, not the full path
svn-id: r28962
2007-09-19 08:14:20 +00:00
Filippos Karapetis
d6dbb98bc9 Fixed compilation under MSVC8
svn-id: r28951
2007-09-18 23:05:33 +00:00
Max Horn
ab8997f64d Fix linker issues when doing a plugin build, and (hopefully) also on Windows
svn-id: r28950
2007-09-18 21:34:57 +00:00
Max Horn
3abc11611e Code formatting fixes
svn-id: r28945
2007-09-18 20:16:33 +00:00
Max Horn
c3d3aebe87 Patch #1768757: Merge fsnode-gsoc into trunk (MAJOR change, will break compilation on some ports)
svn-id: r28944
2007-09-18 20:02:04 +00:00
David Corrales
1dc13a641d Merged some of the changes from the trunk patch back in to the GSoC fsnode branch.
svn-id: r28649
2007-08-18 05:24:18 +00:00
David Corrales
1400d28bfb Initial commit of the new BaseFile implementation. It provides a common ground for file objects across platforms and divides responsibilities between the Common::File class and a base file implementation.
Also rearranged the factories into a new directory for clarity.

Note 1: The posix-file.h and cpp files are for testing only. Only the ds, ps2 and symbian architecture will use special BaseFile based objects.

Note 2: The current code does not yet make use of this new structure, since the Common::File remains intact.

svn-id: r28395
2007-08-01 22:07:50 +00:00
David Corrales
b95b3fe4f3 Fixed a subtle bug when browsing directories in the main game chooser.
svn-id: r28149
2007-07-19 20:21:47 +00:00
David Corrales
1a965aad95 Update the interfaces for the getChildren method to include the hidden flag.
Also added some missing method stubs to the gamecard dc port.

svn-id: r27984
2007-07-09 01:26:54 +00:00
David Corrales
8a36379d55 Fixed a couple compilation issues in the windows build.
svn-id: r27983
2007-07-09 01:16:13 +00:00
David Corrales
0ac96302fe Initial implementation of the lookupFile() function. It's meant to search recursively for given
filename within a set of directories.

svn-id: r27551
2007-06-20 00:28:04 +00:00