Commit Graph

2022 Commits (756592bf4d937f63829fcaaafb38e338417eb407)

Author SHA1 Message Date
Tatsuhiro Tsujikawa 6f0fff2a5f 2010-02-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Put the portion of code to get interface addresses in
	SocketCore::bindAddress() into newly added getInterfaceAddress().
	* src/SocketCore.cc
	* src/SocketCore.h
2010-02-21 15:21:21 +00:00
Tatsuhiro Tsujikawa 8f9af67b99 2010-02-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Rewritten util::parseInt() and parseUInt()
	* src/util.cc
2010-02-21 15:04:14 +00:00
Tatsuhiro Tsujikawa aa2036a70d 2010-02-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed compile error with mingw32 cross compiler. Defined
	a2_sockopt_t as void* for the target systems other than mingw32.
	* src/SocketCore.cc
	* src/a2netcompat.h
2010-02-21 12:50:32 +00:00
Tatsuhiro Tsujikawa ab0662e580 2010-02-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed 'always true' condition
	* src/util.cc
2010-02-20 14:36:57 +00:00
Tatsuhiro Tsujikawa 8429dcf593 2010-02-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Documented --bt-enable-lpd option in man page.
	* doc/aria2c.1.txt
2010-02-20 14:26:23 +00:00
Tatsuhiro Tsujikawa 9281f11264 2010-02-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added Local Peer Discovery. It is disabled by default. Use
	--bt-enable-lpd to enable the function.
	* src/BtConstants.h
	* src/BtSetup.cc
	* src/LpdDispatchMessageCommand.cc
	* src/LpdDispatchMessageCommand.h
	* src/LpdMessage.h
	* src/LpdMessageDispatcher.cc
	* src/LpdMessageDispatcher.h
	* src/LpdMessageReceiver.cc
	* src/LpdMessageReceiver.h
	* src/LpdReceiveMessageCommand.cc
	* src/LpdReceiveMessageCommand.h
	* src/Makefile.am
	* src/OptionHandlerFactory.cc
	* src/Peer.cc
	* src/Peer.h
	* src/PeerInteractionCommand.cc
	* src/SocketCore.cc
	* src/SocketCore.h
	* src/prefs.cc
	* src/prefs.h
	* src/usage_text.h
	* src/util.cc
	* src/util.h
	* test/LpdMessageDispatcherTest.cc
	* test/LpdMessageReceiverTest.cc
	* test/Makefile.am
2010-02-20 14:23:25 +00:00
Tatsuhiro Tsujikawa aee471e52c 2010-02-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
User-defined custom request headers specified by --header option
	now override builtin headers if they have same name.
	* src/HttpRequest.cc
	* src/HttpRequest.h
	* test/HttpRequestTest.cc
2010-02-20 12:55:23 +00:00
Tatsuhiro Tsujikawa f1ee4045c2 2010-02-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Rewirtten util::isNumber()
	* src/util.cc
2010-02-19 14:33:39 +00:00
Tatsuhiro Tsujikawa f77ea4721c 2010-02-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Reverted changes in r1893. setlocale(LC_CTYPE, "") is needed
	because without it localized error messages are not printed
	correctly.
	* src/Platform.cc
2010-02-19 11:28:27 +00:00
Tatsuhiro Tsujikawa 780aaf9c80 2010-02-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added unit tests for util::getContentDispositionFilename() from
	http://greenbytes.de/tech/tc2231/ Fixed the function so that added
	tests are passed.
	* src/util.cc
	* test/UtilTest.cc
2010-02-19 10:54:40 +00:00
Tatsuhiro Tsujikawa cc056289e7 2010-02-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed setlocale() for LC_CTYPE. It may affect isxdigit in
	util.cc
	* src/Platform.cc
2010-02-18 13:55:08 +00:00
Tatsuhiro Tsujikawa 2da32876a2 2010-02-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Support RFC2231 "Parameter Value Character Set and Language
	Information" in Content-Disposition header.
	* src/HttpResponse.cc
	* src/util.cc
	* src/util.h
	* test/UtilTest.cc
2010-02-17 16:09:19 +00:00
Tatsuhiro Tsujikawa 674eff7da3 2010-02-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Print CXXFLAGS
	* configure.ac
2010-02-16 14:54:49 +00:00
Tatsuhiro Tsujikawa dfb40cb729 2010-02-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Small optimization for A2_WOULDBLOCK(e)
	* src/SocketCore.cc
2010-02-16 14:53:11 +00:00
Tatsuhiro Tsujikawa ca3c52a787 2010-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed test file
	* test/CookieStorageTest.cc
2010-02-15 14:01:11 +00:00
Tatsuhiro Tsujikawa 71d7a162d6 2010-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Check both EAGAIN and EWOULDBLOCK
	* src/SocketCore.cc
2010-02-15 13:57:51 +00:00
Tatsuhiro Tsujikawa 3842161f9b 2010-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed ret == 0 checking for SSL_read(), SSL_write() and
	SSL_peek() because the checks are done in the caller.  In
	SocketBuffer::send(), throw exception if nothing could be written
	and socket error was not EWOULDBLOCK
	* src/SocketBuffer.cc
	* src/SocketCore.cc
2010-02-15 13:02:14 +00:00
Tatsuhiro Tsujikawa a6a174a0b2 2010-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed error code handling so that it can handle Winsock2 error
	code.
	* src/SocketCore.cc
	* src/SocketCore.h
2010-02-15 12:47:10 +00:00
Tatsuhiro Tsujikawa 34916ad0ea 2010-02-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Bump up version number to 1.9.0a
	* configure.ac
	* doc/aria2c.1.txt
2010-02-14 08:40:02 +00:00
Tatsuhiro Tsujikawa 2097b5e29a 2010-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed the bug that aria2 doesn't handle return value if error
	occurred before download begins.
	* src/MultiUrlRequestInfo.cc
	* src/main.cc
2010-02-12 13:53:52 +00:00
Tatsuhiro Tsujikawa 1a04d2913e 2010-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed SegmentManFactory class.
	* src/AbstractSegmentManFactory.h
	* src/DefaultSegmentManFactory.cc
	* src/DefaultSegmentManFactory.h
	* src/Makefile.am
	* src/RequestGroup.cc
	* src/RequestGroup.h
	* src/SegmentManFactory.h
2010-02-11 11:42:20 +00:00
Tatsuhiro Tsujikawa 4354c674ab 2010-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Destroyed digest context after getting calculated hash.
	* src/Piece.cc
	* src/Piece.h
2010-02-11 08:33:58 +00:00
Tatsuhiro Tsujikawa 91127ed864 2010-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed BitfieldManFactory class.
	* src/BitfieldManFactory.cc
	* src/BitfieldManFactory.h
	* src/DefaultPieceStorage.cc
	* src/Makefile.am
	* src/PeerSessionResource.cc
	* src/Piece.cc
	* src/main.cc
	* test/DefaultPieceStorageTest.cc
2010-02-11 08:28:41 +00:00
Tatsuhiro Tsujikawa b89e306599 2010-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed unused methods from BitfieldMan class.  Moved
	getFirstMissingIndex to bitfield.h. Updated doc for BitfieldMan
	class.
	* src/BitfieldMan.cc
	* src/BitfieldMan.h
	* src/BitfieldManFactory.cc
	* src/BitfieldManFactory.h
	* src/bitfield.h
	* src/main.cc
	* test/BitfieldManTest.cc
	* test/DefaultPieceStorageTest.cc
