Tatsuhiro Tsujikawa
4f96c37ade
Updated for 1.5.0 beta release
2009-07-05 14:48:47 +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
Tatsuhiro Tsujikawa
3a655a5d1a
2009-07-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Add formerly fastest PeerStat's sessionDownloadLength to new
fastest PeerStat and use _fastestPeerStats to calcuate downloaded
bytes in a session.
* src/PeerStat.cc
* src/SegmentMan.cc
2009-07-04 13:10:40 +00:00
Tatsuhiro Tsujikawa
2a2c8c5da0
2009-07-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
If pipelining is enabled, we can always pool socket.
* src/HttpDownloadCommand.cc
2009-07-04 10:22:44 +00:00
Tatsuhiro Tsujikawa
1052600862
2009-07-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
In a single file download, file size becomes known just after
downloading, set total length to FileEntry object when download
completed.
* src/DownloadCommand.cc
2009-07-03 16:13:43 +00:00
Tatsuhiro Tsujikawa
e1d63f3aea
2009-07-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Use std::vector::reserve() for fileEntries and pieceHashes in
bittorrent_helper
* src/bittorrent_helper.cc
2009-07-03 15:53:37 +00:00
Tatsuhiro Tsujikawa
e45a0e7e5f
2009-07-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed calls to Request::resetUrl() in AbstractCommand.cc.
Removed hidden option PREF_RESET_URI.
* src/AbstractCommand.cc
* src/OptionHandlerFactory.cc
* src/prefs.cc
* src/prefs.h
2009-07-03 15:38:29 +00:00
Tatsuhiro Tsujikawa
b46cf94601
2009-07-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed unused variable/function.
* src/PeerStat.h
2009-07-03 14:36:05 +00:00
Tatsuhiro Tsujikawa
e72c67a7ec
2009-07-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Show first URL in Download Results if file path is not available.
* src/FileEntry.h
2009-07-03 14:33:16 +00:00
Tatsuhiro Tsujikawa
130f830091
2009-07-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Throw exception if file path doesn't exist in FTP URL.
* src/InitiateConnectionCommandFactory.cc
2009-07-03 14:14:08 +00:00
Tatsuhiro Tsujikawa
63735eab8e
2009-07-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Refactored BitfieldMan::getSparseMissingUnusedIndex()
* src/BitfieldMan.cc
2009-07-02 16:44:31 +00:00
Tatsuhiro Tsujikawa
ffaeb271f9
2009-07-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Rewritten PeerStats handling in SegmentMan.cc. Now we have 2 list
of PeerStat in SegmentMan. peerStats is used for calculating
download speed. Therefore all active PeerStats should be in
there. Another one is _fastestPeerStats and it only contains
fastest PeerStat for each hostname/protocol pair. They are used
for updating ServerStat.
* src/DownloadCommand.cc
* src/Request.h
* src/RequestGroupMan.cc
* src/SegmentMan.cc
* src/SegmentMan.h
* test/SegmentManTest.cc
2009-07-02 16:26:04 +00:00
Tatsuhiro Tsujikawa
01fdb2aaeb
2009-07-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Try all available addresses returned by DNS until it gets
connected in HTTP(S)/FTP download
* src/AbstractCommand.cc
* src/AbstractCommand.h
* src/AbstractProxyRequestCommand.cc
* src/AbstractProxyRequestCommand.h
* src/DNSCache.h
* src/DownloadEngine.cc
* src/DownloadEngine.h
* src/FtpInitiateConnectionCommand.cc
* src/FtpInitiateConnectionCommand.h
* src/FtpNegotiationCommand.cc
* src/FtpNegotiationCommand.h
* src/HttpInitiateConnectionCommand.cc
* src/HttpInitiateConnectionCommand.h
* src/HttpRequestCommand.cc
* src/HttpRequestCommand.h
* src/InitiateConnectionCommand.cc
* src/InitiateConnectionCommand.h
* test/DNSCacheTest.cc
* test/Makefile.am
* test/SimpleDNSCacheTest.cc
2009-07-02 15:18:13 +00:00
Tatsuhiro Tsujikawa
8796993c71
2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated doc
* src/download_helper.cc
2009-07-01 14:54:42 +00:00
Tatsuhiro Tsujikawa
cf294a4162
2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Refactored fieldMan ctor.
* src/BitfieldMan.cc
* src/BitfieldMan.h
2009-07-01 14:52:02 +00:00
Tatsuhiro Tsujikawa
ebf8ff90d5
2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Don't print "No files to download." message if -S is given.
* src/main.cc
2009-07-01 14:40:42 +00:00
Tatsuhiro Tsujikawa
47309df04d
2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Set referer and method to newly created Request object.
* src/CreateRequestCommand.cc
* src/FileEntry.cc
* src/FileEntry.h
2009-07-01 14:11:04 +00:00
Tatsuhiro Tsujikawa
1812142da5
2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed ctor of AbstractCommand which doesn't take FileEntry.
* src/AbstractCommand.cc
* src/AbstractCommand.h
* src/CreateRequestCommand.cc
2009-07-01 13:48:10 +00:00
Tatsuhiro Tsujikawa
e6a7c952d1
2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Get proxy download working
* src/AbstractProxyRequestCommand.cc
* src/AbstractProxyRequestCommand.h
* src/AbstractProxyResponseCommand.cc
* src/AbstractProxyResponseCommand.h
* src/FtpInitiateConnectionCommand.cc
* src/FtpTunnelRequestCommand.cc
* src/FtpTunnelRequestCommand.h
* src/FtpTunnelResponseCommand.cc
* src/FtpTunnelResponseCommand.h
* src/HttpInitiateConnectionCommand.cc
* src/HttpProxyRequestCommand.cc
* src/HttpProxyRequestCommand.h
* src/HttpProxyResponseCommand.cc
* src/HttpProxyResponseCommand.h
2009-07-01 13:45:28 +00:00
Tatsuhiro Tsujikawa
c3934add2e
2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Use SegmentMan::getSegment(cuid) for single file download.
* src/AbstractCommand.cc
2009-07-01 13:26:58 +00:00
Tatsuhiro Tsujikawa
5562636c99
2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed bufSize calculation
* src/DownloadCommand.cc
2009-07-01 13:23:22 +00:00
Tatsuhiro Tsujikawa
30b65f79e7
2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Don't append "/" if base URI ends with "/".
* src/bittorrent_helper.cc
* test/url-list-multiFile.torrent
2009-06-30 17:20:34 +00:00