Commit Graph

1806 Commits (b63cd3a82a3c57bad7c52ed99998502b69f71708)

Author SHA1 Message Date
Tatsuhiro Tsujikawa b63cd3a82a 2009-10-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Bump up version number to 1.6.3
	* configure.ac
2009-10-29 14:59:06 +00:00
Tatsuhiro Tsujikawa cf973c6add 2009-10-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed Util.cc from POTFILES.in
	* po/POTFILES.in
2009-10-27 13:19:20 +00:00
Tatsuhiro Tsujikawa ff0b54ad95 2009-10-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated man page for previous change.
	* doc/aria2c.1.txt
2009-10-27 13:04:21 +00:00
Tatsuhiro Tsujikawa 14a47f43f8 2009-10-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
If user name is embedded but password is missing in URI, first
	resolve password using .netrc. If password is found in .netrc,
	then use it as password. If not, use the password specified in
	--ftp-passwd.
	* src/AuthConfigFactory.cc
	* src/Request.cc
	* src/Request.h
	* test/AuthConfigFactoryTest.cc
2009-10-27 12:58:46 +00:00
Tatsuhiro Tsujikawa cda8b2e343 2009-10-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed typo
	* doc/aria2c.1.txt
2009-10-25 14:45:01 +00:00
Tatsuhiro Tsujikawa 8e7311a2de 2009-10-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed typo
	* src/usage_text.h
2009-10-25 14:43:15 +00:00
Tatsuhiro Tsujikawa 9b49e45e96 2009-10-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added missing bitfield.cc
	* src/bitfield.cc
2009-10-25 14:15:22 +00:00
Tatsuhiro Tsujikawa e976b23728 2009-10-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Renamed Util.{cc,h} as util.{cc,h}
	* src/Util.cc
	* src/Util.h
	* src/util.cc
	* src/util.h
2009-10-22 15:35:33 +00:00
Tatsuhiro Tsujikawa c6035b2e24 2009-10-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Moved static functions in Util class to namespace util.
	* src
	* test
2009-10-22 15:09:00 +00:00
Tatsuhiro Tsujikawa 3349fe0811 2009-10-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Moved generateRandomData to Util.cc Moved flipBit to bitfield.cc.
	Moved generateRandomKey to bittorrent_helper.cc.
	* src/DHTBucket.cc
	* src/DHTGetPeersMessage.cc
	* src/DHTGetPeersReplyMessage.cc
	* src/DHTMessage.cc
	* src/DHTNode.cc
	* src/DHTTokenTracker.cc
	* src/DHTUtil.cc: Removed.
	* src/DHTUtil.h: Removed.
	* src/Makefile.am
	* src/Util.cc
	* src/Util.h
	* src/bitfield.h
	* src/bittorrent_helper.cc
	* src/bittorrent_helper.h
	* test/ARC4Test.cc
	* test/BNodeTest.cc
	* test/DHTAnnouncePeerMessageTest.cc
	* test/DHTAnnouncePeerReplyMessageTest.cc
	* test/DHTFindNodeMessageTest.cc
	* test/DHTFindNodeReplyMessageTest.cc
	* test/DHTGetPeersMessageTest.cc
	* test/DHTGetPeersReplyMessageTest.cc
	* test/DHTPingMessageTest.cc
	* test/DHTPingReplyMessageTest.cc
	* test/DHTTokenTrackerTest.cc
	* test/DHTUtilTest.cc: Removed.
	* test/Makefile.am
	* test/UtilTest.cc
2009-10-22 14:43:42 +00:00
Tatsuhiro Tsujikawa 7e694d38cb 2009-10-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed the call to trim() because trim() is called for each
	element in split().
	* src/CookieParser.cc
2009-10-18 12:33:45 +00:00
Tatsuhiro Tsujikawa c8d34a46be 2009-10-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Replaced Util::slice() with split()
	* src/AbstractCommand.cc
	* src/CookieParser.cc
	* src/File.cc
	* src/HttpHeaderProcessor.cc
	* src/HttpRequest.cc
	* src/Metalink2RequestGroup.cc
	* src/MetalinkParserController.cc
	* src/Netrc.cc
	* src/NsCookieParser.cc
	* src/ParameterizedStringParser.cc
	* src/ServerStatMan.cc
	* src/UriListParser.cc
	* src/Util.cc
	* src/Util.h
	* src/bittorrent_helper.cc
	* test/UtilTest.cc
2009-10-18 12:31:07 +00:00
Tatsuhiro Tsujikawa 1a7064f6f6 2009-10-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Use request->getDir() instead of "/" for embedded user/pass in
	URI.
	* src/AuthConfigFactory.cc
2009-10-18 12:23:11 +00:00
Tatsuhiro Tsujikawa 947effdf1c 2009-10-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed wrong insertion point for BasicCred.
	* src/AuthConfigFactory.cc
2009-10-18 09:10:26 +00:00
Tatsuhiro Tsujikawa 4536bd7211 2009-10-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Allowed non-regular file in LocalFilePathOptionHandler
	* src/OptionHandlerImpl.h
	* src/message.h
2009-10-17 13:13:32 +00:00
Tatsuhiro Tsujikawa 10e371c25a 2009-10-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed the bug that Netrc::parse() cannot recognize comment line.
	* src/Netrc.cc
	* src/Util.h
	* test/NetrcTest.cc
	* test/sample.netrc
2009-10-17 13:11:03 +00:00
Tatsuhiro Tsujikawa ac63a32c48 2009-10-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed typo
	* src/BtDependency.cc
	* src/BtRejectMessage.cc
	* src/FtpConnection.cc
	* src/HttpHeaderProcessor.h
2009-10-13 08:48:58 +00:00
Tatsuhiro Tsujikawa eb958ac1ce 2009-10-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed lintian report in man page
	* doc/aria2c.1.txt
2009-10-13 08:40:52 +00:00
Tatsuhiro Tsujikawa a3087115c1 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Release 1.6.2
2009-10-10 14:47:00 +00:00
Tatsuhiro Tsujikawa 48ec4c98ce Updated for 1.6.2 release 2009-10-10 14:35:24 +00:00
Tatsuhiro Tsujikawa 02e36501ad 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated Ukrainian translation. Thanks to all translators.
	* po/uk.po
2009-10-10 14:34:45 +00:00
Tatsuhiro Tsujikawa 83cdde9653 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated translation template
	* po
2009-10-10 14:33:25 +00:00
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