Commit graph

110 commits

Author SHA1 Message Date
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
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
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
Max Horn
8271273cb5 Fallback to using stat() if readdir returns DT_UNKNOWN (replacing the AMD64 hack)
svn-id: r21767
2006-04-10 19:26:40 +00:00
Johannes Schickel
df1bc871f1 Forces usage of SYSTEM_NOT_SUPPORTING_D_TYPE on amd64 systems. (read comment for more information)
svn-id: r21739
2006-04-09 23:30:16 +00:00
Max Horn
4a8c9c323d AmigaOS4 changes from tracker #1416370
svn-id: r21691
2006-04-08 12:39:27 +00:00
Max Horn
67fda4ece5 Cache the root node (cause a major speedup on OSX, since by far the slowes part in the FS code over here is the getcwd call in getRoot() )
svn-id: r21667
2006-04-07 11:47:58 +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
bec09d3094 Turned FSList::sort into a generic function which can be applied to anything which implements comparable iterators (like Array, List, or plain C arrays)
svn-id: r21617
2006-04-04 23:55:47 +00:00
Eugene Sandulenko
66d8b85463 Allow symlinks to directories for FS;es with D_TYPE support.
svn-id: r21616
2006-04-04 23:52:56 +00:00
Eugene Sandulenko
004a39b3af Symlinks are also valid files
svn-id: r21615
2006-04-04 23:44:27 +00:00
Travis Howell
194945f2a1 Rename variable in FSList::sort() to avoid conflict with system defines
svn-id: r21612
2006-04-04 23:26:11 +00:00
Max Horn
ac9203415e Some more FS code cleanup
svn-id: r21600
2006-04-04 21:03:17 +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
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
bca4dd001f Rewrote sort code to use iterators (means it can be used with any container now, in theory at least)
svn-id: r21596
2006-04-04 20:49:26 +00:00
Max Horn
ebeded36a1 Added comment on why we use getcwd in POSIXFilesystemNode at all
svn-id: r21582
2006-04-03 22:06:42 +00:00
Max Horn
4226aa761d Fix AbstractFilesystemNode::wrap to not call (indirectly) getRoot, just to throw away the result immediately again (which (a) caused a slowdown and (b) a leak, both fixed now)
svn-id: r21581
2006-04-03 21:54:26 +00:00
Max Horn
5595ec5680 Various changes to POSIXFilesystemNode:
- Removed pseudo copy constructor, use the automatically generated one instead.
- Do not always call stat() whenever creating a POSIXFilesystemNode from a path.
- Use lastPathComponent in POSIXFilesystemNode(path) constructor.
- Some further cleanup.

svn-id: r21580
2006-04-03 21:18:24 +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
Max Horn
0ad58cdb95 Removed .cvsignore files
svn-id: r20424
2006-02-07 22:50:14 +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
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
Chris Apers
be9d8951eb Change PalmOS ident
svn-id: r18748
2005-09-03 16:24:58 +00:00
Eugene Sandulenko
6b4484472b Remove trailing whitespaces.
svn-id: r18604
2005-07-30 21:11:48 +00:00
Torbjörn Andersson
7760c0b8a4 Changed #include <stdafx.h> to #include <common/stdafx.h>. It should
probably be #include "common/stdafx.h", but I'll let the backend
maintainers worry about style.

svn-id: r18455
2005-06-24 16:18:10 +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
Eugene Sandulenko
169ff06f09 Proper #include directive.
svn-id: r18022
2005-05-10 02:30:19 +00:00
Eugene Sandulenko
df7e6104b6 Last bit of AmigaOS4 patch. Apparently this was missed by mistake.
svn-id: r18018
2005-05-10 00:58:08 +00:00
Max Horn
99b9c27f99 Why not fix the warning if you encounter it? :-)
svn-id: r17994
2005-05-09 08:47:09 +00:00
Torbjörn Andersson
13dc149ded Applied patch #1175374 ("FluidSynth MIDI driver"), with a few documentation
changes. There are a few things that could use a bit more work, and I've
only tested it on my Linux box. I have verified that ScummVM still compiles
when it's disabled, though, so it shouldn't break anything too badly.

svn-id: r17512
2005-04-10 14:33:44 +00:00
Robert Göffringmann
861cdd9db2 fixed headers. -_-
svn-id: r17306
2005-03-31 07:50:33 +00:00
Robert Göffringmann
bd81feb996 Playstation2 Port: initial import
svn-id: r17305
2005-03-31 05:35:04 +00:00
Nicolas Bacca
d99d4d09f2 Weird ... but fixes the second (and hopefully last) crash
svn-id: r17168
2005-03-16 22:58:42 +00:00
Eugene Sandulenko
b72df416a6 WIP of GP32 port. Now it is more correct port and compiles with current
CVS. Though it has some issues unresolved, one of them is that it crashes
right after splash screen without showing anything. Work in progress :)

svn-id: r17054
2005-03-09 22:21:57 +00:00
Paweł Kołodziejski
6746d89df5 ops
svn-id: r16918
2005-02-25 20:16:25 +00:00
Paweł Kołodziejski
531ca37040 fixed compilation
svn-id: r16916
2005-02-25 20:12:25 +00:00
Torbjörn Andersson
b1039bb59e Fixed warning, hopefully without breaking anything. (GCC doesn't like
casting from "const char *" to "char *".)

svn-id: r16826
2005-02-20 15:33:14 +00:00
Paweł Kołodziejski
e2753574ac compatibility fixes for wince
svn-id: r16814
2005-02-19 16:00:22 +00:00
Torbjörn Andersson
d6be4f03a7 Added getNodeForPath() so I can compile ScummVM with MinGW again. Since I
don't know where it's used, I'm not sure if it works correctly.

svn-id: r16752
2005-02-07 14:25:04 +00:00
Max Horn
a1b058897d Remove the OSX-restriction on FilesystemNode::getNodeForPath() for now (I don't like it, but until a proper solution is in place, it seems to be the best thing to do)
svn-id: r16743
2005-02-06 18:37:23 +00:00