Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-09-29 | Don't subclass ArjFile from Common::File (there seems to be no good reason ↵ | Max Horn | |
for it). BTW, this code is an abomination and should be replaced by an Archive/SearchSet approach svn-id: r34681 | |||
2008-09-29 | File::open no longer falls back to searching the current dir (if this causes ↵ | Max Horn | |
any regressions, please report them; don't work around them, don't revert this change, without discussing it first) svn-id: r34680 | |||
2008-09-29 | Add priority parameter to the SearchMan API | Max Horn | |
svn-id: r34679 | |||
2008-09-27 | Changed Common::File to use SearchMan | Max Horn | |
svn-id: r34663 | |||
2008-09-27 | Fixed a nasty bug in SearchManager::addDirectory; made the 'char' ↵ | Max Horn | |
constructor of Common::String explicit, to avoid such bugs in the future svn-id: r34660 | |||
2008-09-27 | Modified Common::SearchSet to take signed integer priorities, for ↵ | Max Horn | |
convenience (so that one can add archives with less-than-default priority) svn-id: r34659 | |||
2008-09-24 | Changed builtin Common::String capacity to 24 (on 32 bit systems), to make ↵ | Max Horn | |
sizeof(String) 32; reduces overall memory req by 200k on my system; overall # of mallocs after this + the refcount memory pool change is almost unchanged svn-id: r34644 | |||
2008-09-24 | Changed Common::String to use a MemoryPool for its refcounts | Max Horn | |
svn-id: r34642 | |||
2008-09-23 | Perform error checking when reading from a ZIP file | Max Horn | |
svn-id: r34634 | |||
2008-09-23 | cleanup | Max Horn | |
svn-id: r34633 | |||
2008-09-23 | Moved ZipArchive to namespace Common; moved unzip internals from unzip.h to ↵ | Max Horn | |
unzip.cpp (to be cleaned up) svn-id: r34632 | |||
2008-09-23 | Moved ZipArchive implementation into unzip.cpp, added new ZipArchive::isOpen ↵ | Max Horn | |
method svn-id: r34630 | |||
2008-09-22 | Fix comments for random() funcs (thanks to salty-horse for pointing this out) | Max Horn | |
svn-id: r34628 | |||
2008-09-20 | Little readability tweak | Max Horn | |
svn-id: r34615 | |||
2008-09-20 | Fixed "empty control statement" warning in FSDirectory::matchPattern(). | Vicent Marti | |
svn-id: r34605 | |||
2008-09-18 | Added 'native' implementations for FSDirectory::matchPattern & ↵ | Max Horn | |
SearchSet::getAllNames (untested) svn-id: r34599 | |||
2008-09-17 | Simplified & fixed SearchManager | Max Horn | |
svn-id: r34598 | |||
2008-09-17 | Moved base/game.* to engines/game.* | Max Horn | |
svn-id: r34589 | |||
2008-09-16 | Merged common/gzip-stream.* and common/zlib.* | Max Horn | |
svn-id: r34578 | |||
2008-09-16 | Modified uncompress in common/zlib.h to return a bool, so that we don't have ↵ | Max Horn | |
to #include the real zlib.h; fixed PSP backend to not run uncompress inside an assert (which would cause it to not be invoked when turning off asserts) svn-id: r34576 | |||
2008-09-15 | Turned compressed savefile wrapper into a generic stream wrapper | Max Horn | |
svn-id: r34566 | |||
2008-09-15 | Corrected and shortened some file opening related warnings | Max Horn | |
svn-id: r34556 | |||
2008-09-15 | Fix SubReadStream by initing _eos to false in the constructor (spotted ↵ | Max Horn | |
thanks to our unit tests) svn-id: r34555 | |||
2008-09-14 | Big patch changing semantics of ReadStream::eos(): | Willem Jan Palenstijn | |
eos() now only returns true _after_ trying to read past the end of the stream. This has a large potential for regressions. Please test! svn-id: r34549 | |||
2008-09-14 | Fixed a typo & clarified a comment | Max Horn | |
svn-id: r34541 | |||
2008-09-13 | Portability fixes. | Eugene Sandulenko | |
svn-id: r34515 | |||
2008-09-13 | Big patch changing the signature of various Stream methods (some ports may ↵ | Max Horn | |
need to be slightly tweaked to fix overloading errors/warnings) svn-id: r34514 | |||
2008-09-11 | Added first version of the SearchManager, as it is presented in patch ↵ | Nicola Mettifogo | |
tracker item 2093502. svn-id: r34492 | |||
2008-09-11 | Remove obsolete note about fopen | Max Horn | |
svn-id: r34487 | |||
2008-09-08 | Switched File::open, File::addDefaultDirectory to use a SearchSet ↵ | Max Horn | |
internally. Code is a lot shorter & simpler now, far less failing fopen calls (good for NDS and other ports); drawback: regressions :). Good bug hunting to everybody svn-id: r34444 | |||
2008-09-07 | Changed md5_file(FSNode) to use FSNode::openForReading | Max Horn | |
svn-id: r34437 | |||
2008-09-07 | Add a priority param to OSystem::addSysArchivesToSearchSet (still in search ↵ | Max Horn | |
for a better name ;) svn-id: r34432 | |||
2008-09-07 | oops | Max Horn | |
svn-id: r34431 | |||
2008-09-07 | Made File::addDefaultDirectory(Recursive) ignore FSNodes which are not dirs ↵ | Max Horn | |
/ are invalid, instead of erroring out svn-id: r34430 | |||
2008-09-07 | Allow invoking FilesystemNode::getChild on non-dir nodes, by returning an ↵ | Max Horn | |
invalid node in that case svn-id: r34429 | |||
2008-09-07 | Added new OSystem method addSysArchivesToSearchSet() [better name pending, ↵ | Max Horn | |
suggestions welcome] svn-id: r34424 | |||
2008-09-06 | Added hasArchive to SearchSet. | Johannes Schickel | |
svn-id: r34397 | |||
2008-09-06 | Got rid of File::eof() | Max Horn | |
svn-id: r34396 | |||
2008-09-06 | Clarified / fixed some Common::Archive doxygen comments | Max Horn | |
svn-id: r34394 | |||
2008-09-06 | Removed last traces of fopen / FILE from common/file.cpp | Max Horn | |
svn-id: r34393 | |||
2008-09-06 | Switched class File & DumpFile to use StdioStream internally | Max Horn | |
svn-id: r34391 | |||
2008-09-06 | Added some unit tests for Stream::readLine_NEW, and clarified that ↵ | Max Horn | |
readLine_NEW is essentially fgets in disguise svn-id: r34384 | |||
2008-09-05 | Added simple ZipArchive class, and changed some GUI code to use it, instead ↵ | Max Horn | |
of the ugly C API to the unzip code svn-id: r34370 | |||
2008-09-05 | Optimized matchString for the common case where there is a trailing * (if ↵ | Max Horn | |
that is the case, abort immediately instead of scanning the rest of the string) svn-id: r34367 | |||
2008-09-05 | Fix class FSDirectory (matchPattern would call getAllNames would call ↵ | Max Horn | |
matchPattern would call ...); some cleanup svn-id: r34366 | |||
2008-09-05 | Make use of String::matchString | Max Horn | |
svn-id: r34365 | |||
2008-09-05 | Moved matchString from util.* to str.*; added new String::matchString ↵ | Max Horn | |
method; fixed matchString doxygen comment (it confused pattern & string); added unit tests for matchString svn-id: r34364 | |||
2008-09-05 | Made FSDirectory use the default matchPattern implementation. | Nicola Mettifogo | |
svn-id: r34360 | |||
2008-09-05 | * Implemented a default matchPattern for Archive subclasses (courtesy of ↵ | Nicola Mettifogo | |
Fingolfin). * Fixed bug in FSDirectory::matchPattern. svn-id: r34359 | |||
2008-09-05 | Updated filehandling for Symbian OS | Lars Persson | |
svn-id: r34346 |