Commit Graph

1474 Commits (a4c7c6ae022098cb3db8b80d772264bab580d845)

Author SHA1 Message Date
Tatsuhiro Tsujikawa a4c7c6ae02 2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated doc.
	* src/AbstractCommand.cc
2009-07-15 11:58:27 +00:00
Tatsuhiro Tsujikawa 08fb20d076 2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Handle the case when DownloadContext has no FileEntry.
	* src/XmlRpcMethodImpl.cc
2009-07-15 11:57:20 +00:00
Tatsuhiro Tsujikawa 55a35ad2a2 2009-07-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Handle the situation where struct option.name is char *.
	* configure.ac
	* src/OptionParser.cc
2009-07-14 13:22:26 +00:00
Tatsuhiro Tsujikawa 8eee188999 2009-07-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Code cleanup
	* src/AbstractCommand.cc
	* src/DownloadCommand.cc
2009-07-14 13:11:13 +00:00
Tatsuhiro Tsujikawa 682bafae0a 2009-07-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Use option of each download to create AuthConfig instead of global
	option.	
	* src/AuthConfigFactory.cc
	* src/AuthConfigFactory.h
	* src/FtpNegotiationCommand.cc
	* src/HttpRequest.cc
	* src/HttpRequest.h
	* src/HttpRequestCommand.cc
	* src/HttpSkipResponseCommand.cc
	* src/MultiUrlRequestInfo.cc
	* test/AuthConfigFactoryTest.cc
	* test/FtpConnectionTest.cc
	* test/HttpRequestTest.cc
2009-07-14 12:37:34 +00:00
Tatsuhiro Tsujikawa 894641dfdb 2009-07-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Don't call prepareForRetry(1) if all segments are ignored in
	SegmentMan.
	* src/AbstractCommand.cc
	* src/BitfieldMan.cc
	* src/BitfieldMan.h
	* src/SegmentMan.cc
	* src/SegmentMan.h
2009-07-13 15:02:32 +00:00
Tatsuhiro Tsujikawa 19913203b7 2009-07-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed FileEntry::getAssociatedUris()
	* src/FileEntry.h
2009-07-11 16:00:50 +00:00
Tatsuhiro Tsujikawa 8661bc049a 2009-07-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated doc: TODO1.5 -> TODO
	* src/FileEntry.cc
	* src/HttpResponseCommand.cc
2009-07-11 15:57:06 +00:00
Tatsuhiro Tsujikawa eafa19748e 2009-07-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added assertion fileEntries.size() == 1 if BitTorrent is not
	involved.
	* src/RequestGroup.cc
2009-07-11 15:50:21 +00:00
Tatsuhiro Tsujikawa 67a23f615a 2009-07-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Eliminated duplicated filterBitfield initialization code.
	* src/BitfieldMan.cc
	* src/BitfieldMan.h
2009-07-11 10:34:08 +00:00
Tatsuhiro Tsujikawa b29fbb9af5 2009-07-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added assert(!req.isNull()) when DlRetryEx is caught(this is
	relatively naive approach, though).  For DownloadFailureException,
	we handle the case when req is null properly.
	* src/AbstractCommand.cc
2009-07-11 10:25:45 +00:00
Tatsuhiro Tsujikawa d99ec1534f 2009-07-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added function returning suffix of control file to
	DefaultBtProgressInfoFile.
	* src/DefaultBtProgressInfoFile.cc
	* src/DefaultBtProgressInfoFile.h
	* src/RequestGroup.cc
2009-07-11 10:19:10 +00:00
Tatsuhiro Tsujikawa c0c12cdd81 2009-07-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Documented getVersion in man page.
	* doc/aria2c.1.txt
2009-07-10 16:10:26 +00:00
Tatsuhiro Tsujikawa e651cf6084 2009-07-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Documented type of offset and num for tellWaiting xml-rpc method.
	* doc/aria2c.1.txt
2009-07-10 15:58:37 +00:00
Tatsuhiro Tsujikawa d6a8fa5b10 2009-07-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Implemented getVersion xml-rpc method. This method returns struct
	which has 2 key-value pairs: "version" key is associated to the
	version of aria2, such as "1.5.0". "enabledFeatures" key is
	associated to the list of enabled features, such as "Async DNS",
	"BitTorrent".
	* src/FeatureConfig.h
	* src/XmlRpcMethodFactory.cc
	* src/XmlRpcMethodImpl.cc
	* src/XmlRpcMethodImpl.h
	* test/XmlRpcMethodTest.cc
