aboutsummaryrefslogtreecommitdiff
path: root/common/md5.cpp
AgeCommit message (Collapse)Author
2010-11-07COMMON: Rename and tweak MD5 functionsMax Horn
* names now comply to our naming conventions * the function computeStreamMD5AsString which computes the MD5 as a hex string now returns it as a Common::String * add doxygen comments svn-id: r54121
2009-11-23COMMON: Remove various variants of the md5_file / md5_file_string funcs; ↵Max Horn
turned the (disabled) MD5 test code into a working unit test svn-id: r46108
2009-01-23Renamed FSNode::openForReading / openForWriting to createReadStream / ↵Max Horn
createWriteStream, again to make ownership of the returned stream clear svn-id: r36014
2008-12-22Fixed indentation and removed whitespaces at the end of lineJordi Vilalta Prat
svn-id: r35481
2008-10-02Renamed FilesystemNode -> FSNodeMax Horn
svn-id: r34716
2008-09-07Changed md5_file(FSNode) to use FSNode::openForReadingMax Horn
svn-id: r34437
2008-09-03Moved FilesystemNode / FSList to namespace Common; also got rid of some ↵Max Horn
'typedef Common::String String;' name aliases svn-id: r34302
2008-01-27Removed trailing spaces.Jordi Vilalta Prat
svn-id: r30664
2007-09-18Code formatting fixesMax Horn
svn-id: r28945
2007-06-16Removed the isValid operation from the FilesystemNode class in favor of the ↵David Corrales
much richer combinations possible with the new operations (exists, isReadable and isWritable). The work on the Common::File class is far from complete. Only the necessary was updated. svn-id: r27473
2007-06-05Renamed methods in the FilesystemNode class to match the AbstractFSNode ↵David Corrales
implementations. Also exposed the new methods (exists, isReadable and isWritable) in FilesystemNode. svn-id: r27113
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-05-27Paranoia changes (shouldn't have any real effect, though...)Max Horn
svn-id: r26972
2007-03-09Removing some unnecessary #includesMax Horn
svn-id: r26044
2007-02-14Extended MD5 API a bit: added a variant of md5_file which takes an arbitrary ↵Max Horn
ReadStream; and added md5_file_string methods which directly produce a human readable md5 string (instead of a binary digest) svn-id: r25592
2006-07-22Added some warnings if md5_file is used on an illegal FilesystemNode.Johannes Schickel
svn-id: r23568
2006-07-22Return false for directories on md5_file with a FSNode as param.Johannes Schickel
svn-id: r23560
2006-07-22- let md5_file accept a FilesystemNode too Johannes Schickel
- changes some engine detectors to use it svn-id: r23559
2006-04-30Avoid 'unused variable' warning when using DISABLE_MD5Max Horn
svn-id: r22250
2006-04-23Small tweak to allow turning off MD5 computation for debuggingMax Horn
svn-id: r22109
2006-04-16Removed the directory parameter from md5_fileMax Horn
svn-id: r21937
2006-03-29Do not #include endian.h in scummsys.h (cuts down deps on endian.h from ~400 ↵Max Horn
to ~250). Many greetings to eriktorbjorn, and have fun recompiling. svn-id: r21500
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20510
2006-01-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604
2005-05-15Indentation and whitespace.Torbjörn Andersson
svn-id: r18107
2005-05-10Moved class File and the MD5 stuff to namespace CommonMax Horn
svn-id: r18037
2005-05-08Comply to our coding conventionsMax Horn
svn-id: r17975
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-12-22Now it is possible to count MD5 only for specified amount of bytes from file.Eugene Sandulenko
It is useful for MD5'ing hunge files. svn-id: r16259
2004-06-29Make md5_file() work regardless file name case and within arbitraryEugene Sandulenko
directory. svn-id: r14123
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2003-12-13removed GameSettings::detectname and GameSettings::midi; renamed ↵Max Horn
GameSettings::gameName to name; added temporary experimental MD5 hack svn-id: r11603
2003-12-13added MD5 code to CVSMax Horn
svn-id: r11602