Johannes Schickel
1028bd343f
AMIGAOS4: Make GPL headers consistent in themselves.
2014-02-18 02:39:32 +01:00
Willem Jan Palenstijn
219a68eeda
AMIGAOS4: Clarify virtual fs root node
2014-01-22 23:18:24 +01:00
Willem Jan Palenstijn
d32816c027
AMIGAOS4: Allow getParent() to work for non-directories
2014-01-22 22:54:14 +01:00
Willem Jan Palenstijn
58aaef33c1
AMIGAOS4: Make isReadable return false for non-existent files
...
This also properly initializes _bIsValid for non-existent files.
For consistency, isWritable() is changed analogously to isReadable(),
even though it should not lead to changes in behaviour.
2014-01-22 22:54:05 +01:00
Strangerke
97d28f0e72
AMIGAOS4: Make use of updated function names (SDK53.24) and remove unused code
...
Courtesy of Raziel^
2013-10-25 21:11:12 +02:00
Christoph Mallon
a78b2d777d
JANITORIAL: Remove extra semicolons.
2011-11-27 12:54:22 +01:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Max Horn
f62fd4f25f
BACKENDS: Avoid #including .cpp files
...
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-03 13:22:00 +02:00
Max Horn
651e2760a3
Fix spelling, cleanup
...
svn-id: r49843
2010-06-15 12:33:20 +00:00
Torbjörn Andersson
039d7d5e1c
Removed unnecessary semi-colons.
...
svn-id: r46232
2009-12-01 19:19:58 +00:00
Max Horn
8ba75fc522
Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other things)
...
svn-id: r44495
2009-09-30 16:16:53 +00:00
Max Horn
3c8500c149
Patch #2856708 : AMIGAOS4: FS updated to new SDK
...
svn-id: r44338
2009-09-25 09:57:38 +00:00
Willem Jan Palenstijn
6abcac40de
don't test existence of file in AmigaOSFilesystemNode::getChild (bug #2487481 )
...
svn-id: r36171
2009-02-01 09:49:24 +00:00
Max Horn
de8fa39b25
Fix for bug #2548995 : AmigaOS4: Compiler error (and taking care of some potential errors in WinCE & GP2x, too)
...
svn-id: r36146
2009-01-30 14:26:34 +00:00
Max Horn
8f16458e9b
Renamed FSNode::openForReading / openForWriting to createReadStream / createWriteStream, again to make ownership of the returned stream clear
...
svn-id: r36014
2009-01-23 03:41:36 +00:00
Max Horn
c7fde102e3
Renamed FilesystemNode -> FSNode
...
svn-id: r34716
2008-10-02 16:58:59 +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
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
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
Johannes Schickel
600ab40bca
Changed all delete [] usages to delete[].
...
svn-id: r31927
2008-05-07 14:31:45 +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
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
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
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
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
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
Max Horn
66cf5f0eef
Patch #1573141 : Attempt to fix AmigaOS 4 / Broken Sword 2 problems
...
svn-id: r24206
2006-10-08 12:50:53 +00:00
Max Horn
4c14cf6d1a
Moved base/engine.cpp and .h to engines/ (main motivation: helps untangle the linker dependency graph). Porters will have to update project files
...
svn-id: r23974
2006-09-23 00:42:35 +00:00
Max Horn
fd12695e59
Patch #1559806 : Fixes for AmigaOS 4 filesystem backend
...
svn-id: r23893
2006-09-16 17:56:26 +00:00