LICENSE 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343
  1. Mozilla Public License Version 2.0
  2. 1. Definitions
  3. 1.1. “Contributor”
  4. means each individual or legal entity that creates, contributes to the
  5. creation of, or owns Covered Software.
  6. 1.2. “Contributor Version”
  7. means the combination of the Contributions of others (if any) used by a
  8. Contributor and that particular Contributor’s Contribution.
  9. 1.3. “Contribution”
  10. means Covered Software of a particular Contributor.
  11. 1.4. “Covered Software”
  12. means Source Code Form to which the initial Contributor has attached the
  13. notice in Exhibit A, the Executable Form of such Source Code Form, and
  14. Modifications of such Source Code Form, in each case including portions
  15. thereof.
  16. 1.5. “Incompatible With Secondary Licenses”
  17. means that the initial Contributor has attached the notice described in
  18. Exhibit B to the Covered Software; or
  19. that the Covered Software was made available under the terms of version 1.1
  20. or earlier of the License, but not also under the terms of a Secondary
  21. License.
  22. 1.6. “Executable Form”
  23. means any form of the work other than Source Code Form.
  24. 1.7. “Larger Work”
  25. means a work that combines Covered Software with other material, in a
  26. separate file or files, that is not Covered Software.
  27. 1.8. “License”
  28. means this document.
  29. 1.9. “Licensable”
  30. means having the right to grant, to the maximum extent possible, whether at
  31. the time of the initial grant or subsequently, any and all of the rights
  32. conveyed by this License.
  33. 1.10. “Modifications”
  34. means any of the following:
  35. any file in Source Code Form that results from an addition to, deletion
  36. from, or modification of the contents of Covered Software; or
  37. any new file in Source Code Form that contains any Covered Software.
  38. 1.11. “Patent Claims” of a Contributor
  39. means any patent claim(s), including without limitation, method, process,
  40. and apparatus claims, in any patent Licensable by such Contributor that
  41. would be infringed, but for the grant of the License, by the making, using,
  42. selling, offering for sale, having made, import, or transfer of either its
  43. Contributions or its Contributor Version.
  44. 1.12. “Secondary License”
  45. means either the GNU General Public License, Version 2.0, the GNU Lesser
  46. General Public License, Version 2.1, the GNU Affero General Public License,
  47. Version 3.0, or any later versions of those licenses.
  48. 1.13. “Source Code Form”
  49. means the form of the work preferred for making modifications.
  50. 1.14. “You” (or “Your”)
  51. means an individual or a legal entity exercising rights under this License.
  52. For legal entities, “You” includes any entity that controls, is controlled
  53. by, or is under common control with You. For purposes of this definition,
  54. “control” means (a) the power, direct or indirect, to cause the direction or
  55. management of such entity, whether by contract or otherwise, or (b)
  56. ownership of more than fifty percent (50%) of the outstanding shares or
  57. beneficial ownership of such entity.
  58. 2. License Grants and Conditions
  59. 2.1. Grants
  60. Each Contributor hereby grants You a world-wide, royalty-free, non-exclusive
  61. license:
  62. under intellectual property rights (other than patent or trademark)
  63. Licensable by such Contributor to use, reproduce, make available, modify,
  64. display, perform, distribute, and otherwise exploit its Contributions,
  65. either on an unmodified basis, with Modifications, or as part of a Larger
  66. Work; and
  67. under Patent Claims of such Contributor to make, use, sell, offer for sale,
  68. have made, import, and otherwise transfer either its Contributions or its
  69. Contributor Version.
  70. 2.2. Effective Date
  71. The licenses granted in Section 2.1 with respect to any Contribution become
  72. effective for each Contribution on the date the Contributor first distributes
  73. such Contribution.
  74. 2.3. Limitations on Grant Scope
  75. The licenses granted in this Section 2 are the only rights granted under this
  76. License. No additional rights or licenses will be implied from the distribution
  77. or licensing of Covered Software under this License. Notwithstanding Section
  78. 2.1(b) above, no patent license is granted by a Contributor:
  79. for any code that a Contributor has removed from Covered Software; or
  80. for infringements caused by: (i) Your and any other third party’s
  81. modifications of Covered Software, or (ii) the combination of its
  82. Contributions with other software (except as part of its Contributor
  83. Version); or
  84. under Patent Claims infringed by Covered Software in the absence of its
  85. Contributions.
  86. This License does not grant any rights in the trademarks, service marks, or
  87. logos of any Contributor (except as may be necessary to comply with the notice
  88. requirements in Section 3.4).
  89. 2.4. Subsequent Licenses
  90. No Contributor makes additional grants as a result of Your choice to distribute
  91. the Covered Software under a subsequent version of this License (see Section
  92. 10.2) or under the terms of a Secondary License (if permitted under the terms of
  93. Section 3.3).
  94. 2.5. Representation
  95. Each Contributor represents that the Contributor believes its Contributions are
  96. its original creation(s) or it has sufficient rights to grant the rights to its
  97. Contributions conveyed by this License.
  98. 2.6. Fair Use
  99. This License is not intended to limit any rights You have under applicable
  100. copyright doctrines of fair use, fair dealing, or other equivalents.
  101. 2.7. Conditions
  102. Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted in
  103. Section 2.1.
  104. 3. Responsibilities
  105. 3.1. Distribution of Source Form
  106. All distribution of Covered Software in Source Code Form, including any
  107. Modifications that You create or to which You contribute, must be under the
  108. terms of this License. You must inform recipients that the Source Code Form of
  109. the Covered Software is governed by the terms of this License, and how they can
  110. obtain a copy of this License. You may not attempt to alter or restrict the
  111. recipients’ rights in the Source Code Form.
  112. 3.2. Distribution of Executable Form
  113. If You distribute Covered Software in Executable Form then:
  114. such Covered Software must also be made available in Source Code Form, as
  115. described in Section 3.1, and You must inform recipients of the Executable
  116. Form how they can obtain a copy of such Source Code Form by reasonable means
  117. in a timely manner, at a charge no more than the cost of distribution to the
  118. recipient; and
  119. You may distribute such Executable Form under the terms of this License, or
  120. sublicense it under different terms, provided that the license for the
  121. Executable Form does not attempt to limit or alter the recipients’ rights in
  122. the Source Code Form under this License.
  123. 3.3. Distribution of a Larger Work
  124. You may create and distribute a Larger Work under terms of Your choice, provided
  125. that You also comply with the requirements of this License for the Covered
  126. Software. If the Larger Work is a combination of Covered Software with a work
  127. governed by one or more Secondary Licenses, and the Covered Software is not
  128. Incompatible With Secondary Licenses, this License permits You to additionally
  129. distribute such Covered Software under the terms of such Secondary License(s),
  130. so that the recipient of the Larger Work may, at their option, further
  131. distribute the Covered Software under the terms of either this License or such
  132. Secondary License(s).
  133. 3.4. Notices
  134. You may not remove or alter the substance of any license notices (including
  135. copyright notices, patent notices, disclaimers of warranty, or limitations of
  136. liability) contained within the Source Code Form of the Covered Software, except
  137. that You may alter any license notices to the extent required to remedy known
  138. factual inaccuracies.
  139. 3.5. Application of Additional Terms
  140. You may choose to offer, and to charge a fee for, warranty, support, indemnity
  141. or liability obligations to one or more recipients of Covered Software. However,
  142. You may do so only on Your own behalf, and not on behalf of any Contributor. You
  143. must make it absolutely clear that any such warranty, support, indemnity, or
  144. liability obligation is offered by You alone, and You hereby agree to indemnify
  145. every Contributor for any liability incurred by such Contributor as a result of
  146. warranty, support, indemnity or liability terms You offer. You may include
  147. additional disclaimers of warranty and limitations of liability specific to any
  148. jurisdiction.
  149. 4. Inability to Comply Due to Statute or Regulation
  150. If it is impossible for You to comply with any of the terms of this License with
  151. respect to some or all of the Covered Software due to statute, judicial order,
  152. or regulation then You must: (a) comply with the terms of this License to the
  153. maximum extent possible; and (b) describe the limitations and the code they
  154. affect. Such description must be placed in a text file included with all
  155. distributions of the Covered Software under this License. Except to the extent
  156. prohibited by statute or regulation, such description must be sufficiently
  157. detailed for a recipient of ordinary skill to be able to understand it.
  158. 5. Termination
  159. 5.1. The rights granted under this License will terminate automatically if You
  160. fail to comply with any of its terms. However, if You become compliant, then the
  161. rights granted under this License from a particular Contributor are reinstated
  162. (a) provisionally, unless and until such Contributor explicitly and finally
  163. terminates Your grants, and (b) on an ongoing basis, if such Contributor fails
  164. to notify You of the non-compliance by some reasonable means prior to 60 days
  165. after You have come back into compliance. Moreover, Your grants from a
  166. particular Contributor are reinstated on an ongoing basis if such Contributor
  167. notifies You of the non-compliance by some reasonable means, this is the first
  168. time You have received notice of non-compliance with this License from such
  169. Contributor, and You become compliant prior to 30 days after Your receipt of the
  170. notice.
  171. 5.2. If You initiate litigation against any entity by asserting a patent
  172. infringement claim (excluding declaratory judgment actions, counter-claims, and
  173. cross-claims) alleging that a Contributor Version directly or indirectly
  174. infringes any patent, then the rights granted to You by any and all Contributors
  175. for the Covered Software under Section 2.1 of this License shall terminate.
  176. 5.3. In the event of termination under Sections 5.1 or 5.2 above, all end user
  177. license agreements (excluding distributors and resellers) which have been
  178. validly granted by You or Your distributors under this License prior to
  179. termination shall survive termination.
  180. 6. Disclaimer of Warranty
  181. Covered Software is provided under this License on an “as is” basis, without
  182. warranty of any kind, either expressed, implied, or statutory, including,
  183. without limitation, warranties that the Covered Software is free of defects,
  184. merchantable, fit for a particular purpose or non-infringing. The entire risk as
  185. to the quality and performance of the Covered Software is with You. Should any
  186. Covered Software prove defective in any respect, You (not any Contributor)
  187. assume the cost of any necessary servicing, repair, or correction. This
  188. disclaimer of warranty constitutes an essential part of this License. No use of
  189. any Covered Software is authorized under this License except under this
  190. disclaimer.
  191. 7. Limitation of Liability
  192. Under no circumstances and under no legal theory, whether tort (including
  193. negligence), contract, or otherwise, shall any Contributor, or anyone who
  194. distributes Covered Software as permitted above, be liable to You for any
  195. direct, indirect, special, incidental, or consequential damages of any character
  196. including, without limitation, damages for lost profits, loss of goodwill, work
  197. stoppage, computer failure or malfunction, or any and all other commercial
  198. damages or losses, even if such party shall have been informed of the
  199. possibility of such damages. This limitation of liability shall not apply to
  200. liability for death or personal injury resulting from such party’s negligence to
  201. the extent applicable law prohibits such limitation. Some jurisdictions do not
  202. allow the exclusion or limitation of incidental or consequential damages, so
  203. this exclusion and limitation may not apply to You.
  204. 8. Litigation
  205. Any litigation relating to this License may be brought only in the courts of a
  206. jurisdiction where the defendant maintains its principal place of business and
  207. such litigation shall be governed by laws of that jurisdiction, without
  208. reference to its conflict-of-law provisions. Nothing in this Section shall
  209. prevent a party’s ability to bring cross-claims or counter-claims.
  210. 9. Miscellaneous
  211. This License represents the complete agreement concerning the subject matter
  212. hereof. If any provision of this License is held to be unenforceable, such
  213. provision shall be reformed only to the extent necessary to make it enforceable.
  214. Any law or regulation which provides that the language of a contract shall be
  215. construed against the drafter shall not be used to construe this License against
  216. a Contributor.
  217. 10. Versions of the License
  218. 10.1. New Versions
  219. Mozilla Foundation is the license steward. Except as provided in Section 10.3,
  220. no one other than the license steward has the right to modify or publish new
  221. versions of this License. Each version will be given a distinguishing version
  222. number.
  223. 10.2. Effect of New Versions
  224. You may distribute the Covered Software under the terms of the version of the
  225. License under which You originally received the Covered Software, or under the
  226. terms of any subsequent version published by the license steward.
  227. 10.3. Modified Versions
  228. If you create software not governed by this License, and you want to create a
  229. new license for such software, you may create and use a modified version of this
  230. License if you rename the license and remove any references to the name of the
  231. license steward (except to note that such modified license differs from this
  232. License).
  233. 10.4. Distributing Source Code Form that is Incompatible With Secondary Licenses
  234. If You choose to distribute Source Code Form that is Incompatible With Secondary
  235. Licenses under the terms of this version of the License, the notice described in
  236. Exhibit B of this License must be attached.
  237. Exhibit A - Source Code Form License Notice
  238. This Source Code Form is subject to the terms of the Mozilla Public License,
  239. v. 2.0. If a copy of the MPL was not distributed with this file, You can
  240. obtain one at https://mozilla.org/MPL/2.0/.
  241. If it is not possible or desirable to put the notice in a particular file, then
  242. You may include the notice in a location (such as a LICENSE file in a relevant
  243. directory) where a recipient would be likely to look for such a notice.
  244. You may add additional accurate notices of copyright ownership.
  245. Exhibit B - “Incompatible With Secondary Licenses” Notice
  246. This Source Code Form is “Incompatible With Secondary Licenses”, as defined
  247. by the Mozilla Public License, v. 2.0.