Permissions of this weak copyleft license are conditioned on making available source code of licensed files and modifications of those files under the same license (or in certain cases, one of the GNU licenses). Copyright and license notices must be preserved. Contributors provide an express grant of patent rights. However, a larger work using the licensed work may be distributed under different terms and without source code for files added in the larger work.
Mozilla Public License Version 2.0==================================1. Definitions--------------1.1. "Contributor"means each individual or legal entity that creates, contributes tothe creation of, or owns Covered Software.1.2. "Contributor Version"means the combination of the Contributions of others (if any) usedby a Contributor and that particular Contributor's Contribution.1.3. "Contribution"means Covered Software of a particular Contributor.1.4. "Covered Software"means Source Code Form to which the initial Contributor has attachedthe notice in Exhibit A, the Executable Form of such Source CodeForm, and Modifications of such Source Code Form, in each caseincluding portions thereof.1.5. "Incompatible With Secondary Licenses"means(a) that the initial Contributor has attached the notice describedin Exhibit B to the Covered Software; or(b) that the Covered Software was made available under the terms ofversion 1.1 or earlier of the License, but not also under theterms of a Secondary License.1.6. "Executable Form"means any form of the work other than Source Code Form.1.7. "Larger Work"means a work that combines Covered Software with other material, ina separate file or files, that is not Covered Software.1.8. "License"means this document.1.9. "Licensable"means having the right to grant, to the maximum extent possible,whether at the time of the initial grant or subsequently, any andall of the rights conveyed by this License.1.10. "Modifications"means any of the following:(a) any file in Source Code Form that results from an addition to,deletion from, or modification of the contents of CoveredSoftware; or(b) any new file in Source Code Form that contains any CoveredSoftware.1.11. "Patent Claims" of a Contributormeans any patent claim(s), including without limitation, method,process, and apparatus claims, in any patent Licensable by suchContributor that would be infringed, but for the grant of theLicense, by the making, using, selling, offering for sale, havingmade, import, or transfer of either its Contributions or itsContributor Version.1.12. "Secondary License"means either the GNU General Public License, Version 2.0, the GNULesser General Public License, Version 2.1, the GNU Affero GeneralPublic License, Version 3.0, or any later versions of thoselicenses.1.13. "Source Code Form"means the form of the work preferred for making modifications.1.14. "You" (or "Your")means an individual or a legal entity exercising rights under thisLicense. For legal entities, "You" includes any entity thatcontrols, is controlled by, or is under common control with You. Forpurposes of this definition, "control" means (a) the power, director indirect, to cause the direction or management of such entity,whether by contract or otherwise, or (b) ownership of more thanfifty percent (50%) of the outstanding shares or beneficialownership of such entity.2. License Grants and Conditions--------------------------------2.1. GrantsEach Contributor hereby grants You a world-wide, royalty-free,non-exclusive license:(a) under intellectual property rights (other than patent or trademark)Licensable by such Contributor to use, reproduce, make available,modify, display, perform, distribute, and otherwise exploit itsContributions, either on an unmodified basis, with Modifications, oras part of a Larger Work; and(b) under Patent Claims of such Contributor to make, use, sell, offerfor sale, have made, import, and otherwise transfer either itsContributions or its Contributor Version.2.2. Effective DateThe licenses granted in Section 2.1 with respect to any Contributionbecome effective for each Contribution on the date the Contributor firstdistributes such Contribution.2.3. Limitations on Grant ScopeThe licenses granted in this Section 2 are the only rights granted underthis License. No additional rights or licenses will be implied from thedistribution or licensing of Covered Software under this License.Notwithstanding Section 2.1(b) above, no patent license is granted by aContributor:(a) for any code that a Contributor has removed from Covered Software;or(b) for infringements caused by: (i) Your and any other third party'smodifications of Covered Software, or (ii) the combination of itsContributions with other software (except as part of its ContributorVersion); or(c) under Patent Claims infringed by Covered Software in the absence ofits Contributions.This License does not grant any rights in the trademarks, service marks,or logos of any Contributor (except as may be necessary to comply withthe notice requirements in Section 3.4).2.4. Subsequent LicensesNo Contributor makes additional grants as a result of Your choice todistribute the Covered Software under a subsequent version of thisLicense (see Section 10.2) or under the terms of a Secondary License (ifpermitted under the terms of Section 3.3).2.5. RepresentationEach Contributor represents that the Contributor believes itsContributions are its original creation(s) or it has sufficient rightsto grant the rights to its Contributions conveyed by this License.2.6. Fair UseThis License is not intended to limit any rights You have underapplicable copyright doctrines of fair use, fair dealing, or otherequivalents.2.7. ConditionsSections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses grantedin Section 2.1.3. Responsibilities-------------------3.1. Distribution of Source FormAll distribution of Covered Software in Source Code Form, including anyModifications that You create or to which You contribute, must be underthe terms of this License. You must inform recipients that the SourceCode Form of the Covered Software is governed by the terms of thisLicense, and how they can obtain a copy of this License. You may notattempt to alter or restrict the recipients' rights in the Source CodeForm.3.2. Distribution of Executable FormIf You distribute Covered Software in Executable Form then:(a) such Covered Software must also be made available in Source CodeForm, as described in Section 3.1, and You must inform recipients ofthe Executable Form how they can obtain a copy of such Source CodeForm by reasonable means in a timely manner, at a charge no morethan the cost of distribution to the recipient; and(b) You may distribute such Executable Form under the terms of thisLicense, or sublicense it under different terms, provided that thelicense for the Executable Form does not attempt to limit or alterthe recipients' rights in the Source Code Form under this License.3.3. Distribution of a Larger WorkYou may create and distribute a Larger Work under terms of Your choice,provided that You also comply with the requirements of this License forthe Covered Software. If the Larger Work is a combination of CoveredSoftware with a work governed by one or more Secondary Licenses, and theCovered Software is not Incompatible With Secondary Licenses, thisLicense permits You to additionally distribute such Covered Softwareunder the terms of such Secondary License(s), so that the recipient ofthe Larger Work may, at their option, further distribute the CoveredSoftware under the terms of either this License or such SecondaryLicense(s).3.4. NoticesYou may not remove or alter the substance of any license notices(including copyright notices, patent notices, disclaimers of warranty,or limitations of liability) contained within the Source Code Form ofthe Covered Software, except that You may alter any license notices tothe extent required to remedy known factual inaccuracies.3.5. Application of Additional TermsYou may choose to offer, and to charge a fee for, warranty, support,indemnity or liability obligations to one or more recipients of CoveredSoftware. However, You may do so only on Your own behalf, and not onbehalf of any Contributor. You must make it absolutely clear that anysuch warranty, support, indemnity, or liability obligation is offered byYou alone, and You hereby agree to indemnify every Contributor for anyliability incurred by such Contributor as a result of warranty, support,indemnity or liability terms You offer. You may include additionaldisclaimers of warranty and limitations of liability specific to anyjurisdiction.4. Inability to Comply Due to Statute or Regulation---------------------------------------------------If it is impossible for You to comply with any of the terms of thisLicense with respect to some or all of the Covered Software due tostatute, judicial order, or regulation then You must: (a) comply withthe terms of this License to the maximum extent possible; and (b)describe the limitations and the code they affect. Such description mustbe placed in a text file included with all distributions of the CoveredSoftware under this License. Except to the extent prohibited by statuteor regulation, such description must be sufficiently detailed for arecipient of ordinary skill to be able to understand it.5. Termination--------------5.1. The rights granted under this License will terminate automaticallyif You fail to comply with any of its terms. However, if You becomecompliant, then the rights granted under this License from a particularContributor are reinstated (a) provisionally, unless and until suchContributor explicitly and finally terminates Your grants, and (b) on anongoing basis, if such Contributor fails to notify You of thenon-compliance by some reasonable means prior to 60 days after You havecome back into compliance. Moreover, Your grants from a particularContributor are reinstated on an ongoing basis if such Contributornotifies You of the non-compliance by some reasonable means, this is thefirst time You have received notice of non-compliance with this Licensefrom such Contributor, and You become compliant prior to 30 days afterYour receipt of the notice.5.2. If You initiate litigation against any entity by asserting a patentinfringement claim (excluding declaratory judgment actions,counter-claims, and cross-claims) alleging that a Contributor Versiondirectly or indirectly infringes any patent, then the rights granted toYou by any and all Contributors for the Covered Software under Section2.1 of this License shall terminate.5.3. In the event of termination under Sections 5.1 or 5.2 above, allend user license agreements (excluding distributors and resellers) whichhave been validly granted by You or Your distributors under this Licenseprior to termination shall survive termination.************************************************************************* ** 6. Disclaimer of Warranty ** ------------------------- ** ** Covered Software is provided under this License on an "as is" ** basis, without warranty of any kind, either expressed, implied, or ** statutory, including, without limitation, warranties that the ** Covered Software is free of defects, merchantable, fit for a ** particular purpose or non-infringing. The entire risk as to the ** quality and performance of the Covered Software is with You. ** Should any Covered Software prove defective in any respect, You ** (not any Contributor) assume the cost of any necessary servicing, ** repair, or correction. This disclaimer of warranty constitutes an ** essential part of this License. No use of any Covered Software is ** authorized under this License except under this disclaimer. ** ************************************************************************************************************************************************** ** 7. Limitation of Liability ** -------------------------- ** ** Under no circumstances and under no legal theory, whether tort ** (including negligence), contract, or otherwise, shall any ** Contributor, or anyone who distributes Covered Software as ** permitted above, be liable to You for any direct, indirect, ** special, incidental, or consequential damages of any character ** including, without limitation, damages for lost profits, loss of ** goodwill, work stoppage, computer failure or malfunction, or any ** and all other commercial damages or losses, even if such party ** shall have been informed of the possibility of such damages. This ** limitation of liability shall not apply to liability for death or ** personal injury resulting from such party's negligence to the ** extent applicable law prohibits such limitation. Some ** jurisdictions do not allow the exclusion or limitation of ** incidental or consequential damages, so this exclusion and ** limitation may not apply to You. ** *************************************************************************8. Litigation-------------Any litigation relating to this License may be brought only in thecourts of a jurisdiction where the defendant maintains its principalplace of business and such litigation shall be governed by laws of thatjurisdiction, without reference to its conflict-of-law provisions.Nothing in this Section shall prevent a party's ability to bringcross-claims or counter-claims.9. Miscellaneous----------------This License represents the complete agreement concerning the subjectmatter hereof. If any provision of this License is held to beunenforceable, such provision shall be reformed only to the extentnecessary to make it enforceable. Any law or regulation which providesthat the language of a contract shall be construed against the draftershall not be used to construe this License against a Contributor.10. Versions of the License---------------------------10.1. New VersionsMozilla Foundation is the license steward. Except as provided in Section10.3, no one other than the license steward has the right to modify orpublish new versions of this License. Each version will be given adistinguishing version number.10.2. Effect of New VersionsYou may distribute the Covered Software under the terms of the versionof the License under which You originally received the Covered Software,or under the terms of any subsequent version published by the licensesteward.10.3. Modified VersionsIf you create software not governed by this License, and you want tocreate a new license for such software, you may create and use amodified version of this License if you rename the license and removeany references to the name of the license steward (except to note thatsuch modified license differs from this License).10.4. Distributing Source Code Form that is Incompatible With SecondaryLicensesIf You choose to distribute Source Code Form that is Incompatible WithSecondary Licenses under the terms of this version of the License, thenotice described in Exhibit B of this License must be attached.Exhibit A - Source Code Form License Notice-------------------------------------------This Source Code Form is subject to the terms of the Mozilla PublicLicense, v. 2.0. If a copy of the MPL was not distributed with thisfile, You can obtain one at http://mozilla.org/MPL/2.0/.If it is not possible or desirable to put the notice in a particularfile, then You may include the notice in a location (such as a LICENSEfile in a relevant directory) where a recipient would be likely to lookfor such a notice.You may add additional accurate notices of copyright ownership.Exhibit B - "Incompatible With Secondary Licenses" Notice---------------------------------------------------------This Source Code Form is "Incompatible With Secondary Licenses", asdefined by the Mozilla Public License, v. 2.0.