Commit Graph

1768 Commits (97b921ef173f0a8ab33e6a894a5b46ed294ea4fa)

Author SHA1 Message Date
Tatsuhiro Tsujikawa 97b921ef17 2009-10-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Bump up version number to 1.6.1
	* configure.ac
2009-10-06 13:11:39 +00:00
Tatsuhiro Tsujikawa 9c23aa5aeb 2009-10-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Changed interval from 120 to 60 for dropping inactive peer.
	* src/DefaultBtInteractive.cc
2009-10-06 12:56:15 +00:00
Tatsuhiro Tsujikawa fa9d51417e 2009-10-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated man page for --user-agent and --peer-id-prefix option.
	* doc/aria2c.1.txt
2009-10-05 14:56:57 +00:00
Tatsuhiro Tsujikawa 967dade8b2 2009-10-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Code clean up
	* src/BtPostDownloadHandler.cc
	* src/ContentTypeRequestGroupCriteria.cc
	* src/ContentTypeRequestGroupCriteria.h
	* src/DownloadHandlerConstants.cc
	* src/DownloadHandlerConstants.h
	* src/DownloadHandlerFactory.cc
	* src/MetalinkPostDownloadHandler.cc
2009-10-05 14:51:05 +00:00
Tatsuhiro Tsujikawa 5f1d8c7897 2009-10-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Don't save control file when aria2 exists while checking piece
	hash(behavior of -V option). If control file doesn't exist when
	aria2 launched, the completed length in saved control file will be
	0 byte and this confuses user. disableSaveControlFile() is called
	in RequestGroup::processCheckIntegrityEntry().
	enableSaveControlFile() will be called after hash checking is
	done. See CheckIntegrityCommand.
	* src/CheckIntegrityCommand.cc
	* src/RequestGroup.cc
	* src/RequestGroup.h
	* src/RequestGroupMan.cc
2009-10-05 13:35:09 +00:00
Tatsuhiro Tsujikawa 436448dd8a 2009-10-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Included version number in Peer ID and client version.  Peer ID
	now starts with "aria2/VERSION-", where VERSION is
	MAJOR.MINOR.MICRO. Client version is aria2/VERSION.
	* src/DefaultBtInteractive.cc
	* src/OptionHandlerFactory.cc
	* src/bittorrent_helper.cc
	* src/bittorrent_helper.h
	* src/main.cc
	* src/usage_text.h
	* test/BittorrentHelperTest.cc
2009-10-05 13:04:06 +00:00
Tatsuhiro Tsujikawa 51ba780c76 2009-10-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed memory leak.
	* src/DownloadCommand.cc
2009-10-04 15:18:21 +00:00
Tatsuhiro Tsujikawa 83e87160ac 2009-10-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed server, port, user and passwd key from options before
	XMLRPC::Client.call since they are not options of aria2.
	* doc/xmlrpc/aria2mon
	* doc/xmlrpc/aria2rpc
2009-10-04 13:27:09 +00:00
Tatsuhiro Tsujikawa 41ac8fe45d 2009-10-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Included version number in user-agent string.
	* src/OptionHandlerFactory.cc
2009-10-04 12:57:35 +00:00
Tatsuhiro Tsujikawa c0595d17ff 2009-10-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed the bug that the option values changed by XML-RPC
	method(changeOption and changeGlobalOption) are overwritten to the
	previous value by the next these request which doesn't contain
	that option value. Supporse max-download-limit is initially 0. You
	changed this value to 100K by changeOption. Then you issue
	changeOption request to change max-upload-limit to 50K. This
	second request doesn't contain xml-download-limit, so it is back
	to initial value, 0. Another improvement is that exception is
	thrown when changeOption and changeGlobalOption request contains
	option name which doesn't allowed in each request.
	* src/DownloadEngine.h
	* src/XmlRpcMethod.cc
	* src/XmlRpcMethod.h
	* src/XmlRpcMethodImpl.cc
	* src/download_helper.cc
	* src/download_helper.h
	* test/XmlRpcMethodTest.cc
