Skip to content

Commit 3cdb6a0

Browse files
committed
Remove GNU Readline in favor of libedit
php/doc-en@b9582e1
1 parent d4c7de8 commit 3cdb6a0

File tree

4 files changed

+68
-28
lines changed

4 files changed

+68
-28
lines changed

reference/readline/book.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 462ad78d00fa08794ac8aeed9e79f8ab3d4ca371 Maintainer: takagi Status: ready -->
3+
<!-- EN-Revision: b9582e11e41e0d06e1bd4a499ce6db383692759b Maintainer: takagi Status: ready -->
44
<!-- CREDITS: hirokawa -->
55

66
<book xml:id="book.readline" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
77
<?phpdoc extension-membership="bundledexternal" ?>
8-
<title>GNU Readline</title>
8+
<title>Readline</title>
99
<titleabbrev>Readline</titleabbrev>
1010

1111
<!-- {{{ preface -->
1212
<preface xml:id="intro.readline">
1313
&reftitle.intro;
1414
<para>
15-
readline 関数群は、GNU Readline ライブラリへの
15+
readline 関数群は、libedit ライブラリへの
1616
インターフェイスを実装したものです。これらの関数は、コマンドラインの
1717
編集機能を提供します。一例をあげると、Bash において文字を挿入したり
1818
コマンド履歴を走査したりする際に、矢印キーを使用することを

reference/readline/configure.xml

Lines changed: 33 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,48 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: d92890ef469c2527326bcb4a6730892eee3c96cb Maintainer: hirokawa Status: ready -->
3+
<!-- EN-Revision: b9582e11e41e0d06e1bd4a499ce6db383692759b Maintainer: hirokawa Status: ready -->
44
<section xml:id="readline.installation" xmlns="http://docbook.org/ns/docbook">
55
&reftitle.install;
66
<para>
77
この関数を使用するには、readline サポートを有効にして CGI 版または CLI 版の
88
PHP をコンパイルする必要があります。PHP の configure に
99
<option role="configure">--with-readline[=DIR]</option> を指定する必要が
10-
あります。readline の代替品である libedit を使用したい場合、PHP の
11-
configure に <option role="configure">--with-libedit[=DIR]</option>
12-
を指定してください。
10+
あります。
1311
</para>
1412
<para>
1513
Windowsでは、この拡張モジュールは PHP 7.1.0からデフォルトで利用可能です。
1614
</para>
15+
<simplesect role="changelog">
16+
&reftitle.changelog;
17+
<para>
18+
<informaltable>
19+
<tgroup cols="2">
20+
<thead>
21+
<row>
22+
<entry>&Version;</entry>
23+
<entry>&Description;</entry>
24+
</row>
25+
</thead>
26+
<tbody>
27+
<row>
28+
<entry>8.4.0</entry>
29+
<entry>
30+
configure オプション
31+
<option role="configure">--with-libedit</option>
32+
は削除されました。
33+
<option role="configure">--with-readline</option>
34+
を使用してください。
35+
<option role="configure">--with-readline</option>
36+
オプションは、pkg-config の使用するため DIR 引数を受け入れず、
37+
libedit ライブラリをリンクするようになりました。
38+
libedit ライブラリは、GPL でない GNU Readline の代替です。
39+
</entry>
40+
</row>
41+
</tbody>
42+
</tgroup>
43+
</informaltable>
44+
</para>
45+
</simplesect>
1746
</section>
1847

1948
<!-- Keep this comment at the end of the file

reference/readline/constants.xml

Lines changed: 27 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,35 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 5e9500ddad6dbc2f1b01d7da8b53379c8b7c386c Maintainer: mumumu Status: ready -->
3+
<!-- EN-Revision: b9582e11e41e0d06e1bd4a499ce6db383692759b Maintainer: mumumu Status: ready -->
44
<appendix xml:id="readline.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
55
&reftitle.constants;
66
&extension.constants;
7-
<variablelist>
8-
<varlistentry xml:id="constant.readline-lib">
9-
<term>
10-
<constant>READLINE_LIB</constant>
11-
(<type>string</type>)
12-
</term>
13-
<listitem>
14-
<simpara>
15-
readline サポートに使われるライブラリ。
16-
現状は、<literal>readline</literal> または <literal>libedit</literal> が指定できます。
17-
</simpara>
18-
</listitem>
19-
</varlistentry>
20-
</variablelist>
7+
<formalpara>
8+
&reftitle.changelog;
9+
<para>
10+
<informaltable>
11+
<tgroup cols="2">
12+
<thead>
13+
<row>
14+
<entry>&Version;</entry>
15+
<entry>&Description;</entry>
16+
</row>
17+
</thead>
18+
<tbody>
19+
<row>
20+
<entry>8.4.0</entry>
21+
<entry>
22+
<constant>READLINE_LIB</constant> は削除されました。
23+
readline サポートに使われるライブラリは
24+
<literal>readline</literal>
25+
または、<literal>libedit</literal> になります。
26+
</entry>
27+
</row>
28+
</tbody>
29+
</tgroup>
30+
</informaltable>
31+
</para>
32+
</formalpara>
2133
</appendix>
2234
<!-- Keep this comment at the end of the file
2335
Local variables:

reference/readline/setup.xml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 48ce43fe79fa0c9f31f187ea8ec995b4cb13037e Maintainer: takagi Status: ready -->
3+
<!-- EN-Revision: b9582e11e41e0d06e1bd4a499ce6db383692759b Maintainer: takagi Status: ready -->
44
<!-- CREDITS: hirokawa -->
55

66
<chapter xml:id="readline.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -10,11 +10,10 @@
1010
<section xml:id="readline.requirements">
1111
&reftitle.required;
1212
<para>
13-
readline 関数を使用するには、libreadline をインストールすることが
14-
必要です。libreadline は、<link
15-
xlink:href="&url.readline;">&url.readline;</link> にある GNU Readline
16-
プロジェクトのホームページから入手可能です。このライブラリは、Bash の
17-
作者でもある Chet Ramey により管理されています。
13+
readline 関数を使用するには、libedit ライブラリをインストールすることが
14+
必要です。libedit ライブラリは、
15+
<link xlink:href="&url.libedit;">&url.libedit;</link>
16+
からダウンロード可能で、BSD ライセンスで配布されています。
1817
</para>
1918
<para>
2019
この関数を libeditライブラリで使用することも可能です。これは

0 commit comments

Comments
 (0)