Tatsuhiro Tsujikawa
3300aec6ff
2009-06-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed _acceptFeatures and its accessor functions from
RequestGroup since they are not used practically.
* src/HttpRequestCommand.cc
* src/RequestGroup.cc
* src/RequestGroup.h
2009-06-12 14:20:37 +00:00
Tatsuhiro Tsujikawa
5fe5c37897
2009-06-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed member _maxTries from RequestGroup class to avoid
duplicate option value. Those classes who refer this variable
should use option value of PREF_MAX_TRIES directly.
* src/AbstractCommand.cc
* src/RequestGroup.cc
* src/RequestGroup.h
* src/TrackerWatcherCommand.cc
2009-06-12 14:12:54 +00:00
Tatsuhiro Tsujikawa
06311b0baa
2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
* Release 1.4.1
2009-06-07 13:03:01 +00:00
Tatsuhiro Tsujikawa
8adb77dc29
2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed compiler warnings on netbsd
* src/DHTConnectionImpl.cc
* src/PeerListenCommand.cc
* src/PeerSessionResource.cc
* src/SegmentMan.cc
2009-06-07 12:36:27 +00:00
Tatsuhiro Tsujikawa
1ef8ea3263
2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated Ukrainian translation. Thanks to all translators.
* po/uk.po
2009-06-07 08:23:30 +00:00
Tatsuhiro Tsujikawa
1f35ea536a
2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Bump up version number to 1.4.1.
* configure.ac
2009-06-07 07:52:40 +00:00
Tatsuhiro Tsujikawa
b345f76607
2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added unit tests for strjoin, strconcat and strappend.
* test/a2functionalTest.cc
2009-06-07 07:50:50 +00:00
Tatsuhiro Tsujikawa
9be97eebb5
2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Rewritten strconcat and strappend using operator+ instead of
append().
* src/a2functional.h
2009-06-07 07:49:39 +00:00
Tatsuhiro Tsujikawa
c42cea4bcd
2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Compile bencode.cc and BencodeTest.cc only if BitTorrent support
is enabled.
* src/Makefile.am
* test/Makefile.am
2009-06-07 05:36:44 +00:00
Tatsuhiro Tsujikawa
b922020985
2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added countSeeder() function which counts seeder in the given
iterator range. Use it in ConsoleStatCalc and XmlRpcMethodImpl.
* src/ConsoleStatCalc.cc
* src/Peer.h
* src/XmlRpcMethodImpl.cc
* test/PeerTest.cc
2009-06-07 05:34:10 +00:00
Tatsuhiro Tsujikawa
4dc9217bb6
2009-06-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Documented missing seeder in getPeers xml-rpc method.
Documented uploadLength and numSeeders.
* doc/aria2c.1.txt
2009-06-06 14:42:24 +00:00
Tatsuhiro Tsujikawa
9d910c47c2
2009-06-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added uploadLength and numSeeders to the response of tellStatus
xml-rpc method. Assert that PeerStorage instance is not null
instead of checking if statement. It should be non-null in this
context.
* src/XmlRpcMethodImpl.cc
2009-06-06 14:40:32 +00:00
Tatsuhiro Tsujikawa
f36ef2d26d
2009-06-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Use htmlEscape instead of xmlEscape. Removed static function xmlEscape.
* src/XmlRpcResponse.cc
2009-06-06 13:39:36 +00:00
Tatsuhiro Tsujikawa
c7275bd978
2009-06-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Avoid intermediate object during string concatenation.
* src/HttpRequest.cc
2009-06-06 13:34:48 +00:00
Tatsuhiro Tsujikawa
a8c278d026
2009-06-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added strjoin function template. Use it in pathJoin()
* src/Util.h
* src/a2functional.h
2009-06-06 12:48:05 +00:00
Tatsuhiro Tsujikawa
3bb2e3b07e
2009-06-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Avoid intermediate object during string concatenation. Replaced
post-increment unary operator with pre-increment one in for loop.
* src/AdaptiveURISelector.cc
* src/AnnounceList.cc
* src/AuthConfig.h
* src/BtBitfieldMessage.cc
* src/BtExtendedMessage.cc
* src/BtHandshakeMessage.cc
* src/BtPieceMessage.cc
* src/BtPortMessage.cc
* src/Cookie.cc
* src/DHTAnnouncePeerMessage.cc
* src/DHTAutoSaveCommand.cc
* src/DHTGetPeersReplyMessage.cc
* src/DHTNode.cc
* src/DHTQueryMessage.cc
* src/DHTResponseMessage.cc
* src/DHTUnknownMessage.cc
* src/DefaultBtAnnounce.cc
* src/DefaultBtContext.cc
* src/DefaultBtInteractive.cc
* src/DefaultBtProgressInfoFile.cc
* src/DefaultPeerStorage.cc
* src/DownloadEngine.cc
* src/FeatureConfig.cc
* src/File.cc
* src/FtpConnection.cc
* src/FtpNegotiationCommand.cc
* src/HandshakeExtensionMessage.cc
* src/HttpConnection.cc
* src/HttpRequest.cc
* src/HttpResponseCommand.cc
* src/HttpServer.cc
* src/IndexBtMessage.cc
* src/Metalink2RequestGroup.cc
* src/OptionHandlerImpl.h
* src/PStringBuildVisitor.cc
* src/Peer.cc
* src/PeerListenCommand.cc
* src/Piece.cc
* src/RangeBtMessage.cc
* src/Request.cc
* src/Request.h
* src/RequestGroup.cc
* src/RequestGroupMan.cc
* src/ServerStat.cc
* src/ServerStatMan.cc
* src/UTPexExtensionMessage.cc
* src/Util.cc
* src/a2functional.h
* src/download_helper.cc
* src/messageDigest.cc
2009-06-06 12:33:07 +00:00
Tatsuhiro Tsujikawa
997f96d864
2009-06-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Unchoke a peer randomly at first and second choke round in seed
state.
* src/BtSeederStateChoke.cc
2009-06-04 12:07:27 +00:00
Ross Smith II
c2f20e1e3a
Added (sock_t) to quiet compiler warnings in MinGW
...
* src/SocketCore.cc
* src/SocketCore.h
2009-06-02 03:27:52 +00:00
Tatsuhiro Tsujikawa
3455fca9ca
2009-06-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added missing #ifdef ENABLE_ASYNC_DNS guard.
* src/EpollEventPoll.h
2009-06-01 15:49:29 +00:00
Ross Smith II
e69889803a
Added fork() emulation using CreateProcess() in MinGW
2009-06-01 02:30:28 +00:00
Tatsuhiro Tsujikawa
740a5aa51b
2009-06-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
* Release 1.4.0
2009-05-31 15:21:53 +00:00
Tatsuhiro Tsujikawa
ff75691da6
2009-06-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added utf8.torrent to EXTRA_DIST
* test/Makefile.am
2009-05-31 15:15:35 +00:00
Tatsuhiro Tsujikawa
5e23c3b6a2
2009-05-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed docs of aria2.addMetalink xml-rpc method.
* doc/aria2c.1.txt
2009-05-31 14:10:55 +00:00
Tatsuhiro Tsujikawa
c50acf0cc4
2009-05-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added Slovak translation. Updated Ukrainian and Brazilian
Portuguese translation. Thanks to all translators.
* po/sk.po
* po/uk.po
* po/pt_BR.po
* po/LINGUAS
2009-05-31 13:16:57 +00:00
Tatsuhiro Tsujikawa
0373ae325e
2009-05-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added test case for XmlRpcProcessor to fail to parse malformed
document.
* test/XmlRpcRequestProcessorTest.cc
2009-05-31 08:02:42 +00:00
Tatsuhiro Tsujikawa
a4346f0620
2009-05-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed *.gmo files in po because they are generated on 'make
dist'
* po/*.gmo
2009-05-30 14:56:46 +00:00
Tatsuhiro Tsujikawa
abdb6249bf
2009-05-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Documented max-concurrent-downloads of changeGlobalOption method
in man page.
* doc/aria2c.1.txt
2009-05-30 14:29:54 +00:00
Tatsuhiro Tsujikawa
a9189ee7d9
2009-05-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added max-concurrent-downloads option to changeGlobalOption
xml-rpc method. Rewritten loop conditional in
RequestGroupMan::fillRequestGroupFromReserver().
* src/RequestGroupMan.cc
* src/RequestGroupMan.h
* src/XmlRpcMethod.cc
* src/XmlRpcMethodImpl.cc
2009-05-30 14:28:18 +00:00
Tatsuhiro Tsujikawa
f7b774223f
Fixed date
2009-05-30 14:12:42 +00:00
Tatsuhiro Tsujikawa
c1549cbc65
2009-05-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Documented position parameter in man page.
* doc/aria2c.1.txt
2009-05-30 14:00:12 +00:00
Tatsuhiro Tsujikawa
960bab86c7
2009-05-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added 'position' parameter to addUri, addTorrent and addMetalink
xml-rpc method.
* src/RequestGroupMan.cc
* src/RequestGroupMan.h
* src/XmlRpcMethodImpl.cc
* test/XmlRpcMethodTest.cc
2009-05-30 13:55:14 +00:00
Tatsuhiro Tsujikawa
918c6bf38d
2009-05-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed Peer.cc from compile source list when --disable-bittorrent
is specified. Added #ifdef ENABLE_BITTORRENT guard to methods that
takes Peer.
* src/DefaultPieceStorage.cc
* src/DefaultPieceStorage.h
* src/Makefile.am
* src/PieceStorage.h
* src/UnknownLengthPieceStorage.cc
* src/UnknownLengthPieceStorage.h
* test/MockPieceStorage.h
2009-05-29 12:32:17 +00:00
Tatsuhiro Tsujikawa
8b6da1ee36
2009-05-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Implemented getter methods in header files to give them more
chance of optimization.
Return const reference for SharadHandle if possible.
* src/AbstractAuthResolver.cc
* src/AbstractAuthResolver.h
* src/AbstractBtMessage.cc
* src/AbstractBtMessage.h
* src/AbstractSingleDiskAdaptor.cc
* src/AbstractSingleDiskAdaptor.h
* src/AsyncNameResolver.cc
* src/AsyncNameResolver.h
* src/BNode.cc
* src/BNode.h
* src/BitfieldMan.cc
* src/BitfieldMan.h
* src/BtAbortOutstandingRequestEvent.h
* src/BtExtendedMessage.cc
* src/BtExtendedMessage.h
* src/BtSeederStateChoke.cc
* src/BtSeederStateChoke.h
* src/Cookie.cc
* src/Cookie.h
* src/DHTBucket.cc
* src/DHTBucket.h
* src/DHTConnectionImpl.cc
* src/DHTConnectionImpl.h
* src/DHTFindNodeReplyMessage.cc
* src/DHTFindNodeReplyMessage.h
* src/DHTGetPeersReplyMessage.cc
* src/DHTGetPeersReplyMessage.h
* src/DHTInteractionCommand.cc
* src/DHTMessage.cc
* src/DHTMessage.h
* src/DHTMessageDispatcherImpl.cc
* src/DHTMessageEntry.cc
* src/DHTMessageReceiver.cc
* src/DHTMessageReceiver.h
* src/DHTMessageTrackerEntry.cc
* src/DHTMessageTrackerEntry.h
* src/DHTPeerAnnounceEntry.cc
* src/DHTPeerAnnounceEntry.h
* src/DHTPeerLookupTask.cc
* src/DHTPeerLookupTask.h
* src/DHTRoutingTableDeserializer.cc
* src/DHTRoutingTableDeserializer.h
* src/DefaultBtAnnounce.cc
* src/DefaultBtAnnounce.h
* src/DefaultBtMessageDispatcher.cc
* src/DefaultBtMessageDispatcher.h
* src/DefaultBtRequestFactory.cc
* src/DefaultBtRequestFactory.h
* src/DiskAdaptor.cc
* src/DiskAdaptor.h
* src/DownloadContext.cc
* src/DownloadContext.h
* src/DownloadEngine.cc
* src/DownloadEngine.h
* src/EpollEventPoll.cc
* src/EpollEventPoll.h
* src/FtpConnection.cc
* src/FtpConnection.h
* src/HttpConnection.cc
* src/HttpConnection.h
* src/HttpHeader.cc
* src/HttpHeader.h
* src/HttpRequest.cc
* src/HttpRequest.h
* src/HttpResponse.cc
* src/HttpResponse.h
* src/LibsslTLSContext.cc
* src/LibsslTLSContext.h
* src/MSEHandshake.cc
* src/MSEHandshake.h
* src/MetalinkEntry.cc
* src/MetalinkEntry.h
* src/MetalinkParserController.cc
* src/MetalinkParserController.h
* src/MetalinkParserStateMachine.cc
* src/MetalinkParserStateMachine.h
* src/MultiDiskAdaptor.cc
* src/MultiDiskAdaptor.h
* src/NetrcAuthResolver.cc
* src/NetrcAuthResolver.h
* src/Peer.cc
* src/Peer.h
* src/PeerSessionResource.cc
* src/PeerSessionResource.h
* src/Piece.cc
* src/Piece.h
* src/PieceStatMan.cc
* src/PieceStatMan.h
* src/Request.cc
* src/Request.h
* src/RequestGroup.cc
* src/RequestGroup.h
* src/RequestGroupMan.cc
* src/RequestGroupMan.h
* src/RequestSlot.cc
* src/RequestSlot.h
* src/SegmentMan.cc
* src/SegmentMan.h
* src/SelectEventPoll.cc
* src/SelectEventPoll.h
* src/ServerStat.cc
* src/ServerStat.h
* src/Signature.cc
* src/Signature.h
* src/URIResult.cc
* src/URIResult.h
* src/UTPexExtensionMessage.cc
* src/UTPexExtensionMessage.h
2009-05-29 12:12:22 +00:00
Tatsuhiro Tsujikawa
30f362319e
2009-05-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed compile error without BitTorrent and Metalink support.
* src/XmlRpcMethod.cc
* src/XmlRpcMethodFactory.cc
* src/XmlRpcMethodImpl.cc
* src/XmlRpcMethodImpl.h
* test/XmlRpcMethodTest.cc
2009-05-27 17:27:05 +00:00
Tatsuhiro Tsujikawa
7a8e2fdadb
2009-05-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Rewritten the help message for --allow-overwrite option.
* doc/aria2c.1.txt
* src/usage_text.h
2009-05-27 12:58:33 +00:00
Tatsuhiro Tsujikawa
afe1d551e8
2009-05-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed typo
* doc/aria2c.1.txt
* src/usage_text.h
2009-05-27 12:51:12 +00:00
Tatsuhiro Tsujikawa
861ada066f
2009-05-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated README for 1.4.0 release. Use new table syntax of
asciidoc.
* README
2009-05-26 15:53:39 +00:00
Tatsuhiro Tsujikawa
1c1ec3bd6d
2009-05-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Documented --xml-rpc-max-request-size option in man page.
* doc/aria2c.1.txt
2009-05-26 15:45:34 +00:00
Tatsuhiro Tsujikawa
fcf183cc84
2009-05-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Moved C_* constants from BtContext to DefaultBtContext.
* src/BtContext.cc: Removed.
* src/BtContext.h
* src/DefaultBtContext.cc
* src/DefaultBtContext.h
* src/Makefile.am
2009-05-26 15:36:57 +00:00
Tatsuhiro Tsujikawa
41df4b5e28
2009-05-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Use name.utf-8 and path.utf-8 key in higher priority than name and
path key respectively when persing .torrent file.
* src/BtContext.cc
* src/BtContext.h
* src/DefaultBtContext.cc
* test/DefaultBtContextTest.cc
* test/utf8.torrent
2009-05-26 15:28:48 +00:00
Tatsuhiro Tsujikawa
544732b124
2009-05-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added --xml-rpc-max-request-size option to limit the size of
XML-RPC request.
2009-05-26 14:38:11 +00:00
Tatsuhiro Tsujikawa
4c1ed46094
2009-05-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Documented XML-RPC API in man page.
* doc/aria2c.1.txt
2009-05-26 14:16:01 +00:00
Tatsuhiro Tsujikawa
a933438401
2009-05-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed g++-4.4 compiler warning: dereferencing type-punned pointer
will break strict-aliasing rules
* src/PeerConnection.cc
* test/DHTRoutingTableSerializerTest.cc
2009-05-23 15:48:20 +00:00
Tatsuhiro Tsujikawa
50060985c3
2009-05-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed PKG_CONFIG variable in sqlite3.m4, which conflicts the
variable in pkg.m4. Use PKG_CHECK_MODULES instead of hand-crafted
scripts. Renamed SQLITE3_CPPFLAGS as SQLITE3_CFLAGS since
PKG_CHECK_MODULES macro uses latter name.
* m4/sqlite3.m4
* src/Makefile.am
* test/Makefile.am
2009-05-23 06:20:29 +00:00
Tatsuhiro Tsujikawa
b60f5d7338
2009-05-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed typo
* configure.ac
2009-05-23 05:22:05 +00:00
Tatsuhiro Tsujikawa
aafbe6f74b
2009-05-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Since upcoming libgnutls 2.8 doesn't have libgnutls-config, Check
presence of libgnutls using pkg-config first. If it fails, fall
back to old macro libgnutls.m4.
* configure.ac
2009-05-23 05:20:21 +00:00
Tatsuhiro Tsujikawa
d99ca899ef
2009-05-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Use s itself instead of !s.bad()
* src/CookieStorage.cc
2009-05-22 16:09:37 +00:00
Tatsuhiro Tsujikawa
7567ff8188
2009-05-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Documented --on-download-* option and --save-cookies option in man
page.
* doc/aria2c.1.txt
2009-05-22 15:03:45 +00:00
Tatsuhiro Tsujikawa
e1775040b6
2009-05-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Set possible values for --load-cookie option to "/path/to/file".
* src/OptionHandlerFactory.cc
2009-05-22 15:02:16 +00:00
Tatsuhiro Tsujikawa
383b12d7f1
2009-05-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added --save-cookies option.
* src/Cookie.cc
* src/Cookie.h
* src/CookieStorage.cc
* src/CookieStorage.h
* src/MultiUrlRequestInfo.cc
* src/OptionHandlerFactory.cc
* src/prefs.cc
* src/prefs.h
* src/usage_text.h
* test/CookieStorageTest.cc
* test/CookieTest.cc
2009-05-22 14:51:57 +00:00