2010-02-11 08:22:37 +00:00
Tatsuhiro Tsujikawa e3e3f0438d 2010-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Moved getFirstNMissingIndex to bitfield.h and made it return the
	number of appended indexes.
	* src/BitfieldMan.cc
	* src/BitfieldMan.h
	* src/Piece.cc
	* src/Piece.h
	* src/bitfield.h
	* test/BitfieldManTest.cc
2010-02-11 07:24:06 +00:00
Tatsuhiro Tsujikawa aa1139bb67 2010-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added more tests.
	* test/BitfieldManTest.cc
2010-02-10 15:09:59 +00:00
Tatsuhiro Tsujikawa ccc552cec9 2010-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added BitfieldMan::getFirstNMissingUnusedIndex() to get multiple
	unused block indexes at once instead of calling
	getFirstMissingUnusedIndex() multiple times. Made use of it in
	Piece class and DefaultBtRequestFactory class via Piece class.
	* src/BitfieldMan.cc
	* src/BitfieldMan.h
	* src/DefaultBtRequestFactory.cc
	* src/Piece.cc
	* src/Piece.h
	* test/BitfieldManTest.cc
2010-02-10 15:07:06 +00:00
Tatsuhiro Tsujikawa 762580ba8c 2010-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Use std::make_pair(...)
	* src/DHTMessageTracker.cc
2010-02-10 13:08:28 +00:00
Tatsuhiro Tsujikawa aff9978220 2010-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Use std::make_pair(...)
	* src/bittorrent_helper.cc
2010-02-10 13:07:32 +00:00
Tatsuhiro Tsujikawa 43cd16b4ff 2010-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
urlencode(removeFragment(...)) in parseUrl(...)
	* src/Request.cc
2010-02-10 13:04:42 +00:00
Tatsuhiro Tsujikawa e227e53d7b 2010-02-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Wrapped logger->debug(...) with if(logger->debug()) { ... }
	* src/AbstractCommand.cc
	* src/AdaptiveURISelector.cc
	* src/BtPieceMessage.cc
	* src/BtPortMessage.cc
	* src/CreateRequestCommand.cc
	* src/DHTAbstractNodeLookupTask.cc
	* src/DHTBucket.cc
	* src/DHTGetPeersCommand.cc
	* src/DHTMessageDispatcherImpl.cc
	* src/DHTMessageFactoryImpl.cc
	* src/DHTMessageTracker.cc
	* src/DHTPeerAnnounceStorage.cc
	* src/DHTRoutingTable.cc
	* src/DHTSetup.cc
	* src/DefaultBtAnnounce.cc
	* src/DefaultBtInteractive.cc
	* src/DefaultBtMessageDispatcher.cc
	* src/DefaultBtMessageReceiver.cc
	* src/DefaultBtProgressInfoFile.cc
	* src/DefaultBtRequestFactory.cc
	* src/DefaultPeerStorage.cc
	* src/DefaultPieceStorage.cc
	* src/DownloadCommand.cc
	* src/DownloadEngine.cc
	* src/EpollEventPoll.cc
	* src/FileAllocationCommand.cc
	* src/FileEntry.cc
	* src/FtpNegotiationCommand.cc
	* src/HandshakeExtensionMessage.cc
	* src/HttpListenCommand.cc
	* src/HttpServer.cc
	* src/HttpSkipResponseCommand.cc
	* src/IteratableChunkChecksumValidator.cc
	* src/Logger.h
	* src/MSEHandshake.cc
	* src/MetalinkPostDownloadHandler.cc
	* src/MultiDiskAdaptor.cc
	* src/PeerAbstractCommand.cc
	* src/PeerConnection.cc
	* src/PeerListenCommand.cc
	* src/PeerReceiveHandshakeCommand.cc
	* src/RequestGroup.cc
	* src/RequestGroupMan.cc
	* src/SegmentMan.cc
	* src/SelectEventPoll.cc
	* src/ServerStat.cc
	* src/SimpleBtMessage.cc
	* src/SocketCore.cc
	* src/TrackerWatcherCommand.cc
	* src/UTMetadataDataExtensionMessage.cc
	* src/UTMetadataRequestFactory.cc
	* src/UTMetadataRequestTracker.cc
	* src/XmlRpcMethod.cc
2010-02-09 12:20:20 +00:00
Tatsuhiro Tsujikawa 65c094664c ChangeLog for previous change. 2010-02-08 14:26:28 +00:00
Tatsuhiro Tsujikawa da682bd6bd 2010-02-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed unused PeerSessionResource::_latency.
	* src/BtConstants.h
	* src/BtPieceMessage.cc
	* src/Peer.cc
	* src/Peer.h
	* src/PeerSessionResource.cc
	* src/PeerSessionResource.h
	* test/PeerSessionResourceTest.cc
2010-02-08 12:31:13 +00:00
Tatsuhiro Tsujikawa 978258d2a4 2010-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed the bug that --file-allocation=falloc doesn't work with
	single file download.
	* src/AbstractSingleDiskAdaptor.cc
2010-02-06 15:55:31 +00:00
Tatsuhiro Tsujikawa a1a58165a0 2010-02-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Release 1.8.2
2010-02-03 14:37:55 +00:00
Tatsuhiro Tsujikawa ddbe1060c8 ChangeLog for previous changes. 2010-02-03 14:21:08 +00:00
Tatsuhiro Tsujikawa 01fc3204f2 2010-02-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Remove fragment from redirected URI.
	* src/Request.cc
	* test/RequestTest.cc
2010-02-03 13:49:22 +00:00
Tatsuhiro Tsujikawa 6fa1dc11b2 2010-02-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated po templates.
	* po/aria2.pot
2010-02-03 12:57:09 +00:00
Tatsuhiro Tsujikawa 76aad1de2b 2010-02-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Drop legacy ifdef for ares support and code cleanup.
	* src/AsyncNameResolver.cc
	* src/AsyncNameResolver.h
2010-02-02 13:49:51 +00:00
Tatsuhiro Tsujikawa abcc014675 2010-02-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Call ares_library_init and ares_library_cleanup if they are
	available. Some code cleanups.
	* src/Platform.cc
2010-02-02 13:48:16 +00:00
Tatsuhiro Tsujikawa 3f7df00d98 2010-02-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Call ares_process_fd() each time after epoll to handle timeout.
	* src/EpollEventPoll.cc
	* src/EpollEventPoll.h
2010-02-01 15:21:41 +00:00
Tatsuhiro Tsujikawa ace04f4c80 2010-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Suppressed type-cast compiler warning
	* src/CookieStorage.cc
2010-01-31 14:04:44 +00:00
Tatsuhiro Tsujikawa c0f642df52 2010-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed compile error on Mac OS X.
	* src/CookieStorage.h
2010-01-31 12:36:18 +00:00
Tatsuhiro Tsujikawa 149530de4e 2010-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed cookietest.txt from Makefile.am
	* test/Makefile.am
2010-01-31 09:25:54 +00:00
Tatsuhiro Tsujikawa 4fb03e85f0 2010-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated version number in man page.
	* doc/aria2c.1.txt
2010-01-31 08:15:54 +00:00
Tatsuhiro Tsujikawa cdfbae327b 2010-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Rewritten help message for --allow-overwrite option.
	* doc/aria2c.1.txt
	* src/usage_text.h
2010-01-31 08:14:40 +00:00
Tatsuhiro Tsujikawa a4870cacb4 2010-01-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added bittorrent key to the response of tellStatus XML-RPC method.
	The associated value of the key is a struct and contains data
	retrieved from .torrent file, such as name, announce-list,
	comment, etc.
	* doc/aria2c.1.txt
	* src/XmlRpcMethodImpl.cc
	* src/XmlRpcMethodImpl.h
	* test/XmlRpcMethodTest.cc
