Jordi Vilalta Prat
b1999a2a16
Fixed indentation and removed whitespaces at the end of line
...
svn-id: r35481
2008-12-22 11:22:15 +00:00
Max Horn
ea3d4fe22d
cleanup
...
svn-id: r35381
2008-12-15 12:55:13 +00:00
Willem Jan Palenstijn
196e2cc92c
refactor inconsistent calls to cacheDirectoryRecursive
...
svn-id: r35140
2008-11-21 13:29:53 +00:00
Max Horn
a28b531ed0
Added ArchiveMember::getDisplayName() method; changed ArchiveMember::getName() to always return a name compatible with Archive::openFile()
...
svn-id: r35139
2008-11-21 12:17:35 +00:00
Johannes Schickel
282ebbb0e5
Commit of patch #2207782 "ARCHIVE: New method 'getMember'".
...
svn-id: r34871
2008-11-01 12:49:29 +00:00
Max Horn
a2d961a827
Made constructor of SearchManager singleton private
...
svn-id: r34841
2008-10-22 22:31:09 +00:00
Johannes Schickel
7d331b7341
Committed updated version of my patch #2184529 "SearchSet: Get rid of SharedPtr usage".
...
svn-id: r34837
2008-10-22 17:44:12 +00:00
Max Horn
f881b95ddd
Removed File::addDefaultDirectoryRecursive, tweaked SearchMan API slightly
...
svn-id: r34836
2008-10-22 17:08:17 +00:00
Johannes Schickel
ffdbb474c4
Removed SearchManager::addArchive, since SearchManager::add offers the same functionallity.
...
svn-id: r34795
2008-10-13 15:07:37 +00:00
Nicola Mettifogo
fb0d112bbd
* Added prefix support to cache entries of FSDirectory, as specified in patch #2034983 .
...
* Updated comments on most Archive-related classes.
svn-id: r34776
2008-10-12 06:06:04 +00:00
Nicola Mettifogo
5dd381932f
Added an optional depth parameter to FSDirectory::getSubDirectory(), so that returned FSDirectory can be more flexibly configured.
...
svn-id: r34756
2008-10-08 09:05:21 +00:00
Johannes Schickel
e417471177
Committed slightly modified patch #2034983 "Case-insensitivy and directory handling for engines".
...
svn-id: r34734
2008-10-03 16:57:40 +00:00
Max Horn
c7fde102e3
Renamed FilesystemNode -> FSNode
...
svn-id: r34716
2008-10-02 16:58:59 +00:00
Gregory Montoir
cb4caae8eb
add constructor to SearchSet::Node for proper init of structure members with gcc 3.4.x (see tracker items #2120595 , #2106292 )
...
svn-id: r34686
2008-09-29 19:09:56 +00:00
Max Horn
00ca130f19
Add priority parameter to the SearchMan API
...
svn-id: r34679
2008-09-29 10:30:31 +00:00
Max Horn
479e67f2f2
Modified Common::SearchSet to take signed integer priorities, for convenience (so that one can add archives with less-than-default priority)
...
svn-id: r34659
2008-09-27 18:32:01 +00:00
Max Horn
722d134e7e
Added 'native' implementations for FSDirectory::matchPattern & SearchSet::getAllNames (untested)
...
svn-id: r34599
2008-09-18 08:19:00 +00:00
Max Horn
3178fad0a4
Simplified & fixed SearchManager
...
svn-id: r34598
2008-09-17 18:59:09 +00:00
Nicola Mettifogo
166386b581
Added first version of the SearchManager, as it is presented in patch tracker item 2093502.
...
svn-id: r34492
2008-09-11 13:24:01 +00:00
Johannes Schickel
093431e88d
Added hasArchive to SearchSet.
...
svn-id: r34397
2008-09-06 22:09:34 +00:00
Max Horn
7a7e710290
Clarified / fixed some Common::Archive doxygen comments
...
svn-id: r34394
2008-09-06 21:09:34 +00:00
Max Horn
e5c8ebf995
Fix class FSDirectory (matchPattern would call getAllNames would call matchPattern would call ...); some cleanup
...
svn-id: r34366
2008-09-05 20:26:36 +00:00
Nicola Mettifogo
87d67be832
* Implemented a default matchPattern for Archive subclasses (courtesy of Fingolfin).
...
* Fixed bug in FSDirectory::matchPattern.
svn-id: r34359
2008-09-05 18:24:41 +00:00
Max Horn
5409b2b456
Changed FSDirectory::getSubDirectory to return a FSDirectory pointer instead of a SharedPtr
...
svn-id: r34334
2008-09-04 20:03:08 +00:00
Johannes Schickel
6601e6ae7c
Minor formatting cleanup.
...
svn-id: r34319
2008-09-03 19:07:38 +00:00
Max Horn
e1918341af
Changed Archive::openFile to return a SeekableReadStream* instead of a FilePtr
...
svn-id: r34312
2008-09-03 17:07:13 +00:00
Nicola Mettifogo
9fb10e2540
* Added Archive, an interface for searching into file containers.
...
* Added FSDirectory, an Archive implementation that models a directory from the filesystem.
* Added SearchSet, an Archive implementation that allows searching multiple Archives.
See patch 2034983 on sf.net.
svn-id: r34227
2008-08-31 13:58:17 +00:00