aria2/m4
Tatsuhiro Tsujikawa e85f9ccfd6 2007-08-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
MessageDigestHelper is introduced in order to simplify the use
	of message digest. Removed repeated code.
	The message digest algorithm is now specified by string, like 
"sha1",
	"md5".
	* src/messageDigest.{h, cc}
	* src/MessageDigestHelper.{h, cc}: New class.
	* src/DefaultPieceStorage.cc
	* src/DefaultBtContext.{h, cc}
	(computeFastSet): New function.
	(setInfoHash): Added for unit testing.
	(setNumPieces): Added for unit testing.
	* src/DefaultBtInteractive.cc
	* src/BtPieceMessage.cc
	* src/Peer.cc
	* src/Checksum.h
	* src/message.h
	* src/IteratableChecksumValidator.h
	* src/ChunkChecksumValidator.{h, cc}: Use 
IteratableChecksumValidator
	inside it.
	* src/SegmentMan.{h, cc}
	(checkIntegrity): Removed.
	* src/IteratableChunkChecksumValidator.{h, cc}
	* src/Util.h
	(sha1Sum): Removed.
	(simpleMessageDigest): Removed.
	(fileChecksum): Removed.
	(computeFastSet): Removed.
	* src/ShaVisitor.cc
	* src/ChunkChecksum.h
	* src/DownloadCommand.cc

	Removed messageDigest virtual functions.
	* src/MultiDiskAdaptor.{h, cc}
	* src/DiskAdaptor.h
	* src/ByteArrayDiskWriter.h
	* src/DiskWriter.h
	* src/DiskAdaptorWriter.h
	* src/AbstractSingleDiskAdaptor.{h, cc}
	* src/AbstractDiskWriter.{h, cc}
	
	Fixed comilation error when message digest is disabled.
	* src/MetalinkEntry.{h, cc}
	* src/MetalinkRequestInfo.cc
	
	Removed srandom and random.
	* src/SimpleRandomizer.h

	Added size() virtual function to DiskAdaptor
	* src/MultiDiskAdaptor.h

	Fixed the bug that causes that files are not opened correctly in
	multi-file torrent.
	* src/TorrentRequestInfo.cc
	* src/MultiDiskAdaptor.cc
	
	Added SHA256 support
	* src/messageDigest.cc
	* src/Xml2MetalinkProcessor.cc

	Show supported message digest algorithms
	* src/main.cc

	Updated contact info.
	* src/main.cc
2007-08-08 14:40:11 +00:00
..
ChangeLog * DownloadEngine.{h, cc}: 2006-03-02 10:43:00 +00:00
codeset.m4 * DownloadEngine.{h, cc}: 2006-03-02 10:43:00 +00:00
gettext.m4 * DownloadEngine.{h, cc}: 2006-03-02 10:43:00 +00:00
glibc21.m4 * DownloadEngine.{h, cc}: 2006-03-02 10:43:00 +00:00
iconv.m4 * DownloadEngine.{h, cc}: 2006-03-02 10:43:00 +00:00
intdiv0.m4 * DownloadEngine.{h, cc}: 2006-03-02 10:43:00 +00:00
inttypes_h.m4 * DownloadEngine.{h, cc}: 2006-03-02 10:43:00 +00:00
inttypes-pri.m4 * DownloadEngine.{h, cc}: 2006-03-02 10:43:00 +00:00
inttypes.m4 * DownloadEngine.{h, cc}: 2006-03-02 10:43:00 +00:00
isc-posix.m4 * DownloadEngine.{h, cc}: 2006-03-02 10:43:00 +00:00
lcmessage.m4 * DownloadEngine.{h, cc}: 2006-03-02 10:43:00 +00:00
lib-ld.m4 * DownloadEngine.{h, cc}: 2006-03-02 10:43:00 +00:00
lib-link.m4 * DownloadEngine.{h, cc}: 2006-03-02 10:43:00 +00:00
lib-prefix.m4 * DownloadEngine.{h, cc}: 2006-03-02 10:43:00 +00:00
libares.m4 2006-08-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2006-08-14 15:03:38 +00:00
libcares.m4 Added m4/libcares.m4 2006-08-21 13:54:15 +00:00
Makefile.am * DownloadEngine.{h, cc}: 2006-03-02 10:43:00 +00:00
Makefile.in 2007-08-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-07-31 16:45:16 +00:00
nls.m4 * DownloadEngine.{h, cc}: 2006-03-02 10:43:00 +00:00
openssl.m4 2007-08-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-08-08 14:40:11 +00:00
po.m4 * DownloadEngine.{h, cc}: 2006-03-02 10:43:00 +00:00
progtest.m4 * DownloadEngine.{h, cc}: 2006-03-02 10:43:00 +00:00
stdint_h.m4 * DownloadEngine.{h, cc}: 2006-03-02 10:43:00 +00:00
uintmax_t.m4 * DownloadEngine.{h, cc}: 2006-03-02 10:43:00 +00:00
ulonglong.m4 * DownloadEngine.{h, cc}: 2006-03-02 10:43:00 +00:00