2010-01-31 08:05:21 +00:00
Tatsuhiro Tsujikawa 100ad4e18a 2010-01-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed parse(std::istream&) and parse(const std::string&) from
	CookieParser.
	* src/CookieParser.cc
	* src/CookieParser.h
	* test/CookieParserTest.cc
	* test/cookietest.txt: Removed
2010-01-29 12:12:21 +00:00
Tatsuhiro Tsujikawa 58f51205c6 2010-01-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed the bug that cookie for domain a.b.c is not sent to the host
	a.b.c if no other cookies are stored.  Fixed the bug that
	Cookie::markOriginServerOnly() is not called when cookies are
	loaded from file/sqlite3 database.
	* src/Cookie.h
	* src/CookieStorage.cc
	* src/NsCookieParser.cc
	* src/Sqlite3MozCookieParser.cc
	* test/CookieStorageTest.cc
	* test/NsCookieParserTest.cc
	* test/Sqlite3MozCookieParserTest.cc
	* test/cookies.sqlite
	* test/nscookietest.txt
2010-01-29 12:04:36 +00:00
Tatsuhiro Tsujikawa 6645df820e 2010-01-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed RequestGroup::initSegmentMan(). Guaranteed that either
	both _pieceStorage and _segmentMan are initialized or they are
	not.
	* src/RequestGroup.cc
	* src/RequestGroup.h
	* test/BtDependencyTest.cc
2010-01-29 11:03:14 +00:00
Tatsuhiro Tsujikawa 403e8c5754 2010-01-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Bump up version number to 1.8.2
	* configure.ac
2010-01-28 15:06:10 +00:00
Tatsuhiro Tsujikawa 0bf9c31afc 2010-01-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Replaced "." with A2STR::DOT_C
	* src/AbstractCommand.cc
	* src/Cookie.cc
	* src/DownloadContext.cc
	* src/FtpConnection.cc
	* src/RequestGroup.cc
	* src/util.cc
2010-01-28 14:33:23 +00:00
Tatsuhiro Tsujikawa eb4116ae57 2010-01-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Replaced isNumberAndDotsNotation() with isNumericHost().
	isNumericHost() can handle IPv6 address.
	* src/Cookie.cc
	* src/CookieStorage.cc
	* src/util.cc
	* src/util.h
	* test/CookieTest.cc
	* test/UtilTest.cc
2010-01-28 14:25:16 +00:00
Tatsuhiro Tsujikawa 994d58a4a4 2010-01-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Included A2STR.h
	* src/CookieStorage.cc
2010-01-28 14:05:42 +00:00
Tatsuhiro Tsujikawa 4043b6ccae 2010-01-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Rewritten Cookie storage.
	* src/Cookie.cc
	* src/Cookie.h
	* src/CookieParser.cc
	* src/CookieStorage.cc
	* src/CookieStorage.h
	* src/a2functional.h
	* test/CookieParserTest.cc
	* test/CookieStorageTest.cc
	* test/CookieTest.cc
	* test/HttpResponseTest.cc
	* test/TestUtil.h
	* test/a2functionalTest.cc
2010-01-28 14:01:50 +00:00
Tatsuhiro Tsujikawa 60c16887e6 2010-01-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Handle redirected URI which is not properly percent encoded.
	* src/Request.cc
	* test/RequestTest.cc
2010-01-26 12:39:22 +00:00
Tatsuhiro Tsujikawa 69850ada49 2010-01-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed the bug that causes segmentaiton fault when aria2 sees '404
	not found' in the N times(N is where --max-file-not-found=N, N>0)
	in a row without single '200 OK' response.
	* src/RequestGroup.cc.
2010-01-25 12:48:47 +00:00
Tatsuhiro Tsujikawa b39ede01a7 2010-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed compile error with i586-mingw32msvc-g++.  Always Cut console
	readout by 80 characters in mingw32 build.  Catch exception in
	DHTMessageReceiver::receiveMessage().
	* src/AbstractDiskWriter.cc
	* src/ConsoleStatCalc.cc
	* src/DHTMessageReceiver.cc
	* src/File.cc
	* src/RequestGroupMan.cc
	* src/a2io.h
	* test/FileTest.cc
2010-01-24 13:49:07 +00:00
Tatsuhiro Tsujikawa 46605f66c3 2010-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed compile error with intel compiler
	* src/XmlRpcMethodImpl.cc
	* src/XmlRpcMethodImpl.h
2010-01-24 12:49:58 +00:00
Tatsuhiro Tsujikawa e71b7e8067 2010-01-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Release 1.8.1
2010-01-23 12:36:57 +00:00
Tatsuhiro Tsujikawa bceec9d1c6 2010-01-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated Swedish, Russian and Italian translations. Thanks to all
	translators.
	* po/it.po
	* po/ru.po
	* po/sv.po
2010-01-23 12:19:18 +00:00
Tatsuhiro Tsujikawa 89982bb10f 2010-01-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed broken OptionParser::findByName().
	* src/OptionParser.cc
	* test/OptionParserTest.cc
2010-01-23 12:10:43 +00:00
Tatsuhiro Tsujikawa 03424dd1ce 2010-01-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed test error without BitTorrent support.
	* test/XmlRpcMethodTest.cc
2010-01-23 10:11:26 +00:00
Tatsuhiro Tsujikawa 226160f84f 2010-01-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed compile error without GNUTLS/OpenSSL.
	* src/util.cc
2010-01-23 10:02:56 +00:00
Tatsuhiro Tsujikawa 2eb26c2513 2010-01-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Changed compression level to Z_DEFAULT_COMPRESSION.
	* src/GZipEncoder.cc
2010-01-23 09:24:56 +00:00
Tatsuhiro Tsujikawa 7e6cdae00b 2010-01-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added missing command line options: --http-no-cache,
	--bt-save-metadata and --bt-metadata-only.
	* doc/xmlrpc/aria2rpc
2010-01-23 09:03:35 +00:00
Tatsuhiro Tsujikawa 06a52cad02 2010-01-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
aria2 now returns gzip compressed XML-RPC response if XML-RPC
	client accepts gzip content encoding.
	* src/A2STR.cc
	* src/A2STR.h
	* src/GZipEncoder.cc
	* src/GZipEncoder.h
	* src/HttpHeader.cc
	* src/HttpHeader.h
	* src/HttpServer.cc
	* src/HttpServer.h
	* src/HttpServerBodyCommand.cc
	* src/HttpServerCommand.cc
	* src/Makefile.am
	* src/XmlRpcResponse.cc
	* src/XmlRpcResponse.h
	* test/GZipEncoderTest.cc
	* test/Makefile.am
2010-01-22 14:09:39 +00:00
Tatsuhiro Tsujikawa 5d8864caed 2010-01-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added XML-RPC client sample code in Python.
	* doc/aria2c.1.txt
2010-01-18 14:46:53 +00:00
Tatsuhiro Tsujikawa 2e4bccb567 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated po templates.
	* po/aria2.pot
2010-01-17 14:18:37 +00:00
Tatsuhiro Tsujikawa c398a73343 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Bump up version number to 1.8.1
	* configure.ac
2010-01-17 14:15:55 +00:00
Tatsuhiro Tsujikawa f67487aab5 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added version number to man page. Updated copyright year in man
	page.
	* doc/aria2c.1.txt
