Commit Graph

1784 Commits (f92983cc81d3915e86b691d0332b7b217f5ed0fb)

Author SHA1 Message Date
Tatsuhiro Tsujikawa f92983cc81 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Bump up version number to 1.6.2
	* configure.ac
2009-10-10 08:36:26 +00:00
Tatsuhiro Tsujikawa 509a98dde4 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated licence message in -v output.
	* src/version_usage.cc
2009-10-10 08:35:06 +00:00
Tatsuhiro Tsujikawa 8c807347bd 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Replaced aria2 with aria2c in help message.
	* src/version_usage.cc
2009-10-10 08:32:43 +00:00
Tatsuhiro Tsujikawa 3ccaca2b39 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Use PACKAGE_BUGREPORT and PACKAGE_URL.
	* src/version_usage.cc
2009-10-10 08:30:52 +00:00
Tatsuhiro Tsujikawa 02c7e833d1 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Quoted localedir
	* src/Makefile.am
2009-10-10 08:29:21 +00:00
Tatsuhiro Tsujikawa fb70a0e69c 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added AC_FUNC_STRTOD and AC_TYPE_PID_T.  Check function for pow,
	utime. Check header for utime.h.
	* configure.ac
2009-10-10 08:16:44 +00:00
Tatsuhiro Tsujikawa 1af73e306c 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Use AC_FUNC_FORK. Replaced HAVE_FORK with HAVE_WORKING_FORK.
	* configure.ac
	* src/daemon.cc
2009-10-10 08:09:16 +00:00
Tatsuhiro Tsujikawa cb69cca675 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Don't set localedir manually. Leave it to autoconf.
	* configure.ac
	* src/Makefile.am
2009-10-10 08:03:27 +00:00
Tatsuhiro Tsujikawa f31fa015bb 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added --install to ACLOCAL_AMFLAGS.
	Removed m4 from SUBDIRS.
	Updated automake 1.11 and autoconf 2.64.
	Replaced some obsolute macros with new one.
	* Makefile.am
	* configure.ac
	* m4/aria2_arg.m4
2009-10-10 07:54:39 +00:00
Tatsuhiro Tsujikawa 52e4d99384 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed Makefile.am in m4 directory.
	* configure.ac
	* m4/ChangeLog
	* m4/Makefile.am
	* m4/Makefile.in
2009-10-10 07:29:12 +00:00
Tatsuhiro Tsujikawa e8b87bb1c2 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed unused m4 macros.
	* m4/intldir.m4
	* m4/inttypes.m4
	* m4/isc-posix.m4
	* m4/libgnutls-extra.m4
	* m4/ulonglong.m4
2009-10-10 07:26:44 +00:00
Tatsuhiro Tsujikawa 53bdc4918a 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed the bug that causes segmentation fault if
	req->getCurrentUrl() contains printf formatting characters such as
	%d. The statement that causes this bug is useless and removed.
	* src/AbstractCommand.cc
2009-10-09 17:20:40 +00:00
Tatsuhiro Tsujikawa f9a64adc1a 2009-10-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
* Release 1.6.1
2009-10-06 16:03:34 +00:00
Tatsuhiro Tsujikawa 7e34341add Updated for 1.6.1 release 2009-10-06 14:26:00 +00:00
Tatsuhiro Tsujikawa 1621aa4cf7 2009-10-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated Simplified Chinese translation. Thanks to translators.
	* po/zh_CN.po
2009-10-06 14:24:31 +00:00
Tatsuhiro Tsujikawa 500404fc97 2009-10-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated translation template
	* po
2009-10-06 14:06:55 +00:00
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