Commit Graph

37 Commits

Author SHA1 Message Date
Max Horn
7f18aaf8ec Pushed AbstractFilesystemNode::openForReading() / openForWriting() impls out to backends
svn-id: r34304
2008-09-03 12:56:46 +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
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
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
e93a1f0c32 Removing dead code
svn-id: r31304
2008-03-29 21:17:43 +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
Max Horn
80d55b0388 Renamed AbstractFilesystemFactory to FilesystemFactory
svn-id: r30935
2008-02-23 19:01:12 +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
Max Horn
4ba2df8792 Use explicit path in #include statement (DS port specific)
svn-id: r30552
2008-01-18 17:24:34 +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
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
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
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
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
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
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
fedfe66831 Added stubs for the exists(), isReadable() and isWritable() methods for all architectures.
svn-id: r27087
2007-06-04 22:02:35 +00:00
David Corrales
3e7c5b027e Added a missing include in non-POSIX factories.
For the POSIX and Windows architectures, added exists(), isReadable() and isWritable()

svn-id: r27073
2007-06-04 03:46:56 +00:00
David Corrales
0cab5b7791 Merged the fs branch with trunk. r26949:27031
svn-id: r27032
2007-05-31 23:44:43 +00:00
David Corrales
6c69d531d2 Removed the now obsolete singleton declaration macro from the FSNode factories.
svn-id: r27031
2007-05-31 21:42:01 +00:00
Max Horn
218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 21:56:52 +00:00
David Corrales
3646c968c9 Merged the fs branch with trunk. r26472:26948
svn-id: r26949
2007-05-26 20:23:24 +00:00
David Corrales
d1f56d93f9 Use common/singleton.h in the concrete fs factories.
svn-id: r26814
2007-05-12 20:00:52 +00:00
David Corrales
86324f00bc Renamed files and minor tweaks. Thanks LordHoto :)
svn-id: r26810
2007-05-12 18:17:40 +00:00
David Corrales
c459f054b4 Use abstract factories to initialize FilesystemNode objects.
svn-id: r26739
2007-05-03 02:39:33 +00:00
Neil Millstone
c6d41c0755 Updating DS port for changes in main codebase. Code changes for DevkitArm r20 and latest libnds.
svn-id: r26394
2007-04-06 18:34:53 +00:00
Max Horn
d19adc0514 common/util.cpp needs fprintf; various std I/O functions are not used by anything in our code, so there is no need to emulate them -- mark these; my previous commits likely broke compilation of the DS backend, try to reduce the brokeness a bit
svn-id: r26023
2007-03-08 17:36:52 +00:00
Max Horn
47bc9aae19 Moving Nintendo DS std C I/O emulation wrappers to common/file.cpp; also add a FIXME comment (why is assert redefined in ds-fs.h ?)
svn-id: r26020
2007-03-08 16:57:14 +00:00
Max Horn
273480d492 Removed MAX_FILENAME_LENGTH workaround (using enum's instead of #defines means we can take advantage of namespaces)
svn-id: r26019
2007-03-08 16:53:30 +00:00
Torbjörn Andersson
16e7a12878 Some very obvious cleanups.
svn-id: r25635
2007-02-16 17:13:29 +00:00
Neil Millstone
0c82694f47 Ported changes from branch-0-9-0 to fix grabRawScreen(), and palette corruption.
svn-id: r25129
2007-01-20 17:29:20 +00:00
Neil Millstone
1da493ac00 Adding new name() method.
svn-id: r23813
2006-08-31 19:32:38 +00:00
Max Horn
6ed00cd055 Added FilesystemNode::name method
svn-id: r23553
2006-07-22 14:14:16 +00:00
James Brown
0e66c43c70 Fix some more duplicated files, and unify case for rpc include
svn-id: r23459
2006-07-09 13:10:45 +00:00
Max Horn
bea72e9514 Patch #1519399: DS Backend
svn-id: r23452
2006-07-09 11:47:17 +00:00