Commit Graph
23 Commits
Author SHA1 Message Date
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 b2d4cd6a35 Paranoia
svn-id: r22379
2006-05-07 19:41:56 +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
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 8300d1d2a9 Added new AbstractFilesystemNode::child() resp. FilesystemNode::getChild() methods
svn-id: r22249
2006-04-30 22:52:10 +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 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
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 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 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 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
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
Max Horn 8b1d7b9166 When including files from common/, explicitly use the common/ prefix
svn-id: r18444
2005-06-24 15:23:51 +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
Max Horn 47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn 0894f83804 Ensure that the file list in the browser is always sorted
svn-id: r16108
2004-12-18 02:33:37 +00:00
Torbjörn Andersson be58f22feb Allow the file browser to get back to the "pseudo root" under Windows. This
fixes bug #1074919.

svn-id: r15963
2004-11-29 11:14:12 +00:00
Max Horn 01cb15b9b2 Since we do ref counting on the nodes now, we can re-use the root nodes now
svn-id: r15851
2004-11-21 13:18:07 +00:00
Max Horn 5d9b35510d Changed the FilesystemNode implementation to make it easier to use (client code doesn't have to worry about the memory managment anymore, it's all 'automatic' now). May have introduced a mem leak or two, please check :-)
svn-id: r15848
2004-11-20 21:35:49 +00:00