2009-07-10 15:55:42 +00:00
Tatsuhiro Tsujikawa 53d2a64cc5 2009-07-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed TLS1.1 protocol support when aria2 is built with gnutls
	for compatibility issue.
	* src/SocketCore.cc
2009-07-08 15:38:40 +00:00
Tatsuhiro Tsujikawa 96113c0745 2009-07-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed compile error with openSSL
	* src/bittorrent_helper.cc
	* src/messageDigest.h
2009-07-08 15:12:40 +00:00
Tatsuhiro Tsujikawa 2fe11c1343 2009-07-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed bad code: setting certificate type priority to key
	exchange priority.
	* src/SocketCore.cc
2009-07-07 15:01:55 +00:00
Tatsuhiro Tsujikawa 5f966f6327 2009-07-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Disconnect seeder if client is also in seed state.
	* src/BtBitfieldMessage.cc
	* src/BtHaveAllMessage.cc
	* src/BtHaveMessage.cc
	* src/message.h
	* test/BtBitfieldMessageTest.cc
	* test/BtHaveAllMessageTest.cc
	* test/BtHaveMessageTest.cc
	* test/MockPieceStorage.h
2009-07-06 15:22:06 +00:00
Tatsuhiro Tsujikawa db84b1b652 2009-07-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Keep CreateRequestCommand in queue when no segment is available so
	that they can pick up pieces which slow BitTorrent peers are
	downloading.
	* src/AbstractCommand.cc
	* src/CreateRequestCommand.cc
	* src/CreateRequestCommand.h
2009-07-06 14:35:42 +00:00
Tatsuhiro Tsujikawa 69c3dfded4 2009-07-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
--bt-stop-timeout now only checks download speed.
	* src/BtStopDownloadCommand.cc
	* src/BtStopDownloadCommand.h
	* src/BtSetup.cc
	* src/usage_text.h
	* doc/aria2c.1.txt
2009-07-06 13:36:16 +00:00
Tatsuhiro Tsujikawa a94215654d 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed compile error regarding BUFSIZE.
	* src/DownloadCommand.cc
	* src/DownloadCommand.h
2009-07-05 09:52:15 +00:00
Tatsuhiro Tsujikawa 4595e0262d 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Documented tellWaiting xml-rpc method in man page.
	* doc/aria2c.1.txt
2009-07-05 09:32:51 +00:00
Tatsuhiro Tsujikawa 0fdbf1b09c 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Bump up version number to 1.5.0
	* configure.ac
2009-07-05 09:20:18 +00:00
Tatsuhiro Tsujikawa d28a3081f3 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed resolved TODO1.5
	* src/AbstractCommand.cc
	* src/DownloadCommand.cc
	* src/RequestGroup.cc
2009-07-05 09:15:33 +00:00
Tatsuhiro Tsujikawa e40d6b7c0f 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Release pooled and in-flight Request objectsand URIResult objects
	in FileEntry after download completed.
	* src/DownloadContext.cc
	* src/DownloadContext.h
	* src/FileEntry.cc
	* src/FileEntry.h
	* src/RequestGroup.cc
2009-07-05 09:10:08 +00:00
Tatsuhiro Tsujikawa f0edf98651 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Set manual and source attribute in aria2c.1.txt
	* doc/aria2c.1.txt
2009-07-05 05:57:09 +00:00
Tatsuhiro Tsujikawa 990928b518 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Documented that the default value of --use-head is 'false' in man
	page.
	* doc/aria2c.1.txt
2009-07-05 05:44:45 +00:00
Tatsuhiro Tsujikawa 3354f9d2d1 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added bt-stop-timeout option to -i list.
	* doc/aria2c.1.txt
	* src/download_helper.cc
2009-07-05 05:42:36 +00:00
Tatsuhiro Tsujikawa faa4668bbb 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed typo
	* doc/aria2c.1.txt
	* src/usage_text.h
2009-07-05 05:40:26 +00:00
Tatsuhiro Tsujikawa 6388bb52fb 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed peer-id-prefix option from -i list.
	* doc/aria2c.1.txt
	* src/download_helper.cc
2009-07-05 05:37:06 +00:00
Tatsuhiro Tsujikawa e0d6a8a5fd Fixed previous comment 2009-07-05 05:36:21 +00:00
Tatsuhiro Tsujikawa dd3a3434be 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed typo
	* doc/aria2.1.txt
	* src/usage_text.h
2009-07-05 05:34:29 +00:00
Tatsuhiro Tsujikawa 5c0380b073 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Documented --bt-stop-timeout option in man page.
	* doc/aria2c.1.txt
