charnik@540: Mozilla Public License Version 2.0 charnik@540: ================================== charnik@540: charnik@540: 1. Definitions charnik@540: -------------- charnik@540: charnik@540: 1.1. "Contributor" charnik@540: means each individual or legal entity that creates, contributes to charnik@540: the creation of, or owns Covered Software. charnik@540: charnik@540: 1.2. "Contributor Version" charnik@540: means the combination of the Contributions of others (if any) used charnik@540: by a Contributor and that particular Contributor's Contribution. charnik@540: charnik@540: 1.3. "Contribution" charnik@540: means Covered Software of a particular Contributor. charnik@540: charnik@540: 1.4. "Covered Software" charnik@540: means Source Code Form to which the initial Contributor has attached charnik@540: the notice in Exhibit A, the Executable Form of such Source Code charnik@540: Form, and Modifications of such Source Code Form, in each case charnik@540: including portions thereof. charnik@540: charnik@540: 1.5. "Incompatible With Secondary Licenses" charnik@540: means charnik@540: charnik@540: (a) that the initial Contributor has attached the notice described charnik@540: in Exhibit B to the Covered Software; or charnik@540: charnik@540: (b) that the Covered Software was made available under the terms of charnik@540: version 1.1 or earlier of the License, but not also under the charnik@540: terms of a Secondary License. charnik@540: charnik@540: 1.6. "Executable Form" charnik@540: means any form of the work other than Source Code Form. charnik@540: charnik@540: 1.7. "Larger Work" charnik@540: means a work that combines Covered Software with other material, in charnik@540: a separate file or files, that is not Covered Software. charnik@540: charnik@540: 1.8. "License" charnik@540: means this document. charnik@540: charnik@540: 1.9. "Licensable" charnik@540: means having the right to grant, to the maximum extent possible, charnik@540: whether at the time of the initial grant or subsequently, any and charnik@540: all of the rights conveyed by this License. charnik@540: charnik@540: 1.10. "Modifications" charnik@540: means any of the following: charnik@540: charnik@540: (a) any file in Source Code Form that results from an addition to, charnik@540: deletion from, or modification of the contents of Covered charnik@540: Software; or charnik@540: charnik@540: (b) any new file in Source Code Form that contains any Covered charnik@540: Software. charnik@540: charnik@540: 1.11. "Patent Claims" of a Contributor charnik@540: means any patent claim(s), including without limitation, method, charnik@540: process, and apparatus claims, in any patent Licensable by such charnik@540: Contributor that would be infringed, but for the grant of the charnik@540: License, by the making, using, selling, offering for sale, having charnik@540: made, import, or transfer of either its Contributions or its charnik@540: Contributor Version. charnik@540: charnik@540: 1.12. "Secondary License" charnik@540: means either the GNU General Public License, Version 2.0, the GNU charnik@540: Lesser General Public License, Version 2.1, the GNU Affero General charnik@540: Public License, Version 3.0, or any later versions of those charnik@540: licenses. charnik@540: charnik@540: 1.13. "Source Code Form" charnik@540: means the form of the work preferred for making modifications. charnik@540: charnik@540: 1.14. "You" (or "Your") charnik@540: means an individual or a legal entity exercising rights under this charnik@540: License. For legal entities, "You" includes any entity that charnik@540: controls, is controlled by, or is under common control with You. For charnik@540: purposes of this definition, "control" means (a) the power, direct charnik@540: or indirect, to cause the direction or management of such entity, charnik@540: whether by contract or otherwise, or (b) ownership of more than charnik@540: fifty percent (50%) of the outstanding shares or beneficial charnik@540: ownership of such entity. charnik@540: charnik@540: 2. License Grants and Conditions charnik@540: -------------------------------- charnik@540: charnik@540: 2.1. Grants charnik@540: charnik@540: Each Contributor hereby grants You a world-wide, royalty-free, charnik@540: non-exclusive license: charnik@540: charnik@540: (a) under intellectual property rights (other than patent or trademark) charnik@540: Licensable by such Contributor to use, reproduce, make available, charnik@540: modify, display, perform, distribute, and otherwise exploit its charnik@540: Contributions, either on an unmodified basis, with Modifications, or charnik@540: as part of a Larger Work; and charnik@540: charnik@540: (b) under Patent Claims of such Contributor to make, use, sell, offer charnik@540: for sale, have made, import, and otherwise transfer either its charnik@540: Contributions or its Contributor Version. charnik@540: charnik@540: 2.2. Effective Date charnik@540: charnik@540: The licenses granted in Section 2.1 with respect to any Contribution charnik@540: become effective for each Contribution on the date the Contributor first charnik@540: distributes such Contribution. charnik@540: charnik@540: 2.3. Limitations on Grant Scope charnik@540: charnik@540: The licenses granted in this Section 2 are the only rights granted under charnik@540: this License. No additional rights or licenses will be implied from the charnik@540: distribution or licensing of Covered Software under this License. charnik@540: Notwithstanding Section 2.1(b) above, no patent license is granted by a charnik@540: Contributor: charnik@540: charnik@540: (a) for any code that a Contributor has removed from Covered Software; charnik@540: or charnik@540: charnik@540: (b) for infringements caused by: (i) Your and any other third party's charnik@540: modifications of Covered Software, or (ii) the combination of its charnik@540: Contributions with other software (except as part of its Contributor charnik@540: Version); or charnik@540: charnik@540: (c) under Patent Claims infringed by Covered Software in the absence of charnik@540: its Contributions. charnik@540: charnik@540: This License does not grant any rights in the trademarks, service marks, charnik@540: or logos of any Contributor (except as may be necessary to comply with charnik@540: the notice requirements in Section 3.4). charnik@540: charnik@540: 2.4. Subsequent Licenses charnik@540: charnik@540: No Contributor makes additional grants as a result of Your choice to charnik@540: distribute the Covered Software under a subsequent version of this charnik@540: License (see Section 10.2) or under the terms of a Secondary License (if charnik@540: permitted under the terms of Section 3.3). charnik@540: charnik@540: 2.5. Representation charnik@540: charnik@540: Each Contributor represents that the Contributor believes its charnik@540: Contributions are its original creation(s) or it has sufficient rights charnik@540: to grant the rights to its Contributions conveyed by this License. charnik@540: charnik@540: 2.6. Fair Use charnik@540: charnik@540: This License is not intended to limit any rights You have under charnik@540: applicable copyright doctrines of fair use, fair dealing, or other charnik@540: equivalents. charnik@540: charnik@540: 2.7. Conditions charnik@540: charnik@540: Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted charnik@540: in Section 2.1. charnik@540: charnik@540: 3. Responsibilities charnik@540: ------------------- charnik@540: charnik@540: 3.1. Distribution of Source Form charnik@540: charnik@540: All distribution of Covered Software in Source Code Form, including any charnik@540: Modifications that You create or to which You contribute, must be under charnik@540: the terms of this License. You must inform recipients that the Source charnik@540: Code Form of the Covered Software is governed by the terms of this charnik@540: License, and how they can obtain a copy of this License. You may not charnik@540: attempt to alter or restrict the recipients' rights in the Source Code charnik@540: Form. charnik@540: charnik@540: 3.2. Distribution of Executable Form charnik@540: charnik@540: If You distribute Covered Software in Executable Form then: charnik@540: charnik@540: (a) such Covered Software must also be made available in Source Code charnik@540: Form, as described in Section 3.1, and You must inform recipients of charnik@540: the Executable Form how they can obtain a copy of such Source Code charnik@540: Form by reasonable means in a timely manner, at a charge no more charnik@540: than the cost of distribution to the recipient; and charnik@540: charnik@540: (b) You may distribute such Executable Form under the terms of this charnik@540: License, or sublicense it under different terms, provided that the charnik@540: license for the Executable Form does not attempt to limit or alter charnik@540: the recipients' rights in the Source Code Form under this License. charnik@540: charnik@540: 3.3. Distribution of a Larger Work charnik@540: charnik@540: You may create and distribute a Larger Work under terms of Your choice, charnik@540: provided that You also comply with the requirements of this License for charnik@540: the Covered Software. If the Larger Work is a combination of Covered charnik@540: Software with a work governed by one or more Secondary Licenses, and the charnik@540: Covered Software is not Incompatible With Secondary Licenses, this charnik@540: License permits You to additionally distribute such Covered Software charnik@540: under the terms of such Secondary License(s), so that the recipient of charnik@540: the Larger Work may, at their option, further distribute the Covered charnik@540: Software under the terms of either this License or such Secondary charnik@540: License(s). charnik@540: charnik@540: 3.4. Notices charnik@540: charnik@540: You may not remove or alter the substance of any license notices charnik@540: (including copyright notices, patent notices, disclaimers of warranty, charnik@540: or limitations of liability) contained within the Source Code Form of charnik@540: the Covered Software, except that You may alter any license notices to charnik@540: the extent required to remedy known factual inaccuracies. charnik@540: charnik@540: 3.5. Application of Additional Terms charnik@540: charnik@540: You may choose to offer, and to charge a fee for, warranty, support, charnik@540: indemnity or liability obligations to one or more recipients of Covered charnik@540: Software. However, You may do so only on Your own behalf, and not on charnik@540: behalf of any Contributor. You must make it absolutely clear that any charnik@540: such warranty, support, indemnity, or liability obligation is offered by charnik@540: You alone, and You hereby agree to indemnify every Contributor for any charnik@540: liability incurred by such Contributor as a result of warranty, support, charnik@540: indemnity or liability terms You offer. You may include additional charnik@540: disclaimers of warranty and limitations of liability specific to any charnik@540: jurisdiction. charnik@540: charnik@540: 4. Inability to Comply Due to Statute or Regulation charnik@540: --------------------------------------------------- charnik@540: charnik@540: If it is impossible for You to comply with any of the terms of this charnik@540: License with respect to some or all of the Covered Software due to charnik@540: statute, judicial order, or regulation then You must: (a) comply with charnik@540: the terms of this License to the maximum extent possible; and (b) charnik@540: describe the limitations and the code they affect. Such description must charnik@540: be placed in a text file included with all distributions of the Covered charnik@540: Software under this License. Except to the extent prohibited by statute charnik@540: or regulation, such description must be sufficiently detailed for a charnik@540: recipient of ordinary skill to be able to understand it. charnik@540: charnik@540: 5. Termination charnik@540: -------------- charnik@540: charnik@540: 5.1. The rights granted under this License will terminate automatically charnik@540: if You fail to comply with any of its terms. However, if You become charnik@540: compliant, then the rights granted under this License from a particular charnik@540: Contributor are reinstated (a) provisionally, unless and until such charnik@540: Contributor explicitly and finally terminates Your grants, and (b) on an charnik@540: ongoing basis, if such Contributor fails to notify You of the charnik@540: non-compliance by some reasonable means prior to 60 days after You have charnik@540: come back into compliance. Moreover, Your grants from a particular charnik@540: Contributor are reinstated on an ongoing basis if such Contributor charnik@540: notifies You of the non-compliance by some reasonable means, this is the charnik@540: first time You have received notice of non-compliance with this License charnik@540: from such Contributor, and You become compliant prior to 30 days after charnik@540: Your receipt of the notice. charnik@540: charnik@540: 5.2. If You initiate litigation against any entity by asserting a patent charnik@540: infringement claim (excluding declaratory judgment actions, charnik@540: counter-claims, and cross-claims) alleging that a Contributor Version charnik@540: directly or indirectly infringes any patent, then the rights granted to charnik@540: You by any and all Contributors for the Covered Software under Section charnik@540: 2.1 of this License shall terminate. charnik@540: charnik@540: 5.3. In the event of termination under Sections 5.1 or 5.2 above, all charnik@540: end user license agreements (excluding distributors and resellers) which charnik@540: have been validly granted by You or Your distributors under this License charnik@540: prior to termination shall survive termination. charnik@540: charnik@540: ************************************************************************ charnik@540: * * charnik@540: * 6. Disclaimer of Warranty * charnik@540: * ------------------------- * charnik@540: * * charnik@540: * Covered Software is provided under this License on an "as is" * charnik@540: * basis, without warranty of any kind, either expressed, implied, or * charnik@540: * statutory, including, without limitation, warranties that the * charnik@540: * Covered Software is free of defects, merchantable, fit for a * charnik@540: * particular purpose or non-infringing. The entire risk as to the * charnik@540: * quality and performance of the Covered Software is with You. * charnik@540: * Should any Covered Software prove defective in any respect, You * charnik@540: * (not any Contributor) assume the cost of any necessary servicing, * charnik@540: * repair, or correction. This disclaimer of warranty constitutes an * charnik@540: * essential part of this License. No use of any Covered Software is * charnik@540: * authorized under this License except under this disclaimer. * charnik@540: * * charnik@540: ************************************************************************ charnik@540: charnik@540: ************************************************************************ charnik@540: * * charnik@540: * 7. Limitation of Liability * charnik@540: * -------------------------- * charnik@540: * * charnik@540: * Under no circumstances and under no legal theory, whether tort * charnik@540: * (including negligence), contract, or otherwise, shall any * charnik@540: * Contributor, or anyone who distributes Covered Software as * charnik@540: * permitted above, be liable to You for any direct, indirect, * charnik@540: * special, incidental, or consequential damages of any character * charnik@540: * including, without limitation, damages for lost profits, loss of * charnik@540: * goodwill, work stoppage, computer failure or malfunction, or any * charnik@540: * and all other commercial damages or losses, even if such party * charnik@540: * shall have been informed of the possibility of such damages. This * charnik@540: * limitation of liability shall not apply to liability for death or * charnik@540: * personal injury resulting from such party's negligence to the * charnik@540: * extent applicable law prohibits such limitation. Some * charnik@540: * jurisdictions do not allow the exclusion or limitation of * charnik@540: * incidental or consequential damages, so this exclusion and * charnik@540: * limitation may not apply to You. * charnik@540: * * charnik@540: ************************************************************************ charnik@540: charnik@540: 8. Litigation charnik@540: ------------- charnik@540: charnik@540: Any litigation relating to this License may be brought only in the charnik@540: courts of a jurisdiction where the defendant maintains its principal charnik@540: place of business and such litigation shall be governed by laws of that charnik@540: jurisdiction, without reference to its conflict-of-law provisions. charnik@540: Nothing in this Section shall prevent a party's ability to bring charnik@540: cross-claims or counter-claims. charnik@540: charnik@540: 9. Miscellaneous charnik@540: ---------------- charnik@540: charnik@540: This License represents the complete agreement concerning the subject charnik@540: matter hereof. If any provision of this License is held to be charnik@540: unenforceable, such provision shall be reformed only to the extent charnik@540: necessary to make it enforceable. Any law or regulation which provides charnik@540: that the language of a contract shall be construed against the drafter charnik@540: shall not be used to construe this License against a Contributor. charnik@540: charnik@540: 10. Versions of the License charnik@540: --------------------------- charnik@540: charnik@540: 10.1. New Versions charnik@540: charnik@540: Mozilla Foundation is the license steward. Except as provided in Section charnik@540: 10.3, no one other than the license steward has the right to modify or charnik@540: publish new versions of this License. Each version will be given a charnik@540: distinguishing version number. charnik@540: charnik@540: 10.2. Effect of New Versions charnik@540: charnik@540: You may distribute the Covered Software under the terms of the version charnik@540: of the License under which You originally received the Covered Software, charnik@540: or under the terms of any subsequent version published by the license charnik@540: steward. charnik@540: charnik@540: 10.3. Modified Versions charnik@540: charnik@540: If you create software not governed by this License, and you want to charnik@540: create a new license for such software, you may create and use a charnik@540: modified version of this License if you rename the license and remove charnik@540: any references to the name of the license steward (except to note that charnik@540: such modified license differs from this License). charnik@540: charnik@540: 10.4. Distributing Source Code Form that is Incompatible With Secondary charnik@540: Licenses charnik@540: charnik@540: If You choose to distribute Source Code Form that is Incompatible With charnik@540: Secondary Licenses under the terms of this version of the License, the charnik@540: notice described in Exhibit B of this License must be attached. charnik@540: charnik@540: Exhibit A - Source Code Form License Notice charnik@540: ------------------------------------------- charnik@540: charnik@540: This Source Code Form is subject to the terms of the Mozilla Public charnik@540: License, v. 2.0. If a copy of the MPL was not distributed with this charnik@540: file, You can obtain one at http://mozilla.org/MPL/2.0/. charnik@540: charnik@540: If it is not possible or desirable to put the notice in a particular charnik@540: file, then You may include the notice in a location (such as a LICENSE charnik@540: file in a relevant directory) where a recipient would be likely to look charnik@540: for such a notice. charnik@540: charnik@540: You may add additional accurate notices of copyright ownership. charnik@540: charnik@540: Exhibit B - "Incompatible With Secondary Licenses" Notice charnik@540: --------------------------------------------------------- charnik@540: charnik@540: This Source Code Form is "Incompatible With Secondary Licenses", as charnik@540: defined by the Mozilla Public License, v. 2.0.