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
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
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
Lars Persson
b9a54d55a6
Added mapping from '/' to '\' since Symbian OS does n't support mixed mode (\ and / in the same filename).
...
svn-id: r26109
2007-03-12 20:13:07 +00:00
Lars Persson
ab605c6a41
Updated Symbian File handling to be able support AGI games, but do work due to a fluke in the AGI detection.
...
svn-id: r25912
2007-02-28 21:25:05 +00:00
Johannes Schickel
d639ca97ce
Oops. some systems are using '\\' instead of '/' fixing that now...
...
svn-id: r23797
2006-08-28 13:39:44 +00:00
Johannes Schickel
ac45e290f7
Fixing other FS backends to use the bug fixed version of the POSIX lastPathComponent too (also lets the Windows FS use the POSIX version of lastPathComponent too, since it's nicer than the fix I made)
...
svn-id: r23796
2006-08-28 13:34:15 +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
Lars Persson
49dd540213
_pseudoRoot was not intialized properly
...
svn-id: r22261
2006-05-01 15:36:54 +00:00
Lars Persson
492929ae53
Updated symbian-fs backend and cleanup
...
svn-id: r22260
2006-05-01 14:20:02 +00:00
Max Horn
8300d1d2a9
Added new AbstractFilesystemNode::child() resp. FilesystemNode::getChild() methods
...
svn-id: r22249
2006-04-30 22:52:10 +00:00
Travis Howell
e163be131c
Revert kListAllNoRoot addition to listdir(), the uninitialized _isPseudoRoot in windows filesys backend was real cause of problem.
...
svn-id: r22194
2006-04-27 23:14:54 +00:00
Max Horn
2d10d1960e
Use full path qualifiers in #include statements (exception: engines/ can be ommited, at least for now)
...
svn-id: r21620
2006-04-05 00:18:22 +00:00
Max Horn
ca6d345220
Possible bug in the Symbian FS code?
...
svn-id: r21599
2006-04-04 21:02:44 +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
Travis Howell
a98aea6efd
Add kListAllNoRoot type to listDir() to handle recent file class changes, on file system backends which use _isPseudoRoot
...
svn-id: r21449
2006-03-25 10:39:05 +00:00
Lars Persson
37f433a7ad
* New and tested builds for S60V3 and UIQ3
...
* New upscaled icons for UIQ3/S60V3. SVG/Scalable version needed for S60V3 for proper good looks
* Critical bug in Symbian-fs fixed (exception for UIQ3/S60V3)
*Removed duplicate files for easier maintanence
*New handling for Symbian error messages, save paths etc
*All naming now is ScummVM for all apps and targets
svn-id: r20585
2006-02-12 00:27:19 +00:00
Max Horn
cbb2ca005c
Change CVS keywords to SVN keywords
...
svn-id: r20535
2006-02-11 12:47:47 +00:00
Eugene Sandulenko
ea42bad781
Update copyright notice
...
svn-id: r20088
2006-01-18 17:39:49 +00:00
Lars Persson
fd0ad7beae
FSF adress updates
...
svn-id: r19741
2005-12-04 08:49:08 +00:00
Lars Persson
6ed67205ec
1. New build structure for Symbian builds to allow easier build and project updates
...
2. Updated framework files for new structure
3. Uncommented Debug statements in vorbis.cpp (Should probably be removed alltogether.
4. Incorporated Sevs code formatting changes in the new Symbian source structure.
5. Removed/Changed EScummVM to ScummVM instead, hopefully most cases covered.
6. Beginning vibration support to be used for Scumm shake effects (Work ongoing by SumthinWicked)
7. Replaced the ScummVM icon for the FavIcon and upscaled the icon to 32x32. I think it looks ok, comments are welcome.
8. Built for S60V1 and UIQ2 targets from the cvs
9. Updated Readme with new build instructions.
Any comments are welcome. Hopefully the other builds are not affected by this and all Sevs code updates are also incorporated.
svn-id: r19739
2005-12-03 21:29:13 +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
Lars Persson
5c30b3c8df
Update Symbian README, default Joystick config is on, Updated pkg files for S80 & S90, updated symbian-fs (cleaner code)
...
svn-id: r18919
2005-10-01 18:02:37 +00:00
Eugene Sandulenko
6b4484472b
Remove trailing whitespaces.
...
svn-id: r18604
2005-07-30 21:11:48 +00:00
Max Horn
8b1d7b9166
When including files from common/, explicitly use the common/ prefix
...
svn-id: r18444
2005-06-24 15:23:51 +00:00
Lars Persson
fd8c94a2f3
Added symbian-fs.cpp, symbian filehandling class
...
svn-id: r18426
2005-06-21 19:53:19 +00:00