You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

MPL-1.1 23KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422
  1. Mozilla Public License Version 1.1
  2. 1. Definitions.
  3. 1.0.1. "Commercial Use" means distribution or otherwise making the Covered
  4. Code available to a third party.
  5. 1.1. "Contributor" means each entity that creates or contributes to the creation
  6. of Modifications.
  7. 1.2. "Contributor Version" means the combination of the Original Code, prior
  8. Modifications used by a Contributor, and the Modifications made by that particular
  9. Contributor.
  10. 1.3. "Covered Code" means the Original Code or Modifications or the combination
  11. of the Original Code and Modifications, in each case including portions thereof.
  12. 1.4. "Electronic Distribution Mechanism" means a mechanism generally accepted
  13. in the software development community for the electronic transfer of data.
  14. 1.5. "Executable" means Covered Code in any form other than Source Code.
  15. 1.6. "Initial Developer" means the individual or entity identified as the
  16. Initial Developer in the Source Code notice required by Exhibit A.
  17. 1.7. "Larger Work" means a work which combines Covered Code or portions thereof
  18. with code not governed by the terms of this License.
  19. 1.8. "License" means this document.
  20. 1.8.1. "Licensable" means having the right to grant, to the maximum extent
  21. possible, whether at the time of the initial grant or subsequently acquired,
  22. any and all of the rights conveyed herein.
  23. 1.9. "Modifications" means any addition to or deletion from the substance
  24. or structure of either the Original Code or any previous Modifications. When
  25. Covered Code is released as a series of files, a Modification is:
  26. Any addition to or deletion from the contents of a file containing Original
  27. Code or previous Modifications.
  28. Any new file that contains any part of the Original Code or previous Modifications.
  29. 1.10. "Original Code" means Source Code of computer software code which is
  30. described in the Source Code notice required by Exhibit A as Original Code,
  31. and which, at the time of its release under this License is not already Covered
  32. Code governed by this License.
  33. 1.10.1. "Patent Claims" means any patent claim(s), now owned or hereafter
  34. acquired, including without limitation, method, process, and apparatus claims,
  35. in any patent Licensable by grantor.
  36. 1.11. "Source Code" means the preferred form of the Covered Code for making
  37. modifications to it, including all modules it contains, plus any associated
  38. interface definition files, scripts used to control compilation and installation
  39. of an Executable, or source code differential comparisons against either the
  40. Original Code or another well known, available Covered Code of the Contributor's
  41. choice. The Source Code can be in a compressed or archival form, provided
  42. the appropriate decompression or de-archiving software is widely available
  43. for no charge.
  44. 1.12. "You" (or "Your") means an individual or a legal entity exercising rights
  45. under, and complying with all of the terms of, this License or a future version
  46. of this License issued under Section 6.1. For legal entities, "You" includes
  47. any entity which controls, is controlled by, or is under common control with
  48. You. For purposes of this definition, "control" means (a) the power, direct
  49. or indirect, to cause the direction or management of such entity, whether
  50. by contract or otherwise, or (b) ownership of more than fifty percent (50%)
  51. of the outstanding shares or beneficial ownership of such entity.
  52. 2. Source Code License.
  53. 2.1. The Initial Developer Grant. The Initial Developer hereby grants You
  54. a world-wide, royalty-free, non-exclusive license, subject to third party
  55. intellectual property claims:
  56. a. under intellectual property rights (other than patent or trademark) Licensable
  57. by Initial Developer to use, reproduce, modify, display, perform, sublicense
  58. and distribute the Original Code (or portions thereof) with or without Modifications,
  59. and/or as part of a Larger Work; and
  60. b. under Patents Claims infringed by the making, using or selling of Original
  61. Code, to make, have made, use, practice, sell, and offer for sale, and/or
  62. otherwise dispose of the Original Code (or portions thereof).
  63. c. the licenses granted in this Section 2.1 (a) and (b) are effective on the
  64. date Initial Developer first distributes Original Code under the terms of
  65. this License.
  66. d. Notwithstanding Section 2.1 (b) above, no patent license is granted: 1)
  67. for code that You delete from the Original Code; 2) separate from the Original
  68. Code; or 3) for infringements caused by: i) the modification of the Original
  69. Code or ii) the combination of the Original Code with other software or devices.
  70. 2.2. Contributor Grant. Subject to third party intellectual property claims,
  71. each Contributor hereby grants You a world-wide, royalty-free, non-exclusive
  72. license
  73. a. under intellectual property rights (other than patent or trademark) Licensable
  74. by Contributor, to use, reproduce, modify, display, perform, sublicense and
  75. distribute the Modifications created by such Contributor (or portions thereof)
  76. either on an unmodified basis, with other Modifications, as Covered Code and/or
  77. as part of a Larger Work; and
  78. b. under Patent Claims infringed by the making, using, or selling of Modifications
  79. made by that Contributor either alone and/or in combination with its Contributor
  80. Version (or portions of such combination), to make, use, sell, offer for sale,
  81. have made, and/or otherwise dispose of: 1) Modifications made by that Contributor
  82. (or portions thereof); and 2) the combination of Modifications made by that
  83. Contributor with its Contributor Version (or portions of such combination).
  84. c. the licenses granted in Sections 2.2 (a) and 2.2 (b) are effective on the
  85. date Contributor first makes Commercial Use of the Covered Code.
  86. d. Notwithstanding Section 2.2 (b) above, no patent license is granted: 1)
  87. for any code that Contributor has deleted from the Contributor Version; 2)
  88. separate from the Contributor Version; 3) for infringements caused by: i)
  89. third party modifications of Contributor Version or ii) the combination of
  90. Modifications made by that Contributor with other software (except as part
  91. of the Contributor Version) or other devices; or 4) under Patent Claims infringed
  92. by Covered Code in the absence of Modifications made by that Contributor.
  93. 3. Distribution Obligations.
  94. 3.1. Application of License. The Modifications which You create or to which
  95. You contribute are governed by the terms of this License, including without
  96. limitation Section 2.2. The Source Code version of Covered Code may be distributed
  97. only under the terms of this License or a future version of this License released
  98. under Section 6.1, and You must include a copy of this License with every
  99. copy of the Source Code You distribute. You may not offer or impose any terms
  100. on any Source Code version that alters or restricts the applicable version
  101. of this License or the recipients' rights hereunder. However, You may include
  102. an additional document offering the additional rights described in Section
  103. 3.5.
  104. 3.2. Availability of Source Code. Any Modification which You create or to
  105. which You contribute must be made available in Source Code form under the
  106. terms of this License either on the same media as an Executable version or
  107. via an accepted Electronic Distribution Mechanism to anyone to whom you made
  108. an Executable version available; and if made available via Electronic Distribution
  109. Mechanism, must remain available for at least twelve (12) months after the
  110. date it initially became available, or at least six (6) months after a subsequent
  111. version of that particular Modification has been made available to such recipients.
  112. You are responsible for ensuring that the Source Code version remains available
  113. even if the Electronic Distribution Mechanism is maintained by a third party.
  114. 3.3. Description of Modifications. You must cause all Covered Code to which
  115. You contribute to contain a file documenting the changes You made to create
  116. that Covered Code and the date of any change. You must include a prominent
  117. statement that the Modification is derived, directly or indirectly, from Original
  118. Code provided by the Initial Developer and including the name of the Initial
  119. Developer in (a) the Source Code, and (b) in any notice in an Executable version
  120. or related documentation in which You describe the origin or ownership of
  121. the Covered Code.
  122. 3.4. Intellectual Property Matters
  123. (a) Third Party Claims
  124. If Contributor has knowledge that a license under a third party's intellectual
  125. property rights is required to exercise the rights granted by such Contributor
  126. under Sections 2.1 or 2.2, Contributor must include a text file with the Source
  127. Code distribution titled "LEGAL" which describes the claim and the party making
  128. the claim in sufficient detail that a recipient will know whom to contact.
  129. If Contributor obtains such knowledge after the Modification is made available
  130. as described in Section 3.2, Contributor shall promptly modify the LEGAL file
  131. in all copies Contributor makes available thereafter and shall take other
  132. steps (such as notifying appropriate mailing lists or newsgroups) reasonably
  133. calculated to inform those who received the Covered Code that new knowledge
  134. has been obtained.
  135. (b) Contributor APIs
  136. If Contributor's Modifications include an application programming interface
  137. and Contributor has knowledge of patent licenses which are reasonably necessary
  138. to implement that API, Contributor must also include this information in the
  139. LEGAL file.
  140. (c) Representations.
  141. Contributor represents that, except as disclosed pursuant to Section 3.4 (a)
  142. above, Contributor believes that Contributor's Modifications are Contributor's
  143. original creation(s) and/or Contributor has sufficient rights to grant the
  144. rights conveyed by this License.
  145. 3.5. Required Notices. You must duplicate the notice in Exhibit A in each
  146. file of the Source Code. If it is not possible to put such notice in a particular
  147. Source Code file due to its structure, then You must include such notice in
  148. a location (such as a relevant directory) where a user would be likely to
  149. look for such a notice. If You created one or more Modification(s) You may
  150. add your name as a Contributor to the notice described in Exhibit A. You must
  151. also duplicate this License in any documentation for the Source Code where
  152. You describe recipients' rights or ownership rights relating to Covered Code.
  153. You may choose to offer, and to charge a fee for, warranty, support, indemnity
  154. or liability obligations to one or more recipients of Covered Code. However,
  155. You may do so only on Your own behalf, and not on behalf of the Initial Developer
  156. or any Contributor. You must make it absolutely clear than any such warranty,
  157. support, indemnity or liability obligation is offered by You alone, and You
  158. hereby agree to indemnify the Initial Developer and every Contributor for
  159. any liability incurred by the Initial Developer or such Contributor as a result
  160. of warranty, support, indemnity or liability terms You offer.
  161. 3.6. Distribution of Executable Versions. You may distribute Covered Code
  162. in Executable form only if the requirements of Sections 3.1, 3.2, 3.3, 3.4
  163. and 3.5 have been met for that Covered Code, and if You include a notice stating
  164. that the Source Code version of the Covered Code is available under the terms
  165. of this License, including a description of how and where You have fulfilled
  166. the obligations of Section 3.2. The notice must be conspicuously included
  167. in any notice in an Executable version, related documentation or collateral
  168. in which You describe recipients' rights relating to the Covered Code. You
  169. may distribute the Executable version of Covered Code or ownership rights
  170. under a license of Your choice, which may contain terms different from this
  171. License, provided that You are in compliance with the terms of this License
  172. and that the license for the Executable version does not attempt to limit
  173. or alter the recipient's rights in the Source Code version from the rights
  174. set forth in this License. If You distribute the Executable version under
  175. a different license You must make it absolutely clear that any terms which
  176. differ from this License are offered by You alone, not by the Initial Developer
  177. or any Contributor. You hereby agree to indemnify the Initial Developer and
  178. every Contributor for any liability incurred by the Initial Developer or such
  179. Contributor as a result of any such terms You offer.
  180. 3.7. Larger Works. You may create a Larger Work by combining Covered Code
  181. with other code not governed by the terms of this License and distribute the
  182. Larger Work as a single product. In such a case, You must make sure the requirements
  183. of this License are fulfilled for the Covered Code.
  184. 4. Inability to Comply Due to Statute or Regulation.
  185. If it is impossible for You to comply with any of the terms of this License
  186. with respect to some or all of the Covered Code due to statute, judicial order,
  187. or regulation then You must: (a) comply with the terms of this License to
  188. the maximum extent possible; and (b) describe the limitations and the code
  189. they affect. Such description must be included in the LEGAL file described
  190. in Section 3.4 and must be included with all distributions of the Source Code.
  191. Except to the extent prohibited by statute or regulation, such description
  192. must be sufficiently detailed for a recipient of ordinary skill to be able
  193. to understand it.
  194. 5. Application of this License.
  195. This License applies to code to which the Initial Developer has attached the
  196. notice in Exhibit A and to related Covered Code.
  197. 6. Versions of the License.
  198. 6.1. New Versions
  199. Netscape Communications Corporation ("Netscape") may publish revised and/or
  200. new versions of the License from time to time. Each version will be given
  201. a distinguishing version number.
  202. 6.2. Effect of New Versions
  203. Once Covered Code has been published under a particular version of the License,
  204. You may always continue to use it under the terms of that version. You may
  205. also choose to use such Covered Code under the terms of any subsequent version
  206. of the License published by Netscape. No one other than Netscape has the right
  207. to modify the terms applicable to Covered Code created under this License.
  208. 6.3. Derivative Works
  209. If You create or use a modified version of this License (which you may only
  210. do in order to apply it to code which is not already Covered Code governed
  211. by this License), You must (a) rename Your license so that the phrases "Mozilla",
  212. "MOZILLAPL", "MOZPL", "Netscape", "MPL", "NPL" or any confusingly similar
  213. phrase do not appear in your license (except to note that your license differs
  214. from this License) and (b) otherwise make it clear that Your version of the
  215. license contains terms which differ from the Mozilla Public License and Netscape
  216. Public License. (Filling in the name of the Initial Developer, Original Code
  217. or Contributor in the notice described in Exhibit A shall not of themselves
  218. be deemed to be modifications of this License.)
  219. 7. DISCLAIMER OF WARRANTY
  220. COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTY
  221. OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES
  222. THAT THE COVERED CODE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR
  223. PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE
  224. OF THE COVERED CODE IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN
  225. ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME
  226. THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
  227. OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED
  228. CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
  229. 8. Termination
  230. 8.1. This License and the rights granted hereunder will terminate automatically
  231. if You fail to comply with terms herein and fail to cure such breach within
  232. 30 days of becoming aware of the breach. All sublicenses to the Covered Code
  233. which are properly granted shall survive any termination of this License.
  234. Provisions which, by their nature, must remain in effect beyond the termination
  235. of this License shall survive.
  236. 8.2. If You initiate litigation by asserting a patent infringement claim (excluding
  237. declatory judgment actions) against Initial Developer or a Contributor (the
  238. Initial Developer or Contributor against whom You file such action is referred
  239. to as "Participant") alleging that:
  240. a. such Participant's Contributor Version directly or indirectly infringes
  241. any patent, then any and all rights granted by such Participant to You under
  242. Sections 2.1 and/or 2.2 of this License shall, upon 60 days notice from Participant
  243. terminate prospectively, unless if within 60 days after receipt of notice
  244. You either: (i) agree in writing to pay Participant a mutually agreeable reasonable
  245. royalty for Your past and future use of Modifications made by such Participant,
  246. or (ii) withdraw Your litigation claim with respect to the Contributor Version
  247. against such Participant. If within 60 days of notice, a reasonable royalty
  248. and payment arrangement are not mutually agreed upon in writing by the parties
  249. or the litigation claim is not withdrawn, the rights granted by Participant
  250. to You under Sections 2.1 and/or 2.2 automatically terminate at the expiration
  251. of the 60 day notice period specified above.
  252. b. any software, hardware, or device, other than such Participant's Contributor
  253. Version, directly or indirectly infringes any patent, then any rights granted
  254. to You by such Participant under Sections 2.1(b) and 2.2(b) are revoked effective
  255. as of the date You first made, used, sold, distributed, or had made, Modifications
  256. made by that Participant.
  257. 8.3. If You assert a patent infringement claim against Participant alleging
  258. that such Participant's Contributor Version directly or indirectly infringes
  259. any patent where such claim is resolved (such as by license or settlement)
  260. prior to the initiation of patent infringement litigation, then the reasonable
  261. value of the licenses granted by such Participant under Sections 2.1 or 2.2
  262. shall be taken into account in determining the amount or value of any payment
  263. or license.
  264. 8.4. In the event of termination under Sections 8.1 or 8.2 above, all end
  265. user license agreements (excluding distributors and resellers) which have
  266. been validly granted by You or any distributor hereunder prior to termination
  267. shall survive termination.
  268. 9. LIMITATION OF LIABILITY
  269. UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING
  270. NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER, ANY
  271. OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, OR ANY SUPPLIER OF
  272. ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL,
  273. OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES
  274. FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY
  275. AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE
  276. BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY
  277. SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH
  278. PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION.
  279. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL
  280. OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO
  281. YOU.
  282. 10. U.S. government end users
  283. The Covered Code is a "commercial item," as that term is defined in 48 C.F.R.
  284. 2.101 (Oct. 1995), consisting of "commercial computer software" and "commercial
  285. computer software documentation," as such terms are used in 48 C.F.R. 12.212
  286. (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through
  287. 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Code
  288. with only those rights set forth herein.
  289. 11. Miscellaneous
  290. This License represents the complete agreement concerning subject matter hereof.
  291. If any provision of this License is held to be unenforceable, such provision
  292. shall be reformed only to the extent necessary to make it enforceable. This
  293. License shall be governed by California law provisions (except to the extent
  294. applicable law, if any, provides otherwise), excluding its conflict-of-law
  295. provisions. With respect to disputes in which at least one party is a citizen
  296. of, or an entity chartered or registered to do business in the United States
  297. of America, any litigation relating to this License shall be subject to the
  298. jurisdiction of the Federal Courts of the Northern District of California,
  299. with venue lying in Santa Clara County, California, with the losing party
  300. responsible for costs, including without limitation, court costs and reasonable
  301. attorneys' fees and expenses. The application of the United Nations Convention
  302. on Contracts for the International Sale of Goods is expressly excluded. Any
  303. law or regulation which provides that the language of a contract shall be
  304. construed against the drafter shall not apply to this License.
  305. 12. Responsibility for claims
  306. As between Initial Developer and the Contributors, each party is responsible
  307. for claims and damages arising, directly or indirectly, out of its utilization
  308. of rights under this License and You agree to work with Initial Developer
  309. and Contributors to distribute such responsibility on an equitable basis.
  310. Nothing herein is intended or shall be deemed to constitute any admission
  311. of liability.
  312. 13. Multiple-licensed code
  313. Initial Developer may designate portions of the Covered Code as "Multiple-Licensed".
  314. "Multiple-Licensed" means that the Initial Developer permits you to utilize
  315. portions of the Covered Code under Your choice of the MPL or the alternative
  316. licenses, if any, specified by the Initial Developer in the file described
  317. in Exhibit A. Exhibit A - Mozilla Public License.
  318. "The contents of this file are subject to the Mozilla Public License Version
  319. 1.1 (the "License"); you may not use this file except in compliance with the
  320. License. You may obtain a copy of the License at http://www.mozilla.org/MPL/
  321. Software distributed under the License is distributed on an "AS IS" basis,
  322. WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
  323. the specific language governing rights and limitations under the License.
  324. The Original Code is ______________________________________ .
  325. The Initial Developer of the Original Code is ________________________ .
  326. Portions created by ______________________ are Copyright (C) ______ . All
  327. Rights Reserved.
  328. Contributor(s): ______________________________________ .
  329. Alternatively, the contents of this file may be used under the terms of the
  330. _____ license (the " [___] License"), in which case the provisions of [______]
  331. License are applicable instead of those above. If you wish to allow use of
  332. your version of this file only under the terms of the [____] License and not
  333. to allow others to use your version of this file under the MPL, indicate your
  334. decision by deleting the provisions above and replace them with the notice
  335. and other provisions required by the [___] License. If you do not delete the
  336. provisions above, a recipient may use your version of this file under either
  337. the MPL or the [___] License."
  338. NOTE: The text of this Exhibit A may differ slightly from the text of the
  339. notices in the Source Code files of the Original Code. You should use the
  340. text of this Exhibit A rather than the text found in the Original Code Source
  341. Code for Your Modifications.