2009-10-04 09:01:11 +00:00
Tatsuhiro Tsujikawa ce3de835b4 2009-10-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added missing MetalinkParserStateImpl.{cc,h}
	* src/MetalinkParserStateImpl.cc
	* src/MetalinkParserStateImpl.h
2009-10-04 04:00:44 +00:00
Tatsuhiro Tsujikawa c55d2e5512 2009-10-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Put all MetalinkParserState subclasses into
	MetalinkParserStateImpl.cc. Use stack to track element structure.
2009-10-03 12:52:16 +00:00
Tatsuhiro Tsujikawa 99654e4160 2009-09-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Move all functions in PeerMessageUtil to bittorrent_helper.
	* src/BtBitfieldMessage.cc
	* src/BtBitfieldMessageValidator.h
	* src/BtExtendedMessage.cc
	* src/BtHandshakeMessage.cc
	* src/BtHandshakeMessageValidator.h
	* src/BtPieceMessage.cc
	* src/BtPieceMessageValidator.h
	* src/BtPortMessage.cc
	* src/DHTFindNodeReplyMessage.cc
	* src/DHTGetPeersReplyMessage.cc
	* src/DHTMessageFactoryImpl.cc
	* src/DHTRoutingTableDeserializer.cc
	* src/DHTRoutingTableSerializer.cc
	* src/DHTTokenTracker.cc
	* src/DefaultBtMessageFactory.cc
	* src/IndexBtMessage.cc
	* src/IndexBtMessage.h
	* src/IndexBtMessageValidator.h
	* src/Makefile.am
	* src/PeerMessageUtil.cc: Removed.
	* src/PeerMessageUtil.h: Removed.
	* src/RangeBtMessage.cc
	* src/RangeBtMessage.h
	* src/RangeBtMessageValidator.h
	* src/UTPexExtensionMessage.cc
	* src/ZeroBtMessage.cc
	* src/ZeroBtMessage.h
	* src/bittorrent_helper.cc
	* src/bittorrent_helper.h
	* test/BittorrentHelperTest.cc
	* test/BtAllowedFastMessageTest.cc
	* test/BtBitfieldMessageTest.cc
	* test/BtCancelMessageTest.cc
	* test/BtChokeMessageTest.cc
	* test/BtExtendedMessageTest.cc
	* test/BtHandshakeMessageTest.cc
	* test/BtHaveAllMessageTest.cc
	* test/BtHaveMessageTest.cc
	* test/BtHaveNoneMessageTest.cc
	* test/BtInterestedMessageTest.cc
	* test/BtNotInterestedMessageTest.cc
	* test/BtPieceMessageTest.cc
	* test/BtPortMessageTest.cc
	* test/BtRejectMessageTest.cc
	* test/BtRequestMessageTest.cc
	* test/BtSuggestPieceMessageTest.cc
	* test/BtUnchokeMessageTest.cc
	* test/DHTFindNodeReplyMessageTest.cc
	* test/DHTGetPeersReplyMessageTest.cc
	* test/DHTMessageFactoryImplTest.cc
	* test/DHTRoutingTableDeserializerTest.cc
	* test/DHTRoutingTableSerializerTest.cc
	* test/DefaultBtMessageFactoryTest.cc
	* test/DefaultExtensionMessageFactoryTest.cc
	* test/Makefile.am
	* test/PeerListProcessorTest.cc
	* test/PeerMessageUtilTest.cc: Removed.
	* test/UTPexExtensionMessageTest.cc
2009-09-29 14:52:42 +00:00
Tatsuhiro Tsujikawa 2e8b0d785e 2009-09-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Limit the size of values list when sending get_peers reply.
	* src/DHTGetPeersReplyMessage.cc
2009-09-28 16:05:08 +00:00
Tatsuhiro Tsujikawa 1cd092f6a1 2009-09-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated banner
	* doc/xmlrpc/aria2rpc
2009-09-28 15:17:44 +00:00
Tatsuhiro Tsujikawa ca96fb4946 2009-09-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added missing help message for remove command.
	* doc/xmlrpc/aria2rpc
