Commit Graph

1906 Commits (80f832cd19fd496bc1575a8a2550d4b7130c3f6e)

Author SHA1 Message Date
Tatsuhiro Tsujikawa 376e39a1f4 2009-08-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Show exact file size along in -S option output.
	* src/Util.h
	* src/bittorrent_helper.cc
	* test/UtilTest.cc
2009-08-18 14:36:52 +00:00
Tatsuhiro Tsujikawa c1f4af537a 2009-08-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Avoided unnecessary memory allocation in
	BitfieldMan::getCompletedLength().
	* src/BitfieldMan.cc
2009-08-18 14:21:02 +00:00
Tatsuhiro Tsujikawa a4d5134f80 2009-08-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed the bug that download fails if
	SocketCore::establishConnection() throws exception and aria2
	doesn't try another address.
	* src/AbstractCommand.cc
	* src/InitiateConnectionCommand.cc
	* src/message.h
2009-08-18 14:09:56 +00:00
Tatsuhiro Tsujikawa 942990354f 2009-08-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed sqlite3.m4 macro so that sqlite3_open_v2 function is
	detected properly.
	* m4/sqlite3.m4
2009-08-09 06:56:28 +00:00
Tatsuhiro Tsujikawa 611eadf85d 2009-08-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Renamed xmlrpc::elements::PARAMS to xmlrpc::elements::A2_PARAMS
	because it causes compile error if PARAMS macro is defined.
	* src/XmlRpcElements.cc
	* src/XmlRpcElements.h
	* src/XmlRpcRequestParserStateImpl.cc
2009-08-08 16:08:56 +00:00
Tatsuhiro Tsujikawa fec3ef8790 2009-07-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
* Release 1.5.1
2009-07-26 14:17:49 +00:00
Tatsuhiro Tsujikawa d3c0157f6b Updated for 1.5.1 release 2009-07-26 14:03:40 +00:00
Tatsuhiro Tsujikawa bbae39572d 2009-07-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Bump up version number to 1.5.1
	* configure.ac
2009-07-26 13:57:51 +00:00
Tatsuhiro Tsujikawa 4521ea5a79 run make clean before another compilation 2009-07-26 13:47:50 +00:00
Tatsuhiro Tsujikawa 1fe4932201 2009-07-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed compile error without BitTorrent support
	* src/DefaultBtProgressInfoFile.cc
	* src/DownloadEngine.cc
	* src/DownloadEngine.h
2009-07-25 14:07:46 +00:00
Tatsuhiro Tsujikawa 6191e909d2 2009-07-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added missing '=' in Download Results
	* src/RequestGroupMan.cc
2009-07-23 15:17:50 +00:00
Tatsuhiro Tsujikawa a01a3605c7 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed compiler warning
	* src/DefaultBtProgressInfoFile.cc
2009-07-22 13:20:47 +00:00
Tatsuhiro Tsujikawa df8938d51e 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed compiler warning on 32bit systems.
	* src/DownloadCommand.cc
2009-07-22 13:11:58 +00:00
Tatsuhiro Tsujikawa 8d2b9f0aa1 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Rewritten RequestGroupMan::saveServerStat()
	* src/RequestGroupMan.cc
2009-07-22 13:09:50 +00:00
Tatsuhiro Tsujikawa 1c6a0962a1 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Call flush from ServerStatMan::save()
	* src/ServerStatMan.cc
2009-07-22 13:08:53 +00:00
Tatsuhiro Tsujikawa 2e9c39d6ba 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Check stream status after file is opened.
	* src/CookieStorage.cc
2009-07-22 13:01:14 +00:00
Tatsuhiro Tsujikawa f4a533846d 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Rewritten Signature::save()
	* src/Signature.cc
2009-07-22 12:58:49 +00:00
Tatsuhiro Tsujikawa 65906c07fe 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Rewritten stream error handling
	* src/DHTAutoSaveCommand.cc
	* src/DHTRoutingTableDeserializer.cc
	* src/DHTRoutingTableSerializer.cc
	* src/DHTSetup.cc
