Home | History | Annotate | Download | only in third_party
      1 The version of Rhino used in GWT is licensed under a dual license,
      2 Netscape Public License 1.1 / GNU General Public License.
      3 The text of the Netscape Public License
      4 is provided below (http://website-archive.mozilla.org/www.mozilla.org/mpl/MPL/NPL/1.1/):
      5 
      6 AMENDMENTS
      7 
      8 The Netscape Public License Version 1.1 ("NPL") consists of the
      9 Mozilla Public License Version 1.1 with the following Amendments,
     10 including Exhibit A-Netscape Public License.  Files identified with
     11 "Exhibit A-Netscape Public License" are governed by the Netscape
     12 Public License Version 1.1.
     13 
     14 Additional Terms applicable to the Netscape Public License.
     15 
     16     I. Effect.
     17 
     18        These additional terms described in this Netscape Public
     19        License -- Amendments shall apply to the Mozilla Communicator
     20        client code and to all Covered Code under this License.
     21 
     22    II. ''Netscape's Branded Code'' means Covered Code that Netscape
     23        distributes and/or permits others to distribute under one or
     24        more trademark(s) which are controlled by Netscape but which
     25        are not licensed for use under this License.
     26 
     27   III. Netscape and logo.
     28 
     29        This License does not grant any rights to use the trademarks
     30        "Netscape'', the "Netscape N and horizon'' logo or the
     31        "Netscape lighthouse" logo, "Netcenter", "Gecko", "Java" or
     32        "JavaScript", "Smart Browsing" even if such marks are included
     33        in the Original Code or Modifications.
     34 
     35    IV. Inability to Comply Due to Contractual Obligation.
     36 
     37        Prior to licensing the Original Code under this License,
     38        Netscape has licensed third party code for use in Netscape's
     39        Branded Code. To the extent that Netscape is limited
     40        contractually from making such third party code available under
     41        this License, Netscape may choose to reintegrate such code into
     42        Covered Code without being required to distribute such code in
     43        Source Code form, even if such code would otherwise be
     44        considered ''Modifications'' under this License.
     45 
     46     V. Use of Modifications and Covered Code by Initial Developer.
     47 
     48         V.1. In General.
     49 
     50              The obligations of Section 3 apply to Netscape, except to
     51              the extent specified in this Amendment, Section V.2 and
     52              V.3.
     53 
     54         V.2. Other Products.
     55 
     56              Netscape may include Covered Code in products other than
     57              the Netscape's Branded Code which are released by
     58              Netscape during the two (2) years following the release
     59              date of the Original Code, without such additional
     60              products becoming subject to the terms of this License,
     61              and may license such additional products on different
     62              terms from those contained in this License.
     63 
     64         V.3. Alternative Licensing.
     65 
     66              Netscape may license the Source Code of Netscape's
     67              Branded Code, including Modifications incorporated
     68              therein, without such Netscape Branded Code becoming
     69              subject to the terms of this License, and may license
     70              such Netscape Branded Code on different terms from those
     71              contained in this License.
     72 
     73     VI. Litigation.
     74 
     75         Notwithstanding the limitations of Section 11 above, the
     76         provisions regarding litigation in Section 11(a), (b) and (c)
     77         of the License shall apply to all disputes relating to this
     78         License.
     79 
     80 
     81 EXHIBIT A-Netscape Public License.
     82 
     83 
     84     ''The contents of this file are subject to the Netscape Public
     85     License Version 1.1 (the "License"); you may not use this file
     86     except in compliance with the License. You may obtain a copy of
     87     the License at http://www.mozilla.org/NPL/
     88 
     89     Software distributed under the License is distributed on an "AS
     90     IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
     91     implied. See the License for the specific language governing
     92     rights and limitations under the License.
     93 
     94     The Original Code is Mozilla Communicator client code, released
     95     March 31, 1998.
     96 
     97     The Initial Developer of the Original Code is Netscape
     98     Communications Corporation. Portions created by Netscape are
     99     Copyright (C) 1998-1999 Netscape Communications Corporation. All
    100     Rights Reserved.
    101 
    102     Contributor(s): ______________________________________.
    103 
    104 
    105     Alternatively, the contents of this file may be used under the
    106     terms of the _____ license (the [___] License), in which case
    107     the provisions of [______] License are applicable instead of those
    108     above.  If you wish to allow use of your version of this file only
    109     under the terms of the [____] License and not to allow others to
    110     use your version of this file under the NPL, indicate your
    111     decision by deleting the provisions above and replace them with
    112     the notice and other provisions required by the [___] License.  If
    113     you do not delete the provisions above, a recipient may use your
    114     version of this file under either the NPL or the [___] License."
    115 
    116 
    117 ----------------------
    118 
    119 MOZILLA PUBLIC LICENSE
    120 Version 1.1
    121 
    122 1. Definitions.
    123 
    124     1.0.1. "Commercial Use" means distribution or otherwise making the
    125     Covered Code available to a third party.
    126 
    127     1.1. ''Contributor'' means each entity that creates or contributes
    128     to the creation of Modifications.
    129 
    130     1.2. ''Contributor Version'' means the combination of the Original
    131     Code, prior Modifications used by a Contributor, and the
    132     Modifications made by that particular Contributor.
    133 
    134     1.3. ''Covered Code'' means the Original Code or Modifications or
    135     the combination of the Original Code and Modifications, in each
    136     case including portions thereof.
    137 
    138     1.4. ''Electronic Distribution Mechanism'' means a mechanism
    139     generally accepted in the software development community for the
    140     electronic transfer of data.
    141 
    142     1.5. ''Executable'' means Covered Code in any form other than Source Code.
    143 
    144     1.6. ''Initial Developer'' means the individual or entity
    145     identified as the Initial Developer in the Source Code notice
    146     required by Exhibit A.
    147 
    148     1.7. ''Larger Work'' means a work which combines Covered Code or
    149     portions thereof with code not governed by the terms of this
    150     License.
    151 
    152     1.8. ''License'' means this document.
    153 
    154     1.8.1. "Licensable" means having the right to grant, to the
    155     maximum extent possible, whether at the time of the initial grant
    156     or subsequently acquired, any and all of the rights conveyed
    157     herein.
    158 
    159     1.9. ''Modifications'' means any addition to or deletion from the
    160     substance or structure of either the Original Code or any previous
    161     Modifications. When Covered Code is released as a series of files,
    162     a Modification is:
    163 
    164         A. Any addition to or deletion from the contents of a file
    165         containing Original Code or previous Modifications.
    166 
    167         B. Any new file that contains any part of the Original Code or
    168         previous Modifications.
    169 
    170     1.10. ''Original Code'' means Source Code of computer software
    171     code which is described in the Source Code notice required by
    172     Exhibit A as Original Code, and which, at the time of its release
    173     under this License is not already Covered Code governed by this
    174     License.
    175 
    176     1.10.1. "Patent Claims" means any patent claim(s), now owned or
    177     hereafter acquired, including without limitation, method, process,
    178     and apparatus claims, in any patent Licensable by grantor.
    179 
    180     1.11. ''Source Code'' means the preferred form of the Covered Code
    181     for making modifications to it, including all modules it contains,
    182     plus any associated interface definition files, scripts used to
    183     control compilation and installation of an Executable, or source
    184     code differential comparisons against either the Original Code or
    185     another well known, available Covered Code of the Contributor's
    186     choice. The Source Code can be in a compressed or archival form,
    187     provided the appropriate decompression or de-archiving software is
    188     widely available for no charge.
    189 
    190     1.12. "You'' (or "Your") means an individual or a legal entity
    191     exercising rights under, and complying with all of the terms of,
    192     this License or a future version of this License issued under
    193     Section 6.1. For legal entities, "You'' includes any entity which
    194     controls, is controlled by, or is under common control with
    195     You. For purposes of this definition, "control'' means (a) the
    196     power, direct or indirect, to cause the direction or management of
    197     such entity, whether by contract or otherwise, or (b) ownership of
    198     more than fifty percent (50%) of the outstanding shares or
    199     beneficial ownership of such entity.
    200 
    201 2. Source Code License.
    202 
    203     2.1. The Initial Developer Grant.
    204 
    205     The Initial Developer hereby grants You a world-wide,
    206     royalty-free, non-exclusive license, subject to third party
    207     intellectual property claims:
    208 
    209         (a) under intellectual property rights (other than patent or
    210         trademark) Licensable by Initial Developer to use, reproduce,
    211         modify, display, perform, sublicense and distribute the
    212         Original Code (or portions thereof) with or without
    213         Modifications, and/or as part of a Larger Work; and
    214 
    215         (b) under Patents Claims infringed by the making, using or
    216         selling of Original Code, to make, have made, use, practice,
    217         sell, and offer for sale, and/or otherwise dispose of the
    218         Original Code (or portions thereof).
    219 
    220         (c) the licenses granted in this Section 2.1(a) and (b) are
    221         effective on the date Initial Developer first distributes
    222         Original Code under the terms of this License.
    223 
    224         (d) Notwithstanding Section 2.1(b) above, no patent license is
    225         granted: 1) for code that You delete from the Original Code;
    226         2) separate from the Original Code; or 3) for infringements
    227         caused by: i) the modification of the Original Code or ii) the
    228         combination of the Original Code with other software or
    229         devices.
    230 
    231     2.2. Contributor Grant.
    232 
    233     Subject to third party intellectual property claims, each
    234     Contributor hereby grants You a world-wide, royalty-free,
    235     non-exclusive license
    236 
    237         (a) under intellectual property rights (other than patent or
    238         trademark) Licensable by Contributor, to use, reproduce,
    239         modify, display, perform, sublicense and distribute the
    240         Modifications created by such Contributor (or portions
    241         thereof) either on an unmodified basis, with other
    242         Modifications, as Covered Code and/or as part of a Larger
    243         Work; and
    244 
    245         (b) under Patent Claims infringed by the making, using, or
    246         selling of Modifications made by that Contributor either alone
    247         and/or in combination with its Contributor Version (or
    248         portions of such combination), to make, use, sell, offer for
    249         sale, have made, and/or otherwise dispose of: 1) Modifications
    250         made by that Contributor (or portions thereof); and 2) the
    251         combination of Modifications made by that Contributor with its
    252         Contributor Version (or portions of such combination).
    253 
    254         (c) the licenses granted in Sections 2.2(a) and 2.2(b) are
    255         effective on the date Contributor first makes Commercial Use
    256         of the Covered Code.
    257 
    258         (d) Notwithstanding Section 2.2(b) above, no patent license is
    259         granted: 1) for any code that Contributor has deleted from the
    260         Contributor Version; 2) separate from the Contributor Version;
    261         3) for infringements caused by: i) third party modifications
    262         of Contributor Version or ii) the combination of Modifications
    263         made by that Contributor with other software (except as part
    264         of the Contributor Version) or other devices; or 4) under
    265         Patent Claims infringed by Covered Code in the absence of
    266         Modifications made by that Contributor.
    267 
    268 
    269 3. Distribution Obligations.
    270 
    271     3.1. Application of License.
    272 
    273     The Modifications which You create or to which You contribute are
    274     governed by the terms of this License, including without
    275     limitation Section 2.2. The Source Code version of Covered Code
    276     may be distributed only under the terms of this License or a
    277     future version of this License released under Section 6.1, and You
    278     must include a copy of this License with every copy of the Source
    279     Code You distribute. You may not offer or impose any terms on any
    280     Source Code version that alters or restricts the applicable
    281     version of this License or the recipients' rights
    282     hereunder. However, You may include an additional document
    283     offering the additional rights described in Section 3.5.
    284 
    285     3.2. Availability of Source Code.
    286 
    287     Any Modification which You create or to which You contribute must
    288     be made available in Source Code form under the terms of this
    289     License either on the same media as an Executable version or via
    290     an accepted Electronic Distribution Mechanism to anyone to whom
    291     you made an Executable version available; and if made available
    292     via Electronic Distribution Mechanism, must remain available for
    293     at least twelve (12) months after the date it initially became
    294     available, or at least six (6) months after a subsequent version
    295     of that particular Modification has been made available to such
    296     recipients. You are responsible for ensuring that the Source Code
    297     version remains available even if the Electronic Distribution
    298     Mechanism is maintained by a third party.
    299 
    300     3.3. Description of Modifications.
    301 
    302     You must cause all Covered Code to which You contribute to contain
    303     a file documenting the changes You made to create that Covered
    304     Code and the date of any change. You must include a prominent
    305     statement that the Modification is derived, directly or
    306     indirectly, from Original Code provided by the Initial Developer
    307     and including the name of the Initial Developer in (a) the Source
    308     Code, and (b) in any notice in an Executable version or related
    309     documentation in which You describe the origin or ownership of the
    310     Covered Code.
    311 
    312     3.4. Intellectual Property Matters
    313 
    314         (a) Third Party Claims.
    315 
    316         If Contributor has knowledge that a license under a third
    317         party's intellectual property rights is required to exercise
    318         the rights granted by such Contributor under Sections 2.1 or
    319         2.2, Contributor must include a text file with the Source Code
    320         distribution titled "LEGAL'' which describes the claim and the
    321         party making the claim in sufficient detail that a recipient
    322         will know whom to contact. If Contributor obtains such
    323         knowledge after the Modification is made available as
    324         described in Section 3.2, Contributor shall promptly modify
    325         the LEGAL file in all copies Contributor makes available
    326         thereafter and shall take other steps (such as notifying
    327         appropriate mailing lists or newsgroups) reasonably calculated
    328         to inform those who received the Covered Code that new
    329         knowledge has been obtained.
    330 
    331         (b) Contributor APIs.
    332 
    333         If Contributor's Modifications include an application
    334         programming interface and Contributor has knowledge of patent
    335         licenses which are reasonably necessary to implement that API,
    336         Contributor must also include this information in the LEGAL
    337         file.
    338 
    339         (c)    Representations.
    340 
    341         Contributor represents that, except as disclosed pursuant to
    342         Section 3.4(a) above, Contributor believes that Contributor's
    343         Modifications are Contributor's original creation(s) and/or
    344         Contributor has sufficient rights to grant the rights conveyed
    345         by this License.
    346 
    347 
    348     3.5. Required Notices.
    349 
    350     You must duplicate the notice in Exhibit A in each file of the
    351     Source Code.  If it is not possible to put such notice in a
    352     particular Source Code file due to its structure, then You must
    353     include such notice in a location (such as a relevant directory)
    354     where a user would be likely to look for such a notice.  If You
    355     created one or more Modification(s) You may add your name as a
    356     Contributor to the notice described in Exhibit A.  You must also
    357     duplicate this License in any documentation for the Source Code
    358     where You describe recipients' rights or ownership rights relating
    359     to Covered Code.  You may choose to offer, and to charge a fee
    360     for, warranty, support, indemnity or liability obligations to one
    361     or more recipients of Covered Code. However, You may do so only on
    362     Your own behalf, and not on behalf of the Initial Developer or any
    363     Contributor. You must make it absolutely clear than any such
    364     warranty, support, indemnity or liability obligation is offered by
    365     You alone, and You hereby agree to indemnify the Initial Developer
    366     and every Contributor for any liability incurred by the Initial
    367     Developer or such Contributor as a result of warranty, support,
    368     indemnity or liability terms You offer.
    369 
    370     3.6. Distribution of Executable Versions.
    371 
    372     You may distribute Covered Code in Executable form only if the
    373     requirements of Section 3.1-3.5 have been met for that Covered
    374     Code, and if You include a notice stating that the Source Code
    375     version of the Covered Code is available under the terms of this
    376     License, including a description of how and where You have
    377     fulfilled the obligations of Section 3.2. The notice must be
    378     conspicuously included in any notice in an Executable version,
    379     related documentation or collateral in which You describe
    380     recipients' rights relating to the Covered Code. You may
    381     distribute the Executable version of Covered Code or ownership
    382     rights under a license of Your choice, which may contain terms
    383     different from this License, provided that You are in compliance
    384     with the terms of this License and that the license for the
    385     Executable version does not attempt to limit or alter the
    386     recipient's rights in the Source Code version from the rights set
    387     forth in this License. If You distribute the Executable version
    388     under a different license You must make it absolutely clear that
    389     any terms which differ from this License are offered by You alone,
    390     not by the Initial Developer or any Contributor. You hereby agree
    391     to indemnify the Initial Developer and every Contributor for any
    392     liability incurred by the Initial Developer or such Contributor as
    393     a result of any such terms You offer.
    394 
    395     3.7. Larger Works.
    396 
    397     You may create a Larger Work by combining Covered Code with other
    398     code not governed by the terms of this License and distribute the
    399     Larger Work as a single product. In such a case, You must make
    400     sure the requirements of this License are fulfilled for the
    401     Covered Code.
    402 
    403 4. Inability to Comply Due to Statute or Regulation.
    404 
    405     If it is impossible for You to comply with any of the terms of
    406     this License with respect to some or all of the Covered Code due
    407     to statute, judicial order, or regulation then You must: (a)
    408     comply with the terms of this License to the maximum extent
    409     possible; and (b) describe the limitations and the code they
    410     affect. Such description must be included in the LEGAL file
    411     described in Section 3.4 and must be included with all
    412     distributions of the Source Code. Except to the extent prohibited
    413     by statute or regulation, such description must be sufficiently
    414     detailed for a recipient of ordinary skill to be able to
    415     understand it.
    416 
    417 5. Application of this License.
    418 
    419     This License applies to code to which the Initial Developer has
    420     attached the notice in Exhibit A and to related Covered Code.
    421 
    422 6. Versions of the License.
    423 
    424     6.1. New Versions.
    425 
    426     Netscape Communications Corporation (''Netscape'') may publish
    427     revised and/or new versions of the License from time to time. Each
    428     version will be given a distinguishing version number.
    429 
    430     6.2. Effect of New Versions.
    431 
    432     Once Covered Code has been published under a particular version of
    433     the License, You may always continue to use it under the terms of
    434     that version. You may also choose to use such Covered Code under
    435     the terms of any subsequent version of the License published by
    436     Netscape. No one other than Netscape has the right to modify the
    437     terms applicable to Covered Code created under this License.
    438 
    439     6.3. Derivative Works.
    440 
    441     If You create or use a modified version of this License (which you
    442     may only do in order to apply it to code which is not already
    443     Covered Code governed by this License), You must (a) rename Your
    444     license so that the phrases ''Mozilla'', ''MOZILLAPL'', ''MOZPL'',
    445     ''Netscape'', "MPL", ''NPL'' or any confusingly similar phrase do
    446     not appear in your license (except to note that your license
    447     differs from this License) and (b) otherwise make it clear that
    448     Your version of the license contains terms which differ from the
    449     Mozilla Public License and Netscape Public License. (Filling in
    450     the name of the Initial Developer, Original Code or Contributor in
    451     the notice described in Exhibit A shall not of themselves be
    452     deemed to be modifications of this License.)
    453 
    454 7. DISCLAIMER OF WARRANTY.
    455 
    456     COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS'' BASIS,
    457     WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
    458     INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS
    459     FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR
    460     NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE
    461     OF THE COVERED CODE IS WITH YOU. SHOULD ANY COVERED CODE PROVE
    462     DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY
    463     OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING,
    464     REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN
    465     ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED CODE IS
    466     AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
    467 
    468 8. TERMINATION.
    469 
    470     8.1.  This License and the rights granted hereunder will terminate
    471     automatically if You fail to comply with terms herein and fail to
    472     cure such breach within 30 days of becoming aware of the
    473     breach. All sublicenses to the Covered Code which are properly
    474     granted shall survive any termination of this License. Provisions
    475     which, by their nature, must remain in effect beyond the
    476     termination of this License shall survive.
    477 
    478     8.2.  If You initiate litigation by asserting a patent
    479     infringement claim (excluding declatory judgment actions) against
    480     Initial Developer or a Contributor (the Initial Developer or
    481     Contributor against whom You file such action is referred to as
    482     "Participant") alleging that:
    483 
    484     (a) such Participant's Contributor Version directly or indirectly
    485     infringes any patent, then any and all rights granted by such
    486     Participant to You under Sections 2.1 and/or 2.2 of this License
    487     shall, upon 60 days notice from Participant terminate
    488     prospectively, unless if within 60 days after receipt of notice
    489     You either: (i) agree in writing to pay Participant a mutually
    490     agreeable reasonable royalty for Your past and future use of
    491     Modifications made by such Participant, or (ii) withdraw Your
    492     litigation claim with respect to the Contributor Version against
    493     such Participant.  If within 60 days of notice, a reasonable
    494     royalty and payment arrangement are not mutually agreed upon in
    495     writing by the parties or the litigation claim is not withdrawn,
    496     the rights granted by Participant to You under Sections 2.1 and/or
    497     2.2 automatically terminate at the expiration of the 60 day notice
    498     period specified above.
    499 
    500     (b) any software, hardware, or device, other than such
    501     Participant's Contributor Version, directly or indirectly
    502     infringes any patent, then any rights granted to You by such
    503     Participant under Sections 2.1(b) and 2.2(b) are revoked effective
    504     as of the date You first made, used, sold, distributed, or had
    505     made, Modifications made by that Participant.
    506 
    507     8.3.  If You assert a patent infringement claim against
    508     Participant alleging that such Participant's Contributor Version
    509     directly or indirectly infringes any patent where such claim is
    510     resolved (such as by license or settlement) prior to the
    511     initiation of patent infringement litigation, then the reasonable
    512     value of the licenses granted by such Participant under Sections
    513     2.1 or 2.2 shall be taken into account in determining the amount
    514     or value of any payment or license.
    515 
    516     8.4.  In the event of termination under Sections 8.1 or 8.2 above,
    517     all end user license agreements (excluding distributors and
    518     resellers) which have been validly granted by You or any
    519     distributor hereunder prior to termination shall survive
    520     termination.
    521 
    522 9. LIMITATION OF LIABILITY.
    523 
    524     UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
    525     (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE
    526     INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF
    527     COVERED CODE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO
    528     ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL
    529     DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES
    530     FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR
    531     MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES,
    532     EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF
    533     SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO
    534     LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTY'S
    535     NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH
    536     LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR
    537     LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS
    538     EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
    539 
    540 10. U.S. GOVERNMENT END USERS.
    541 
    542     The Covered Code is a ''commercial item,'' as that term is defined
    543     in 48 C.F.R. 2.101 (Oct. 1995), consisting of ''commercial
    544     computer software'' and ''commercial computer software
    545     documentation,'' as such terms are used in 48 C.F.R. 12.212
    546     (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48
    547     C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all
    548     U.S. Government End Users acquire Covered Code with only those
    549     rights set forth herein.
    550 
    551 11. MISCELLANEOUS.
    552 
    553     This License represents the complete agreement concerning subject
    554     matter hereof. If any provision of this License is held to be
    555     unenforceable, such provision shall be reformed only to the extent
    556     necessary to make it enforceable. This License shall be governed
    557     by California law provisions (except to the extent applicable law,
    558     if any, provides otherwise), excluding its conflict-of-law
    559     provisions. With respect to disputes in which at least one party
    560     is a citizen of, or an entity chartered or registered to do
    561     business in the United States of America, any litigation relating
    562     to this License shall be subject to the jurisdiction of the
    563     Federal Courts of the Northern District of California, with venue
    564     lying in Santa Clara County, California, with the losing party
    565     responsible for costs, including without limitation, court costs
    566     and reasonable attorneys' fees and expenses. The application of
    567     the United Nations Convention on Contracts for the International
    568     Sale of Goods is expressly excluded. Any law or regulation which
    569     provides that the language of a contract shall be construed
    570     against the drafter shall not apply to this License.
    571 
    572 12. RESPONSIBILITY FOR CLAIMS.
    573 
    574     As between Initial Developer and the Contributors, each party is
    575     responsible for claims and damages arising, directly or
    576     indirectly, out of its utilization of rights under this License
    577     and You agree to work with Initial Developer and Contributors to
    578     distribute such responsibility on an equitable basis. Nothing
    579     herein is intended or shall be deemed to constitute any admission
    580     of liability.
    581 
    582 13. MULTIPLE-LICENSED CODE.
    583 
    584     Initial Developer may designate portions of the Covered Code as
    585     Multiple-Licensed.  Multiple-Licensed means that the Initial
    586     Developer permits you to utilize portions of the Covered Code
    587     under Your choice of the NPL or the alternative licenses, if any,
    588     specified by the Initial Developer in the file described in
    589     Exhibit A.
    590 
    591 
    592 EXHIBIT A -Mozilla Public License.
    593 
    594     ``The contents of this file are subject to the Mozilla Public
    595     License Version 1.1 (the "License"); you may not use this file
    596     except in compliance with the License. You may obtain a copy of
    597     the License at http://www.mozilla.org/MPL/
    598 
    599     Software distributed under the License is distributed on an "AS
    600     IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
    601     implied. See the License for the specific language governing
    602     rights and limitations under the License.
    603 
    604     The Original Code is ______________________________________.
    605 
    606     The Initial Developer of the Original Code is
    607      ________________________. Portions created by
    608      ______________________ are Copyright (C) ______
    609      _______________________. All Rights Reserved.
    610 
    611     Contributor(s): ______________________________________.
    612 
    613     Alternatively, the contents of this file may be used under the
    614     terms of the _____ license (the [___] License), in which case
    615     the provisions of [______] License are applicable instead of those
    616     above.  If you wish to allow use of your version of this file only
    617     under the terms of the [____] License and not to allow others to
    618     use your version of this file under the MPL, indicate your
    619     decision by deleting the provisions above and replace them with
    620     the notice and other provisions required by the [___] License.  If
    621     you do not delete the provisions above, a recipient may use your
    622     version of this file under either the MPL or the [___] License."
    623 
    624     [NOTE: The text of this Exhibit A may differ slightly from the
    625     text of the notices in the Source Code files of the Original
    626     Code. You should use the text of this Exhibit A rather than the
    627     text found in the Original Code Source Code for Your
    628     Modifications.]
    629 ============================================================================
    630 
    631 	  GNU GENERAL PUBLIC LICENSE
    632 	     Version 2, June 1991
    633 
    634    Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
    635    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
    636    Everyone is permitted to copy and distribute verbatim copies
    637    of this license document, but changing it is not allowed.
    638 
    639 	    Preamble
    640 
    641     The licenses for most software are designed to take away your
    642   freedom to share and change it.  By contrast, the GNU General Public
    643   License is intended to guarantee your freedom to share and change free
    644   software--to make sure the software is free for all its users.  This
    645   General Public License applies to most of the Free Software
    646   Foundation's software and to any other program whose authors commit to
    647   using it.  (Some other Free Software Foundation software is covered by
    648   the GNU Lesser General Public License instead.)  You can apply it to
    649   your programs, too.
    650 
    651     When we speak of free software, we are referring to freedom, not
    652   price.  Our General Public Licenses are designed to make sure that you
    653   have the freedom to distribute copies of free software (and charge for
    654   this service if you wish), that you receive source code or can get it
    655   if you want it, that you can change the software or use pieces of it
    656   in new free programs; and that you know you can do these things.
    657 
    658     To protect your rights, we need to make restrictions that forbid
    659   anyone to deny you these rights or to ask you to surrender the rights.
    660   These restrictions translate to certain responsibilities for you if you
    661   distribute copies of the software, or if you modify it.
    662 
    663     For example, if you distribute copies of such a program, whether
    664   gratis or for a fee, you must give the recipients all the rights that
    665   you have.  You must make sure that they, too, receive or can get the
    666   source code.  And you must show them these terms so they know their
    667   rights.
    668 
    669     We protect your rights with two steps: (1) copyright the software, and
    670   (2) offer you this license which gives you legal permission to copy,
    671   distribute and/or modify the software.
    672 
    673     Also, for each author's protection and ours, we want to make certain
    674   that everyone understands that there is no warranty for this free
    675   software.  If the software is modified by someone else and passed on, we
    676   want its recipients to know that what they have is not the original, so
    677   that any problems introduced by others will not reflect on the original
    678   authors' reputations.
    679 
    680     Finally, any free program is threatened constantly by software
    681   patents.  We wish to avoid the danger that redistributors of a free
    682   program will individually obtain patent licenses, in effect making the
    683   program proprietary.  To prevent this, we have made it clear that any
    684   patent must be licensed for everyone's free use or not licensed at all.
    685 
    686     The precise terms and conditions for copying, distribution and
    687   modification follow.
    688 
    689 	  GNU GENERAL PUBLIC LICENSE
    690      TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
    691 
    692     0. This License applies to any program or other work which contains
    693   a notice placed by the copyright holder saying it may be distributed
    694   under the terms of this General Public License.  The "Program", below,
    695   refers to any such program or work, and a "work based on the Program"
    696   means either the Program or any derivative work under copyright law:
    697   that is to say, a work containing the Program or a portion of it,
    698   either verbatim or with modifications and/or translated into another
    699   language.  (Hereinafter, translation is included without limitation in
    700   the term "modification".)  Each licensee is addressed as "you".
    701 
    702   Activities other than copying, distribution and modification are not
    703   covered by this License; they are outside its scope.  The act of
    704   running the Program is not restricted, and the output from the Program
    705   is covered only if its contents constitute a work based on the
    706   Program (independent of having been made by running the Program).
    707   Whether that is true depends on what the Program does.
    708 
    709     1. You may copy and distribute verbatim copies of the Program's
    710   source code as you receive it, in any medium, provided that you
    711   conspicuously and appropriately publish on each copy an appropriate
    712   copyright notice and disclaimer of warranty; keep intact all the
    713   notices that refer to this License and to the absence of any warranty;
    714   and give any other recipients of the Program a copy of this License
    715   along with the Program.
    716 
    717   You may charge a fee for the physical act of transferring a copy, and
    718   you may at your option offer warranty protection in exchange for a fee.
    719 
    720     2. You may modify your copy or copies of the Program or any portion
    721   of it, thus forming a work based on the Program, and copy and
    722   distribute such modifications or work under the terms of Section 1
    723   above, provided that you also meet all of these conditions:
    724 
    725       a) You must cause the modified files to carry prominent notices
    726       stating that you changed the files and the date of any change.
    727 
    728       b) You must cause any work that you distribute or publish, that in
    729       whole or in part contains or is derived from the Program or any
    730       part thereof, to be licensed as a whole at no charge to all third
    731       parties under the terms of this License.
    732 
    733       c) If the modified program normally reads commands interactively
    734       when run, you must cause it, when started running for such
    735       interactive use in the most ordinary way, to print or display an
    736       announcement including an appropriate copyright notice and a
    737       notice that there is no warranty (or else, saying that you provide
    738       a warranty) and that users may redistribute the program under
    739       these conditions, and telling the user how to view a copy of this
    740       License.  (Exception: if the Program itself is interactive but
    741       does not normally print such an announcement, your work based on
    742       the Program is not required to print an announcement.)
    743 
    744   These requirements apply to the modified work as a whole.  If
    745   identifiable sections of that work are not derived from the Program,
    746   and can be reasonably considered independent and separate works in
    747   themselves, then this License, and its terms, do not apply to those
    748   sections when you distribute them as separate works.  But when you
    749   distribute the same sections as part of a whole which is a work based
    750   on the Program, the distribution of the whole must be on the terms of
    751   this License, whose permissions for other licensees extend to the
    752   entire whole, and thus to each and every part regardless of who wrote it.
    753 
    754   Thus, it is not the intent of this section to claim rights or contest
    755   your rights to work written entirely by you; rather, the intent is to
    756   exercise the right to control the distribution of derivative or
    757   collective works based on the Program.
    758 
    759   In addition, mere aggregation of another work not based on the Program
    760   with the Program (or with a work based on the Program) on a volume of
    761   a storage or distribution medium does not bring the other work under
    762   the scope of this License.
    763 
    764     3. You may copy and distribute the Program (or a work based on it,
    765   under Section 2) in object code or executable form under the terms of
    766   Sections 1 and 2 above provided that you also do one of the following:
    767 
    768       a) Accompany it with the complete corresponding machine-readable
    769       source code, which must be distributed under the terms of Sections
    770       1 and 2 above on a medium customarily used for software interchange; or,
    771 
    772       b) Accompany it with a written offer, valid for at least three
    773       years, to give any third party, for a charge no more than your
    774       cost of physically performing source distribution, a complete
    775       machine-readable copy of the corresponding source code, to be
    776       distributed under the terms of Sections 1 and 2 above on a medium
    777       customarily used for software interchange; or,
    778 
    779       c) Accompany it with the information you received as to the offer
    780       to distribute corresponding source code.  (This alternative is
    781       allowed only for noncommercial distribution and only if you
    782       received the program in object code or executable form with such
    783       an offer, in accord with Subsection b above.)
    784 
    785   The source code for a work means the preferred form of the work for
    786   making modifications to it.  For an executable work, complete source
    787   code means all the source code for all modules it contains, plus any
    788   associated interface definition files, plus the scripts used to
    789   control compilation and installation of the executable.  However, as a
    790   special exception, the source code distributed need not include
    791   anything that is normally distributed (in either source or binary
    792   form) with the major components (compiler, kernel, and so on) of the
    793   operating system on which the executable runs, unless that component
    794   itself accompanies the executable.
    795 
    796   If distribution of executable or object code is made by offering
    797   access to copy from a designated place, then offering equivalent
    798   access to copy the source code from the same place counts as
    799   distribution of the source code, even though third parties are not
    800   compelled to copy the source along with the object code.
    801 
    802     4. You may not copy, modify, sublicense, or distribute the Program
    803   except as expressly provided under this License.  Any attempt
    804   otherwise to copy, modify, sublicense or distribute the Program is
    805   void, and will automatically terminate your rights under this License.
    806   However, parties who have received copies, or rights, from you under
    807   this License will not have their licenses terminated so long as such
    808   parties remain in full compliance.
    809 
    810     5. You are not required to accept this License, since you have not
    811   signed it.  However, nothing else grants you permission to modify or
    812   distribute the Program or its derivative works.  These actions are
    813   prohibited by law if you do not accept this License.  Therefore, by
    814   modifying or distributing the Program (or any work based on the
    815   Program), you indicate your acceptance of this License to do so, and
    816   all its terms and conditions for copying, distributing or modifying
    817   the Program or works based on it.
    818 
    819     6. Each time you redistribute the Program (or any work based on the
    820   Program), the recipient automatically receives a license from the
    821   original licensor to copy, distribute or modify the Program subject to
    822   these terms and conditions.  You may not impose any further
    823   restrictions on the recipients' exercise of the rights granted herein.
    824   You are not responsible for enforcing compliance by third parties to
    825   this License.
    826 
    827     7. If, as a consequence of a court judgment or allegation of patent
    828   infringement or for any other reason (not limited to patent issues),
    829   conditions are imposed on you (whether by court order, agreement or
    830   otherwise) that contradict the conditions of this License, they do not
    831   excuse you from the conditions of this License.  If you cannot
    832   distribute so as to satisfy simultaneously your obligations under this
    833   License and any other pertinent obligations, then as a consequence you
    834   may not distribute the Program at all.  For example, if a patent
    835   license would not permit royalty-free redistribution of the Program by
    836   all those who receive copies directly or indirectly through you, then
    837   the only way you could satisfy both it and this License would be to
    838   refrain entirely from distribution of the Program.
    839 
    840   If any portion of this section is held invalid or unenforceable under
    841   any particular circumstance, the balance of the section is intended to
    842   apply and the section as a whole is intended to apply in other
    843   circumstances.
    844 
    845   It is not the purpose of this section to induce you to infringe any
    846   patents or other property right claims or to contest validity of any
    847   such claims; this section has the sole purpose of protecting the
    848   integrity of the free software distribution system, which is
    849   implemented by public license practices.  Many people have made
    850   generous contributions to the wide range of software distributed
    851   through that system in reliance on consistent application of that
    852   system; it is up to the author/donor to decide if he or she is willing
    853   to distribute software through any other system and a licensee cannot
    854   impose that choice.
    855 
    856   This section is intended to make thoroughly clear what is believed to
    857   be a consequence of the rest of this License.
    858 
    859     8. If the distribution and/or use of the Program is restricted in
    860   certain countries either by patents or by copyrighted interfaces, the
    861   original copyright holder who places the Program under this License
    862   may add an explicit geographical distribution limitation excluding
    863   those countries, so that distribution is permitted only in or among
    864   countries not thus excluded.  In such case, this License incorporates
    865   the limitation as if written in the body of this License.
    866 
    867     9. The Free Software Foundation may publish revised and/or new versions
    868   of the General Public License from time to time.  Such new versions will
    869   be similar in spirit to the present version, but may differ in detail to
    870   address new problems or concerns.
    871 
    872   Each version is given a distinguishing version number.  If the Program
    873   specifies a version number of this License which applies to it and "any
    874   later version", you have the option of following the terms and conditions
    875   either of that version or of any later version published by the Free
    876   Software Foundation.  If the Program does not specify a version number of
    877   this License, you may choose any version ever published by the Free Software
    878   Foundation.
    879 
    880     10. If you wish to incorporate parts of the Program into other free
    881   programs whose distribution conditions are different, write to the author
    882   to ask for permission.  For software which is copyrighted by the Free
    883   Software Foundation, write to the Free Software Foundation; we sometimes
    884   make exceptions for this.  Our decision will be guided by the two goals
    885   of preserving the free status of all derivatives of our free software and
    886   of promoting the sharing and reuse of software generally.
    887 
    888 	    NO WARRANTY
    889 
    890     11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
    891   FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
    892   OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
    893   PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
    894   OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
    895   MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
    896   TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
    897   PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
    898   REPAIR OR CORRECTION.
    899 
    900     12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
    901   WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
    902   REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
    903   INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
    904   OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
    905   TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
    906   YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
    907   PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
    908   POSSIBILITY OF SUCH DAMAGES.
    909 
    910 	   END OF TERMS AND CONDITIONS
    911 
    912 	How to Apply These Terms to Your New Programs
    913 
    914     If you develop a new program, and you want it to be of the greatest
    915   possible use to the public, the best way to achieve this is to make it
    916   free software which everyone can redistribute and change under these terms.
    917 
    918     To do so, attach the following notices to the program.  It is safest
    919   to attach them to the start of each source file to most effectively
    920   convey the exclusion of warranty; and each file should have at least
    921   the "copyright" line and a pointer to where the full notice is found.
    922 
    923       <one line to give the program's name and a brief idea of what it does.>
    924       Copyright (C) <year>  <name of author>
    925 
    926       This program is free software; you can redistribute it and/or modify
    927       it under the terms of the GNU General Public License as published by
    928       the Free Software Foundation; either version 2 of the License, or
    929       (at your option) any later version.
    930 
    931       This program is distributed in the hope that it will be useful,
    932       but WITHOUT ANY WARRANTY; without even the implied warranty of
    933       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    934       GNU General Public License for more details.
    935 
    936       You should have received a copy of the GNU General Public License along
    937       with this program; if not, write to the Free Software Foundation, Inc.,
    938       51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
    939 
    940   Also add information on how to contact you by electronic and paper mail.
    941 
    942   If the program is interactive, make it output a short notice like this
    943   when it starts in an interactive mode:
    944 
    945       Gnomovision version 69, Copyright (C) year name of author
    946       Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
    947       This is free software, and you are welcome to redistribute it
    948       under certain conditions; type `show c' for details.
    949 
    950   The hypothetical commands `show w' and `show c' should show the appropriate
    951   parts of the General Public License.  Of course, the commands you use may
    952   be called something other than `show w' and `show c'; they could even be
    953   mouse-clicks or menu items--whatever suits your program.
    954 
    955   You should also get your employer (if you work as a programmer) or your
    956   school, if any, to sign a "copyright disclaimer" for the program, if
    957   necessary.  Here is a sample; alter the names:
    958 
    959     Yoyodyne, Inc., hereby disclaims all copyright interest in the program
    960     `Gnomovision' (which makes passes at compilers) written by James Hacker.
    961 
    962     <signature of Ty Coon>, 1 April 1989
    963     Ty Coon, President of Vice
    964 
    965   This General Public License does not permit incorporating your program into
    966   proprietary programs.  If your program is a subroutine library, you may
    967   consider it more useful to permit linking proprietary applications with the
    968   library.  If this is what you want to do, use the GNU Lesser General
    969   Public License instead of this License.
    970 ============================================================================
    971