aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2008-09-20Fixed "empty control statement" warning in FSDirectory::matchPattern().Vicent Marti
svn-id: r34605
2008-09-18Added 'native' implementations for FSDirectory::matchPattern & ↵Max Horn
SearchSet::getAllNames (untested) svn-id: r34599
2008-09-17Simplified & fixed SearchManagerMax Horn
svn-id: r34598
2008-09-17Moved base/game.* to engines/game.*Max Horn
svn-id: r34589
2008-09-16Merged common/gzip-stream.* and common/zlib.*Max Horn
svn-id: r34578
2008-09-16Modified 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-15Turned compressed savefile wrapper into a generic stream wrapperMax Horn
svn-id: r34566
2008-09-15Corrected and shortened some file opening related warningsMax Horn
svn-id: r34556
2008-09-15Fix SubReadStream by initing _eos to false in the constructor (spotted ↵Max Horn
thanks to our unit tests) svn-id: r34555
2008-09-14Big 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-14Fixed a typo & clarified a commentMax Horn
svn-id: r34541
2008-09-13Portability fixes.Eugene Sandulenko
svn-id: r34515
2008-09-13Big 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-11Added first version of the SearchManager, as it is presented in patch ↵Nicola Mettifogo
tracker item 2093502. svn-id: r34492
2008-09-11Remove obsolete note about fopenMax Horn
svn-id: r34487
2008-09-08Switched 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-07Changed md5_file(FSNode) to use FSNode::openForReadingMax Horn
svn-id: r34437
2008-09-07Add a priority param to OSystem::addSysArchivesToSearchSet (still in search ↵Max Horn
for a better name ;) svn-id: r34432
2008-09-07oopsMax Horn
svn-id: r34431
2008-09-07Made File::addDefaultDirectory(Recursive) ignore FSNodes which are not dirs ↵Max Horn
/ are invalid, instead of erroring out svn-id: r34430
2008-09-07Allow invoking FilesystemNode::getChild on non-dir nodes, by returning an ↵Max Horn
invalid node in that case svn-id: r34429
2008-09-07Added new OSystem method addSysArchivesToSearchSet() [better name pending, ↵Max Horn
suggestions welcome] svn-id: r34424
2008-09-06Added hasArchive to SearchSet.Johannes Schickel
svn-id: r34397
2008-09-06Got rid of File::eof()Max Horn
svn-id: r34396
2008-09-06Clarified / fixed some Common::Archive doxygen commentsMax Horn
svn-id: r34394
2008-09-06Removed last traces of fopen / FILE from common/file.cppMax Horn
svn-id: r34393
2008-09-06Switched class File & DumpFile to use StdioStream internallyMax Horn
svn-id: r34391
2008-09-06Added some unit tests for Stream::readLine_NEW, and clarified that ↵Max Horn
readLine_NEW is essentially fgets in disguise svn-id: r34384
2008-09-05Added 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-05Optimized 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-05Fix class FSDirectory (matchPattern would call getAllNames would call ↵Max Horn
matchPattern would call ...); some cleanup svn-id: r34366
2008-09-05Make use of String::matchStringMax Horn
svn-id: r34365
2008-09-05Moved 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-05Made 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-05Fixed severe bottleneck in the XML Parser code.Vicent Marti
Applied Max's patch for character drawing. Added new FP squareroot function. svn-id: r34354
2008-09-05Updated filehandling for Symbian OSLars Persson
svn-id: r34346
2008-09-05Ported AMIGA specific file buffering 'hack' from class File to StdioStreamMax Horn
svn-id: r34345
2008-09-05Removed useless dependencies from common/file.h in common code. When ↵Nicola Mettifogo
complete removal was not possibile, dependency has been pushed to the cpp files from the headers. svn-id: r34343
2008-09-05Updated Symbian OS file actions with ferror and fflush.Lars Persson
svn-id: r34340
2008-09-04Changed FSDirectory::getSubDirectory to return a FSDirectory pointer instead ↵Max Horn
of a SharedPtr svn-id: r34334
2008-09-03correct a typo (thanks to salty-horse)Matthew Hoops
svn-id: r34320
2008-09-03Minor formatting cleanup.Johannes Schickel
svn-id: r34319
2008-09-03Changed some code to use the new Stream::readLine() methodMax Horn
svn-id: r34318
2008-09-03Fix nasty off-by-one errorsMax Horn
svn-id: r34317
2008-09-03Fixed Stream::readLine implementation to match its doxygen commentMax Horn
svn-id: r34316
2008-09-03Renamed SeekableReadStream::readLine to SeekableReadStream::readLine_OLD; ↵Max Horn
added a new alternate SeekableReadStream::readLine() instead svn-id: r34315
2008-09-03Modified Common::Str to use exponential growth for its storage; also changed ↵Max Horn
the meaning of 'capacity' from 'max length of string' to 'size of storage' (i.e. added one) svn-id: r34313
2008-09-03Changed Archive::openFile to return a SeekableReadStream* instead of a FilePtrMax Horn
svn-id: r34312
2008-09-03clarified commentMax Horn
svn-id: r34311