2010-01-17 14:02:53 +00:00
Tatsuhiro Tsujikawa b5ee1b5071 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Rewritten toTagString
	* src/NameMatchOptionHandler.cc
	* test/OptionHandlerTest.cc
2010-01-17 13:58:42 +00:00
Tatsuhiro Tsujikawa 2d74b16583 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added dir and files key to the response struct of aria2.tellStatus
	XML-RPC method.  The value associated with files key is the list
	of files. Its element is the same struct used in aria2.getFiles
	XML-RPC method.  Added uris key to the response struct of
	aria2.getFiles XML-RPC method.  The value associated with uris key
	is the list of URIs. Its element is the same struct used in
	aria2.getUris XML-RPC method.
	* doc/aria2c.1.txt
	* src/XmlRpcMethodImpl.cc
	* test/XmlRpcMethodTest.cc
2010-01-17 13:54:42 +00:00
Tatsuhiro Tsujikawa f2722cb870 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added aria2.getSessionInfo XML-RPC method.  This method returns a
	struct containing Session ID, which is generated each time when
	aria2 is invoked.
	* doc/aria2c.1.txt
	* doc/xmlrpc/aria2rpc
	* src/DownloadEngine.cc
	* src/DownloadEngine.h
	* src/XmlRpcMethodFactory.cc
	* src/XmlRpcMethodImpl.cc
	* src/XmlRpcMethodImpl.h
	* test/XmlRpcMethodTest.cc
2010-01-17 11:55:22 +00:00
Tatsuhiro Tsujikawa 87b18019b4 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Moved generateRandomKey() from bittorrent_helper to util.
	* src/DHTBucket.cc
	* src/DHTNode.cc
	* src/bittorrent_helper.cc
	* src/bittorrent_helper.h
	* src/util.cc
	* src/util.h
2010-01-17 10:05:53 +00:00
Tatsuhiro Tsujikawa b08585ebe2 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated doc about GID.
	* doc/aria2c.1.txt
2010-01-17 09:54:54 +00:00
Tatsuhiro Tsujikawa f9c6c0ccd8 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Now offset argument in aria2.tellWaiting and aria2.tellStopped
	accepts a negative integer.  'offset' == -1 points last download
	in the waiting queue and 'offset' == -2 points the download before
	the last download, and so on. The downloads in the response are in
	reversed order.
	* doc/aria2c.1.txt
	* src/XmlRpcMethodImpl.cc
	* src/XmlRpcMethodImpl.h
	* test/XmlRpcMethodTest.cc
2010-01-17 09:50:38 +00:00
Tatsuhiro Tsujikawa c0308e1ea4 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added --human-readable option.  This option, when true is given,
	prints sizes and speed in human readable format(e.g., 1.2Ki,
	3.4Mi) in the console readout. The default value is true and it
	looks exactly the same as aria2-1.8.0.  So the 'new feature'
	appears when false is given.  In this case, sizes and speed are
	printed without in bytes. No Ki, Mi units conversion is used.
	This may be useful for a program to parse the output of aria2.
	* doc/aria2c.1.txt
	* src/ConsoleStatCalc.cc
	* src/ConsoleStatCalc.h
	* src/OptionHandlerFactory.cc
	* src/main.cc
	* src/prefs.cc
	* src/prefs.h
	* src/usage_text.h
2010-01-17 07:23:53 +00:00
Tatsuhiro Tsujikawa c022939c8f 2010-01-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Now --all-proxy, --http-proxy, --https-proxy and --ftp-proxy
	option accepts empty string "".  When "" is given, it erases
	previously defined proxy.
	* doc/aria2c.1.txt
	* src/OptionHandlerImpl.h
	* src/usage_text.h
	* test/OptionHandlerTest.cc
2010-01-15 09:04:47 +00:00
Tatsuhiro Tsujikawa c16b346bb9 2010-01-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Code cleanup for proxy URI handling.
	* src/AbstractCommand.cc
2010-01-15 08:47:00 +00:00
Tatsuhiro Tsujikawa a77d96e2cf 2010-01-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added --bt-metadata-only option.  If true is given to this option,
	aria2 downloads metadata only. The file(s) described in metadata
	will not be downloaded. This option has effect only when
	BitTorrent Magnet URI is used. See also --bt-save-metadata option.
	* doc/aria2c.1.txt
	* src/OptionHandlerFactory.cc
	* src/UTMetadataPostDownloadHandler.cc
	* src/download_helper.cc
	* src/prefs.cc
	* src/prefs.h
	* src/usage_text.h
2010-01-12 14:30:47 +00:00
Tatsuhiro Tsujikawa f3b1defc97 2010-01-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed memory leak. Commands stored in std::deque<Command*> are not
	deleted when exception is thrown. Make sure that when passing
	std::deque<Command*> to function to store Commands, handle
	exception and delete these Commands.
	* src/AbstractCommand.cc
	* src/CheckIntegrityCommand.cc
	* src/FileAllocationCommand.cc
	* src/RequestGroup.cc
	* src/TrackerWatcherCommand.cc
2010-01-11 15:35:12 +00:00
Tatsuhiro Tsujikawa 768f78f771 2010-01-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Replaced '/' and '_' with '_' in HTTP/FTP filename.
	* src/A2STR.cc
	* src/A2STR.h
	* src/FtpNegotiationCommand.cc
	* src/HttpResponseCommand.cc
	* src/util.cc
	* src/util.h
	* test/UtilTest.cc
2010-01-11 14:32:20 +00:00
Tatsuhiro Tsujikawa 4c89170488 2010-01-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Treat --dir="" as --dir="."
	* src/FtpNegotiationCommand.cc
	* src/HttpResponseCommand.cc
	* src/Metalink2RequestGroup.cc
	* src/UTMetadataPostDownloadHandler.cc
	* src/bittorrent_helper.cc
	* src/download_helper.cc
	* src/util.cc
	* src/util.h
	* test/UtilTest.cc
2010-01-11 14:01:20 +00:00
Tatsuhiro Tsujikawa 2b62660e49 2010-01-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Code clean up.
	* src/main.cc
2010-01-10 07:57:39 +00:00
Tatsuhiro Tsujikawa 558541ec48 2010-01-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Reset GID to 1 when they reach maximum value. Rewritten
	CUIDCounter::newID()
	* src/CUIDCounter.h
	* src/RequestGroup.cc
	* src/RequestGroup.h
2010-01-10 07:51:45 +00:00
Tatsuhiro Tsujikawa 643d28fb3c 2010-01-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Documented --http-no-cache option in man page.
	* doc/aria2c.1.txt
2010-01-10 07:36:09 +00:00
Tatsuhiro Tsujikawa 658442b762 2010-01-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added --http-no-cache option.  When true is given, aria2 sends
	Cache-Control: no-cache and Pragma: no-cache header to avoid
	cached content.  If false is given , these headers are not sent
	and you can add Cache-Control header with a directive you like
	using --header option.
	* src/HttpRequest.cc
	* src/HttpRequest.h
	* src/HttpRequestCommand.cc
	* src/OptionHandlerFactory.cc
	* src/download_helper.cc
	* src/prefs.cc
	* src/prefs.h
	* src/usage_text.h
2010-01-10 07:33:20 +00:00
Tatsuhiro Tsujikawa 84389aefe2 2010-01-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed Logger from OptionParser. When OptionParser is used to
	parse options at bootstrap, LogFactory is not configured yet
	properly. When LogFactory is used in OptionParser, it initializes
	itself to return a logger which has no ability to write log to the
	disk.
	* src/OptionParser.cc
	* src/OptionParser.h