2009-07-05 05:30:47 +00:00
Tatsuhiro Tsujikawa e90a260c16 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated README regarding multi-file torrent web-seeding.
	* doc/README.txt
2009-07-05 05:25:48 +00:00
Tatsuhiro Tsujikawa 86fce3e67a 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated man page regarding multi-file torrent web-seeding.
	* doc/aria2c.1.txt
2009-07-05 05:20:23 +00:00
Tatsuhiro Tsujikawa f58c2e33bb 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated doc
	* src/version_usage.cc
2009-07-05 05:17:19 +00:00
Tatsuhiro Tsujikawa 276d77ee9d 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Winsock select() doesn't work if no socket is in FD_SET.  To
	overcome this problem, a dummy socket is added to FD_SET and it is
	given to select().
	* src/SelectEventPoll.cc
	* src/SelectEventPoll.h
2009-07-05 03:46:07 +00:00
Tatsuhiro Tsujikawa 9e3fb89077 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Disabled --use-head option by default because --use-head=true
	causes problems on some web sites.	
	* src/OptionHandlerFactory.cc
2009-07-05 03:39:10 +00:00
Tatsuhiro Tsujikawa 5da696fb29 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Print URL List in -S option for torrent.
	* src/bittorrent_helper.cc
	* src/bittorrent_helper.h
2009-07-05 03:37:07 +00:00
Tatsuhiro Tsujikawa 9263894689 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Allocate buffer in ctor of DownloadCommand.
	* src/DownloadCommand.cc
	* src/DownloadCommand.h
2009-07-05 03:24:31 +00:00
Tatsuhiro Tsujikawa 6bd4447d23 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed DiskAdaptor::onDownloadComplete()
	* src/DirectDiskAdaptor.cc
	* src/DirectDiskAdaptor.h
	* src/DiskAdaptor.h
	* src/MultiDiskAdaptor.cc
	* src/MultiDiskAdaptor.h
2009-07-05 03:17:55 +00:00
Tatsuhiro Tsujikawa 25c1bc5bb0 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Committed missing BtStopDownloadCommand.{cc,h}
	* src/BtStopDownloadCommand.cc
	* src/BtStopDownloadCommand.h
2009-07-05 03:17:04 +00:00
Tatsuhiro Tsujikawa b2f0577225 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added --bt-stop-timeout=SEC option. This function stops BitTorrent
	download if the download speed is 0 and the number of seeder is 0
	in consecutive SEC seconds. By default, this function is disabled.
	* src/BtSetup.cc
	* src/Makefile.am
	* src/OptionHandlerFactory.cc
	* src/prefs.cc
	* src/prefs.h
	* src/usage_text.h
2009-07-05 03:11:51 +00:00
Tatsuhiro Tsujikawa 051052e9e2 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed the call to DiskAdaptor::onDownloadComplete() from
	BtCheckIntegrityEntry and DefaultPieceStorage.
	* src/BtCheckIntegrityEntry.cc
	* src/DefaultPieceStorage.cc
2009-07-05 03:08:18 +00:00
Tatsuhiro Tsujikawa cafd23a068 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Commented out throw statements when number of piece is 0 to
	download 0 length torrent.
	* src/bittorrent_helper.cc
2009-07-04 15:39:20 +00:00
Tatsuhiro Tsujikawa 24d258cf66 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Call RequestGroup::createNextCommandWithAdj() from
	BtFileAllocationEntry if at least one FileEntry has URI.  The
	static function hasAssociatedUri in RequestGroup.cc is renamed as
	isUriSuppliedForRequsetFileEntry() and placed in FileEntry.h.
	* src/BtFileAllocationEntry.cc
	* src/FileEntry.h
	* src/RequestGroup.cc
2009-07-04 15:26:00 +00:00
Tatsuhiro Tsujikawa f8fd518229 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Generate peer ID after SimpleRandomizer is initialized.
	* src/main.cc
	* src/option_processing.cc
2009-07-04 15:20:18 +00:00
Tatsuhiro Tsujikawa 3f3e9c0ff0 2009-07-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed unused method argument.
	* src/CreateRequestCommand.cc
	* src/RequestGroup.cc
	* src/RequestGroup.h
	* src/RequestGroupMan.cc
	* src/TrackerWatcherCommand.cc
2009-07-04 14:32:53 +00:00
Tatsuhiro Tsujikawa a7c222b8ab 2009-07-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Made URI reusing function work.
	* src/CreateRequestCommand.cc
	* src/FileEntry.cc
	* src/FileEntry.h
	* test/FileEntryTest.cc
2009-07-04 13:36:56 +00:00