1783 Commits

Author SHA1 Message Date
Torbjörn Andersson
30c0bd63bc Fixed bug #1483450. Apparently, S_ISDIR() is undefined if stat() fails. The
change to the POSIXFilesystemNode constructor is the one that matters to this
bug. The changes to listDir() are made from paranoia.

svn-id: r22382
2006-05-08 04:48:40 +00:00
Max Horn
b2d4cd6a35 Paranoia
svn-id: r22379
2006-05-07 19:41:56 +00:00
Max Horn
ae50315fa0 Added a default implementation of the OSystem CD API (which simply does nothing)
svn-id: r22370
2006-05-06 18:10:38 +00:00
Max Horn
dad44b45d3 Removed Base::setTarget, and some minor cleanup & tweaks
svn-id: r22356
2006-05-05 00:26:03 +00:00
Max Horn
5d5c02d66c Moved GameDetector::setTarget & findGame to the new namespace Base; moved their declaration to base/game.h, their implementation to base/main.cpp (both until we can come up with a better location). Also moved detectMain into main.cpp, where it now is a local static function
svn-id: r22346
2006-05-04 23:24:09 +00:00
Max Horn
6321cfc874 Turned the last remaining few GameDetector methods into static methods
svn-id: r22344
2006-05-04 22:52:18 +00:00
Marcus Comstedt
c319e97246 Put "path" config in game specific domain. Fixes bug #1475049.
svn-id: r22343
2006-05-04 21:44:36 +00:00
Lars Persson
ffd43c54a6 Updates for S60V3 and UIQ3
svn-id: r22341
2006-05-04 20:47:27 +00:00
Travis Howell
84c99c8242 Revert the last change, since AbstractFilesystemNode::child() handles files and directories
svn-id: r22319
2006-05-03 21:53:38 +00:00
Max Horn
05f6adbbd9 Removed FilesystemNode::isValid (leaving it up to the porters to decide whether to remove their isValid code or not)
svn-id: r22317
2006-05-03 20:49:33 +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
Lars Persson
fb0cc056aa Project file updated
svn-id: r22313
2006-05-03 18:09:37 +00:00
Lars Persson
5da67ab112 Updated build script for Symbian OS9 devices
svn-id: r22312
2006-05-03 18:05:55 +00:00
Travis Howell
e4e7ba1d7a Make sure AbstractFilesystemNode::child() only returns a directory in Windows
svn-id: r22306
2006-05-03 13:06:22 +00:00
Max Horn
31444d3d35 Some doxygen comment cleanup for (Abstract)FilesystemNode
svn-id: r22304
2006-05-03 11:42:50 +00:00
Max Horn
fea36d0112 Disabled evil getcwd hack in POSIXFilesystemNode
svn-id: r22302
2006-05-03 11:36:07 +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
Marcus Comstedt
5468059d44 Removed compilation error.
svn-id: r22282
2006-05-02 22:27:24 +00:00
Marcus Comstedt
aa7513d0d5 Implemented new InSaveFile methods.
svn-id: r22281
2006-05-02 22:26:26 +00:00
Max Horn
dbe1c50bc9 Added a missing '*' (which marks the comment as being one doxygen should process)
svn-id: r22268
2006-05-01 22:04:13 +00:00
Max Horn
e4a7de9d75 Patch #1479919 (AmigaOS maintaining)
svn-id: r22267
2006-05-01 21:53:31 +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
Travis Howell
7b7d290675 Add windows code for AbstractFilesystemNode::child()
svn-id: r22253
2006-05-01 08:24:57 +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
c1572b2dbd _isPseudoRoot should be always false, in WindowsFilesystemNode(const String &path)
svn-id: r22195
2006-04-27 23:16:45 +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
cf13cf3a70 I still don't know whether this is the correct fix for WindowsFilesystemNode, but at least with it, one definite and serious bug in the code (using an uninitialised variable) has been fixed, the end result hardly will be worse
svn-id: r22192
2006-04-27 17:21:33 +00:00
Max Horn
307f4e387b Fixed getNodeForPath on systems using POSIXFilesystemNode to again correctly check whether the given path exists, and whether it points to a directory
svn-id: r22097
2006-04-23 12:29:43 +00:00
Lars Persson
37633732f1 Added F1 as save for ITE
svn-id: r22083
2006-04-22 07:32:06 +00:00
Lars Persson
a3661c158a Updated Symbian Actions and SDL Symbian interface for latest backend changes so it all works properly again.
svn-id: r22076
2006-04-21 21:15:05 +00:00
Lars Persson
86bc1d4923 Add creation of Symbian SDL backend instead of plain SDL
svn-id: r22071
2006-04-21 20:49:06 +00:00
Won Star
564727be2c Add used memory counter.
svn-id: r22061
2006-04-20 14:55:27 +00:00
Joost Peters
d5909ee122 some cleanup
svn-id: r21946
2006-04-16 14:40:12 +00:00
Joost Peters
1baf98f1c8 update so it compiles again with current svn
svn-id: r21941
2006-04-16 13:26:10 +00:00
Max Horn
68cb7f52c8 - Renamed ConfigManager::getActiveDomain to getActiveDomainName, and added a new getActiveDomain method that returns a pointer to the actual active *domain*
- Added Engine::_targetName whose value is computed from the name of the active domain
- Removed GameDetector::_targetName, instead code now uses either Engine::_targetName or the name of the active domain
- This in turn allowed for removing usage of GameDetector in many places

svn-id: r21916
2006-04-15 20:36:41 +00:00
Max Horn
ad45318328 Removed GameDetector::_gameid in favor of using a config manager entry
svn-id: r21915
2006-04-15 17:39:14 +00:00
Max Horn
04709491f7 Avoid using exceptions
svn-id: r21894
2006-04-14 23:21:59 +00:00
Eugene Sandulenko
e7af211fb5 Remove AmigaOS4 cookie as described in patch #1467193: "AmigaOS changes":
- Icon (icons/scummvm.info) contains stack requirement so the stack cookie
  can be removed

svn-id: r21863
2006-04-14 01:14:38 +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
Eugene Sandulenko
ab799101c0 First batch of root directory cleanup. Now icons are stored in directory
icons/ and all other assorted stuff in dists/ directory. Still I may broke some
packaging/building procedures as no testing was performed.

svn-id: r21859
2006-04-14 00:55:37 +00:00
Lars Persson
1d265f1895 Commiting Fingolfins patch to remove gamedetector usage.
svn-id: r21830
2006-04-12 19:04:10 +00:00
Lars Persson
0d9fc230bc Updated project files with new required libs.
svn-id: r21821
2006-04-12 07:56:44 +00:00
Max Horn
0c75d7d1c0 Removed the PalmOS specific hack in file.cpp in favor for code that should work everywhere (and hopefully will help the GP32 port, too).
svn-id: r21811
2006-04-11 22:29:51 +00:00
Chris Apers
7aacf8e5fb Updated project file
svn-id: r21807
2006-04-11 18:26:40 +00:00
Chris Apers
4f28027c55 Fixed FS support based on lastest changes to the base fs class
svn-id: r21801
2006-04-11 18:13:04 +00:00
Chris Apers
f6ae33b3d7 There is no ::create function anymore in backends
svn-id: r21800
2006-04-11 18:11:03 +00:00
Chris Apers
d32320da0f Added now required palm_main(...) function
svn-id: r21799
2006-04-11 18:08:51 +00:00