forked from aria2/aria2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2007-01-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
* src/Xml2MetalinkProcessor.h (xpathExists): New function. * src/Xml2MetalinkProcessor.cc (xpathExists): New function. Not to send HEAD request if filename and size are available in Metalink file: * src/UrlRequestInfo.h (filename): New variable. (totalLength): New variable. (setTotalLength): New function. (setFilename): New function. * src/MetalinkRequestInfo.cc (execute): Set filename and size to UrlRequestInfo. * src/MetalinkEntry.cc (MetalinkEntry): Initialize size with 0. * src/UrlRequestInfo.cc (execute): Set filename and size to SegmentMan. Not to download rest of the files after selected files are downloaded in BitTorrent: * src/PieceStorage.h (allDownloadFinished): New function. * src/DefaultBtAnnounce.cc (isCompleteAnnounceReady): Use allDownloadFinished instead of downloadFinished. (getAnnounceUrl): Use allDownloadFinished instead of downloadFinished. * src/DefaultPieceStorage.cc (completePiece): Use allDownloadFinished instead of downloadFinished. Commented out the call to finishSelectiveDownloadingMode(). (downloadFinished): Call isFilteredAllBitSet() instead of isAllBitSet(). (allDownloadFinished): New function. * src/DefaultBtInteractive.cc (addBitfieldMessageToQueue): Call allDownloadFinished() instead of downloadFinished(). (checkHave): Call allDownloadFinished() instead of downloadFinished(). * src/TorrentDownloadEngine.cc (onEndOfRun): Call allDownloadFinished() instead of downloadFinished(). * src/BitfieldMan.h (isFilteredAllBitSet): New function. * src/ShareRatioSeedCriteria.h (PieceStorage.h): New include. (pieceStorage): New variable. (evaluate): btContext->getTotalLength() -> pieceStorage->getCompletedLength() * src/BitfieldMan.cc (isFilteredAllBitSet): New function. (isAllBitSet): Filter is not took into account. Rename --force-truncate as --allow-overwrite: * src/TorrentRequestInfo.cc (execute): PREF_FORCE_TRUNCATE -> PREF_ALLOW_OVERWRITE * src/main.cc (showUsage): --force-truncate -> --allow-overwrite * src/message.h (EX_FILE_ALREADY_EXISTS): --force-truncate -> --allow-overwrite * src/prefs.h (PREF_FORCE_TRUNCATE): Removed. (PREF_ALLOW_OVERWRITE): New definition. * src/SegmentMan.cc (shouldCancelDownloadForSafety): --force-truncate -> --allow-overwrite * src/MetalinkRequestInfo.cc (execute): Queueing message are now logged in info level. * src/common.h (LONG_LONG_MAX): Removed. (LONG_LONG_MIN): Removed. * src/HttpResponseCommand.cc (handleDefaultEncoding): LONG_LONG_MAX -> INT64_MAX * src/FtpNegotiateCommand.cc (recvSize): LONG_LONG_MAX -> INT64_MAX * src/main.cc (showUsage): Added --check-integiry and --realtime-chunk-checksum command-line option. (main): Added --check-integiry and --realtime-chunk-checksum command-line option. --force-truncate -> --allow-overwrite Set initial value of --check-integrity option to false. Don't show usage when error occurs while persing command-line options. Removed deprecated --upload-limit option.
- Loading branch information
1 parent
cd9e35b
commit cd91e2e
Showing
81 changed files
with
1,126 additions
and
763 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
#! /bin/sh | ||
# Guess values for system-dependent variables and create Makefiles. | ||
# Generated by GNU Autoconf 2.61 for aria2c 0.9.0. | ||
# Generated by GNU Autoconf 2.61 for aria2c 0.10.0. | ||
# | ||
# Report bugs to <tujikawa@rednoah.com>. | ||
# Report bugs to <t-tujikawa@users.sourceforge.net>. | ||
# | ||
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | ||
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | ||
|
@@ -574,9 +574,9 @@ SHELL=${CONFIG_SHELL-/bin/sh} | |
# Identity of this package. | ||
PACKAGE_NAME='aria2c' | ||
PACKAGE_TARNAME='aria2c' | ||
PACKAGE_VERSION='0.9.0' | ||
PACKAGE_STRING='aria2c 0.9.0' | ||
PACKAGE_BUGREPORT='tujikawa@rednoah.com' | ||
PACKAGE_VERSION='0.10.0' | ||
PACKAGE_STRING='aria2c 0.10.0' | ||
PACKAGE_BUGREPORT='t-tujikawa@users.sourceforge.net' | ||
|
||
ac_unique_file="src/Socket.h" | ||
# Factoring default headers for most tests. | ||
|
@@ -1275,7 +1275,7 @@ if test "$ac_init_help" = "long"; then | |
# Omit some internal or obsolete options to make the list less imposing. | ||
# This message is too long to be a string in the A/UX 3.1 sh. | ||
cat <<_ACEOF | ||
\`configure' configures aria2c 0.9.0 to adapt to many kinds of systems. | ||
\`configure' configures aria2c 0.10.0 to adapt to many kinds of systems. | ||
Usage: $0 [OPTION]... [VAR=VALUE]... | ||
|
@@ -1345,7 +1345,7 @@ fi | |
|
||
if test -n "$ac_init_help"; then | ||
case $ac_init_help in | ||
short | recursive ) echo "Configuration of aria2c 0.9.0:";; | ||
short | recursive ) echo "Configuration of aria2c 0.10.0:";; | ||
esac | ||
cat <<\_ACEOF | ||
|
@@ -1405,7 +1405,7 @@ Some influential environment variables: | |
Use these variables to override the choices made by `configure' or to help | ||
it to find libraries and programs with nonstandard names/locations. | ||
Report bugs to <tujikawa@rednoah.com>. | ||
Report bugs to <t-tujikawa@users.sourceforge.net>. | ||
_ACEOF | ||
ac_status=$? | ||
fi | ||
|
@@ -1466,7 +1466,7 @@ fi | |
test -n "$ac_init_help" && exit $ac_status | ||
if $ac_init_version; then | ||
cat <<\_ACEOF | ||
aria2c configure 0.9.0 | ||
aria2c configure 0.10.0 | ||
generated by GNU Autoconf 2.61 | ||
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | ||
|
@@ -1480,7 +1480,7 @@ cat >config.log <<_ACEOF | |
This file contains any messages produced by compilers while | ||
running configure, to aid debugging if configure makes a mistake. | ||
It was created by aria2c $as_me 0.9.0, which was | ||
It was created by aria2c $as_me 0.10.0, which was | ||
generated by GNU Autoconf 2.61. Invocation command line was | ||
$ $0 $@ | ||
|
@@ -2150,7 +2150,7 @@ fi | |
|
||
# Define the identity of the package. | ||
PACKAGE='aria2c' | ||
VERSION='0.9.0' | ||
VERSION='0.10.0' | ||
|
||
|
||
cat >>confdefs.h <<_ACEOF | ||
|
@@ -6663,9 +6663,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
( cat <<\_ASBOX | ||
## ----------------------------------- ## | ||
## Report this to tujikawa@rednoah.com ## | ||
## ----------------------------------- ## | ||
## ----------------------------------------------- ## | ||
## Report this to t-tujikawa@users.sourceforge.net ## | ||
## ----------------------------------------------- ## | ||
_ASBOX | ||
) | sed "s/^/$as_me: WARNING: /" >&2 | ||
;; | ||
|
@@ -7941,9 +7941,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
( cat <<\_ASBOX | ||
## ----------------------------------- ## | ||
## Report this to tujikawa@rednoah.com ## | ||
## ----------------------------------- ## | ||
## ----------------------------------------------- ## | ||
## Report this to t-tujikawa@users.sourceforge.net ## | ||
## ----------------------------------------------- ## | ||
_ASBOX | ||
) | sed "s/^/$as_me: WARNING: /" >&2 | ||
;; | ||
|
@@ -9397,9 +9397,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
( cat <<\_ASBOX | ||
## ----------------------------------- ## | ||
## Report this to tujikawa@rednoah.com ## | ||
## ----------------------------------- ## | ||
## ----------------------------------------------- ## | ||
## Report this to t-tujikawa@users.sourceforge.net ## | ||
## ----------------------------------------------- ## | ||
_ASBOX | ||
) | sed "s/^/$as_me: WARNING: /" >&2 | ||
;; | ||
|
@@ -10909,9 +10909,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
( cat <<\_ASBOX | ||
## ----------------------------------- ## | ||
## Report this to tujikawa@rednoah.com ## | ||
## ----------------------------------- ## | ||
## ----------------------------------------------- ## | ||
## Report this to t-tujikawa@users.sourceforge.net ## | ||
## ----------------------------------------------- ## | ||
_ASBOX | ||
) | sed "s/^/$as_me: WARNING: /" >&2 | ||
;; | ||
|
@@ -11235,9 +11235,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
( cat <<\_ASBOX | ||
## ----------------------------------- ## | ||
## Report this to tujikawa@rednoah.com ## | ||
## ----------------------------------- ## | ||
## ----------------------------------------------- ## | ||
## Report this to t-tujikawa@users.sourceforge.net ## | ||
## ----------------------------------------------- ## | ||
_ASBOX | ||
) | sed "s/^/$as_me: WARNING: /" >&2 | ||
;; | ||
|
@@ -11660,9 +11660,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
( cat <<\_ASBOX | ||
## ----------------------------------- ## | ||
## Report this to tujikawa@rednoah.com ## | ||
## ----------------------------------- ## | ||
## ----------------------------------------------- ## | ||
## Report this to t-tujikawa@users.sourceforge.net ## | ||
## ----------------------------------------------- ## | ||
_ASBOX | ||
) | sed "s/^/$as_me: WARNING: /" >&2 | ||
;; | ||
|
@@ -11896,9 +11896,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
( cat <<\_ASBOX | ||
## ----------------------------------- ## | ||
## Report this to tujikawa@rednoah.com ## | ||
## ----------------------------------- ## | ||
## ----------------------------------------------- ## | ||
## Report this to t-tujikawa@users.sourceforge.net ## | ||
## ----------------------------------------------- ## | ||
_ASBOX | ||
) | sed "s/^/$as_me: WARNING: /" >&2 | ||
;; | ||
|
@@ -12941,7 +12941,7 @@ exec 6>&1 | |
# report actual input values of CONFIG_FILES etc. instead of their | ||
# values after options handling. | ||
ac_log=" | ||
This file was extended by aria2c $as_me 0.9.0, which was | ||
This file was extended by aria2c $as_me 0.10.0, which was | ||
generated by GNU Autoconf 2.61. Invocation command line was | ||
CONFIG_FILES = $CONFIG_FILES | ||
|
@@ -12994,7 +12994,7 @@ Report bugs to <[email protected]>." | |
_ACEOF | ||
cat >>$CONFIG_STATUS <<_ACEOF | ||
ac_cs_version="\\ | ||
aria2c config.status 0.9.0 | ||
aria2c config.status 0.10.0 | ||
configured by $0, generated by GNU Autoconf 2.61, | ||
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.