2009-07-22 12:54:35 +00:00
Tatsuhiro Tsujikawa 0d101d47c9 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Check stream status after file is opened.
	* src/DefaultBtProgressInfoFile.cc
2009-07-22 12:51:51 +00:00
Tatsuhiro Tsujikawa cec451951d 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Rewritten stream error handling
	* src/DefaultBtProgressInfoFile.cc
2009-07-22 12:44:24 +00:00
Tatsuhiro Tsujikawa 0d1d88257c 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Make sure that stream is closed before renaming file. Unit test
	fails on mingw32 in the previous implementation.
	* src/CookieStorage.cc
2009-07-21 15:19:43 +00:00
Tatsuhiro Tsujikawa 1731db1c60 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed the unit test error without sqlite3
	* test/CookieStorageTest.cc
2009-07-21 15:17:15 +00:00
Tatsuhiro Tsujikawa 7d9425adbf 2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed the undefined reference error
	* test/HttpResponseTest.cc
2009-07-21 15:15:03 +00:00
Tatsuhiro Tsujikawa f2fa440baf 2009-07-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
* Release 1.5.0
2009-07-18 09:39:12 +00:00
Tatsuhiro Tsujikawa c9866884c8 Updated for 1.5.0 final 2009-07-18 09:38:42 +00:00
Tatsuhiro Tsujikawa e32a8ab4b1 2009-07-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated Russian, Italian, Danish, Bulgarian, Japanese and
	Ukrainian translations. Thanks to all translators.
	* po/ru.po
	* po/it.po
	* po/da.po
	* po/bg.po
	* po/ja.po
	* po/uk.po
2009-07-18 09:24:11 +00:00
Tatsuhiro Tsujikawa 083d907104 2009-07-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added missing src/Logger.cc
	* src/Logger.cc
2009-07-18 08:32:57 +00:00
Tatsuhiro Tsujikawa 21170e804d 2009-07-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Rewritten Logger to avoiding constly virtual call.
	* src/LogFactory.cc
	* src/LogFactory.h
	* src/Logger.h
	* src/Makefile.am
	* src/Makefile.in
	* src/NullLogger.h: Removed.
	* src/SimpleLogger.cc
	* src/SimpleLogger.h
2009-07-18 08:30:37 +00:00
Tatsuhiro Tsujikawa e6422f82eb 2009-07-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated doc
	* src/main.cc
2009-07-17 10:33:33 +00:00
Tatsuhiro Tsujikawa 85cec59174 2009-07-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated debug log message
	* src/AbstractCommand.cc
	* src/message.h
2009-07-17 10:27:45 +00:00
Tatsuhiro Tsujikawa d7a21d8a5d Updated for new beta release. 2009-07-16 13:09:11 +00:00
Tatsuhiro Tsujikawa 757e758fa1 2009-07-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Avoid to create zombie process when commands specified in
	--on-download-* options are executed. Tested on Linux 2.6, Mac OS
	X and NetBSD.	
	* src/main.cc
2009-07-16 13:07:29 +00:00
Tatsuhiro Tsujikawa 9c62df8038 2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed typo
	* src/usage_text.h
	* doc/aria2c.1.txt
2009-07-15 13:12:21 +00:00
Tatsuhiro Tsujikawa a3193d80f5 2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Documented 'errorCode' of tellStatus in man page.
	* doc/aria2c.1.txt
2009-07-15 12:41:42 +00:00
Tatsuhiro Tsujikawa d17d7631e1 2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added 'errorCode' to the reponse of tellStatus xml-rpc method.
	This key is only available for stopped/completed downloads and its
	value is the error code defined in EXIT STATUS in man page.
	* src/XmlRpcMethodImpl.cc