2010-01-10 07:19:53 +00:00
Tatsuhiro Tsujikawa ea86dbb245 2010-01-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added following sentance to the help message of --out option:
	--out option is ignored when -Z is used.
	* doc/aria2c.1.txt
	* src/usage_text.h
2010-01-10 06:55:35 +00:00
Tatsuhiro Tsujikawa d94c6b0c9c 2010-01-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added --bt-save-metadata option to -i list options.
	* doc/aria2c.1.txt
	* src/download_helper.cc
2010-01-10 06:48:34 +00:00
Tatsuhiro Tsujikawa be20b46c19 2010-01-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed compile error with i586-mingw32msvc-gcc 4.4.2, without any
	additional libraries.
	* src/MultiUrlRequestInfo.cc
	* src/NameResolver.cc
	* src/SelectEventPoll.cc
	* src/SelectEventPoll.h
	* src/SocketCore.cc
	* src/SocketCore.h
	* src/a2netcompat.h
	* src/daemon.cc
	* src/main.cc
2010-01-09 13:06:45 +00:00
Tatsuhiro Tsujikawa b950da1841 2010-01-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed typo.
	* src/DHTMessageReceiver.cc
2010-01-09 09:43:04 +00:00
Tatsuhiro Tsujikawa d56459bb88 2010-01-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed the bug that causes segmentation fault if unknown option is
	put in aria2.conf file. BUG#2928303
	* src/OptionParser.cc
	* src/OptionParser.h
	* src/option_processing.cc
	* test/OptionParserTest.cc
2010-01-09 09:35:18 +00:00
Tatsuhiro Tsujikawa e56f2afbbf 2010-01-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Ignore port message with port=0.
	* src/BtPortMessage.cc
2010-01-07 12:49:51 +00:00
Tatsuhiro Tsujikawa 62e4ae20f6 2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Run autoupdate
	* configure.ac
2010-01-06 15:01:27 +00:00
Tatsuhiro Tsujikawa e3b5248166 2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated autoconf/automake auxiliary files.
	* INSTALL
	* config.guess
	* config.sub
	* depcomp
	* install-sh
	* m4/intldir.m4
	* missing
	* mkinstalldirs
2010-01-06 14:56:25 +00:00
Tatsuhiro Tsujikawa 4c64d3629d 2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed unused function.
	* src/SharedHandle.h
2010-01-06 14:32:50 +00:00
Tatsuhiro Tsujikawa e3a61f0fd8 2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Find pooled socket using all cached addresses.
	* src/DNSCache.h
	* src/DownloadEngine.cc
	* src/DownloadEngine.h
	* src/InitiateConnectionCommand.cc
2010-01-06 14:31:41 +00:00
Tatsuhiro Tsujikawa ffdf21b87b 2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated copyright year.
	* src/version_usage.cc
2010-01-06 13:08:05 +00:00
Tatsuhiro Tsujikawa e237a6ebda 2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Pool connection if _contentEncodingDecoder is used and server
	supports persistent connection.
	* src/HttpDownloadCommand.cc
2010-01-06 13:02:10 +00:00
Tatsuhiro Tsujikawa f6a3ca0b1e 2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated doc.
	* src/DownloadCommand.cc
2010-01-06 12:52:14 +00:00
Tatsuhiro Tsujikawa 4db349c1f3 2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Untabify. Fixed one line in copyright which is longer than 80
	columns.
	* src
	* test
2010-01-05 16:01:46 +00:00
Tatsuhiro Tsujikawa a320fe83fd 2009-12-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Release 1.8.0
2009-12-27 05:45:39 +00:00
Tatsuhiro Tsujikawa 4589bbd669 2009-12-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated po templates.
	* po/aria2.pot
2009-12-27 05:44:50 +00:00
Tatsuhiro Tsujikawa 0d6fdba0d6 2009-12-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Documented --bt-save-metadata option in man page.
	* doc/aria2c.1.txt
2009-12-27 05:42:05 +00:00
Tatsuhiro Tsujikawa 9f5ad4dc00 2009-12-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed usage of --bt-save-metadata option.
	* src/usage_text.h
2009-12-27 05:41:05 +00:00
Tatsuhiro Tsujikawa 8740f86aea Reverted previous change 2009-12-27 05:35:22 +00:00
Tatsuhiro Tsujikawa cc6fc71bfd 2009-12-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Release 1.8.0
2009-12-27 05:33:03 +00:00
Tatsuhiro Tsujikawa 2125fddebf 2009-12-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated po templates.
	* po/aria2.pot
2009-12-27 05:30:25 +00:00
Tatsuhiro Tsujikawa c92975aefb 2009-12-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Get rid of AI_ADDRCONFIG when --disable-ipv6 opiton is given. It
	causes name resolution error when none of network interface has
	IPv4 address.
	* src/main.cc
2009-12-27 03:40:38 +00:00
Tatsuhiro Tsujikawa 3465e87167 2009-12-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Bump up version number to 1.8.0.
	* configure.ac
2009-12-27 03:20:53 +00:00
Tatsuhiro Tsujikawa 606360779f 2009-12-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Use info hash as a filename when saving BitTorrent metadata.
	* src/UTMetadataPostDownloadHandler.cc
	* test/UTMetadataPostDownloadHandlerTest.cc
2009-12-27 02:42:43 +00:00
Tatsuhiro Tsujikawa 1b3436b5cd 2009-12-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Documented system.multicall XML-RPC method in man page.
	* doc/aria2c.1.txt
2009-12-26 14:36:38 +00:00
Tatsuhiro Tsujikawa 63c6a16d40 2009-12-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added signal handler for SIGHUP to save .aria2 file when terminal
	is closed. The handler is the same one for SIGINT and SIGTERM.
	* src/MultiUrlRequestInfo.cc
2009-12-26 13:18:23 +00:00
Tatsuhiro Tsujikawa 1c331e901a 2009-12-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Defined method name in XmlRpcMethod subclasses.
	* src/XmlRpcMethodFactory.cc
	* src/XmlRpcMethodImpl.cc
	* src/XmlRpcMethodImpl.h
	* test/XmlRpcMethodTest.cc
2009-12-26 13:07:27 +00:00
Tatsuhiro Tsujikawa af20aea88c 2009-12-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added system.multicall XML-RPC method.
	* src/XmlRpcMethod.cc
	* src/XmlRpcMethod.h
	* src/XmlRpcMethodFactory.cc
	* src/XmlRpcMethodImpl.cc
	* src/XmlRpcMethodImpl.h
	* test/XmlRpcMethodTest.cc
2009-12-26 10:16:56 +00:00
Tatsuhiro Tsujikawa 838fcbbecd 2009-12-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Check structure depth when decoding.
	* src/bencode.cc
	* src/bencode.h
	* test/BencodeTest.cc
2009-12-25 14:53:11 +00:00
Tatsuhiro Tsujikawa 49bd2c1b92 2009-12-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Documented tellStopped XML-RPC method in man page.
	* doc/aria2c.1.txt
2009-12-25 14:51:26 +00:00
Tatsuhiro Tsujikawa 17a1bfea09 2009-12-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added tellStopped XML-RPC method to aria2rpc.
	* doc/xmlrpc/aria2rpc
2009-12-25 14:46:59 +00:00
Tatsuhiro Tsujikawa 4e294c7129 2009-12-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added tellStopped XML-RPC method. This method returns stopped
	download in the specified range. It takes same parameters with
	tellWaiting XML-RPC method. offset = 0 means the oldest download.
	* src/XmlRpcMethodFactory.cc
	* src/XmlRpcMethodImpl.cc
	* src/XmlRpcMethodImpl.h
