/LICENSE

http://github.com/skarab/ewgi · License · 488 lines · 405 code · 83 blank · 0 comment · 0 complexity · dec5187e4e3aa089a2347d66dd2e1016 MD5 · raw file

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