Warning, /frameworks/kcodecs/LICENSES/MPL-1.1.txt is written in an unsupported language. File is not indexed.

0001 Mozilla Public License Version 1.1
0002 
0003    1. Definitions.
0004 
0005 1.0.1. "Commercial Use" means distribution or otherwise making the Covered
0006 Code available to a third party.
0007 
0008 1.1. "Contributor" means each entity that creates or contributes to the creation
0009 of Modifications.
0010 
0011 1.2. "Contributor Version" means the combination of the Original Code, prior
0012 Modifications used by a Contributor, and the Modifications made by that particular
0013 Contributor.
0014 
0015 1.3. "Covered Code" means the Original Code or Modifications or the combination
0016 of the Original Code and Modifications, in each case including portions thereof.
0017 
0018 1.4. "Electronic Distribution Mechanism" means a mechanism generally accepted
0019 in the software development community for the electronic transfer of data.
0020 
0021       1.5. "Executable" means Covered Code in any form other than Source Code.
0022 
0023 1.6. "Initial Developer" means the individual or entity identified as the
0024 Initial Developer in the Source Code notice required by Exhibit A.
0025 
0026 1.7. "Larger Work" means a work which combines Covered Code or portions thereof
0027 with code not governed by the terms of this License.
0028 
0029       1.8. "License" means this document.
0030 
0031 1.8.1. "Licensable" means having the right to grant, to the maximum extent
0032 possible, whether at the time of the initial grant or subsequently acquired,
0033 any and all of the rights conveyed herein.
0034 
0035 1.9. "Modifications" means any addition to or deletion from the substance
0036 or structure of either the Original Code or any previous Modifications. When
0037 Covered Code is released as a series of files, a Modification is:
0038 
0039 Any addition to or deletion from the contents of a file containing Original
0040 Code or previous Modifications.
0041 
0042 Any new file that contains any part of the Original Code or previous Modifications.
0043 
0044 1.10. "Original Code" means Source Code of computer software code which is
0045 described in the Source Code notice required by Exhibit A as Original Code,
0046 and which, at the time of its release under this License is not already Covered
0047 Code governed by this License.
0048 
0049 1.10.1. "Patent Claims" means any patent claim(s), now owned or hereafter
0050 acquired, including without limitation, method, process, and apparatus claims,
0051 in any patent Licensable by grantor.
0052 
0053 1.11. "Source Code" means the preferred form of the Covered Code for making
0054 modifications to it, including all modules it contains, plus any associated
0055 interface definition files, scripts used to control compilation and installation
0056 of an Executable, or source code differential comparisons against either the
0057 Original Code or another well known, available Covered Code of the Contributor's
0058 choice. The Source Code can be in a compressed or archival form, provided
0059 the appropriate decompression or de-archiving software is widely available
0060 for no charge.
0061 
0062 1.12. "You" (or "Your") means an individual or a legal entity exercising rights
0063 under, and complying with all of the terms of, this License or a future version
0064 of this License issued under Section 6.1. For legal entities, "You" includes
0065 any entity which controls, is controlled by, or is under common control with
0066 You. For purposes of this definition, "control" means (a) the power, direct
0067 or indirect, to cause the direction or management of such entity, whether
0068 by contract or otherwise, or (b) ownership of more than fifty percent (50%)
0069 of the outstanding shares or beneficial ownership of such entity.
0070 
0071    2. Source Code License.
0072 
0073 2.1. The Initial Developer Grant. The Initial Developer hereby grants You
0074 a world-wide, royalty-free, non-exclusive license, subject to third party
0075 intellectual property claims:
0076 
0077 a. under intellectual property rights (other than patent or trademark) Licensable
0078 by Initial Developer to use, reproduce, modify, display, perform, sublicense
0079 and distribute the Original Code (or portions thereof) with or without Modifications,
0080 and/or as part of a Larger Work; and
0081 
0082 b. under Patents Claims infringed by the making, using or selling of Original
0083 Code, to make, have made, use, practice, sell, and offer for sale, and/or
0084 otherwise dispose of the Original Code (or portions thereof).
0085 
0086 c. the licenses granted in this Section 2.1 (a) and (b) are effective on the
0087 date Initial Developer first distributes Original Code under the terms of
0088 this License.
0089 
0090 d. Notwithstanding Section 2.1 (b) above, no patent license is granted: 1)
0091 for code that You delete from the Original Code; 2) separate from the Original
0092 Code; or 3) for infringements caused by: i) the modification of the Original
0093 Code or ii) the combination of the Original Code with other software or devices.
0094 
0095 2.2. Contributor Grant. Subject to third party intellectual property claims,
0096 each Contributor hereby grants You a world-wide, royalty-free, non-exclusive
0097 license
0098 
0099 a. under intellectual property rights (other than patent or trademark) Licensable
0100 by Contributor, to use, reproduce, modify, display, perform, sublicense and
0101 distribute the Modifications created by such Contributor (or portions thereof)
0102 either on an unmodified basis, with other Modifications, as Covered Code and/or
0103 as part of a Larger Work; and
0104 
0105 b. under Patent Claims infringed by the making, using, or selling of Modifications
0106 made by that Contributor either alone and/or in combination with its Contributor
0107 Version (or portions of such combination), to make, use, sell, offer for sale,
0108 have made, and/or otherwise dispose of: 1) Modifications made by that Contributor
0109 (or portions thereof); and 2) the combination of Modifications made by that
0110 Contributor with its Contributor Version (or portions of such combination).
0111 
0112 c. the licenses granted in Sections 2.2 (a) and 2.2 (b) are effective on the
0113 date Contributor first makes Commercial Use of the Covered Code.
0114 
0115 d. Notwithstanding Section 2.2 (b) above, no patent license is granted: 1)
0116 for any code that Contributor has deleted from the Contributor Version; 2)
0117 separate from the Contributor Version; 3) for infringements caused by: i)
0118 third party modifications of Contributor Version or ii) the combination of
0119 Modifications made by that Contributor with other software (except as part
0120 of the Contributor Version) or other devices; or 4) under Patent Claims infringed
0121 by Covered Code in the absence of Modifications made by that Contributor.
0122 
0123    3. Distribution Obligations.
0124 
0125 3.1. Application of License. The Modifications which You create or to which
0126 You contribute are governed by the terms of this License, including without
0127 limitation Section 2.2. The Source Code version of Covered Code may be distributed
0128 only under the terms of this License or a future version of this License released
0129 under Section 6.1, and You must include a copy of this License with every
0130 copy of the Source Code You distribute. You may not offer or impose any terms
0131 on any Source Code version that alters or restricts the applicable version
0132 of this License or the recipients' rights hereunder. However, You may include
0133 an additional document offering the additional rights described in Section
0134 3.5.
0135 
0136 3.2. Availability of Source Code. Any Modification which You create or to
0137 which You contribute must be made available in Source Code form under the
0138 terms of this License either on the same media as an Executable version or
0139 via an accepted Electronic Distribution Mechanism to anyone to whom you made
0140 an Executable version available; and if made available via Electronic Distribution
0141 Mechanism, must remain available for at least twelve (12) months after the
0142 date it initially became available, or at least six (6) months after a subsequent
0143 version of that particular Modification has been made available to such recipients.
0144 You are responsible for ensuring that the Source Code version remains available
0145 even if the Electronic Distribution Mechanism is maintained by a third party.
0146 
0147 3.3. Description of Modifications. You must cause all Covered Code to which
0148 You contribute to contain a file documenting the changes You made to create
0149 that Covered Code and the date of any change. You must include a prominent
0150 statement that the Modification is derived, directly or indirectly, from Original
0151 Code provided by the Initial Developer and including the name of the Initial
0152 Developer in (a) the Source Code, and (b) in any notice in an Executable version
0153 or related documentation in which You describe the origin or ownership of
0154 the Covered Code.
0155 
0156       3.4. Intellectual Property Matters
0157 
0158          (a) Third Party Claims
0159 
0160 If Contributor has knowledge that a license under a third party's intellectual
0161 property rights is required to exercise the rights granted by such Contributor
0162 under Sections 2.1 or 2.2, Contributor must include a text file with the Source
0163 Code distribution titled "LEGAL" which describes the claim and the party making
0164 the claim in sufficient detail that a recipient will know whom to contact.
0165 If Contributor obtains such knowledge after the Modification is made available
0166 as described in Section 3.2, Contributor shall promptly modify the LEGAL file
0167 in all copies Contributor makes available thereafter and shall take other
0168 steps (such as notifying appropriate mailing lists or newsgroups) reasonably
0169 calculated to inform those who received the Covered Code that new knowledge
0170 has been obtained.
0171 
0172          (b) Contributor APIs
0173 
0174 If Contributor's Modifications include an application programming interface
0175 and Contributor has knowledge of patent licenses which are reasonably necessary
0176 to implement that API, Contributor must also include this information in the
0177 LEGAL file.
0178 
0179          (c) Representations.
0180 
0181 Contributor represents that, except as disclosed pursuant to Section 3.4 (a)
0182 above, Contributor believes that Contributor's Modifications are Contributor's
0183 original creation(s) and/or Contributor has sufficient rights to grant the
0184 rights conveyed by this License.
0185 
0186 3.5. Required Notices. You must duplicate the notice in Exhibit A in each
0187 file of the Source Code. If it is not possible to put such notice in a particular
0188 Source Code file due to its structure, then You must include such notice in
0189 a location (such as a relevant directory) where a user would be likely to
0190 look for such a notice. If You created one or more Modification(s) You may
0191 add your name as a Contributor to the notice described in Exhibit A. You must
0192 also duplicate this License in any documentation for the Source Code where
0193 You describe recipients' rights or ownership rights relating to Covered Code.
0194 You may choose to offer, and to charge a fee for, warranty, support, indemnity
0195 or liability obligations to one or more recipients of Covered Code. However,
0196 You may do so only on Your own behalf, and not on behalf of the Initial Developer
0197 or any Contributor. You must make it absolutely clear than any such warranty,
0198 support, indemnity or liability obligation is offered by You alone, and You
0199 hereby agree to indemnify the Initial Developer and every Contributor for
0200 any liability incurred by the Initial Developer or such Contributor as a result
0201 of warranty, support, indemnity or liability terms You offer.
0202 
0203 3.6. Distribution of Executable Versions. You may distribute Covered Code
0204 in Executable form only if the requirements of Sections 3.1, 3.2, 3.3, 3.4
0205 and 3.5 have been met for that Covered Code, and if You include a notice stating
0206 that the Source Code version of the Covered Code is available under the terms
0207 of this License, including a description of how and where You have fulfilled
0208 the obligations of Section 3.2. The notice must be conspicuously included
0209 in any notice in an Executable version, related documentation or collateral
0210 in which You describe recipients' rights relating to the Covered Code. You
0211 may distribute the Executable version of Covered Code or ownership rights
0212 under a license of Your choice, which may contain terms different from this
0213 License, provided that You are in compliance with the terms of this License
0214 and that the license for the Executable version does not attempt to limit
0215 or alter the recipient's rights in the Source Code version from the rights
0216 set forth in this License. If You distribute the Executable version under
0217 a different license You must make it absolutely clear that any terms which
0218 differ from this License are offered by You alone, not by the Initial Developer
0219 or any Contributor. You hereby agree to indemnify the Initial Developer and
0220 every Contributor for any liability incurred by the Initial Developer or such
0221 Contributor as a result of any such terms You offer.
0222 
0223 3.7. Larger Works. You may create a Larger Work by combining Covered Code
0224 with other code not governed by the terms of this License and distribute the
0225 Larger Work as a single product. In such a case, You must make sure the requirements
0226 of this License are fulfilled for the Covered Code.
0227 
0228    4. Inability to Comply Due to Statute or Regulation.
0229 
0230 If it is impossible for You to comply with any of the terms of this License
0231 with respect to some or all of the Covered Code due to statute, judicial order,
0232 or regulation then You must: (a) comply with the terms of this License to
0233 the maximum extent possible; and (b) describe the limitations and the code
0234 they affect. Such description must be included in the LEGAL file described
0235 in Section 3.4 and must be included with all distributions of the Source Code.
0236 Except to the extent prohibited by statute or regulation, such description
0237 must be sufficiently detailed for a recipient of ordinary skill to be able
0238 to understand it.
0239 
0240    5. Application of this License.
0241 
0242 This License applies to code to which the Initial Developer has attached the
0243 notice in Exhibit A and to related Covered Code.
0244 
0245    6. Versions of the License.
0246 
0247       6.1. New Versions
0248 
0249 Netscape Communications Corporation ("Netscape") may publish revised and/or
0250 new versions of the License from time to time. Each version will be given
0251 a distinguishing version number.
0252 
0253       6.2. Effect of New Versions
0254 
0255 Once Covered Code has been published under a particular version of the License,
0256 You may always continue to use it under the terms of that version. You may
0257 also choose to use such Covered Code under the terms of any subsequent version
0258 of the License published by Netscape. No one other than Netscape has the right
0259 to modify the terms applicable to Covered Code created under this License.
0260 
0261       6.3. Derivative Works
0262 
0263 If You create or use a modified version of this License (which you may only
0264 do in order to apply it to code which is not already Covered Code governed
0265 by this License), You must (a) rename Your license so that the phrases "Mozilla",
0266 "MOZILLAPL", "MOZPL", "Netscape", "MPL", "NPL" or any confusingly similar
0267 phrase do not appear in your license (except to note that your license differs
0268 from this License) and (b) otherwise make it clear that Your version of the
0269 license contains terms which differ from the Mozilla Public License and Netscape
0270 Public License. (Filling in the name of the Initial Developer, Original Code
0271 or Contributor in the notice described in Exhibit A shall not of themselves
0272 be deemed to be modifications of this License.)
0273 
0274    7. DISCLAIMER OF WARRANTY
0275 
0276 COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTY
0277 OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES
0278 THAT THE COVERED CODE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR
0279 PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE
0280 OF THE COVERED CODE IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN
0281 ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME
0282 THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
0283 OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED
0284 CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
0285 
0286    8. Termination
0287 
0288 8.1. This License and the rights granted hereunder will terminate automatically
0289 if You fail to comply with terms herein and fail to cure such breach within
0290 30 days of becoming aware of the breach. All sublicenses to the Covered Code
0291 which are properly granted shall survive any termination of this License.
0292 Provisions which, by their nature, must remain in effect beyond the termination
0293 of this License shall survive.
0294 
0295 8.2. If You initiate litigation by asserting a patent infringement claim (excluding
0296 declatory judgment actions) against Initial Developer or a Contributor (the
0297 Initial Developer or Contributor against whom You file such action is referred
0298 to as "Participant") alleging that:
0299 
0300 a. such Participant's Contributor Version directly or indirectly infringes
0301 any patent, then any and all rights granted by such Participant to You under
0302 Sections 2.1 and/or 2.2 of this License shall, upon 60 days notice from Participant
0303 terminate prospectively, unless if within 60 days after receipt of notice
0304 You either: (i) agree in writing to pay Participant a mutually agreeable reasonable
0305 royalty for Your past and future use of Modifications made by such Participant,
0306 or (ii) withdraw Your litigation claim with respect to the Contributor Version
0307 against such Participant. If within 60 days of notice, a reasonable royalty
0308 and payment arrangement are not mutually agreed upon in writing by the parties
0309 or the litigation claim is not withdrawn, the rights granted by Participant
0310 to You under Sections 2.1 and/or 2.2 automatically terminate at the expiration
0311 of the 60 day notice period specified above.
0312 
0313 b. any software, hardware, or device, other than such Participant's Contributor
0314 Version, directly or indirectly infringes any patent, then any rights granted
0315 to You by such Participant under Sections 2.1(b) and 2.2(b) are revoked effective
0316 as of the date You first made, used, sold, distributed, or had made, Modifications
0317 made by that Participant.
0318 
0319 8.3. If You assert a patent infringement claim against Participant alleging
0320 that such Participant's Contributor Version directly or indirectly infringes
0321 any patent where such claim is resolved (such as by license or settlement)
0322 prior to the initiation of patent infringement litigation, then the reasonable
0323 value of the licenses granted by such Participant under Sections 2.1 or 2.2
0324 shall be taken into account in determining the amount or value of any payment
0325 or license.
0326 
0327 8.4. In the event of termination under Sections 8.1 or 8.2 above, all end
0328 user license agreements (excluding distributors and resellers) which have
0329 been validly granted by You or any distributor hereunder prior to termination
0330 shall survive termination.
0331 
0332    9. LIMITATION OF LIABILITY
0333 
0334 UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING
0335 NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER, ANY
0336 OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, OR ANY SUPPLIER OF
0337 ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL,
0338 OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES
0339 FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY
0340 AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE
0341 BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY
0342 SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH
0343 PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION.
0344 SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL
0345 OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO
0346 YOU.
0347 
0348    10. U.S. government end users
0349 
0350 The Covered Code is a "commercial item," as that term is defined in 48 C.F.R.
0351 2.101 (Oct. 1995), consisting of "commercial computer software" and "commercial
0352 computer software documentation," as such terms are used in 48 C.F.R. 12.212
0353 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through
0354 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Code
0355 with only those rights set forth herein.
0356 
0357    11. Miscellaneous
0358 
0359 This License represents the complete agreement concerning subject matter hereof.
0360 If any provision of this License is held to be unenforceable, such provision
0361 shall be reformed only to the extent necessary to make it enforceable. This
0362 License shall be governed by California law provisions (except to the extent
0363 applicable law, if any, provides otherwise), excluding its conflict-of-law
0364 provisions. With respect to disputes in which at least one party is a citizen
0365 of, or an entity chartered or registered to do business in the United States
0366 of America, any litigation relating to this License shall be subject to the
0367 jurisdiction of the Federal Courts of the Northern District of California,
0368 with venue lying in Santa Clara County, California, with the losing party
0369 responsible for costs, including without limitation, court costs and reasonable
0370 attorneys' fees and expenses. The application of the United Nations Convention
0371 on Contracts for the International Sale of Goods is expressly excluded. Any
0372 law or regulation which provides that the language of a contract shall be
0373 construed against the drafter shall not apply to this License.
0374 
0375    12. Responsibility for claims
0376 
0377 As between Initial Developer and the Contributors, each party is responsible
0378 for claims and damages arising, directly or indirectly, out of its utilization
0379 of rights under this License and You agree to work with Initial Developer
0380 and Contributors to distribute such responsibility on an equitable basis.
0381 Nothing herein is intended or shall be deemed to constitute any admission
0382 of liability.
0383 
0384    13. Multiple-licensed code
0385 
0386 Initial Developer may designate portions of the Covered Code as "Multiple-Licensed".
0387 "Multiple-Licensed" means that the Initial Developer permits you to utilize
0388 portions of the Covered Code under Your choice of the MPL or the alternative
0389 licenses, if any, specified by the Initial Developer in the file described
0390 in Exhibit A. Exhibit A - Mozilla Public License.
0391 
0392 "The contents of this file are subject to the Mozilla Public License Version
0393 1.1 (the "License"); you may not use this file except in compliance with the
0394 License. You may obtain a copy of the License at http://www.mozilla.org/MPL/
0395 
0396 Software distributed under the License is distributed on an "AS IS" basis,
0397 WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
0398 the specific language governing rights and limitations under the License.
0399 
0400 The Original Code is ______________________________________ .
0401 
0402 The Initial Developer of the Original Code is ________________________ .
0403 
0404 Portions created by ______________________ are Copyright (C) ______ . All
0405 Rights Reserved.
0406 
0407 Contributor(s): ______________________________________ .
0408 
0409 Alternatively, the contents of this file may be used under the terms of the
0410 _____ license (the " [___] License"), in which case the provisions of [______]
0411 License are applicable instead of those above. If you wish to allow use of
0412 your version of this file only under the terms of the [____] License and not
0413 to allow others to use your version of this file under the MPL, indicate your
0414 decision by deleting the provisions above and replace them with the notice
0415 and other provisions required by the [___] License. If you do not delete the
0416 provisions above, a recipient may use your version of this file under either
0417 the MPL or the [___] License."
0418 
0419 NOTE: The text of this Exhibit A may differ slightly from the text of the
0420 notices in the Source Code files of the Original Code. You should use the
0421 text of this Exhibit A rather than the text found in the Original Code Source
0422 Code for Your Modifications.