2009-07-15 12:39:52 +00:00
Tatsuhiro Tsujikawa de23f72818 2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed the bug that session download length is not updated when
	PeerStat is not fastest one.
	* src/SegmentMan.cc
2009-07-15 12:36:58 +00:00
Tatsuhiro Tsujikawa 20930f7a7e 2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated doc.
	* doc/aria2c.1.txt
2009-07-15 11:59:44 +00:00
Tatsuhiro Tsujikawa a4c7c6ae02 2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated doc.
	* src/AbstractCommand.cc
2009-07-15 11:58:27 +00:00
Tatsuhiro Tsujikawa 08fb20d076 2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Handle the case when DownloadContext has no FileEntry.
	* src/XmlRpcMethodImpl.cc
2009-07-15 11:57:20 +00:00
Tatsuhiro Tsujikawa 55a35ad2a2 2009-07-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Handle the situation where struct option.name is char *.
	* configure.ac
	* src/OptionParser.cc
2009-07-14 13:22:26 +00:00
Tatsuhiro Tsujikawa 8eee188999 2009-07-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Code cleanup
	* src/AbstractCommand.cc
	* src/DownloadCommand.cc
2009-07-14 13:11:13 +00:00
Tatsuhiro Tsujikawa 682bafae0a 2009-07-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Use option of each download to create AuthConfig instead of global
	option.	
	* src/AuthConfigFactory.cc
	* src/AuthConfigFactory.h
	* src/FtpNegotiationCommand.cc
	* src/HttpRequest.cc
	* src/HttpRequest.h
	* src/HttpRequestCommand.cc
	* src/HttpSkipResponseCommand.cc
	* src/MultiUrlRequestInfo.cc
	* test/AuthConfigFactoryTest.cc
	* test/FtpConnectionTest.cc
	* test/HttpRequestTest.cc
2009-07-14 12:37:34 +00:00
Tatsuhiro Tsujikawa 894641dfdb 2009-07-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Don't call prepareForRetry(1) if all segments are ignored in
	SegmentMan.
	* src/AbstractCommand.cc
	* src/BitfieldMan.cc
	* src/BitfieldMan.h
	* src/SegmentMan.cc
	* src/SegmentMan.h
2009-07-13 15:02:32 +00:00
Tatsuhiro Tsujikawa 19913203b7 2009-07-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed FileEntry::getAssociatedUris()
	* src/FileEntry.h
2009-07-11 16:00:50 +00:00
Tatsuhiro Tsujikawa 8661bc049a 2009-07-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated doc: TODO1.5 -> TODO
	* src/FileEntry.cc
	* src/HttpResponseCommand.cc
2009-07-11 15:57:06 +00:00
Tatsuhiro Tsujikawa eafa19748e 2009-07-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added assertion fileEntries.size() == 1 if BitTorrent is not
	involved.
	* src/RequestGroup.cc
2009-07-11 15:50:21 +00:00
Tatsuhiro Tsujikawa 67a23f615a 2009-07-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Eliminated duplicated filterBitfield initialization code.
	* src/BitfieldMan.cc
	* src/BitfieldMan.h
2009-07-11 10:34:08 +00:00
Tatsuhiro Tsujikawa b29fbb9af5 2009-07-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added assert(!req.isNull()) when DlRetryEx is caught(this is
	relatively naive approach, though).  For DownloadFailureException,
	we handle the case when req is null properly.
	* src/AbstractCommand.cc
2009-07-11 10:25:45 +00:00
Tatsuhiro Tsujikawa d99ec1534f 2009-07-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added function returning suffix of control file to
	DefaultBtProgressInfoFile.
	* src/DefaultBtProgressInfoFile.cc
	* src/DefaultBtProgressInfoFile.h
	* src/RequestGroup.cc
2009-07-11 10:19:10 +00:00
Tatsuhiro Tsujikawa c0c12cdd81 2009-07-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Documented getVersion in man page.
	* doc/aria2c.1.txt
2009-07-10 16:10:26 +00:00