Blame SOURCES/mpl-1.1.txt

3fb340
                           MOZILLA PUBLIC LICENSE
3fb340
                                Version 1.0
3fb340
3fb340
                              ----------------
3fb340
3fb340
1. Definitions.
3fb340
3fb340
     1.1. ``Contributor'' means each entity that creates or contributes to
3fb340
     the creation of Modifications.
3fb340
3fb340
     1.2. ``Contributor Version'' means the combination of the Original
3fb340
     Code, prior Modifications used by a Contributor, and the Modifications
3fb340
     made by that particular Contributor.
3fb340
3fb340
     1.3. ``Covered Code'' means the Original Code or Modifications or the
3fb340
     combination of the Original Code and Modifications, in each case
3fb340
     including portions thereof.
3fb340
3fb340
     1.4. ``Electronic Distribution Mechanism'' means a mechanism generally
3fb340
     accepted in the software development community for the electronic
3fb340
     transfer of data.
3fb340
3fb340
     1.5. ``Executable'' means Covered Code in any form other than Source
3fb340
     Code.
3fb340
3fb340
     1.6. ``Initial Developer'' means the individual or entity identified as
3fb340
     the Initial Developer in the Source Code notice required by Exhibit A.
3fb340
3fb340
     1.7. ``Larger Work'' means a work which combines Covered Code or
3fb340
     portions thereof with code not governed by the terms of this License.
3fb340
3fb340
     1.8. ``License'' means this document.
3fb340
3fb340
     1.9. ``Modifications'' means any addition to or deletion from the
3fb340
     substance or structure of either the Original Code or any previous
3fb340
     Modifications. When Covered Code is released as a series of files, a
3fb340
     Modification is:
3fb340
3fb340
          A. Any addition to or deletion from the contents of a file
3fb340
          containing Original Code or previous Modifications.
3fb340
3fb340
          B. Any new file that contains any part of the Original Code or
3fb340
          previous Modifications.
3fb340
3fb340
     1.10. ``Original Code'' means Source Code of computer software code
3fb340
     which is described in the Source Code notice required by Exhibit A as
3fb340
     Original Code, and which, at the time of its release under this License
3fb340
     is not already Covered Code governed by this License.
3fb340
3fb340
     1.11. ``Source Code'' means the preferred form of the Covered Code for
3fb340
     making modifications to it, including all modules it contains, plus any
3fb340
     associated interface definition files, scripts used to control
3fb340
     compilation and installation of an Executable, or a list of source code
3fb340
     differential comparisons against either the Original Code or another
3fb340
     well known, available Covered Code of the Contributor's choice. The
3fb340
     Source Code can be in a compressed or archival form, provided the
3fb340
     appropriate decompression or de-archiving software is widely available
3fb340
     for no charge.
3fb340
3fb340
     1.12. ``You'' means an individual or a legal entity exercising rights
3fb340
     under, and complying with all of the terms of, this License or a future
3fb340
     version of this License issued under Section 6.1. For legal entities,
3fb340
     ``You'' includes any entity which controls, is controlled by, or is
3fb340
     under common control with You. For purposes of this definition,
3fb340
     ``control'' means (a) the power, direct or indirect, to cause the
3fb340
     direction or management of such entity, whether by contract or
3fb340
     otherwise, or (b) ownership of fifty percent (50%) or more of the
3fb340
     outstanding shares or beneficial ownership of such entity.
3fb340
3fb340
2. Source Code License.
3fb340
3fb340
     2.1. The Initial Developer Grant.
3fb340
     The Initial Developer hereby grants You a world-wide, royalty-free,
3fb340
     non-exclusive license, subject to third party intellectual property
3fb340
     claims:
3fb340
3fb340
          (a) to use, reproduce, modify, display, perform, sublicense and
3fb340
          distribute the Original Code (or portions thereof) with or without
3fb340
          Modifications, or as part of a Larger Work; and
3fb340
3fb340
          (b) under patents now or hereafter owned or controlled by Initial
3fb340
          Developer, to make, have made, use and sell (``Utilize'') the
3fb340
          Original Code (or portions thereof), but solely to the extent that
3fb340
          any such patent is reasonably necessary to enable You to Utilize
3fb340
          the Original Code (or portions thereof) and not to any greater
3fb340
          extent that may be necessary to Utilize further Modifications or
3fb340
          combinations.
3fb340
3fb340
     2.2. Contributor Grant.
3fb340
     Each Contributor hereby grants You a world-wide, royalty-free,
3fb340
     non-exclusive license, subject to third party intellectual property
3fb340
     claims:
3fb340
3fb340
          (a) to use, reproduce, modify, display, perform, sublicense and
