aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
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
2008-06-10Removed unneeded #includeMax Horn
svn-id: r32654
2008-06-08Don't attempt to close the arj file if it hasn't been openedFilippos Karapetis
svn-id: r32608
2008-06-04Patch #1971285: "Nintendo Wii port"Eugene Sandulenko
svn-id: r32547
2008-06-04- Removed -Wconversion from compiler options for g++ 4.3, it's behavior has ↵Johannes Schickel
fundamently changed in g++ 4.3 - Added -Wno-empty-body and -Wno-parentheses as compiler flags for g++ 4.3 for *now* (we should think of removing -Wparentheses though) - Fixed some warnings for g++ 4.3 (only for the engines I'm using) svn-id: r32540
2008-06-02Implement ADGF_KEEPMATCHEugene Sandulenko
svn-id: r32497
2008-06-02Plug memory leakEugene Sandulenko
svn-id: r32496
2008-06-01Fix for crash that occurs in the unarj's fallback code - _uncompressedData ↵Filippos Karapetis
is not allocated when ARJ files have not been opened svn-id: r32480
2008-06-01Implement file fallback for archivesEugene Sandulenko
svn-id: r32476
2008-06-01Fixed MSVC warningsFilippos Karapetis
svn-id: r32474
2008-06-01Speed up decoding by memory cachingEugene Sandulenko
svn-id: r32472
2008-06-01Unarj code based on unarj 2.62. Used by Drascula engineEugene Sandulenko
svn-id: r32460