Tatsuhiro Tsujikawa
bf1f56481d
2008-07-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Added a test for libz. Quoted where it is necessary.
* build_test.sh
2008-07-22 16:10:31 +00:00
Tatsuhiro Tsujikawa
3e4b748412
2008-07-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Added GZip to `Enabled Features' list.
* src/FeatureConfig.cc
* src/FeatureConfig.h
* test/FeatureConfigTest.cc
2008-07-22 16:05:02 +00:00
Tatsuhiro Tsujikawa
ec395b6a9c
2008-07-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Now SegmentMan::findSlowerSegmentEntry() picks up the segment
for which
the transfer has not yet started.
Rewritten SegmentMan::registerPeerStat() and
SegmentMan::getPeerStat().
* src/SegmentMan.cc
* src/SegmentMan.h
* test/SegmentManTest.cc
2008-07-20 07:55:10 +00:00
Tatsuhiro Tsujikawa
52979168f3
Added the changes for SpeedCalc class.
2008-07-20 07:45:26 +00:00
Tatsuhiro Tsujikawa
f242a1ec8f
2008-07-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Cache last calculated average download/upload speed.
PeerStat::getAvgDownloadSpeed(), PeerStat::getAvgUploadSpeed()
return
cached value.
Now SpeedCalc::changeSw() is called from
SpeedCalc::calculateSpeed()
* src/PeerStat.h
* src/SpeedCalc.cc
* src/SpeedCalc.h
2008-07-20 07:41:33 +00:00
Tatsuhiro Tsujikawa
4947fa39b3
2008-07-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Call parseUrl directly.
* src/Request.cc (resetUrl)
2008-07-18 15:25:51 +00:00
Tatsuhiro Tsujikawa
5d2651c5ed
2008-07-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Supported absolute/relative path in Location header field.
* src/AbstractCommand.cc: Call resetUrl() when DlRetryEx is
caught.
* src/HttpHeader.cc
* src/HttpHeader.h
* src/HttpResponse.cc
* src/HttpSkipResponseCommand.cc
* src/Request.cc
* test/HttpHeaderTest.cc
* test/HttpResponseTest.cc
* test/RequestTest.cc
2008-07-18 15:20:52 +00:00
Tatsuhiro Tsujikawa
5122ae031d
2008-07-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Changed help text for --load-cookie option.
* doc/aria2c.1.txt
* src/usage_text.h
2008-07-18 15:12:38 +00:00
Tatsuhiro Tsujikawa
750e40a221
2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Regenerated test/Makefile.in to remove stale ChangeLog.
* test/Makefile.in
2008-07-13 12:46:24 +00:00
Tatsuhiro Tsujikawa
0666660f3f
2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Updated po files.
* po/aria2c.pot
* po/*.po
* po/*.gmo
2008-07-13 12:22:03 +00:00
Tatsuhiro Tsujikawa
9074b79635
2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Bump up version number to 0.15.0b
* configure.ac
2008-07-13 12:18:12 +00:00
Tatsuhiro Tsujikawa
05d06e6e0d
2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Externalize messages.
* src/RequestGroupMan.cc
* src/message.h: Added MSG_SIGNATURE_SAVED,
MSG_SIGNATURE_NOT_SAVED.
2008-07-13 12:15:56 +00:00
Tatsuhiro Tsujikawa
6fa11fd3cf
Fixed typo in ChangeLog
2008-07-13 10:39:24 +00:00
Tatsuhiro Tsujikawa
f34a032d2e
2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Use File::exists() instead of File::isFile() to allow
non-regular file
such as block spacial device.
* src/AbstractDiskWriter.cc
* src/MultiDiskWriter.cc
2008-07-13 10:38:30 +00:00
Tatsuhiro Tsujikawa
b5d93cd0da
2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Supplied missing EAI_SYSTEM. Thanks ggknauf for the patch.
* src/gai_strerror.h
2008-07-13 10:35:19 +00:00
Tatsuhiro Tsujikawa
29f1645004
2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Fixed compile error. Thanks gknauf for the patch.
* src/asctime_r.c
2008-07-13 10:33:59 +00:00
Tatsuhiro Tsujikawa
ca51ecfda1
2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Included asctime_r.h from a2time.h.
* src/a2time.h
2008-07-13 10:30:31 +00:00
Tatsuhiro Tsujikawa
efe93b87aa
2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Added a message "aria2 doesn't verify signature" to log message
when
signature file is saved.
* src/RequestGroupMan.cc
2008-07-12 15:30:08 +00:00
Tatsuhiro Tsujikawa
aec1e9e7e1
2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Added the ability to save signature when download is completed
if
signature is available. The filename of signature file is the
path to
download file followed by ".sig". If it already exists, then
signature
will not be saved.
* src/RequestGroupMan.cc
* src/Signature.cc
* test/SignatureTest.cc
2008-07-12 15:09:03 +00:00
Tatsuhiro Tsujikawa
525bdbc4aa
2008-07-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Updated the descriptions for --bt-seed-unverified.
* doc/aria2c.1
* doc/aria2c.1.html
* doc/aria2c.1.txt
2008-07-12 13:55:32 +00:00
Tatsuhiro Tsujikawa
7fc0de4f5b
2008-07-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Renamed --bt-seed option as --bt-seed-unverified so that it
makes clear
that this is not going to verify files using piece hashes.
* src/HelpItemFactory.cc
* src/OptionHandlerFactory.cc
* src/RequestGroup.cc
* src/option_processing.cc
* src/prefs.cc
* src/prefs.h
* src/usage_text.h
2008-07-12 13:54:36 +00:00
Tatsuhiro Tsujikawa
5472c8033e
2008-07-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Added the ability to retrieve signature from Metalink file.
A retrieved signature is stored in Signature class and it is
held by
DownloadContext class. Note that aria2 doesn't verify signature.
* src/DownloadContext.cc
* src/DownloadContext.h
* src/Makefile.am
* src/Makefile.in
* src/Metalink2RequestGroup.cc
* src/MetalinkEntry.cc
* src/MetalinkEntry.h
* src/MetalinkParserController.cc
* src/MetalinkParserController.h
* src/MetalinkParserStateMachine.cc
* src/MetalinkParserStateMachine.h
* src/Signature.cc
* src/Signature.h
* src/SignatureMetalinkParserState.cc
* src/SignatureMetalinkParserState.h
* src/VerificationMetalinkParserState.cc
* src/VerificationMetalinkParserState.h
* test/Metalink2RequestGroupTest.cc
* test/MetalinkParserControllerTest.cc
* test/MetalinkProcessorTest.cc
* test/test.xml
2008-07-12 13:35:35 +00:00
Tatsuhiro Tsujikawa
6796e1c805
2008-07-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Close DiskAdaptor after renaming file.
* src/RequestGroup.cc
2008-07-12 07:54:06 +00:00
Tatsuhiro Tsujikawa
8da16ce38c
2008-07-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Corrected indentation
* src/DefaultBtProgressInfoFile.cc
2008-07-12 07:52:23 +00:00
Tatsuhiro Tsujikawa
c3fbc48d4c
2008-07-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Moved the calls of std::ios::exceptions() inside of try-catch
block
because if an error occurred in constructor of std::fstream,
then
exception is thrown immediately when std::ios::exceptions() is
called
which results unhandled exception and aria2c aborts.
* src/DefaultBtProgressInfoFile.cc
2008-07-12 07:46:33 +00:00
Tatsuhiro Tsujikawa
cefbf6407e
2008-07-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Added the test for the previous change in DefaultBtContext.cc
* test/DefaultBtContextTest.cc
2008-07-12 07:41:15 +00:00
Tatsuhiro Tsujikawa
8929168380
2008-07-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Fixed the bug that causes infinite loop when the number of
pieces are
fewer than allowed fast set size which is 10 by default.
* src/DefaultBtContext.cc
2008-07-12 07:25:10 +00:00
Tatsuhiro Tsujikawa
10f730cfec
2008-07-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Updated the descriptions for -j, -s. Added --bt-seed.
* doc/aria2c.1
* doc/aria2c.1.html
* doc/aria2c.1.txt
2008-07-08 14:23:30 +00:00
Tatsuhiro Tsujikawa
d8d8a4cff1
2008-07-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Added --bt-seed option. If --bt-seed=true is given at the
command-line,
aria2 seeds previously downloaded files without validating
piece hashs.
* src/HelpItemFactory.cc
* src/OptionHandlerFactory.cc
* src/RequestGroup.cc
* src/option_processing.cc
* src/prefs.cc
* src/prefs.h
* src/usage_text.h
2008-07-08 14:18:51 +00:00
Tatsuhiro Tsujikawa
1059b8b951
2008-07-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Updated DESCRIPTION of man page.
* doc/aria2c.1
* doc/aria2c.1.html
* doc/aria2c.1.txt
2008-07-08 12:12:21 +00:00
Tatsuhiro Tsujikawa
c45e044b22
2008-07-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Fixed the compile error on Nexenta OS(GNU/Solaris OS).
Don't define `struct addrinfo' when __sun is defined.
* src/getaddrinfo.h
2008-07-06 11:16:23 +00:00
Tatsuhiro Tsujikawa
cfa808126b
2008-07-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Introduced a2_struct_stat. It is defined as `struct _stati64' if
__MINGW32__ is defined, because under MinGW32, _stati64 is used
and its
second argument is of type `struct _stati64'. Otherwise it is
defined as
`struct stat'.
* src/AbstractDiskWriter.cc
* src/File.cc
* src/File.h
* src/a2io.h
2008-07-06 04:38:54 +00:00
Tatsuhiro Tsujikawa
46f081f1db
2008-07-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Fixed the compile error in hurd-i386
See the original bug report:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=488602
* src/a2io.h
2008-07-05 15:37:02 +00:00
Tatsuhiro Tsujikawa
dbb8cbc88d
2008-07-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Code cleanup.
* src/PeerAbstractCommand.cc
* src/PeerAbstractCommand.h
2008-07-01 13:40:48 +00:00
Tatsuhiro Tsujikawa
888d6ff4dd
2008-07-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Removed TransferEncoding.
* src/DownloadCommand.cc
* src/DownloadCommand.h
* src/HttpResponseCommand.cc
2008-07-01 13:30:38 +00:00
Tatsuhiro Tsujikawa
caeb5da8a2
2008-07-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Updated po files.
* po/aria2c.pot
* po/*.po
* po/*.gmo
2008-07-01 11:41:03 +00:00
Tatsuhiro Tsujikawa
92c66d24ac
2008-07-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Rewritten ChunkedEncoding class as ChunkedDecoder class.
* src/A2STR.cc
* src/A2STR.h
* src/ChunkedDecoder.cc
* src/ChunkedDecoder.h
* src/ChunkedEncoding.cc: Removed
* src/ChunkedEncoding.h: Removed
* src/DownloadCommand.cc
* src/DownloadCommand.h
* src/HttpDownloadCommand.cc
* src/HttpResponse.cc
* src/HttpResponse.h
* src/HttpResponseCommand.cc
* src/HttpSkipResponseCommand.cc
* src/HttpSkipResponseCommand.h
* src/Makefile.am
* src/TransferEncoding.h: Removed
* test/ChunkedDecoderTest.cc
* test/ChunkedEncodingTest.cc: Removed
* test/HttpResponseTest.cc
* test/Makefile.am
2008-07-01 11:38:25 +00:00
Tatsuhiro Tsujikawa
61bb4bc02e
2008-07-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Use append instead of insert.
* src/GZipDecoder.cc
2008-07-01 11:33:06 +00:00
Tatsuhiro Tsujikawa
151624ffcb
2008-07-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Updated doc
* src/Decoder.h
2008-07-01 11:32:08 +00:00
Tatsuhiro Tsujikawa
a0fb5ff151
2008-06-30 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Updated usage text for -s option.
* src/usage_text.h
2008-06-30 12:42:40 +00:00
Tatsuhiro Tsujikawa
f36e1b34c2
2008-06-30 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Fixed the bug that UTF-8 encoded URL is not URL-encoded
properly.
* src/Request.cc
2008-06-29 15:36:38 +00:00
Tatsuhiro Tsujikawa
570837b325
2008-06-30 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Cleaned up configure.ac.
* configure.ac
2008-06-29 15:35:04 +00:00
Tatsuhiro Tsujikawa
dd97f4f0a4
2008-06-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Use ARIA2_ARG_WITH and ARIA2_ARG_ENABLE instead of AC_ARG_WITH
and
AC_ARG_ENABLE.
* configure.ac
2008-06-29 14:35:32 +00:00
Tatsuhiro Tsujikawa
d791807add
2008-06-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Added gzip, deflate decoding support in HTTP using libz. If
compiled
with this feature, aria2 sends "Accept-Encoding: deflate, gzip"
header
to a HTTP server. If a server returns "Content-Encoding: gzip"
or
"Content-Encoding: deflate" then, aria2 decodes the response
body on the
fly and writes decoded data to a local disk.
* README
* README.html
* configure.ac
* m4/aria2_arg.m4: Added ARIA2_ARG_WITH and ARIA2_ARG_ENABLE,
they are
wrapper function for AC_ARG_WITH and AC_ARG_ENABLE respectively.
* m4/libz.m4
* src/Decoder.h
* src/DownloadCommand.cc
* src/DownloadCommand.h
* src/Exception.h
* src/GZipDecoder.cc
* src/GZipDecoder.h
* src/HttpHeader.cc
* src/HttpHeader.h
* src/HttpRequest.cc
* src/HttpRequest.h
* src/HttpResponse.cc
* src/HttpResponse.h
* src/HttpResponseCommand.cc
* src/Makefile.am
* test/GZipDecoderTest.cc
* test/HttpRequestTest.cc
* test/HttpResponseTest.cc
* test/Makefile.am
* test/Makefile.in
* test/gzip_decode_test.gz
2008-06-29 14:29:36 +00:00
Tatsuhiro Tsujikawa
6c4dd16c82
2008-06-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Clarified usage of -j option.
* src/usage_text.h
2008-06-29 13:52:39 +00:00
Tatsuhiro Tsujikawa
dc59e6a2bb
2008-06-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Disabled getting size from the response of RETR.
If SIZE command failed, then disable resuming and segmented
downloading.
* src/FtpConnection.cc
* src/FtpConnection.h
* src/FtpNegotiationCommand.cc
* src/FtpNegotiationCommand.h
2008-06-28 08:54:54 +00:00
Tatsuhiro Tsujikawa
c42c8b7f9c
2008-06-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Use digits to find first byte of file size, which makes the
intention
of the code clearer.
* src/FtpConnection.cc
Don't call validateTotalLength() when size is 0.
* src/FtpNegotiationCommand.cc
2008-06-26 10:54:50 +00:00
Tatsuhiro Tsujikawa
23b6a43585
2008-06-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Updated po files.
* po/aria2c.pot
* po/*.gmo
* po/*.po
2008-06-25 15:09:56 +00:00
Tatsuhiro Tsujikawa
95c9faef79
2008-06-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Clarified usage text for --split option.
* src/usage_text.h
2008-06-25 15:07:30 +00:00
Tatsuhiro Tsujikawa
459f2f16a6
2008-06-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Bump up version number to 0.15.0dev. "dev" means "development"
version, which means I started the development of the next
release!
* src/configure.ac
2008-06-24 14:56:23 +00:00