Commit graph

54 commits

Author SHA1 Message Date
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
Johannes Schickel
600ab40bca Changed all delete [] usages to delete[].
svn-id: r31927
2008-05-07 14:31:45 +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
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
0cab5b7791 Merged the fs branch with trunk. r26949:27031
svn-id: r27032
2007-05-31 23:44:43 +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
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
Max Horn
6ed00cd055 Added FilesystemNode::name method
svn-id: r23553
2006-07-22 14:14:16 +00:00
Max Horn
d210b19aec Move backends/fs/fs.h and .cpp to common/fs/fs.h and .cpp
Rationale: backend implementations belong to backends/, but portable APIs meant to be used by high level code is for common / sound / graphics / ... (compare also with backends/midi vs. sound/mididrv.h)

svn-id: r23274
2006-06-24 08:07:48 +00:00
Max Horn
3623a94927 Added the new AbstractFilesystemNode::getCurrentDirectory() method. Also changed the semantics of the FilesystemNode constructors (see also the relevant doxygen comments for explanations). This also fixes bug #1485941.
svn-id: r22424
2006-05-12 21:41:54 +00:00
Max Horn
d016c353c5 Changed FilesystemNode::listDir to return a bool indicating its success (or failure)
svn-id: r22315
2006-05-03 20:43:26 +00:00
Max Horn
9c1fc02328 Got rid of AbstractFilesystemNode::wrap (begone, evil hack)
svn-id: r22300
2006-05-03 11:13:21 +00:00
Max Horn
8c452daac2 Moved static methods getRoot / getNodeForPath from class FilesystemNode to class AbstractFilesystemNode
svn-id: r22298
2006-05-03 10:19:05 +00:00
Max Horn
d404b6150a Started to separate AbstractFilesystemNode from FilesystemNode
svn-id: r22297
2006-05-03 10:14:05 +00:00
Max Horn
e4a7de9d75 Patch #1479919 (AmigaOS maintaining)
svn-id: r22267
2006-05-01 21:53:31 +00:00
Max Horn
8300d1d2a9 Added new AbstractFilesystemNode::child() resp. FilesystemNode::getChild() methods
svn-id: r22249
2006-04-30 22:52:10 +00:00
Eugene Sandulenko
065dcf5653 Part of patch #1467193: "AmigaOS changes":
- Filesystem errors are now more detailed
- casting problems are hopefully gone
- some comments added in amigaos4-fs.cpp

svn-id: r21861
2006-04-14 01:06:08 +00:00
Max Horn
4a8c9c323d AmigaOS4 changes from tracker #1416370
svn-id: r21691
2006-04-08 12:39:27 +00:00
Max Horn
e366ed75da oops
svn-id: r21598
2006-04-04 21:01:26 +00:00
Max Horn
112ba72222 Removing more pseudo copy constructors in favor of the standard copy constructor (gee, everybody is copying my bad code, it seems ;-)
svn-id: r21597
2006-04-04 20:54:55 +00:00
Max Horn
cbb2ca005c Change CVS keywords to SVN keywords
svn-id: r20535
2006-02-11 12:47:47 +00:00
Eugene Sandulenko
b5f5dbe36b Patch #1416370: "AmigaOS 4 changes"
svn-id: r20229
2006-01-27 15:51:41 +00:00
Eugene Sandulenko
ea42bad781 Update copyright notice
svn-id: r20088
2006-01-18 17:39:49 +00:00
Eugene Sandulenko
b36677af71 Update FSF address. Eek. Actually that took place on May 1, 2005
svn-id: r19142
2005-10-18 01:30:26 +00:00