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