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
Tatsuhiro Tsujikawa
4259514395
2009-05-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Made exception message more verbose.
* src/bencode.cc
2009-05-22 12:27:17 +00:00
Tatsuhiro Tsujikawa
a839b42747
2009-05-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Abbreviated KiB/s to KiBs and its precision decreased to 1 to save
space in console readout. Also they are now shown in MiB/s if
speed > 1024KiB/s.
* src/ConsoleStatCalc.cc
2009-05-19 12:08:13 +00:00
Tatsuhiro Tsujikawa
579457eae0
2009-05-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added SEED to console output, which represents the number of
seeders currently the client is connecting to.
* src/ConsoleStatCalc.cc
* src/ConsoleStatCalc.h
* src/DownloadEngine.cc
* src/NullStatCalc.h
* src/StatCalc.h
2009-05-19 11:29:23 +00:00
Tatsuhiro Tsujikawa
20e215047c
2009-05-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added source filename(__FILE__) and line number(__LINE__) to
exception message.
* src/AbstractCommand.cc
* src/AbstractDiskWriter.cc
* src/AbstractProxyResponseCommand.cc
* src/BDE.h
* src/BtAllowedFastMessage.cc
* src/BtHandshakeMessageValidator.h
* src/BtHaveAllMessage.cc
* src/BtHaveNoneMessage.cc
* src/BtPieceMessage.cc
* src/BtRejectMessage.cc
* src/ChunkedDecoder.cc
* src/CookieStorage.cc
* src/DHTAnnouncePeerMessage.cc
* src/DHTEntryPointNameResolveCommand.cc
* src/DHTMessageFactoryImpl.cc
* src/DHTMessageTracker.cc
* src/DHTRoutingTableDeserializer.cc
* src/DHTRoutingTableSerializer.cc
* src/DHTSetup.cc
* src/DHTTokenTracker.cc
* src/DefaultBtAnnounce.cc
* src/DefaultBtContext.cc
* src/DefaultBtInteractive.cc
* src/DefaultBtMessageFactory.cc
* src/DefaultBtProgressInfoFile.cc
* src/DefaultExtensionMessageFactory.cc
* src/DlAbortEx.h
* src/DlRetryEx.h
* src/DownloadCommand.cc
* src/DownloadEngineFactory.cc
* src/DownloadFailureException.h
* src/Exception.cc
* src/Exception.h
* src/ExpatMetalinkProcessor.cc
* src/ExpatXmlRpcRequestProcessor.cc
* src/FallocFileAllocationIterator.cc
* src/FatalException.h
* src/FtpConnection.cc
* src/FtpFinishDownloadCommand.cc
* src/FtpInitiateConnectionCommand.cc
* src/FtpNegotiationCommand.cc
* src/GZipDecoder.cc
* src/HandshakeExtensionMessage.cc
* src/HttpConnection.cc
* src/HttpHeaderProcessor.cc
* src/HttpInitiateConnectionCommand.cc
* src/HttpResponse.cc
* src/HttpResponseCommand.cc
* src/HttpServer.cc
* src/HttpSkipResponseCommand.cc
* src/InitiateConnectionCommandFactory.cc
* src/IteratableChunkChecksumValidator.cc
* src/LibgcryptARC4Context.h
* src/LibgcryptARC4Decryptor.h
* src/LibgcryptARC4Encryptor.h
* src/LibgcryptDHKeyExchange.h
* src/LibgnutlsTLSContext.cc
* src/LibsslARC4Context.h
* src/LibsslARC4Decryptor.h
* src/LibsslARC4Encryptor.h
* src/LibsslDHKeyExchange.h
* src/LibsslTLSContext.cc
* src/MSEHandshake.cc
* src/MessageDigestHelper.cc
* src/MetalinkHelper.cc
* src/MultiDiskAdaptor.cc
* src/NameMatchOptionHandler.h
* src/NameResolver.cc
* src/Netrc.cc
* src/NsCookieParser.cc
* src/OptionHandlerException.cc
* src/OptionHandlerException.h
* src/OptionHandlerImpl.h
* src/OptionParser.cc
* src/ParameterizedStringParser.cc
* src/PeerAbstractCommand.cc
* src/PeerConnection.cc
* src/PeerMessageUtil.cc
* src/PeerReceiveHandshakeCommand.cc
* src/Platform.cc
* src/ReceiverMSEHandshakeCommand.cc
* src/RecoverableException.h
* src/RequestGroup.cc
* src/SimpleLogger.cc
* src/SocketCore.cc
* src/Sqlite3MozCookieParser.cc
* src/UTPexExtensionMessage.cc
* src/Util.cc
* src/XML2SAXMetalinkProcessor.cc
* src/Xml2XmlRpcRequestProcessor.cc
* src/XmlRpcMethodImpl.cc
* src/bencode.cc
* src/download_helper.cc
* src/messageDigest.h
* test/ExceptionTest.cc
* test/TestUtil.cc
2009-05-18 15:07:15 +00:00
Tatsuhiro Tsujikawa
770d84cec4
2009-05-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Bump up version number to 1.4.0
* configure.ac
2009-05-16 07:58:43 +00:00
Tatsuhiro Tsujikawa
2b6e87b42e
2009-05-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added 2files.metalink to EXTRA_DIST
* test/Makefile.am
2009-05-16 07:45:04 +00:00
Tatsuhiro Tsujikawa
bead3edccb
2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added missing 2files.metalink
* test/2files.metalink
2009-05-15 10:15:52 +00:00
Tatsuhiro Tsujikawa
86f27fed57
2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Show "[MEMORY]" prefix before filename in download summary if it
is downloaded into memory.
* src/DownloadResult.h
* src/RequestGroup.cc
* src/RequestGroupMan.cc
2009-05-15 09:15:07 +00:00
Tatsuhiro Tsujikawa
ee75995198
2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Defined MSG_CANNOT_PARSE_XML_RPC_REQUEST
* src/ExpatXmlRpcRequestProcessor.cc
* src/Xml2XmlRpcRequestProcessor.cc
* src/message.h
2009-05-15 08:56:34 +00:00
Tatsuhiro Tsujikawa
389866621f
2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Defined const BDEs to avoid duplicate instantiation.
Defined MSG_GID_NOT_PROVIDED.
* src/XmlRpcMethodImpl.cc
* src/message.h
2009-05-15 08:53:05 +00:00
Tatsuhiro Tsujikawa
409aa477ee
2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Code cleanup
* src/Xml2XmlRpcRequestProcessor.cc
* src/Xml2XmlRpcRequestProcessor.h
2009-05-15 08:39:28 +00:00
Tatsuhiro Tsujikawa
0666b1ea98
2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Defined ENABLE_XML_RPC
* configure.ac
* configure
* config.h.in
2009-05-15 08:24:56 +00:00
Tatsuhiro Tsujikawa
549864bc1c
2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added ExpatXmlRpcRequestProcessor
* src/ExpatXmlRpcRequestProcessor.cc
* src/ExpatXmlRpcRequestProcessor.h
* src/Makefile.am
2009-05-15 08:21:55 +00:00
Tatsuhiro Tsujikawa
672b70f6c9
2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added tests for addTorrent and addMetalink command.
* test/TestUtil.cc
* test/TestUtil.h
* test/XmlRpcMethodTest.cc
2009-05-15 05:20:11 +00:00
Tatsuhiro Tsujikawa
59c1a80888
2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Corrected the description of --file-allocation option.
* doc/aria2c.1.txt
2009-05-14 16:06:34 +00:00
Tatsuhiro Tsujikawa
ddb5d4a8cb
2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added tellAll command.
* src/XmlRpcMethodFactory.cc
* src/XmlRpcMethodImpl.cc
* src/XmlRpcMethodImpl.h
2009-05-14 16:00:55 +00:00
Tatsuhiro Tsujikawa
1312c535be
2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Use gatherProgress() in TellActiveXmlRpcMethod::process().
* src/XmlRpcMethodImpl.cc
2009-05-14 15:49:46 +00:00
Tatsuhiro Tsujikawa
3e2ccbf359
2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added changeGlobalOption command. Currently,
max-overall-download-limit and max-overall-upload-limit option are
available.
* src/RequestGroupMan.h
* src/XmlRpcMethod.cc
* src/XmlRpcMethod.h
* src/XmlRpcMethodFactory.cc
* src/XmlRpcMethodImpl.cc
* src/XmlRpcMethodImpl.h
* test/XmlRpcMethodTest.cc
2009-05-14 15:44:59 +00:00
Tatsuhiro Tsujikawa
850458f7b1
2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added changeOption command. Currently, max-download-limit,
max-upload-limit option are available in this command.
* src/RequestGroup.h
* src/XmlRpcMethod.cc
* src/XmlRpcMethod.h
* src/XmlRpcMethodFactory.cc
* src/XmlRpcMethodImpl.cc
* src/XmlRpcMethodImpl.h
* test/XmlRpcMethodTest.cc
2009-05-14 15:23:50 +00:00
Tatsuhiro Tsujikawa
692c4eaf3e
2009-05-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added purgeDownloadResult command.
* src/RequestGroupMan.cc
* src/RequestGroupMan.h
* src/XmlRpcMethodFactory.cc
* src/XmlRpcMethodImpl.cc
* src/XmlRpcMethodImpl.h
2009-05-14 13:48:26 +00:00
Tatsuhiro Tsujikawa
e332ef3e1c
2009-05-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Refactored.
* src/XmlRpcMethod.cc
2009-05-14 13:29:17 +00:00
Tatsuhiro Tsujikawa
92b3f57ac9
2009-05-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added XmlRpcResponse class. XmlRpcMethod::execute() now returns
XmlRpcResponse.
* src/HttpServerBodyCommand.cc
* src/Makefile.am
* src/XmlRpcMethod.cc
* src/XmlRpcMethod.h
* src/XmlRpcMethodImpl.cc
* src/XmlRpcResponse.cc
* src/XmlRpcResponse.h
* test/XmlRpcMethodTest.cc
2009-05-14 12:59:52 +00:00
Tatsuhiro Tsujikawa
dd6d098ccb
2009-05-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
In XML-RPC option struct, header and index-out option can take
array as value.
* src/XmlRpcMethod.cc
2009-05-13 15:23:01 +00:00
Tatsuhiro Tsujikawa
cdd65e8cca
2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed unused option member from PeerConnection.
* src/InitiatorMSEHandshakeCommand.cc
* src/PeerConnection.cc
* src/PeerConnection.h
* src/PeerInteractionCommand.cc
* src/PeerReceiveHandshakeCommand.cc
* src/ReceiverMSEHandshakeCommand.cc
2009-05-13 14:50:48 +00:00
Tatsuhiro Tsujikawa
d9fe4fb845
2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added "seeder" key to getPeers response.
* src/XmlRpcMethodImpl.cc
2009-05-13 14:49:15 +00:00
Tatsuhiro Tsujikawa
cbaf0619d9
2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added addMetalink XML-RPC command.
* src/XmlRpcMethodFactory.cc
* src/XmlRpcMethodImpl.cc
* src/XmlRpcMethodImpl.h
* src/download_helper.cc
* src/download_helper.h
2009-05-13 14:13:36 +00:00
Tatsuhiro Tsujikawa
eb0cb42c72
2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the bug that POU peers are never choked in seeding.
* src/BtSeederStateChoke.cc
* src/BtSeederStateChoke.h
2009-05-13 14:10:20 +00:00
Tatsuhiro Tsujikawa
9b9295ce4a
2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added web-seeding URI handling in addTorrent command.
* src/XmlRpcMethodImpl.cc
2009-05-13 12:42:34 +00:00
Tatsuhiro Tsujikawa
98666d33b9
2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added "length" key to getFiles response.
* src/XmlRpcMethodImpl.cc
2009-05-13 12:31:43 +00:00
Tatsuhiro Tsujikawa
bab4b09a36
2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Moved --no-netrc option from ftp option section to http/ftp option
section.
* doc/aria2c.1.txt
* src/OptionHandlerFactory.cc
2009-05-13 12:30:38 +00:00
Tatsuhiro Tsujikawa
842dd43aac
2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed garbage "\" character before '
* doc/aria2c.1.txt
2009-05-12 16:42:40 +00:00
Tatsuhiro Tsujikawa
5586d88266
2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed garbage "\" character before http.
* doc/aria2c.1.txt
2009-05-12 16:38:44 +00:00
Tatsuhiro Tsujikawa
dc5cd20036
2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Documented additional options that can be specified in -i list.
Documented --enable-xml-rpc, --xml-rpc-listen-port, --xml-rpc-user
and --xml-rpc-passwd. Removed --enable-http-server and
--http-server-listen-port.
* doc/aria2c.1.txt
2009-05-12 16:30:27 +00:00
Tatsuhiro Tsujikawa
5983e3e9d9
2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added "downloadSpeed" and uploadSpeed" key in getPeers response.
* src/DefaultPeerStorage.cc
* src/DefaultPeerStorage.h
* src/PeerStorage.h
* src/XmlRpcMethodImpl.cc
* test/MockPeerStorage.h
2009-05-12 16:16:13 +00:00
Tatsuhiro Tsujikawa
64945c1f03
2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Put a call to Socket::isReadable() in try block.
* src/HttpServerBodyCommand.cc
* src/HttpServerCommand.cc
2009-05-12 16:08:23 +00:00
Tatsuhiro Tsujikawa
55c5cccf09
2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed segmentation fault error. SocketBuffer::sendResponse() may throw
exception , so it is now in try block.
* src/HttpServerResponseCommand.cc
2009-05-12 16:06:14 +00:00
Tatsuhiro Tsujikawa
626fa15c5e
2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added "amChoking" and "peerChoking" key in getPeers response.
* src/XmlRpcMethodImpl.cc
2009-05-12 15:29:51 +00:00
Tatsuhiro Tsujikawa
c43e26c2a9
2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added test case for zero-length filter.
* test/BitfieldManTest.cc
2009-05-12 15:19:27 +00:00
Tatsuhiro Tsujikawa
d3ae337ace
2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
getFiles command now returns file data for finished/stopped
downloads.
* src/XmlRpcMethodImpl.cc
2009-05-12 15:17:18 +00:00
Tatsuhiro Tsujikawa
8bbbc9c33b
2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
DownloadResult now has the list of FileEntry. The download
summary displays the path of first selected file and the number of
remaining files for multi-file torrent.
* src/DownloadResult.h
* src/RequestGroup.cc
* src/RequestGroupMan.cc
* test/RequestGroupTest.cc
2009-05-12 15:16:11 +00:00
Tatsuhiro Tsujikawa
d38b21acb0
2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed segmentation fault error when no file is selected in
multi-file torrent.
* src/BitfieldMan.cc
2009-05-12 15:12:45 +00:00
Tatsuhiro Tsujikawa
bf65ccc802
2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Escaped <,>,& character in XML-RPC response.
* src/XmlRpcMethod.cc
2009-05-12 14:06:11 +00:00
Tatsuhiro Tsujikawa
62165b9ed1
2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Throw DlAbortEx instead of FatalException during parsing options
because we don't want for aria2 to quit when bad option is passed
via XML-RPC.
* src/OptionHandlerException.cc
* src/OptionHandlerException.h
* src/OptionHandlerImpl.h
* src/OptionParser.cc
* src/OptionParser.h
* src/PStringSegment.cc
* src/ParameterizedStringParser.cc
* src/download_helper.cc
* test/ParameterizedStringParserTest.cc
2009-05-12 13:51:12 +00:00
Tatsuhiro Tsujikawa
2758562eb0
2009-05-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Selecting files are now done in
DefaultBtContext::setFileFileter().
PieceStorage::setFileFilter(), DiskAdaptor::addDownloadEntry()
functions are removed because they are no longer used. Creating
filter in BitfieldMan is done in new funtion
PieceStorage::setupFileFilter()
* src/BtContext.cc
* src/BtContext.h
* src/DefaultBtContext.cc
* src/DefaultBtContext.h
* src/DefaultPieceStorage.cc
* src/DefaultPieceStorage.h
* src/DiskAdaptor.cc
* src/DiskAdaptor.h
* src/PieceStorage.h
* src/RequestGroup.cc
* src/UnknownLengthPieceStorage.h
* src/XmlRpcMethodImpl.cc
* test/DefaultBtContextTest.cc
* test/MockBtContext.h
* test/MockPieceStorage.h
2009-05-12 13:31:04 +00:00
Tatsuhiro Tsujikawa
c3129fd4a4
2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed compile error on Mac OS X
* src/HttpServer.cc
* src/XmlRpcMethod.h
* src/XmlRpcMethodImpl.cc
2009-05-10 16:37:34 +00:00
Tatsuhiro Tsujikawa
52312c7a31
2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Use std::binary_search instead of std::find
* src/DefaultPieceStorage.cc
2009-05-10 15:09:49 +00:00
Tatsuhiro Tsujikawa
1d2cfd93d7
2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed unnecessary BDE() call; leave them to implicit conversion.
* src/XmlRpcMethodImpl.cc
2009-05-10 15:03:39 +00:00
Tatsuhiro Tsujikawa
7c24aa3b97
2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Return connections and gid in string
* src/XmlRpcMethodImpl.cc
2009-05-10 14:59:21 +00:00
Tatsuhiro Tsujikawa
81b19074f8
2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Renamed addURI as addUri
* src/XmlRpcMethodFactory.cc
* src/XmlRpcMethodImpl.cc
* src/XmlRpcMethodImpl.h
* test/XmlRpcMethodTest.cc
2009-05-10 14:51:20 +00:00
Tatsuhiro Tsujikawa
dac269f658
2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Renamed addTorrentFile as addTorrent
* src/XmlRpcMethodFactory.cc
* src/XmlRpcMethodImpl.cc
* src/XmlRpcMethodImpl.h
2009-05-10 14:44:45 +00:00
Tatsuhiro Tsujikawa
bb56bd5bd1
2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
The information for files, URIs, peers are removed from the
reponse of TellaActive, TellStatus command because they tend to be
large. Instead they can be retrieved by the dedicated commands:
getFiles, getUris and getPeers respectively.
* src/XmlRpcMethodFactory.cc
* src/XmlRpcMethodImpl.cc
* src/XmlRpcMethodImpl.h
2009-05-10 14:35:51 +00:00
Tatsuhiro Tsujikawa
efe294320e
2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed --max-overall-upload-limit and
--max-overall-download-limit option from listRequestOptions.
* src/download_helper.cc
2009-05-09 17:10:34 +00:00
Tatsuhiro Tsujikawa
02de210544
2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Log incoming host in HttpListenCommand.
* src/HttpListenCommand.cc
2009-05-09 15:55:52 +00:00
Tatsuhiro Tsujikawa
7aefbb7338
2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added BASIC authentication for XML-RPC. Added --xml-rpc-user and
--xml-rpc-passwd option.
* src/HttpServer.cc
* src/HttpServer.h
* src/HttpServerCommand.cc
* src/OptionHandlerFactory.cc
* src/prefs.cc
* src/prefs.h
* src/usage_text.h
2009-05-09 15:38:23 +00:00
Tatsuhiro Tsujikawa
d237c5e442
2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the bug that SocketCore::isReadable() prevents aria2 from
processing 0 length request.
* src/HttpServerBodyCommand.cc
2009-05-09 15:36:15 +00:00
Tatsuhiro Tsujikawa
9f0a602ce3
2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed --enable-http-server and --http-server-listen-port
options. Added --enable-xml-rpc and --xml-rpc-listen-port
instead. The original feature for --enable-http-server that
reports download progress in HTML was officially removed. Persist
XML-RPC connection if client supports keep-alive.
* src/DownloadEngineFactory.cc
* src/HttpServerCommand.cc
* src/HttpServerResponseCommand.cc
* src/Makefile.am
* src/Makefile.in
* src/OptionHandlerFactory.cc
* src/RequestGroupMan.cc
* src/main.cc
* src/option_processing.cc
* src/prefs.cc
* src/prefs.h
* src/usage_text.h
2009-05-09 14:01:35 +00:00
Tatsuhiro Tsujikawa
45249392fd
2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added "uris" key to the response of tellStatus command. Added
"connections" key to the response of tellStatus and tellActive
command.
* src/XmlRpcMethodImpl.cc
2009-05-09 13:00:47 +00:00
Tatsuhiro Tsujikawa
b2605588b7
2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Renamed TellActiveStatusXmlRpcMethod as TellActiveXmlRpcMethod.
Added TellStatusXmlRpcMethod. Remove command can now remove
waiting RequestGroup.
* src/RequestGroupMan.cc
* src/RequestGroupMan.h
* src/XmlRpcMethodFactory.cc
* src/XmlRpcMethodImpl.cc
* src/XmlRpcMethodImpl.h
2009-05-09 12:41:37 +00:00
Tatsuhiro Tsujikawa
e8c53abe6c
2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Initialized _peerId
* src/Peer.cc
2009-05-09 07:50:08 +00:00
Tatsuhiro Tsujikawa
4e18c92371
2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Return fault structure for error. FailXmlRpcMethod is renamed as
NoSuchMethodXmlRpcMethod. pieceLength and numPieces are returned
in non-torrent download. Return single param value.
* src/XmlRpcMethod.cc
* src/XmlRpcMethodFactory.cc
* src/XmlRpcMethodImpl.cc
* src/XmlRpcMethodImpl.h
* test/XmlRpcMethodTest.cc
2009-05-09 04:55:53 +00:00
Tatsuhiro Tsujikawa
7e7f809339
2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Set DownloadResult::IN_PROGRESS for downloads removed by xml-rpc
command.
* src/RequestGroup.cc
* src/RequestGroup.h
* src/RequestGroupMan.cc
* src/XmlRpcMethodImpl.cc
* test/RequestGroupTest.cc
2009-05-09 04:11:31 +00:00
Tatsuhiro Tsujikawa
933866e315
2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added more options that can be specified in -i list and xml-rpc
add* command.
* src/download_helper.h
2009-05-09 03:43:38 +00:00
Tatsuhiro Tsujikawa
b7664e8d6e
2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
The available options in -i list should be listed in
listRequestOptions().
* src/download_helper.cc
2009-05-08 16:58:44 +00:00
Tatsuhiro Tsujikawa
606c11810b
2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added infoHash, pieceLength, numPieces value for tellActiveStatus
command.
* src/XmlRpcMethodImpl.cc
2009-05-08 16:49:20 +00:00
Tatsuhiro Tsujikawa
4cb5468662
2009-05-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Now RequestGroup has its own copy of Option object. This will help
to give custom option for each RequestGroup.
addTorrentFile command now takes options.
* src/AbstractCommand.cc
* src/AbstractCommand.h
* src/AbstractProxyRequestCommand.cc
* src/ActivePeerConnectionCommand.cc
* src/ActivePeerConnectionCommand.h
* src/AdaptiveURISelector.cc
* src/BtCheckIntegrityEntry.cc
* src/BtDependency.cc
* src/BtDependency.h
* src/BtFileAllocationEntry.cc
* src/BtPostDownloadHandler.cc
* src/CheckIntegrityEntry.cc
* src/DownloadCommand.cc
* src/FtpDownloadCommand.cc
* src/FtpFinishDownloadCommand.cc
* src/FtpInitiateConnectionCommand.cc
* src/FtpNegotiationCommand.cc
* src/HttpInitiateConnectionCommand.cc
* src/HttpRequestCommand.cc
* src/HttpResponseCommand.cc
* src/HttpSkipResponseCommand.cc
* src/InitiateConnectionCommand.cc
* src/InitiateConnectionCommandFactory.cc
* src/InitiatorMSEHandshakeCommand.cc
* src/InitiatorMSEHandshakeCommand.h
* src/Metalink2RequestGroup.cc
* src/Metalink2RequestGroup.h
* src/MetalinkPostDownloadHandler.cc
* src/MultiUrlRequestInfo.cc
* src/MultiUrlRequestInfo.h
* src/PeerAbstractCommand.cc
* src/PeerInteractionCommand.cc
* src/PeerInteractionCommand.h
* src/PeerReceiveHandshakeCommand.cc
* src/PeerReceiveHandshakeCommand.h
* src/RequestGroup.cc
* src/RequestGroup.h
* src/TrackerWatcherCommand.cc
* src/TrackerWatcherCommand.h
* src/XmlRpcMethod.cc
* src/XmlRpcMethod.h
* src/XmlRpcMethodImpl.cc
* src/download_helper.cc
* src/download_helper.h
* src/main.cc
* test/BtDependencyTest.cc
* test/BtPostDownloadHandlerTest.cc
* test/DefaultBtMessageDispatcherTest.cc
* test/DownloadHandlerFactoryTest.cc
* test/DownloadHelperTest.cc
* test/Metalink2RequestGroupTest.cc
* test/MetalinkPostDownloadHandlerTest.cc
* test/RequestGroupManTest.cc
* test/RequestGroupTest.cc
2009-05-08 16:41:21 +00:00
Tatsuhiro Tsujikawa
08856691b3
2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added tellActiveStatus xml-rpc command which reports download
status of active downloads.
* src/XmlRpcMethodFactory.cc
* src/XmlRpcMethodImpl.cc
* src/XmlRpcMethodImpl.h
2009-05-08 13:47:33 +00:00
Tatsuhiro Tsujikawa
c45ff588d1
2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added addTorrentFile xml-rpc command which receives uploaded
torrent file and add download for it.
* src/RequestGroupMan.cc
* src/XmlRpcMethodFactory.cc
* src/XmlRpcMethodImpl.cc
* src/XmlRpcMethodImpl.h
* src/download_helper.cc
* src/download_helper.h
2009-05-08 12:23:04 +00:00
Tatsuhiro Tsujikawa
c659b07b86
2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added remove xml-rpc command which removes specified download.
There is a known issue: the removed unfinished downloads are
reported ERR when aria2 exits. They should be reported as INPR.
* src/RequestGroupMan.cc
* src/RequestGroupMan.h
* src/XmlRpcMethodFactory.cc
* src/XmlRpcMethodImpl.cc
* src/XmlRpcMethodImpl.h
2009-05-08 08:36:52 +00:00
Tatsuhiro Tsujikawa
7f7ea34a4a
2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
If --enable-http-server is enabled, don't stop aria2 when all
download finished and don't quit when no files to download at
start up.
* src/RequestGroupMan.cc
* src/main.cc
* src/option_processing.cc
2009-05-08 08:18:23 +00:00
Tatsuhiro Tsujikawa
3e4c549c01
2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added missing AM_CONDITIONAL
* configure.ac
2009-05-08 08:03:36 +00:00
Tatsuhiro Tsujikawa
b57b75f98d
2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added xml-rpc functionality. Currently only addURI commad is
supported. To enable xml-rpc, run aria2 with
--enable-http-server. This option name is temporal and will be
changed. The feature that reports download progress in html format
is temporarily disabled.
* src/HttpServer.cc
* src/HttpServer.h
* src/HttpServerBodyCommand.cc
* src/HttpServerBodyCommand.h
* src/HttpServerCommand.cc
* src/HttpServerResponseCommand.cc
* src/Makefile.am
* src/OptionParser.cc
* src/OptionParser.h
* src/RequestGroupMan.cc
* src/RequestGroupMan.h
* src/XmlRpcMethod.cc
* src/XmlRpcMethod.h
* src/XmlRpcMethodFactory.cc
* src/XmlRpcMethodFactory.h
* src/XmlRpcMethodImpl.cc
* src/XmlRpcMethodImpl.h
* src/download_helper.cc
* src/download_helper.h
* test/Makefile.am
* test/XmlRpcMethodTest.cc
2009-05-08 07:58:50 +00:00
Tatsuhiro Tsujikawa
3a81b3c3d7
2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added xml-rpc request parser. The supported value types are:
i4/int, string, double, struct, array, base64. Currently only
libxml2 version is provided.
* src/Xml2XmlRpcRequestProcessor.cc
* src/Xml2XmlRpcRequestProcessor.h
* src/XmlRpcElements.cc
* src/XmlRpcElements.h
* src/XmlRpcRequest.h
* src/XmlRpcRequestParserController.cc
* src/XmlRpcRequestParserController.h
* src/XmlRpcRequestParserState.h
* src/XmlRpcRequestParserStateImpl.cc
* src/XmlRpcRequestParserStateImpl.h
* src/XmlRpcRequestParserStateMachine.cc
* src/XmlRpcRequestParserStateMachine.h
* src/XmlRpcRequestProcessor.h
* test/XmlRpcRequestParserControllerTest.cc
* test/XmlRpcRequestProcessorTest.cc
2009-05-08 03:24:24 +00:00
Tatsuhiro Tsujikawa
540d26fc1b
2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
* Release 1.3.3
2009-05-08 02:16:58 +00:00
Tatsuhiro Tsujikawa
ff298b3cbc
2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed compile error since r1202.
* src/ExpatMetalinkProcessor.cc
2009-05-08 02:06:24 +00:00
Tatsuhiro Tsujikawa
25aee44b43
Reverted previous change
2009-05-08 01:57:39 +00:00
Tatsuhiro Tsujikawa
eb8fb14fad
2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
* Release 1.3.3
2009-05-08 01:52:41 +00:00
Tatsuhiro Tsujikawa
42c4d782de
2009-05-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated Ukrainian, Russian and Simplified Chinese
translations. Thanks to all translators.
* po/ru.po
* po/uk.po
* po/zh_CN.po
2009-05-07 16:18:07 +00:00
Tatsuhiro Tsujikawa
ce9c79a2f3
2009-05-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Pass reference of Option object instead of pointer.
* src/download_helper.cc
* src/download_helper.h
* src/main.cc
* test/DownloadHelperTest.cc
2009-05-07 08:52:38 +00:00
Tatsuhiro Tsujikawa
40d5c1e763
2009-05-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Don't retrieve PREF_MAX_DOWNLOAD_LIMIT and PREF_MAX_UPLOAD_LIMIT
from option directly. Instead, get them from RequestGroup.
* src/ActivePeerConnectionCommand.cc
* src/ActivePeerConnectionCommand.h
* src/PeerReceiveHandshakeCommand.cc
* src/RequestGroup.h
2009-05-07 08:40:45 +00:00
Tatsuhiro Tsujikawa
22ab845df5
2009-05-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed unused uploadLimitCheck and uploadLimit from
PeerAbstractCommand. Removed unused maxDownloadLimit from
PeerInteractionCommand.
* src/PeerAbstractCommand.cc
* src/PeerAbstractCommand.h
* src/PeerInteractionCommand.cc
* src/PeerInteractionCommand.h
2009-05-07 08:38:31 +00:00
Tatsuhiro Tsujikawa
030bc08287
2009-05-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed broken file renaming feature since r1202.
* src/FtpNegotiationCommand.cc
* src/FtpNegotiationCommand.h
* src/HttpResponseCommand.cc
* src/RequestGroup.cc
* src/RequestGroup.h
2009-05-07 03:49:27 +00:00
Tatsuhiro Tsujikawa
4432b68d24
2009-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed unused debug log
* src/SocketCore.cc
2009-05-06 08:09:26 +00:00
Tatsuhiro Tsujikawa
aba7efb95c
2009-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Generated configure and Makefile.in using autoconf 2.63 and
automake 1.10.2. Removed AC_GNU_SOURCE from configure.ac because
it is subset of AC_USE_SYSTEM_EXTENSIONS and we use latter.
* configure.ac
2009-05-06 08:00:57 +00:00
Tatsuhiro Tsujikawa
4da631bef6
2009-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Moved piece statistics stuff to new PieceStatMan class.
Refactored PieceSelector interface.
* src/DefaultPieceStorage.cc
* src/DefaultPieceStorage.h
* src/LongestSequencePieceSelector.cc
* src/LongestSequencePieceSelector.h
* src/Makefile.am
* src/PieceSelector.h
* src/PieceStatMan.cc
* src/PieceStatMan.h
* src/RarestPieceSelector.cc
* src/RarestPieceSelector.h
* src/RequestGroup.cc
* test/DefaultPieceStorageTest.cc
* test/InOrderPieceSelector.h
* test/Makefile.am
* test/PieceStatManTest.cc
* test/RarestPieceSelectorTest.cc
2009-05-06 07:49:22 +00:00
Tatsuhiro Tsujikawa
d05d8bbddc
2009-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added static member _protocolFamily to SocketCore. By default,
SocketCore uses AF_UNSPEC for getaddrinfo hints to resolve
address. Sometime SocketCore::bind() and
SocketCore::establishConnection() use difference protocl family
and latter cannot connect to former. To avoid this situation, we
limit protocol family to AF_INET for unit tests.
* src/SocketCore.cc
* src/SocketCore.h
* test/AllTest.cc
2009-05-06 07:42:59 +00:00
Tatsuhiro Tsujikawa
47b08786eb
2009-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Avoid std::bad_alloc for negative bencode string length.
* src/bencode.cc
2009-05-06 07:38:08 +00:00
Tatsuhiro Tsujikawa
3c877a9df4
2009-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Supported segmented downloading with chunked transfer encoding and
content-length.
* src/DownloadCommand.cc
* src/HttpResponseCommand.cc
2009-05-05 15:19:02 +00:00
Tatsuhiro Tsujikawa
7893340cb3
2009-05-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Bump up version number to 1.3.3
* configure.ac
2009-05-05 03:32:13 +00:00
Tatsuhiro Tsujikawa
3511aad188
2009-05-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Applied Pascal Bleser's patch: increases MAX_RECV_BUFFER for ftp
from 4096 to 65536 (for insanely large ftp login banners)
* src/FtpConnection.h
* test/FtpConnectionTest.cc
2009-05-05 03:27:45 +00:00
Tatsuhiro Tsujikawa
8fe80169b3
2009-05-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
In DefaultBtContext::getActualBasePath(), return first
FileEntry::getPath() for single file torrent.
* src/DefaultBtContext.cc
* test/DefaultBtContextTest.cc
2009-05-05 03:20:56 +00:00
Tatsuhiro Tsujikawa
e1f32b6b66
2009-05-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed directIOAllowed() from BinaryStream, DiskWriter,
DiskAdaptor. setDirectIOAllowed() was renamed as
allowDirectIO().
Removed _directIOAllowed member from DiskWriter.
* src/AbstractDiskWriter.cc
* src/AbstractDiskWriter.h
* src/AbstractSingleDiskAdaptor.cc
* src/AbstractSingleDiskAdaptor.h
* src/BinaryStream.h
* src/ByteArrayDiskWriter.h
* src/DefaultPieceStorage.cc
* src/DiskWriter.h
* src/MultiDiskAdaptor.cc
* src/MultiDiskAdaptor.h
2009-05-04 08:11:40 +00:00
Tatsuhiro Tsujikawa
c1aef8e2d1
2009-05-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Now the constructor of AbstractDiskWriter takes filename as an
argument and filename argument is removed from openFile(),
initAndOpenFile(), openExistingFile() interface. storeDir
member and its accessor functions are removed from DiskAdaptor
because it is not used anymore. size() member function of
DefaultDiskWriter, DirectDiskAdaptor and MultiDiskAdaptor now
can be called without opening file.
* src/AbstractDiskWriter.cc
* src/AbstractDiskWriter.h
* src/AbstractSingleDiskAdaptor.cc
* src/AbstractSingleDiskAdaptor.h
* src/ByteArrayDiskWriter.cc
* src/ByteArrayDiskWriter.h
* src/ByteArrayDiskWriterFactory.cc
* src/ByteArrayDiskWriterFactory.h
* src/DefaultDiskWriter.cc
* src/DefaultDiskWriter.h
* src/DefaultDiskWriterFactory.cc
* src/DefaultDiskWriterFactory.h
* src/DefaultPieceStorage.cc
* src/DirectDiskAdaptor.cc
* src/DirectDiskAdaptor.h
* src/DiskAdaptor.h
* src/DiskWriter.h
* src/DiskWriterFactory.h
* src/MessageDigestHelper.cc
* src/MultiDiskAdaptor.cc
* src/RequestGroup.cc
* src/UnknownLengthPieceStorage.cc
* src/Util.cc
* test/DefaultDiskWriterTest.cc
* test/DirectDiskAdaptorTest.cc
* test/FallocFileAllocationIteratorTest.cc
* test/MessageDigestHelperTest.cc
* test/MetalinkProcessorTest.cc
* test/MultiDiskAdaptorTest.cc
* test/MultiFileAllocationIteratorTest.cc
* test/SingleFileAllocationIteratorTest.cc
* test/UtilTest.cc
2009-05-04 07:50:38 +00:00
Tatsuhiro Tsujikawa
5c8f48dc77
2009-05-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the bug that aria2 aborts when --select-file is used.
This bug was introduced in r1199.
* src/MultiDiskAdaptor.cc
2009-05-03 16:03:21 +00:00
Tatsuhiro Tsujikawa
717fa2a855
2009-05-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Code cleanup
* test/MockPieceStorage.cc
2009-05-03 11:01:52 +00:00
Tatsuhiro Tsujikawa
eeece05063
2009-05-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the bug that read-only file with wrong file size will
cause error because it cannot be truncated to the correct size.
Now if file size is different than the expected one, re-open
file in writable mode.
* src/AbstractSingleDiskAdaptor.cc
* src/AbstractSingleDiskAdaptor.h
* src/BtCheckIntegrityEntry.cc
* src/DiskAdaptor.h
* src/MultiDiskAdaptor.h
* src/RequestGroup.cc
2009-05-03 11:00:39 +00:00
Tatsuhiro Tsujikawa
ee229c6f00
2009-05-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the bug that with --check-integrity option aria2 reports
downloaded file size is 0 even if some parts of file is
correctly downloaded. This bug is reproducible for the download
that a file includes last piece is missing. This bug doesn't
reveal for single-torrent with file allocation on.
* src/IteratableChecksumValidator.cc
* test/IteratableChecksumValidatorTest.cc
2009-05-03 06:26:44 +00:00
Tatsuhiro Tsujikawa
d0b485cba0
2009-05-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Avoid circular reference between RequestGroup and
AdaptiveURISelector
* src/RequestGroupMan.cc
* src/AdaptiveURISelector.cc
* src/AdaptiveURISelector.h
2009-05-01 14:01:32 +00:00
Tatsuhiro Tsujikawa
a8b05c3c1a
2009-04-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
* Release 1.3.2
2009-04-28 14:14:00 +00:00
Tatsuhiro Tsujikawa
1c58e397d6
2009-04-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated README
* README
2009-04-28 13:22:50 +00:00
Tatsuhiro Tsujikawa
109656c415
2009-04-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated Ukrainian translations. Thanks to Alexander10.
* po/uk.po
2009-04-28 13:15:05 +00:00
Tatsuhiro Tsujikawa
eaca0b7a08
2009-04-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Code cleanup
* src/MetalinkParserStateMachine.cc
* src/MetalinkParserStateMachine.h
2009-04-28 12:18:08 +00:00
Tatsuhiro Tsujikawa
16f5ebcfcd
2009-04-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed MetalinkProcessorFactory. Since we don't use both
libxml2 and expat simultaneously, MetalinkProcessor is now not
base class and it is directly implemented in
XML2SAXMetalinkProcessor and ExpatMetalinkProcessor.
* src/ExpatMetalinkProcessor.cc
* src/ExpatMetalinkProcessor.h
* src/Makefile.am
* src/MetalinkHelper.cc
* src/MetalinkProcessor.h
* src/MetalinkProcessorFactory.cc: Removed.
* src/MetalinkProcessorFactory.h: Removed
* src/XML2SAXMetalinkProcessor.cc
* src/XML2SAXMetalinkProcessor.h
* test/MetalinkProcessorTest.cc
2009-04-28 09:22:43 +00:00
Tatsuhiro Tsujikawa
f80abe91d2
2009-04-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Bump up version number to 1.3.2
* configure.ac
2009-04-27 12:33:21 +00:00
Tatsuhiro Tsujikawa
d229909bf8
2009-04-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added missing file.
* test/Makefile.am
* test/url-list-singleFileEndsWithSlash.torrent
2009-04-27 12:00:41 +00:00
Tatsuhiro Tsujikawa
49b4cfbfcd
2009-04-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Put BDE in aria2 namespace. BDE will also be used to store
xml-rpc request.
* src/AnnounceList.cc
* src/AnnounceList.h
* src/BDE.cc: Added
* src/BDE.h: Added
* src/DHTAbstractMessage.cc
* src/DHTAbstractMessage.h
* src/DHTAnnouncePeerMessage.cc
* src/DHTAnnouncePeerMessage.h
* src/DHTAnnouncePeerReplyMessage.cc
* src/DHTAnnouncePeerReplyMessage.h
* src/DHTFindNodeMessage.cc
* src/DHTFindNodeMessage.h
* src/DHTFindNodeReplyMessage.cc
* src/DHTFindNodeReplyMessage.h
* src/DHTGetPeersMessage.cc
* src/DHTGetPeersMessage.h
* src/DHTGetPeersReplyMessage.cc
* src/DHTGetPeersReplyMessage.h
* src/DHTMessageFactory.h
* src/DHTMessageFactoryImpl.cc
* src/DHTMessageFactoryImpl.h
* src/DHTMessageReceiver.cc
* src/DHTMessageTracker.cc
* src/DHTMessageTracker.h
* src/DHTPingMessage.cc
* src/DHTPingMessage.h
* src/DHTPingReplyMessage.cc
* src/DHTPingReplyMessage.h
* src/DHTQueryMessage.cc
* src/DHTQueryMessage.h
* src/DHTResponseMessage.cc
* src/DHTResponseMessage.h
* src/DefaultBtAnnounce.cc
* src/DefaultBtContext.cc
* src/DefaultBtContext.h
* src/HandshakeExtensionMessage.cc
* src/Makefile.am
* src/PeerListProcessor.h
* src/UTPexExtensionMessage.cc
* src/bencode.cc
* src/bencode.h
* test/AnnounceListTest.cc
* test/BDETest.cc: Added
* test/BencodeTest.cc
* test/DHTAnnouncePeerMessageTest.cc
* test/DHTAnnouncePeerReplyMessageTest.cc
* test/DHTFindNodeMessageTest.cc
* test/DHTFindNodeReplyMessageTest.cc
* test/DHTGetPeersMessageTest.cc
* test/DHTGetPeersReplyMessageTest.cc
* test/DHTMessageFactoryImplTest.cc
* test/DHTMessageTrackerTest.cc
* test/DHTPingMessageTest.cc
* test/DHTPingReplyMessageTest.cc
* test/Makefile.am
* test/MockDHTMessageFactory.h
* test/PeerListProcessorTest.cc
2009-04-27 11:45:22 +00:00
Tatsuhiro Tsujikawa
d58742ad21
2009-04-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Use url-list (web-seeding) only for single-file torrent. This
is basically the same behavior with Metalink file with torrent
and URIs.
* src/RequestGroup.cc
* src/DefaultBtContext.cc
* test/DefaultBtContextTest.cc
2009-04-27 06:55:10 +00:00
Tatsuhiro Tsujikawa
1ea7fca02b
2009-04-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Rewritten expr
* src/array_fun.h
* test/array_funTest.cc
2009-04-25 17:04:32 +00:00
Tatsuhiro Tsujikawa
8a1d530336
2009-04-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added forEachMemFunSH(). Use it in BitTorrent event dispatch.
* src/DefaultBtMessageDispatcher.cc
* src/a2algo.h
2009-04-25 17:01:29 +00:00
Tatsuhiro Tsujikawa
e385c68f52
2009-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed ExtendedMessagingAware. Instead of using inheritance,
added ExtensionMessageRegistry and it is passed to
DefaultExtensionMessageFactory.
* src/DefaultBtInteractive.cc
* src/DefaultBtInteractive.h
* src/DefaultExtensionMessageFactory.cc
* src/DefaultExtensionMessageFactory.h
* src/ExtendedMessagingAware.h: Removed.
* src/ExtensionMessageFactory.h
* src/ExtensionMessageRegistry.h: Added.
* src/Makefile.am
* src/PeerInteractionCommand.cc
* test/DefaultExtensionMessageFactoryTest.cc
2009-04-25 10:48:00 +00:00
Tatsuhiro Tsujikawa
3908d86213
2009-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed typo in log messages
* src/MSEHandshake.cc
2009-04-25 10:32:03 +00:00
Tatsuhiro Tsujikawa
35763a2ae0
2009-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the bug that prevents torrent download from finishing.
The bug doesn't reveal for all torrents. The torrents affected
this bug satisfies ((N+7)/8)%4 == 0 and N%32 != 0 where N is the
number of pieces.
* src/bitfield.h
* test/bitfieldTest.cc
2009-04-25 10:30:25 +00:00
Tatsuhiro Tsujikawa
ea8668d80f
2009-04-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Code cleanup
* src/PeerListProcessor.h
2009-04-23 16:10:54 +00:00
Tatsuhiro Tsujikawa
3955054837
2009-04-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed RequestGroupAware
* src/AbstractCommand.cc
* src/AbstractCommand.h
* src/ActivePeerConnectionCommand.cc
* src/ActivePeerConnectionCommand.h
* src/DHTGetPeersCommand.cc
* src/DHTGetPeersCommand.h
* src/InitiatorMSEHandshakeCommand.cc
* src/InitiatorMSEHandshakeCommand.h
* src/Makefile.am
* src/PeerInitiateConnectionCommand.cc
* src/PeerInitiateConnectionCommand.h
* src/PeerInteractionCommand.cc
* src/PeerInteractionCommand.h
* src/RealtimeCommand.cc
* src/RealtimeCommand.h
* src/RequestGroupAware.cc: Removed
* src/RequestGroupAware.h: Removed
* src/SeedCheckCommand.cc
* src/SeedCheckCommand.h
* src/SleepCommand.cc
* src/TrackerWatcherCommand.cc
* src/TrackerWatcherCommand.h
2009-04-23 15:00:09 +00:00
Tatsuhiro Tsujikawa
6703097652
2009-04-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Rewritten PeerListProcessor
* src/PeerListProcessor.h
* src/CompactPeerListProcessor.h: Removed
* src/CompactPeerListProcessor.cc: Removed
* src/DelegatingPeerListProcessor.cc: Removed.
* src/DefaultBtAnnounce.cc
* src/Makefile.am
* src/UTPexExtensionMessage.cc
* src/DefaultPeerListProcessor.h: Removed.
* src/DefaultPeerListProcessor.cc: Removed.
* src/DelegatingPeerListProcessor.h: Removed.
* test/Makefile.am
* test/PeerListProcessorTest.cc
* test/DefaultPeerListProcessorTest.cc: Removed.
2009-04-23 13:39:53 +00:00
Tatsuhiro Tsujikawa
82a38a7e3c
2009-04-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Rewritten RequestGroupMan::calculateStat()
* src/RequestGroupMan.cc
2009-04-23 12:06:26 +00:00
Tatsuhiro Tsujikawa
23415927e9
2009-04-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed unnecessary virtual destructor for Request class.
* src/Request.cc
* src/Request.h
2009-04-23 12:00:53 +00:00
Tatsuhiro Tsujikawa
51a0dba30c
Updated ChangeLog for previous change
2009-04-21 17:15:06 +00:00
Tatsuhiro Tsujikawa
afdd61f9d1
2009-04-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Rewritten event dispatch in BtMessage. Removed BtEventListener,
BtEvent.
* src/AbstractBtEventListener.h: Removed.
* src/AbstractBtMessage.cc
* src/AbstractBtMessage.h
* src/BtAbortOutstandingRequestEvent.h
* src/BtCancelSendingPieceEvent.h
* src/BtChokedEvent.h: Removed.
* src/BtChokingEvent.h
* src/BtEvent.h: Removed
* src/BtEventListener.h: Removed.
* src/BtMessage.h
* src/BtPieceMessage.cc
* src/BtPieceMessage.h
* src/BtRequestMessage.cc
* src/BtRequestMessage.h
* src/DefaultBtMessageDispatcher.cc
* src/Makefile.am
* src/a2functional.h
* test/BtPieceMessageTest.cc
* test/BtRequestMessageTest.cc
* test/DefaultBtMessageDispatcherTest.cc
* test/MockBtMessage.h
2009-04-21 14:52:04 +00:00
Tatsuhiro Tsujikawa
82b0d66505
2009-04-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Code cleanup
* src/RequestGroupMan.cc
2009-04-17 14:56:13 +00:00
Tatsuhiro Tsujikawa
a883a4aecc
2009-04-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Code cleanup
* src/DownloadCommand.cc
2009-04-17 14:55:18 +00:00
Tatsuhiro Tsujikawa
65a358c68b
2009-04-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed segmentation fault when GZipDecoder::decode() returns 0
byte.
* src/DownloadCommand.cc
* src/bitfield.h
* test/bitfieldTest.cc
Fixed the bug that causes infinite loop if broken web server
returns chunked response without last "0" chunk-size marker and
closes connection.
* src/DownloadCommand.cc
Instantiate properly configured HttpDownloadCommand for
non-resumable downlaods.
* src/HttpResponseCommand.cc
2009-04-17 13:19:17 +00:00
Tatsuhiro Tsujikawa
d2d4f67bbe
2009-04-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Rewritten array operation functions.
* src/BitfieldMan.cc
* src/array_fun.h
* test/array_funTest.cc
2009-04-16 13:43:23 +00:00
Tatsuhiro Tsujikawa
e19447a54b
2009-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed unused variable 'query'
* src/Request.cc
2009-04-14 12:38:45 +00:00
Tatsuhiro Tsujikawa
933cdd6949
2009-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Set conditional HAVE_GETADDRINFO true for mingw32. It was
accidentally set to false in r1162.
* configure.ac
2009-04-14 12:23:31 +00:00
Tatsuhiro Tsujikawa
decd3b883b
2009-04-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Code cleanup
* src/BNode.cc
2009-04-13 12:49:18 +00:00
Tatsuhiro Tsujikawa
0e70ba46a9
2009-04-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Increase prefixLength for the bucket which doesn't own local
node ID when splitting bucket.
* src/DHTBucket.cc
* test/DHTBucketTest.cc
2009-04-13 12:47:50 +00:00
Tatsuhiro Tsujikawa
a0527905ff
2009-04-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
* Release 1.3.1
2009-04-12 15:46:33 +00:00
Tatsuhiro Tsujikawa
72b43d378e
2009-04-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Bump up version number to 1.3.1
* configure.ac
2009-04-12 15:40:23 +00:00
Tatsuhiro Tsujikawa
4c7122ebeb
2009-04-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed unused variable checkPoint. Also removed include
directive for TimeA2.h.
* src/SeedCheckCommand.h
2009-04-07 15:55:21 +00:00
Tatsuhiro Tsujikawa
bf94abba7b
2009-04-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the bug that upload limit exceeds the value specified in
--seed-ratio option depending on the timing of the execution of
SeedCheckCommand.
* src/SeedCheckCommand.cc
2009-04-07 14:24:44 +00:00
Tatsuhiro Tsujikawa
becd34bcb9
2009-04-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the bug that removed peer's session upload/download length
are counted twice in _cachedTransferStat before it is
re-calculated. This affected the calculation of shara ratio,
resulting aria2 wrongly determines that specified share ratio is
reached. Also fixed the typo in calculateStatFor function name.
* src/BtSetup.cc
* src/DefaultPeerStorage.cc
* src/ShareRatioSeedCriteria.h
* test/ShareRatioSeedCriteriaTest.cc
2009-04-05 10:38:15 +00:00
Tatsuhiro Tsujikawa
8436278cee
2009-04-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
* Release 1.3.0
2009-04-01 13:59:45 +00:00
Tatsuhiro Tsujikawa
d63ad702b0
2009-04-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated Russian, Japanese, Spanish, Ukrainian and Norwegian
Nynorsk translations. Thanks to all translators.
* po/es.po
* po/ja.po
* po/nn.po
* po/ru.po
* po/uk.po
2009-04-01 12:49:53 +00:00
Tatsuhiro Tsujikawa
5541477dce
2009-04-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Rewritten isInRange()
* src/DHTBucket.cc
* test/DHTBucketTest.cc
2009-04-01 12:28:39 +00:00
Tatsuhiro Tsujikawa
752fb34bbb
2009-03-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed typo
* doc/aria2c.1.txt
2009-03-30 14:13:18 +00:00
Tatsuhiro Tsujikawa
4c950934a0
2009-03-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed AC_FUNC_MALLOC and AC_FUNC_REALLOC because 0-byte
malloc/realloc is not used.
* src/configure.ac
2009-03-28 16:33:45 +00:00
Tatsuhiro Tsujikawa
a6b02840fa
2009-03-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
BitfieldMan::getMissingIndexes family functions now takes
unsigned char* bitfield instead of stl container for efficiency.
PieceSelector::select now takes this
bitfield. RarestPieceSelector::select now also performs
efficiently for this change. bitfield namespace is introduced
and it has several helper functions to handle basic bitfield
operations such as test, count set bits, etc.
* src/BitfieldMan.cc
* src/BitfieldMan.h
* src/DefaultBtRequestFactory.cc
* src/DefaultPieceStorage.cc
* src/DefaultPieceStorage.h
* src/LongestSequencePieceSelector.cc
* src/LongestSequencePieceSelector.h
* src/Makefile.am
* src/Piece.cc
* src/Piece.h
* src/PieceSelector.h
* src/RarestPieceSelector.cc
* src/RarestPieceSelector.h
* src/Util.cc
* src/Util.h
* src/bitfield.h
* test/BitfieldManTest.cc
* test/LongestSequencePieceSelectorTest.cc
* test/Makefile.am
* test/RarestPieceSelectorTest.cc
* test/UtilTest.cc
* test/bitfieldTest.cc
2009-03-28 13:29:38 +00:00
Tatsuhiro Tsujikawa
3531d57d37
2009-03-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Made accepted socket non-block.
* src/FtpNegotiationCommand.cc
* src/HttpListenCommand.cc
2009-03-28 13:19:47 +00:00
Tatsuhiro Tsujikawa
6cbb6d2850
2009-03-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Guarded #ifdef HAVE_POSIX_FALLOCATE
* src/AbstractSingleDiskAdaptor.cc
* src/DefaultPieceStorage.cc
* src/DiskAdaptor.h
* src/DiskAdaptor.h
* src/MultiFileAllocationIterator.cc
2009-03-28 12:46:13 +00:00
Tatsuhiro Tsujikawa
a69f499ccf
2009-03-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Run DefaultBtMessageDispatcher::
checkRequestSlotAndDoNecessaryThing()
in every 1 sec. The timeout of RequestSlot is 60s by default and
it doesn't need to be called every time when
DefaultBtInteractive::doInteractionProcessing() is called.
* src/DefaultBtInteractive.cc
* src/DefaultBtInteractive.h
2009-03-27 16:12:09 +00:00
Tatsuhiro Tsujikawa
ce1231280a
2009-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Documented 'falloc' in man page.
* doc/aria2c.1.txt
2009-03-25 06:07:11 +00:00
Tatsuhiro Tsujikawa
bfd7950b82
2009-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated doc
* src/usage_text.h
2009-03-25 06:05:59 +00:00
Tatsuhiro Tsujikawa
29c5ef9215
2009-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added 'falloc' parameter for --file-allocation option. 'falloc'
allocation mode uses posix_fallocate() system call to allocate
file on disk. If you are using newer file systems such as ext4
(with extents support), btrfs or xfs, 'falloc' is your best
choice. It allocates large(few GiB) files almost instantly.
Don't use 'falloc' with legacy file systems such as ext3 because
it takes almost same time as 'prealloc' and it blocks aria2
entirely until allocation finishes. 'falloc' may not be
available if your system doesn't have posix_fallocate() system
call.
* configure.ac
* src/AbstractDiskWriter.cc
* src/AbstractDiskWriter.h
* src/AbstractSingleDiskAdaptor.cc
* src/BinaryStream.h
* src/BtCheckIntegrityEntry.cc
* src/ByteArrayDiskWriter.h
* src/CheckIntegrityEntry.cc
* src/CheckIntegrityEntry.h
* src/DefaultPieceStorage.cc
* src/DiskAdaptor.cc
* src/DiskAdaptor.h
* src/DiskWriter.h
* src/FallocFileAllocationIterator.cc
* src/FallocFileAllocationIterator.h
* src/FileAllocationEntry.cc
* src/FileAllocationEntry.h
* src/Makefile.am
* src/MultiFileAllocationIterator.cc
* src/MultiFileAllocationIterator.h
* src/OptionHandlerFactory.cc
* src/RequestGroup.cc
* src/StreamCheckIntegrityEntry.cc
* src/prefs.cc
* src/prefs.h
* src/usage_text.h
* test/FallocFileAllocationIteratorTest.cc
* test/Makefile.am
2009-03-25 05:43:07 +00:00
Tatsuhiro Tsujikawa
fe614395d6
2009-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed duplicate enableDirectIO() call.
* src/MultiFileAllocationIterator.cc
2009-03-24 15:31:46 +00:00
Tatsuhiro Tsujikawa
289ae1b635
2009-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Replaced std::vector<SharedHandle<PieceStats> _sortedPieceStats
with std::vector<size_t> _sortedPieceStatIndexes to reduce the
cost of std::rotate().
* src/RarestPieceSelector.cc
* src/RarestPieceSelector.h
* test/RarestPieceSelectorTest.cc
2009-03-24 15:24:30 +00:00
Tatsuhiro Tsujikawa
f227c19076
2009-03-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Documented --bt-tracker-interval option in man page.
* doc/aria2c.1.txt
2009-03-21 15:14:46 +00:00
Tatsuhiro Tsujikawa
2170a850a8
2009-03-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added an option to specify the interval between tracker
requests.
If non-zero value is specified, aria2 uses it and ignores the
interval value in the response of tracker. If zero is specified,
aria2 determines the inteval value based on the tarcker response
and download progress.
* src/DefaultBtAnnounce.cc
* src/DefaultBtAnnounce.h
* src/OptionHandlerFactory.cc
* src/RequestGroup.cc
* src/prefs.cc
* src/prefs.h
* src/usage_text.h
2009-03-20 13:44:03 +00:00
Tatsuhiro Tsujikawa
948b13ad52
2009-03-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added operator+=, operator-=, operator-
* src/TransferStat.cc
* src/TransferStat.h
2009-03-20 13:39:08 +00:00
Tatsuhiro Tsujikawa
662a90ce9b
2009-03-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Refactored RarestPieceSelector to reduce CPU load, especially
for addPieceStats.
* src/RarestPieceSelector.cc
* src/RarestPieceSelector.h
2009-03-20 13:37:53 +00:00
Tatsuhiro Tsujikawa
3644682511
2009-03-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Refactored getMissingIndexRandomly, getFirstMissingIndex,
getAllMissingBlockIndexes to reduce a call to
array_function_base::operator[].
* src/BitfieldMan.cc
2009-03-20 13:35:40 +00:00
Tatsuhiro Tsujikawa
ef927009b7
2009-03-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Cached TransferStat/download speed to avoid to sum them up in
each call.
* src/DefaultPeerStorage.cc
* src/DefaultPeerStorage.h
* src/SegmentMan.cc
* src/SegmentMan.h
2009-03-20 13:29:33 +00:00
Tatsuhiro Tsujikawa
9233a6258f
2009-03-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Typedefed cuid_t as int32_t in Command.h
* src/CUIDCounter.h
* src/Command.cc
* src/Command.h
* src/DownloadEngine.cc
* src/DownloadEngine.h
* src/PeerStat.h
* src/SegmentMan.cc
* src/SegmentMan.h
2009-03-19 13:54:09 +00:00
Tatsuhiro Tsujikawa
e3ed6adf91
2009-03-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Reduced the number of calls to PeerStorage::calculateStat() and
SegmentMan::calculateDownloadSpeed() to lower CPU usage on
higher transfer rate.
* src/DefaultBtInteractive.cc
* src/DefaultBtMessageDispatcher.cc
* src/DefaultPeerStorage.cc
* src/DefaultPeerStorage.h
* src/DownloadCommand.cc
* src/DownloadEngine.cc
* src/PeerStorage.h
* src/SegmentMan.cc
* src/SegmentMan.h
* test/MockPeerStorage.h
2009-03-19 13:42:10 +00:00
Tatsuhiro Tsujikawa
75a525b031
2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Prepended _dir+"/" after joining path elements in torrent file.
* src/DefaultBtContext.cc
* test/DefaultBtContextTest.cc
2009-03-13 16:10:28 +00:00
Tatsuhiro Tsujikawa
49fea7585b
2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added missing IndexBtMessageValidator.h
* src/Makefile.am
2009-03-13 14:40:10 +00:00
Tatsuhiro Tsujikawa
a64432fe35
2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated Indonesian, Russian, Italian, Ukrainian and Simplified
Chinese translations. Thank you for contributing our project.
* po/id.po
* po/it.po
* po/ru.po
* po/uk.po
* po/zh_CN.po
2009-03-13 14:28:11 +00:00
Tatsuhiro Tsujikawa
29d7425b2e
2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated README
* README
2009-03-13 14:01:20 +00:00
Tatsuhiro Tsujikawa
baeee19593
2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Bump up version number to 1.3.0
* configure.ac
2009-03-13 13:46:48 +00:00
Tatsuhiro Tsujikawa
e3fc396450
2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated doc
* src/DefaultBtContext.h
2009-03-13 13:44:30 +00:00
Tatsuhiro Tsujikawa
c211a2aa4c
2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Slice/joinPath for name of single torrent.
* src/DefaultBtContext.cc
* test/DefaultBtContextTest.cc
2009-03-13 13:42:19 +00:00
Tatsuhiro Tsujikawa
b721f2e192
2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated man page: Documented --dry-run and --index-out
options. Changed the default value of --uri-selector and
--http-auth-challenge options. Removed --direct-file-mapping
option. Added example for --index-out
* doc/aria2c.1.txt
2009-03-13 13:35:30 +00:00
Tatsuhiro Tsujikawa
570df02268
2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated TEXT_DRY_RUN
* src/usage_text.h
2009-03-13 13:29:13 +00:00
Tatsuhiro Tsujikawa
2586ca52ad
2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Changed the default value of --uri-selector option from
'inorder' to 'feedback'
* src/OptionHandlerFactory.cc
2009-03-13 13:01:12 +00:00
Tatsuhiro Tsujikawa
a499e1b7bd
2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Included current URI in exception message.
* src/AbstractCommand.cc
2009-03-13 12:58:58 +00:00
Tatsuhiro Tsujikawa
87f4fda22f
2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Renamed ServerStatURISelector as FeedbackURISelector.
* src/FeedbackURISelector.cc
* src/FeedbackURISelector.h
* src/Makefile.am
* src/RequestGroupMan.cc
* src/ServerStatURISelector.cc
* src/ServerStatURISelector.h
* test/FeedbackURISelectorTest.cc
* test/Makefile.am
* test/ServerStatURISelectorTest.cc
2009-03-13 12:44:58 +00:00
Tatsuhiro Tsujikawa
5c63e74e80
2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the bug that AdaptiveURISelector doesn't select any URI
when all URIs are tested and their timeout is not reached.
* src/AdaptiveURISelector.cc
* src/AdaptiveURISelector.h
2009-03-13 12:36:18 +00:00
Tatsuhiro Tsujikawa
ff20576d01
2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Changed the default value of --http-auth-challenge option to
false.
* src/OptionHandlerFactory.cc
2009-03-13 12:31:22 +00:00
Tatsuhiro Tsujikawa
d8678a8dd0
2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Reuse URIs when all unused URIs run out.
* src/OptionHandlerFactory.cc
* src/RequestGroup.cc
* src/prefs.cc
* src/prefs.h
2009-03-13 12:27:40 +00:00
Tatsuhiro Tsujikawa
15582ed8cd
2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Refactored BtMessage subclasses. BtCancelMessage,
BtRequestMessage and BtRejectMessage are derived from
RangeBtMessage class.
BtAllowedFastMessage, BtHaveMessage and BtSuggestPieceMessage
are derived from IndexBtMessage class. BtChokeMessage,
BtHaveAllMessage, BtHaveNoneMessage, BtInterestedMessage,
BtNotInterestedMessage and BtUnchokeMessage are derived from
ZeroBtMessage class.
* src/AbstractBtMessage.cc
* src/AbstractBtMessage.h
* src/BtAllowedFastMessage.cc
* src/BtAllowedFastMessage.h
* src/BtAllowedFastMessageValidator.h: Removed
* src/BtBitfieldMessage.cc
* src/BtBitfieldMessage.h
* src/BtCancelMessage.cc
* src/BtCancelMessage.h
* src/BtCancelMessageValidator.h: Removed
* src/BtChokeMessage.cc
* src/BtChokeMessage.h
* src/BtExtendedMessage.cc
* src/BtExtendedMessage.h
* src/BtHandshakeMessage.cc
* src/BtHandshakeMessage.h
* src/BtHaveAllMessage.cc
* src/BtHaveAllMessage.h
* src/BtHaveMessage.cc
* src/BtHaveMessage.h
* src/BtHaveMessageValidator.h: Removed
* src/BtHaveNoneMessage.cc
* src/BtHaveNoneMessage.h
* src/BtInterestedMessage.cc
* src/BtInterestedMessage.h
* src/BtKeepAliveMessage.cc
* src/BtKeepAliveMessage.h
* src/BtNotInterestedMessage.cc
* src/BtNotInterestedMessage.h
* src/BtPieceMessage.cc
* src/BtPieceMessage.h
* src/BtPortMessage.cc
* src/BtPortMessage.h
* src/BtRejectMessage.cc
* src/BtRejectMessage.h
* src/BtRejectMessageValidator.h: Removed
* src/BtRequestMessage.cc
* src/BtRequestMessage.h
* src/BtRequestMessageValidator.h: Removed
* src/BtSuggestPieceMessage.cc
* src/BtSuggestPieceMessage.h
* src/BtSuggestPieceMessageValidator.h: Removed
* src/BtUnchokeMessage.cc
* src/BtUnchokeMessage.h
* src/DefaultBtMessageFactory.cc
* src/IndexBtMessage.cc
* src/IndexBtMessage.h
* src/IndexBtMessageValidator.h
* src/Makefile.am
* src/PeerMessageUtil.cc
* src/PeerMessageUtil.h
* src/RangeBtMessage.cc
* src/RangeBtMessage.h
* src/RangeBtMessageValidator.h
* src/SimpleBtMessage.cc
* src/SimpleBtMessage.h
* src/ZeroBtMessage.cc
* src/ZeroBtMessage.h
* test/BtRequestMessageTest.cc
2009-03-12 15:54:43 +00:00
Tatsuhiro Tsujikawa
371ef954d5
2009-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Reverted usage_text.h to r1093 to avoid to lose translated
messages.
* src/usage_text.h
2009-03-11 15:49:31 +00:00
Tatsuhiro Tsujikawa
4e0c03500c
2009-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
BtMessage now holds _id attribute. MESSAGE_LENGTH that is
declared as non-const previously is now const and defined in
class definition.
* src/AbstractBtMessage.cc
* src/AbstractBtMessage.h
* src/BtAllowedFastMessage.cc
* src/BtAllowedFastMessage.h
* src/BtBitfieldMessage.h
* src/BtCancelMessage.cc
* src/BtCancelMessage.h
* src/BtChokeMessage.cc
* src/BtChokeMessage.h
* src/BtExtendedMessage.cc
* src/BtExtendedMessage.h
* src/BtHandshakeMessage.cc
* src/BtHandshakeMessage.h
* src/BtHaveAllMessage.cc
* src/BtHaveAllMessage.h
* src/BtHaveMessage.cc
* src/BtHaveMessage.h
* src/BtHaveNoneMessage.cc
* src/BtHaveNoneMessage.h
* src/BtInterestedMessage.cc
* src/BtInterestedMessage.h
* src/BtKeepAliveMessage.cc
* src/BtKeepAliveMessage.h
* src/BtMessage.h
* src/BtNotInterestedMessage.cc
* src/BtNotInterestedMessage.h
* src/BtPieceMessage.h
* src/BtPortMessage.cc
* src/BtPortMessage.h
* src/BtRejectMessage.cc
* src/BtRejectMessage.h
* src/BtRequestMessage.cc
* src/BtRequestMessage.h
* src/BtSuggestPieceMessage.cc
* src/BtSuggestPieceMessage.h
* src/BtUnchokeMessage.cc
* src/BtUnchokeMessage.h
* src/SimpleBtMessage.cc
* src/SimpleBtMessage.h
* test/MockBtMessage.h
2009-03-11 15:44:04 +00:00
Tatsuhiro Tsujikawa
aecd8bbfeb
2009-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Use FileEntry::exists()
* src/MultiDiskAdaptor.cc
2009-03-11 15:38:25 +00:00
Tatsuhiro Tsujikawa
3a814ddf5b
2009-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added exists()
* src/FileEntry.cc
* src/FileEntry.h
2009-03-11 15:37:40 +00:00
Tatsuhiro Tsujikawa
90ca1be5fe
2009-03-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added missing prefix dir.
* src/download_helper.cc
2009-03-10 13:15:14 +00:00
Tatsuhiro Tsujikawa
176c9d2002
2009-03-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed --direct-file-mapping option and CopyDiskAdaptor.
* src/CopyDiskAdaptor.cc: Removed
* src/CopyDiskAdaptor.h: Removed
* src/DefaultPieceStorage.cc
* src/Makefile.am
* src/OptionHandlerFactory.cc
* src/prefs.cc
* src/prefs.h
* src/usage_text.h
* test/CopyDiskAdaptorTest.cc: Removed
* test/Makefile.am
2009-03-10 13:08:07 +00:00
Tatsuhiro Tsujikawa
173a86febc
2009-03-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Rewritten isSameFileBeingDownloaded()
* src/RequestGroupMan.cc
2009-03-10 12:58:38 +00:00
Tatsuhiro Tsujikawa
849a533d61
2009-03-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed getName() from DownloadContext. getName() is declared in
BtContext.
* src/BtContext.h
* src/DownloadContext.h
* src/SingleFileDownloadContext.cc
* src/SingleFileDownloadContext.h
Removed getFilePath() from DiskAdaptor. getFilePath() is
declared in AbstractSingleDiskAdaptor.
* src/AbstractSingleDiskAdaptor.h
* src/DiskAdaptor.h
* src/MultiDiskAdaptor.h
* src/RequestGroup.cc
Removed setTopDir() and getTopDir() and getTopDirPath() from
MultiDiskAdaptor.
* src/DefaultPieceStorage.cc
* src/MultiDiskAdaptor.cc
* src/MultiDiskAdaptor.h
* test/MultiDiskAdaptorTest.cc
2009-03-10 12:24:29 +00:00
Tatsuhiro Tsujikawa
e2704bd823
2009-03-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
FileEntry::getPath() contains store(top level) directory to
simplify path handling operation. In the previous
implementation, store directory is concatenated to
FileEntry::getPath() in DownloadContext.
* src/BtDependency.cc
* src/BtPostDownloadHandler.cc
* src/CopyDiskAdaptor.cc
* src/DefaultBtContext.cc
* src/DirectDiskAdaptor.cc
* src/FileEntry.cc
* src/FileEntry.h
* src/FtpNegotiationCommand.cc
* src/HttpResponse.cc
* src/HttpResponseCommand.cc
* src/Metalink2RequestGroup.cc
* src/MultiDiskAdaptor.cc
* src/MultiDiskAdaptor.h
* src/MultiFileAllocationIterator.cc
* src/RequestGroup.cc
* src/SingleFileDownloadContext.cc
* src/SingleFileDownloadContext.h
* src/download_helper.cc
* test/BtDependencyTest.cc
* test/CopyDiskAdaptorTest.cc
* test/DefaultBtContextTest.cc
* test/DefaultBtProgressInfoFileTest.cc
* test/DirectDiskAdaptorTest.cc
* test/DownloadHelperTest.cc
* test/FileEntryTest.cc
* test/MultiDiskAdaptorTest.cc
* test/MultiFileAllocationIteratorTest.cc
* test/RequestGroupTest.cc
* test/SingleFileDownloadContextTest.cc
2009-03-09 15:10:26 +00:00
Tatsuhiro Tsujikawa
ed6851636f
2009-03-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed compiler warning
* src/download_helper.cc
2009-03-09 11:33:03 +00:00
Tatsuhiro Tsujikawa
bb3a55d080
2009-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Throw exception if same infohash torrent is now downloading.
* src/RequestGroup.cc
2009-03-08 12:47:33 +00:00
Tatsuhiro Tsujikawa
6187d6e506
2009-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added --dry-run option. In this mode, aria2 just checks whether
the remote file is available and doesn't download data. This
option has effect on HTTP/FTP downloads and BitTorrent downloads
are canceled in this mode.
* src/FtpNegotiationCommand.cc
* src/HttpResponseCommand.cc
* src/HttpResponseCommand.h
* src/OptionHandlerFactory.cc
* src/RequestGroup.cc
* src/RequestGroupMan.cc
* src/prefs.cc
* src/prefs.h
* src/usage_text.h
2009-03-08 10:20:42 +00:00
Tatsuhiro Tsujikawa
c63ceff5dd
2009-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed compiler waring
* test/UriListParserTest.cc
2009-03-08 10:17:34 +00:00
Tatsuhiro Tsujikawa
f4da71fc6d
2009-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Parse options in -i list using OptionParser.
* src/UriListParser.cc
* src/UriListParser.h
2009-03-08 08:49:17 +00:00
Tatsuhiro Tsujikawa
c2447e3094
2009-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Don't reset URI in retry to avoid additional round trips because
of redirects.
* src/AbstractCommand.cc
* src/OptionHandlerFactory.cc
* src/prefs.cc
* src/prefs.h
2009-03-08 08:22:00 +00:00
Tatsuhiro Tsujikawa
1c4e7d39d4
2009-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Declared hide() in OptionHandler.
* src/NameMatchOptionHandler.h
* src/OptionHandler.h
* src/OptionHandlerImpl.h
2009-03-08 08:19:50 +00:00
Tatsuhiro Tsujikawa
75a9884fd6
2009-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated doc
* src/Peer.h
2009-03-08 08:02:58 +00:00
Tatsuhiro Tsujikawa
93b7ffc4f7
2009-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added log message in setStatusInternal()
* src/ServerStat.cc
2009-03-07 14:25:38 +00:00
Tatsuhiro Tsujikawa
91f15c4213
2009-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Call ServerStat::setError() in AbstractCommand::onAbort() to
effectively exclude failed server.
* src/AbstractCommand.cc
2009-03-07 14:24:50 +00:00
Tatsuhiro Tsujikawa
f44554a634
2009-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added --index-out option to specify each file path for torrent.
Here index shown in --show-files option is used to specify which
file path should be altered. For example, to change the file
path with index=2, use --index-out=2=aria2.tar.bz2. You can use
this option multiple times: --index-out=1=aria2.tar.bz2
--index-out=2=aria2-opt.tar.bz2. The short hand form -O is also
available. This option can be specified in -i list.
* src/DefaultBtContext.cc
* src/DefaultBtContext.h
* src/MultiDiskAdaptor.cc
* src/MultiDiskAdaptor.h
* src/MultiFileAllocationIterator.cc
* src/OptionHandlerFactory.cc
* src/OptionHandlerImpl.h
* src/Util.cc
* src/Util.h
* src/download_helper.cc
* src/prefs.cc
* src/prefs.h
* src/usage_text.h
* test/DefaultBtContextTest.cc
* test/MultiDiskAdaptorTest.cc
* test/MultiFileAllocationIteratorTest.cc
* test/UtilTest.cc
2009-03-07 03:10:53 +00:00
Tatsuhiro Tsujikawa
4aae48c9b2
2009-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Use Util::pathJoin()
* src/MetalinkParserController.cc
* test/test.xml
2009-03-04 15:56:56 +00:00
Tatsuhiro Tsujikawa
27ff58c06e
2009-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Use Util::pathJoin()
* src/DefaultBtContext.cc
2009-03-04 15:55:16 +00:00
Tatsuhiro Tsujikawa
70a8403575
2009-03-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added Util::pathJoin()
* src/Util.h
* test/UtilTest.cc
2009-03-04 15:53:56 +00:00
Tatsuhiro Tsujikawa
6f0bd778ee
2009-03-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Applied basename function to remove directory element in
content-disposition value.
Return empty string if content-disposition value is ".." or ".".
* src/Util.cc
* test/UtilTest.cc
2009-03-04 14:49:10 +00:00
Tatsuhiro Tsujikawa
b6effe2435
2009-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added --max-overall-download-limit in man page.
Updated --max-overall-upload-limit, --max-download-limit
option's doc.
* doc/aria2c.1.txt
2009-02-28 11:50:17 +00:00
Tatsuhiro Tsujikawa
0b29a6e2cf
2009-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added --max-overall-download-limit option. Now
--max-upload-limit option is not ignored when
--max-overall-upload-limit option has non-zero value. aria2
checks download(upload) speed in the order:
first checks overall speed limit and if it is not exceeded, then
checks speed limit per download. Thus you can specify both
value. For example, set --max-overall-download-limit=1M and
--max-download-limit=500K to prevent from one download from
eating all overall speed limit.
* src/DefaultBtInteractive.cc
* src/DefaultBtInteractive.h
* src/DefaultBtMessageDispatcher.cc
* src/DefaultBtMessageDispatcher.h
* src/DownloadCommand.cc
* src/DownloadCommand.h
* src/FtpNegotiationCommand.cc
* src/HttpResponseCommand.cc
* src/OptionHandlerFactory.cc
* src/PeerInteractionCommand.cc
* src/RequestGroup.cc
* src/RequestGroup.h
* src/RequestGroupMan.cc
* src/RequestGroupMan.h
* src/prefs.cc
* src/prefs.h
* src/usage_text.h
* test/DefaultBtMessageDispatcherTest.cc
2009-02-28 11:48:26 +00:00
Tatsuhiro Tsujikawa
362cd20bf1
2009-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Documented select-file option in Input File section.
Documented --http-auth-challenge option.
* doc/aria2c.1.txt
2009-02-28 09:53:59 +00:00
Tatsuhiro Tsujikawa
dbc8d549c7
2009-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Now select-file can be specified in the uri list(-i list).
* src/BtContext.cc
* src/BtContext.h
* src/RequestGroup.cc
* src/Sequence.h
* src/download_helper.cc
2009-02-28 09:52:09 +00:00
Tatsuhiro Tsujikawa
cffb6be91a
2009-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Made the upper value of --max-concurrent-downloads options
unlimited.
* src/OptionHandlerFactory.cc
2009-02-28 09:36:48 +00:00
Tatsuhiro Tsujikawa
1c15b5373c
2009-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the bug that disk writer is not created even if it shares
same piece with the preceding file if the length of previous
file is 0.
* src/MultiDiskAdaptor.cc
* test/MultiDiskAdaptorTest.cc
2009-02-27 15:33:07 +00:00
Tatsuhiro Tsujikawa
2dfee3dc49
2009-02-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
In BitTorrent, Open files in read-only mode for hash check.
After that, re-open file in read/write mode only when the
download is not finished.
* src/AbstractDiskWriter.cc
* src/AbstractDiskWriter.h
* src/AbstractSingleDiskAdaptor.cc
* src/AbstractSingleDiskAdaptor.h
* src/BtCheckIntegrityEntry.cc
* src/DiskAdaptor.h
* src/DiskWriter.h
* src/MultiDiskAdaptor.cc
* src/MultiDiskAdaptor.h
* src/RequestGroup.cc
2009-02-23 13:27:08 +00:00
Tatsuhiro Tsujikawa
120e2de096
2009-02-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added --http-auth-challenge option. If it is set to true(by
default), aria2 sends HTTP authorization header only when it is
requested by the server. If false is set, then authorization
header is always sent to the server. This is useful for servers
that don't respond 401 code when authentication is required.
There is an exception: if username and password are embedded in
URI, authorization header is always sent to the server
regardless of this option.
* src/AuthConfigFactory.cc
* src/HttpSkipResponseCommand.cc
* src/OptionHandlerFactory.cc
* src/prefs.cc
* src/prefs.h
* src/usage_text.h
* test/AuthConfigFactoryTest.cc
* test/HttpRequestTest.cc
2009-02-19 12:02:22 +00:00
Tatsuhiro Tsujikawa
deb0625edb
2009-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
* Release 1.2.0
2009-02-15 14:53:27 +00:00
Tatsuhiro Tsujikawa
2259dea9a7
2009-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated Spanish, Ukrainian, Russian and Japanese translations.
Thanks to all translators.
* po/es.po
* po/ja.po
* po/ru.po
* po/uk.po
2009-02-15 14:48:25 +00:00
Tatsuhiro Tsujikawa
55c3fb1ca0
2009-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Call deleteSocketForReadCheck() before socket is closed.
* src/HttpListenCommand.cc
2009-02-15 14:09:01 +00:00
Tatsuhiro Tsujikawa
a82897bbaf
2009-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Defined virtual destructor for BObject.
* src/bencode.h
2009-02-15 13:00:05 +00:00
Tatsuhiro Tsujikawa
3ae7633f32
2009-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Rewritten BDE to make it efficient.
* src/bencode.cc
* src/bencode.h
2009-02-15 12:57:47 +00:00
Tatsuhiro Tsujikawa
eafb1bc615
2009-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed function throw list.
* src/bencode.cc
* src/bencode.h
* test/BencodeTest.cc
2009-02-15 11:20:21 +00:00
Tatsuhiro Tsujikawa
604cbccd0a
2009-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Enclosed all URLs in double quotes in command-line examples.
* doc/aria2c.1.txt
2009-02-15 03:36:55 +00:00
Tatsuhiro Tsujikawa
f362463e15
2009-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated reference/see also section.
* README
* doc/aria2c.1.txt
2009-02-15 03:22:00 +00:00
Tatsuhiro Tsujikawa
0c1e09e64f
2009-02-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Reorganized man page based on man man-pages.
* doc/aria2c.1.txt
2009-02-14 10:17:40 +00:00
Tatsuhiro Tsujikawa
8cac61a25f
2009-02-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed SERVER PERFORMANCE PROFILE and Configuration file
section because same documents are available in man page. Added
References section.
* README
2009-02-14 09:47:34 +00:00
Tatsuhiro Tsujikawa
9b9c527d21
2009-02-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Documented sc_avg_speed, mc_avg_speed and counter in SERVER
PERFORMANCE PROFILE section.
* doc/aria2c.1.txt
2009-02-14 09:43:55 +00:00
Tatsuhiro Tsujikawa
b642ee92cd
2009-02-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Rewritten the section for configuration file.
* README
* doc/aria2c.1.txt
2009-02-14 09:27:32 +00:00
Tatsuhiro Tsujikawa
7007a7386f
2009-02-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the segmentation fault during execution of choking
algorithm in leecher state because of broken compare operator
implementation.
* src/BtLeecherStateChoke.cc
* src/BtLeecherStateChoke.h
2009-02-13 14:10:55 +00:00
Tatsuhiro Tsujikawa
34d7cd7a70
2009-02-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Open file in binary mode.
* src/CookieStorage.cc
* src/DHTSetup.cc
* src/DHTUtil.cc
* src/Netrc.cc
* src/NsCookieParser.cc
* src/ProtocolDetector.cc
* src/RequestGroupMan.cc
* src/Signature.cc
* src/bencode.cc
* src/download_helper.cc
* src/option_processing.cc
* test/CookieParserTest.cc
* test/DefaultBtProgressInfoFileTest.cc
* test/FileTest.cc
* test/GZipDecoderTest.cc
* test/RequestGroupManTest.cc
* test/SignatureTest.cc
* test/SingleFileAllocationIteratorTest.cc
* test/UriListParserTest.cc
2009-02-13 11:28:42 +00:00
Tatsuhiro Tsujikawa
9d27eb53f5
2009-02-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed operator[] because it is ambiguous with built-in []
operator.
* src/array_fun.h
2009-02-12 15:42:10 +00:00
Tatsuhiro Tsujikawa
fff02b6012
2009-02-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed compile error
* src/OptionParser.cc
2009-02-12 15:40:33 +00:00
Tatsuhiro Tsujikawa
9ce0e78780
2009-02-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added missing call to arrayWrapperConst
* test/array_funTest.cc
2009-02-12 15:39:07 +00:00
Tatsuhiro Tsujikawa
83caf2903b
2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Use array_wrapper instead of array_ptr.
* src/DHTRoutingTableDeserializer.cc
2009-02-12 14:17:13 +00:00
Tatsuhiro Tsujikawa
b521bd5752
2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed template<typename S> array_ptr(const array_ptr<S>& s)
* src/array_fun.h
2009-02-12 13:45:46 +00:00
Tatsuhiro Tsujikawa
b8b6b5c568
2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added array_wrapper template.
* src/array_fun.h
* test/array_funTest.cc
2009-02-12 13:44:34 +00:00
Tatsuhiro Tsujikawa
a73ef15904
2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Use operator T* of array_ptr.
* src/OptionParser.cc
2009-02-12 13:12:54 +00:00
Tatsuhiro Tsujikawa
2e9edd316a
2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Use localhost instead of 127.0.0.1
* test/FtpConnectionTest.cc
* test/MSEHandshakeTest.cc
2009-02-12 13:11:51 +00:00
Tatsuhiro Tsujikawa
1c46a26ae6
2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added operator T*
* src/array_fun.h
* test/array_funTest.cc
2009-02-12 13:10:38 +00:00
Tatsuhiro Tsujikawa
5547b3a5ed
2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Use dynamically allocated char array to detect memory access
violation.
* src/DHTRoutingTableDeserializer.cc
2009-02-11 16:33:45 +00:00
Tatsuhiro Tsujikawa
509c13c173
2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Set struct sockaddr_in.sin_len if HAVE_SOCKADDR_IN_SIN_LEN is
defined.
* src/PeerMessageUtil.cc
2009-02-11 16:15:30 +00:00
Tatsuhiro Tsujikawa
44e574e2fe
2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Renamed HAVE_SOCKADDR_SIN_LEN as HAVE_SOCKADDR_IN_SIN_LEN
* configure.ac
2009-02-11 16:14:22 +00:00
Tatsuhiro Tsujikawa
c0f13f9e69
2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added a check to see struct sockaddr_in has sin_len member.
* configure.ac
2009-02-11 16:12:07 +00:00
Tatsuhiro Tsujikawa
8f596468eb
2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed buffer overrun.
* src/DHTRoutingTableDeserializer.cc
2009-02-11 16:09:20 +00:00
Tatsuhiro Tsujikawa
c7cf936956
2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added LL for long long int constant.
* test/FtpConnectionTest.cc
2009-02-11 16:08:14 +00:00
Tatsuhiro Tsujikawa
1982ebaf1f
2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Casted to unsigned int to suppress compiler warning on netbsd.
* src/BtRuntime.h
2009-02-11 16:07:00 +00:00
Tatsuhiro Tsujikawa
43796accda
2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Assign the value of tv.tv_sec to time_t timesec instead of
giving tv.tv_sec to localtime_r directly because tv.tv_sec may
not be of type time_t.
* src/SimpleLogger.cc
2009-02-11 16:05:33 +00:00
Tatsuhiro Tsujikawa
0a5f6751d1
2009-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added test for FtpConnection::receiveSizeResponse().
* test/FtpConnectionTest.cc
2009-02-11 10:41:56 +00:00
Tatsuhiro Tsujikawa
cf20e207d4
2009-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fix epoll error on the old kernel 2.6.8 or ealier.
* src/EpollEventPoll.cc
2009-02-11 10:34:43 +00:00
Tatsuhiro Tsujikawa
56366759fc
2009-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Use Util::parseLLInt instead of sscanf for portability. The
conversion "%Lu" fails in Mac OSX which requires "%llu" instead.
* src/FtpConnection.cc
2009-02-11 10:32:10 +00:00
Tatsuhiro Tsujikawa
0fc900c0ac
2009-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the bug that adding 0 length filter to BitfieldMan filters
1 block. It should not filter anything.
* src/BitfieldMan.cc
* src/ConsoleStatCalc.cc
* test/BitfieldManTest.cc
2009-02-11 07:54:03 +00:00
Tatsuhiro Tsujikawa
a8376a5c4b
2009-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the bug that the boolean options that don't take arguments
don't work.
* src/OptionHandlerImpl.h
2009-02-11 07:46:15 +00:00
Tatsuhiro Tsujikawa
a2c3c54386
s/MultiDiskWriter/MultiDiskAdaptor/ in the previous log message.
2009-02-11 07:43:10 +00:00
Tatsuhiro Tsujikawa
b5af788a00
2009-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed broken selected file BitTorrent download.
* src/MultiDiskWriter.cc
* test/MultiDiskWriterTest.cc
* test/MultiFileAllocationIteratorTest.cc
2009-02-11 07:41:15 +00:00
Tatsuhiro Tsujikawa
4570a4242e
2009-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed #define guard for EpollEventPoll
* src/EpollEventPoll.h
2009-02-10 17:00:43 +00:00
Tatsuhiro Tsujikawa
d63308afc5
2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Wait 2 seconds. 1 second is sometimes not enough.
* test/TimeSeedCriteriaTest.cc
2009-02-10 14:53:32 +00:00
Tatsuhiro Tsujikawa
900d102bbf
2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Use localhost instead of 127.0.0.1.
* test/DHTConnectionImplTest.cc
2009-02-10 14:52:20 +00:00
Tatsuhiro Tsujikawa
fb8848d415
2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Suppressed compiler warning.
* src/AdaptiveURISelector.cc
* src/DefaultPieceStorage.cc
2009-02-10 14:50:54 +00:00
Tatsuhiro Tsujikawa
145799abc5
2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Defined virtual destructor.
* src/MetalinkParserState.h
2009-02-10 14:49:35 +00:00
Tatsuhiro Tsujikawa
15b2d2f53b
2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Give NULL for second argument of getaddrinfo instead of "0".
* src/NameResolver.cc
2009-02-10 14:48:36 +00:00
Tatsuhiro Tsujikawa
fe267b43d5
2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Don't use Time::parse(buf, "%Y%m%d%H%M%S") because Mac OS X and
included strptime doesn't parse data for this format.
* src/FtpConnection.cc
* test/FtpConnectionTest.cc
2009-02-10 14:47:07 +00:00
Tatsuhiro Tsujikawa
a57e0b1273
2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed tests giving -1 for unsigned argument.
* test/SingleFileDownloadContextTest.cc
2009-02-10 14:45:21 +00:00
Tatsuhiro Tsujikawa
52b17520de
2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Don't use sha256 in tests because it might not be supported by
the SSL library.
* test/MetalinkProcessorTest.cc
2009-02-10 14:44:33 +00:00
Tatsuhiro Tsujikawa
ab06444ba7
2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed tests giving -1 for unsigned argument.
* test/AlphaNumberDecoratorTest
* test/BitfieldManTest.cc
* test/DefaultBtContextTest.cc
2009-02-10 14:42:49 +00:00
Tatsuhiro Tsujikawa
01b3968f92
2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed compile error without libcares when epoll is available.
* src/EpollEventPoll.cc
2009-02-10 14:26:11 +00:00
Tatsuhiro Tsujikawa
abae62908f
2009-02-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Included fstream instead of iostream.
* test/SignatureTest.cc
2009-02-09 12:45:07 +00:00
Tatsuhiro Tsujikawa
28d9af6d04
2009-02-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed #include <algorithm>
* test/RequestGroupTest.cc
2009-02-08 14:21:20 +00:00
Tatsuhiro Tsujikawa
9bb57720cf
2009-02-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Rewritten AdaptiveURISelector::mayRetryWithIncreasedTimeout()
using RequestGroup::extractURIResult().
* src/AdaptiveURISelector.cc
* src/RequestGroup.cc
* src/RequestGroup.h
* test/RequestGroupTest.cc
2009-02-08 14:17:55 +00:00
Tatsuhiro Tsujikawa
b8d177dd5d
2009-02-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added tests for array_ptr.
* test/array_funTest.cc
2009-02-08 11:27:22 +00:00
Tatsuhiro Tsujikawa
9a7eee5cfa
2009-02-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Don't send ip parameter to a tracker if ip parameter is empty
string.
* src/DefaultBtAnnounce.cc
2009-02-07 15:02:32 +00:00
Tatsuhiro Tsujikawa
064754396e
2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Adjusted line feed.
* src/version_usage.cc
2009-02-07 14:24:56 +00:00
Tatsuhiro Tsujikawa
9dd04b7aaa
2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Print tags, possible values when OptionHandlerException is
caught.
* src/option_processing.cc
2009-02-07 14:24:11 +00:00
Tatsuhiro Tsujikawa
d71f434f61
2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Changed the message for FatalException.
* src/OptionParser.cc
2009-02-07 14:22:17 +00:00
Tatsuhiro Tsujikawa
366e5f40d5
2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Documented --bt-external-ip option in man page. Updated man
pages for --proxy-method option.
* doc/aria2c.1.txt
2009-02-07 14:01:38 +00:00
Tatsuhiro Tsujikawa
0fcdb7eee3
2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Use GET method for FTP via HTTP proxy.
* src/FtpInitiateConnectionCommand.cc
2009-02-07 13:52:41 +00:00
Tatsuhiro Tsujikawa
997a0c29d1
2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Changed the default value of --proxy-method option from 'tunnel'
to 'get'. Use 'tunnel' for HTTPS regardless of --proxy-method
option.
* src/AbstractCommand.cc
* src/AbstractCommand.h
* src/FtpInitiateConnectionCommand.cc
* src/HttpDownloadCommand.cc
* src/HttpInitiateConnectionCommand.cc
* src/HttpInitiateConnectionCommand.h
* src/OptionHandlerFactory.cc
2009-02-07 13:46:08 +00:00
Tatsuhiro Tsujikawa
1b854afe44
2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Initialized _logger
* src/SelectEventPoll.cc
2009-02-07 13:38:13 +00:00
Tatsuhiro Tsujikawa
0185a9d5a5
2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Defined a copy constructor for the same type.
* src/SharedHandle.h
2009-02-07 11:02:21 +00:00
Tatsuhiro Tsujikawa
2881dbe025
2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added OptionParser::parseArg() which internally uses getopt_long
to parse command-line options. All command-line options are now
configured by OptionHandler. No manual editing of struct option*
is required any more.
* src/NameMatchOptionHandler.h
* src/OptionHandler.h
* src/OptionHandlerFactory.cc
* src/OptionHandlerImpl.h
* src/OptionParser.cc
* src/OptionParser.h
* src/array_fun.h
* src/main.cc
* src/option_processing.cc
* test/OptionHandlerTest.cc
* test/OptionParserTest.cc
2009-02-07 11:00:34 +00:00
Tatsuhiro Tsujikawa
bbb3589293
2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed configure error with --disable-epoll
* configure.ac
2009-02-06 16:51:00 +00:00
Tatsuhiro Tsujikawa
5f0f8e68b2
2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed compile error when HAVE_EPOLL is not defined.
Fixed linker error on bigendian systems.
* src/SocketCore.cc
* src/SocketCore.h
* test/DefaultBtProgressInfoFileTest.cc
2009-02-06 16:49:24 +00:00
Tatsuhiro Tsujikawa
0640ea6254
2009-02-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added --bt-external-ip option. You can specify the external IP
address to report to a BitTorrent tracker. Although this
function is named 'external', it can accept any kind of IP
addresses.
* src/DefaultBtAnnounce.cc
* src/OptionHandlerFactory.cc
* src/option_processing.cc
* src/prefs.cc
* src/prefs.h
* src/usage_text.h
* test/DefaultBtAnnounceTest.cc
2009-02-04 14:11:30 +00:00
Tatsuhiro Tsujikawa
23a6eff88e
2009-02-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Extracted the algorithm to find the longest incremental sequence
as max_sequence template.
* src/LongestSequencePieceSelector.cc
* src/a2algo.h
* test/Makefile.am
* test/a2algoTest.cc
2009-02-03 14:46:33 +00:00
Tatsuhiro Tsujikawa
c41fec3a22
2009-02-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed TEXT_HTTP_SERVER_LISTEN_PORT from translation texts.
* src/usage_text.h
2009-02-02 15:25:45 +00:00
Tatsuhiro Tsujikawa
d4704a9d47
2009-02-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated doc for --uri-selector, --http-server-listen-port and
--enable-http-server option. Documented --event-poll option.
* doc/aria2c.1.txt
2009-02-02 14:30:29 +00:00
Tatsuhiro Tsujikawa
746c00d400
2009-02-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated doc for --enable-http-server.
* src/usage_text.h
2009-02-02 14:20:41 +00:00
Tatsuhiro Tsujikawa
a2fcc3f037
2009-02-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Documented --http-server-listen-port and --enable-http-server in
man page.
* doc/aria2c.1.txt
2009-02-02 14:18:02 +00:00
Tatsuhiro Tsujikawa
14d3ef79ed
2009-02-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated Spanish, Indonesian, Russian, Ukrainian and Italian
translations. Thanks to all translators.
* po/es.po
* po/id.po
* po/it.po
* po/ru.po
* po/uk.po
2009-02-01 04:09:44 +00:00
Tatsuhiro Tsujikawa
970b887fbc
2009-02-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Bump up version number to 1.2.0
* configure.ac
2009-02-01 03:56:40 +00:00
Tatsuhiro Tsujikawa
388b64df04
2009-02-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
BtContext::getAnnounceTiers() now returns const reference.
* src/BtContext.h
* src/DefaultBtContext.cc
* src/DefaultBtContext.h
* test/MockBtContext.h
2009-02-01 03:29:04 +00:00
Tatsuhiro Tsujikawa
746c187ae8
2009-02-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Change the number of retries for tracker request based on the
number of available tracker in a torrent file.
* src/TrackerWatcherCommand.cc
2009-02-01 03:24:02 +00:00
Tatsuhiro Tsujikawa
1b26827851
2009-02-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added _maxTries property to RequestGroup and assign the option
value of PREF_MAX_TRIES to it. AbstractCommand now looks up
RequestGroup::getMaxTries() instead of
Option::getAsInt(PREF_MAX_TRIES).
* src/AbstractCommand.cc
* src/RequestGroup.cc
* src/RequestGroup.h
2009-02-01 03:03:17 +00:00
Tatsuhiro Tsujikawa
f16fb1c890
2009-02-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Applied AdaptiveURISelector-timeout patch from Pascal Rigaux at
Mandriva. I modified the patch: make RequestGroup have the
timeout value and AdaptiveURISelector directly modifies that
value.
* src/AbstractCommand.cc
* src/AdaptiveURISelector.cc
* src/AdaptiveURISelector.h
* src/FtpNegotiationCommand.cc
* src/RequestGroup.cc
* src/RequestGroup.h
2009-02-01 02:55:44 +00:00
Tatsuhiro Tsujikawa
30e183ef54
2009-02-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed compiler warning
* test/IteratableChecksumValidatorTest.cc
2009-02-01 02:50:38 +00:00
Tatsuhiro Tsujikawa
660c480cca
2009-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Use LongestSequencePieceSelector for HTTP/FTP/BitTorrent
integrated downloads. This PieceSelector subclass finds the
longest continuous sequence in the available missing pieces and
selects the last index of such sequence. This makes HTTP/FTP
connections less interrupted by the pieces obtained by
BitTorrent peers.
* src/DefaultPieceStorage.cc
* src/DefaultPieceStorage.h
* src/LongestSequencePieceSelector.cc
* src/LongestSequencePieceSelector.h
* src/Makefile.am
* src/PieceSelector.h
* src/RarestPieceSelector.h
* src/RequestGroup.cc
* test/BtDependencyTest.cc
* test/DefaultPieceStorageTest.cc
* test/IteratableChecksumValidatorTest.cc
* test/LongestSequencePieceSelectorTest.cc
* test/Makefile.am
* test/SegmentManTest.cc
2009-01-31 14:34:29 +00:00
Tatsuhiro Tsujikawa
84f02e7dd0
2009-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the bug that the average speed is wrong in
http/ftp/BitTorrent integrated download. Only the download bytes
in BitTorrent were considered.
* src/RequestGroup.cc
2009-01-31 13:01:25 +00:00
Tatsuhiro Tsujikawa
dbc8f687c1
2009-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Choose port for BitTorrent/DHT randomly from the specified
range.
* src/DHTConnectionImpl.cc
* src/PeerListenCommand.cc
2009-01-30 16:24:35 +00:00
Tatsuhiro Tsujikawa
e5c4b24454
2009-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Send HTTP Authorization header only if it is requested by the
server(response 401). There are some exceptions. The
authorization header for proxy is always sent if it is available
without request by the server. If username/password is specified
in the URI, it is immediately sent to the server without
request by the server.
AbstractAuthResolver::_defaultAuthConfig is now initialized as
SharedHandle<AuthConfig>().
NetrcAuthResolver::resolveAuthConfig() returns
SharedHandle<AuthConfig>() if no AuthConfig is available.
* src/AbstractAuthResolver.cc
* src/AbstractProxyRequestCommand.cc
* src/AuthConfigFactory.cc
* src/AuthConfigFactory.h
* src/HttpConnection.cc
* src/HttpRequest.cc
* src/HttpRequest.h
* src/HttpResponse.cc
* src/HttpResponseCommand.cc
* src/HttpSkipResponseCommand.cc
* test/AuthConfigFactoryTest.cc
* test/HttpRequestTest.cc
* test/HttpResponseTest.cc
2009-01-30 16:12:41 +00:00
Tatsuhiro Tsujikawa
120ea4c609
2009-01-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Remove leading "--" from help keyword and a substring after "="
from help keyword, so that one can query options by '-h--max-'
or '-hmax-peers=10'.
* src/option_processing.cc
2009-01-27 12:40:44 +00:00
Tatsuhiro Tsujikawa
873231fe1e
2009-01-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Rewritten PStringVisitor and its implementation.
* src/PStringBuildVisitor.cc
* src/PStringBuildVisitor.h
* src/PStringDatum.h
* src/PStringNumLoop.h
* src/PStringSegment.cc
* src/PStringSegment.h
* src/PStringSelect.h
* src/PStringVisitor.h
* src/download_helper.cc
* test/PStringBuildVisitorTest.cc
* test/ParameterizedStringParserTest.cc
2009-01-25 14:19:27 +00:00
Tatsuhiro Tsujikawa
5def96906f
2009-01-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Persist connection between the built-in HTTP server and a client
if a client supports keep-alive. Fixed the bug that aria2 exits
when the HTTP server receives EOF from a client.
* src/HttpServer.cc
* src/HttpServer.h
* src/HttpServerCommand.cc
* src/HttpServerCommand.h
* src/HttpServerResponseCommand.cc
2009-01-25 10:55:27 +00:00
Tatsuhiro Tsujikawa
0742e3921f
2009-01-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added experimental built-in HTTP server. Currently, when a
client accesses to the server, it responds with the current
download progress. By default, it is disabled. To enable the
server, give --enable-http-server option. To change the default
port number for the server to listen to, use
--http-server-listen-port option.
The response HTML is very simple and refreshes it self each 1
second. Because of this refresh, you see flicker in normal web
browser such as Firefox. I recommend to use console-based
browser such as elinks, w3m. To connect to the server, run
'elinks http://localhost:6800/ ' while running aria2. Please
replace port number '6800'(which is default) with your
preference.
* src/DownloadEngineFactory.cc
* src/HttpHeader.cc
* src/HttpHeader.h
* src/HttpHeaderProcessor.cc
* src/HttpHeaderProcessor.h
* src/HttpListenCommand.cc
* src/HttpListenCommand.h
* src/HttpServer.cc
* src/HttpServer.h
* src/HttpServerCommand.cc
* src/HttpServerCommand.h
* src/HttpServerResponseCommand.cc
* src/HttpServerResponseCommand.h
* src/Makefile.am
* src/OptionHandlerFactory.cc
* src/Util.cc
* src/Util.h
* src/help_tags.h
* src/option_processing.cc
* src/prefs.cc
* src/prefs.h
* src/usage_text.h
* test/HttpHeaderProcessorTest.cc
* test/UtilTest.cc
2009-01-25 09:58:40 +00:00
Tatsuhiro Tsujikawa
9505df51ef
2009-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed.
* src/CheckIntegrityMan.cc
* src/FileAllocationMan.cc
2009-01-24 10:54:52 +00:00
Tatsuhiro Tsujikawa
adf91f656b
2009-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Made (piece) hash check sequential for each RequestGroup because
simultaneous hash check is slower than sequential execution.
* src/CheckIntegrityCommand.cc
* src/CheckIntegrityDispatcherCommand.cc
* src/CheckIntegrityDispatcherCommand.h
* src/CheckIntegrityMan.h
* src/ConsoleStatCalc.cc
* src/DownloadCommand.cc
* src/DownloadEngine.cc
* src/DownloadEngine.h
* src/DownloadEngineFactory.cc
* src/Makefile.am
* src/Makefile.in
* src/RequestGroup.cc
* src/StatCalc.h
2009-01-24 10:40:42 +00:00
Tatsuhiro Tsujikawa
5da58fe01d
2009-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Moved setStatusRealtime() from FileAllocationDispatcherCommand
to SequentialDispatcherCommand.
* src/FileAllocationDispatcherCommand.cc
* src/SequentialDispatcherCommand.h
2009-01-24 10:29:36 +00:00
Tatsuhiro Tsujikawa
a20aa3c7e5
2009-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Rewritten FileAllocationDispatcherCommand using brand new
SequentialDispatcherCommand.
* src/DownloadEngineFactory.cc
* src/FileAllocationCommand.cc
* src/FileAllocationDispatcherCommand.cc
* src/FileAllocationDispatcherCommand.h
* src/Makefile.am
* src/SequentialDispatcherCommand.h
2009-01-24 09:49:37 +00:00
Tatsuhiro Tsujikawa
8ca9db9f3e
2009-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Replaced FileAllocationMan with
SequentialPicker<FileAllocationEntry>.
* src/BtCheckIntegrityEntry.cc
* src/ConsoleStatCalc.cc
* src/DownloadEngine.cc
* src/DownloadEngine.h
* src/DownloadEngineFactory.cc
* src/FileAllocationCommand.cc
* src/FileAllocationDispatcherCommand.cc
* src/FileAllocationMan.h
* src/Makefile.am
* src/SequentialPicker.h
* src/StatCalc.h
* src/StreamCheckIntegrityEntry.cc
* test/Makefile.am
* test/SequentialPickerTest.cc
2009-01-24 09:00:36 +00:00
Tatsuhiro Tsujikawa
ea370b864e
2009-01-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added doc for adaptive URI selector.
* doc/aria2c.1.txt
2009-01-19 14:14:26 +00:00
Tatsuhiro Tsujikawa
ddd050f65f
2009-01-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added doc for adaptive URI selector.
* src/usage_text.h
2009-01-19 14:11:04 +00:00
Tatsuhiro Tsujikawa
526e1677d9
2009-01-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added doc for --bt-max-peers option.
* doc/aria2c.1.txt
2009-01-19 13:59:29 +00:00
Tatsuhiro Tsujikawa
8bd9ca287d
2009-01-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added doc for --bt-hash-check-seed option.
* doc/aria2c.1.txt
2009-01-19 13:56:19 +00:00
Tatsuhiro Tsujikawa
c38a2491a6
2009-01-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Documented exit codes.
* doc/aria2c.1.txt
2009-01-19 13:46:39 +00:00
Tatsuhiro Tsujikawa
ca2567f2a2
2009-01-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added --bt-max-peers option to specify the maximum number of
peers per torrent. 0 means unlimited number of peers.
* src/ActivePeerConnectionCommand.cc
* src/BtRuntime.h
* src/DefaultPeerStorage.cc
* src/DefaultPeerStorage.h
* src/OptionHandlerFactory.cc
* src/RequestGroup.cc
* src/option_processing.cc
* src/prefs.cc
* src/prefs.h
* src/usage_text.h
* test/DefaultPeerStorageTest.cc
2009-01-18 10:11:08 +00:00
Tatsuhiro Tsujikawa
809a28fbae
2009-01-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added --bt-hash-check-seed option. If true is given to this
option, after hash check using --check-integrity option and file
is complete, continue to seed file. If you want to check file
and download it only when it is damaged or incomplete, set this
option to false. This option has effect only on BitTorrent
download. The default value is true(This is the same behavior
with the previous release).
* src/BtCheckIntegrityEntry.cc
* src/OptionHandlerFactory.cc
* src/option_processing.cc
* src/prefs.cc
* src/prefs.h
* src/usage_text.h
2009-01-18 09:04:46 +00:00
Tatsuhiro Tsujikawa
b7feed9ba7
2009-01-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated copyright year.
* src/version_usage.cc
2009-01-18 05:34:02 +00:00
Tatsuhiro Tsujikawa
b9d4caeee9
2009-01-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Rewritten the usage text for --bt-request-peer-speed-limit
option.
* doc/aria2c.1.txt
* src/usage_text.h
2009-01-15 15:57:48 +00:00
Tatsuhiro Tsujikawa
55df3c78a3
2009-01-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Made the max value of split option unlimited.
* doc/aria2c.1.txt
* src/OptionHandlerFactory.cc
2009-01-15 15:41:15 +00:00
Tatsuhiro Tsujikawa
c34ac25683
2009-01-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed compile warning/error.
* src/DownloadResult.h
* src/HttpDownloadCommand.cc
* src/ServerStat.cc
* test/RequestGroupTest.cc
2009-01-15 15:39:05 +00:00
Tatsuhiro Tsujikawa
1ab8ade5d1
2009-01-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added --event-poll option to select the method for polling
events.
The available methods are "select" and "epoll". "epoll" is
available on Linux only. The earlier release has the compile
option to choose from these methods.
* configure.ac
* src/RequestGroupMan.cc
* src/OptionHandlerFactory.cc
* src/EpollEventPoll.h
* src/StreamFileAllocationEntry.cc
* src/a2io.h
* src/SelectEventPoll.h
* src/option_processing.cc
* src/prefs.h
* src/EpollEventPoll.cc
* src/EventPoll.h
* src/SocketCore.h
* src/Makefile.am
* src/main.cc
* src/DownloadEngine.h
* src/SelectEventPoll.cc
* src/DownloadEngine.cc
* src/SocketCore.cc
* src/DownloadEngineFactory.cc
* src/Makefile.in
* src/prefs.cc
* src/usage_text.h
2009-01-15 15:23:16 +00:00
Tatsuhiro Tsujikawa
5fbd997784
2009-01-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Included RecoverableException.h from main.cc
* src/main.cc
2009-01-12 12:29:41 +00:00
Tatsuhiro Tsujikawa
8a9d921465
2009-01-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Applied exit-status patch from Pascal Rigaux at Mandriva. aria2
now returns last error encountered in the HTTP/FTP downloads as
a exit status value. If all downloads finished successfully,
aria2 returns 0. The error code is defined in
src/DownloadResult.h.
The error occurred in the download currently in progress is not
reported as a last error. If no error has encountered but there
are in progress or waiting downloads, aria2 returns 7.
* src/AbstractCommand.cc
* src/DlAbortEx.h
* src/DlRetryEx.h
* src/DownloadCommand.cc
* src/DownloadFailureException.h
* src/DownloadResult.h
* src/FtpNegotiationCommand.cc
* src/HttpSkipResponseCommand.cc
* src/Makefile.am
* src/MultiUrlRequestInfo.cc
* src/MultiUrlRequestInfo.h
* src/RecoverableException.h
* src/RequestGroup.cc
* src/RequestGroup.h
* src/RequestGroupMan.cc
* src/RequestGroupMan.h
* src/URIResult.cc
* src/URIResult.h
* src/main.cc
* src/option_processing.cc
* test/RequestGroupTest.cc
2009-01-12 12:27:34 +00:00
Tatsuhiro Tsujikawa
0a4f43d0ed
2009-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Applied AdaptiveURISelector patch from Aurelien Lefebvre. This
patch adds AdaptiveURISelector, which selects one of the bests
mirrors for first and reserved connections. For supplementary
ones, it returns mirrors which has not been tested yet, and if
each of them already tested, returns mirrors which has to be
tested again. Otherwise, it doesn't return anymore mirrors.
* src/AdaptiveURISelector.cc
* src/AdaptiveURISelector.h
* src/FtpNegotiationCommand.cc
* src/HttpResponseCommand.cc
* src/Makefile.am
* src/Makefile.in
* src/OptionHandlerFactory.cc
* src/RequestGroup.cc
* src/RequestGroup.h
* src/RequestGroupMan.cc
* src/ServerStat.cc
* src/ServerStat.h
* src/ServerStatMan.cc
* src/SpeedCalc.cc
* src/URISelector.h
* src/prefs.cc
* src/prefs.h
* test/RequestGroupManTest.cc
* test/ServerStatManTest.cc
* test/ServerStatTest.cc
2009-01-06 13:13:42 +00:00
Tatsuhiro Tsujikawa
5325ec4155
2009-01-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed unit test error.
* test/HttpResponseTest.cc
(HttpResponseTest::testRetrieveCookie)
2009-01-04 11:37:04 +00:00
Tatsuhiro Tsujikawa
6242d45531
2008-12-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
* Release 1.1.2
2008-12-29 15:32:55 +00:00
Tatsuhiro Tsujikawa
4063197ecc
2008-12-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated Russian translation. Thanks to the translators.
* po/ru.po
2008-12-29 14:23:31 +00:00
Tatsuhiro Tsujikawa
0c47649378
2008-12-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added the description of --use-head option to man page.
* doc/aria2c.1.txt
2008-12-29 14:11:15 +00:00
Tatsuhiro Tsujikawa
2d5a2e7c16
2008-12-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Bump up version number to 1.1.2
* configure.ac
2008-12-29 14:08:11 +00:00
Tatsuhiro Tsujikawa
5db28b5a03
2008-12-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added --use-head option to toggle whether HEAD method should be
used in the first HTTP request. By default aria2 uses HEAD
method as the first request. When the server doesn't recognize
HEAD, then give aria2 --use-head=false to force aria2 to use GET
method instead.
* src/OptionHandlerFactory.cc
* src/RequestGroupMan.cc
* src/option_processing.cc
* src/prefs.cc
* src/prefs.h
* src/usage_text.h
2008-12-29 14:05:39 +00:00
Tatsuhiro Tsujikawa
992f82eb5a
2008-12-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the bug that BitTorrent download doesn't finish when
REJECT message is received before CHOKE message. The old
implementation doen't clear the use-bit of the piece when
recieved REJECT message.
* src/DefaultBtMessageDispatcher.cc
* test/DefaultBtMessageDispatcherTest.cc
2008-12-29 13:58:21 +00:00
Tatsuhiro Tsujikawa
e874b84edd
2008-12-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
* Release 1.1.1
2008-12-24 15:26:01 +00:00
Tatsuhiro Tsujikawa
fb466a6a40
2008-12-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Bump up version number to 1.1.1.
* configure.ac
2008-12-24 11:04:43 +00:00
Tatsuhiro Tsujikawa
3b06e49b48
2008-12-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the bug that --summary-interval=0 doesn't work. The
summary is printed repeatedly.
* src/ConsoleStatCalc.cc
2008-12-24 10:51:48 +00:00
Tatsuhiro Tsujikawa
5d72f3954b
2008-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
* Release 1.1.0
2008-12-23 14:15:52 +00:00
Tatsuhiro Tsujikawa
f07b0cbec5
2008-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added ifdef clause for conditional compilation.
* src/main.cc
2008-12-23 14:14:59 +00:00
Tatsuhiro Tsujikawa
7cc3023188
Reverted previous change.
2008-12-23 14:06:49 +00:00
Tatsuhiro Tsujikawa
875989fcdf
2008-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
* Release 1.1.0
2008-12-23 13:32:17 +00:00
Tatsuhiro Tsujikawa
53aa025ca4
2008-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated Russian, Simplified Chinese, Ukrainian and Japanese
translations. Thanks to all translators.
* po/ja.po
* po/ru.po
* po/uk.po
* po/zh_CN.po
2008-12-23 13:18:17 +00:00
Tatsuhiro Tsujikawa
e1a399d419
2008-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added the preceding ">>> " before the message "Printing the
contents of file..." to make the output more readable.
* src/main.cc
2008-12-23 02:44:11 +00:00
Tatsuhiro Tsujikawa
3a7edb7680
2008-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added try-catch block in the loop in showFiles() to continue the
operation even if the exception occurred in one file.
* src/main.cc (showFiles)
2008-12-23 02:41:43 +00:00
Tatsuhiro Tsujikawa
a84cc7621d
2008-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Made messages in showFiles() translatable.
* po/aria2.pot
* src/main.cc
* src/message.h
2008-12-20 11:09:05 +00:00
Tatsuhiro Tsujikawa
65ebe6918a
2008-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Print the contents of Torrent/Metalink files are printed without
-T/-M options.
* src/main.cc
2008-12-20 10:59:16 +00:00
Tatsuhiro Tsujikawa
9450853fe5
2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Escaped '--' with '\--'
* README
2008-12-17 13:55:11 +00:00
Tatsuhiro Tsujikawa
27a858a504
2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated "How to build" section in README. Mentioned about
--with-ca-bundle compile option.
* README
2008-12-17 12:35:23 +00:00
Tatsuhiro Tsujikawa
f7c4a1f728
2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Bump up version number to 1.1.0.
* configure.ac
2008-12-17 12:10:37 +00:00
Tatsuhiro Tsujikawa
b32654bc8e
2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added a note for --dht-listen-port option.
* doc/aria2c.1.txt
2008-12-17 12:08:09 +00:00
Tatsuhiro Tsujikawa
47580b88da
2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Update doc for --realtime-chunk-checksum option.
* doc/aria2c.1.txt
2008-12-17 12:06:05 +00:00
Tatsuhiro Tsujikawa
e08b6a4fc7
2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Update doc for --realtime-chunk-checksum option.
* src/usage_text.h
2008-12-16 16:10:42 +00:00
Tatsuhiro Tsujikawa
bde2f8e35d
2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated French, Japanese, Russian and Ukrainian translations.
Thanks to all translators.
* po/fr.po
* po/ja.po
* po/ru.po
* po/uk.po
2008-12-16 15:44:48 +00:00
Tatsuhiro Tsujikawa
48a4ba642d
2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Renamed aria2c.pot to aria2.pot
* po/aria2.pot
* po/aria2c.pot: Removed.
2008-12-16 15:38:53 +00:00
Tatsuhiro Tsujikawa
33f6f4e2e8
2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed MetaEntry.h
* src/Makefile.am
2008-12-16 15:22:24 +00:00
Tatsuhiro Tsujikawa
e9d648cb7b
2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Rename file by appending digits if a local file exists and its
file size is larger than that of remote file with --continue
option. The old implementation just throws exception in such
case.
* src/RequestGroup.cc
2008-12-16 15:13:47 +00:00
Tatsuhiro Tsujikawa
22d91f1729
2008-12-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the bug that download progress summary is not printed in
the interval specified by the option.
* src/ConsoleStatCalc.cc
* src/ConsoleStatCalc.h
2008-12-16 14:24:45 +00:00
Tatsuhiro Tsujikawa
53151f7e91
2008-12-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed compiler warning
* src/Cookie.cc
2008-12-15 15:59:25 +00:00
Tatsuhiro Tsujikawa
d046c89ea7
2008-12-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the cookie implementation based on RFC2965.
Now if a value in domain field is not started with dot, then
prepend dot. That means a cookie with domain=sf.net is sent to
wiki.sf.net.
* src/Cookie.cc
* test/CookieParserTest.cc
* test/CookieStorageTest.cc
* test/CookieTest.cc
* test/NsCookieParserTest.cc
* test/Sqlite3MozCookieParserTest.cc
2008-12-15 15:48:48 +00:00
Tatsuhiro Tsujikawa
5a639a3d1e
2008-12-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the bug that causes corrupted downloads if HTTP pipelining
is enabled and the server doesn't support keep-alive.
* src/AbstractCommand.cc
* src/DownloadCommand.cc
* src/HttpDownloadCommand.cc
* src/HttpDownloadCommand.h
* src/HttpResponseCommand.cc
* src/Request.cc
* src/Request.h
* test/RequestTest.cc
2008-12-15 15:38:07 +00:00
Tatsuhiro Tsujikawa
110749df84
2008-12-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed Dictionary/List/Data and its related classes.
* src/BencodeVisitor.cc: Removed.
* src/BencodeVisitor.h: Removed.
* src/Data.cc: Removed.
* src/Data.h: Removed.
* src/Dictionary.cc: Removed.
* src/Dictionary.h: Removed.
* src/List.cc: Removed.
* src/List.h: Removed.
* src/Makefile.am
* src/MetaEntry.h: Removed.
* src/MetaEntryVisitor.h: Removed.
* src/MetaFileUtil.cc: Removed.
* src/MetaFileUtil.h: Removed.
* test/BencodeVisitorTest.cc: Removed.
* test/DataTest.cc: Removed.
* test/DictionaryTest.cc: Removed.
* test/ListTest.cc: Removed.
* test/Makefile.am
* test/MetaFileUtilTest.cc: Removed.
2008-12-14 10:21:05 +00:00
Tatsuhiro Tsujikawa
5de92ff1fc
2008-12-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed include of MetaEntry.h
* test/DHTMessageTrackerEntryTest.cc
2008-12-14 10:16:13 +00:00
Tatsuhiro Tsujikawa
9614ee2fef
2008-12-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Use BDE instead of Dictionary/List/Data.
* src/AnnounceList.cc
* src/AnnounceList.h
* test/AnnounceListTest.cc
2008-12-14 10:07:40 +00:00
Tatsuhiro Tsujikawa
9202fe23c8
2008-12-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Use BDE instead of Dictionary/List/Data.
* src/DHTAbstractMessage.cc
* src/DHTAbstractMessage.h
* src/DHTAnnouncePeerMessage.cc
* src/DHTAnnouncePeerMessage.h
* src/DHTAnnouncePeerReplyMessage.cc
* src/DHTAnnouncePeerReplyMessage.h
* src/DHTFindNodeMessage.cc
* src/DHTFindNodeMessage.h
* src/DHTFindNodeReplyMessage.cc
* src/DHTFindNodeReplyMessage.h
* src/DHTGetPeersMessage.cc
* src/DHTGetPeersMessage.h
* src/DHTGetPeersReplyMessage.cc
* src/DHTGetPeersReplyMessage.h
* src/DHTMessageFactory.h
* src/DHTMessageFactoryImpl.cc
* src/DHTMessageFactoryImpl.h
* src/DHTMessageReceiver.cc
* src/DHTMessageTracker.cc
* src/DHTMessageTracker.h
* src/DHTPingMessage.cc
* src/DHTPingMessage.h
* src/DHTPingReplyMessage.cc
* src/DHTPingReplyMessage.h
* src/DHTQueryMessage.cc
* src/DHTQueryMessage.h
* src/DHTResponseMessage.cc
* src/DHTResponseMessage.h
* test/DHTAnnouncePeerMessageTest.cc
* test/DHTAnnouncePeerReplyMessageTest.cc
* test/DHTFindNodeMessageTest.cc
* test/DHTFindNodeReplyMessageTest.cc
* test/DHTGetPeersMessageTest.cc
* test/DHTGetPeersReplyMessageTest.cc
* test/DHTMessageFactoryImplTest.cc
* test/DHTMessageTrackerTest.cc
* test/DHTPingMessageTest.cc
* test/DHTPingReplyMessageTest.cc
* test/MockDHTMessageFactory.h
2008-12-14 05:46:45 +00:00
Tatsuhiro Tsujikawa
057132cd5f
2008-12-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added tests the case where length < 0 is specified.
* test/BencodeTest.cc
2008-12-14 05:44:08 +00:00
Tatsuhiro Tsujikawa
9b197e97d3
2008-12-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed memory leak in decoderawstring()
* src/bencode.cc
2008-12-14 05:42:32 +00:00
Tatsuhiro Tsujikawa
b618ada28a
2008-12-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added missing #ifdef guard. Added uc() function for String and
removeKey() for Dict.
* src/bencode.cc
* src/bencode.h
* test/BencodeTest.cc
2008-12-14 03:59:24 +00:00
Tatsuhiro Tsujikawa
a67ed743a2
2008-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Use BDE instead of Dictionary/List/Data.
* src/HandshakeExtensionMessage.cc
* src/HandshakeExtensionMessage.h
* test/HandshakeExtensionMessageTest.cc
2008-12-10 14:25:42 +00:00
Tatsuhiro Tsujikawa
8c1894720f
2008-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added --max-overall-upload-limit option. This option limits the
overall upload speed. Stated in help message that the existing
--max-upload-limit option limits the upload speed per each
torrent. Man page is also updated.
* doc/aria2c.1.txt
* src/DefaultBtMessageDispatcher.cc
* src/DefaultBtMessageDispatcher.h
* src/OptionHandlerFactory.cc
* src/PeerInteractionCommand.cc
* src/option_processing.cc
* src/prefs.cc
* src/prefs.h
* src/usage_text.h
2008-12-10 14:14:11 +00:00
Tatsuhiro Tsujikawa
8129042a3a
2008-12-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Use BDE instead of Dictionary/List/Data classes.
* src/CompactPeerListProcessor.cc
* src/CompactPeerListProcessor.h
* src/DefaultBtAnnounce.cc
* src/DefaultBtContext.cc
* src/DefaultBtContext.h
* src/DefaultPeerListProcessor.cc
* src/DefaultPeerListProcessor.h
* src/DelegatingPeerListProcessor.cc
* src/DelegatingPeerListProcessor.h
* src/PeerListProcessor.h
* src/UTPexExtensionMessage.cc
* src/Util.h
* src/message.h
* test/DefaultBtContextTest.cc
* test/DefaultPeerListProcessorTest.cc
2008-12-09 15:03:29 +00:00
Tatsuhiro Tsujikawa
1b54e64d34
2008-12-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added bencode helper functions and BDE class.
They will replace MetaFileUtil and Dictionary/List/Data classes.
* src/Makefile.am
* src/bencode.cc
* src/bencode.h
* test/BencodeTest.cc
* test/Makefile.am
2008-12-09 14:43:11 +00:00
Tatsuhiro Tsujikawa
bd8645262d
2008-12-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the bug that bad URI is sent to the tracker when the
announe URI in torrent file includes query.
* src/DefaultBtAnnounce.cc
* test/DefaultBtAnnounceTest.cc
2008-12-09 11:51:07 +00:00
Tatsuhiro Tsujikawa
1e6a579258
2008-12-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added Option::blank().
Use !Option::blank(name) instead of Option::defined(name) for
the options that take filename.
* src/MultiUrlRequestInfo.cc
* src/Option.cc
* src/Option.h
* src/main.cc
* src/option_processing.cc
* test/OptionTest.cc
2008-12-04 13:05:05 +00:00
Tatsuhiro Tsujikawa
fe66fb6eae
2008-12-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Documented the default value of --check-certificate option in
man page.
* doc/aria2c.1.txt
2008-12-03 16:10:12 +00:00
Tatsuhiro Tsujikawa
63ddc1f147
2008-12-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Enabled --check-certificate by default. Added compile
time(configure) option --with-ca-bundle to specify CA bundle.
Warn if --check-certificate=true and --ca-certificate is not
specified or loading CA certificate is failed.
* configure.ac
* src/MultiUrlRequestInfo.cc
* src/OptionHandlerFactory.cc
* src/message.h
2008-12-03 16:07:14 +00:00
Tatsuhiro Tsujikawa
9ee32f8a21
2008-12-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Mentioned https tag in help option.
* doc/aria2c.1.txt
2008-12-02 15:55:46 +00:00
Tatsuhiro Tsujikawa
fa882f3240
2008-12-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added `https' tag to help option category. Added https tag to
--ca-certificate, --certificate, --check-certificate and
--private-key option.
* src/OptionHandlerFactory.cc
* src/help_tags.h
* src/option_processing.cc
2008-12-02 15:53:27 +00:00
Tatsuhiro Tsujikawa
94f912ffef
2008-12-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Changed the package name from `aria2c' to `aria2' in order to
fix the packaging issue in Debian and Fedora. The name of the
executable is not changed.
* configure.ac
2008-12-02 11:07:21 +00:00
Tatsuhiro Tsujikawa
cec431a1a5
2008-12-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed typos
* src/usage_text.h
2008-12-02 10:54:21 +00:00
Tatsuhiro Tsujikawa
c674f54cf4
2008-12-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed typos and updated doc.
* README
2008-12-01 16:49:23 +00:00
Tatsuhiro Tsujikawa
56a1eb0691
2008-12-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed typos
* doc/aria2c.1.txt
2008-12-01 16:47:54 +00:00
Tatsuhiro Tsujikawa
084da2c7e4
2008-12-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed typos
* src/usage_text.h
2008-12-01 16:44:23 +00:00
Tatsuhiro Tsujikawa
15586812c5
2008-11-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Print a message when no files to download.
* src/download_helper.cc
* src/main.cc
* src/message.h
2008-11-30 09:35:27 +00:00
Tatsuhiro Tsujikawa
b3aa7cef1d
2008-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
RFC3986 complied Percent-Encoding(urlencode).
Use uppercase hexadecimal digits for encoded text instead of
lowercase ones.
* src/Request.cc
* src/Util.cc
* src/Util.h
* test/BtHandshakeMessageTest.cc
* test/DefaultBtAnnounceTest.cc
* test/DefaultBtContextTest.cc
* test/RequestTest.cc
* test/UtilTest.cc
2008-11-27 15:29:15 +00:00
Tatsuhiro Tsujikawa
b1edad42ff
2008-11-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the bug that prevents aria2 from downloading 0-length
files via HTTP/FTP.
* src/DefaultBtContext.cc
* src/DefaultBtContext.h
* src/DownloadContext.h
* src/FtpNegotiationCommand.cc
* src/HttpResponseCommand.cc
* src/HttpResponseCommand.h
* src/RequestGroup.cc
* src/SingleFileDownloadContext.cc
* src/SingleFileDownloadContext.h
* test/BtPostDownloadHandlerTest.cc
* test/MetalinkPostDownloadHandlerTest.cc
* test/MockBtContext.h
2008-11-26 15:22:54 +00:00
Tatsuhiro Tsujikawa
b1eee48ee3
2008-11-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the bug that -pfalse and -ptrue are not recognized
properly.
* src/option_processing.cc
2008-11-26 12:54:22 +00:00
Tatsuhiro Tsujikawa
72d523b990
2008-11-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Applied aria2-1.0.1-mingw.patch.
Use SOCKET_ERRNO instead of errno if the code is used both linux
and mingw.
Collected 4th and 5th argument types for getsockopt and
setsockopt.
* src/SocketCore.cc
* src/a2netcompat.h
* test/SocketCoreTest.cc
2008-11-26 12:50:07 +00:00
Tatsuhiro Tsujikawa
e074d93348
2008-11-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
* Release 1.0.1
2008-11-24 14:29:24 +00:00
Tatsuhiro Tsujikawa
c0fca54dae
2008-11-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated Ukrainian and Norwegian Nynorsk translations.
Thanks to all translators.
* po/nn.po
* po/uk.po
2008-11-24 14:18:08 +00:00
Tatsuhiro Tsujikawa
95f726a4ca
2008-11-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Don't show download result when -S option is used.
* src/main.cc
2008-11-24 13:38:56 +00:00
Tatsuhiro Tsujikawa
c881532c65
2008-11-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Bump up version number to 1.0.1
* configure.ac
2008-11-24 11:21:13 +00:00
Tatsuhiro Tsujikawa
9e7a497fd9
2008-11-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Closed files after the test cases in MultiDiskWriterTest::
testResetDiskWriterEntries(). This will fix the unit test error
in mingw32 build.
* test/MultiDiskWriterTest.cc
2008-11-24 11:13:58 +00:00
Tatsuhiro Tsujikawa
62105714ef
2008-11-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Use HEAD method to get file size from HTTP server for segmented
downloading.
The request to the BitTorrent Tracker always uses GET method
because the response of the tracker is small and it doesn't need
segmented download.
* src/FtpNegotiationCommand.cc
* src/HttpRequest.cc
* src/HttpResponseCommand.cc
* src/HttpSkipResponseCommand.cc
* src/RequestGroup.cc
* src/RequestGroup.h
* src/TrackerWatcherCommand.cc
* test/HttpRequestTest.cc
2008-11-23 15:00:44 +00:00
Tatsuhiro Tsujikawa
c104ac8319
2008-11-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the bug that causes floating exception when -T option is
used and no URIs are given.
* src/download_helper.cc
* test/DownloadHelperTest.cc
2008-11-23 12:13:53 +00:00
Ross Smith II
67d5d6d55e
Applied aria2-1.0.0-mingw-r5.patch
2008-11-22 20:28:50 +00:00
Tatsuhiro Tsujikawa
5faa91e24c
2008-11-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed typo in "OPTIONS THAT TAKE AN OPTIONAL ARGUMENT" section.
* doc/aria2c.1.txt
2008-11-20 12:21:39 +00:00
Tatsuhiro Tsujikawa
2041d8951c
2008-11-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
* Release 1.0.0
2008-11-18 15:14:40 +00:00
Tatsuhiro Tsujikawa
5a5d901228
2008-11-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added '~' to reserved characters.
* src/Util.cc
2008-11-18 15:12:57 +00:00
Tatsuhiro Tsujikawa
931bd985db
2008-11-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Do not urlencode Request::url in setUrl() because we want
unmodified URL using Request::getUrl()
* src/Request.cc
* src/Request.h
* test/RequestTest.cc
2008-11-18 15:10:47 +00:00
Tatsuhiro Tsujikawa
53b418cde9
2008-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
* Release 1.0.0
2008-11-18 14:13:30 +00:00
Tatsuhiro Tsujikawa
4976dd1813
2008-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated Ukrainian, Japanese, Bulgarian, Russian and French
translations. Thanks to all translators.
* po/bg.po
* po/fr.po
* po/ja.po
* po/ru.po
* po/uk.po
2008-11-18 12:26:35 +00:00
Tatsuhiro Tsujikawa
0867efec33
2008-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Bump up version number to 1.0.0
* configure.ac
2008-11-18 12:18:52 +00:00
Tatsuhiro Tsujikawa
98bb28f6bf
2008-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added nosqlite3 build to build_test.sh.
Renamed noxml as expat.
* build_test.sh
2008-11-18 12:17:54 +00:00
Tatsuhiro Tsujikawa
567a53082f
2008-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated INPUT FILE section.
* doc/aria2c.1.txt
2008-11-18 11:36:24 +00:00
Tatsuhiro Tsujikawa
a38e367f7f
2008-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Excluded testLoad_compat() and testLoad_nonBt_compat() when
compiled on big endian systems because test .aria2 files are
made for little endian systems.
* test/DefaultBtProgressInfoFileTest.cc
2008-11-18 11:28:04 +00:00
Tatsuhiro Tsujikawa
091dad70cc
2008-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Dropped ares support.
* README
* configure.ac
* m4/libares.m4: Removed.
* src/AsyncNameResolver.cc
* src/Makefile.am
* test/Makefile.am
2008-11-18 11:20:53 +00:00
Tatsuhiro Tsujikawa
b0029fa4bf
2008-11-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Rewritten ByteArrayDiskWriter::size() using seekg() and tellg().
Removed const qualifier from DiskWriter::size().
* src/AbstractDiskWriter.cc
* src/AbstractDiskWriter.h
* src/ByteArrayDiskWriter.cc
* src/ByteArrayDiskWriter.h
* src/DiskWriter.h
* test/ByteArrayDiskWriterTest.cc
2008-11-17 12:07:24 +00:00
Tatsuhiro Tsujikawa
644f707519
2008-11-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the bug that causes segmentation fault/bus error during
executing choking algorithm while seeding. This is caused by
improper implementation of compare function which returns
inconsistent results depending on the timing of last unchoke.
* src/BtSeederStateChoke.cc
* src/BtSeederStateChoke.h
* src/DefaultPeerStorage.cc
2008-11-17 11:07:04 +00:00
Tatsuhiro Tsujikawa
87b442d8c3
2008-11-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed TODO
* TODO
2008-11-16 08:42:12 +00:00
Tatsuhiro Tsujikawa
64a7770f53
2008-11-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added a section that explains how to pass argument to options
that takes optional arguments with its short form.
* doc/aria2c.1.txt
2008-11-16 08:36:41 +00:00
Tatsuhiro Tsujikawa
03f91ba35a
2008-11-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added -u for the short form of --max-upload-limit option.
* doc/aria2c.1.txt
* src/option_processing.cc
* src/usage_text.h
2008-11-16 08:13:51 +00:00
Tatsuhiro Tsujikawa
3c15414420
2008-11-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added -V for the short form of --check-integrity option.
Now the argument of --check-integrity option is optional:
if it is omitted, it is evaluated as true.
* doc/aria2c.1.txt
* src/option_processing.cc
* src/usage_text.h
2008-11-16 08:06:56 +00:00
Tatsuhiro Tsujikawa
adb4ef2168
2008-11-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Made the default value of --ftp-pasv option set to true and it
can take true/false values.
* src/OptionHandlerFactory.cc
* src/option_processing.cc
* src/usage_text.h
* doc/aria2c.1.txt
2008-11-16 04:41:07 +00:00
Tatsuhiro Tsujikawa
9b71a5d0b5
2008-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Given custom random number generator to std::random_shuffle.
* src/AnnounceList.cc
* src/BtLeecherStateChoke.cc
* src/BtSeederStateChoke.cc
* src/DefaultBtRequestFactory.cc
* src/MetalinkEntry.cc
* src/RarestPieceSelector.cc
* src/SimpleRandomizer.cc
* src/SimpleRandomizer.h
2008-11-16 04:25:24 +00:00
Tatsuhiro Tsujikawa
a3bfe5c504
2008-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Now the default value of --enable-direct-io is true.
* src/OptionHandlerFactory.cc
* doc/aria2c.1.txt
2008-11-15 14:47:26 +00:00
Tatsuhiro Tsujikawa
c1a3bba6f8
2008-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Erase peer before executing onReturningPeer and onErasingPeer
because choking algorithm called from onReturningPeer doesn't
like erasing peer in the active peer list.
* src/DefaultPeerStorage.cc
2008-11-15 13:39:29 +00:00
Tatsuhiro Tsujikawa
7bcf0f48b2
2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Instead of creating special filename in createDownloadResult()
if inMemoryDownload() is true, now it is done in getFilePath().
* src/RequestGroup.cc
* test/RequestGroupTest.cc
2008-11-14 12:32:54 +00:00
Tatsuhiro Tsujikawa
690340ef02
2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Print "[MEMORY]" and filename if a file is not saved in disk and
just processed in memory. This is the fix for previous comment
out.
* src/MemoryBufferPreDownloadHandler.cc
* src/RequestGroup.cc
* src/RequestGroup.h
2008-11-14 12:02:16 +00:00
Tatsuhiro Tsujikawa
6c397fe7ba
2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Commented out the code which sets virtual directory path
"[MEMORY]" propagate directory to store to following
RequestGroup.
* src/MemoryBufferPreDownloadHandler.cc
2008-11-13 16:52:44 +00:00
Tatsuhiro Tsujikawa
cc1546feb5
2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Bump up version number to 1.0.0b
* configure.ac
2008-11-13 16:15:16 +00:00
Tatsuhiro Tsujikawa
b62b860ba0
2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added input_uris.txt to EXTRA_DIST
* test/Makefile.am
2008-11-13 16:14:03 +00:00
Tatsuhiro Tsujikawa
ad05b8ff30
2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed PeerObject.h from Makefile.am
* src/Makefile.am
2008-11-13 16:07:44 +00:00
Tatsuhiro Tsujikawa
c0197f1040
2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Avoid slow seeding
* src/PeerInteractionCommand.cc
2008-11-13 15:39:22 +00:00
Tatsuhiro Tsujikawa
586b63fdbd
2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated usage for -i option.
* src/usage_text.h (TEXT_INPUT_FILE)
2008-11-13 15:36:36 +00:00
Tatsuhiro Tsujikawa
073d6ca265
2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added INPUT FILE section to man page.
Escaped fake URLs.
* doc/aria2c.1.txt
2008-11-13 15:32:21 +00:00
Tatsuhiro Tsujikawa
0acfd37bdb
2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed wrong note position for -o option.
* doc/aria2c.1.txt
2008-11-13 15:11:44 +00:00
Tatsuhiro Tsujikawa
86478c49dd
2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed compile error without SSL/XML library.
* src/DefaultBtProgressInfoFile.cc
* src/DefaultBtProgressInfoFile.h
* src/FileMetalinkParserState.cc
* src/RequestGroup.h
* src/SocketCore.cc
* src/SocketCore.h
* src/VerificationMetalinkParserState.cc
* src/download_helper.h
* src/main.cc
* test/DefaultBtProgressInfoFileTest.cc
* test/DownloadHelperTest.cc
2008-11-13 15:08:52 +00:00
Tatsuhiro Tsujikawa
eed0406484
2008-11-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Rewritten URI handling functions. They are now provided as a
testable functions.
* src/Makefile.am
* src/RequestGroup.cc
* src/RequestGroup.h
* src/download_helper.cc
* src/download_helper.h
* src/main.cc
* test/DownloadHelperTest.cc
* test/Makefile.am
* test/input_uris.txt
2008-11-13 13:40:40 +00:00
Tatsuhiro Tsujikawa
8b3a21eb10
2008-11-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Quickly terminate commands when ctrl-c is pressed.
* src/DownloadEngine.cc
2008-11-11 16:18:23 +00:00
Tatsuhiro Tsujikawa
ec2354f3a1
2008-11-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Quickly terminate idle commands when download finished.
* src/AbstractCommand.cc
* src/DownloadCommand.cc
* src/DownloadEngine.cc
* src/DownloadEngine.h
* src/SleepCommand.cc
* src/SleepCommand.h
2008-11-11 16:05:42 +00:00
Tatsuhiro Tsujikawa
05a9313e19
2008-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added the ability to specify output filename and directory in
input file.
Additional parameters are added in the following line of URIs
with proceeding white space(s), 1 parameter in 1 line.
The parameter names are the same with the command-line option
name without proceeding "--". Not all the options are available
here: at the moment, 'dir' and 'out' options are avialable.
Please note that out option has no effect against Metalink or
BitTorrentdownloads.
Example input file:
http://host/foo-1.1.tar.bz2
out=foo.tar.bz2
dir=/tmp/downloads
http://host/thundermonkey-2.0.tar.bz2
And then invoke 'aria2c -i url.txt --dir ~/mydownloads'.
foo-1.1.tar.bz2 is saved as /tmp/downloads/foo.tar.bz2, whereas
thundermonkey-2.0.tar.bz2 is saved as
~/mydownloads/thundermonkey-2.0.tar.bz2.
* src/BtPostDownloadHandler.cc
* src/Metalink2RequestGroup.cc
* src/Metalink2RequestGroup.h
* src/MetalinkPostDownloadHandler.cc
* src/UriListParser.cc
* src/UriListParser.h
* src/main.cc
* test/Metalink2RequestGroupTest.cc
* test/UriListParserTest.cc
* test/filelist1.txt
2008-11-11 14:56:46 +00:00
Tatsuhiro Tsujikawa
9a581e2cab
2008-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed error when SSL library is not found.
* configure.ac
2008-11-11 12:47:26 +00:00
Tatsuhiro Tsujikawa
eb27476c6e
2008-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Cross referenced among -s, -C and -j options.
Updated usage of -C and -s options.
* src/usage_text.h
* doc/aria2c.1.txt
2008-11-11 11:55:23 +00:00
Tatsuhiro Tsujikawa
896eab9967
2008-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed bad cast in 32bit platforms.
* test/DefaultPieceStorageTest.cc
(DefaultPieceStorageTest::testGetCompletedLength)
2008-11-11 11:37:27 +00:00
Tatsuhiro Tsujikawa
ebf4fc62fa
2008-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed unit test fails on 32bit platforms.
* test/CookieParserTest.cc
2008-11-10 16:18:39 +00:00
Tatsuhiro Tsujikawa
bdff264d2c
2008-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Show an average download speed in Download results.
* src/BtFileAllocationEntry.cc
* src/DefaultPieceStorage.cc
* src/DownloadContext.cc
* src/DownloadContext.h
* src/DownloadResult.h
* src/RequestGroup.cc
* src/RequestGroupMan.cc
* src/StreamFileAllocationEntry.cc
2008-11-10 16:10:31 +00:00
Tatsuhiro Tsujikawa
82b80c33d8
2008-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the bug that metalink file is not processed if
Content-Type field has a paramter.
* src/HttpResponse.cc
* src/HttpResponse.h
* test/HttpResponseTest.cc
2008-11-10 16:08:22 +00:00
Tatsuhiro Tsujikawa
bb8481e752
2008-11-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed unused code.
* src/DefaultBtAnnounce.cc
2008-11-10 13:22:14 +00:00
Tatsuhiro Tsujikawa
e5e19ddeb9
2008-11-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the bug that DefaultPieceStorage::getCompletedLength()
returns the value larger than DefaultPieceStorage::getTotalLength()
when in flight pieces are involved.
* src/DefaultPieceStorage.cc
* test/DefaultPieceStorageTest.cc
2008-11-10 13:21:08 +00:00
Tatsuhiro Tsujikawa
383be271a2
2008-11-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Bump up version number to 1.0.0a.
* configure.ac
2008-11-09 09:16:29 +00:00
Tatsuhiro Tsujikawa
e62d27e28e
2008-11-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated configure.ac
* configure.ac
2008-11-09 09:15:03 +00:00
Tatsuhiro Tsujikawa
d2f47847e3
2008-11-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added usege for proxy.
* doc/aria2c.1.txt
2008-11-09 09:13:57 +00:00
Tatsuhiro Tsujikawa
5a1f1fbd1a
2008-11-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added usage for --ca-certificate, --certificate, --private-key
and --check-certificate options.
* doc/aria2c.1.txt
2008-11-09 09:06:25 +00:00
Tatsuhiro Tsujikawa
52749ba3c8
2008-11-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated man page
* doc/aria2c.1.txt
2008-11-09 08:59:05 +00:00