Commit Graph

171 Commits

Author SHA1 Message Date
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
Chris Apers
cd6ec5e741 Cleanup
svn-id: r26695
2007-05-01 09:50:50 +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
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
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
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
Torbjörn Andersson
16e7a12878 Some very obvious cleanups.
svn-id: r25635
2007-02-16 17:13:29 +00:00
Max Horn
73c3625f1f Fixing various doxygen warnings
svn-id: r25362
2007-02-03 21:37:52 +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
Max Horn
fb795dabd0 Patch #1594533: morphos fs backend
svn-id: r24690
2006-11-12 11:43:46 +00:00
Kostas Nakos
4524b49872 Initial commit of the wince-gcc re-port
svn-id: r24212
2006-10-08 18:15:18 +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
Marcus Comstedt
4342d61448 Added name() method.
svn-id: r23860
2006-09-10 09:10:30 +00:00
Neil Millstone
1da493ac00 Adding new name() method.
svn-id: r23813
2006-08-31 19:32:38 +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
Johannes Schickel
d9cb390a7b Fixing the Windows FS code to not delete the first character of a node, if it is just with a filename created. (which is not working yet though, but still the first char shouldn't be skipped)
svn-id: r23795
2006-08-28 13:17:36 +00:00
Oystein Eftevaag
69daf49a73 Don't strip the first character of the filename when FilesystemNode is instantiated with just the filename and no path.
svn-id: r23763
2006-08-26 19:16:15 +00:00
Johannes Schickel
63aec29edb Added isValid to FilesystemNode and AbstractFilesystemNode. See my mail to -devel for more information.
svn-id: r23567
2006-07-22 17:01:50 +00:00
Max Horn
6ed00cd055 Added FilesystemNode::name method
svn-id: r23553
2006-07-22 14:14:16 +00:00
Won Star
167a1e5912 Fix FileSystem bug. Now 'Go Up' button works. :)
svn-id: r23527
2006-07-16 08:32:23 +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
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
Won Star
da64d9f72e o WIP file cache code borrowed from PS2 port.
o add property

svn-id: r23062
2006-06-12 15:33:27 +00:00
Won Star
119a0192e1 * Move gp32-fs.cpp to fs/gp32 dir.
* Fix gp32 launcher code.

svn-id: r23023
2006-06-11 10:23:41 +00:00
Robert Göffringmann
93718ebef9 updated fs implementation
svn-id: r22974
2006-06-07 06:53:41 +00:00
Travis Howell
d47f3a76fb Add trailing slash to getCurrentDirectory if required. Fixes bug #1500563 - WIN32/SCUMM: Using scummvm.exe targetname not possible
svn-id: r22923
2006-06-05 00:14:23 +00:00
Marcus Comstedt
51e1438020 Separated the Dreamcast filesystem backend from the POSIX one.
svn-id: r22883
2006-06-03 14:09:04 +00:00
Chris Apers
d224f5a6ce Updated palmos FS based on lastest changes to the base class
svn-id: r22867
2006-06-03 11:21:39 +00:00
Joost Peters
69b5d6fa3d fix PSPFilesystemNode::parent() + some minor cleanup
svn-id: r22727
2006-05-28 22:02:38 +00:00
Joost Peters
8c1d71851a make getNodeForPath() use the proper PSPFilesystemNode ctor (and remove the old, now unused, one).
svn-id: r22726
2006-05-28 21:35:35 +00:00
Joost Peters
91cd652f1d move psp_fs.cpp from backends/psp/ to backends/fs/psp/
svn-id: r22657
2006-05-26 10:46:52 +00:00
Travis Howell
1403a3511e Add code for get current directory
svn-id: r22437
2006-05-13 11:18:52 +00:00
Travis Howell
1124fa8d90 Get current directory via a path of '.'
svn-id: r22435
2006-05-13 10:42:21 +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
ed339aa771 Updated some comments
svn-id: r22422
2006-05-12 21:11:37 +00:00
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
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
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