Skip to content

Commit a3184e7

Browse files
committed
aria2 1.20.0 release
1 parent a100d37 commit a3184e7

32 files changed

+388
-119
lines changed

atom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title><![CDATA[aria2]]></title>
55
<link href="https://aria2.github.io/atom.xml" rel="self"/>
66
<link href="https://aria2.github.io/"/>
7-
<updated>2015-12-27T17:19:03+09:00</updated>
7+
<updated>2016-02-16T01:13:39+09:00</updated>
88
<id>https://aria2.github.io/</id>
99
<author>
1010
<name><![CDATA[Tatsuhiro Tsujikawa]]></name>

blog/archives/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ <h1>Translation</h1>
106106
</div>
107107
</div>
108108
<footer role="contentinfo"><p>
109-
Copyright &copy; 2015 - Tatsuhiro Tsujikawa -
109+
Copyright &copy; 2016 - Tatsuhiro Tsujikawa -
110110
<span class="credit">Powered by <a href="http://octopress.org">Octopress</a></span>
111111
</p>
112112

index-ja.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ <h2>The next generation download utility.</h2>
7777

7878
<h2>ダウンロード</h2>
7979

80-
<p><a href="https://github.com/tatsuhiro-t/aria2/releases/tag/release-1.19.3">version 1.19.3</a> をダウンロードしよう.
80+
<p><a href="https://github.com/tatsuhiro-t/aria2/releases/tag/release-1.20.0">version 1.20.0</a> をダウンロードしよう.
8181
ソースコード, OS X バイナリ, Windows バイナリおよび Android バイナリがダウンロードできる.</p>
8282

8383
<p>1.19.0 以前のリリースは<a href="http://sourceforge.net/projects/aria2/files/stable/">ここ</a>.</p>
@@ -205,7 +205,7 @@ <h1>Translation</h1>
205205
</div>
206206
</div>
207207
<footer role="contentinfo"><p>
208-
Copyright &copy; 2015 - Tatsuhiro Tsujikawa -
208+
Copyright &copy; 2016 - Tatsuhiro Tsujikawa -
209209
<span class="credit">Powered by <a href="http://octopress.org">Octopress</a></span>
210210
</p>
211211

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ <h2>The next generation download utility.</h2>
7979

8080
<h2>Download</h2>
8181

82-
<p>Download <a href="https://github.com/tatsuhiro-t/aria2/releases/tag/release-1.19.3">version 1.19.3</a>.
82+
<p>Download <a href="https://github.com/tatsuhiro-t/aria2/releases/tag/release-1.20.0">version 1.20.0</a>.
8383
There you can download source distribution and binaries for OS X, Windows and Android.</p>
8484

8585
<p>The legacy releases earlier than 1.19.1 are available
@@ -218,7 +218,7 @@ <h1>Translation</h1>
218218
</div>
219219
</div>
220220
<footer role="contentinfo"><p>
221-
Copyright &copy; 2015 - Tatsuhiro Tsujikawa -
221+
Copyright &copy; 2016 - Tatsuhiro Tsujikawa -
222222
<span class="credit">Powered by <a href="http://octopress.org">Octopress</a></span>
223223
</p>
224224

manual/en/html/README.html

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<meta name="viewport" content="width=device-width, initial-scale=1.0">
1010

11-
<title>aria2 - The ultra fast download utility &mdash; aria2 1.19.3 documentation</title>
11+
<title>aria2 - The ultra fast download utility &mdash; aria2 1.20.0 documentation</title>
1212

1313

1414

@@ -30,7 +30,7 @@
3030

3131

3232

33-
<link rel="top" title="aria2 1.19.3 documentation" href="index.html"/>
33+
<link rel="top" title="aria2 1.20.0 documentation" href="index.html"/>
3434
<link rel="next" title="libaria2: C++ library interface to aria2" href="libaria2.html"/>
3535
<link rel="prev" title="aria2c(1)" href="aria2c.html"/>
3636

@@ -60,7 +60,7 @@
6060

6161

6262
<div class="version">
63-
1.19.3
63+
1.20.0
6464
</div>
6565

6666