2009-12-25 14:46:22 +00:00
Tatsuhiro Tsujikawa 88bcc6e681 2009-12-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Use AI_ADDRCONFIG flag if it is available. Refactored so that
	getaddrinfo calls are not scattered around. Unset AI_ADDRCONFIG
	when conducting unit tests because they fail if networking
	interface is not configured with IPv4 address.
	* src/NameResolver.cc
	* src/SocketCore.cc
	* src/SocketCore.h
	* src/a2netcompat.h
	* test/AllTest.cc
2009-12-24 14:59:47 +00:00
Tatsuhiro Tsujikawa 0190564ad3 2009-12-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed unit test error
	* test/UTMetadataPostDownloadHandlerTest.cc
2009-12-24 13:40:57 +00:00
Tatsuhiro Tsujikawa 1da1665c24 2009-12-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Defined static string constants for efficiency.
	* src/XmlRpcMethodImpl.cc
2009-12-24 13:39:36 +00:00
Tatsuhiro Tsujikawa 2745d85597 2009-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added --bt-save-metadata option. When true is given, it saves
	metadata as .torrent file. This option has effect only when
	BitTorrent Magnet URI is used.  The filename is name in metadata
	with suffix .torrent. The directory to be saved is the same
	directory where download file is saved. If the same file already
	exists, metdata is not saved.
	* src/OptionHandlerFactory.cc
	* src/UTMetadataPostDownloadHandler.cc
	* src/UTMetadataPostDownloadHandler.h
	* src/message.h
	* src/prefs.cc
	* src/prefs.h
	* src/usage_text.h
	* test/UTMetadataDataExtensionMessageTest.cc
2009-12-23 13:21:12 +00:00
Tatsuhiro Tsujikawa 9b933ca406 2009-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added util::saveAs() function. Use it in Signature::save().
	* src/Signature.cc
	* src/util.cc
	* src/util.h
2009-12-23 13:16:57 +00:00
Tatsuhiro Tsujikawa 3aff2b565e 2009-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Upcase info hash in Magnet URI.
	* doc/aria2c.1.txt
2009-12-23 04:26:40 +00:00
Tatsuhiro Tsujikawa ace9f30d49 2009-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Refactored RequestGroupMan::changeReservedGroupPosition()
	* src/RequestGroupMan.cc
2009-12-23 04:19:49 +00:00
Tatsuhiro Tsujikawa 55f652882f 2009-12-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated the description for aria2.addTorrent XML-RPC method.
	* doc/aria2c.1.txt
2009-12-22 15:10:48 +00:00
Tatsuhiro Tsujikawa f927654103 2009-12-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added changePosition to aria2rpc.
	* doc/xmlrpc/aria2rpc
2009-12-21 15:28:12 +00:00
Tatsuhiro Tsujikawa cb0768febe 2009-12-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Documented changePosition XML-RPC method in man page.
	* doc/aria2c.1.txt
2009-12-21 15:27:03 +00:00
Tatsuhiro Tsujikawa dd98c64161 2009-12-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added changePosition XML-RPC method. It takes 3 parameters: gid,
	pos and how.  This method changes the position of download denoted
	by gid.  If how is POS_SET, it moves the download to a position
	relative to the beginning of the queue.  If how is POS_CUR, it
	moves the download to a position relative to the current
	position. If how is POS_END, it moves the download to a position
	relative to the end of the queue. If the destination position is
	less than 0 or beyond the end of the queue, it moves the download
	to the beginning or the end of the queue respectively.  Returns
	the destination position.
	* src/RequestGroupMan.cc
	* src/RequestGroupMan.h
	* src/XmlRpcMethodFactory.cc
	* src/XmlRpcMethodImpl.cc
	* src/XmlRpcMethodImpl.h
	* test/RequestGroupManTest.cc
	* test/XmlRpcMethodTest.cc
2009-12-21 15:17:34 +00:00
Tatsuhiro Tsujikawa d78b2721a5 2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added getOption and getGlobalOption to aria2rpc.
	* doc/xmlrpc/aria2rpc
2009-12-20 14:48:28 +00:00
Tatsuhiro Tsujikawa c7a59e076e 2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Documented getOption and getGlobalOption XML-RPC method in man
	page
	* doc/aria2c.1.txt
2009-12-20 14:44:54 +00:00
Tatsuhiro Tsujikawa 26e319df43 2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added getOption and getGlobalOption XML-RPC method.  getOption
	takes GID as a parameter and returns its options as struct.
	getGlobalOption takes no parameter and returns global
	options. Because global option is used as a template for the
	option of newly added downloads, it includes options returned by
	getOption.
	* src/Option.h
	* src/XmlRpcMethodFactory.cc
	* src/XmlRpcMethodImpl.cc
	* src/XmlRpcMethodImpl.h
2009-12-20 14:33:42 +00:00
Tatsuhiro Tsujikawa e77e1ec24d 2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Sort _optionHandlers in OptionParser by name in ascending order.
	Use vector instead of deque for efficiency.
	* src/OptionHandler.h
	* src/OptionHandlerFactory.h
	* src/OptionParser.cc
	* src/OptionParser.h
	* src/version_usage.cc
	* test/OptionParserTest.cc
2009-12-20 14:25:51 +00:00
Tatsuhiro Tsujikawa 6c6e7f2c51 2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Code cleanup
	* src/XmlRpcMethod.cc
2009-12-20 14:17:32 +00:00
Tatsuhiro Tsujikawa 2ba1992905 2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Documented about followedBy and belongsTo in man page.
	* doc/aria2c.1.txt
2009-12-20 09:52:05 +00:00
Tatsuhiro Tsujikawa 7c12d43a42 2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Assigned BObject in BDE() to avoid segmentation fault when calling
	methods of BDE::none().
	* src/BDE.cc
2009-12-20 09:38:39 +00:00
Tatsuhiro Tsujikawa 0734dfa770 2009-12-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Show info hash in Magnet URI in upper case letters in -S output.
	* src/bittorrent_helper.cc
	* test/BittorrentHelperTest.cc
2009-12-18 06:32:14 +00:00
Tatsuhiro Tsujikawa 4171e7cadf 2009-12-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed old useless comment
	* src/MultiUrlRequestInfo.cc
2009-12-18 06:30:42 +00:00
Tatsuhiro Tsujikawa b19e292157 2009-12-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed the bug that if --without-sqlite3 is given, pkg-config is
	not properly used in configure script and failed to detect gnutls.
	This is because explicit call of PKG_PROG_PKG_CONFIG is missing
	and the initialization of pkg-config is done in first occurrence
	of PKG_CHECK_MODULES which is not executed because it is inside of
	sqlite3.m4. Added explicit PKG_PROG_PKG_CONFIG call.
	* configure.ac
2009-12-16 12:04:40 +00:00
Tatsuhiro Tsujikawa 3896c470fb 2009-12-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Release 1.7.2
2009-12-13 09:23:51 +00:00
Tatsuhiro Tsujikawa 15c5d12737 2009-12-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed the bug that RequestGroupMan::downloadFinished() returns
	true even if all downloads haven't finished, especially when
	PostDownloadHandler is involved. Changed the condition so that it
	only returns true if both _requestGroups and _reservedGroups are
	empty.
	* src/RequestGroupMan.cc
2009-12-13 07:45:22 +00:00
Tatsuhiro Tsujikawa cd3552fbbb 2009-12-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Log listening port for BitTorrent/DHT in notice level.
	* src/DHTConnectionImpl.cc
	* src/PeerListenCommand.cc