3fb340
          distribute the Modifications created by such Contributor (or
3fb340
          portions thereof) either on an unmodified basis, with other
3fb340
          Modifications, as Covered Code or as part of a Larger Work; and
3fb340
3fb340
          (b) under patents now or hereafter owned or controlled by
3fb340
          Contributor, to Utilize the Contributor Version (or portions
3fb340
          thereof), but solely to the extent that any such patent is
3fb340
          reasonably necessary to enable You to Utilize the Contributor
3fb340
          Version (or portions thereof), and not to any greater extent that
3fb340
          may be necessary to Utilize further Modifications or combinations.
3fb340
3fb340
3. Distribution Obligations.
3fb340
3fb340
     3.1. Application of License.
3fb340
     The Modifications which You create or to which You contribute are
3fb340
     governed by the terms of this License, including without limitation
3fb340
     Section 2.2. The Source Code version of Covered Code may be distributed
3fb340
     only under the terms of this License or a future version of this
3fb340
     License released under Section 6.1, and You must include a copy of this
3fb340
     License with every copy of the Source Code You distribute. You may not
3fb340
     offer or impose any terms on any Source Code version that alters or
3fb340
     restricts the applicable version of this License or the recipients'
3fb340
     rights hereunder. However, You may include an additional document
3fb340
     offering the additional rights described in Section 3.5.
3fb340
3fb340
     3.2. Availability of Source Code.
3fb340
     Any Modification which You create or to which You contribute must be
3fb340
     made available in Source Code form under the terms of this License
3fb340
     either on the same media as an Executable version or via an accepted
3fb340
     Electronic Distribution Mechanism to anyone to whom you made an
3fb340
     Executable version available; and if made available via Electronic
3fb340
     Distribution Mechanism, must remain available for at least twelve (12)
3fb340
     months after the date it initially became available, or at least six
3fb340
     (6) months after a subsequent version of that particular Modification
3fb340
     has been made available to such recipients. You are responsible for
3fb340
     ensuring that the Source Code version remains available even if the
3fb340
     Electronic Distribution Mechanism is maintained by a third party.
3fb340
3fb340
     3.3. Description of Modifications.
3fb340
     You must cause all Covered Code to which you contribute to contain a
3fb340
     file documenting the changes You made to create that Covered Code and
3fb340
     the date of any change. You must include a prominent statement that the
3fb340
     Modification is derived, directly or indirectly, from Original Code
3fb340
     provided by the Initial Developer and including the name of the Initial
3fb340
     Developer in (a) the Source Code, and (b) in any notice in an
3fb340
     Executable version or related documentation in which You describe the
3fb340
     origin or ownership of the Covered Code.
3fb340
3fb340
     3.4. Intellectual Property Matters
3fb340
3fb340
          (a) Third Party Claims.
3fb340
          If You have knowledge that a party claims an intellectual property
3fb340
          right in particular functionality or code (or its utilization
3fb340
          under this License), you must include a text file with the source
3fb340
          code distribution titled ``LEGAL'' which describes the claim and
3fb340
          the party making the claim in sufficient detail that a recipient
3fb340
          will know whom to contact. If you obtain such knowledge after You
3fb340
          make Your Modification available as described in Section 3.2, You
3fb340
          shall promptly modify the LEGAL file in all copies You make
3fb340
          available thereafter and shall take other steps (such as notifying
3fb340
          appropriate mailing lists or newsgroups) reasonably calculated to
3fb340
          inform those who received the Covered Code that new knowledge has
3fb340
          been obtained.
3fb340
3fb340
          (b) Contributor APIs.
3fb340
          If Your Modification is an application programming interface and
3fb340
          You own or control patents which are reasonably necessary to
3fb340
          implement that API, you must also include this information in the
3fb340
          LEGAL file.
3fb340
3fb340
     3.5. Required Notices.
3fb340
     You must duplicate the notice in Exhibit A in each file of the Source
3fb340
     Code, and this License in any documentation for the Source Code, where
3fb340
     You describe recipients' rights relating to Covered Code. If You
3fb340
     created one or more Modification(s), You may add your name as a
3fb340
     Contributor to the notice described in Exhibit A. If it is not possible
3fb340
     to put such notice in a particular Source Code file due to its
3fb340
     structure, then you must include such notice in a location (such as a
3fb340
     relevant directory file) where a user would be likely to look for such
3fb340
     a notice. You may choose to offer, and to charge a fee for, warranty,
3fb340
     support, indemnity or liability obligations to one or more recipients
3fb340
     of Covered Code. However, You may do so only on Your own behalf, and