2009-09-28 15:15:56 +00:00
Tatsuhiro Tsujikawa e54994d0a0 2009-09-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Generated configure and config.h.in
2009-09-24 14:24:55 +00:00
Ross Smith II 263aebc558 Add check for fork(), which is missing on MinGW
* src/daemon.cc
* configure.ac
2009-09-23 21:35:10 +00:00
Tatsuhiro Tsujikawa 909b126180 2009-09-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed unused methods Util::fileCopy(), Util::rangedFileCopy(),
	Util::expandBuffer(), Util::unfoldRange(), Util::indexRange() and
	Util::httpGMT().
	* src/Util.cc
	* src/Util.h
	* test/UtilTest.cc
2009-09-23 06:47:56 +00:00
Tatsuhiro Tsujikawa 414862fabc 2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
* Release 1.6.0
2009-09-20 12:13:07 +00:00
Tatsuhiro Tsujikawa 92a0eb9b16 2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed a path to xmlrpc/README.txt
	* doc/Makefile.am
2009-09-20 12:04:10 +00:00
Tatsuhiro Tsujikawa 07af5a2256 Updated for 1.6.0 release. 2009-09-20 09:33:07 +00:00
Tatsuhiro Tsujikawa 7cce6c46a8 2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added XML-RPC in -v Configuration output.
	* src/FeatureConfig.cc
	* src/FeatureConfig.h
	* test/FeatureConfigTest.cc
2009-09-20 09:31:42 +00:00
Tatsuhiro Tsujikawa 7329c0fce0 2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated Bulgarian, Russian, Slovak and Japanese
	translations. Thanks to all translators.
	* po/bg.po
	* po/ja.po
	* po/ru.po
	* po/sk.po
2009-09-20 09:20:09 +00:00
Tatsuhiro Tsujikawa ca49afce13 2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed --retry-wait option from aria2rpc
	* doc/xmlrpc/aria2rpc
2009-09-20 09:07:00 +00:00
Tatsuhiro Tsujikawa c0b072dc2b 2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed --retry-wait option from man page.
	* doc/aria2c.1.txt
2009-09-20 09:05:43 +00:00
Tatsuhiro Tsujikawa fe2bb7e233 2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed --retry-wait option since the current architecture doesn't
	allow sleep for particular URI.
	* src/AbstractCommand.cc
	* src/OptionHandlerFactory.cc
	* src/download_helper.cc
	* src/prefs.cc
	* src/prefs.h
2009-09-20 09:03:57 +00:00
Tatsuhiro Tsujikawa e8bda3f593 2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed Retry-After header support. Since the current architecture
	doesn't allow sleep for particular URI.
	* src/HttpSkipResponseCommand.cc
2009-09-20 09:00:32 +00:00
Tatsuhiro Tsujikawa 45090adb07 2009-09-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated the help message for --daemon option.
	* doc/aria2c.1.txt
	* src/usage_text.h
2009-09-19 09:12:51 +00:00
Tatsuhiro Tsujikawa 6293908a9d 2009-09-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added our own daemon() function for systems which desn't have
	daemon(3).
	* configure.ac
	* src/Makefile.am
	* src/daemon.cc
	* src/daemon.h
	* src/option_processing.cc
2009-09-19 09:05:20 +00:00
Tatsuhiro Tsujikawa f0d2be6120 2009-09-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Simplified File::getCurrentDir()
	* src/File.cc
2009-09-19 09:02:58 +00:00
Tatsuhiro Tsujikawa 554749b3dc 2009-09-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Use exit() instead of _exit
	* src/RequestGroupMan.cc
2009-09-19 08:54:39 +00:00
Tatsuhiro Tsujikawa 568226617c 2009-09-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Replaced "CATEGORY" with "TAGS".
	* src/usage_text.h
	* doc/aria2c.1.txt
2009-09-18 12:55:34 +00:00
Tatsuhiro Tsujikawa 33e04e5014 2009-09-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated the help message for --help option.
	* src/usage_text.h
	* doc/aria2c.1.txt
2009-09-18 12:51:34 +00:00
Tatsuhiro Tsujikawa 6de2a86b5c 2009-09-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated man page for added help tags.
	* doc/aria2c.1.txt
