summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Tagging 0.16.0 release of aria2.release-0.16.0Tatsuhiro Tsujikawa2008-10-060-0/+0
|
* 2008-10-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-10-063-18/+116
| | | | | | | Updated doc * README
* 2008-10-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-10-0646-1116/+1061
| | | | | | | | | | | | | Updated French, Simplified Chinese, German, Bulgarian and Japanese translations. Thanks to all translators. * po/bg.po * po/de.po * po/fr.po * po/ja.po * po/zh_CN.po
* 2008-10-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-10-063-11/+16
| | | | | | | Bump up version number to 0.16.0. * configure.ac
* 2008-10-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-10-052-6/+17
| | | | | | | | | Casted entry->maxConnections to int32_t for std::min<T> with T = int32_t. Changed the type of count to int32_t. * src/Metalink2RequestGroup.cc
* 2008-10-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-10-052-2/+38
| | | | | | | Added test for Time::elapsed(time_t). * test/TimeTest.cc
* 2008-10-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-10-053-3/+16
| | | | | | | | | Fixed the bug in Time::elapsed(): Util::difftvsec() is used where Util::difftv() should be used instead. * src/TimeA2.cc * src/TimeA2.h
* 2008-10-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-10-0514-42/+110
| | | | | | | | | | | | | | | | | | | Made socket for dht connections non-blocking * src/DHTAbstractMessage.cc * src/DHTAbstractMessage.h * src/DHTConnection.h * src/DHTConnectionImpl.cc * src/DHTConnectionImpl.h * src/DHTMessage.h * src/DHTMessageDispatcherImpl.cc * src/DHTMessageDispatcherImpl.h * src/DHTUnknownMessage.cc * src/DHTUnknownMessage.h * src/SocketCore.cc * src/SocketCore.h * test/MockDHTMessage.h
* 2008-10-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-10-052-1/+6
| | | | | | | Changed the type of offset to int. * src/ParameterizedStringParser.cc
* 2008-10-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-10-042-1/+6
| | | | | | | Made getAsInt() return int32_t * src/Option.h
* 2008-10-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-10-043-6/+167
| | | | | | | | | Check the availability of winsock2.h and ws2tcpip.h only for mingw32 build. * configure.ac
* 2008-10-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-10-047-5/+133
| | | | | | | | | | Use sqlite3_open if sqlite3_open_v2 is not available. * src/Sqlite3MozCookieParser.cc * src/Sqlite3MozCookieParser.h * m4/sqlite3.m4 * test/Sqlite3MozCookieParserTest.cc
* 2008-10-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-10-0112-30/+68
| | | | | | | | | | | | | | | | | Replaced '%zu' with '%lu' since mingw32 doesn't recognize '%zu'. * src/BtPieceMessage.cc * src/DHTPeerAnnounceStorage.cc * src/DefaultPieceStorage.cc * src/DownloadCommand.cc * src/DownloadEngine.cc * src/FtpConnection.cc * src/PeerConnection.cc * src/PeerMessageUtil.cc * src/RequestGroup.cc * src/RequestGroupMan.cc * src/SimpleBtMessage.cc
* 2008-10-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-10-012-4/+32
| | | | | | | | | | Use seek() and SetEndOfFile() for mingw32 build instead of ftruncate(), because mingw32's ftruncate() cannot handle more than 2GB-size file. * src/AbstractDiskWriter.cc
* 2008-10-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-09-307-18/+67
| | | | | | | | | | | | | | | Don't set Request::supportsPersistentConnection() in HttpConnection since this code is also used in AbstractProxyResponseCommand. Moved those code to HttpResponse. * src/HttpResponse.cc * src/HttpResponse.h * src/HttpConnection.cc * src/HttpConnection.h * src/HttpResponseCommand.cc * test/HttpResponseTest.cc
* Previous commit accidentaly didn't include a2netcompat.h.Tatsuhiro Tsujikawa2008-09-301-2/+2
|
* 2008-09-30 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-09-305-19/+43
| | | | | | | | | | | | | | Fixed compile error with debian mingw32 cross compiler(4.2.1). The configuration is minimum: no torrent, no metalink, so there may be other compile error on their code. * src/a2netcompat.h * src/File.cc * src/File.h * src/SocketCore.cc * src/SocketCore.h
* 2008-09-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-09-282-3/+6
| | | | | | | Made a socket of incoming peer non-blocking. * src/PeerListenCommand.cc
* 2008-09-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-09-287-74/+67
| | | | | | | | | | | | | | Fixed the bug that aria2 may send duplicate data to BitTorrent peer if whole message data is not sent in one send() call. * src/BtPieceMessage.cc * src/BtPieceMessage.h * src/PeerConnection.cc * src/PeerConnection.h * src/SimpleBtMessage.cc * src/SimpleBtMessage.h
* 2008-09-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-09-286-5/+21
| | | | | | | | | | | | | | | | | Fixed the bug that aria2 downloads faster than max-download-limit when downloading file using both HTTP(or FTP) and BitTorrent, because aria2 evaluates speed separatly(HTTP and BiTorrent) against max-download-limit , instead of sum of them. * src/ActivePeerConnectionCommand.cc * src/DefaultBtInteractive.cc * src/DownloadCommand.cc * src/PeerInteractionCommand.cc * src/PeerReceiveHandshakeCommand.cc
* 2008-09-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-09-2713-93/+354
| | | | | | | | | | | | | | | | | | | | | | | | | | Fixed the bug that HTTPS download fails. * src/AbstractCommand.cc * src/AbstractCommand.h * src/DownloadCommand.cc * src/FtpConnection.cc * src/HttpConnection.cc * src/HttpRequestCommand.cc * src/HttpResponseCommand.cc * src/HttpSkipResponseCommand.cc * src/MSEHandshake.cc * src/PeerConnection.cc * src/SocketCore.cc * src/SocketCore.h Fixed the bug that aria2 doesn't download whole content body and cannot reuse connection if chunked transfer encoding and gzip content encoding are set. * src/DownloadCommand.cc * src/HttpSkipResponseCommand.cc
* 2008-09-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-09-274-9/+352
| | | | | | | Updated man page. * doc/aria2c.1.txt
* 2008-09-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-09-272-1/+21
| | | | | | | | | When error occurred while aria2 was parsing an .aria2.conf file, print the usage of the option that caused error. * src/option_processing.cc
* 2008-09-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-09-274-37/+97
| | | | | | | | | Fixed compile error on OptionHandlerException * src/Makefile.am * src/OptionHandlerException.cc * src/OptionHandlerException.h
* 2008-09-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-09-273-12/+19
| | | | | | | | Moved message of the error to OptionHandlerException.h * src/NameMatchOptionHandler.h * src/OptionHandlerException.h
* 2008-09-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-09-266-16/+104
| | | | | | | | | | | | When error occurs while aria2 is parsing an command-line option, print the usage of the option. * src/Makefile.am * src/NameMatchOptionHandler.h * src/OptionHandlerException.h * src/option_processing.cc
* 2008-09-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-09-255-15/+37
| | | | | | | | | | | | | Reverted previous change. Insert username+'@' to URI(after ftp://) when URI is FTP scheme and username is not in URI. * src/HttpRequest.cc * src/Request.cc * test/HttpRequestTest.cc * test/RequestTest.cc
* 2008-09-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-09-253-5/+19
| | | | | | | | | | | | | | | | Now colon is required for username and password in FTP URL, like: ftp://username:password@host. If colon is not there, aria2 don't parse it as a username. For example, aria2 don't retrieve username from ftp://username@host. This fix was made in order to login FTP server via non-transparent ftp proxy. * src/Request.cc * test/RequestTest.cc
* 2008-09-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-09-2513-78/+125
| | | | | | | | | | | | | | | | | | | | Use netrc for HTTP. Now FTP user/password is sent in Authorization header when --ftp-via-http-proxy=get is given. * src/AuthConfigFactory.cc * src/HttpRequest.cc * src/HttpRequest.h * src/NetrcAuthResolver.cc * src/NetrcAuthResolver.h * src/OptionHandlerFactory.cc * src/option_processing.cc * src/prefs.cc * src/prefs.h * test/AuthConfigFactoryTest.cc * test/HttpRequestTest.cc * test/NetrcAuthResolverTest.cc
* 2008-09-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-09-2410-30/+340
| | | | | | | | | | | | | | | | | Issue PWD command first and get working directory and use it as a prefix for CWD command. * src/DownloadEngine.cc * src/DownloadEngine.h * src/FtpConnection.cc * src/FtpConnection.h * src/FtpFinishDownloadCommand.cc * src/FtpInitiateConnectionCommand.cc * src/FtpNegotiationCommand.cc * src/FtpNegotiationCommand.h * test/FtpConnectionTest.cc
* 2008-09-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-09-242-4/+8
| | | | | | | | | Removed default user/pass for FTP user/pass, since it should not have precedence over netrc configuration by default. * src/OptionHandlerFactory.cc
* 2008-09-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-09-233-0/+11
| | | | | | | | Added debug log for socket event. * src/AbstractCommand.cc * src/PeerAbstractCommand.cc
* 2008-09-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-09-232-4/+15
| | | | | | | Log microseconds. * src/SimpleLogger.cc (SimpleLogger::writeLog)
* 2008-09-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-09-2247-4591/+4443
| | | | | | | | | | | Replaced HelpItem.cc with OptionHandler.cc. * po/POTFILES.in Updated po files with 'make update-po' * po/aria2c.pot * po/*.po
* 2008-09-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-09-222-3/+7
| | | | | | | Removed possible values from the text. * src/usage_text.h (TEXT_METALINK_PREFERRED_PROTOCOL)
* 2008-09-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-09-224-28/+12
| | | | | | | | | | | | | | Removed unused preferences: PREF_NO_PREALLOCATION PREF_STDOUT_LOG PREF_TRACKER_MAX_TRIES PREF_DIRECT_DOWNLOAD_TIMEOUT PREF_MIN_SEGMENT_SIZE * src/option_processing.cc * src/prefs.cc * src/prefs.h
* 2008-09-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-09-2228-1691/+1577
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Integrated HelpItem into OptionParser to ease the workload for adding new options. Removed default value from usage text. * src/HelpItem.cc: Removed. * src/HelpItem.h: Removed. * src/HelpItemFactory.cc: Removed. * src/HelpItemFactory.h: Removed. * src/Makefile.am * src/Makefile.in * src/NameMatchOptionHandler.h * src/OptionHandler.cc * src/OptionHandler.h * src/OptionHandlerFactory.cc * src/OptionHandlerImpl.h * src/OptionParser.cc * src/OptionParser.h * src/TagContainer.cc: Removed. * src/TagContainer.h: Removed. * src/TaggedItem.cc: Removed. * src/TaggedItem.h: Removed. * src/main.cc * src/option_processing.cc * src/usage_text.h * src/version_usage.cc * test/HelpItemTest.cc: Removed. * test/Makefile.am * test/Makefile.in * test/OptionHandlerTest.cc * test/OptionParserTest.cc * test/TagContainerTest.cc: Removed.
* 2008-09-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-09-192-1/+6
| | | | | | | Moved `TransferStat stat = ...' to inside the `if' clause. * src/RequestGroup.cc (RequestGroup::reportDownloadFinished)
* 2008-09-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-09-1914-36/+242
| | | | | | | | | | | | | | | | | | | | | Fixed the bug that a block in a piece is requested when same block is already requested to the same peer in end game mode. * src/BtRequestFactory.h * src/DefaultBtInteractive.cc * src/DefaultBtRequestFactory.cc * src/DefaultBtRequestFactory.h * src/DefaultPieceStorage.cc * src/DefaultPieceStorage.h * src/PieceStorage.h * src/UnknownLengthPieceStorage.cc * src/UnknownLengthPieceStorage.h * test/DefaultBtRequestFactoryTest.cc * test/DefaultPieceStorageTest.cc * test/MockBtRequestFactory.h * test/MockPieceStorage.h
* 2008-09-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-09-193-8/+10
| | | | | | | | | | | Removed _uploadLength and _downloadLength from PeerSessionResource and use PeerStat::_sessionUploadLength and PeerStat::_sessionDownloadLength. * src/PeerSessionResource.cc * src/PeerSessionResource.h
* 2008-09-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-09-184-35/+107
| | | | | | | | | | | Fixed the bug that prefixLength of split bucket which doesn't include local node ID is incremented. * src/DHTBucket.cc * src/DHTBucket.h * test/DHTBucketTest.cc
* 2008-09-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-09-173-0/+7
| | | | | | | Added cookies.sqlite to EXTRA_DIST * test/Makefile.am
* 2008-09-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-09-1747-1882/+7095
| | | | | | | | | | | | | Added Turkish translation. Updated French, German, Russian and Simplified Chinese translations. Thanks to all translators. * po/LINGUAS * po/de.po * po/fr.po * po/ru.po * po/tr.po * po/zh_CN.po
* 2008-09-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-09-172-0/+9
| | | | | | | | | Added deliminating text to the beginning of the log so that one can find where the log starts easily. * src/main.cc
* 2008-09-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-09-162-13/+19
| | | | | | | | | | Moved isProxyGETRequest function outside #ifdef ENABLE_ASYNC_DNS clause to fix compile error when async DNS is not enabled by configuration. * src/AbstractCommand.cc
* 2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-09-147-8/+62
| | | | | | | | | | | | | | | | If establishing conneciton to a server is failed, then mark error on its ServerStat. Added the cause of error to log when error event occurred. Moved message string to message.h for translation. * src/AbstractCommand.cc * src/AbstractCommand.h * src/FtpNegotiationCommand.cc * src/HttpRequestCommand.cc * src/PeerAbstractCommand.cc * src/message.h
* 2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-09-143-0/+23
| | | | | | | | Added the function to get error message from socket. * src/SocketCore.cc * src/SocketCore.h
* 2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-09-143-8/+23
| | | | | | | | Added convenient method RequestGroupMan::getOrCreateServerStat() * src/RequestGroupMan.cc * src/RequestGroupMan.h
* 2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-09-146-7/+33
| | | | | | | | | | | | If error event is received in epoll, then abort download immediately. * src/AbstractCommand.cc * src/Command.cc * src/Command.h * src/DownloadEngine.cc * src/PeerAbstractCommand.cc
* 2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>Tatsuhiro Tsujikawa2008-09-143-1/+60
| | | | | | | | | Added usage message for --uri-selector, --server-stat-of, --server-stat-in, --server-stat-timeout options. * src/HelpItemFactory.cc * src/usage_text.h