Tatsuhiro Tsujikawa
7818e0e770
2008-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Implemented commented code in BtSeederStateChoke
* src/BtSeederStateChoke.cc
* src/Peer.cc
* src/Peer.h
* src/PeerInteractionCommand.cc
* src/PeerSessionResource.cc
* src/PeerSessionResource.h
* test/MockBtMessageDispatcher.h
* test/PeerSessionResourceTest.cc
2008-11-03 07:16:25 +00:00
Tatsuhiro Tsujikawa
7cf589e784
2008-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Made BtRegistry non-static object. Now DownloadEngine has a
reference to its object.
* src/AbstractBtMessage.cc
* src/ActivePeerConnectionCommand.cc
* src/ActivePeerConnectionCommand.h
* src/BtContextAwareCommand.cc
* src/BtContextAwareCommand.h
* src/BtExtendedMessage.cc
* src/BtExtendedMessage.h
* src/BtInterestedMessage.cc
* src/BtInterestedMessage.h
* src/BtNotInterestedMessage.cc
* src/BtNotInterestedMessage.h
* src/BtRegistry.cc
* src/BtRegistry.h
* src/BtSeederStateChoke.cc
* src/BtSetup.cc
* src/DHTGetPeersCommand.cc
* src/DHTGetPeersCommand.h
* src/DHTPeerAnnounceEntry.cc
* src/DHTPeerAnnounceEntry.h
* src/DHTPeerAnnounceStorage.cc
* src/DHTPeerAnnounceStorage.h
* src/DHTPeerLookupTask.cc
* src/DHTPeerLookupTask.h
* src/DHTSetup.cc
* src/DHTSetup.h
* src/DHTTaskFactory.h
* src/DHTTaskFactoryImpl.cc
* src/DHTTaskFactoryImpl.h
* src/DefaultBtAnnounce.cc
* src/DefaultBtInteractive.cc
* src/DefaultBtInteractive.h
* src/DefaultBtMessageDispatcher.cc
* src/DefaultBtMessageDispatcher.h
* src/DefaultBtMessageFactory.cc
* src/DefaultBtMessageFactory.h
* src/DefaultBtMessageReceiver.cc
* src/DefaultBtProgressInfoFile.cc
* src/DefaultBtProgressInfoFile.h
* src/DefaultBtRequestFactory.cc
* src/DefaultBtRequestFactory.h
* src/DefaultExtensionMessageFactory.cc
* src/DefaultExtensionMessageFactory.h
* src/DefaultPeerStorage.cc
* src/DefaultPeerStorage.h
* src/DownloadEngine.cc
* src/DownloadEngine.h
* src/InitiatorMSEHandshakeCommand.cc
* src/InitiatorMSEHandshakeCommand.h
* src/MSEHandshake.cc
* src/MSEHandshake.h
* src/Makefile.am
* src/Makefile.in
* src/PeerChokeCommand.cc
* src/PeerChokeCommand.h
* src/PeerInitiateConnectionCommand.cc
* src/PeerInitiateConnectionCommand.h
* src/PeerInteractionCommand.cc
* src/PeerInteractionCommand.h
* src/PeerObject.h
* src/PeerReceiveHandshakeCommand.cc
* src/PeerReceiveHandshakeCommand.h
* src/ReceiverMSEHandshakeCommand.cc
* src/RequestGroup.cc
* src/RequestGroup.h
* src/RequestGroupMan.cc
* src/RequestGroupMan.h
* src/SeedCheckCommand.cc
* src/SeedCheckCommand.h
* src/ShareRatioSeedCriteria.h
* src/SimpleBtMessage.cc
* src/TrackerWatcherCommand.cc
* src/TrackerWatcherCommand.h
* src/UTPexExtensionMessage.cc
* src/UTPexExtensionMessage.h
* test/BtCancelMessageTest.cc
* test/BtChokeMessageTest.cc
* test/BtExtendedMessageTest.cc
* test/BtInterestedMessageTest.cc
* test/BtNotInterestedMessageTest.cc
* test/BtPieceMessageTest.cc
* test/BtPortMessageTest.cc
* test/BtRegistryTest.cc
* test/BtRejectMessageTest.cc
* test/BtRequestMessageTest.cc
* test/DHTPeerAnnounceEntryTest.cc
* test/DHTPeerAnnounceStorageTest.cc
* test/DefaultBtMessageDispatcherTest.cc
* test/DefaultBtMessageFactoryTest.cc
* test/DefaultBtProgressInfoFileTest.cc
* test/DefaultBtRequestFactoryTest.cc
* test/DefaultExtensionMessageFactoryTest.cc
* test/MSEHandshakeTest.cc
* test/MockDHTTaskFactory.h
* test/ShareRatioSeedCriteriaTest.cc
* test/UTPexExtensionMessageTest.cc
2008-11-03 06:49:02 +00:00
Tatsuhiro Tsujikawa
93edc7bd20
2008-10-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Fixed compiler warning.
* test/UtilTest.cc
2008-10-27 14:33:14 +00:00
Tatsuhiro Tsujikawa
915aa676f8
2008-10-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Treat Cookie object as session cookie if expiry = 0 is given.
With this change, you can specify session scoped cookies in an
external file setting expiry value to 0.
* src/Cookie.cc
* src/Cookie.h
* test/CookieParserTest.cc
* test/CookieStorageTest.cc
* test/CookieTest.cc
2008-10-26 14:22:58 +00:00
Tatsuhiro Tsujikawa
8a920ba5e3
2008-10-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Changed signature of DHTMessageFactory::createResponseMessage().
Removed unused validateIDMatch.
* src/DHTMessageFactory.h
* src/DHTMessageFactoryImpl.cc
* src/DHTMessageFactoryImpl.h
* src/DHTMessageTracker.cc
* test/DHTMessageFactoryImplTest.cc
* test/MockDHTMessageFactory.h
Dropped DHT message coming from same ID of localhost.
* src/DHTMessageReceiver.cc
Rejected adding node whose ID is the same as localhost's.
* src/DHTRoutingTable.cc
* test/BtPortMessageTest.cc
* test/DHTRoutingTableTest.cc
2008-10-26 12:36:41 +00:00
Tatsuhiro Tsujikawa
90c6d5072b
2008-10-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Pool connection when redirection occurs with Content-Length = 0.
* src/HttpSkipResponseCommand.cc
* src/HttpSkipResponseCommand.h
2008-10-23 13:51:34 +00:00
Tatsuhiro Tsujikawa
d538c9ae97
2008-10-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Fixed the bug that causes time out when redirection occurs with
content-length 0.
* src/HttpResponseCommand.cc
* src/HttpSkipResponseCommand.cc
* src/HttpSkipResponseCommand.h
2008-10-22 12:20:48 +00:00
Tatsuhiro Tsujikawa
e15d104d88
2008-10-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Now each status legends is shown only when it appears in Download
Result. If Download Result has no item, then status legend will not
be printed.
* src/RequestGroupMan.cc
2008-10-21 16:26:43 +00:00
Tatsuhiro Tsujikawa
450b759cc9
2008-10-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Removed duplicate creation of OptionHandlers.
* src/option_processing.cc
2008-10-21 15:36:08 +00:00
Tatsuhiro Tsujikawa
cdb5796615
2008-10-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Fixed the bug that causes segmentation fault when accessing files which
don't exist or are not included in --select-file option while
validating chunk checksum.
* src/MultiDiskAdaptor.cc
2008-10-21 15:34:56 +00:00
Tatsuhiro Tsujikawa
837585e095
2008-10-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Fixed compiler warning.
* test/UtilTest.cc
2008-10-20 12:33:38 +00:00
Tatsuhiro Tsujikawa
07419749f2
2008-10-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Included cstdlib. This fixed the compile error with g++-4.3.2.
* src/IteratableChecksumValidator.cc
* src/IteratableChunkChecksumValidator.cc
2008-10-20 12:20:40 +00:00
Tatsuhiro Tsujikawa
2d0c618510
2008-10-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
* Release 0.16.2
2008-10-19 15:35:03 +00:00
Tatsuhiro Tsujikawa
9791aeb705
2008-10-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Added Serbian translation. Updated Ukrainian translation.
Thanks to all translators.
* po/sr.po
* po/uk.po
* po/LINGUAS
2008-10-19 15:11:01 +00:00
Tatsuhiro Tsujikawa
4ecdba5979
2008-10-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Bump up version number to 0.16.2
* configure.ac
2008-10-19 15:02:07 +00:00
Tatsuhiro Tsujikawa
c0c80adaa2
2008-10-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Added length equality test to operator== to drop a piece message
whose length does not match to the requested one.
* src/RequestSlot.cc
* test/DefaultBtMessageDispatcherTest.cc
2008-10-19 14:57:58 +00:00
Tatsuhiro Tsujikawa
2040d64fe5
2008-10-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Fixed the bug that aria2 aborts when a request larger than 16KiB
is
recieved.
In this fix, if a request larger than 16KiB length is received,
aria2
disconnects the peer.
* src/BtConstants.h
* src/PeerMessageUtil.cc
* src/PeerMessageUtil.h
* test/BtRequestMessageTest.cc
2008-10-19 14:53:30 +00:00
Tatsuhiro Tsujikawa
ff20aefa51
2008-10-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
* Release 0.16.1
2008-10-14 13:33:41 +00:00
Tatsuhiro Tsujikawa
3f14ad6da3
2008-10-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Replaced '@' with 'at' in AUTHOR and REPORT BUG.
* doc/aria2c.1.txt
2008-10-14 13:16:59 +00:00
Tatsuhiro Tsujikawa
407d02a010
2008-10-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Added Ukrainian, Vietnamese, Traditional Chinese translations.
Updated French, Simplified Chinese and Japanese translations.
Thanks to all translators.
en@quot and en@boldquot are also added.
* po/LINGUAS
* po/fr.po
* po/ja.po
* po/uk.po
* po/vi.po
* po/zh_CN.po
* po/zh_TW.po
2008-10-14 12:53:08 +00:00
Tatsuhiro Tsujikawa
a0559baf8e
2008-10-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Bump up version number to 0.16.1.
* configure.ac
2008-10-13 14:05:54 +00:00
Tatsuhiro Tsujikawa
6b33475cc0
2008-10-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Updated README.
* README
2008-10-13 14:02:03 +00:00
Tatsuhiro Tsujikawa
9352cb37a6
2008-10-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Updated man page. Changed doctype of aria2c.1.html to manpage in
order
not to replace '--' with em dash character.
* doc/aria2c.1.txt
* doc/makeman
2008-10-13 13:59:59 +00:00
Tatsuhiro Tsujikawa
3779b4cf3e
2008-10-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Added --auto-save-interval=SEC option. A control file(*.aria2)
is saved
every SEC seconds.
* src/DownloadEngineFactory.cc
* src/OptionHandlerFactory.cc
* src/option_processing.cc
* src/usage_text.h
2008-10-13 13:07:53 +00:00
Tatsuhiro Tsujikawa
6ef72a14a2
2008-10-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Fixed compile warning on linux-amd64
* src/FtpConnection.cc
* src/IteratableChunkChecksumValidator.cc
* src/MultiDiskAdaptor.cc
Fixed the bug that unit test fails on linux-amd64
* test/UtilTest.cc
2008-10-12 16:09:12 +00:00
Tatsuhiro Tsujikawa
d12e69f0eb
2008-10-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Added --dht-file-path option to change the path to dht.dat,
which is a
serialized DHT routing table.
* src/OptionHandlerFactory.cc
* src/option_processing.cc
* src/usage_text.h
2008-10-10 11:35:32 +00:00
Tatsuhiro Tsujikawa
1311ac1a47
2008-10-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Fixed possible underflow.
* src/BitfieldMan.cc (BitfieldMan::getNthBitIndex)
2008-10-08 16:21:55 +00:00
Tatsuhiro Tsujikawa
1605b39a10
2008-10-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Fixed the bug that last character in URI is not encoded.
* src/Request.cc
* test/RequestTest.cc
2008-10-08 16:06:27 +00:00
Tatsuhiro Tsujikawa
22af8b4b22
2008-10-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Fixed the bug that referer header field contains fragment.
Now Request class removes fragment part of URI and encodes it
in Request::setUri() and setReferer().
* src/Request.h
* src/Request.cc
* test/RequestTest.cc
2008-10-08 15:35:52 +00:00
Tatsuhiro Tsujikawa
a7018cb595
2008-10-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Added missing m4 macros.
* m4/cppunit.m4
* m4/libgcrypt.m4
* m4/libgnutls-extra.m4
* m4/libgnutls.m4
* m4/libxml2.m4
2008-10-08 14:18:01 +00:00
Tatsuhiro Tsujikawa
b598c9f2a3
2008-10-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Fixed compile error with gcc-4.4(snapshot)
* src/File.cc
* src/FtpConnection.cc
* src/OptionHandlerImpl.h
* src/Util.cc
2008-10-07 13:40:12 +00:00
Tatsuhiro Tsujikawa
f40443bba6
2008-10-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Removed assert()
* src/SocketBuffer.cc (SocketBuffer::send)
2008-10-06 15:10:27 +00:00
Tatsuhiro Tsujikawa
1b0ce6e765
2008-10-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Changed the type of _numNewConnection to unsigned int.
* src/ActivePeerConnectionCommand.cc
* src/ActivePeerConnectionCommand.h
2008-10-06 14:01:40 +00:00
Tatsuhiro Tsujikawa
7f288acbe0
2008-10-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
* Release 0.16.0
2008-10-06 13:58:54 +00:00
Tatsuhiro Tsujikawa
6640a3b303
2008-10-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Updated doc
* README
2008-10-06 08:35:52 +00:00
Tatsuhiro Tsujikawa
1950e231cc
2008-10-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
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 08:29:10 +00:00
Tatsuhiro Tsujikawa
529477ccda
2008-10-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Bump up version number to 0.16.0.
* configure.ac
2008-10-06 08:13:42 +00:00
Tatsuhiro Tsujikawa
f4e27634e7
2008-10-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
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-05 16:52:18 +00:00
Tatsuhiro Tsujikawa
bb1ee91509
2008-10-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Added test for Time::elapsed(time_t).
* test/TimeTest.cc
2008-10-05 15:24:17 +00:00
Tatsuhiro Tsujikawa
4305a51dd0
2008-10-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
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 14:03:08 +00:00
Tatsuhiro Tsujikawa
389f770008
2008-10-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
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 13:21:14 +00:00
Tatsuhiro Tsujikawa
04a2bd3818
2008-10-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Changed the type of offset to int.
* src/ParameterizedStringParser.cc
2008-10-05 02:47:09 +00:00
Tatsuhiro Tsujikawa
3da45c763b
2008-10-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Made getAsInt() return int32_t
* src/Option.h
2008-10-04 14:26:35 +00:00
Tatsuhiro Tsujikawa
60b37d3367
2008-10-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Check the availability of winsock2.h and ws2tcpip.h only for
mingw32
build.
* configure.ac
2008-10-04 03:19:22 +00:00
Tatsuhiro Tsujikawa
a00c9ca392
2008-10-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Use sqlite3_open if sqlite3_open_v2 is not available.
* src/Sqlite3MozCookieParser.cc
* src/Sqlite3MozCookieParser.h
* m4/sqlite3.m4
* test/Sqlite3MozCookieParserTest.cc
2008-10-04 03:02:35 +00:00
Tatsuhiro Tsujikawa
9c946467c9
2008-10-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
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 15:16:36 +00:00
Tatsuhiro Tsujikawa
859193c50b
2008-10-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
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 14:48:53 +00:00
Tatsuhiro Tsujikawa
c682371a58
2008-10-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
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
2008-09-30 15:54:50 +00:00
Tatsuhiro Tsujikawa
b513331407
2008-09-30 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
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-30 15:16:37 +00:00
Tatsuhiro Tsujikawa
c1dd780b95
2008-09-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Made a socket of incoming peer non-blocking.
* src/PeerListenCommand.cc
2008-09-28 11:13:20 +00:00