Tatsuhiro Tsujikawa
2923682aa6
2009-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed integer potential alignment problem.
* src/bitfield.h
2009-11-15 11:29:24 +00:00
Tatsuhiro Tsujikawa
548585cccc
2009-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Applied a patch from tizianomueller to fix sigbus errors on Linux
sparc. I modified the patch to eliminate a cast to uint32_t* and
include file ordering.
* src/PeerListProcessor.h
* src/bittorrent_helper.cc
2009-11-15 11:20:55 +00:00
Tatsuhiro Tsujikawa
9cdf102850
2009-11-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added util::parseUIntNoThrow(). Use it in Request::parseUrl().
* src/Request.cc
* src/util.cc
* src/util.h
* test/RequestTest.cc
2009-11-12 15:34:55 +00:00
Tatsuhiro Tsujikawa
8865b9e8e6
2009-11-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Rewritten util::uitos()
* src/util.h
2009-11-12 15:17:28 +00:00
Tatsuhiro Tsujikawa
48175dcb3a
2009-11-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Code cleanup
* src/Request.cc
* src/Request.h
2009-11-12 15:07:18 +00:00
Tatsuhiro Tsujikawa
7a94ae6af2
2009-11-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Rewritten Request::parseUrl()
* src/Request.cc
* test/RequestTest.cc
2009-11-12 14:50:23 +00:00
Tatsuhiro Tsujikawa
37a50cf468
2009-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed unused macro SAFE_CHARS
* src/Request.cc
2009-11-11 13:11:39 +00:00
Tatsuhiro Tsujikawa
ff3702463a
2009-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated doc
* src/DHTRoutingTableDeserializer.cc
2009-11-11 13:06:19 +00:00
Tatsuhiro Tsujikawa
2325de5c32
2009-11-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Release 1.6.3
2009-11-02 14:39:23 +00:00
Tatsuhiro Tsujikawa
6c09ea69b8
2009-11-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed unused function.
* test/DHTPeerAnnounceStorageTest.cc
2009-11-02 14:38:27 +00:00
Tatsuhiro Tsujikawa
0894a7592c
2009-11-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Only decrement cols if cols > 0
* src/ConsoleStatCalc.cc
2009-11-02 14:30:26 +00:00
Tatsuhiro Tsujikawa
a5a1c1982f
2009-11-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated Polish, Catalan, French, Italian, Russian and Japanese
translations. Thanks to all translators.
* po/ca.po
* po/fr.po
* po/it.po
* po/ja.po
* po/pl.po
* po/ru.po
2009-11-02 14:16:28 +00:00
Tatsuhiro Tsujikawa
d6e52278dd
2009-11-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated translation template
* po
2009-11-02 14:09:43 +00:00
Tatsuhiro Tsujikawa
fb3e69db3b
2009-11-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed compile error without ssl library.
* src/util.cc
2009-11-02 14:04:28 +00:00
Tatsuhiro Tsujikawa
f794df7d9b
2009-11-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Logged received nodes in get_peers reply message.
* src/DHTAbstractNodeLookupTask.cc
* src/DHTAbstractNodeLookupTask.h
2009-11-02 13:16:22 +00:00
Tatsuhiro Tsujikawa
f1043306f0
2009-11-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the bug that DHTAbstractNodeLookupTask never finishes if
error occurred in DHTMessageDispatcherImpl::sendMessage().
* src/DHTMessageDispatcherImpl.cc
2009-11-01 14:14:28 +00:00
Tatsuhiro Tsujikawa
489cfe3d0e
2009-11-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Don't reuse URI if Request pool is not empty.
* src/CreateRequestCommand.cc
2009-11-01 09:42:34 +00:00
Tatsuhiro Tsujikawa
20c8ce4128
2009-10-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed peerStorage from DHTPeerAnnounceEntry. It is unlikely to
receive get_peers request for torrent which the client is now
downloading.
* src/BtSetup.cc
* src/DHTPeerAnnounceEntry.cc
* src/DHTPeerAnnounceEntry.h
* src/DHTPeerAnnounceStorage.cc
* src/DHTPeerAnnounceStorage.h
* src/RequestGroup.cc
* test/DHTPeerAnnounceEntryTest.cc
* test/DHTPeerAnnounceStorageTest.cc
2009-10-31 11:54:54 +00:00
Tatsuhiro Tsujikawa
0dcb41da49
2009-10-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the bug that in Windows environment new blank line is
inserted when console readout is updated.
* src/ConsoleStatCalc.cc
2009-10-31 10:15:59 +00:00
Tatsuhiro Tsujikawa
07dc5bdfee
2009-10-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Throw exception if binding listening port is failed. Removed
RequestGroupMan::getInitialCommand(). Use
fillRequestGroupFromReserver() instead. Delete commands for
RequestGroup which has errors when it is being added.
* src/BtSetup.cc
* src/DownloadEngine.cc
* src/DownloadEngine.h
* src/DownloadEngineFactory.cc
* src/MultiUrlRequestInfo.cc
* src/RequestGroupMan.cc
* src/RequestGroupMan.h
* test/RequestGroupManTest.cc
2009-10-31 09:53:23 +00:00
Tatsuhiro Tsujikawa
a71b642db1
2009-10-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the bug that when downloading more than one torrent,
listening port is not reported properly to tracker for 2nd or
later torrents.
* src/BtSetup.cc
* src/PeerListenCommand.cc
* src/PeerListenCommand.h
* src/RequestGroup.cc
2009-10-31 08:47:19 +00:00
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
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
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
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
Tatsuhiro Tsujikawa
9eb3242216
2009-09-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Bump up version number to 1.6.0.
* configure.ac
2009-09-05 15:11:06 +00:00
Tatsuhiro Tsujikawa
d85743cd6d
2009-09-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added XML-RPC client scripts written in ruby.
* doc/Makefile.am
* doc/xmlrpc/aria2mon
* doc/xmlrpc/aria2rpc
2009-09-01 15:11:54 +00:00
Tatsuhiro Tsujikawa
ce25b54cfe
2009-08-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added support for IPv6 literal address in URI. Now aria2 can
handle URI such as http://[::1]/
* src/HttpRequest.cc
* src/HttpRequest.h
* src/Request.cc
* src/Request.h
* test/HttpRequestTest.cc
* test/OptionHandlerTest.cc
* test/RequestTest.cc
2009-08-30 15:05:30 +00:00
Tatsuhiro Tsujikawa
19ae8f9d07
2009-08-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the bug that HTTP request header for XML-RPC request is not
parsed properly.
* src/HttpHeader.cc
* src/HttpHeaderProcessor.cc
2009-08-30 13:18:57 +00:00
Tatsuhiro Tsujikawa
01af9a5df0
2009-08-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the bug that XML-RPC authorization might be done before HTTP
request header is fully received.
* src/HttpServerCommand.cc
2009-08-30 13:15:22 +00:00
Tatsuhiro Tsujikawa
0c3dc00d68
2009-08-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Documented --xml-rpc-listen-all option in man page.
* doc/aria2c.1.txt
2009-08-30 12:30:00 +00:00
Tatsuhiro Tsujikawa
d182b380c2
2009-08-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added --xml-rpc-listen-all option. If true is given to this
option, aria2 listens incoming XML-RPC requests on all network
interfaces. If false is given, listens only on local loopback
interface. The default value is false.
* src/HttpListenCommand.cc
* src/OptionHandlerFactory.cc
* src/SocketCore.cc
* src/SocketCore.h
* src/prefs.cc
* src/prefs.h
* src/usage_text.h
2009-08-30 12:25:04 +00:00
Tatsuhiro Tsujikawa
be10231175
2009-08-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
* Release 1.5.2
2009-08-21 14:57:03 +00:00
Tatsuhiro Tsujikawa
fa15736578
2009-08-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated Ukrainian and Russian translations. Thanks to all
translators.
* po/ru.po
* po/uk.po
2009-08-21 04:59:59 +00:00
Tatsuhiro Tsujikawa
2b290421d8
2009-08-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Bump up version number to 1.5.2
* configure.ac
2009-08-19 14:12:04 +00:00
Tatsuhiro Tsujikawa
9077d5a985
2009-08-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Get comment, comment.utf-8, created by and creation date from
.torrent file and print them in -S output.
* src/bittorrent_helper.cc
* src/bittorrent_helper.h
* test/BittorrentHelperTest.cc
* test/test.torrent
* test/utf8.torrent
2009-08-19 14:09:19 +00:00
Tatsuhiro Tsujikawa
376e39a1f4
2009-08-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Show exact file size along in -S option output.
* src/Util.h
* src/bittorrent_helper.cc
* test/UtilTest.cc
2009-08-18 14:36:52 +00:00
Tatsuhiro Tsujikawa
c1f4af537a
2009-08-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Avoided unnecessary memory allocation in
BitfieldMan::getCompletedLength().
* src/BitfieldMan.cc
2009-08-18 14:21:02 +00:00
Tatsuhiro Tsujikawa
a4d5134f80
2009-08-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the bug that download fails if
SocketCore::establishConnection() throws exception and aria2
doesn't try another address.
* src/AbstractCommand.cc
* src/InitiateConnectionCommand.cc
* src/message.h
2009-08-18 14:09:56 +00:00
Tatsuhiro Tsujikawa
611eadf85d
2009-08-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Renamed xmlrpc::elements::PARAMS to xmlrpc::elements::A2_PARAMS
because it causes compile error if PARAMS macro is defined.
* src/XmlRpcElements.cc
* src/XmlRpcElements.h
* src/XmlRpcRequestParserStateImpl.cc
2009-08-08 16:08:56 +00:00
Tatsuhiro Tsujikawa
fec3ef8790
2009-07-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
* Release 1.5.1
2009-07-26 14:17:49 +00:00
Tatsuhiro Tsujikawa
bbae39572d
2009-07-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Bump up version number to 1.5.1
* configure.ac
2009-07-26 13:57:51 +00:00
Tatsuhiro Tsujikawa
1fe4932201
2009-07-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed compile error without BitTorrent support
* src/DefaultBtProgressInfoFile.cc
* src/DownloadEngine.cc
* src/DownloadEngine.h
2009-07-25 14:07:46 +00:00
Tatsuhiro Tsujikawa
6191e909d2
2009-07-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added missing '=' in Download Results
* src/RequestGroupMan.cc
2009-07-23 15:17:50 +00:00
Tatsuhiro Tsujikawa
a01a3605c7
2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed compiler warning
* src/DefaultBtProgressInfoFile.cc
2009-07-22 13:20:47 +00:00
Tatsuhiro Tsujikawa
df8938d51e
2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed compiler warning on 32bit systems.
* src/DownloadCommand.cc
2009-07-22 13:11:58 +00:00
Tatsuhiro Tsujikawa
8d2b9f0aa1
2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Rewritten RequestGroupMan::saveServerStat()
* src/RequestGroupMan.cc
2009-07-22 13:09:50 +00:00
Tatsuhiro Tsujikawa
1c6a0962a1
2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Call flush from ServerStatMan::save()
* src/ServerStatMan.cc
2009-07-22 13:08:53 +00:00
Tatsuhiro Tsujikawa
2e9c39d6ba
2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Check stream status after file is opened.
* src/CookieStorage.cc
2009-07-22 13:01:14 +00:00
Tatsuhiro Tsujikawa
f4a533846d
2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Rewritten Signature::save()
* src/Signature.cc
2009-07-22 12:58:49 +00:00
Tatsuhiro Tsujikawa
65906c07fe
2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Rewritten stream error handling
* src/DHTAutoSaveCommand.cc
* src/DHTRoutingTableDeserializer.cc
* src/DHTRoutingTableSerializer.cc
* src/DHTSetup.cc
2009-07-22 12:54:35 +00:00
Tatsuhiro Tsujikawa
0d101d47c9
2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Check stream status after file is opened.
* src/DefaultBtProgressInfoFile.cc
2009-07-22 12:51:51 +00:00
Tatsuhiro Tsujikawa
cec451951d
2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Rewritten stream error handling
* src/DefaultBtProgressInfoFile.cc
2009-07-22 12:44:24 +00:00
Tatsuhiro Tsujikawa
0d1d88257c
2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Make sure that stream is closed before renaming file. Unit test
fails on mingw32 in the previous implementation.
* src/CookieStorage.cc
2009-07-21 15:19:43 +00:00
Tatsuhiro Tsujikawa
1731db1c60
2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the unit test error without sqlite3
* test/CookieStorageTest.cc
2009-07-21 15:17:15 +00:00
Tatsuhiro Tsujikawa
7d9425adbf
2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the undefined reference error
* test/HttpResponseTest.cc
2009-07-21 15:15:03 +00:00
Tatsuhiro Tsujikawa
f2fa440baf
2009-07-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
* Release 1.5.0
2009-07-18 09:39:12 +00:00
Tatsuhiro Tsujikawa
e32a8ab4b1
2009-07-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated Russian, Italian, Danish, Bulgarian, Japanese and
Ukrainian translations. Thanks to all translators.
* po/ru.po
* po/it.po
* po/da.po
* po/bg.po
* po/ja.po
* po/uk.po
2009-07-18 09:24:11 +00:00
Tatsuhiro Tsujikawa
083d907104
2009-07-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added missing src/Logger.cc
* src/Logger.cc
2009-07-18 08:32:57 +00:00
Tatsuhiro Tsujikawa
21170e804d
2009-07-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Rewritten Logger to avoiding constly virtual call.
* src/LogFactory.cc
* src/LogFactory.h
* src/Logger.h
* src/Makefile.am
* src/Makefile.in
* src/NullLogger.h: Removed.
* src/SimpleLogger.cc
* src/SimpleLogger.h
2009-07-18 08:30:37 +00:00
Tatsuhiro Tsujikawa
e6422f82eb
2009-07-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated doc
* src/main.cc
2009-07-17 10:33:33 +00:00
Tatsuhiro Tsujikawa
85cec59174
2009-07-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated debug log message
* src/AbstractCommand.cc
* src/message.h
2009-07-17 10:27:45 +00:00
Tatsuhiro Tsujikawa
757e758fa1
2009-07-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Avoid to create zombie process when commands specified in
--on-download-* options are executed. Tested on Linux 2.6, Mac OS
X and NetBSD.
* src/main.cc
2009-07-16 13:07:29 +00:00
Tatsuhiro Tsujikawa
9c62df8038
2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed typo
* src/usage_text.h
* doc/aria2c.1.txt
2009-07-15 13:12:21 +00:00
Tatsuhiro Tsujikawa
a3193d80f5
2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Documented 'errorCode' of tellStatus in man page.
* doc/aria2c.1.txt
2009-07-15 12:41:42 +00:00
Tatsuhiro Tsujikawa
d17d7631e1
2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added 'errorCode' to the reponse of tellStatus xml-rpc method.
This key is only available for stopped/completed downloads and its
value is the error code defined in EXIT STATUS in man page.
* src/XmlRpcMethodImpl.cc
2009-07-15 12:39:52 +00:00
Tatsuhiro Tsujikawa
de23f72818
2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the bug that session download length is not updated when
PeerStat is not fastest one.
* src/SegmentMan.cc
2009-07-15 12:36:58 +00:00
Tatsuhiro Tsujikawa
20930f7a7e
2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated doc.
* doc/aria2c.1.txt
2009-07-15 11:59:44 +00:00
Tatsuhiro Tsujikawa
a4c7c6ae02
2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated doc.
* src/AbstractCommand.cc
2009-07-15 11:58:27 +00:00
Tatsuhiro Tsujikawa
08fb20d076
2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Handle the case when DownloadContext has no FileEntry.
* src/XmlRpcMethodImpl.cc
2009-07-15 11:57:20 +00:00
Tatsuhiro Tsujikawa
55a35ad2a2
2009-07-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Handle the situation where struct option.name is char *.
* configure.ac
* src/OptionParser.cc
2009-07-14 13:22:26 +00:00
Tatsuhiro Tsujikawa
8eee188999
2009-07-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Code cleanup
* src/AbstractCommand.cc
* src/DownloadCommand.cc
2009-07-14 13:11:13 +00:00
Tatsuhiro Tsujikawa
682bafae0a
2009-07-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Use option of each download to create AuthConfig instead of global
option.
* src/AuthConfigFactory.cc
* src/AuthConfigFactory.h
* src/FtpNegotiationCommand.cc
* src/HttpRequest.cc
* src/HttpRequest.h
* src/HttpRequestCommand.cc
* src/HttpSkipResponseCommand.cc
* src/MultiUrlRequestInfo.cc
* test/AuthConfigFactoryTest.cc
* test/FtpConnectionTest.cc
* test/HttpRequestTest.cc
2009-07-14 12:37:34 +00:00
Tatsuhiro Tsujikawa
894641dfdb
2009-07-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Don't call prepareForRetry(1) if all segments are ignored in
SegmentMan.
* src/AbstractCommand.cc
* src/BitfieldMan.cc
* src/BitfieldMan.h
* src/SegmentMan.cc
* src/SegmentMan.h
2009-07-13 15:02:32 +00:00
Tatsuhiro Tsujikawa
19913203b7
2009-07-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed FileEntry::getAssociatedUris()
* src/FileEntry.h
2009-07-11 16:00:50 +00:00
Tatsuhiro Tsujikawa
8661bc049a
2009-07-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated doc: TODO1.5 -> TODO
* src/FileEntry.cc
* src/HttpResponseCommand.cc
2009-07-11 15:57:06 +00:00
Tatsuhiro Tsujikawa
eafa19748e
2009-07-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added assertion fileEntries.size() == 1 if BitTorrent is not
involved.
* src/RequestGroup.cc
2009-07-11 15:50:21 +00:00
Tatsuhiro Tsujikawa
67a23f615a
2009-07-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Eliminated duplicated filterBitfield initialization code.
* src/BitfieldMan.cc
* src/BitfieldMan.h
2009-07-11 10:34:08 +00:00
Tatsuhiro Tsujikawa
b29fbb9af5
2009-07-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added assert(!req.isNull()) when DlRetryEx is caught(this is
relatively naive approach, though). For DownloadFailureException,
we handle the case when req is null properly.
* src/AbstractCommand.cc
2009-07-11 10:25:45 +00:00
Tatsuhiro Tsujikawa
d99ec1534f
2009-07-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added function returning suffix of control file to
DefaultBtProgressInfoFile.
* src/DefaultBtProgressInfoFile.cc
* src/DefaultBtProgressInfoFile.h
* src/RequestGroup.cc
2009-07-11 10:19:10 +00:00
Tatsuhiro Tsujikawa
c0c12cdd81
2009-07-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Documented getVersion in man page.
* doc/aria2c.1.txt
2009-07-10 16:10:26 +00:00
Tatsuhiro Tsujikawa
e651cf6084
2009-07-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Documented type of offset and num for tellWaiting xml-rpc method.
* doc/aria2c.1.txt
2009-07-10 15:58:37 +00:00
Tatsuhiro Tsujikawa
d6a8fa5b10
2009-07-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Implemented getVersion xml-rpc method. This method returns struct
which has 2 key-value pairs: "version" key is associated to the
version of aria2, such as "1.5.0". "enabledFeatures" key is
associated to the list of enabled features, such as "Async DNS",
"BitTorrent".
* src/FeatureConfig.h
* src/XmlRpcMethodFactory.cc
* src/XmlRpcMethodImpl.cc
* src/XmlRpcMethodImpl.h
* test/XmlRpcMethodTest.cc
2009-07-10 15:55:42 +00:00
Tatsuhiro Tsujikawa
53d2a64cc5
2009-07-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed TLS1.1 protocol support when aria2 is built with gnutls
for compatibility issue.
* src/SocketCore.cc
2009-07-08 15:38:40 +00:00
Tatsuhiro Tsujikawa
96113c0745
2009-07-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed compile error with openSSL
* src/bittorrent_helper.cc
* src/messageDigest.h
2009-07-08 15:12:40 +00:00
Tatsuhiro Tsujikawa
2fe11c1343
2009-07-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed bad code: setting certificate type priority to key
exchange priority.
* src/SocketCore.cc
2009-07-07 15:01:55 +00:00
Tatsuhiro Tsujikawa
5f966f6327
2009-07-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Disconnect seeder if client is also in seed state.
* src/BtBitfieldMessage.cc
* src/BtHaveAllMessage.cc
* src/BtHaveMessage.cc
* src/message.h
* test/BtBitfieldMessageTest.cc
* test/BtHaveAllMessageTest.cc
* test/BtHaveMessageTest.cc
* test/MockPieceStorage.h
2009-07-06 15:22:06 +00:00
Tatsuhiro Tsujikawa
db84b1b652
2009-07-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Keep CreateRequestCommand in queue when no segment is available so
that they can pick up pieces which slow BitTorrent peers are
downloading.
* src/AbstractCommand.cc
* src/CreateRequestCommand.cc
* src/CreateRequestCommand.h
2009-07-06 14:35:42 +00:00
Tatsuhiro Tsujikawa
69c3dfded4
2009-07-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
--bt-stop-timeout now only checks download speed.
* src/BtStopDownloadCommand.cc
* src/BtStopDownloadCommand.h
* src/BtSetup.cc
* src/usage_text.h
* doc/aria2c.1.txt
2009-07-06 13:36:16 +00:00
Tatsuhiro Tsujikawa
a94215654d
2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed compile error regarding BUFSIZE.
* src/DownloadCommand.cc
* src/DownloadCommand.h
2009-07-05 09:52:15 +00:00
Tatsuhiro Tsujikawa
4595e0262d
2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Documented tellWaiting xml-rpc method in man page.
* doc/aria2c.1.txt
2009-07-05 09:32:51 +00:00
Tatsuhiro Tsujikawa
0fdbf1b09c
2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Bump up version number to 1.5.0
* configure.ac
2009-07-05 09:20:18 +00:00
Tatsuhiro Tsujikawa
d28a3081f3
2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed resolved TODO1.5
* src/AbstractCommand.cc
* src/DownloadCommand.cc
* src/RequestGroup.cc
2009-07-05 09:15:33 +00:00
Tatsuhiro Tsujikawa
e40d6b7c0f
2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Release pooled and in-flight Request objectsand URIResult objects
in FileEntry after download completed.
* src/DownloadContext.cc
* src/DownloadContext.h
* src/FileEntry.cc
* src/FileEntry.h
* src/RequestGroup.cc
2009-07-05 09:10:08 +00:00
Tatsuhiro Tsujikawa
f0edf98651
2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Set manual and source attribute in aria2c.1.txt
* doc/aria2c.1.txt
2009-07-05 05:57:09 +00:00
Tatsuhiro Tsujikawa
990928b518
2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Documented that the default value of --use-head is 'false' in man
page.
* doc/aria2c.1.txt
2009-07-05 05:44:45 +00:00
Tatsuhiro Tsujikawa
3354f9d2d1
2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added bt-stop-timeout option to -i list.
* doc/aria2c.1.txt
* src/download_helper.cc
2009-07-05 05:42:36 +00:00
Tatsuhiro Tsujikawa
faa4668bbb
2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed typo
* doc/aria2c.1.txt
* src/usage_text.h
2009-07-05 05:40:26 +00:00
Tatsuhiro Tsujikawa
6388bb52fb
2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed peer-id-prefix option from -i list.
* doc/aria2c.1.txt
* src/download_helper.cc
2009-07-05 05:37:06 +00:00
Tatsuhiro Tsujikawa
e0d6a8a5fd
Fixed previous comment
2009-07-05 05:36:21 +00:00
Tatsuhiro Tsujikawa
dd3a3434be
2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed typo
* doc/aria2.1.txt
* src/usage_text.h
2009-07-05 05:34:29 +00:00
Tatsuhiro Tsujikawa
5c0380b073
2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Documented --bt-stop-timeout option in man page.
* doc/aria2c.1.txt
2009-07-05 05:30:47 +00:00
Tatsuhiro Tsujikawa
e90a260c16
2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated README regarding multi-file torrent web-seeding.
* doc/README.txt
2009-07-05 05:25:48 +00:00
Tatsuhiro Tsujikawa
86fce3e67a
2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated man page regarding multi-file torrent web-seeding.
* doc/aria2c.1.txt
2009-07-05 05:20:23 +00:00
Tatsuhiro Tsujikawa
f58c2e33bb
2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated doc
* src/version_usage.cc
2009-07-05 05:17:19 +00:00
Tatsuhiro Tsujikawa
276d77ee9d
2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Winsock select() doesn't work if no socket is in FD_SET. To
overcome this problem, a dummy socket is added to FD_SET and it is
given to select().
* src/SelectEventPoll.cc
* src/SelectEventPoll.h
2009-07-05 03:46:07 +00:00
Tatsuhiro Tsujikawa
9e3fb89077
2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Disabled --use-head option by default because --use-head=true
causes problems on some web sites.
* src/OptionHandlerFactory.cc
2009-07-05 03:39:10 +00:00
Tatsuhiro Tsujikawa
5da696fb29
2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Print URL List in -S option for torrent.
* src/bittorrent_helper.cc
* src/bittorrent_helper.h
2009-07-05 03:37:07 +00:00
Tatsuhiro Tsujikawa
9263894689
2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Allocate buffer in ctor of DownloadCommand.
* src/DownloadCommand.cc
* src/DownloadCommand.h
2009-07-05 03:24:31 +00:00
Tatsuhiro Tsujikawa
6bd4447d23
2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed DiskAdaptor::onDownloadComplete()
* src/DirectDiskAdaptor.cc
* src/DirectDiskAdaptor.h
* src/DiskAdaptor.h
* src/MultiDiskAdaptor.cc
* src/MultiDiskAdaptor.h
2009-07-05 03:17:55 +00:00
Tatsuhiro Tsujikawa
25c1bc5bb0
2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Committed missing BtStopDownloadCommand.{cc,h}
* src/BtStopDownloadCommand.cc
* src/BtStopDownloadCommand.h
2009-07-05 03:17:04 +00:00
Tatsuhiro Tsujikawa
b2f0577225
2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added --bt-stop-timeout=SEC option. This function stops BitTorrent
download if the download speed is 0 and the number of seeder is 0
in consecutive SEC seconds. By default, this function is disabled.
* src/BtSetup.cc
* src/Makefile.am
* src/OptionHandlerFactory.cc
* src/prefs.cc
* src/prefs.h
* src/usage_text.h
2009-07-05 03:11:51 +00:00
Tatsuhiro Tsujikawa
051052e9e2
2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed the call to DiskAdaptor::onDownloadComplete() from
BtCheckIntegrityEntry and DefaultPieceStorage.
* src/BtCheckIntegrityEntry.cc
* src/DefaultPieceStorage.cc
2009-07-05 03:08:18 +00:00
Tatsuhiro Tsujikawa
cafd23a068
2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Commented out throw statements when number of piece is 0 to
download 0 length torrent.
* src/bittorrent_helper.cc
2009-07-04 15:39:20 +00:00
Tatsuhiro Tsujikawa
24d258cf66
2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Call RequestGroup::createNextCommandWithAdj() from
BtFileAllocationEntry if at least one FileEntry has URI. The
static function hasAssociatedUri in RequestGroup.cc is renamed as
isUriSuppliedForRequsetFileEntry() and placed in FileEntry.h.
* src/BtFileAllocationEntry.cc
* src/FileEntry.h
* src/RequestGroup.cc
2009-07-04 15:26:00 +00:00
Tatsuhiro Tsujikawa
f8fd518229
2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Generate peer ID after SimpleRandomizer is initialized.
* src/main.cc
* src/option_processing.cc
2009-07-04 15:20:18 +00:00
Tatsuhiro Tsujikawa
3f3e9c0ff0
2009-07-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed unused method argument.
* src/CreateRequestCommand.cc
* src/RequestGroup.cc
* src/RequestGroup.h
* src/RequestGroupMan.cc
* src/TrackerWatcherCommand.cc
2009-07-04 14:32:53 +00:00
Tatsuhiro Tsujikawa
a7c222b8ab
2009-07-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Made URI reusing function work.
* src/CreateRequestCommand.cc
* src/FileEntry.cc
* src/FileEntry.h
* test/FileEntryTest.cc
2009-07-04 13:36:56 +00:00
Tatsuhiro Tsujikawa
3a655a5d1a
2009-07-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Add formerly fastest PeerStat's sessionDownloadLength to new
fastest PeerStat and use _fastestPeerStats to calcuate downloaded
bytes in a session.
* src/PeerStat.cc
* src/SegmentMan.cc
2009-07-04 13:10:40 +00:00
Tatsuhiro Tsujikawa
2a2c8c5da0
2009-07-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
If pipelining is enabled, we can always pool socket.
* src/HttpDownloadCommand.cc
2009-07-04 10:22:44 +00:00
Tatsuhiro Tsujikawa
1052600862
2009-07-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
In a single file download, file size becomes known just after
downloading, set total length to FileEntry object when download
completed.
* src/DownloadCommand.cc
2009-07-03 16:13:43 +00:00
Tatsuhiro Tsujikawa
e1d63f3aea
2009-07-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Use std::vector::reserve() for fileEntries and pieceHashes in
bittorrent_helper
* src/bittorrent_helper.cc
2009-07-03 15:53:37 +00:00
Tatsuhiro Tsujikawa
e45a0e7e5f
2009-07-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed calls to Request::resetUrl() in AbstractCommand.cc.
Removed hidden option PREF_RESET_URI.
* src/AbstractCommand.cc
* src/OptionHandlerFactory.cc
* src/prefs.cc
* src/prefs.h
2009-07-03 15:38:29 +00:00
Tatsuhiro Tsujikawa
b46cf94601
2009-07-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed unused variable/function.
* src/PeerStat.h
2009-07-03 14:36:05 +00:00
Tatsuhiro Tsujikawa
e72c67a7ec
2009-07-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Show first URL in Download Results if file path is not available.
* src/FileEntry.h
2009-07-03 14:33:16 +00:00
Tatsuhiro Tsujikawa
130f830091
2009-07-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Throw exception if file path doesn't exist in FTP URL.
* src/InitiateConnectionCommandFactory.cc
2009-07-03 14:14:08 +00:00
Tatsuhiro Tsujikawa
63735eab8e
2009-07-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Refactored BitfieldMan::getSparseMissingUnusedIndex()
* src/BitfieldMan.cc
2009-07-02 16:44:31 +00:00
Tatsuhiro Tsujikawa
ffaeb271f9
2009-07-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Rewritten PeerStats handling in SegmentMan.cc. Now we have 2 list
of PeerStat in SegmentMan. peerStats is used for calculating
download speed. Therefore all active PeerStats should be in
there. Another one is _fastestPeerStats and it only contains
fastest PeerStat for each hostname/protocol pair. They are used
for updating ServerStat.
* src/DownloadCommand.cc
* src/Request.h
* src/RequestGroupMan.cc
* src/SegmentMan.cc
* src/SegmentMan.h
* test/SegmentManTest.cc
2009-07-02 16:26:04 +00:00
Tatsuhiro Tsujikawa
01fdb2aaeb
2009-07-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Try all available addresses returned by DNS until it gets
connected in HTTP(S)/FTP download
* src/AbstractCommand.cc
* src/AbstractCommand.h
* src/AbstractProxyRequestCommand.cc
* src/AbstractProxyRequestCommand.h
* src/DNSCache.h
* src/DownloadEngine.cc
* src/DownloadEngine.h
* src/FtpInitiateConnectionCommand.cc
* src/FtpInitiateConnectionCommand.h
* src/FtpNegotiationCommand.cc
* src/FtpNegotiationCommand.h
* src/HttpInitiateConnectionCommand.cc
* src/HttpInitiateConnectionCommand.h
* src/HttpRequestCommand.cc
* src/HttpRequestCommand.h
* src/InitiateConnectionCommand.cc
* src/InitiateConnectionCommand.h
* test/DNSCacheTest.cc
* test/Makefile.am
* test/SimpleDNSCacheTest.cc
2009-07-02 15:18:13 +00:00
Tatsuhiro Tsujikawa
8796993c71
2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated doc
* src/download_helper.cc
2009-07-01 14:54:42 +00:00
Tatsuhiro Tsujikawa
cf294a4162
2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Refactored fieldMan ctor.
* src/BitfieldMan.cc
* src/BitfieldMan.h
2009-07-01 14:52:02 +00:00
Tatsuhiro Tsujikawa
ebf8ff90d5
2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Don't print "No files to download." message if -S is given.
* src/main.cc
2009-07-01 14:40:42 +00:00
Tatsuhiro Tsujikawa
47309df04d
2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Set referer and method to newly created Request object.
* src/CreateRequestCommand.cc
* src/FileEntry.cc
* src/FileEntry.h
2009-07-01 14:11:04 +00:00
Tatsuhiro Tsujikawa
1812142da5
2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed ctor of AbstractCommand which doesn't take FileEntry.
* src/AbstractCommand.cc
* src/AbstractCommand.h
* src/CreateRequestCommand.cc
2009-07-01 13:48:10 +00:00
Tatsuhiro Tsujikawa
e6a7c952d1
2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Get proxy download working
* src/AbstractProxyRequestCommand.cc
* src/AbstractProxyRequestCommand.h
* src/AbstractProxyResponseCommand.cc
* src/AbstractProxyResponseCommand.h
* src/FtpInitiateConnectionCommand.cc
* src/FtpTunnelRequestCommand.cc
* src/FtpTunnelRequestCommand.h
* src/FtpTunnelResponseCommand.cc
* src/FtpTunnelResponseCommand.h
* src/HttpInitiateConnectionCommand.cc
* src/HttpProxyRequestCommand.cc
* src/HttpProxyRequestCommand.h
* src/HttpProxyResponseCommand.cc
* src/HttpProxyResponseCommand.h
2009-07-01 13:45:28 +00:00
Tatsuhiro Tsujikawa
c3934add2e
2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Use SegmentMan::getSegment(cuid) for single file download.
* src/AbstractCommand.cc
2009-07-01 13:26:58 +00:00
Tatsuhiro Tsujikawa
5562636c99
2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed bufSize calculation
* src/DownloadCommand.cc
2009-07-01 13:23:22 +00:00
Tatsuhiro Tsujikawa
30b65f79e7
2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Don't append "/" if base URI ends with "/".
* src/bittorrent_helper.cc
* test/url-list-multiFile.torrent
2009-06-30 17:20:34 +00:00
Tatsuhiro Tsujikawa
cf19dce855
2009-07-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
HTTP pipelining is now working. Fixed Segmention fault in
BitfieldMan's copy ctor.
* src/AbstractCommand.cc
* src/BitfieldMan.cc
* src/BitfieldMan.h
* src/DownloadCommand.cc
* src/HttpDownloadCommand.cc
* src/HttpRequest.cc
* src/SegmentMan.cc
* src/SegmentMan.h
* test/BitfieldManTest.cc
* test/SegmentManTest.cc
2009-06-30 17:03:57 +00:00
Tatsuhiro Tsujikawa
cece2bc896
2009-06-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed ServerHost. Same functionality is implemented using
FileEntry's in-flight Request objects.
* src/AbstractCommand.cc
* src/BtDependency.cc
* src/CreateRequestCommand.cc
* src/FileEntry.cc
* src/FileEntry.h
* src/FtpNegotiationCommand.cc
* src/HttpResponseCommand.cc
* src/Makefile.am
* src/Metalink2RequestGroup.cc
* src/RequestGroup.cc
* src/RequestGroup.h
* src/ServerHost.cc: Removed
* src/ServerHost.h: Removed
* test/BtDependencyTest.cc
* test/FileEntryTest.cc
* test/RequestGroupTest.cc
2009-06-29 16:43:41 +00:00
Tatsuhiro Tsujikawa
c4d79d7160
2009-06-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Rewritten PeerStat handling. In the previous implementation,
faster command tries to find slower command. In this new
implementation, slower command tries to find faster command.
PeerStat is now created in each HTTP/FTP request to get download
rate correctly. If the download range is small, the download rate
tends to small and this will occur at the later stage of download.
* src/AbstractCommand.cc
* src/DownloadCommand.cc
* src/FileEntry.cc
* src/FileEntry.h
* src/Request.cc
* src/Request.h
* src/RequestGroup.h
* src/RequestGroupMan.cc
* src/SegmentMan.cc
* src/SegmentMan.h
* test/SegmentManTest.cc
2009-06-29 15:18:21 +00:00
Tatsuhiro Tsujikawa
e82f870fdc
2009-06-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed _uris from RequestGroup. All functions that refer to _uris
were moved to FileEntry. Exit status code are now defined in
DownloadResultCode.h.
* src/AbstractCommand.cc
* src/AdaptiveURISelector.cc
* src/AdaptiveURISelector.h
* src/AutoSaveCommand.cc
* src/BtPostDownloadHandler.cc
* src/CheckIntegrityDispatcherCommand.cc
* src/CookieStorage.cc
* src/DHTAutoSaveCommand.cc
* src/DHTBucketRefreshCommand.cc
* src/DHTEntryPointNameResolveCommand.cc
* src/DHTInteractionCommand.cc
* src/DHTPeerAnnounceCommand.cc
* src/DHTTokenUpdateCommand.cc
* src/DlAbortEx.h
* src/DlRetryEx.h
* src/DownloadCommand.cc
* src/DownloadContext.h
* src/DownloadFailureException.h
* src/DownloadResult.h
* src/DownloadResultCode.h
* src/FeedbackURISelector.cc
* src/FeedbackURISelector.h
* src/FileEntry.cc
* src/FileEntry.h
* src/FtpNegotiationCommand.cc
* src/HttpListenCommand.cc
* src/HttpResponseCommand.cc
* src/HttpServerResponseCommand.cc
* src/HttpSkipResponseCommand.cc
* src/InOrderURISelector.cc
* src/InOrderURISelector.h
* src/Makefile.am
* src/Makefile.in
* src/Metalink2RequestGroup.cc
* src/MultiUrlRequestInfo.cc
* src/MultiUrlRequestInfo.h
* src/OptionHandlerFactory.cc
* src/PeerListenCommand.cc
* src/RecoverableException.h
* src/RequestGroup.cc
* src/RequestGroup.h
* src/RequestGroupMan.cc
* src/RequestGroupMan.h
* src/TimedHaltCommand.cc
* src/TrackerWatcherCommand.cc
* src/URIResult.cc
* src/URIResult.h
* src/URISelector.h
* src/XmlRpcMethodImpl.cc
* src/bittorrent_helper.cc
* src/bittorrent_helper.h
* src/download_helper.cc
* src/main.cc
* src/option_processing.cc
* test/BtDependencyTest.cc
* test/BtPostDownloadHandlerTest.cc
* test/CookieStorageTest.cc
* test/DefaultBtMessageDispatcherTest.cc
* test/DownloadHandlerFactoryTest.cc
* test/DownloadHelperTest.cc
* test/FeedbackURISelectorTest.cc
* test/FileEntryTest.cc
* test/InOrderURISelectorTest.cc
* test/Metalink2RequestGroupTest.cc
* test/MetalinkPostDownloadHandlerTest.cc
* test/RequestGroupManTest.cc
* test/RequestGroupTest.cc
* test/XmlRpcMethodTest.cc
2009-06-29 08:42:58 +00:00
Tatsuhiro Tsujikawa
8122399ca7
2009-06-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed MockBtContext.h
* test/Makefile.am
2009-06-28 10:50:45 +00:00
Tatsuhiro Tsujikawa
d2afc0ca8e
2009-06-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed _currentRequest from StreamCheckIntegrityEntry and
StreamFileAllocationEntry.
* src/AbstractCommand.cc
* src/HttpResponseCommand.cc
* src/RequestGroup.cc
* src/StreamCheckIntegrityEntry.cc
* src/StreamCheckIntegrityEntry.h
* src/StreamFileAllocationEntry.cc
* src/StreamFileAllocationEntry.h
2009-06-28 10:48:26 +00:00
Tatsuhiro Tsujikawa
5699b67526
2009-06-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Rewritten DownloadContext and removed SingleFileDownloadContext
and BtContext and its derived classes. BitTorrent specific
attributes are now set by DownloadContext::setAttribute() with key
bittorrent::BITTORRENT.
* src/AbstractBtMessage.cc
* src/AbstractBtMessage.h
* src/AbstractCommand.cc
* src/AbstractCommand.h
* src/AbstractProxyRequestCommand.cc
* src/AbstractProxyResponseCommand.cc
* src/ActivePeerConnectionCommand.cc
* src/ActivePeerConnectionCommand.h
* src/AnnounceList.cc
* src/BtCheckIntegrityEntry.cc
* src/BtConstants.h
* src/BtContext.h: Removed
* src/BtDependency.cc
* src/BtExtendedMessage.cc
* src/BtPieceMessage.cc
* src/BtPieceMessage.h
* src/BtPostDownloadHandler.cc
* src/BtRegistry.cc
* src/BtRegistry.h
* src/BtSetup.cc
* src/CheckIntegrityCommand.cc
* src/CheckIntegrityEntry.cc
* src/ChecksumCheckIntegrityEntry.cc
* src/ConsoleStatCalc.cc
* src/ContentTypeRequestGroupCriteria.cc
* src/DHTGetPeersCommand.cc
* src/DHTGetPeersCommand.h
* src/DHTPeerLookupTask.cc
* src/DHTPeerLookupTask.h
* src/DHTTaskFactory.h
* src/DHTTaskFactoryImpl.cc
* src/DHTTaskFactoryImpl.h
* src/DefaultBtAnnounce.cc
* src/DefaultBtAnnounce.h
* src/DefaultBtContext.cc: Removed
* src/DefaultBtContext.h: Removed
* src/DefaultBtInteractive.cc
* src/DefaultBtInteractive.h
* src/DefaultBtMessageDispatcher.cc
* src/DefaultBtMessageDispatcher.h
* src/DefaultBtMessageFactory.cc
* src/DefaultBtMessageFactory.h
* src/DefaultBtMessageReceiver.cc
* src/DefaultBtMessageReceiver.h
* src/DefaultBtProgressInfoFile.cc
* src/DefaultBtRequestFactory.cc
* src/DefaultBtRequestFactory.h
* src/DefaultExtensionMessageFactory.cc
* src/DefaultExtensionMessageFactory.h
* src/DefaultPeerStorage.cc
* src/DefaultPeerStorage.h
* src/DefaultPieceStorage.cc
* src/DefaultSegmentManFactory.cc
* src/DiskAdaptor.cc
* src/DiskAdaptor.h
* src/DownloadContext.cc
* src/DownloadContext.h
* src/DownloadEngine.cc
* src/DownloadEngineFactory.cc
* src/DownloadHandler.cc
* src/DownloadResult.h
* src/FileAllocationCommand.cc
* src/FileAllocationDispatcherCommand.cc
* src/FileAllocationEntry.cc
* src/FileEntry.h
* src/FillRequestGroupCommand.cc
* src/FtpDownloadCommand.cc
* src/FtpFinishDownloadCommand.cc
* src/FtpInitiateConnectionCommand.cc
* src/FtpNegotiationCommand.cc
* src/FtpTunnelRequestCommand.cc
* src/FtpTunnelResponseCommand.cc
* src/HandshakeExtensionMessage.cc
* src/HandshakeExtensionMessage.h
* src/HaveEraseCommand.cc
* src/HttpDownloadCommand.cc
* src/HttpInitiateConnectionCommand.cc
* src/HttpProxyRequestCommand.cc
* src/HttpProxyResponseCommand.cc
* src/HttpRequest.cc
* src/HttpRequest.h
* src/HttpRequestCommand.cc
* src/HttpResponseCommand.cc
* src/HttpServerBodyCommand.cc
* src/HttpServerCommand.cc
* src/HttpSkipResponseCommand.cc
* src/InitiateConnectionCommandFactory.cc
* src/InitiatorMSEHandshakeCommand.cc
* src/InitiatorMSEHandshakeCommand.h
* src/IteratableChecksumValidator.cc
* src/IteratableChecksumValidator.h
* src/IteratableChunkChecksumValidator.cc
* src/MSEHandshake.cc
* src/MSEHandshake.h
* src/Makefile.am
* src/Makefile.in
* src/Metalink2RequestGroup.cc
* src/MetalinkPostDownloadHandler.cc
* src/MultiDiskAdaptor.cc
* src/MultiDiskAdaptor.h
* src/MultiFileAllocationIterator.cc
* src/MultiUrlRequestInfo.cc
* src/PeerChokeCommand.cc
* src/PeerChokeCommand.h
* src/PeerInitiateConnectionCommand.cc
* src/PeerInitiateConnectionCommand.h
* src/PeerInteractionCommand.cc
* src/PeerInteractionCommand.h
* src/PeerReceiveHandshakeCommand.cc
* src/PieceHashCheckIntegrityEntry.cc
* src/RealtimeCommand.cc
* src/ReceiverMSEHandshakeCommand.cc
* src/RequestGroup.cc
* src/RequestGroup.h
* src/RequestGroupEntry.cc
* src/RequestGroupMan.cc
* src/SeedCheckCommand.cc
* src/SeedCheckCommand.h
* src/SegmentMan.cc
* src/ShareRatioSeedCriteria.h
* src/SingleFileDownloadContext.cc: Removed
* src/SingleFileDownloadContext.h: Removed
* src/SleepCommand.cc
* src/StreamCheckIntegrityEntry.cc
* src/TrackerWatcherCommand.cc
* src/TrackerWatcherCommand.h
* src/UnknownLengthPieceStorage.cc
* src/Util.cc
* src/Util.h
* src/XmlRpcMethodImpl.cc
* src/bittorrent_helper.cc
* src/bittorrent_helper.h
* src/download_helper.cc
* src/main.cc
* src/option_processing.cc
* test/BitfieldManTest.cc
* test/BittorrentHelperTest.cc
* test/BtCancelMessageTest.cc
* test/BtChokeMessageTest.cc
* test/BtDependencyTest.cc
* test/BtPieceMessageTest.cc
* test/BtPostDownloadHandlerTest.cc
* test/BtRegistryTest.cc
* test/BtRejectMessageTest.cc
* test/BtRequestMessageTest.cc
* test/DHTPeerAnnounceStorageTest.cc
* test/DefaultBtAnnounceTest.cc
* test/DefaultBtContextTest.cc: Removed
* test/DefaultBtMessageDispatcherTest.cc
* test/DefaultBtMessageFactoryTest.cc
* test/DefaultBtProgressInfoFileTest.cc
* test/DefaultBtRequestFactoryTest.cc
* test/DefaultExtensionMessageFactoryTest.cc
* test/DefaultPeerStorageTest.cc
* test/DefaultPieceStorageTest.cc
* test/DirectDiskAdaptorTest.cc
* test/DownloadContextTest.cc
* test/DownloadHandlerFactoryTest.cc
* test/DownloadHelperTest.cc
* test/HandshakeExtensionMessageTest.cc
* test/HttpRequestTest.cc
* test/HttpResponseTest.cc
* test/IteratableChecksumValidatorTest.cc
* test/IteratableChunkChecksumValidatorTest.cc
* test/MSEHandshakeTest.cc
* test/Makefile.am
* test/Makefile.in
* test/Metalink2RequestGroupTest.cc
* test/MetalinkPostDownloadHandlerTest.cc
* test/MockBtContext.h: Removed
* test/MockDHTTaskFactory.h
* test/MockDownloadContext.h: Removed
* test/MockPieceStorage.h
* test/MultiDiskAdaptorTest.cc
* test/MultiFileAllocationIteratorTest.cc
* test/RequestGroupManTest.cc
* test/RequestGroupTest.cc
* test/SegmentManTest.cc
* test/ShareRatioSeedCriteriaTest.cc
* test/SingleFileDownloadContextTest.cc: Removed
* test/UtilTest.cc
* test/XmlRpcMethodTest.cc
2009-06-28 10:37:15 +00:00
Tatsuhiro Tsujikawa
90471d6805
2009-06-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added experimental support of WEB-Seeding for multi-file torrent.
Due to fundamental changes in file handling in HTTP/FTP code, many
functions are not working: PeerStat, ServerHost, proxy..etc
* src/AbstractCommand.cc
* src/AbstractCommand.h
* src/BitfieldMan.cc
* src/BitfieldMan.h
* src/CreateRequestCommand.cc
* src/CreateRequestCommand.h
* src/DefaultPieceStorage.cc
* src/DefaultPieceStorage.h
* src/DownloadCommand.cc
* src/DownloadCommand.h
* src/DownloadContext.cc
* src/DownloadContext.h
* src/FileEntry.cc
* src/FileEntry.h
* src/FtpDownloadCommand.cc
* src/FtpDownloadCommand.h
* src/FtpFinishDownloadCommand.cc
* src/FtpFinishDownloadCommand.h
* src/FtpInitiateConnectionCommand.cc
* src/FtpInitiateConnectionCommand.h
* src/FtpNegotiationCommand.cc
* src/FtpNegotiationCommand.h
* src/FtpTunnelResponseCommand.cc
* src/HttpDownloadCommand.cc
* src/HttpDownloadCommand.h
* src/HttpInitiateConnectionCommand.cc
* src/HttpInitiateConnectionCommand.h
* src/HttpProxyResponseCommand.cc
* src/HttpRequest.cc
* src/HttpRequest.h
* src/HttpRequestCommand.cc
* src/HttpRequestCommand.h
* src/HttpResponseCommand.cc
* src/HttpResponseCommand.h
* src/HttpSkipResponseCommand.cc
* src/HttpSkipResponseCommand.h
* src/InitiateConnectionCommand.cc
* src/InitiateConnectionCommand.h
* src/InitiateConnectionCommandFactory.cc
* src/InitiateConnectionCommandFactory.h
* src/Makefile.am
* src/PieceStorage.h
* src/RequestGroup.cc
* src/RequestGroup.h
* src/RequestGroupMan.cc
* src/SegmentMan.cc
* src/SegmentMan.h
* src/SingleFileDownloadContext.h
* src/StreamFileAllocationEntry.cc
* src/TrackerWatcherCommand.cc
* src/UnknownLengthPieceStorage.cc
* src/UnknownLengthPieceStorage.h
* src/array_fun.h
* src/bitfield.h
* src/download_helper.cc
* test/DownloadContextTest.cc
* test/Makefile.am
* test/MockDownloadContext.h
2009-06-23 15:35:45 +00:00
Tatsuhiro Tsujikawa
6b2ab3ffc0
2009-06-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added tellWaiting XML-RPC method.
* src/SingleFileDownloadContext.cc
* src/XmlRpcMethodFactory.cc
* src/XmlRpcMethodImpl.cc
* src/XmlRpcMethodImpl.h
* test/XmlRpcMethodTest.cc
2009-06-23 15:14:24 +00:00
Tatsuhiro Tsujikawa
100ed86b5c
2009-06-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated CookieStorageTest
* test/CookieStorageTest.cc
2009-06-23 15:12:08 +00:00
Tatsuhiro Tsujikawa
4cfe156aa7
2009-06-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
In TLSContext::addClientKeyFile() and addTrustedCACertFile(),
handle excepion inside these functions.
* src/LibgnutlsTLSContext.cc
* src/LibgnutlsTLSContext.h
* src/LibsslTLSContext.cc
* src/LibsslTLSContext.h
* src/MultiUrlRequestInfo.cc
2009-06-21 10:41:50 +00:00
Tatsuhiro Tsujikawa
a60ba71f1e
2009-06-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added comment
* src/RequestGroup.cc
2009-06-21 10:36:59 +00:00
Tatsuhiro Tsujikawa
f3c79ebf05
2009-06-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
In CookieStorage::load() and saveNsFormat(), handle exception
inside the functions. When saving Cookies, first write temporary
file and after successful writes, then renames it to final
destination.
* src/CookieStorage.cc
* src/CookieStorage.h
* src/MultiUrlRequestInfo.cc
2009-06-21 10:26:14 +00:00
Tatsuhiro Tsujikawa
8d4f29d302
2009-06-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
The default value of --dir option is the absolute path to the
current directory. If getcwd() is failed, then it is ".", which is
the same value with old implementation. This change is necessary
because after daemon() call, the current working directory is
changed to /.
* src/File.cc
* src/File.h
* src/OptionHandlerFactory.cc
* src/option_processing.cc
2009-06-20 16:47:54 +00:00
Tatsuhiro Tsujikawa
3636345a25
2009-06-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Call daemon() with arguments(0,0), which means daemon() changes
current working directory to / and redirects stdin, stdout and
stderr to /dev/null.
* src/option_processing.cc
2009-06-20 16:17:00 +00:00
Tatsuhiro Tsujikawa
3177b0aa1c
2009-06-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Small performance optimizations.
* src/RequestGroupMan.cc
2009-06-20 16:09:04 +00:00
Tatsuhiro Tsujikawa
0b9c5a9165
2009-06-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added _xmlRpc member variable to RequestGroupMan to reduce the
number of call Option::getAsBool(PREF_ENABLE_XML_RPC)
* src/RequestGroupMan.cc
* src/RequestGroupMan.h
2009-06-20 03:19:23 +00:00
Tatsuhiro Tsujikawa
572f10af72
2009-06-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Call setStatus(STATUS_ONESHOT_REALTIME) from constructor. Call
setNoWiat(true) if newly created command calls
setStatus(STATUS_ONESHOT_REALTIME) from its constructor.
* src/HttpListenCommand.cc
* src/HttpServerBodyCommand.cc
* src/HttpServerCommand.cc
* src/HttpServerResponseCommand.cc
* src/InitiateConnectionCommand.cc
* src/RequestGroup.cc
* src/StreamFileAllocationEntry.cc
2009-06-20 02:33:42 +00:00
Tatsuhiro Tsujikawa
34b3d88795
2009-06-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed include vector
* src/BtRegistry.h
2009-06-17 12:04:03 +00:00
Tatsuhiro Tsujikawa
eaf5217de7
2009-06-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Rewritten BtRegistry
* src/BtRegistry.cc
* src/BtRegistry.h
* src/BtSetup.cc
* src/ConsoleStatCalc.cc
* src/PeerInteractionCommand.cc
* src/PeerReceiveHandshakeCommand.cc
* src/ReceiverMSEHandshakeCommand.cc
* src/RequestGroup.cc
* src/XmlRpcMethodImpl.cc
* test/BtRegistryTest.cc
2009-06-17 11:51:44 +00:00
Tatsuhiro Tsujikawa
5e835ae885
2009-06-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Used array_ptr for savedInfoHash, savedBitfield and pieceBitfield.
* src/DefaultBtProgressInfoFile.cc
2009-06-14 12:19:52 +00:00
Tatsuhiro Tsujikawa
a28f19befb
2009-06-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Throw an exception if position is less than 0.
* src/XmlRpcMethodImpl.cc
* test/XmlRpcMethodTest.cc
2009-06-14 11:29:46 +00:00
Tatsuhiro Tsujikawa
daf0c5ee73
2009-06-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Use writeFilePath() in ConsoleStatCalc.cc
* src/ConsoleStatCalc.cc
2009-06-14 11:22:51 +00:00
Tatsuhiro Tsujikawa
85db426de5
2009-06-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Receive the return value as const reference from
DownloadContext::getFileEntries().
* src/DefaultPieceStorage.cc
* src/RequestGroupMan.cc
* src/XmlRpcMethodImpl.cc
2009-06-14 11:17:20 +00:00
Tatsuhiro Tsujikawa
39472a64eb
2009-06-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
DownloadContext now has _fileEntries so that
DownloadContext::getFileEntries() can returns its const reference.
* src/DefaultBtContext.cc
* src/DefaultBtContext.h
* src/DownloadContext.cc
* src/DownloadContext.h
* src/SingleFileDownloadContext.cc
* src/SingleFileDownloadContext.h
2009-06-14 11:12:20 +00:00
Tatsuhiro Tsujikawa
9120e79ff1
2009-06-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Moved getFirstRequestedFileEntry(), countRequestedFileEntry() and
writeFilePath() function template from RequestGroupMan.cc to
FileEntry.h
* src/FileEntry.h
* src/RequestGroupMan.cc
2009-06-14 09:45:44 +00:00
Tatsuhiro Tsujikawa
1c070ed66e
2009-06-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Documented 'position' parameter is starting from 0 in man page.
* doc/aria2c.1.txt
2009-06-14 07:22:16 +00:00
Tatsuhiro Tsujikawa
d98e740dac
2009-06-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated doc.
* src/MSEHandshake.cc
2009-06-12 14:40:21 +00:00
Tatsuhiro Tsujikawa
3300aec6ff
2009-06-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed _acceptFeatures and its accessor functions from
RequestGroup since they are not used practically.
* src/HttpRequestCommand.cc
* src/RequestGroup.cc
* src/RequestGroup.h
2009-06-12 14:20:37 +00:00
Tatsuhiro Tsujikawa
5fe5c37897
2009-06-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed member _maxTries from RequestGroup class to avoid
duplicate option value. Those classes who refer this variable
should use option value of PREF_MAX_TRIES directly.
* src/AbstractCommand.cc
* src/RequestGroup.cc
* src/RequestGroup.h
* src/TrackerWatcherCommand.cc
2009-06-12 14:12:54 +00:00
Tatsuhiro Tsujikawa
06311b0baa
2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
* Release 1.4.1
2009-06-07 13:03:01 +00:00
Tatsuhiro Tsujikawa
8adb77dc29
2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed compiler warnings on netbsd
* src/DHTConnectionImpl.cc
* src/PeerListenCommand.cc
* src/PeerSessionResource.cc
* src/SegmentMan.cc
2009-06-07 12:36:27 +00:00
Tatsuhiro Tsujikawa
1ef8ea3263
2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated Ukrainian translation. Thanks to all translators.
* po/uk.po
2009-06-07 08:23:30 +00:00
Tatsuhiro Tsujikawa
1f35ea536a
2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Bump up version number to 1.4.1.
* configure.ac
2009-06-07 07:52:40 +00:00
Tatsuhiro Tsujikawa
b345f76607
2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added unit tests for strjoin, strconcat and strappend.
* test/a2functionalTest.cc
2009-06-07 07:50:50 +00:00
Tatsuhiro Tsujikawa
9be97eebb5
2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Rewritten strconcat and strappend using operator+ instead of
append().
* src/a2functional.h
2009-06-07 07:49:39 +00:00
Tatsuhiro Tsujikawa
c42cea4bcd
2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Compile bencode.cc and BencodeTest.cc only if BitTorrent support
is enabled.
* src/Makefile.am
* test/Makefile.am
2009-06-07 05:36:44 +00:00
Tatsuhiro Tsujikawa
b922020985
2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added countSeeder() function which counts seeder in the given
iterator range. Use it in ConsoleStatCalc and XmlRpcMethodImpl.
* src/ConsoleStatCalc.cc
* src/Peer.h
* src/XmlRpcMethodImpl.cc
* test/PeerTest.cc
2009-06-07 05:34:10 +00:00
Tatsuhiro Tsujikawa
4dc9217bb6
2009-06-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Documented missing seeder in getPeers xml-rpc method.
Documented uploadLength and numSeeders.
* doc/aria2c.1.txt
2009-06-06 14:42:24 +00:00
Tatsuhiro Tsujikawa
9d910c47c2
2009-06-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added uploadLength and numSeeders to the response of tellStatus
xml-rpc method. Assert that PeerStorage instance is not null
instead of checking if statement. It should be non-null in this
context.
* src/XmlRpcMethodImpl.cc
2009-06-06 14:40:32 +00:00
Tatsuhiro Tsujikawa
f36ef2d26d
2009-06-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Use htmlEscape instead of xmlEscape. Removed static function xmlEscape.
* src/XmlRpcResponse.cc
2009-06-06 13:39:36 +00:00
Tatsuhiro Tsujikawa
c7275bd978
2009-06-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Avoid intermediate object during string concatenation.
* src/HttpRequest.cc
2009-06-06 13:34:48 +00:00
Tatsuhiro Tsujikawa
a8c278d026
2009-06-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added strjoin function template. Use it in pathJoin()
* src/Util.h
* src/a2functional.h
2009-06-06 12:48:05 +00:00
Tatsuhiro Tsujikawa
3bb2e3b07e
2009-06-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Avoid intermediate object during string concatenation. Replaced
post-increment unary operator with pre-increment one in for loop.
* src/AdaptiveURISelector.cc
* src/AnnounceList.cc
* src/AuthConfig.h
* src/BtBitfieldMessage.cc
* src/BtExtendedMessage.cc
* src/BtHandshakeMessage.cc
* src/BtPieceMessage.cc
* src/BtPortMessage.cc
* src/Cookie.cc
* src/DHTAnnouncePeerMessage.cc
* src/DHTAutoSaveCommand.cc
* src/DHTGetPeersReplyMessage.cc
* src/DHTNode.cc
* src/DHTQueryMessage.cc
* src/DHTResponseMessage.cc
* src/DHTUnknownMessage.cc
* src/DefaultBtAnnounce.cc
* src/DefaultBtContext.cc
* src/DefaultBtInteractive.cc
* src/DefaultBtProgressInfoFile.cc
* src/DefaultPeerStorage.cc
* src/DownloadEngine.cc
* src/FeatureConfig.cc
* src/File.cc
* src/FtpConnection.cc
* src/FtpNegotiationCommand.cc
* src/HandshakeExtensionMessage.cc
* src/HttpConnection.cc
* src/HttpRequest.cc
* src/HttpResponseCommand.cc
* src/HttpServer.cc
* src/IndexBtMessage.cc
* src/Metalink2RequestGroup.cc
* src/OptionHandlerImpl.h
* src/PStringBuildVisitor.cc
* src/Peer.cc
* src/PeerListenCommand.cc
* src/Piece.cc
* src/RangeBtMessage.cc
* src/Request.cc
* src/Request.h
* src/RequestGroup.cc
* src/RequestGroupMan.cc
* src/ServerStat.cc
* src/ServerStatMan.cc
* src/UTPexExtensionMessage.cc
* src/Util.cc
* src/a2functional.h
* src/download_helper.cc
* src/messageDigest.cc
2009-06-06 12:33:07 +00:00
Tatsuhiro Tsujikawa
997f96d864
2009-06-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Unchoke a peer randomly at first and second choke round in seed
state.
* src/BtSeederStateChoke.cc
2009-06-04 12:07:27 +00:00
Ross Smith II
c2f20e1e3a
Added (sock_t) to quiet compiler warnings in MinGW
...
* src/SocketCore.cc
* src/SocketCore.h
2009-06-02 03:27:52 +00:00
Tatsuhiro Tsujikawa
3455fca9ca
2009-06-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added missing #ifdef ENABLE_ASYNC_DNS guard.
* src/EpollEventPoll.h
2009-06-01 15:49:29 +00:00
Ross Smith II
e69889803a
Added fork() emulation using CreateProcess() in MinGW
2009-06-01 02:30:28 +00:00
Tatsuhiro Tsujikawa
740a5aa51b
2009-06-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
* Release 1.4.0
2009-05-31 15:21:53 +00:00
Tatsuhiro Tsujikawa
ff75691da6
2009-06-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added utf8.torrent to EXTRA_DIST
* test/Makefile.am
2009-05-31 15:15:35 +00:00
Tatsuhiro Tsujikawa
5e23c3b6a2
2009-05-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed docs of aria2.addMetalink xml-rpc method.
* doc/aria2c.1.txt
2009-05-31 14:10:55 +00:00
Tatsuhiro Tsujikawa
c50acf0cc4
2009-05-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added Slovak translation. Updated Ukrainian and Brazilian
Portuguese translation. Thanks to all translators.
* po/sk.po
* po/uk.po
* po/pt_BR.po
* po/LINGUAS
2009-05-31 13:16:57 +00:00
Tatsuhiro Tsujikawa
0373ae325e
2009-05-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added test case for XmlRpcProcessor to fail to parse malformed
document.
* test/XmlRpcRequestProcessorTest.cc
2009-05-31 08:02:42 +00:00
Tatsuhiro Tsujikawa
a4346f0620
2009-05-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed *.gmo files in po because they are generated on 'make
dist'
* po/*.gmo
2009-05-30 14:56:46 +00:00
Tatsuhiro Tsujikawa
abdb6249bf
2009-05-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Documented max-concurrent-downloads of changeGlobalOption method
in man page.
* doc/aria2c.1.txt
2009-05-30 14:29:54 +00:00
Tatsuhiro Tsujikawa
a9189ee7d9
2009-05-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added max-concurrent-downloads option to changeGlobalOption
xml-rpc method. Rewritten loop conditional in
RequestGroupMan::fillRequestGroupFromReserver().
* src/RequestGroupMan.cc
* src/RequestGroupMan.h
* src/XmlRpcMethod.cc
* src/XmlRpcMethodImpl.cc
2009-05-30 14:28:18 +00:00
Tatsuhiro Tsujikawa
f7b774223f
Fixed date
2009-05-30 14:12:42 +00:00
Tatsuhiro Tsujikawa
c1549cbc65
2009-05-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Documented position parameter in man page.
* doc/aria2c.1.txt
2009-05-30 14:00:12 +00:00
Tatsuhiro Tsujikawa
960bab86c7
2009-05-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added 'position' parameter to addUri, addTorrent and addMetalink
xml-rpc method.
* src/RequestGroupMan.cc
* src/RequestGroupMan.h
* src/XmlRpcMethodImpl.cc
* test/XmlRpcMethodTest.cc
2009-05-30 13:55:14 +00:00
Tatsuhiro Tsujikawa
918c6bf38d
2009-05-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed Peer.cc from compile source list when --disable-bittorrent
is specified. Added #ifdef ENABLE_BITTORRENT guard to methods that
takes Peer.
* src/DefaultPieceStorage.cc
* src/DefaultPieceStorage.h
* src/Makefile.am
* src/PieceStorage.h
* src/UnknownLengthPieceStorage.cc
* src/UnknownLengthPieceStorage.h
* test/MockPieceStorage.h
2009-05-29 12:32:17 +00:00
Tatsuhiro Tsujikawa
8b6da1ee36
2009-05-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Implemented getter methods in header files to give them more
chance of optimization.
Return const reference for SharadHandle if possible.
* src/AbstractAuthResolver.cc
* src/AbstractAuthResolver.h
* src/AbstractBtMessage.cc
* src/AbstractBtMessage.h
* src/AbstractSingleDiskAdaptor.cc
* src/AbstractSingleDiskAdaptor.h
* src/AsyncNameResolver.cc
* src/AsyncNameResolver.h
* src/BNode.cc
* src/BNode.h
* src/BitfieldMan.cc
* src/BitfieldMan.h
* src/BtAbortOutstandingRequestEvent.h
* src/BtExtendedMessage.cc
* src/BtExtendedMessage.h
* src/BtSeederStateChoke.cc
* src/BtSeederStateChoke.h
* src/Cookie.cc
* src/Cookie.h
* src/DHTBucket.cc
* src/DHTBucket.h
* src/DHTConnectionImpl.cc
* src/DHTConnectionImpl.h
* src/DHTFindNodeReplyMessage.cc
* src/DHTFindNodeReplyMessage.h
* src/DHTGetPeersReplyMessage.cc
* src/DHTGetPeersReplyMessage.h
* src/DHTInteractionCommand.cc
* src/DHTMessage.cc
* src/DHTMessage.h
* src/DHTMessageDispatcherImpl.cc
* src/DHTMessageEntry.cc
* src/DHTMessageReceiver.cc
* src/DHTMessageReceiver.h
* src/DHTMessageTrackerEntry.cc
* src/DHTMessageTrackerEntry.h
* src/DHTPeerAnnounceEntry.cc
* src/DHTPeerAnnounceEntry.h
* src/DHTPeerLookupTask.cc
* src/DHTPeerLookupTask.h
* src/DHTRoutingTableDeserializer.cc
* src/DHTRoutingTableDeserializer.h
* src/DefaultBtAnnounce.cc
* src/DefaultBtAnnounce.h
* src/DefaultBtMessageDispatcher.cc
* src/DefaultBtMessageDispatcher.h
* src/DefaultBtRequestFactory.cc
* src/DefaultBtRequestFactory.h
* src/DiskAdaptor.cc
* src/DiskAdaptor.h
* src/DownloadContext.cc
* src/DownloadContext.h
* src/DownloadEngine.cc
* src/DownloadEngine.h
* src/EpollEventPoll.cc
* src/EpollEventPoll.h
* src/FtpConnection.cc
* src/FtpConnection.h
* src/HttpConnection.cc
* src/HttpConnection.h
* src/HttpHeader.cc
* src/HttpHeader.h
* src/HttpRequest.cc
* src/HttpRequest.h
* src/HttpResponse.cc
* src/HttpResponse.h
* src/LibsslTLSContext.cc
* src/LibsslTLSContext.h
* src/MSEHandshake.cc
* src/MSEHandshake.h
* src/MetalinkEntry.cc
* src/MetalinkEntry.h
* src/MetalinkParserController.cc
* src/MetalinkParserController.h
* src/MetalinkParserStateMachine.cc
* src/MetalinkParserStateMachine.h
* src/MultiDiskAdaptor.cc
* src/MultiDiskAdaptor.h
* src/NetrcAuthResolver.cc
* src/NetrcAuthResolver.h
* src/Peer.cc
* src/Peer.h
* src/PeerSessionResource.cc
* src/PeerSessionResource.h
* src/Piece.cc
* src/Piece.h
* src/PieceStatMan.cc
* src/PieceStatMan.h
* src/Request.cc
* src/Request.h
* src/RequestGroup.cc
* src/RequestGroup.h
* src/RequestGroupMan.cc
* src/RequestGroupMan.h
* src/RequestSlot.cc
* src/RequestSlot.h
* src/SegmentMan.cc
* src/SegmentMan.h
* src/SelectEventPoll.cc
* src/SelectEventPoll.h
* src/ServerStat.cc
* src/ServerStat.h
* src/Signature.cc
* src/Signature.h
* src/URIResult.cc
* src/URIResult.h
* src/UTPexExtensionMessage.cc
* src/UTPexExtensionMessage.h
2009-05-29 12:12:22 +00:00
Tatsuhiro Tsujikawa
30f362319e
2009-05-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed compile error without BitTorrent and Metalink support.
* src/XmlRpcMethod.cc
* src/XmlRpcMethodFactory.cc
* src/XmlRpcMethodImpl.cc
* src/XmlRpcMethodImpl.h
* test/XmlRpcMethodTest.cc
2009-05-27 17:27:05 +00:00
Tatsuhiro Tsujikawa
7a8e2fdadb
2009-05-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Rewritten the help message for --allow-overwrite option.
* doc/aria2c.1.txt
* src/usage_text.h
2009-05-27 12:58:33 +00:00
Tatsuhiro Tsujikawa
afe1d551e8
2009-05-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed typo
* doc/aria2c.1.txt
* src/usage_text.h
2009-05-27 12:51:12 +00:00
Tatsuhiro Tsujikawa
861ada066f
2009-05-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated README for 1.4.0 release. Use new table syntax of
asciidoc.
* README
2009-05-26 15:53:39 +00:00
Tatsuhiro Tsujikawa
1c1ec3bd6d
2009-05-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Documented --xml-rpc-max-request-size option in man page.
* doc/aria2c.1.txt
2009-05-26 15:45:34 +00:00
Tatsuhiro Tsujikawa
fcf183cc84
2009-05-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Moved C_* constants from BtContext to DefaultBtContext.
* src/BtContext.cc: Removed.
* src/BtContext.h
* src/DefaultBtContext.cc
* src/DefaultBtContext.h
* src/Makefile.am
2009-05-26 15:36:57 +00:00
Tatsuhiro Tsujikawa
41df4b5e28
2009-05-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Use name.utf-8 and path.utf-8 key in higher priority than name and
path key respectively when persing .torrent file.
* src/BtContext.cc
* src/BtContext.h
* src/DefaultBtContext.cc
* test/DefaultBtContextTest.cc
* test/utf8.torrent
2009-05-26 15:28:48 +00:00
Tatsuhiro Tsujikawa
544732b124
2009-05-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added --xml-rpc-max-request-size option to limit the size of
XML-RPC request.
2009-05-26 14:38:11 +00:00
Tatsuhiro Tsujikawa
4c1ed46094
2009-05-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Documented XML-RPC API in man page.
* doc/aria2c.1.txt
2009-05-26 14:16:01 +00:00
Tatsuhiro Tsujikawa
a933438401
2009-05-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed g++-4.4 compiler warning: dereferencing type-punned pointer
will break strict-aliasing rules
* src/PeerConnection.cc
* test/DHTRoutingTableSerializerTest.cc
2009-05-23 15:48:20 +00:00
Tatsuhiro Tsujikawa
50060985c3
2009-05-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed PKG_CONFIG variable in sqlite3.m4, which conflicts the
variable in pkg.m4. Use PKG_CHECK_MODULES instead of hand-crafted
scripts. Renamed SQLITE3_CPPFLAGS as SQLITE3_CFLAGS since
PKG_CHECK_MODULES macro uses latter name.
* m4/sqlite3.m4
* src/Makefile.am
* test/Makefile.am
2009-05-23 06:20:29 +00:00
Tatsuhiro Tsujikawa
b60f5d7338
2009-05-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed typo
* configure.ac
2009-05-23 05:22:05 +00:00
Tatsuhiro Tsujikawa
aafbe6f74b
2009-05-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Since upcoming libgnutls 2.8 doesn't have libgnutls-config, Check
presence of libgnutls using pkg-config first. If it fails, fall
back to old macro libgnutls.m4.
* configure.ac
2009-05-23 05:20:21 +00:00
Tatsuhiro Tsujikawa
d99ca899ef
2009-05-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Use s itself instead of !s.bad()
* src/CookieStorage.cc
2009-05-22 16:09:37 +00:00
Tatsuhiro Tsujikawa
7567ff8188
2009-05-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Documented --on-download-* option and --save-cookies option in man
page.
* doc/aria2c.1.txt
2009-05-22 15:03:45 +00:00
Tatsuhiro Tsujikawa
e1775040b6
2009-05-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Set possible values for --load-cookie option to "/path/to/file".
* src/OptionHandlerFactory.cc
2009-05-22 15:02:16 +00:00
Tatsuhiro Tsujikawa
383b12d7f1
2009-05-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added --save-cookies option.
* src/Cookie.cc
* src/Cookie.h
* src/CookieStorage.cc
* src/CookieStorage.h
* src/MultiUrlRequestInfo.cc
* src/OptionHandlerFactory.cc
* src/prefs.cc
* src/prefs.h
* src/usage_text.h
* test/CookieStorageTest.cc
* test/CookieTest.cc
2009-05-22 14:51:57 +00:00
Tatsuhiro Tsujikawa
5bad3a1c91
2009-05-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed tellAll XML-RPC command because its reponse tends to be
big if stopped/waiting downloads pile up.
* src/XmlRpcMethodFactory.cc
* src/XmlRpcMethodImpl.cc
* src/XmlRpcMethodImpl.h
2009-05-22 13:48:52 +00:00
Tatsuhiro Tsujikawa
48a7e5868f
2009-05-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added the ability to execute command when download starts and
stops. You can also specify command for particular cases such as
complete/error download. Added --on-download-start,
--on-download-stop, --on-download-complete and --on-download-error
option.
* src/OptionHandlerFactory.cc
* src/RequestGroupMan.cc
* src/prefs.cc
* src/prefs.h
* src/usage_text.h
2009-05-22 13:43:07 +00:00
Tatsuhiro Tsujikawa
fbb2613379
2009-05-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added unit tests.
* test/XmlRpcMethodTest.cc
2009-05-22 12:28:32 +00:00