2009-12-13 07:39:22 +00:00
Tatsuhiro Tsujikawa 554a40dab4 2009-12-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated po templates.
	* po/aria2.pot
2009-12-12 13:06:17 +00:00
Tatsuhiro Tsujikawa 52f652d46d 2009-12-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Bump up version number to 1.7.2
	* configure.ac
2009-12-12 12:59:22 +00:00
Tatsuhiro Tsujikawa 90e24a66d8 2009-12-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Changed default value of --enable-dht from 'false' to 'true'.
	* doc/aria2c.1.txt
2009-12-11 13:07:42 +00:00
Tatsuhiro Tsujikawa d59cd9b74e 2009-12-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Enabled DHT by default because of Magnet URI support. To disable
	DHT, use --enable-dht=false
	* src/OptionHandlerFactory.cc
2009-12-11 13:06:26 +00:00
Tatsuhiro Tsujikawa 6c3a3fefa2 2009-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Print Magnet URI in -S output.
	* src/AnnounceList.cc
	* src/bittorrent_helper.cc
	* src/bittorrent_helper.h
	* test/BittorrentHelperTest.cc
2009-12-10 12:52:59 +00:00
Tatsuhiro Tsujikawa e80079c9b6 2009-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added --bt-prioritize-piece option to aria2rpc.
	* doc/xmlrpc/aria2rpc
2009-12-10 12:48:17 +00:00
Tatsuhiro Tsujikawa ff10065699 2009-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Refer Magnet URI in --help. Made some cosmetic changes.
	* src/version_usage.cc
2009-12-10 12:32:47 +00:00
Tatsuhiro Tsujikawa d95d6f2a69 2009-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated -T and -M option.
	* doc/aria2c.1.txt
2009-12-10 12:25:41 +00:00
Tatsuhiro Tsujikawa f64a7ed00c 2009-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed typo
	* doc/aria2c.1.txt
2009-12-10 12:19:42 +00:00
Tatsuhiro Tsujikawa cf24e86f81 2009-12-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed the bug that line separator is missing in horizontal bar.
	* doc/xmlrpc/aria2mon
2009-12-09 14:44:01 +00:00
Tatsuhiro Tsujikawa e296c00e33 2009-12-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated usage text for --metalink-file option.
	* src/usage_text.h
2009-12-09 14:39:08 +00:00
Tatsuhiro Tsujikawa 74c6599906 2009-12-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
If '-' is given as an argument to --metalink-file option, aria2
	reads Metalink file from stdin.
	* src/OptionHandlerFactory.cc
	* src/OptionHandlerImpl.h
	* src/a2io.h
2009-12-09 14:32:12 +00:00
Tatsuhiro Tsujikawa cc4a14a1bc 2009-12-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed the bug that aria2 listens wrong port if --interface option
	is used.
	* src/SocketCore.cc
2009-12-07 15:04:33 +00:00
Tatsuhiro Tsujikawa 8cd1d845f2 2009-12-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed the bug that query parameter in magnet URI is not decoded.
	* src/magnet.cc
	* test/MagnetTest.cc
2009-12-07 13:01:25 +00:00
Tatsuhiro Tsujikawa 58bb1fa266 2009-12-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Specified defaultSize as an argument for easy testing.
	* src/util.cc
	* src/util.h
	* test/UtilTest.cc
2009-12-07 12:49:19 +00:00
Tatsuhiro Tsujikawa 32f25fdef4 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Release 1.7.1
2009-12-06 12:53:11 +00:00
Tatsuhiro Tsujikawa 431b58196c 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Bump up version number to 1.7.1
	* configure.ac
2009-12-06 12:45:25 +00:00
Tatsuhiro Tsujikawa 151c0348d7 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed the bug --bt-prioritize-piece=tail is not working.
	* src/util.cc
2009-12-06 12:44:08 +00:00
Tatsuhiro Tsujikawa a04279645b 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Release 1.7.0
2009-12-06 11:50:49 +00:00
Tatsuhiro Tsujikawa f027008d59 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated po templates.
	* po/aria2.pot
2009-12-06 11:46:18 +00:00
Tatsuhiro Tsujikawa 6cdfeb43d3 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated help message for --bt-prioritize-piece. Some cosmetic
	changes.
	* doc/aria2c.1.txt
2009-12-06 11:37:10 +00:00
Tatsuhiro Tsujikawa a41b927a57 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Set default value for SIZE in --bt-prioritize-piece to 1MiB.
	* src/usage_text.h
	* src/util.cc
	* test/UtilTest.cc
2009-12-06 11:35:45 +00:00
Tatsuhiro Tsujikawa 799d91b6de 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated Russian, Ukrainian, German and French translations.
	Thanks to all translators involved.
	* po/de.po
	* po/fr.po
	* po/ru.po
	* po/uk.po
2009-12-06 09:14:00 +00:00
Tatsuhiro Tsujikawa c7b5565f24 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Mentioned about pkg-config
	* README
2009-12-06 09:00:30 +00:00
Tatsuhiro Tsujikawa 85f94081c0 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed typo. Referred --index-out option in BitTorrent notes.
	* README
2009-12-06 08:46:42 +00:00
Tatsuhiro Tsujikawa 45f681b9dc 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Store all addresses found by getifaddrs() and getaddrinfo().  In
	bind, try all addresses until success
	* src/SocketCore.cc
	* src/SocketCore.h
2009-12-06 08:25:41 +00:00
Tatsuhiro Tsujikawa 766ad3baf2 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated po templates.
	* po/aria2.pot
2009-12-05 11:54:50 +00:00
Tatsuhiro Tsujikawa 80f832cd19 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Bump up version number to 1.7.0
	* configure.ac
2009-12-05 11:46:50 +00:00
Tatsuhiro Tsujikawa 9a6a73dd96 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed compile error if ENABLE_BITTORRENT is undefined.
	* src/DefaultPieceStorage.cc
	* src/DefaultPieceStorage.h
	* src/PieceStorage.h
	* src/UnknownLengthPieceStorage.cc
	* src/UnknownLengthPieceStorage.h
	* test/MockPieceStorage.h
	* test/ProtocolDetectorTest.cc
	* test/XmlRpcMethodTest.cc
2009-12-05 11:35:18 +00:00
Tatsuhiro Tsujikawa 66e864daf2 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Documented in man page that if getifaddrs() is missing,
	--interface option doesn't accept interface name.
	* doc/aria2c.1.txt
2009-12-05 09:35:45 +00:00
Tatsuhiro Tsujikawa 3a1a8868d5 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Use last 8 bytes of peer ID as 'key' parameter for tracker request.
	* src/DefaultBtAnnounce.cc
	* src/DefaultBtAnnounce.h
	* test/DefaultBtAnnounceTest.cc
2009-12-05 07:56:30 +00:00
Tatsuhiro Tsujikawa c44cf31df7 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed the bug that connection is always dropped if handshake
	message in extension protocol don't have metadata_size.
	src/HandshakeExtensionMessage.cc
	* src/HandshakeExtensionMessage.cc
2009-12-05 07:51:04 +00:00
Tatsuhiro Tsujikawa 1016f51f7a 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated "URI, MAGNET, TORRENT_FILE, METALINK_FILE" section.  Added
	text saying DHT is recommended when Magnet URI is provided.
	* doc/aria2c.1.txt
