From ab257ed3201b8be0680b21cd9e3fc2c3e0c96ea2 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Sat, 11 May 2019 18:29:30 +0200 Subject: [PATCH] Integrate libmbfl docs to README.md and LICENSE - All credits, license info preserved, only merged together to not have to many places to edit. - Changelogs integrated in the readme since they are not used anymore. --- ext/mbstring/libmbfl/AUTHORS | 13 ------ ext/mbstring/libmbfl/DISCLAIMER | 65 ---------------------------- ext/mbstring/libmbfl/LICENSE | 70 +++++++++++++++++++++++++++--- ext/mbstring/libmbfl/NEWS | 28 ------------ ext/mbstring/libmbfl/README | 11 ----- ext/mbstring/libmbfl/README.md | 75 +++++++++++++++++++++++++++++++++ 6 files changed, 139 insertions(+), 123 deletions(-) delete mode 100644 ext/mbstring/libmbfl/AUTHORS delete mode 100644 ext/mbstring/libmbfl/DISCLAIMER delete mode 100644 ext/mbstring/libmbfl/NEWS delete mode 100644 ext/mbstring/libmbfl/README create mode 100644 ext/mbstring/libmbfl/README.md diff --git a/ext/mbstring/libmbfl/AUTHORS b/ext/mbstring/libmbfl/AUTHORS deleted file mode 100644 index 9a9f2f9fa3..0000000000 --- a/ext/mbstring/libmbfl/AUTHORS +++ /dev/null @@ -1,13 +0,0 @@ -Marcus Boerger -Hayk Chamyan -Wez Furlong -Rui Hirokawa -Shigeru Kanemoto -U. Kenkichi -Moriyoshi Koizumi -Hironori Sato -Tsukada Takuya -Tateyama -Den V. Tsopa -Maksym Veremeyenko -Haluk AKIN diff --git a/ext/mbstring/libmbfl/DISCLAIMER b/ext/mbstring/libmbfl/DISCLAIMER deleted file mode 100644 index 8cc750769a..0000000000 --- a/ext/mbstring/libmbfl/DISCLAIMER +++ /dev/null @@ -1,65 +0,0 @@ - "streamable kanji code filter and converter" - - Copyright (c) 1998,1999,2000,2001 HappySize, Inc. All rights reserved. - - This software is released under the GNU Lesser General Public License. - (Version 2.1, February 1999) - Please read the following detail of the licence (in japanese). - - ◆使用許諾条件◆ - - このソフトウェアは株式会社ハッピーサイズによって開発されました。株式会社ハッ - ピーサイズは、著作権法および万国著作権条約の定めにより、このソフトウェアに関 - するすべての権利を留保する権利を持ち、ここに行使します。株式会社ハッピーサイ - ズは以下に明記した条件に従って、このソフトウェアを使用する排他的ではない権利 - をお客様に許諾します。何人たりとも、以下の条件に反してこのソフトウェアを使用 - することはできません。 - - このソフトウェアを「GNU Lesser General Public License (Version 2.1, February - 1999)」に示された条件で使用することを、全ての方に許諾します。「GNU Lesser - General Public License」を満たさない使用には、株式会社ハッピーサイズから書面 - による許諾を得る必要があります。 - - 「GNU Lesser General Public License」の全文は以下のウェブページから取得でき - ます。「GNU Lesser General Public License」とは、これまでLibrary General - Public Licenseと呼ばれていたものです。 - http://www.gnu.org/ --- GNUウェブサイト - http://www.gnu.org/copyleft/lesser.html --- ライセンス文面 - このライセンスの内容がわからない方、守れない方には使用を許諾しません。 - - しかしながら、当社とGNUプロジェクトとの特定の関係を示唆または主張するもので - はありません。 - - ◆保証内容◆ - - このソフトウェアは、期待された動作・機能・性能を持つことを目標として設計され - 開発されていますが、これを保証するものではありません。このソフトウェアは「こ - のまま」の状態で提供されており、たとえばこのソフトウェアの有用性ないし特定の - 目的に合致することといった、何らかの保証内容が、明示されたり暗黙に示されてい - る場合であっても、その保証は無効です。このソフトウェアを使用した結果ないし使 - 用しなかった結果によって、直接あるいは間接に受けた身体的な傷害、財産上の損害 - 、データの損失あるいはその他の全ての損害については、その損害の可能性が使用者 - 、当社あるいは第三者によって警告されていた場合であっても、当社はその損害の賠 - 償および補填を行いません。この規定は他の全ての、書面上または書面に無い保証・ - 契約・規定に優先します。 - - ◆著作権者の連絡先および使用条件についての問い合わせ先◆ - - 〒102-0073 - 東京都千代田区九段北1-13-5日本地所第一ビル4F - 株式会社ハッピーサイズ - Phone: 03-3512-3655, Fax: 03-3512-3656 - Email: sales@happysize.co.jp - Web: http://happysize.com/ - - ◆著者◆ - - 金本 茂 - - ◆履歴◆ - - 1998/11/10 sgk implementation in C++ - 1999/4/25 sgk Cで書きなおし。 - 1999/4/26 sgk 入力フィルタを実装。漢字コードを推定しながらフィルタを追加。 - 1999/6/?? Unicodeサポート。 - 1999/6/22 sgk ライセンスをLGPLに変更。 diff --git a/ext/mbstring/libmbfl/LICENSE b/ext/mbstring/libmbfl/LICENSE index 9a749e6855..78192cde7c 100644 --- a/ext/mbstring/libmbfl/LICENSE +++ b/ext/mbstring/libmbfl/LICENSE @@ -1,5 +1,5 @@ - GNU LESSER GENERAL PUBLIC LICENSE - Version 2.1, February 1999 + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 Copyright (C) 1991, 1999 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA @@ -10,7 +10,7 @@ as the successor of the GNU Library Public License, version 2, hence the version number 2.1.] - Preamble + Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public @@ -112,7 +112,7 @@ modification follow. Pay close attention to the difference between a former contains code derived from the library, whereas the latter must be combined with the library in order to run. - GNU LESSER GENERAL PUBLIC LICENSE + GNU LESSER GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License Agreement applies to any software library or other @@ -432,7 +432,7 @@ decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. - NO WARRANTY + NO WARRANTY 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. @@ -455,4 +455,62 @@ FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - END OF TERMS AND CONDITIONS + END OF TERMS AND CONDITIONS + +"streamable kanji code filter and converter" + +Copyright (c) 1998,1999,2000,2001 HappySize, Inc. All rights reserved. + +This software is released under the GNU Lesser General Public License. +(Version 2.1, February 1999) +Please read the following detail of the licence (in japanese). + +◆使用許諾条件◆ + +このソフトウェアは株式会社ハッピーサイズによって開発されました。株式会社ハッ +ピーサイズは、著作権法および万国著作権条約の定めにより、このソフトウェアに関 +するすべての権利を留保する権利を持ち、ここに行使します。株式会社ハッピーサイ +ズは以下に明記した条件に従って、このソフトウェアを使用する排他的ではない権利 +をお客様に許諾します。何人たりとも、以下の条件に反してこのソフトウェアを使用 +することはできません。 + +このソフトウェアを「GNU Lesser General Public License (Version 2.1, February +1999)」に示された条件で使用することを、全ての方に許諾します。「GNU Lesser +General Public License」を満たさない使用には、株式会社ハッピーサイズから書面 +による許諾を得る必要があります。 + +「GNU Lesser General Public License」の全文は以下のウェブページから取得でき +ます。「GNU Lesser General Public License」とは、これまでLibrary General +Public Licenseと呼ばれていたものです。 + http://www.gnu.org/ --- GNUウェブサイト + http://www.gnu.org/copyleft/lesser.html --- ライセンス文面 +このライセンスの内容がわからない方、守れない方には使用を許諾しません。 + +しかしながら、当社とGNUプロジェクトとの特定の関係を示唆または主張するもので +はありません。 + +◆保証内容◆ + +このソフトウェアは、期待された動作・機能・性能を持つことを目標として設計され +開発されていますが、これを保証するものではありません。このソフトウェアは「こ +のまま」の状態で提供されており、たとえばこのソフトウェアの有用性ないし特定の +目的に合致することといった、何らかの保証内容が、明示されたり暗黙に示されてい +る場合であっても、その保証は無効です。このソフトウェアを使用した結果ないし使 +用しなかった結果によって、直接あるいは間接に受けた身体的な傷害、財産上の損害 +、データの損失あるいはその他の全ての損害については、その損害の可能性が使用者 +、当社あるいは第三者によって警告されていた場合であっても、当社はその損害の賠 +償および補填を行いません。この規定は他の全ての、書面上または書面に無い保証・ +契約・規定に優先します。 + +◆著作権者の連絡先および使用条件についての問い合わせ先◆ + +〒102-0073 +東京都千代田区九段北1-13-5日本地所第一ビル4F +株式会社ハッピーサイズ +Phone: 03-3512-3655, Fax: 03-3512-3656 +Email: sales@happysize.co.jp +Web: http://happysize.com/ + +◆著者◆ + +金本 茂 diff --git a/ext/mbstring/libmbfl/NEWS b/ext/mbstring/libmbfl/NEWS deleted file mode 100644 index 75ea1c5117..0000000000 --- a/ext/mbstring/libmbfl/NEWS +++ /dev/null @@ -1,28 +0,0 @@ -version 1.3.2 August 20, 2011 - -- added JISX-0213:2004 based encoding : Shift_JIS-2004, EUC-JP-2004, ISO-2022-JP-2004 (rui). -- added gb18030 encoding (rui). -- added CP950 with user user defined area based on Big5 (rui). -- added mapping for user defined character area to CP936 (rui). -- added UTF-8-Mobile to support the pictogram characters defined by mobile phone carrier in Japan (rui). - -version 1.3.1 August 5, 2011 - -- added check for invalid/obsolete utf-8 encoding (rui). - -version 1.3.0 August 1, 2011 - -- added encoding conversion between Shift_JIS and Unicode (6.0 or PUA) - for pictogram characters defined by mobile phone carrier in Japan (rui). - - Detailed info:https://github.com/hirokawa/libmbfl/wiki/Introduction-to-libmbflhttps:--github.com-hirokawa-libmbfl-wiki-Introduction-to-libmbfl-_edit%23 - -- fixed encoding conversion of cp5022x for user defined area (rui). -- added MacJapanese (SJIS-mac) for legacy encoding support (rui). -- backport from PHP 5.2 (rui). - -version 1.1.0 March 02, 2010 - -- added cp5022x encoding (moriyoshi) -- added ISO-2022-JP-MS (moriyoshi) -- moved to github.com from sourceforge.jp (moriyoshi) diff --git a/ext/mbstring/libmbfl/README b/ext/mbstring/libmbfl/README deleted file mode 100644 index 5d60d56874..0000000000 --- a/ext/mbstring/libmbfl/README +++ /dev/null @@ -1,11 +0,0 @@ -This is libmbfl, a streamable multibyte character code filter and converter -library. - -The original version of libmbfl is developed and distributed at -https://github.com/moriyoshi/libmbfl under the LGPL 2.1 license. - -The libmbfl library is bundled with PHP as a fork of the original repository and -is not in sync with the upstream at https://github.com/moriyoshi/libmbfl. As such, -the libmbfl directory is directly modified in the php-src repository. - -See LICENSE and DISCLAIMER for licensing information. diff --git a/ext/mbstring/libmbfl/README.md b/ext/mbstring/libmbfl/README.md new file mode 100644 index 0000000000..0c416add5e --- /dev/null +++ b/ext/mbstring/libmbfl/README.md @@ -0,0 +1,75 @@ +# libmbfl + +This is libmbfl, a streamable multibyte character code filter and converter +library, written by Shigeru Kanemoto. + +The original version of libmbfl is developed and distributed at +https://github.com/moriyoshi/libmbfl under the LGPL 2.1 license. See the LICENSE +file for licensing information. + +The libmbfl library is bundled with PHP as a fork of the original repository and +is not in sync with the [upstream](https://github.com/moriyoshi/libmbfl). As +such, the libmbfl directory is directly modified in the php-src repository. + +## Changelog + +### October 2017 + +* Since 2017, it is forked and bundled in the php-src repository. For the list + of changes related to PHP see the PHP NEWS change logs. + +### Version 1.3.2 August 20, 2011 + +* Added JISX-0213:2004 based encoding : Shift_JIS-2004, EUC-JP-2004, + ISO-2022-JP-2004 (rui). +* Added gb18030 encoding (rui). +* Added CP950 with user user defined area based on Big5 (rui). +* Added mapping for user defined character area to CP936 (rui). +* Added UTF-8-Mobile to support the pictogram characters defined by mobile phone + carrier in Japan (rui). + +### Version 1.3.1 August 5, 2011 + +* Added check for invalid/obsolete utf-8 encoding (rui). + +### Version 1.3.0 August 1, 2011 + +* Added encoding conversion between Shift_JIS and Unicode (6.0 or PUA) for + pictogram characters defined by mobile phone carrier in Japan (rui). + + [Detailed info](https://github.com/hirokawa/libmbfl/wiki/Introduction-to-libmbflhttps:--github.com-hirokawa-libmbfl-wiki-Introduction-to-libmbfl-_edit%23) + +* Fixed encoding conversion of cp5022x for user defined area (rui). +* Added MacJapanese (SJIS-mac) for legacy encoding support (rui). +* Backport from PHP 5.2 (rui). + +### Version 1.1.0 March 02, 2010 + +* Added cp5022x encoding (moriyoshi) +* Added ISO-2022-JP-MS (moriyoshi) +* Moved to github.com from sourceforge.jp (moriyoshi) + +### Earlier versions + +* 1998/11/10 sgk implementation in C++ +* Rewriting with sgk C 1999/4/25. +* 1999/4/26 Implemented sgk input filter. Add filter while estimating kanji + code. +* 1999/6 Unicode support. +* 1999/6/22 Changed sgk license to LGPL. + +## Credits + +Marcus Boerger +Hayk Chamyan +Wez Furlong +Rui Hirokawa +Shigeru Kanemoto +U. Kenkichi +Moriyoshi Koizumi +Hironori Sato +Tsukada Takuya +Tateyama +Den V. Tsopa +Maksym Veremeyenko +Haluk AKIN -- 2.40.0