3fb340
     not on behalf of the Initial Developer or any Contributor. You must
3fb340
     make it absolutely clear than any such warranty, support, indemnity or
3fb340
     liability obligation is offered by You alone, and You hereby agree to
3fb340
     indemnify the Initial Developer and every Contributor for any liability
3fb340
     incurred by the Initial Developer or such Contributor as a result of
3fb340
     warranty, support, indemnity or liability terms You offer.
3fb340
3fb340
     3.6. Distribution of Executable Versions.
3fb340
     You may distribute Covered Code in Executable form only if the
3fb340
     requirements of Section 3.1-3.5 have been met for that Covered Code,
3fb340
     and if You include a notice stating that the Source Code version of the
3fb340
     Covered Code is available under the terms of this License, including a
3fb340
     description of how and where You have fulfilled the obligations of
3fb340
     Section 3.2. The notice must be conspicuously included in any notice in
3fb340
     an Executable version, related documentation or collateral in which You
3fb340
     describe recipients' rights relating to the Covered Code. You may
3fb340
     distribute the Executable version of Covered Code under a license of
3fb340
     Your choice, which may contain terms different from this License,
3fb340
     provided that You are in compliance with the terms of this License and
3fb340
     that the license for the Executable version does not attempt to limit
3fb340
     or alter the recipient's rights in the Source Code version from the
3fb340
     rights set forth in this License. If You distribute the Executable
3fb340
     version under a different license You must make it absolutely clear
3fb340
     that any terms which differ from this License are offered by You alone,
3fb340
     not by the Initial Developer or any Contributor. You hereby agree to
3fb340
     indemnify the Initial Developer and every Contributor for any liability
3fb340
     incurred by the Initial Developer or such Contributor as a result of
3fb340
     any such terms You offer.
3fb340
3fb340
     3.7. Larger Works.
3fb340
     You may create a Larger Work by combining Covered Code with other code
3fb340
     not governed by the terms of this License and distribute the Larger
3fb340
     Work as a single product. In such a case, You must make sure the
3fb340
     requirements of this License are fulfilled for the Covered Code.
3fb340
3fb340
4. Inability to Comply Due to Statute or Regulation.
3fb340
3fb340
     If it is impossible for You to comply with any of the terms of this
3fb340
     License with respect to some or all of the Covered Code due to statute
3fb340
     or regulation then You must: (a) comply with the terms of this License
3fb340
     to the maximum extent possible; and (b) describe the limitations and
3fb340
     the code they affect. Such description must be included in the LEGAL
3fb340
     file described in Section 3.4 and must be included with all
3fb340
     distributions of the Source Code. Except to the extent prohibited by
3fb340
     statute or regulation, such description must be sufficiently detailed
3fb340
     for a recipient of ordinary skill to be able to understand it.
3fb340
3fb340
5. Application of this License.
3fb340
3fb340
     This License applies to code to which the Initial Developer has
3fb340
     attached the notice in Exhibit A, and to related Covered Code.
3fb340
3fb340
6. Versions of the License.
3fb340
3fb340
     6.1. New Versions.
3fb340
     Netscape Communications Corporation (``Netscape'') may publish revised
3fb340
     and/or new versions of the License from time to time. Each version will
3fb340
     be given a distinguishing version number.
3fb340
3fb340
     6.2. Effect of New Versions.
3fb340
     Once Covered Code has been published under a particular version of the
3fb340
     License, You may always continue to use it under the terms of that
3fb340
     version. You may also choose to use such Covered Code under the terms
3fb340
     of any subsequent version of the License published by Netscape. No one
3fb340
     other than Netscape has the right to modify the terms applicable to
3fb340
     Covered Code created under this License.
3fb340
3fb340
     6.3. Derivative Works.
3fb340
     If you create or use a modified version of this License (which you may
3fb340
     only do in order to apply it to code which is not already Covered Code
3fb340
     governed by this License), you must (a) rename Your license so that the
3fb340
     phrases ``Mozilla'', ``MOZILLAPL'', ``MOZPL'', ``Netscape'', ``NPL'' or
3fb340
     any confusingly similar phrase do not appear anywhere in your license
3fb340
     and (b) otherwise make it clear that your version of the license
3fb340
     contains terms which differ from the Mozilla Public License and
3fb340
     Netscape Public License. (Filling in the name of the Initial Developer,
3fb340
     Original Code or Contributor in the notice described in Exhibit A shall
3fb340
     not of themselves be deemed to be modifications of this License.)
3fb340
3fb340
7. DISCLAIMER OF WARRANTY.
3fb340
3fb340
     COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN ``AS IS'' BASIS,
