Revert "Update ICU to 71-1 (#32879)" (flutter/engine#33274)

This commit is contained in:
Harry Terkelsen
2022-05-13 14:08:36 -07:00
committed by GitHub
parent 62760dd39f
commit 37cfb2214a
7 changed files with 103 additions and 199 deletions

2
DEPS
View File

@@ -156,7 +156,7 @@ deps = {
# Chromium-style dependencies.
'src/third_party/icu':
Var('chromium_git') + '/chromium/deps/icu.git' + '@' + 'f43d5654c25f3b2a202257da0906f3b7c6d2dc44',
Var('chromium_git') + '/chromium/deps/icu.git' + '@' + '1fa4e3959ec6637182b7318ac1d382799454806d',
'src/third_party/khronos':
Var('chromium_git') + '/chromium/src/third_party/khronos.git' + '@' + '7122230e90547962e0f0c627f62eeed3c701f275',

View File

@@ -1,2 +1,2 @@
Signature: 4fda0bee07f4929373196e40c4d3ba86
Signature: 2421fb6ef9c25dd281c9b5ef734fd5bc

View File

@@ -10484,10 +10484,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--------------------------------------------------------------------------------
icu
Copyright 1991 by the Massachusetts Institute of Technology
--------------------------------------------------------------------------------
icu
Copyright 1996 Chih-Hao Tsai @ Beckman Institute,
University of Illinois
c-tsai4@uiuc.edu http://casper.beckman.uiuc.edu/~c-tsai4
@@ -10626,20 +10622,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--------------------------------------------------------------------------------
icu
See Terms of Use <https://www.unicode.org/copyright.html>
for definitions of Unicode Inc.’s Data Files and Software.
NOTICE TO USER: Carefully read the following legal agreement.
BY DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S
DATA FILES ("DATA FILES"), AND/OR SOFTWARE ("SOFTWARE"),
YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
TERMS AND CONDITIONS OF THIS AGREEMENT.
IF YOU DO NOT AGREE, DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE
THE DATA FILES OR SOFTWARE.
COPYRIGHT AND PERMISSION NOTICE
Copyright © 1991-2022 Unicode, Inc. All rights reserved.
Copyright © 1991-2020 Unicode, Inc. All rights reserved.
Distributed under the Terms of Use in https://www.unicode.org/copyright.html.
Permission is hereby granted, free of charge, to any person obtaining
@@ -10707,49 +10690,30 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--------------------------------------------------------------------------------
icu
Unicode® Copyright and Terms of Use
For the general privacy policy governing access to this site, see the Unicode Privacy Policy.
Unicode® Terms of Use
For the general privacy policy governing access to this site, see the Unicode Privacy Policy. For trademark usage, see the Unicode® Consortium Name and Trademark Usage Policy.
A. Unicode Copyright
1. Copyright © 1991-2022 Unicode, Inc. All rights reserved.
B. Definitions
Unicode Data Files ("DATA FILES") include all data files under the directories:
https://www.unicode.org/Public
https://www.unicode.org/reports
https://www.unicode.org/ivd/data
Unicode Data Files do not include PDF online code charts under the directory:
https://www.unicode.org/Public
Unicode Software ("SOFTWARE") includes any source code published in the Unicode Standard
or any source code or compiled code under the directories:
https://www.unicode.org/Public/PROGRAMS
https://www.unicode.org/Public/cldr
http://site.icu-project.org/download
C. Terms of Use
1. Certain documents and files on this website contain a legend indicating that "Modification is permitted." Any person is hereby authorized, without fee, to modify such documents and files to create derivative works conforming to the Unicode® Standard, subject to Terms and Conditions herein.
2. Any person is hereby authorized, without fee, to view, use, reproduce, and distribute all documents and files, subject to the Terms and Conditions herein.
3. Further specifications of rights and restrictions pertaining to the use of the Unicode DATA FILES and SOFTWARE can be found in the Unicode Data Files and Software License.
4. Each version of the Unicode Standard has further specifications of rights and restrictions of use. For the book editions (Unicode 5.0 and earlier), these are found on the back of the title page.
5. The Unicode PDF online code charts carry specific restrictions. Those restrictions are incorporated as the first page of each PDF code chart.
6. All other files, including online documentation of the core specification for Unicode 6.0 and later, are covered under these general Terms of Use.
7. No license is granted to "mirror" the Unicode website where a fee is charged for access to the "mirror" site.
8. Modification is not permitted with respect to this document. All copies of this document must be verbatim.
D. Restricted Rights Legend
1. Any technical data or software which is licensed to the United States of America, its agencies and/or instrumentalities under this Agreement is commercial technical data or commercial computer software developed exclusively at private expense as defined in FAR 2.101, or DFARS 252.227-7014 (June 1995), as applicable. For technical data, use, duplication, or disclosure by the Government is subject to restrictions as set forth in DFARS 202.227-7015 Technical Data, Commercial and Items (Nov 1995) and this Agreement. For Software, in accordance with FAR 12-212 or DFARS 227-7202, as applicable, use, duplication or disclosure by the Government is subject to the restrictions set forth in this Agreement.
E.Warranties and Disclaimers
1. This publication and/or website may include technical or typographical errors or other inaccuracies. Changes are periodically added to the information herein; these changes will be incorporated in new editions of the publication and/or website. Unicode, Inc. may make improvements and/or changes in the product(s) and/or program(s) described in this publication and/or website at any time.
A. Unicode Copyright.
1. Copyright © 1991-2017 Unicode, Inc. All rights reserved.
2. Certain documents and files on this website contain a legend indicating that "Modification is permitted." Any person is hereby authorized, without fee, to modify such documents and files to create derivative works conforming to the Unicode® Standard, subject to Terms and Conditions herein.
3. Any person is hereby authorized, without fee, to view, use, reproduce, and distribute all documents and files solely for informational purposes and in the creation of products supporting the Unicode Standard, subject to the Terms and Conditions herein.
4. Further specifications of rights and restrictions pertaining to the use of the particular set of data files known as the "Unicode Character Database" can be found in the License.
5. Each version of the Unicode Standard has further specifications of rights and restrictions of use. For the book editions (Unicode 5.0 and earlier), these are found on the back of the title page. The online code charts carry specific restrictions. All other files, including online documentation of the core specification for Unicode 6.0 and later, are covered under these general Terms of Use.
6. No license is granted to "mirror" the Unicode website where a fee is charged for access to the "mirror" site.
7. Modification is not permitted with respect to this document. All copies of this document must be verbatim.
B. Restricted Rights Legend. Any technical data or software which is licensed to the United States of America, its agencies and/or instrumentalities under this Agreement is commercial technical data or commercial computer software developed exclusively at private expense as defined in FAR 2.101, or DFARS 252.227-7014 (June 1995), as applicable. For technical data, use, duplication, or disclosure by the Government is subject to restrictions as set forth in DFARS 202.227-7015 Technical Data, Commercial and Items (Nov 1995) and this Agreement. For Software, in accordance with FAR 12-212 or DFARS 227-7202, as applicable, use, duplication or disclosure by the Government is subject to the restrictions set forth in this Agreement.
C. Warranties and Disclaimers.
1. This publication and/or website may include technical or typographical errors or other inaccuracies . Changes are periodically added to the information herein; these changes will be incorporated in new editions of the publication and/or website. Unicode may make improvements and/or changes in the product(s) and/or program(s) described in this publication and/or website at any time.
2. If this file has been purchased on magnetic or optical media from Unicode, Inc. the sole and exclusive remedy for any claim will be exchange of the defective media within ninety (90) days of original purchase.
3. EXCEPT AS PROVIDED IN SECTION E.2, THIS PUBLICATION AND/OR SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND EITHER EXPRESS, IMPLIED, OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. UNICODE, INC. AND ITS LICENSORS ASSUME NO RESPONSIBILITY FOR ERRORS OR OMISSIONS IN THIS PUBLICATION AND/OR SOFTWARE OR OTHER DOCUMENTS WHICH ARE REFERENCED BY OR LINKED TO THIS PUBLICATION OR THE UNICODE WEBSITE.
F. Waiver of Damages
1. In no event shall Unicode, Inc. or its licensors be liable for any special, incidental, indirect or consequential damages of any kind, or any damages whatsoever, whether or not Unicode, Inc. was advised of the possibility of the damage, including, without limitation, those resulting from the following: loss of use, data or profits, in connection with the use, modification or distribution of this information or its derivatives.
G. Trademarks & Logos
3. EXCEPT AS PROVIDED IN SECTION C.2, THIS PUBLICATION AND/OR SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND EITHER EXPRESS, IMPLIED, OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. UNICODE AND ITS LICENSORS ASSUME NO RESPONSIBILITY FOR ERRORS OR OMISSIONS IN THIS PUBLICATION AND/OR SOFTWARE OR OTHER DOCUMENTS WHICH ARE REFERENCED BY OR LINKED TO THIS PUBLICATION OR THE UNICODE WEBSITE.
D. Waiver of Damages. In no event shall Unicode or its licensors be liable for any special, incidental, indirect or consequential damages of any kind, or any damages whatsoever, whether or not Unicode was advised of the possibility of the damage, including, without limitation, those resulting from the following: loss of use, data or profits, in connection with the use, modification or distribution of this information or its derivatives.
E. Trademarks & Logos.
1. The Unicode Word Mark and the Unicode Logo are trademarks of Unicode, Inc. “The Unicode Consortium” and “Unicode, Inc.” are trade names of Unicode, Inc. Use of the information and materials found on this website indicates your acknowledgement of Unicode, Inc.’s exclusive worldwide rights in the Unicode Word Mark, the Unicode Logo, and the Unicode trade names.
3. The Unicode Consortium Name and Trademark Usage Policy (“Trademark Policy”) are incorporated herein by reference and you agree to abide by the provisions of the Trademark Policy, which may be changed from time to time in the sole discretion of Unicode, Inc.
4. All third party trademarks referenced herein are the property of their respective owners.
H. Miscellaneous
1. Jurisdiction and Venue. This website is operated from a location in the State of California, United States of America. Unicode, Inc. makes no representation that the materials are appropriate for use in other locations. If you access this website from other locations, you are responsible for compliance with local laws. This Agreement, all use of this website and any claims and damages resulting from use of this website are governed solely by the laws of the State of California without regard to any principles which would apply the laws of a different jurisdiction. The user agrees that any disputes regarding this website shall be resolved solely in the courts located in Santa Clara County, California. The user agrees said courts have personal jurisdiction and agree to waive any right to transfer the dispute to any other forum.
2. Modification by Unicode, Inc. Unicode, Inc. shall have the right to modify this Agreement at any time by posting it to this website. The user may not assign any part of this Agreement without Unicode, Inc.’s prior written consent.
2. The Unicode Consortium Name and Trademark Usage Policy (“Trademark Policy”) are incorporated herein by reference and you agree to abide by the provisions of the Trademark Policy, which may be changed from time to time in the sole discretion of Unicode, Inc.
3. All third party trademarks referenced herein are the property of their respective owners.
F. Miscellaneous.
1. Jurisdiction and Venue. This server is operated from a location in the State of California, United States of America. Unicode makes no representation that the materials are appropriate for use in other locations. If you access this server from other locations, you are responsible for compliance with local laws. This Agreement, all use of this site and any claims and damages resulting from use of this site are governed solely by the laws of the State of California without regard to any principles which would apply the laws of a different jurisdiction. The user agrees that any disputes regarding this site shall be resolved solely in the courts located in Santa Clara County, California. The user agrees said courts have personal jurisdiction and agree to waive any right to transfer the dispute to any other forum.
2. Modification by Unicode Unicode shall have the right to modify this Agreement at any time by posting it to this site. The user may not assign any part of this Agreement without Unicode’s prior written consent.
3. Taxes. The user agrees to pay any taxes arising from access to this website or use of the information herein, except for those based on Unicode’s net income.
4. Severability. If any provision of this Agreement is declared invalid or unenforceable, the remaining provisions of this Agreement shall remain in effect.
5. Entire Agreement. This Agreement constitutes the entire agreement between the parties.
@@ -10757,8 +10721,19 @@ H. Miscellaneous
EXHIBIT 1
UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE
See Terms of Use <https://www.unicode.org/copyright.html>
for definitions of Unicode Inc.’s Data Files and Software.
Unicode Data Files include all data files under the directories
http://www.unicode.org/Public/, http://www.unicode.org/reports/,
http://www.unicode.org/cldr/data/, http://source.icu-project.org/repos/icu/, and
http://www.unicode.org/utility/trac/browser/.
Unicode Data Files do not include PDF online code charts under the
directory http://www.unicode.org/Public/.
Software includes any source code published in the Unicode Standard
or under the directories
http://www.unicode.org/Public/, http://www.unicode.org/reports/,
http://www.unicode.org/cldr/data/, http://source.icu-project.org/repos/icu/, and
http://www.unicode.org/utility/trac/browser/.
NOTICE TO USER: Carefully read the following legal agreement.
BY DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S
@@ -10770,8 +10745,8 @@ THE DATA FILES OR SOFTWARE.
COPYRIGHT AND PERMISSION NOTICE
Copyright © 1991-2022 Unicode, Inc. All rights reserved.
Distributed under the Terms of Use in https://www.unicode.org/copyright.html.
Copyright © 1991-2017 Unicode, Inc. All rights reserved.
Distributed under the Terms of Use in http://www.unicode.org/copyright.html.
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Unicode data files and any associated documentation

View File

@@ -1,55 +1,47 @@
Unicode® Copyright and Terms of Use
For the general privacy policy governing access to this site, see the Unicode Privacy Policy.
Unicode® Terms of Use
For the general privacy policy governing access to this site, see the Unicode Privacy Policy. For trademark usage, see the Unicode® Consortium Name and Trademark Usage Policy.
A. Unicode Copyright
1. Copyright © 1991-2022 Unicode, Inc. All rights reserved.
B. Definitions
Unicode Data Files ("DATA FILES") include all data files under the directories:
https://www.unicode.org/Public/
https://www.unicode.org/reports/
https://www.unicode.org/ivd/data/
Unicode Data Files do not include PDF online code charts under the directory:
https://www.unicode.org/Public/
Unicode Software ("SOFTWARE") includes any source code published in the Unicode Standard
or any source code or compiled code under the directories:
https://www.unicode.org/Public/PROGRAMS/
https://www.unicode.org/Public/cldr/
http://site.icu-project.org/download/
C. Terms of Use
1. Certain documents and files on this website contain a legend indicating that "Modification is permitted." Any person is hereby authorized, without fee, to modify such documents and files to create derivative works conforming to the Unicode® Standard, subject to Terms and Conditions herein.
2. Any person is hereby authorized, without fee, to view, use, reproduce, and distribute all documents and files, subject to the Terms and Conditions herein.
3. Further specifications of rights and restrictions pertaining to the use of the Unicode DATA FILES and SOFTWARE can be found in the Unicode Data Files and Software License.
4. Each version of the Unicode Standard has further specifications of rights and restrictions of use. For the book editions (Unicode 5.0 and earlier), these are found on the back of the title page.
5. The Unicode PDF online code charts carry specific restrictions. Those restrictions are incorporated as the first page of each PDF code chart.
6. All other files, including online documentation of the core specification for Unicode 6.0 and later, are covered under these general Terms of Use.
7. No license is granted to "mirror" the Unicode website where a fee is charged for access to the "mirror" site.
8. Modification is not permitted with respect to this document. All copies of this document must be verbatim.
D. Restricted Rights Legend
1. Any technical data or software which is licensed to the United States of America, its agencies and/or instrumentalities under this Agreement is commercial technical data or commercial computer software developed exclusively at private expense as defined in FAR 2.101, or DFARS 252.227-7014 (June 1995), as applicable. For technical data, use, duplication, or disclosure by the Government is subject to restrictions as set forth in DFARS 202.227-7015 Technical Data, Commercial and Items (Nov 1995) and this Agreement. For Software, in accordance with FAR 12-212 or DFARS 227-7202, as applicable, use, duplication or disclosure by the Government is subject to the restrictions set forth in this Agreement.
E.Warranties and Disclaimers
1. This publication and/or website may include technical or typographical errors or other inaccuracies. Changes are periodically added to the information herein; these changes will be incorporated in new editions of the publication and/or website. Unicode, Inc. may make improvements and/or changes in the product(s) and/or program(s) described in this publication and/or website at any time.
A. Unicode Copyright.
1. Copyright © 1991-2017 Unicode, Inc. All rights reserved.
2. Certain documents and files on this website contain a legend indicating that "Modification is permitted." Any person is hereby authorized, without fee, to modify such documents and files to create derivative works conforming to the Unicode® Standard, subject to Terms and Conditions herein.
3. Any person is hereby authorized, without fee, to view, use, reproduce, and distribute all documents and files solely for informational purposes and in the creation of products supporting the Unicode Standard, subject to the Terms and Conditions herein.
4. Further specifications of rights and restrictions pertaining to the use of the particular set of data files known as the "Unicode Character Database" can be found in the License.
5. Each version of the Unicode Standard has further specifications of rights and restrictions of use. For the book editions (Unicode 5.0 and earlier), these are found on the back of the title page. The online code charts carry specific restrictions. All other files, including online documentation of the core specification for Unicode 6.0 and later, are covered under these general Terms of Use.
6. No license is granted to "mirror" the Unicode website where a fee is charged for access to the "mirror" site.
7. Modification is not permitted with respect to this document. All copies of this document must be verbatim.
B. Restricted Rights Legend. Any technical data or software which is licensed to the United States of America, its agencies and/or instrumentalities under this Agreement is commercial technical data or commercial computer software developed exclusively at private expense as defined in FAR 2.101, or DFARS 252.227-7014 (June 1995), as applicable. For technical data, use, duplication, or disclosure by the Government is subject to restrictions as set forth in DFARS 202.227-7015 Technical Data, Commercial and Items (Nov 1995) and this Agreement. For Software, in accordance with FAR 12-212 or DFARS 227-7202, as applicable, use, duplication or disclosure by the Government is subject to the restrictions set forth in this Agreement.
C. Warranties and Disclaimers.
1. This publication and/or website may include technical or typographical errors or other inaccuracies . Changes are periodically added to the information herein; these changes will be incorporated in new editions of the publication and/or website. Unicode may make improvements and/or changes in the product(s) and/or program(s) described in this publication and/or website at any time.
2. If this file has been purchased on magnetic or optical media from Unicode, Inc. the sole and exclusive remedy for any claim will be exchange of the defective media within ninety (90) days of original purchase.
3. EXCEPT AS PROVIDED IN SECTION E.2, THIS PUBLICATION AND/OR SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND EITHER EXPRESS, IMPLIED, OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. UNICODE, INC. AND ITS LICENSORS ASSUME NO RESPONSIBILITY FOR ERRORS OR OMISSIONS IN THIS PUBLICATION AND/OR SOFTWARE OR OTHER DOCUMENTS WHICH ARE REFERENCED BY OR LINKED TO THIS PUBLICATION OR THE UNICODE WEBSITE.
F. Waiver of Damages
1. In no event shall Unicode, Inc. or its licensors be liable for any special, incidental, indirect or consequential damages of any kind, or any damages whatsoever, whether or not Unicode, Inc. was advised of the possibility of the damage, including, without limitation, those resulting from the following: loss of use, data or profits, in connection with the use, modification or distribution of this information or its derivatives.
G. Trademarks & Logos
3. EXCEPT AS PROVIDED IN SECTION C.2, THIS PUBLICATION AND/OR SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND EITHER EXPRESS, IMPLIED, OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. UNICODE AND ITS LICENSORS ASSUME NO RESPONSIBILITY FOR ERRORS OR OMISSIONS IN THIS PUBLICATION AND/OR SOFTWARE OR OTHER DOCUMENTS WHICH ARE REFERENCED BY OR LINKED TO THIS PUBLICATION OR THE UNICODE WEBSITE.
D. Waiver of Damages. In no event shall Unicode or its licensors be liable for any special, incidental, indirect or consequential damages of any kind, or any damages whatsoever, whether or not Unicode was advised of the possibility of the damage, including, without limitation, those resulting from the following: loss of use, data or profits, in connection with the use, modification or distribution of this information or its derivatives.
E. Trademarks & Logos.
1. The Unicode Word Mark and the Unicode Logo are trademarks of Unicode, Inc. “The Unicode Consortium” and “Unicode, Inc.” are trade names of Unicode, Inc. Use of the information and materials found on this website indicates your acknowledgement of Unicode, Inc.’s exclusive worldwide rights in the Unicode Word Mark, the Unicode Logo, and the Unicode trade names.
3. The Unicode Consortium Name and Trademark Usage Policy (“Trademark Policy”) are incorporated herein by reference and you agree to abide by the provisions of the Trademark Policy, which may be changed from time to time in the sole discretion of Unicode, Inc.
4. All third party trademarks referenced herein are the property of their respective owners.
H. Miscellaneous
1. Jurisdiction and Venue. This website is operated from a location in the State of California, United States of America. Unicode, Inc. makes no representation that the materials are appropriate for use in other locations. If you access this website from other locations, you are responsible for compliance with local laws. This Agreement, all use of this website and any claims and damages resulting from use of this website are governed solely by the laws of the State of California without regard to any principles which would apply the laws of a different jurisdiction. The user agrees that any disputes regarding this website shall be resolved solely in the courts located in Santa Clara County, California. The user agrees said courts have personal jurisdiction and agree to waive any right to transfer the dispute to any other forum.
2. Modification by Unicode, Inc. Unicode, Inc. shall have the right to modify this Agreement at any time by posting it to this website. The user may not assign any part of this Agreement without Unicode, Inc.’s prior written consent.
2. The Unicode Consortium Name and Trademark Usage Policy (“Trademark Policy”) are incorporated herein by reference and you agree to abide by the provisions of the Trademark Policy, which may be changed from time to time in the sole discretion of Unicode, Inc.
3. All third party trademarks referenced herein are the property of their respective owners.
F. Miscellaneous.
1. Jurisdiction and Venue. This server is operated from a location in the State of California, United States of America. Unicode makes no representation that the materials are appropriate for use in other locations. If you access this server from other locations, you are responsible for compliance with local laws. This Agreement, all use of this site and any claims and damages resulting from use of this site are governed solely by the laws of the State of California without regard to any principles which would apply the laws of a different jurisdiction. The user agrees that any disputes regarding this site shall be resolved solely in the courts located in Santa Clara County, California. The user agrees said courts have personal jurisdiction and agree to waive any right to transfer the dispute to any other forum.
2. Modification by Unicode Unicode shall have the right to modify this Agreement at any time by posting it to this site. The user may not assign any part of this Agreement without Unicode’s prior written consent.
3. Taxes. The user agrees to pay any taxes arising from access to this website or use of the information herein, except for those based on Unicode’s net income.
4. Severability. If any provision of this Agreement is declared invalid or unenforceable, the remaining provisions of this Agreement shall remain in effect.
5. Entire Agreement. This Agreement constitutes the entire agreement between the parties.
5. Entire Agreement. This Agreement constitutes the entire agreement between the parties.
EXHIBIT 1
UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE
See Terms of Use <https://www.unicode.org/copyright.html>
for definitions of Unicode Inc.’s Data Files and Software.
Unicode Data Files include all data files under the directories
http://www.unicode.org/Public/, http://www.unicode.org/reports/,
http://www.unicode.org/cldr/data/, http://source.icu-project.org/repos/icu/, and
http://www.unicode.org/utility/trac/browser/.
Unicode Data Files do not include PDF online code charts under the
directory http://www.unicode.org/Public/.
Software includes any source code published in the Unicode Standard
or under the directories
http://www.unicode.org/Public/, http://www.unicode.org/reports/,
http://www.unicode.org/cldr/data/, http://source.icu-project.org/repos/icu/, and
http://www.unicode.org/utility/trac/browser/.
NOTICE TO USER: Carefully read the following legal agreement.
BY DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S
@@ -61,8 +53,8 @@ THE DATA FILES OR SOFTWARE.
COPYRIGHT AND PERMISSION NOTICE
Copyright © 1991-2022 Unicode, Inc. All rights reserved.
Distributed under the Terms of Use in https://www.unicode.org/copyright.html.
Copyright © 1991-2017 Unicode, Inc. All rights reserved.
Distributed under the Terms of Use in http://www.unicode.org/copyright.html.
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Unicode data files and any associated documentation

View File

@@ -307,7 +307,6 @@ abstract class License implements Comparable<License> {
body = system.File('data/mit').readAsStringSync();
type = LicenseType.mit;
break;
case 'Unicode-DFS-2016': // SPDX ID
case 'https://www.unicode.org/copyright.html':
case 'http://www.unicode.org/copyright.html':
body = system.File('data/unicode').readAsStringSync();
@@ -871,8 +870,8 @@ License _dereferenceLicense(int groupIndex, String Function(int index) group, Mu
License result = pattern.checkLocalFirst ? parentDirectory.nearestLicenseWithName(group(groupIndex)) : null;
if (result == null) {
String suffix = '';
if (pattern.versionIndices != null && pattern.versionIndices.containsKey(groupIndex))
suffix = ':${group(pattern.versionIndices[groupIndex])}';
if (pattern.versionIndicies != null && pattern.versionIndicies.containsKey(groupIndex))
suffix = ':${group(pattern.versionIndicies[groupIndex])}';
result = License.fromUrl('${group(groupIndex)}$suffix', origin: origin);
}
return result;

View File

@@ -571,22 +571,16 @@ class _RepositoryIcuLicenseFile extends _RepositoryLicenseFile {
final List<License> _licenses;
static final RegExp _pattern = RegExp(
r'^UNICODE, INC\. LICENSE AGREEMENT - DATA FILES AND SOFTWARE\n+'
r'( *See Terms of Use (?:.|\n)+?)\n+' // 1
r'-+\n'
r'\n'
r'^COPYRIGHT AND PERMISSION NOTICE \(ICU 58 and later\)\n+'
r'( *Copyright (?:.|\n)+?)\n+' // 1
r'Third-Party Software Licenses\n+'
r' *This section contains third-party software notices and/or additional\n'
r' *terms for licensed third-party software components included within ICU\n'
r' *libraries\.\n+'
r'-+\n'
r'\n'
r' *ICU License - ICU 1\.8\.1 to ICU 57.1[ \n]+?'
r' *1\. ICU License - ICU 1.8.1 to ICU 57.1[ \n]+?'
r' *COPYRIGHT AND PERMISSION NOTICE\n+'
r'(Copyright (?:.|\n)+?)\n+' // 2
r'-+\n'
r'\n'
r'Chinese/Japanese Word Break Dictionary Data \(cjdict\.txt\)\n+'
r'(Copyright (?:.|\n)+?)\n+' //2
r' *2\. Chinese/Japanese Word Break Dictionary Data \(cjdict\.txt\)\n+'
r' # The Google Chrome software developed by Google is licensed under\n?'
r' # the BSD license\. Other software included in this distribution is\n?'
r' # provided under other licenses, as set forth below\.\n'
@@ -630,44 +624,20 @@ class _RepositoryIcuLicenseFile extends _RepositoryLicenseFile {
r' #\n'
r' # +---------------COPYING\.ipadic-----END----------------------------------\n'
r'\n'
r'-+\n'
r'\n'
r' *Lao Word Break Dictionary Data \(laodict\.txt\)\n'
r' *3\. Lao Word Break Dictionary Data \(laodict\.txt\)\n'
r'\n'
r'( # +Copyright(?:.|\n)+?)\n' // 8
r'\n'
r'-+\n'
r'\n'
r' *Burmese Word Break Dictionary Data \(burmesedict\.txt\)\n'
r' *4\. Burmese Word Break Dictionary Data \(burmesedict\.txt\)\n'
r'\n'
r'( # +Copyright(?:.|\n)+?)\n' // 9
r'\n'
r'-+\n'
r'\n'
r' *Time Zone Database\n'
r' *5\. Time Zone Database\n'
r'((?:.|\n)+)\n' // 10
r'\n'
r'-+\n'
r' *6\. Google double-conversion\n'
r'\n'
r' *Google double-conversion\n'
r'\n'
r'(Copyright(?:.|\n)+)\n' // 11
r'\n'
r'-+\n'
r'\n'
r' *File: aclocal\.m4 \(only for ICU4C\)\n'
r' *Section: pkg\.m4 - Macros to locate and utilise pkg-config\.\n+'
r'(Copyright (?:.|\n)+?)\n' // 12
r'\n'
r'-+\n'
r'\n'
r' *File: config\.guess \(only for ICU4C\)\n+'
r'(This file is free software(?:.|\n)+?)\n' // 13
r'\n'
r'-+\n'
r'\n'
r' *File: install-sh \(only for ICU4C\)\n+'
r'(Copyright(?:.|\n)+?)\n$', // 14
r'(Copyright(?:.|\n)+)\n$', // 11
multiLine: true,
caseSensitive: false
);
@@ -675,31 +645,6 @@ class _RepositoryIcuLicenseFile extends _RepositoryLicenseFile {
static final RegExp _unexpectedHash = RegExp(r'^.+ #', multiLine: true);
static final RegExp _newlineHash = RegExp(r' # ?');
static const String gplExceptionExplanation1 =
'As a special exception to the GNU General Public License, if you\n'
'distribute this file as part of a program that contains a\n'
'configuration script generated by Autoconf, you may include it under\n'
'the same distribution terms that you use for the rest of that\n'
'program.\n'
'\n'
'\n'
'(The condition for the exception is fulfilled because\n'
'ICU4C includes a configuration script generated by Autoconf,\n'
'namely the `configure` script.)';
static const String gplExceptionExplanation2 =
'As a special exception to the GNU General Public License, if you\n'
'distribute this file as part of a program that contains a\n'
'configuration script generated by Autoconf, you may include it under\n'
'the same distribution terms that you use for the rest of that\n'
'program. This Exception is an additional permission under section 7\n'
'of the GNU General Public License, version 3 ("GPLv3").\n'
'\n'
'\n'
'(The condition for the exception is fulfilled because\n'
'ICU4C includes a configuration script generated by Autoconf,\n'
'namely the `configure` script.)';
static String _dewrap(String s) {
if (!s.startsWith(' # '))
return s;
@@ -714,12 +659,9 @@ class _RepositoryIcuLicenseFile extends _RepositoryLicenseFile {
final Match match = _pattern.firstMatch(io.readString());
if (match == null)
throw 'could not parse ICU license file';
assert(match.groupCount == 14);
assert(match.groupCount == 11);
if (match.group(10).contains(copyrightMentionPattern) || match.group(11).contains('7.'))
throw 'unexpected copyright in ICU license file';
if (!match.group(12).contains(gplExceptionExplanation1) || !match.group(13).contains(gplExceptionExplanation2)) {
throw 'did not find GPL exception in GPL-licensed files';
}
final List<License> result = <License>[
License.fromBodyAndType(_dewrap(match.group(1)), LicenseType.unknown, origin: io.fullName),
License.fromBodyAndType(_dewrap(match.group(2)), LicenseType.icu, origin: io.fullName),
@@ -731,9 +673,6 @@ class _RepositoryIcuLicenseFile extends _RepositoryLicenseFile {
License.fromBodyAndType(_dewrap(match.group(8)), LicenseType.bsd, origin: io.fullName),
License.fromBodyAndType(_dewrap(match.group(9)), LicenseType.bsd, origin: io.fullName),
License.fromBodyAndType(_dewrap(match.group(11)), LicenseType.bsd, origin: io.fullName),
// Matches 12 and 13 are for the GPL3 license. However, they are covered by an exemption
// (they are exempt because ICU4C includes a configuration script generated by Autoconf)
License.fromBodyAndType(_dewrap(match.group(14)), LicenseType.mit, origin: io.fullName),
];
return result;
}

View File

@@ -85,7 +85,6 @@ final List<RegExp> copyrightStatementPatterns = <RegExp>[
RegExp(r'^ *others\.?$', caseSensitive: false),
RegExp(r'^for more details\.$', caseSensitive: false),
RegExp(r'^ *For more info read ([^ ]+)$', caseSensitive: false),
RegExp(r'^ *For terms of use, see ([^ ]+)$', caseSensitive: false),
RegExp(r'^(?:Google )?Author\(?s?\)?: .+', caseSensitive: false),
RegExp(r'^Written by .+', caseSensitive: false),
RegExp(r'^Originally written by .+', caseSensitive: false),
@@ -629,7 +628,7 @@ class MultipleVersionedLicenseReferencePattern {
this.firstPrefixIndex,
this.indentPrefixIndex,
this.licenseIndices,
this.versionIndices,
this.versionIndicies,
this.checkLocalFirst = true,
this.pattern
});
@@ -638,7 +637,7 @@ class MultipleVersionedLicenseReferencePattern {
final int indentPrefixIndex;
final List<int> licenseIndices;
final bool checkLocalFirst;
final Map<int, int> versionIndices;
final Map<int, int> versionIndicies;
final RegExp pattern;
}
@@ -664,7 +663,7 @@ final List<MultipleVersionedLicenseReferencePattern> csReferencesByUrl = <Multip
firstPrefixIndex: 1,
indentPrefixIndex: 2,
licenseIndices: const <int>[3],
versionIndices: const <int, int>{ 3:4 },
versionIndicies: const <int, int>{ 3:4 },
checkLocalFirst: false,
pattern: RegExp(
kIndent + r'Licensed under the (Academic Free License) version (3\.0)',
@@ -799,7 +798,7 @@ final List<MultipleVersionedLicenseReferencePattern> csReferencesByUrl = <Multip
firstPrefixIndex: 1,
indentPrefixIndex: 2,
licenseIndices: const <int>[3],
versionIndices: const <int, int>{3:4},
versionIndicies: const <int, int>{3:4},
checkLocalFirst: false,
pattern: RegExp(
kIndent +
@@ -817,7 +816,7 @@ final List<MultipleVersionedLicenseReferencePattern> csReferencesByUrl = <Multip
firstPrefixIndex: 1,
indentPrefixIndex: 2,
licenseIndices: const <int>[5, 6],
versionIndices: const <int, int>{5:3, 6:4},
versionIndicies: const <int, int>{5:3, 6:4},
pattern: RegExp(
kIndent +
r'This file is part of the GNU ISO C\+\+ Library\. +This library is free *\n'
@@ -850,7 +849,7 @@ final List<MultipleVersionedLicenseReferencePattern> csReferencesByUrl = <Multip
firstPrefixIndex: 1,
indentPrefixIndex: 2,
licenseIndices: const <int>[5, 6],
versionIndices: const <int, int>{5:3, 6:4},
versionIndicies: const <int, int>{5:3, 6:4},
pattern: RegExp(
kIndent +
r'This file is part of the GNU ISO C\+\+ Library\. +This library is free *\n'
@@ -883,7 +882,7 @@ final List<MultipleVersionedLicenseReferencePattern> csReferencesByUrl = <Multip
firstPrefixIndex: 1,
indentPrefixIndex: 2,
licenseIndices: const <int>[6, 4],
versionIndices: const <int, int>{6:3, 4:5},
versionIndicies: const <int, int>{6:3, 4:5},
pattern: RegExp(
kIndent +
r'This file is part of the GNU ISO C\+\+ Library\. +This library is free *\n'
@@ -915,7 +914,7 @@ final List<MultipleVersionedLicenseReferencePattern> csReferencesByUrl = <Multip
firstPrefixIndex: 1,
indentPrefixIndex: 2,
licenseIndices: const <int>[5, 6],
versionIndices: const <int, int>{5:3, 6:4},
versionIndicies: const <int, int>{5:3, 6:4},
pattern: RegExp(
kIndent +
r'This file is part of GCC. *\n'
@@ -949,7 +948,7 @@ final List<MultipleVersionedLicenseReferencePattern> csReferencesByUrl = <Multip
firstPrefixIndex: 1,
indentPrefixIndex: 2,
licenseIndices: const <int>[5, 6],
versionIndices: const <int, int>{ 5:3, 6:4 },
versionIndicies: const <int, int>{ 5:3, 6:4 },
pattern: RegExp(
kIndent +
r'This file is part of GCC. *\n'
@@ -983,7 +982,7 @@ final List<MultipleVersionedLicenseReferencePattern> csReferencesByUrl = <Multip
firstPrefixIndex: 1,
indentPrefixIndex: 2,
licenseIndices: const <int>[4],
versionIndices: const <int, int>{ 4:3 },
versionIndicies: const <int, int>{ 4:3 },
pattern: RegExp(
kIndent +
r'This library is free software; you can redistribute it and/or *\n'
@@ -1011,7 +1010,7 @@ final List<MultipleVersionedLicenseReferencePattern> csReferencesByUrl = <Multip
firstPrefixIndex: 1,
indentPrefixIndex: 2,
licenseIndices: const <int>[4],
versionIndices: const <int, int>{ 4:3 },
versionIndicies: const <int, int>{ 4:3 },
pattern: RegExp(
kIndent +
r'Licensed under the Academic Free License version 2.0 *\n'
@@ -1042,7 +1041,7 @@ final List<MultipleVersionedLicenseReferencePattern> csReferencesByUrl = <Multip
firstPrefixIndex: 1,
indentPrefixIndex: 2,
licenseIndices: const <int>[4],
versionIndices: const <int, int>{ 4:3 },
versionIndicies: const <int, int>{ 4:3 },
pattern: RegExp(
kIndent +
r'This Source Code Form is subject to the terms of the Mozilla Public *\n'
@@ -1059,7 +1058,7 @@ final List<MultipleVersionedLicenseReferencePattern> csReferencesByUrl = <Multip
firstPrefixIndex: 1,
indentPrefixIndex: 2,
licenseIndices: const <int>[3], // 5 is lgpl, which we're actively not selecting
versionIndices: const <int, int>{ 3:4 }, // 5:6 for lgpl
versionIndicies: const <int, int>{ 3:4 }, // 5:6 for lgpl
pattern: RegExp(
kIndent +
r'(?:Version: [GMPL/012. ]+ *\n'
@@ -1113,7 +1112,7 @@ final List<MultipleVersionedLicenseReferencePattern> csReferencesByUrl = <Multip
firstPrefixIndex: 1,
indentPrefixIndex: 2,
licenseIndices: const <int>[4],
versionIndices: const <int, int>{ 4:3 },
versionIndicies: const <int, int>{ 4:3 },
pattern: RegExp(
kIndent +
r'This library is free software; you can redistribute it and/or *\n'