Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Orgad Shaneh
7adcd48a41
COMMON: Use override
...
Using clang-tidy modernize-use-override
2021-11-14 14:35:15 +02:00
SupSuper
8c86319923
BACKENDS: Use U32String for FSNode::getDisplayName
2021-08-23 21:22:27 +01:00
djsrv
ba28d7fde6
ALL: Change listMatchingMembers pattern to a Path
...
This handles any potential differences in directory separators passed to
the function, as with the other Archive functions.
2021-08-09 17:47:30 -04:00
Paul Gilbert
9db14ee109
BACKENDS: Update all the backends to support SeekableWriteStream
2021-08-08 18:13:30 -07:00
djsrv
7eb4841065
ALL: Use Path type in Archive functions
2021-08-07 10:44:37 +02:00
Bartosz Gentkowski
24e3b6096e
DOXYGEN: Doxygen improvements part 3
...
Editing doxygen comments in files:
- debug.h
- dialogs.h
- encoding.h
- endian.h
- error.h
- events.h
- fft.h
- file.h
- frac.h
- fs.h
- gui_options.h
- hash-ptr.h
- hashmap.h
- huffman.h
- ini-file.h
Plus some small changes in the config file.
2020-11-04 19:42:34 +00:00
Eugene Sandulenko
4a401e36fc
COMMON: Extend FSDirectory, so matching functions could also match subdirectories
2020-10-07 01:40:03 +02:00
Bartosz Gentkowski
ec24687ce4
DOXYGEN: Add doxygen groups to header files in the common folder
...
Adding @defgroup and @ingroup doxygen tags into all headers
in the common folder that contain doxygen blocks.
This improves the structure, readability, and findability
of information in the resulting output.
This commit targets purely structure and does not deal with
the content of the currently existing doxygen documentation.
2020-10-04 18:25:50 +02:00
Le Philousophe
d62bb15d71
COMMON: Add ignoreClashes flag to SearchSet and FSDirectory
...
This lets engine mute warnings about name clashes when there are useless
for its case. This will be used by Versailles as the tree has
directories with the same name at various places.
Files are duplicated too in different directories but are identical.
2019-11-03 00:44:23 +01:00
Cameron Cawley
410923351b
Revert "COMMON: Implement FSNode::createDirectoryRecursive()"
...
This reverts commit aca627bec7
.
2019-09-15 00:07:46 +02:00
Cameron Cawley
aca627bec7
COMMON: Implement FSNode::createDirectoryRecursive()
2019-08-11 22:15:54 +03:00
lolbot-iichan
f1250dbfcb
COMMON: Implement createDirectory() method to Common::FSNode
...
Added a simple wrapper for AbstractFSNode::create(true) since there was
no way to create directories.
2019-08-11 22:15:54 +03:00
Bastien Bouclet
662791a961
COMMON: Include hidden files in directory listings by default
...
Hidden files are now only ignored in the GUI file browser when the user
has not checked 'show hidden files'.
Myst III has the hidden flag set for one of the directories containing
datafiles on the CD-ROM. When users copy the files to their hard drives
the hidden flag is kept. Detection worked previously because hidden
files were explicitly requested in the AD code. The engine would fail
to open the datafiles because SearchMan.addSubDirectoryMatching
ignored hidden directories.
2019-01-30 06:48:32 +01:00
Adrian Frühwirth
3747d852ee
JANITORIAL: Fix whitespace
2018-04-15 16:31:31 +02:00
Johannes Schickel
54f5c95832
COMMON: Make FSNode(AbstractFSNode *) private again.
...
This also fixes a memory leak in OSystem_iOS7::addSysArchivesToSearchSet.
2016-01-07 11:25:02 +01:00
Vincent Bénony
73385584ba
IOS: Adds a warning
2016-01-06 16:20:30 +01:00
Vincent Bénony
e0bfdb41d0
IOS: Formatting
2016-01-06 16:20:30 +01:00
Vincent Bénony
108ce38443
IOS: Added a chroot like filesystem
...
This is needed because it is not possible to keep absolute paths to the iOS document directory, because a part of its name change between each installation / update.
2016-01-06 15:35:17 +01:00
Johannes Schickel
854e22b38b
COMMON: Make GPL headers consistent in themselves.
2014-02-18 02:39:33 +01:00
Andrea Corna
a6ec4f70da
COMMON: Make more members of Archive constant.
2011-12-13 17:55:57 +01:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Ori Avtalion
9414d7a6e2
JANITORIAL: Reduce header dependencies in shared code
...
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Max Horn
0a13162073
cleanup
...
svn-id: r48041
2010-02-13 11:57:01 +00:00
Willem Jan Palenstijn
6e38259270
Add a 'flat' option to FSDirectory to allow searching recursively for files in subdirectories
...
svn-id: r41090
2009-06-01 00:01:32 +00:00
Max Horn
9b45dd2849
Modified FSDirectory::lookupCache to return a FSNode *pointer*, so that we can distinguish between lookup failures and invalid cache entries. Also changed SearchSet::createReadStreamForMember to not use hasFile anymore, based on the assumption that any Archive::createReadStreamForMember implementation has to verify whether the member name is valid anyway (clarified the doxygen docs accordingly)
...
svn-id: r38787
2009-02-22 16:48:02 +00:00
Willem Jan Palenstijn
f23b6f91b7
typo
...
svn-id: r38440
2009-02-17 19:54:11 +00:00
Max Horn
14c5bbbccf
Renamed Archive::openFile to createReadStreamForMember
...
svn-id: r36021
2009-01-23 04:45:44 +00:00
Max Horn
9861afd8fd
Renamed ArchiveMember::open -> createReadStream, and made it a cv member (const); same for Archive::openFile
...
svn-id: r36020
2009-01-23 04:36:18 +00:00
Max Horn
8f16458e9b
Renamed FSNode::openForReading / openForWriting to createReadStream / createWriteStream, again to make ownership of the returned stream clear
...
svn-id: r36014
2009-01-23 03:41:36 +00:00
Johannes Schickel
cd952a7c27
Whoops it seems the comment used "backslashes" instead of "slashes" in other places too.
...
svn-id: r35949
2009-01-20 12:44:44 +00:00
Johannes Schickel
c0cd121ffd
Fixed typo in comment.
...
svn-id: r35948
2009-01-20 12:37:05 +00:00
Eugene Sandulenko
696897b058
Whoa! Removing trailing spaces.
...
svn-id: r35648
2009-01-01 15:06:43 +00:00
Max Horn
87a2747744
Turned FSNode into a ArchiveMember subclass; removed the now obsolete FSDirectoryMember; moved FSDirectory from common/archive.h to common/fs.h
...
svn-id: r35578
2008-12-27 18:03:27 +00:00
Max Horn
44d37a14a9
Removed FSNode::lookupFile
...
svn-id: r35142
2008-11-21 19:14:23 +00:00
Max Horn
c7fde102e3
Renamed FilesystemNode -> FSNode
...
svn-id: r34716
2008-10-02 16:58:59 +00:00
Max Horn
19dd03dfa8
Remove obsolete note about fopen
...
svn-id: r34487
2008-09-11 09:28:14 +00:00
Max Horn
abffd3b3ab
Allow invoking FilesystemNode::getChild on non-dir nodes, by returning an invalid node in that case
...
svn-id: r34429
2008-09-07 21:47:01 +00:00
Max Horn
1cecbebc49
Switched class File & DumpFile to use StdioStream internally
...
svn-id: r34391
2008-09-06 20:49:48 +00:00
Max Horn
531bcf847c
Moved FilesystemNode / FSList to namespace Common; also got rid of some 'typedef Common::String String;' name aliases
...
svn-id: r34302
2008-09-03 11:22:51 +00:00
Max Horn
3dc066e983
Change FilesystemNode::getChild to new desired behavior: namely, that it should return valid nodes even for names for which no child exists (yet?) -- mail to scummvm-devel pending
...
svn-id: r34284
2008-09-02 16:35:16 +00:00
Max Horn
4d5df949c7
FilesystemNode code: some comment cleanup; added FilesystemNode::openForReading() and openForWriting() methods (for now these are simple wrappers around Common::File)
...
svn-id: r33590
2008-08-03 18:35:51 +00:00
Max Horn
dbe38029db
Changed FilesystemNode to use a SharedPtr instead of implementing its own ref counting
...
svn-id: r31303
2008-03-29 21:12:36 +00:00
Jordi Vilalta Prat
66e9d4f5e8
Removed trailing spaces.
...
svn-id: r30664
2008-01-27 19:47:41 +00:00
Max Horn
223f22c773
Reworked FilesystemNode::lookupFile (fixing doxygen comment, making it possible to restrict the search depth, fixed the 'exhaustive' mode and some other tweaks)
...
svn-id: r30644
2008-01-26 19:25:04 +00:00
Johannes Schickel
bfb7a7e7e6
Don't allow implicit conversion from Common::String to Common::FilesystemNode.
...
svn-id: r30199
2008-01-03 14:51:50 +00:00
David Corrales
ec38b85a44
Committing the set of patches #1814434 , thanks to jvprat. They improve the documentation and parameter naming of the lookFile methods inside Common::FS.
...
svn-id: r29228
2007-10-16 20:24:39 +00:00
Max Horn
c3d3aebe87
Patch #1768757 : Merge fsnode-gsoc into trunk (MAJOR change, will break compilation on some ports)
...
svn-id: r28944
2007-09-18 20:02:04 +00:00
David Corrales
1dc13a641d
Merged some of the changes from the trunk patch back in to the GSoC fsnode branch.
...
svn-id: r28649
2007-08-18 05:24:18 +00:00
David Corrales
0ac96302fe
Initial implementation of the lookupFile() function. It's meant to search recursively for given
...
filename within a set of directories.
svn-id: r27551
2007-06-20 00:28:04 +00:00