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
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