@@ -87,6 +87,7 @@
8787
<li class="toctree-l2"><a class="reference internal" href="#disclaimer">Disclaimer</a></li>
8888
<li class="toctree-l2"><a class="reference internal" href="#introduction">Introduction</a></li>
8989
<li class="toctree-l2"><a class="reference internal" href="#features">Features</a></li>
90+
<li class="toctree-l2"><a class="reference internal" href="#versioning-and-release-schedule">Versioning and release schedule</a></li>
9091
<li class="toctree-l2"><a class="reference internal" href="#how-to-get-source-code">How to get source code</a></li>
9192
<li class="toctree-l2"><a class="reference internal" href="#dependency">Dependency</a></li>
9293
<li class="toctree-l2"><a class="reference internal" href="#how-to-build">How to build</a></li>
@@ -236,6 +237,18 @@ <h2>Features<a class="headerlink" href="#features" title="Permalink to this head
236237
<li>Disk cache to reduce disk activity</li>
237238
</ul>
238239
</div>
240+
<div class="section" id="versioning-and-release-schedule">
241+
<h2>Versioning and release schedule<a class="headerlink" href="#versioning-and-release-schedule" title="Permalink to this headline"></a></h2>
242+
<p>We use 3 numbers for aria2 version: MAJOR.MINOR.PATCH. We will ship
243+
MINOR update on 15th of every month. We may skip a release if we have
244+
no changes since the last release. The feature and documentation
245+
freeze happens 10 days before the release day (5th day of the month)
246+
for translation teams. We will raise an issue about the upcoming
247+
release around that day.</p>
248+
<p>We may release PATCH releases between regular releases if we have
249+
security issues.</p>
250+
<p>MAJOR version will stay at 1 for the time being.</p>
251+
</div>
239252
<div class="section" id="how-to-get-source-code">
240253
<h2>How to get source code<a class="headerlink" href="#how-to-get-source-code" title="Permalink to this headline"></a></h2>
241254
<p>We maintain the source code at Github:
@@ -752,7 +765,7 @@ <h2>References<a class="headerlink" href="#references" title="Permalink to this
752765
<script type="text/javascript">
753766
var DOCUMENTATION_OPTIONS = {
754767
URL_ROOT:'./',
755-
VERSION:'1.19.3',
768+
VERSION:'1.20.0',
756769
COLLAPSE_INDEX:false,
757770
FILE_SUFFIX:'.html',
758771
HAS_SOURCE: true

manual/en/html/_sources/aria2c.txt

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Basic Options
4343
When ``FILE`` is specified as ``-``, aria2 will read the input from ``stdin``.
4444
See the `Input File`_ subsection for details.
4545
See also the :option:`--deferred-input` option.
46-
See also the :option:`--save-session-file` option.
46+
See also the :option:`--save-session` option.
4747

4848
.. option:: -l, --log=<LOG>
4949

@@ -1375,6 +1375,16 @@ Advanced Options
13751375
downloads. Specifying 0 means no download result is kept. Default:
13761376
``1000``
13771377

1378+
.. option:: --max-mmap-limit=<SIZE>
1379+
1380+
Set the maximum file size to enable mmap (see
1381+
:option:`--enable-mmap` option). The file size is determined by the
1382+
sum of all files contained in one download. For example, if a
1383+
download contains 5 files, then file size is the total size of those
1384+
files. If file size is strictly greater than the size specified in
1385+
this option, mmap will be disabled.
1386+
Default: ``9223372036854775807``
1387+
13781388
.. option:: --max-resume-failure-tries=<N>
13791389

13801390
When used with :option:`--always-resume=false, <--always-resume>` aria2 downloads file from
@@ -2040,6 +2050,7 @@ of URIs. These optional lines must start with white space(s).
20402050
* :option:`max-connection-per-server <-x>`
20412051
* :option:`max-download-limit <--max-download-limit>`
20422052
* :option:`max-file-not-found <--max-file-not-found>`
2053+
* :option:`max-mmap-limit <--max-mmap-limit>`
20432054
* :option:`max-resume-failure-tries <--max-resume-failure-tries>`
20442055
* :option:`max-tries <-m>`
20452056
* :option:`max-upload-limit <-u>`
@@ -2507,6 +2518,10 @@ For information on the *secret* parameter, see :ref:`rpc_auth`.
25072518
``numSeeders``
25082519
The number of seeders aria2 has connected to. BitTorrent only.
25092520

2521+
``seeder``
2522+
``true`` if the local endpoint is a seeder. Otherwise ``false``.
2523+
BitTorrent only.
2524+
25102525
``pieceLength``
25112526
Piece length in bytes.
25122527

@@ -2801,7 +2816,7 @@ For information on the *secret* parameter, see :ref:`rpc_auth`.
28012816
Upload speed(byte/sec) that this client uploads to the peer.
28022817

28032818
``seeder``
2804-
``true`` is this peer is a seeder. Otherwise ``false``.
2819+
``true`` if this peer is a seeder. Otherwise ``false``.
28052820

28062821
**JSON-RPC Example**
28072822
::

manual/en/html/_static/searchtools.js

Lines changed: 37 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
*/
1111

1212

13+
/* Non-minified version JS is _stemmer.js if file is provided */
1314
/**
1415
* Porter Stemmer
1516
*/
@@ -373,8 +374,7 @@ var Search = {
373374
}
374375

375376
// lookup as search terms in fulltext
376-
results = results.concat(this.performTermsSearch(searchterms, excluded, terms, Scorer.term))
377-
.concat(this.performTermsSearch(searchterms, excluded, titleterms, Scorer.title));
377+
results = results.concat(this.performTermsSearch(searchterms, excluded, terms, titleterms));
378378

379379
// let the scorer override scores with a custom scoring function
380380
if (Scorer.score) {
@@ -538,23 +538,47 @@ var Search = {
538538
/**
539539
* search for full-text terms in the index
540540
*/
541-
performTermsSearch : function(searchterms, excluded, terms, score) {
541+
performTermsSearch : function(searchterms, excluded, terms, titleterms) {
542542
var filenames = this._index.filenames;
543543
var titles = this._index.titles;
544544

545-
var i, j, file, files;
545+
var i, j, file;
546546
var fileMap = {};
547+
var scoreMap = {};
547548
var results = [];
548549

549550
// perform the search on the required terms
550551
for (i = 0; i < searchterms.length; i++) {
551552
var word = searchterms[i];
553+
var files = [];
554+
var _o = [
555+
{files: terms[word], score: Scorer.term},
556+
{files: titleterms[word], score: Scorer.title}
557+
];
558+
552559
// no match but word was a required one
553-
if ((files = terms[word]) === undefined)
560+
if ($u.every(_o, function(o){return o.files === undefined;})) {
554561
break;
555-
if (files.length === undefined) {
556-
files = [files];
557562
}
563+
// found search word in contents
564+
$u.each(_o, function(o) {
565+
var _files = o.files;
566+
if (_files === undefined)
567+
return
568+
569+
if (_files.length === undefined)
570+
_files = [_files];
571+
files = files.concat(_files);
572+
573+
// set score for the word in each file to Scorer.term
574+
for (j = 0; j < _files.length; j++) {
575+
file = _files[j];
576+
if (!(file in scoreMap))
577+
scoreMap[file] = {}
578+
scoreMap[file][word] = o.score;
579+
}
580+
});
581+
558582
// create the mapping
559583
for (j = 0; j < files.length; j++) {
560584
file = files[j];
@@ -576,14 +600,19 @@ var Search = {
576600
// ensure that none of the excluded terms is in the search result
577601
for (i = 0; i < excluded.length; i++) {
578602
if (terms[excluded[i]] == file ||
579-
$u.contains(terms[excluded[i]] || [], file)) {
603+
titleterms[excluded[i]] == file ||
604+
$u.contains(terms[excluded[i]] || [], file) ||
605+
$u.contains(titleterms[excluded[i]] || [], file)) {
580606
valid = false;
581607
break;
582608
}
583609
}
584610

585611
// if we have still a valid result we can add it to the result list
586612
if (valid) {
613+
// select one (max) score for the file.
614+
// for better ranking, we should calculate ranking by using words statistics like basic tf-idf...
615+
var score = $u.max($u.map(fileMap[file], function(w){return scoreMap[file][w]}));
587616
results.push([filenames[file], titles[file], '', null, score]);
588617
}
589618
}

manual/en/html/aria2c.html

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<meta name="viewport" content="width=device-width, initial-scale=1.0">
1010

11-
<title>aria2c(1) &mdash; aria2 1.19.3 documentation</title>
11+
<title>aria2c(1) &mdash; aria2 1.20.0 documentation</title>
1212

1313

1414

@@ -30,7 +30,7 @@
3030

3131

3232

33-
<link rel="top" title="aria2 1.19.3 documentation" href="index.html"/>
33+
<link rel="top" title="aria2 1.20.0 documentation" href="index.html"/>
3434
<link rel="next" title="aria2 - The ultra fast download utility" href="README.html"/>
3535
<link rel="prev" title="Aria2 Manual" href="index.html"/>
3636

@@ -60,7 +60,7 @@
6060

6161

6262
<div class="version">
63-
1.19.3
63+
1.20.0
6464
</div>
6565

6666

@@ -295,7 +295,7 @@ <h3>Basic Options<a class="headerlink" href="#basic-options" title="Permalink to
295295
When <code class="docutils literal"><span class="pre">FILE</span></code> is specified as <code class="docutils literal"><span class="pre">-</span></code>, aria2 will read the input from <code class="docutils literal"><span class="pre">stdin</span></code>.
296296
See the <a class="reference internal" href="#id2">Input File</a> subsection for details.
297297
See also the <a class="reference internal" href="#cmdoption--deferred-input"><code class="xref std std-option docutils literal"><span class="pre">--deferred-input</span></code></a> option.
298-
See also the <code class="xref std std-option docutils literal"><span class="pre">--save-session-file</span></code> option.</p>
298+
See also the <a class="reference internal" href="#cmdoption--save-session"><code class="xref std std-option docutils literal"><span class="pre">--save-session</span></code></a> option.</p>
299299
</dd></dl>
300300

301301
<dl class="option">
@@ -1936,6 +1936,18 @@ <h3>Advanced Options<a class="headerlink" href="#advanced-options" title="Permal
19361936
<code class="docutils literal"><span class="pre">1000</span></code></p>
19371937
</dd></dl>
19381938

1939+
<dl class="option">
1940+
<dt id="cmdoption--max-mmap-limit">
1941+
<code class="descname">--max-mmap-limit</code><code class="descclassname">=&lt;SIZE&gt;</code><a class="headerlink" href="#cmdoption--max-mmap-limit" title="Permalink to this definition"></a></dt>
1942+
<dd><p>Set the maximum file size to enable mmap (see
1943+
<a class="reference internal" href="#cmdoption--enable-mmap"><code class="xref std std-option docutils literal"><span class="pre">--enable-mmap</span></code></a> option). The file size is determined by the
1944+
sum of all files contained in one download. For example, if a
1945+
download contains 5 files, then file size is the total size of those
1946+
files. If file size is strictly greater than the size specified in
1947+
this option, mmap will be disabled.
1948+
Default: <code class="docutils literal"><span class="pre">9223372036854775807</span></code></p>
1949+
</dd></dl>
1950+
19391951
<dl class="option">
19401952
<dt id="cmdoption--max-resume-failure-tries">
19411953
<code class="descname">--max-resume-failure-tries</code><code class="descclassname">=&lt;N&gt;</code><a class="headerlink" href="#cmdoption--max-resume-failure-tries" title="Permalink to this definition"></a></dt>
@@ -2596,10 +2608,11 @@ <h3>Control File<a class="headerlink" href="#control-file" title="Permalink to t
25962608
<li><a class="reference internal" href="#cmdoption-x"><code class="xref std std-option docutils literal"><span class="pre">max-connection-per-server</span></code></a></li>
25972609
<li><a class="reference internal" href="#cmdoption--max-download-limit"><code class="xref std std-option docutils literal"><span class="pre">max-download-limit</span></code></a></li>
25982610
<li><a class="reference internal" href="#cmdoption--max-file-not-found"><code class="xref std std-option docutils literal"><span class="pre">max-file-not-found</span></code></a></li>
2611+
<li><a class="reference internal" href="#cmdoption--max-mmap-limit"><code class="xref std std-option docutils literal"><span class="pre">max-mmap-limit</span></code></a></li>
25992612
<li><a class="reference internal" href="#cmdoption--max-resume-failure-tries"><code class="xref std std-option docutils literal"><span class="pre">max-resume-failure-tries</span></code></a></li>
2600-
<li><a class="reference internal" href="#cmdoption-m"><code class="xref std std-option docutils literal"><span class="pre">max-tries</span></code></a></li>
26012613
</ul>
26022614
</td><td><ul class="simple">
2615+
<li><a class="reference internal" href="#cmdoption-m"><code class="xref std std-option docutils literal"><span class="pre">max-tries</span></code></a></li>
26032616
<li><a class="reference internal" href="#cmdoption-u"><code class="xref std std-option docutils literal"><span class="pre">max-upload-limit</span></code></a></li>
26042617
<li><a class="reference internal" href="#cmdoption--metalink-base-uri"><code class="xref std std-option docutils literal"><span class="pre">metalink-base-uri</span></code></a></li>
26052618
<li><a class="reference internal" href="#cmdoption--metalink-enable-unique-protocol"><code class="xref std std-option docutils literal"><span class="pre">metalink-enable-unique-protocol</span></code></a></li>
@@ -3033,6 +3046,9 @@ <h3>Methods<a class="headerlink" href="#methods" title="Permalink to this headli
30333046
<dd>InfoHash. BitTorrent only.</dd>
30343047
<dt><code class="docutils literal"><span class="pre">numSeeders</span></code></dt>
30353048
<dd>The number of seeders aria2 has connected to. BitTorrent only.</dd>
3049+
<dt><code class="docutils literal"><span class="pre">seeder</span></code></dt>
3050+
<dd><code class="docutils literal"><span class="pre">true</span></code> if the local endpoint is a seeder. Otherwise <code class="docutils literal"><span class="pre">false</span></code>.
3051+
BitTorrent only.</dd>
30363052
<dt><code class="docutils literal"><span class="pre">pieceLength</span></code></dt>
30373053
<dd>Piece length in bytes.</dd>
30383054
<dt><code class="docutils literal"><span class="pre">numPieces</span></code></dt>
@@ -3307,7 +3323,7 @@ <h3>Methods<a class="headerlink" href="#methods" title="Permalink to this headli
33073323
<dt><code class="docutils literal"><span class="pre">uploadSpeed</span></code></dt>
33083324
<dd>Upload speed(byte/sec) that this client uploads to the peer.</dd>
33093325
<dt><code class="docutils literal"><span class="pre">seeder</span></code></dt>
3310-
<dd><code class="docutils literal"><span class="pre">true</span></code> is this peer is a seeder. Otherwise <code class="docutils literal"><span class="pre">false</span></code>.</dd>
3326+
<dd><code class="docutils literal"><span class="pre">true</span></code> if this peer is a seeder. Otherwise <code class="docutils literal"><span class="pre">false</span></code>.</dd>
33113327
</dl>
33123328
<p><strong>JSON-RPC Example</strong></p>
33133329
<div class="highlight-python"><div class="highlight"><pre><span class="gp">&gt;&gt;&gt; </span><span class="kn">import</span> <span class="nn">urllib2</span><span class="o">,</span> <span class="nn">json</span>
@@ -4713,7 +4729,7 @@ <h2>COPYRIGHT<a class="headerlink" href="#copyright" title="Permalink to this he
47134729
<script type="text/javascript">
47144730
var DOCUMENTATION_OPTIONS = {
47154731
URL_ROOT:'./',
4716-
VERSION:'1.19.3',
4732+
VERSION:'1.20.0',
47174733
COLLAPSE_INDEX:false,
47184734
FILE_SUFFIX:'.html',
47194735
HAS_SOURCE: true

0 commit comments

Comments
 (0)