aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2008-08-09Use FSNode API in default OSystem::openConfigFileForReading & ↵Max Horn
OSystem::openConfigFileForWriting method implementations svn-id: r33730
2008-08-09If no default config file is present, just don't load it, instead of crashingMax Horn
svn-id: r33729
2008-08-09hotfix around drascula mem leak problems. see also bug reportKostas Nakos
svn-id: r33716
2008-08-05Removed unneeded #includes.Travis Howell
svn-id: r33627
2008-08-04List the correct engines in about, Lars Persson
updated actions with Lure (from WinCE). Increased min heap size to 5MB svn-id: r33618
2008-08-04Remove some code which was rendered obsolete by md5's commit r33610Max Horn
svn-id: r33617
2008-08-04Fixing compilation under MSVCFilippos Karapetis
svn-id: r33610
2008-08-04Modified DumpFile::open to accept non-existing nodes, and to actually open ↵Max Horn
files in write mode -- d'oh svn-id: r33609
2008-08-04Turned InSaveFile & OutSaveFile into simple typedefsMax Horn
svn-id: r33606
2008-08-04Moved the OutSaveFile::finalize method to WriteStream; implemented ↵Max Horn
DumpFile::flush() svn-id: r33604
2008-08-03FilesystemNode code: some comment cleanup; added ↵Max Horn
FilesystemNode::openForReading() and openForWriting() methods (for now these are simple wrappers around Common::File) svn-id: r33590
2008-08-03Implemented DumpFile::open(FSNode)Max Horn
svn-id: r33586
2008-08-03OSYSTEM: Pushed some SDL/Symbian specific code to the respective backends; ↵Max Horn
made openConfigFileForReading/openConfigFileForWriting return 0 if they failed to open a file svn-id: r33585
2008-08-03New OSystem API for loading/storing default config fileMax Horn
svn-id: r33584
2008-08-02Fix for bug #1972625 'ALL: On-the-fly targets are written to the config file'Max Horn
svn-id: r33550
2008-07-31- Added Common::mem_fun_ref for object references instead of pointers.Johannes Schickel
- Added simple tests for a little bit functionallity from common/func.h svn-id: r33470
2008-07-30This time properly reverted my accidental commits of the osystem&configman ↵Max Horn
patch (I didn't mean to commit it in the first place, still waiting for any replies to my corresponding scummvm-devel mail). Sorry for messing up so badly svn-id: r33459
2008-07-30Fixed Win32 build, after Fingolfin's commits (probably because of the revert ↵Nicola Mettifogo
in revision 33456). svn-id: r33458
2008-07-30Simplify/optimize/cleanup detectGameFilebased furtherMax Horn
svn-id: r33457
2008-07-30Revert my accidental commit of the OSystem changes (oops)Max Horn
svn-id: r33456
2008-07-30Simplified advanced detector file sys scanning codeMax Horn
svn-id: r33455
2008-07-30Advanced detector: split out part of detectGame into a new function ↵Max Horn
detectGameFilebased; some cleanup svn-id: r33453
2008-07-30Reordered initialization order to kill a ton of warnings.Nicola Mettifogo
svn-id: r33452
2008-07-30Changed BufferedReadStream to not permanently decrease its buffer size at ↵Max Horn
the end of a stream (this would fail when using BufferedSeekableReadStream and then seeking back from the end); this also fixes a bug which let you seek back beyond the start of a stream (not that we currently support that in other streams) svn-id: r33436
2008-07-29- FormattingJohannes Schickel
- Improved Functor#Mem::isValid implementations. svn-id: r33427
2008-07-29Little fix for documentation.Johannes Schickel
svn-id: r33426
2008-07-29Documentation for func.h.Johannes Schickel
svn-id: r33425
2008-07-29Added two new classes, BufferedReadStream & BufferedSeekableReadStream, as ↵Max Horn
proposed on scummvm-devel svn-id: r33419
2008-07-29Added documentation for the functions in algorithm.h.Johannes Schickel
svn-id: r33416
2008-07-29CONFIGMAN: Store domains in the order they were addedMax Horn
svn-id: r33413
2008-07-29Changed class File (and derived classes) to only support read-only access; ↵Max Horn
added a new class DumpFile for writing svn-id: r33412
2008-07-29Formatting.Johannes Schickel
svn-id: r33401
2008-07-29Added a reset method to SharedPtr, which allows NULLifying it.Johannes Schickel
svn-id: r33400
2008-07-29Changed advanced detector to *always* use the FSNode API for detection (i.e. ↵Max Horn
killed second code path which used File::open trial&error directory 'scanning') svn-id: r33388
2008-07-25Added Common::Rect::isEmpty() methodMax Horn
svn-id: r33279
2008-07-23Reorder stuff a little bit, moving private String methods together: cleanupMax Horn
svn-id: r33248
2008-07-23Added convenience method String::makeUnique(); simplified ↵Max Horn
String::operator=(char c); extended String unit tests svn-id: r33246
2008-07-23Fix String::trim to work right for shared strings; augemented test cases to ↵Max Horn
cover this svn-id: r33234
2008-07-22Disable hashmemory pool for Symbian OSLars Persson
svn-id: r33212
2008-07-22Added String::trim() methodMax Horn
svn-id: r33203
2008-07-21Silence a warning which complains about using an uninitialized variable.Kari Salminen
svn-id: r33169
2008-07-20Fix for bug #1971499: ALL: config manager crashes when reading too long linesMax Horn
svn-id: r33140
2008-07-20New SeekableReadStream::readLine_NEW() method, closely modelled after fgets, ↵Max Horn
w/o the line length limitations of the old eekableReadStream::readLine() (which it will replace, after the feature freeze has been lifted) svn-id: r33139
2008-07-20Two new TODO/FIXME comments for class FileMax Horn
svn-id: r33138
2008-07-20Fixed potential issue in Common::String when asserting a substring of a ↵Max Horn
string X back to X (memcpy -> memmove); also added some other sanity checks, and merged some duplicate code into a new method String::initWithCStr svn-id: r33137
2008-06-28Patch ##1956946 (Audio::Mixer internal API revision) with some tweaksMax Horn
svn-id: r32828
2008-06-28Removed OSystem::getFilesystemFactory() default implentation, as announcedMax Horn
svn-id: r32824
2008-06-22Turned off overzealous warning 4800 - "forcing value to bool 'true' or ↵Filippos Karapetis
'false' (performance warning)" svn-id: r32759
2008-06-11No need to specify CaseSensitiveString_Hash explicitly anymoreMax Horn
svn-id: r32663
2008-06-10Re-enabled default Hash<String> templateMax Horn
svn-id: r32656