Tatsuhiro Tsujikawa
26e319df43
2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added getOption and getGlobalOption XML-RPC method. getOption
takes GID as a parameter and returns its options as struct.
getGlobalOption takes no parameter and returns global
options. Because global option is used as a template for the
option of newly added downloads, it includes options returned by
getOption.
* src/Option.h
* src/XmlRpcMethodFactory.cc
* src/XmlRpcMethodImpl.cc
* src/XmlRpcMethodImpl.h
2009-12-20 14:33:42 +00:00
Tatsuhiro Tsujikawa
e77e1ec24d
2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Sort _optionHandlers in OptionParser by name in ascending order.
Use vector instead of deque for efficiency.
* src/OptionHandler.h
* src/OptionHandlerFactory.h
* src/OptionParser.cc
* src/OptionParser.h
* src/version_usage.cc
* test/OptionParserTest.cc
2009-12-20 14:25:51 +00:00
Tatsuhiro Tsujikawa
6c6e7f2c51
2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Code cleanup
* src/XmlRpcMethod.cc
2009-12-20 14:17:32 +00:00
Tatsuhiro Tsujikawa
2ba1992905
2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Documented about followedBy and belongsTo in man page.
* doc/aria2c.1.txt
2009-12-20 09:52:05 +00:00
Tatsuhiro Tsujikawa
2952abf064
2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added following 2 keys, followedBy and belongsTo, to the response
of tellStatus.
followedBy: List of GIDs which are generated by the consequence of
this download. For example, when aria2 downloaded Metalink file,
it generates downloads described in it(see *--follow-metalink*
option). This value is useful to track these auto generated
downloads. If there is no such downloads, this key will not be
included in the response.
belongsTo: GID of a parent download. Some downloads are a part of
another download. For example, if a file in Metalink has
BitTorrent resource, the download of .torrent is a part of that
file. If this download has no parent, this key will not be
included in the response.
* src/BtPostDownloadHandler.cc
* src/DownloadResult.h
* src/Metalink2RequestGroup.cc
* src/MetalinkPostDownloadHandler.cc
* src/RequestGroup.cc
* src/RequestGroup.h
* src/UTMetadataPostDownloadHandler.cc
* src/XmlRpcMethodImpl.cc
* src/XmlRpcMethodImpl.h
2009-12-20 09:49:43 +00:00
Tatsuhiro Tsujikawa
7c12d43a42
2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Assigned BObject in BDE() to avoid segmentation fault when calling
methods of BDE::none().
* src/BDE.cc
2009-12-20 09:38:39 +00:00
Tatsuhiro Tsujikawa
0734dfa770
2009-12-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Show info hash in Magnet URI in upper case letters in -S output.
* src/bittorrent_helper.cc
* test/BittorrentHelperTest.cc
2009-12-18 06:32:14 +00:00
Tatsuhiro Tsujikawa
4171e7cadf
2009-12-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed old useless comment
* src/MultiUrlRequestInfo.cc
2009-12-18 06:30:42 +00:00
Tatsuhiro Tsujikawa
b19e292157
2009-12-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the bug that if --without-sqlite3 is given, pkg-config is
not properly used in configure script and failed to detect gnutls.
This is because explicit call of PKG_PROG_PKG_CONFIG is missing
and the initialization of pkg-config is done in first occurrence
of PKG_CHECK_MODULES which is not executed because it is inside of
sqlite3.m4. Added explicit PKG_PROG_PKG_CONFIG call.
* configure.ac
2009-12-16 12:04:40 +00:00
Tatsuhiro Tsujikawa
3896c470fb
2009-12-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Release 1.7.2
2009-12-13 09:23:51 +00:00
Tatsuhiro Tsujikawa
f0be54f83f
Updated for 1.7.2 release
2009-12-13 07:49:21 +00:00
Tatsuhiro Tsujikawa
15c5d12737
2009-12-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the bug that RequestGroupMan::downloadFinished() returns
true even if all downloads haven't finished, especially when
PostDownloadHandler is involved. Changed the condition so that it
only returns true if both _requestGroups and _reservedGroups are
empty.
* src/RequestGroupMan.cc
2009-12-13 07:45:22 +00:00
Tatsuhiro Tsujikawa
cd3552fbbb
2009-12-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Log listening port for BitTorrent/DHT in notice level.
* src/DHTConnectionImpl.cc
* src/PeerListenCommand.cc
2009-12-13 07:39:22 +00:00
Tatsuhiro Tsujikawa
554a40dab4
2009-12-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated po templates.
* po/aria2.pot
2009-12-12 13:06:17 +00:00
Tatsuhiro Tsujikawa
52f652d46d
2009-12-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Bump up version number to 1.7.2
* configure.ac
2009-12-12 12:59:22 +00:00
Tatsuhiro Tsujikawa
90e24a66d8
2009-12-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Changed default value of --enable-dht from 'false' to 'true'.
* doc/aria2c.1.txt
2009-12-11 13:07:42 +00:00
Tatsuhiro Tsujikawa
d59cd9b74e
2009-12-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Enabled DHT by default because of Magnet URI support. To disable
DHT, use --enable-dht=false
* src/OptionHandlerFactory.cc
2009-12-11 13:06:26 +00:00
Tatsuhiro Tsujikawa
6c3a3fefa2
2009-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Print Magnet URI in -S output.
* src/AnnounceList.cc
* src/bittorrent_helper.cc
* src/bittorrent_helper.h
* test/BittorrentHelperTest.cc
2009-12-10 12:52:59 +00:00
Tatsuhiro Tsujikawa
e80079c9b6
2009-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added --bt-prioritize-piece option to aria2rpc.
* doc/xmlrpc/aria2rpc
2009-12-10 12:48:17 +00:00
Tatsuhiro Tsujikawa
ff10065699
2009-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Refer Magnet URI in --help. Made some cosmetic changes.
* src/version_usage.cc
2009-12-10 12:32:47 +00:00
Tatsuhiro Tsujikawa
d95d6f2a69
2009-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated -T and -M option.
* doc/aria2c.1.txt
2009-12-10 12:25:41 +00:00
Tatsuhiro Tsujikawa
f64a7ed00c
2009-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed typo
* doc/aria2c.1.txt
2009-12-10 12:19:42 +00:00
Tatsuhiro Tsujikawa
cf24e86f81
2009-12-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the bug that line separator is missing in horizontal bar.
* doc/xmlrpc/aria2mon
2009-12-09 14:44:01 +00:00
Tatsuhiro Tsujikawa
e296c00e33
2009-12-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated usage text for --metalink-file option.
* src/usage_text.h
2009-12-09 14:39:08 +00:00
Tatsuhiro Tsujikawa
74c6599906
2009-12-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
If '-' is given as an argument to --metalink-file option, aria2
reads Metalink file from stdin.
* src/OptionHandlerFactory.cc
* src/OptionHandlerImpl.h
* src/a2io.h
2009-12-09 14:32:12 +00:00
Tatsuhiro Tsujikawa
cc4a14a1bc
2009-12-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the bug that aria2 listens wrong port if --interface option
is used.
* src/SocketCore.cc
2009-12-07 15:04:33 +00:00
Tatsuhiro Tsujikawa
8cd1d845f2
2009-12-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the bug that query parameter in magnet URI is not decoded.
* src/magnet.cc
* test/MagnetTest.cc
2009-12-07 13:01:25 +00:00
Tatsuhiro Tsujikawa
58bb1fa266
2009-12-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Specified defaultSize as an argument for easy testing.
* src/util.cc
* src/util.h
* test/UtilTest.cc
2009-12-07 12:49:19 +00:00
Tatsuhiro Tsujikawa
32f25fdef4
2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Release 1.7.1
2009-12-06 12:53:11 +00:00
Tatsuhiro Tsujikawa
786c0a7c1b
Updated for 1.7.1
2009-12-06 12:48:10 +00:00
Tatsuhiro Tsujikawa
431b58196c
2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Bump up version number to 1.7.1
* configure.ac
2009-12-06 12:45:25 +00:00
Tatsuhiro Tsujikawa
151c0348d7
2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the bug --bt-prioritize-piece=tail is not working.
* src/util.cc
2009-12-06 12:44:08 +00:00
Tatsuhiro Tsujikawa
a04279645b
2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Release 1.7.0
2009-12-06 11:50:49 +00:00
Tatsuhiro Tsujikawa
f027008d59
2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated po templates.
* po/aria2.pot
2009-12-06 11:46:18 +00:00
Tatsuhiro Tsujikawa
6cdfeb43d3
2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated help message for --bt-prioritize-piece. Some cosmetic
changes.
* doc/aria2c.1.txt
2009-12-06 11:37:10 +00:00
Tatsuhiro Tsujikawa
a41b927a57
2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Set default value for SIZE in --bt-prioritize-piece to 1MiB.
* src/usage_text.h
* src/util.cc
* test/UtilTest.cc
2009-12-06 11:35:45 +00:00
Tatsuhiro Tsujikawa
5cc0d57e26
Updated for 1.7.0 release
2009-12-06 09:14:35 +00:00
Tatsuhiro Tsujikawa
799d91b6de
2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated Russian, Ukrainian, German and French translations.
Thanks to all translators involved.
* po/de.po
* po/fr.po
* po/ru.po
* po/uk.po
2009-12-06 09:14:00 +00:00
Tatsuhiro Tsujikawa
c7b5565f24
2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Mentioned about pkg-config
* README
2009-12-06 09:00:30 +00:00
Tatsuhiro Tsujikawa
85f94081c0
2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed typo. Referred --index-out option in BitTorrent notes.
* README
2009-12-06 08:46:42 +00:00
Tatsuhiro Tsujikawa
45f681b9dc
2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Store all addresses found by getifaddrs() and getaddrinfo(). In
bind, try all addresses until success
* src/SocketCore.cc
* src/SocketCore.h
2009-12-06 08:25:41 +00:00
Tatsuhiro Tsujikawa
766ad3baf2
2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated po templates.
* po/aria2.pot
2009-12-05 11:54:50 +00:00
Tatsuhiro Tsujikawa
80f832cd19
2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Bump up version number to 1.7.0
* configure.ac
2009-12-05 11:46:50 +00:00
Tatsuhiro Tsujikawa
9a6a73dd96
2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed compile error if ENABLE_BITTORRENT is undefined.
* src/DefaultPieceStorage.cc
* src/DefaultPieceStorage.h
* src/PieceStorage.h
* src/UnknownLengthPieceStorage.cc
* src/UnknownLengthPieceStorage.h
* test/MockPieceStorage.h
* test/ProtocolDetectorTest.cc
* test/XmlRpcMethodTest.cc
2009-12-05 11:35:18 +00:00
Tatsuhiro Tsujikawa
66e864daf2
2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Documented in man page that if getifaddrs() is missing,
--interface option doesn't accept interface name.
* doc/aria2c.1.txt
2009-12-05 09:35:45 +00:00
Tatsuhiro Tsujikawa
3a1a8868d5
2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Use last 8 bytes of peer ID as 'key' parameter for tracker request.
* src/DefaultBtAnnounce.cc
* src/DefaultBtAnnounce.h
* test/DefaultBtAnnounceTest.cc
2009-12-05 07:56:30 +00:00
Tatsuhiro Tsujikawa
c44cf31df7
2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the bug that connection is always dropped if handshake
message in extension protocol don't have metadata_size.
src/HandshakeExtensionMessage.cc
* src/HandshakeExtensionMessage.cc
2009-12-05 07:51:04 +00:00
Tatsuhiro Tsujikawa
1016f51f7a
2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated "URI, MAGNET, TORRENT_FILE, METALINK_FILE" section. Added
text saying DHT is recommended when Magnet URI is provided.
* doc/aria2c.1.txt
2009-12-05 07:48:36 +00:00
Tatsuhiro Tsujikawa
7bc6fc54a1
2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the bug that DHT is always enabled when BitTorrent Magnet
URI is supplied. Notify user that they should consider enabling
DHT if they use Magnet URI.
* src/RequestGroup.cc
2009-12-05 07:43:49 +00:00
Tatsuhiro Tsujikawa
4100ba77c3
2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added --disable-ipv6 option to disable IPv6.
* doc/aria2c.1.txt
* src/InitiateConnectionCommand.cc
* src/NameResolver.cc
* src/NameResolver.h
* src/OptionHandlerFactory.cc
* src/main.cc
* src/prefs.cc
* src/prefs.h
* src/usage_text.h
2009-12-05 07:10:23 +00:00