0001 Valid-License-Identifier: MPL-1.1
0002 SPDX-URL: https://spdx.org/licenses/MPL-1.1.html
0003 Usage-Guide:
0004 Do NOT use. The MPL-1.1 is not GPL2 compatible. It may only be used for
0005 dual-licensed files where the other license is GPL2 compatible.
0006 If you end up using this it MUST be used together with a GPL2 compatible
0007 license using "OR".
0008 To use the Mozilla Public License version 1.1 put the following SPDX
0009 tag/value pair into a comment according to the placement guidelines in
0010 the licensing rules documentation:
0011 SPDX-License-Identifier: MPL-1.1
0012 License-Text:
0013
0014 MOZILLA PUBLIC LICENSE
0015 Version 1.1
0016
0017 ---------------
0018
0019 1. Definitions.
0020
0021 1.0.1. "Commercial Use" means distribution or otherwise making the
0022 Covered Code available to a third party.
0023
0024 1.1. "Contributor" means each entity that creates or contributes to
0025 the creation of Modifications.
0026
0027 1.2. "Contributor Version" means the combination of the Original
0028 Code, prior Modifications used by a Contributor, and the Modifications
0029 made by that particular Contributor.
0030
0031 1.3. "Covered Code" means the Original Code or Modifications or the
0032 combination of the Original Code and Modifications, in each case
0033 including portions thereof.
0034
0035 1.4. "Electronic Distribution Mechanism" means a mechanism generally
0036 accepted in the software development community for the electronic
0037 transfer of data.
0038
0039 1.5. "Executable" means Covered Code in any form other than Source
0040 Code.
0041
0042 1.6. "Initial Developer" means the individual or entity identified
0043 as the Initial Developer in the Source Code notice required by Exhibit
0044 A.
0045
0046 1.7. "Larger Work" means a work which combines Covered Code or
0047 portions thereof with code not governed by the terms of this License.
0048
0049 1.8. "License" means this document.
0050
0051 1.8.1. "Licensable" means having the right to grant, to the maximum
0052 extent possible, whether at the time of the initial grant or
0053 subsequently acquired, any and all of the rights conveyed herein.
0054
0055 1.9. "Modifications" means any addition to or deletion from the
0056 substance or structure of either the Original Code or any previous
0057 Modifications. When Covered Code is released as a series of files, a
0058 Modification is:
0059 A. Any addition to or deletion from the contents of a file
0060 containing Original Code or previous Modifications.
0061
0062 B. Any new file that contains any part of the Original Code or
0063 previous Modifications.
0064
0065 1.10. "Original Code" means Source Code of computer software code
0066 which is described in the Source Code notice required by Exhibit A as
0067 Original Code, and which, at the time of its release under this
0068 License is not already Covered Code governed by this License.
0069
0070 1.10.1. "Patent Claims" means any patent claim(s), now owned or
0071 hereafter acquired, including without limitation, method, process,
0072 and apparatus claims, in any patent Licensable by grantor.
0073
0074 1.11. "Source Code" means the preferred form of the Covered Code for
0075 making modifications to it, including all modules it contains, plus
0076 any associated interface definition files, scripts used to control
0077 compilation and installation of an Executable, or source code
0078 differential comparisons against either the Original Code or another
0079 well known, available Covered Code of the Contributor's choice. The
0080 Source Code can be in a compressed or archival form, provided the
0081 appropriate decompression or de-archiving software is widely available
0082 for no charge.
0083
0084 1.12. "You" (or "Your") means an individual or a legal entity
0085 exercising rights under, and complying with all of the terms of, this
0086 License or a future version of this License issued under Section 6.1.
0087 For legal entities, "You" includes any entity which controls, is
0088 controlled by, or is under common control with You. For purposes of
0089 this definition, "control" means (a) the power, direct or indirect,
0090 to cause the direction or management of such entity, whether by
0091 contract or otherwise, or (b) ownership of more than fifty percent
0092 (50%) of the outstanding shares or beneficial ownership of such
0093 entity.
0094
0095 2. Source Code License.
0096
0097 2.1. The Initial Developer Grant.
0098 The Initial Developer hereby grants You a world-wide, royalty-free,
0099 non-exclusive license, subject to third party intellectual property
0100 claims:
0101 (a) under intellectual property rights (other than patent or
0102 trademark) Licensable by Initial Developer to use, reproduce,
0103 modify, display, perform, sublicense and distribute the Original
0104 Code (or portions thereof) with or without Modifications, and/or
0105 as part of a Larger Work; and
0106
0107 (b) under Patents Claims infringed by the making, using or
0108 selling of Original Code, to make, have made, use, practice,
0109 sell, and offer for sale, and/or otherwise dispose of the
0110 Original Code (or portions thereof).
0111
0112 (c) the licenses granted in this Section 2.1(a) and (b) are
0113 effective on the date Initial Developer first distributes
0114 Original Code under the terms of this License.
0115
0116 (d) Notwithstanding Section 2.1(b) above, no patent license is
0117 granted: 1) for code that You delete from the Original Code; 2)
0118 separate from the Original Code; or 3) for infringements caused
0119 by: i) the modification of the Original Code or ii) the
0120 combination of the Original Code with other software or devices.
0121
0122 2.2. Contributor Grant.
0123 Subject to third party intellectual property claims, each Contributor
0124 hereby grants You a world-wide, royalty-free, non-exclusive license
0125
0126 (a) under intellectual property rights (other than patent or
0127 trademark) Licensable by Contributor, to use, reproduce, modify,
0128 display, perform, sublicense and distribute the Modifications
0129 created by such Contributor (or portions thereof) either on an
0130 unmodified basis, with other Modifications, as Covered Code
0131 and/or as part of a Larger Work; and
0132
0133 (b) under Patent Claims infringed by the making, using, or
0134 selling of Modifications made by that Contributor either alone
0135 and/or in combination with its Contributor Version (or portions
0136 of such combination), to make, use, sell, offer for sale, have
0137 made, and/or otherwise dispose of: 1) Modifications made by that
0138 Contributor (or portions thereof); and 2) the combination of
0139 Modifications made by that Contributor with its Contributor
0140 Version (or portions of such combination).
0141
0142 (c) the licenses granted in Sections 2.2(a) and 2.2(b) are
0143 effective on the date Contributor first makes Commercial Use of
0144 the Covered Code.
0145
0146 (d) Notwithstanding Section 2.2(b) above, no patent license is
0147 granted: 1) for any code that Contributor has deleted from the
0148 Contributor Version; 2) separate from the Contributor Version;
0149 3) for infringements caused by: i) third party modifications of
0150 Contributor Version or ii) the combination of Modifications made
0151 by that Contributor with other software (except as part of the
0152 Contributor Version) or other devices; or 4) under Patent Claims
0153 infringed by Covered Code in the absence of Modifications made by
0154 that Contributor.
0155
0156 3. Distribution Obligations.
0157
0158 3.1. Application of License.
0159 The Modifications which You create or to which You contribute are
0160 governed by the terms of this License, including without limitation
0161 Section 2.2. The Source Code version of Covered Code may be
0162 distributed only under the terms of this License or a future version
0163 of this License released under Section 6.1, and You must include a
0164 copy of this License with every copy of the Source Code You
0165 distribute. You may not offer or impose any terms on any Source Code
0166 version that alters or restricts the applicable version of this
0167 License or the recipients' rights hereunder. However, You may include
0168 an additional document offering the additional rights described in
0169 Section 3.5.
0170
0171 3.2. Availability of Source Code.
0172 Any Modification which You create or to which You contribute must be
0173 made available in Source Code form under the terms of this License
0174 either on the same media as an Executable version or via an accepted
0175 Electronic Distribution Mechanism to anyone to whom you made an
0176 Executable version available; and if made available via Electronic
0177 Distribution Mechanism, must remain available for at least twelve (12)
0178 months after the date it initially became available, or at least six
0179 (6) months after a subsequent version of that particular Modification
0180 has been made available to such recipients. You are responsible for
0181 ensuring that the Source Code version remains available even if the
0182 Electronic Distribution Mechanism is maintained by a third party.
0183
0184 3.3. Description of Modifications.
0185 You must cause all Covered Code to which You contribute to contain a
0186 file documenting the changes You made to create that Covered Code and
0187 the date of any change. You must include a prominent statement that
0188 the Modification is derived, directly or indirectly, from Original
0189 Code provided by the Initial Developer and including the name of the
0190 Initial Developer in (a) the Source Code, and (b) in any notice in an
0191 Executable version or related documentation in which You describe the
0192 origin or ownership of the Covered Code.
0193
0194 3.4. Intellectual Property Matters
0195 (a) Third Party Claims.
0196 If Contributor has knowledge that a license under a third party's
0197 intellectual property rights is required to exercise the rights
0198 granted by such Contributor under Sections 2.1 or 2.2,
0199 Contributor must include a text file with the Source Code
0200 distribution titled "LEGAL" which describes the claim and the
0201 party making the claim in sufficient detail that a recipient will
0202 know whom to contact. If Contributor obtains such knowledge after
0203 the Modification is made available as described in Section 3.2,
0204 Contributor shall promptly modify the LEGAL file in all copies
0205 Contributor makes available thereafter and shall take other steps
0206 (such as notifying appropriate mailing lists or newsgroups)
0207 reasonably calculated to inform those who received the Covered
0208 Code that new knowledge has been obtained.
0209
0210 (b) Contributor APIs.
0211 If Contributor's Modifications include an application programming
0212 interface and Contributor has knowledge of patent licenses which
0213 are reasonably necessary to implement that API, Contributor must
0214 also include this information in the LEGAL file.
0215
0216 (c) Representations.
0217 Contributor represents that, except as disclosed pursuant to
0218 Section 3.4(a) above, Contributor believes that Contributor's
0219 Modifications are Contributor's original creation(s) and/or
0220 Contributor has sufficient rights to grant the rights conveyed by
0221 this License.
0222
0223 3.5. Required Notices.
0224 You must duplicate the notice in Exhibit A in each file of the Source
0225 Code. If it is not possible to put such notice in a particular Source
0226 Code file due to its structure, then You must include such notice in a
0227 location (such as a relevant directory) where a user would be likely
0228 to look for such a notice. If You created one or more Modification(s)
0229 You may add your name as a Contributor to the notice described in
0230 Exhibit A. You must also duplicate this License in any documentation
0231 for the Source Code where You describe recipients' rights or ownership
0232 rights relating to Covered Code. You may choose to offer, and to
0233 charge a fee for, warranty, support, indemnity or liability
0234 obligations to one or more recipients of Covered Code. However, You
0235 may do so only on Your own behalf, and not on behalf of the Initial
0236 Developer or any Contributor. You must make it absolutely clear than
0237 any such warranty, support, indemnity or liability obligation is
0238 offered by You alone, and You hereby agree to indemnify the Initial
0239 Developer and every Contributor for any liability incurred by the
0240 Initial Developer or such Contributor as a result of warranty,
0241 support, indemnity or liability terms You offer.
0242
0243 3.6. Distribution of Executable Versions.
0244 You may distribute Covered Code in Executable form only if the
0245 requirements of Section 3.1-3.5 have been met for that Covered Code,
0246 and if You include a notice stating that the Source Code version of
0247 the Covered Code is available under the terms of this License,
0248 including a description of how and where You have fulfilled the
0249 obligations of Section 3.2. The notice must be conspicuously included
0250 in any notice in an Executable version, related documentation or
0251 collateral in which You describe recipients' rights relating to the
0252 Covered Code. You may distribute the Executable version of Covered
0253 Code or ownership rights under a license of Your choice, which may
0254 contain terms different from this License, provided that You are in
0255 compliance with the terms of this License and that the license for the
0256 Executable version does not attempt to limit or alter the recipient's
0257 rights in the Source Code version from the rights set forth in this
0258 License. If You distribute the Executable version under a different
0259 license You must make it absolutely clear that any terms which differ
0260 from this License are offered by You alone, not by the Initial
0261 Developer or any Contributor. You hereby agree to indemnify the
0262 Initial Developer and every Contributor for any liability incurred by
0263 the Initial Developer or such Contributor as a result of any such
0264 terms You offer.
0265
0266 3.7. Larger Works.
0267 You may create a Larger Work by combining Covered Code with other code
0268 not governed by the terms of this License and distribute the Larger
0269 Work as a single product. In such a case, You must make sure the
0270 requirements of this License are fulfilled for the Covered Code.
0271
0272 4. Inability to Comply Due to Statute or Regulation.
0273
0274 If it is impossible for You to comply with any of the terms of this
0275 License with respect to some or all of the Covered Code due to
0276 statute, judicial order, or regulation then You must: (a) comply with
0277 the terms of this License to the maximum extent possible; and (b)
0278 describe the limitations and the code they affect. Such description
0279 must be included in the LEGAL file described in Section 3.4 and must
0280 be included with all distributions of the Source Code. Except to the
0281 extent prohibited by statute or regulation, such description must be
0282 sufficiently detailed for a recipient of ordinary skill to be able to
0283 understand it.
0284
0285 5. Application of this License.
0286
0287 This License applies to code to which the Initial Developer has
0288 attached the notice in Exhibit A and to related Covered Code.
0289
0290 6. Versions of the License.
0291
0292 6.1. New Versions.
0293 Netscape Communications Corporation ("Netscape") may publish revised
0294 and/or new versions of the License from time to time. Each version
0295 will be given a distinguishing version number.
0296
0297 6.2. Effect of New Versions.
0298 Once Covered Code has been published under a particular version of the
0299 License, You may always continue to use it under the terms of that
0300 version. You may also choose to use such Covered Code under the terms
0301 of any subsequent version of the License published by Netscape. No one
0302 other than Netscape has the right to modify the terms applicable to
0303 Covered Code created under this License.
0304
0305 6.3. Derivative Works.
0306 If You create or use a modified version of this License (which you may
0307 only do in order to apply it to code which is not already Covered Code
0308 governed by this License), You must (a) rename Your license so that
0309 the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape",
0310 "MPL", "NPL" or any confusingly similar phrase do not appear in your
0311 license (except to note that your license differs from this License)
0312 and (b) otherwise make it clear that Your version of the license
0313 contains terms which differ from the Mozilla Public License and
0314 Netscape Public License. (Filling in the name of the Initial
0315 Developer, Original Code or Contributor in the notice described in
0316 Exhibit A shall not of themselves be deemed to be modifications of
0317 this License.)
0318
0319 7. DISCLAIMER OF WARRANTY.
0320
0321 COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
0322 WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
0323 WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
0324 DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
0325 THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
0326 IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
0327 YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
0328 COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
0329 OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
0330 ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
0331
0332 8. TERMINATION.
0333
0334 8.1. This License and the rights granted hereunder will terminate
0335 automatically if You fail to comply with terms herein and fail to cure
0336 such breach within 30 days of becoming aware of the breach. All
0337 sublicenses to the Covered Code which are properly granted shall
0338 survive any termination of this License. Provisions which, by their
0339 nature, must remain in effect beyond the termination of this License
0340 shall survive.
0341
0342 8.2. If You initiate litigation by asserting a patent infringement
0343 claim (excluding declatory judgment actions) against Initial Developer
0344 or a Contributor (the Initial Developer or Contributor against whom
0345 You file such action is referred to as "Participant") alleging that:
0346
0347 (a) such Participant's Contributor Version directly or indirectly
0348 infringes any patent, then any and all rights granted by such
0349 Participant to You under Sections 2.1 and/or 2.2 of this License
0350 shall, upon 60 days notice from Participant terminate prospectively,
0351 unless if within 60 days after receipt of notice You either: (i)
0352 agree in writing to pay Participant a mutually agreeable reasonable
0353 royalty for Your past and future use of Modifications made by such
0354 Participant, or (ii) withdraw Your litigation claim with respect to
0355 the Contributor Version against such Participant. If within 60 days
0356 of notice, a reasonable royalty and payment arrangement are not
0357 mutually agreed upon in writing by the parties or the litigation claim
0358 is not withdrawn, the rights granted by Participant to You under
0359 Sections 2.1 and/or 2.2 automatically terminate at the expiration of
0360 the 60 day notice period specified above.
0361
0362 (b) any software, hardware, or device, other than such Participant's
0363 Contributor Version, directly or indirectly infringes any patent, then
0364 any rights granted to You by such Participant under Sections 2.1(b)
0365 and 2.2(b) are revoked effective as of the date You first made, used,
0366 sold, distributed, or had made, Modifications made by that
0367 Participant.
0368
0369 8.3. If You assert a patent infringement claim against Participant
0370 alleging that such Participant's Contributor Version directly or
0371 indirectly infringes any patent where such claim is resolved (such as
0372 by license or settlement) prior to the initiation of patent
0373 infringement litigation, then the reasonable value of the licenses
0374 granted by such Participant under Sections 2.1 or 2.2 shall be taken
0375 into account in determining the amount or value of any payment or
0376 license.
0377
0378 8.4. In the event of termination under Sections 8.1 or 8.2 above,
0379 all end user license agreements (excluding distributors and resellers)
0380 which have been validly granted by You or any distributor hereunder
0381 prior to termination shall survive termination.
0382
0383 9. LIMITATION OF LIABILITY.
0384
0385 UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
0386 (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
0387 DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
0388 OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
0389 ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
0390 CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
0391 WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
0392 COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
0393 INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
0394 LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
0395 RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
0396 PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
0397 EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
0398 THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
0399
0400 10. U.S. GOVERNMENT END USERS.
0401
0402 The Covered Code is a "commercial item," as that term is defined in
0403 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
0404 software" and "commercial computer software documentation," as such
0405 terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48
0406 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
0407 all U.S. Government End Users acquire Covered Code with only those
0408 rights set forth herein.
0409
0410 11. MISCELLANEOUS.
0411
0412 This License represents the complete agreement concerning subject
0413 matter hereof. If any provision of this License is held to be
0414 unenforceable, such provision shall be reformed only to the extent
0415 necessary to make it enforceable. This License shall be governed by
0416 California law provisions (except to the extent applicable law, if
0417 any, provides otherwise), excluding its conflict-of-law provisions.
0418 With respect to disputes in which at least one party is a citizen of,
0419 or an entity chartered or registered to do business in the United
0420 States of America, any litigation relating to this License shall be
0421 subject to the jurisdiction of the Federal Courts of the Northern
0422 District of California, with venue lying in Santa Clara County,
0423 California, with the losing party responsible for costs, including
0424 without limitation, court costs and reasonable attorneys' fees and
0425 expenses. The application of the United Nations Convention on
0426 Contracts for the International Sale of Goods is expressly excluded.
0427 Any law or regulation which provides that the language of a contract
0428 shall be construed against the drafter shall not apply to this
0429 License.
0430
0431 12. RESPONSIBILITY FOR CLAIMS.
0432
0433 As between Initial Developer and the Contributors, each party is
0434 responsible for claims and damages arising, directly or indirectly,
0435 out of its utilization of rights under this License and You agree to
0436 work with Initial Developer and Contributors to distribute such
0437 responsibility on an equitable basis. Nothing herein is intended or
0438 shall be deemed to constitute any admission of liability.
0439
0440 13. MULTIPLE-LICENSED CODE.
0441
0442 Initial Developer may designate portions of the Covered Code as
0443 "Multiple-Licensed". "Multiple-Licensed" means that the Initial
0444 Developer permits you to utilize portions of the Covered Code under
0445 Your choice of the MPL or the alternative licenses, if any, specified
0446 by the Initial Developer in the file described in Exhibit A.
0447
0448 EXHIBIT A -Mozilla Public License.
0449
0450 ``The contents of this file are subject to the Mozilla Public License
0451 Version 1.1 (the "License"); you may not use this file except in
0452 compliance with the License. You may obtain a copy of the License at
0453 https://www.mozilla.org/MPL/
0454
0455 Software distributed under the License is distributed on an "AS IS"
0456 basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
0457 License for the specific language governing rights and limitations
0458 under the License.
0459
0460 The Original Code is ______________________________________.
0461
0462 The Initial Developer of the Original Code is ________________________.
0463 Portions created by ______________________ are Copyright (C) ______
0464 _______________________. All Rights Reserved.
0465
0466 Contributor(s): ______________________________________.
0467
0468 Alternatively, the contents of this file may be used under the terms
0469 of the _____ license (the "[___] License"), in which case the
0470 provisions of [______] License are applicable instead of those
0471 above. If you wish to allow use of your version of this file only
0472 under the terms of the [____] License and not to allow others to use
0473 your version of this file under the MPL, indicate your decision by
0474 deleting the provisions above and replace them with the notice and
0475 other provisions required by the [___] License. If you do not delete
0476 the provisions above, a recipient may use your version of this file
0477 under either the MPL or the [___] License."
0478
0479 [NOTE: The text of this Exhibit A may differ slightly from the text of
0480 the notices in the Source Code files of the Original Code. You should
0481 use the text of this Exhibit A rather than the text found in the
0482 Original Code Source Code for Your Modifications.]