2009-09-17 14:45:12 +00:00
Tatsuhiro Tsujikawa da78e52a22 2009-09-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added help category #file. Added #file tag to the options related
	to downloaded file.
	* src/OptionHandlerFactory.cc
	* src/help_tags.h
2009-09-17 14:43:13 +00:00
Tatsuhiro Tsujikawa a481548954 2009-09-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added help categories: #cookie and #hook. Added #https tag to
	--https-proxy and --https-proxy, --all-proxy and --no-proxy.
	* src/OptionHandlerFactory.cc
	* src/help_tags
2009-09-17 14:37:36 +00:00
Tatsuhiro Tsujikawa dbaf521756 2009-09-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Made MSG_NOT_FILE translatable.
	* src/message.h
2009-09-16 14:40:22 +00:00
Tatsuhiro Tsujikawa 136b34035c 2009-09-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated man page for --help option.
	* doc/aria2c.1.txt
2009-09-14 12:57:37 +00:00
Tatsuhiro Tsujikawa 0cde950b6f 2009-09-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated doc.
	* src/XmlRpcMethod.h
2009-09-14 12:54:14 +00:00
Tatsuhiro Tsujikawa aefb035bb1 2009-09-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Help category now starts with "#" to distinguish a category from
	keyword search. For example, "http" categroy is now "#http". You
	can type "--help=#http" to get explanation of options related to
	http. If '#' is omitted, then the argument is treated as a keyword
	and aria2 searches options whose name includes the keyword and
	print matched ones. For example, "--help=http" will show options
	whose name includes "http".
	* src/OptionHandlerFactory.cc
	* src/help_tags.h
	* src/usage_text.h
	* src/version_usage.cc
2009-09-14 12:43:32 +00:00
Tatsuhiro Tsujikawa aa4bac65d9 2009-09-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Documented missing experimental tag and newly added xml-rpc tag in
	man page.
	* doc/aria2c.1.txt
2009-09-11 13:11:52 +00:00
Tatsuhiro Tsujikawa bf2b6d85fa 2009-09-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added xml-rpc help tag. Tagged xml-rpc related options with
	xml-rpc tag.
	* src/OptionHandlerFactory.cc
	* src/help_tags.h
2009-09-11 13:10:40 +00:00
Tatsuhiro Tsujikawa 81de583a63 2009-09-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated message when a path is not a file. Updated common message
	for wrong option.
	* src/OptionHandlerException.cc
	* src/message.h
2009-09-11 12:59:43 +00:00
Tatsuhiro Tsujikawa 97ffdf3eb2 2009-09-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Use File::isFile() instead of File::exists(). Updated message when
	a path is not a file.
	* src/OptionHandlerImpl.cc
	* src/message.h
2009-09-10 12:14:57 +00:00
Tatsuhiro Tsujikawa 870989f868 2009-09-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed the bug that server performence profile is not updated when
	aria2c was terminated by emergency shutdown.
	* src/TrackerWatcherCommand.cc
2009-09-09 13:28:52 +00:00
Tatsuhiro Tsujikawa 66b5950115 2009-09-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Use LocalFilePathOptionHandler for -T and -M option.
	Updated message of MSG_FILE_NOT_EXIST.
	* src/OptionHandlerFactory.cc
	* src/message.h
2009-09-09 12:58:23 +00:00
Tatsuhiro Tsujikawa 9f54011349 2009-09-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added LocalFilePathOptionHandler which check whether the specified
	file path does exist or not.
	* src/OptionHandlerImpl.cc
	* src/message.h
2009-09-09 12:50:42 +00:00
Tatsuhiro Tsujikawa 6399f6dcf9 2009-09-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated wiki page URI.
	* README
	* doc/aria2c.1.txt
2009-09-07 14:03:53 +00:00
Tatsuhiro Tsujikawa 6dc8f7eb05 2009-09-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added README.txt for xmlrpc directory.
	* doc/Makefile.am
	* doc/xmlrpc/README.txt
2009-09-07 14:00:15 +00:00