2009-12-05 07:48:36 +00:00
Tatsuhiro Tsujikawa 7bc6fc54a1 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed the bug that DHT is always enabled when BitTorrent Magnet
	URI is supplied. Notify user that they should consider enabling
	DHT if they use Magnet URI.
	* src/RequestGroup.cc
2009-12-05 07:43:49 +00:00
Tatsuhiro Tsujikawa 4100ba77c3 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added --disable-ipv6 option to disable IPv6.
	* doc/aria2c.1.txt
	* src/InitiateConnectionCommand.cc
	* src/NameResolver.cc
	* src/NameResolver.h
	* src/OptionHandlerFactory.cc
	* src/main.cc
	* src/prefs.cc
	* src/prefs.h
	* src/usage_text.h
2009-12-05 07:10:23 +00:00
Tatsuhiro Tsujikawa a7709947f2 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated usage text for --bt-prioritize-piece option.
	* doc/aria2c.1.txt
	* src/usage_text.h
2009-12-05 06:44:40 +00:00
Tatsuhiro Tsujikawa d2816a2a19 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
In configure script, if --with-PACKAGE and --enable-FEATURE are
	given and PACKAGE is missing in the system or FEATURE cannot be
	enabled, print error message and stop the script.
	* configure.ac
	* m4/aria2_arg.m4
2009-12-05 06:33:07 +00:00
Tatsuhiro Tsujikawa 625a102d1b 2009-12-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Halt metadata download immediately when metadata download is done.
	Don't wait unresponsive tracker.
	* src/ByteArrayDiskWriter.h
	* src/DefaultBtInteractive.cc
	* src/DefaultExtensionMessageFactory.cc
	* src/DefaultExtensionMessageFactory.h
	* src/PeerInteractionCommand.cc
	* src/UTMetadataDataExtensionMessage.cc
	* src/UTMetadataDataExtensionMessage.h
	* src/UTMetadataRequestExtensionMessage.cc
	* test/UTMetadataDataExtensionMessageTest.cc
	* test/UTMetadataRequestExtensionMessageTest.cc
2009-12-04 12:48:54 +00:00
Tatsuhiro Tsujikawa 56265173bd 2009-12-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Documented --interface option in man page.
	* doc/aria2c.1.txt
2009-12-04 07:47:02 +00:00
Tatsuhiro Tsujikawa 958c48abf9 2009-12-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Try resolved address in the order received from the resolver.
	* src/DNSCache.h
2009-12-04 07:39:50 +00:00
Tatsuhiro Tsujikawa 6a546813ba 2009-12-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added debug logs.
	* src/SocketCore.cc
2009-12-04 07:37:16 +00:00
Tatsuhiro Tsujikawa 5bb9eaec17 2009-12-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed type of tail to uint64_t
	* src/util.cc
2009-12-03 14:51:17 +00:00
Tatsuhiro Tsujikawa 4156debe5c 2009-12-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added --interface option.  This feature binds sockets to given
	interface. You can specify interface name, IP address and
	hostname.
	* configure.ac
	* src/OptionHandlerFactory.cc
	* src/SocketCore.cc
	* src/SocketCore.h
	* src/main.cc
	* src/message.h
	* src/prefs.cc
	* src/prefs.h
	* src/usage_text.h
2009-12-03 14:41:08 +00:00
Tatsuhiro Tsujikawa 854660005d 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated man page for bt-prioritize-piece option in -i list.
	* doc/aria2c.1.txt
2009-11-29 12:41:39 +00:00
Tatsuhiro Tsujikawa 33579a8b24 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added bt-prioritize-piece option to -i list.
	* src/download_helper.cc
2009-11-29 12:39:17 +00:00
Tatsuhiro Tsujikawa 8a590b4de0 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed --http-auth-scheme option from man page.
	* doc/aria2c.1.txt
2009-11-29 10:29:37 +00:00
Tatsuhiro Tsujikawa ddaad36680 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed --http-auth-scheme option since it doesn't do nothing.
	* src/OptionHandlerFactory.cc
	* src/prefs.cc
	* src/prefs.h
	* src/usage_text.h
2009-11-29 10:28:24 +00:00
Tatsuhiro Tsujikawa 8f00669d7b 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Adjusted the number of peer info which get_peers reply message can
	carry.
	* src/DHTGetPeersReplyMessage.cc
2009-11-29 10:17:03 +00:00
Tatsuhiro Tsujikawa cccbeffce6 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added extension_message_test_helper.h to aria2c_SOURCES.
	* test/Makefile.am
2009-11-29 06:56:04 +00:00
Tatsuhiro Tsujikawa 2c92b2fab8 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Documented --bt-prioritize-piece option in man page.
	* doc/aria2c.1.txt
2009-11-29 06:48:07 +00:00
Tatsuhiro Tsujikawa e208302947 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added option --bt-prioritize-piece.  This option instruct aria2 to
	try to download first and last pieces of each file first. The
	argument can contain 2 keywords:head and tail. To include both
	keywords, they must be separated by comma. These keywords can take
	one parameter, SIZE. For example , if head=SIZE is specified,
	pieces in the range of first SIZE bytes of each file get higher
	priority. tail=SIZE means the range of last SIZE bytes of each
	file. SIZE can include K or M(1K = 1024, 1M = 1024K).
	* src/DefaultPieceStorage.h
	* src/Makefile.am
	* src/OptionHandlerFactory.cc
	* src/OptionHandlerImpl.h
	* src/PriorityPieceSelector.cc
	* src/PriorityPieceSelector.h
	* src/RequestGroup.cc
	* src/prefs.cc
	* src/prefs.h
	* src/usage_text.h
	* src/util.cc
	* src/util.h
	* test/Makefile.am
	* test/MockPieceSelector.h
	* test/PriorityPieceSelectorTest.cc
	* test/UtilTest.cc
2009-11-29 06:43:38 +00:00
Tatsuhiro Tsujikawa 30ba476e9d 2009-11-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed typo
	* src/HttpRequest.h
2009-11-29 06:31:18 +00:00
Tatsuhiro Tsujikawa 5f082a9ff4 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
In Magnet URI with tr parameter, put each announce URI in separate
	tier.
	* src/bittorrent_helper.cc
	* test/BittorrentHelperTest.cc
2009-11-28 12:39:08 +00:00
Tatsuhiro Tsujikawa 6939be2765 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Renamed ExtensionMessage::getBencodedData() as
	ExtensionMessage::getPayload()
	* src/BtExtendedMessage.cc
	* src/ExtensionMessage.h
	* src/HandshakeExtensionMessage.cc
	* src/HandshakeExtensionMessage.h
	* src/UTMetadataDataExtensionMessage.cc
	* src/UTMetadataDataExtensionMessage.h
	* src/UTMetadataRejectExtensionMessage.cc
	* src/UTMetadataRejectExtensionMessage.h
	* src/UTMetadataRequestExtensionMessage.cc
	* src/UTMetadataRequestExtensionMessage.h
	* src/UTPexExtensionMessage.cc
	* src/UTPexExtensionMessage.h
	* test/HandshakeExtensionMessageTest.cc
	* test/MockExtensionMessage.h
	* test/UTMetadataDataExtensionMessageTest.cc
	* test/UTMetadataRejectExtensionMessageTest.cc
	* test/UTMetadataRequestExtensionMessageTest.cc
	* test/UTPexExtensionMessageTest.cc
2009-11-28 12:32:07 +00:00
Tatsuhiro Tsujikawa 1d8a3df058 2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated man page for BitTorrent Magnet URI.
	* doc/aria2c.1.txt
2009-11-28 12:21:59 +00:00