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
ce2b9ed15a
2010-02-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Changed log level from debug to info
* src/BtDependency.cc
* src/BtPostDownloadHandler.cc
2010-02-08 14:24:20 +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
2781176d6a
Updated for 1.8.2 release.
2010-02-03 14:21:32 +00:00
Tatsuhiro Tsujikawa
ddbe1060c8
ChangeLog for previous changes.
2010-02-03 14:21:08 +00:00
Tatsuhiro Tsujikawa
396c956bcf
2010-02-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added Portuguese translation. Updated Ukrainian and Spanish
translation. Thanks to all translators.
* po/LINGUAS
* po/es.po
* po/pt.po
* po/uk.po
2010-02-03 14:19:52 +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
d2b0e02209
Updated for 1.8.1 release
2010-01-23 12:22:43 +00:00