aria2/test
Tatsuhiro Tsujikawa d5bb035642 2007-06-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
* src/AbstractCommand.cc
	(execute): Changed log level of MSG_RESTARTING_DOWNLOAD and
	MSG_MAX_TRY from error to info.
	Added MSG_DOWNLOAD_ABORTED after MSG_MAX_TRY.

	* src/message.h
	(MSG_TORRENT_DOWNLOAD_ABORTED): New definition.
	(MSG_DOWNLOAD_ABORTED): Added %s.
	(MSG_RESTARTING_DOWNLOAD): Added %s.
	(MSG_DOWNLOAD_ALREADY_COMPLETED): Updated.
	
	* src/PeerAbstractCommand.cc
	(execute): MSG_DOWNLOAD_ABORTED -> MSG_TORRENT_DOWNLOAD_ABORTED
	
	* src/Request.h
	(cookieBox): Made ShardHandle.
	
	* src/RequestGroup.h, src/RequestGroup.cc
	(createNextCommandWithAdj): New function.
	* src/FileAllocationCommand.cc
	(executeInternal): Use createNextCommandWithAdj().
	* src/CheckIntegrityCommand.cc
	(executeInternal): Use createNextCommandWithAdj().

	Added --load-cookies command-option.
	* src/OptionHandlerFactory.cc
	(createOptionHandlers): Added PREF_LOAD_COOKIES.
	* src/CookieBox.h, src/CookieBox.cc: Rwritten using CookieParser.
	Now aria2 can handle cookie's expiration date.
	* src/Cookie.h (expires): Changed its type to time_t.
	* src/main.cc: Added --load-cookies command-line option.
	* src/prefs.h (PREF_LOAD_COOKIES): New definition.
	* src/Util.h, src/Util.cc (httpGMT): New function.
	* src/Request.cc (Request): Initialize cookieBox using
	CookieBoxFactory.
	* src/CookieBoxFactory.h, src/CookieBoxFactory.cc: New class.
	* src/CookieParser.h, src/CookieParser.cc: New class.
	
	* src/main.cc: Chagned the default value of --metalink-servers to 5.

	* src/HttpResponseCommand.cc
	(handleOtherEncoding): Call RequestGroup::shouldCancelDownloadForSafety
