aria2/m4
Tatsuhiro Tsujikawa 78eff23254 2006-07-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
To add Metalink support(http/ftp only):

	* src/AbstractCommand.h
	(tryReserved): New function.
	* src/AbstractCommand.cc
	(execute): Call tryReserved().
	(tryReserved): New function.
	* src/Request.h
	(Requests): New type definition.
	* src/SegmentMan.h
	(reserved): New variable.
	* src/Util.h
	(fileChecksum): New function.
	(toUpper): New function.
	(toLower): New function.
	* src/Util.cc
	(messageDigest.h): Included.
	(trim): Trim \r\n\t.
	(fileChecksum): New function.
	(toUpper): New function.
	(toLower): New function.
	* src/main.cc
	(normalDownload): New function.
	(main): Added 2 command-line options: metalink-file,
	metalink-connection. Their usage has not been written yet.
	* src/MetalinkProcessor.h: New class.
	* src/Xml2MetalinkProcessor.h: New class.
	* src/Xml2MetalinkProcessor.cc: New class.
	* src/MetalinkEntry.h: New class.
	* src/MetalinkEntry.cc: New class.
	* src/MetalinkResource.h: New class.
	* src/MetalinkResource.cc: New class.
	
	To add md5 message digest checking:

	* src/messageDigest.h: Rewritten.
	* src/MultiDiskWriter.cc: Updated according to the changes in
	messageDigest.h.
	* src/ShaVisitor.cc: Updated according to the changes in
	messageDigest.h.
	* src/Util.cc: Updated according to the changes in 
messageDigest.h.
	* src/AbstractDiskWriter.cc: Updated according to the changes in
	messageDigest.h.
	
	To fix a bug that causes segfault when the payload length in 
peer
	message is less than 0:

	* src/PeerConnection.cc:
	(receiveMessage): Fixed the bug.
	* src/PeerMessageUtil.cc
	(checkLength): Throw an exception if length is less than or 
equals to
	0.
	
	To add new interfaces to Base64 encoding/decoding:

	* src/Base64.h
	(part_encode): Changed the method signature.
	(encode): New function(overload).
	(decode): New function(overload).
	* src/Base64.cc
	(part_encode): Rewritten.
	(encode): Rewritten.
	(encode): New function(overload).

	To prevent a peer to download same piece if there is an error in
	checksum:

	* src/PieceMessage.cc
	(receivedAction): Call peerInteraction->abortPiece().
2006-07-03 14:19:23 +00:00
..
ChangeLog * DownloadEngine.{h, cc}: 2006-03-02 10:43:00 +00:00
Makefile.am * DownloadEngine.{h, cc}: 2006-03-02 10:43:00 +00:00
Makefile.in 2006-07-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2006-07-03 14:19:23 +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-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
inttypes_h.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
nls.m4 * DownloadEngine.{h, cc}: 2006-03-02 10:43:00 +00:00
openssl.m4 2006-04-20 16:52:31 +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