3fb340
     WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
3fb340
     WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
3fb340
     DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
3fb340
     THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
3fb340
     IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
3fb340
     YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
3fb340
     COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
3fb340
     OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
3fb340
     ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
3fb340
3fb340
8. TERMINATION.
3fb340
3fb340
     This License and the rights granted hereunder will terminate
3fb340
     automatically if You fail to comply with terms herein and fail to cure
3fb340
     such breach within 30 days of becoming aware of the breach. All
3fb340
     sublicenses to the Covered Code which are properly granted shall
3fb340
     survive any termination of this License. Provisions which, by their
3fb340
     nature, must remain in effect beyond the termination of this License
3fb340
     shall survive.
3fb340
3fb340
9. LIMITATION OF LIABILITY.
3fb340
3fb340
     UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
3fb340
     (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL THE INITIAL
3fb340
     DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
3fb340
     OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO YOU OR ANY OTHER
3fb340
     PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
3fb340
     OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF
3fb340
     GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND
3fb340
     ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE
3fb340
     BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
3fb340
     LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
3fb340
     RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
3fb340
     PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
3fb340
     EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THAT
3fb340
     EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
3fb340
3fb340
10. U.S. GOVERNMENT END USERS.
3fb340
3fb340
     The Covered Code is a ``commercial item,'' as that term is defined in
3fb340
     48 C.F.R. 2.101 (Oct. 1995), consisting of ``commercial computer
3fb340
     software'' and ``commercial computer software documentation,'' as such
3fb340
     terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48
3fb340
     C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
3fb340
     all U.S. Government End Users acquire Covered Code with only those
3fb340
     rights set forth herein.
3fb340
3fb340
11. MISCELLANEOUS.
3fb340
3fb340
     This License represents the complete agreement concerning subject
3fb340
     matter hereof. If any provision of this License is held to be
3fb340
     unenforceable, such provision shall be reformed only to the extent
3fb340
     necessary to make it enforceable. This License shall be governed by
3fb340
     California law provisions (except to the extent applicable law, if any,
3fb340
     provides otherwise), excluding its conflict-of-law provisions. With
3fb340
     respect to disputes in which at least one party is a citizen of, or an
3fb340
     entity chartered or registered to do business in, the United States of
3fb340
     America: (a) unless otherwise agreed in writing, all disputes relating
3fb340
     to this License (excepting any dispute relating to intellectual
3fb340
     property rights) shall be subject to final and binding arbitration,
3fb340
     with the losing party paying all costs of arbitration; (b) any
3fb340
     arbitration relating to this Agreement shall be held in Santa Clara
3fb340
     County, California, under the auspices of JAMS/EndDispute; and (c) any
3fb340
     litigation relating to this Agreement shall be subject to the
3fb340
     jurisdiction of the Federal Courts of the Northern District of
3fb340
     California, with venue lying in Santa Clara County, California, with
3fb340
     the losing party responsible for costs, including without limitation,
3fb340
     court costs and reasonable attorneys fees and expenses. The application
3fb340
     of the United Nations Convention on Contracts for the International
3fb340
     Sale of Goods is expressly excluded. Any law or regulation which
3fb340
     provides that the language of a contract shall be construed against the
3fb340
     drafter shall not apply to this License.
3fb340
3fb340
12. RESPONSIBILITY FOR CLAIMS.
3fb340
3fb340
     Except in cases where another Contributor has failed to comply with
3fb340
     Section 3.4, You are responsible for damages arising, directly or
3fb340
     indirectly, out of Your utilization of rights under this License, based
3fb340
     on the number of copies of Covered Code you made available, the
3fb340
     revenues you received from utilizing such rights, and other relevant
3fb340
     factors. You agree to work with affected parties to distribute
3fb340
     responsibility on an equitable basis.
3fb340
3fb340
EXHIBIT A.
3fb340
3fb340
     ``The contents of this file are subject to the Mozilla Public License
3fb340
     Version 1.0 (the "License"); you may not use this file except in
3fb340
     compliance with the License. You may obtain a copy of the License at
3fb340
     http://www.mozilla.org/MPL/
3fb340
3fb340
     Software distributed under the License is distributed on an "AS IS"
3fb340
     basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
3fb340
     License for the specific language governing rights and limitations
3fb340
     under the License.
3fb340
3fb340
     The Original Code is ______________________________________.
3fb340
3fb340
     The Initial Developer of the Original Code is ________________________.
3fb340
     Portions created by ______________________ are Copyright (C) ______
3fb340
     _______________________. All Rights Reserved.
3fb340
3fb340
     Contributor(s): ______________________________________.''