2007-06-10 07:55:43 +00:00
..
4096chunk.txt Initial import 2006-02-17 13:35:04 +00:00
AllTest.cc 2007-06-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-06-10 07:55:43 +00:00
AnnounceListTest.cc 2006-11-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2006-11-05 15:04:17 +00:00
Base64Test.cc 2006-07-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2006-07-03 14:19:23 +00:00
BitfieldManTest.cc 2007-03-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-03-24 14:32:49 +00:00
BtAllowedFastMessageTest.cc 2007-01-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-01-28 14:18:35 +00:00
BtBitfieldMessageTest.cc 2007-01-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-01-28 14:18:35 +00:00
BtCancelMessageTest.cc 2007-01-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-01-28 14:18:35 +00:00
BtChokeMessageTest.cc 2007-01-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-01-28 14:18:35 +00:00
BtHandshakeMessageTest.cc 2007-01-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-01-28 14:18:35 +00:00
BtHaveAllMessageTest.cc 2007-01-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-01-28 14:18:35 +00:00
BtHaveMessageTest.cc 2007-01-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-01-28 14:18:35 +00:00
BtHaveNoneMessageTest.cc 2007-01-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-01-28 14:18:35 +00:00
BtInterestedMessageTest.cc 2007-01-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-01-28 14:18:35 +00:00
BtKeepAliveMessageTest.cc 2007-01-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-01-28 14:18:35 +00:00
BtNotInterestedMessageTest.cc 2007-01-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-01-28 14:18:35 +00:00
BtPieceMessageTest.cc 2007-01-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-01-28 14:18:35 +00:00
BtPortMessageTest.cc 2007-01-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-01-28 14:18:35 +00:00
BtRegistryTest.cc 2006-12-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2006-12-24 06:25:21 +00:00
BtRejectMessageTest.cc 2007-01-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-01-28 14:18:35 +00:00
BtRequestMessageTest.cc 2007-01-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-01-28 14:18:35 +00:00
BtSuggestPieceMessageTest.cc 2007-01-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-01-28 14:18:35 +00:00
BtUnchokeMessageTest.cc 2007-01-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-01-28 14:18:35 +00:00
ByteArrayDiskWriterTest.cc 2007-06-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-06-09 10:06:53 +00:00
chunkChecksumTestFile250.txt 2007-01-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-01-24 15:55:34 +00:00
ChunkChecksumValidatorTest.cc 2007-01-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-01-24 15:55:34 +00:00
ChunkedEncodingTest.cc Initial import 2006-02-17 13:35:04 +00:00
ConsoleFileAllocationMonitorTest.cc 2007-01-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-01-28 14:18:35 +00:00
CookieBoxFactoryTest.cc 2007-06-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-06-10 07:55:43 +00:00
CookieBoxTest.cc 2007-06-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-06-10 07:55:43 +00:00
CookieParserTest.cc 2007-06-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-06-10 07:55:43 +00:00
cookietest.txt 2007-06-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-06-10 07:55:43 +00:00
DataTest.cc added bittorrent support(experimental) 2006-03-21 14:12:51 +00:00
DefaultAuthResolverTest.cc 2007-03-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-03-27 16:16:44 +00:00
DefaultBtAnnounceTest.cc 2006-11-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2006-11-05 15:04:17 +00:00
DefaultBtContextTest.cc 2006-12-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2006-12-24 06:25:21 +00:00
DefaultBtMessageDispatcherTest.cc 2007-01-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-01-28 14:18:35 +00:00
DefaultBtProgressInfoFileTest.cc 2006-11-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2006-11-05 15:04:17 +00:00
DefaultBtRequestFactoryTest.cc 2007-01-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-01-16 15:20:26 +00:00
DefaultDiskWriterTest.cc 2007-01-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-01-24 15:55:34 +00:00
DefaultPeerListProcessorTest.cc 2006-10-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2006-10-18 14:57:00 +00:00
DefaultPeerStorageTest.cc 2007-06-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-06-03 14:24:37 +00:00
DefaultPieceStorageTest.cc 2006-12-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2006-12-24 06:25:21 +00:00
DictionaryTest.cc added bittorrent support(experimental) 2006-03-21 14:12:51 +00:00
emptyfile 2007-03-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-03-15 15:07:18 +00:00
FeatureConfigTest.cc 2006-08-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2006-08-14 15:03:38 +00:00
file1r.txt 2006-04-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2006-04-12 13:55:43 +00:00
file2r.txt 2006-04-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2006-04-12 13:55:43 +00:00
file3r.txt 2006-04-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2006-04-12 13:55:43 +00:00
filelist1.txt Added for test 2007-06-05 14:46:23 +00:00
FileTest.cc 2006-11-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2006-11-05 15:04:17 +00:00
FixedNumberRandomizer.h 2006-12-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2006-12-24 06:25:21 +00:00
GlowFileAllocatorTest.cc 2007-03-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-03-24 14:32:49 +00:00
HttpHeaderTest.cc 2007-03-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-03-15 15:07:18 +00:00
HttpRequestTest.cc 2007-06-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-06-10 07:55:43 +00:00
HttpResponseTest.cc 2007-06-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-05-31 15:56:20 +00:00
IteratableChecksumValidatorTest.cc 2007-06-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-05-31 15:56:20 +00:00
IteratableChunkChecksumValidatorTest.cc 2007-06-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-05-31 15:56:20 +00:00
ListTest.cc added bittorrent support(experimental) 2006-03-21 14:12:51 +00:00
Makefile.am 2007-06-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-06-10 07:55:43 +00:00
Makefile.in 2007-06-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-06-10 07:55:43 +00:00
malformed.netrc 2007-03-19 Tatsuhiro Tsujikawa <tujikawa at valkyrie dot rednoah com> 2007-03-18 15:42:34 +00:00
MetaFileUtilTest.cc 2006-05-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2006-05-18 17:08:29 +00:00
MetalinkEntryTest.cc 2006-08-07 16:43:58 +00:00
MetalinkerTest.cc 2006-11-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2006-11-08 16:25:38 +00:00
MockBtAnnounce.h 2006-11-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2006-11-05 15:04:17 +00:00
MockBtContext.h 2007-01-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-01-28 14:18:35 +00:00
MockBtMessage.h 2007-01-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-01-28 14:18:35 +00:00
MockBtMessageDispatcher.h 2007-01-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-01-28 14:18:35 +00:00
MockBtMessageFactory.h 2007-01-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-01-28 14:18:35 +00:00
MockBtProgressInfoFile.h 2006-11-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2006-11-05 15:04:17 +00:00
MockBtRequestFactory.h 2007-01-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-01-28 14:18:35 +00:00
MockPeerStorage.h 2007-06-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-05-31 15:56:20 +00:00
MockPieceStorage.h 2007-01-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-01-28 14:18:35 +00:00
MultiDiskAdaptorTest.cc 2007-01-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-01-24 15:55:34 +00:00
MultiDiskWriterTest.cc 2007-01-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-01-24 15:55:34 +00:00
NetrcAuthResolverTest.cc 2007-03-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-03-27 16:16:44 +00:00
NetrcTest.cc 2007-03-19 Tatsuhiro Tsujikawa <tujikawa at valkyrie dot rednoah com> 2007-03-18 15:42:34 +00:00
nscookietest.txt 2007-06-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-06-10 07:55:43 +00:00
OptionHandlerTest.cc 2007-03-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-03-26 12:16:57 +00:00
OptionTest.cc 2006-08-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2006-08-28 12:40:41 +00:00
PeerMessageUtilTest.cc * src/SuggestPieceMessage.h: Removed. 2006-12-24 07:10:43 +00:00
PeerTest.cc 2006-12-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2006-12-24 06:25:21 +00:00
RequestFactoryTest.cc 2007-03-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-03-27 16:16:44 +00:00
RequestGroupManTest.cc 2007-06-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-06-03 14:24:37 +00:00
RequestTest.cc 2007-03-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-03-21 10:19:23 +00:00
RequestToString.cc Initial import 2006-02-17 13:35:04 +00:00
sample.netrc 2007-03-19 Tatsuhiro Tsujikawa <tujikawa at valkyrie dot rednoah com> 2007-03-18 15:42:34 +00:00
SegmentManTest.cc 2007-03-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-03-24 14:32:49 +00:00
SharedHandleTest.cc 2007-03-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-03-15 15:07:18 +00:00
ShareRatioSeedCriteriaTest.cc 2007-01-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-01-28 14:18:35 +00:00
ShaVisitorTest.cc 2006-11-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2006-11-05 15:04:17 +00:00
single.torrent 2006-11-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2006-11-05 15:04:17 +00:00
SingletonHolderTest.cc 2007-03-19 Tatsuhiro Tsujikawa <tujikawa at valkyrie dot rednoah com> 2007-03-18 15:42:34 +00:00
SpeedCalcTest.cc 2006-09-23 11:58:23 +00:00
test.torrent 2006-10-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2006-10-20 13:20:50 +00:00
test.xml 2007-01-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-01-28 14:18:35 +00:00
TimeSeedCriteriaTest.cc 2006-08-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2006-08-27 12:49:17 +00:00
TorrentManTest.cc 2006-04-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2006-04-06 12:52:16 +00:00
TrackerWatcherCommandTest.cc 2007-06-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-05-31 15:56:20 +00:00
UriFileListParserTest.cc 2007-06-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-05-31 15:56:20 +00:00
UtilTest.cc 2007-06-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-06-05 11:37:25 +00:00
Xml2MetalinkProcessorTest.cc 2007-06-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2007-05-31 15:56:20 +00:00