PageRenderTime 107ms CodeModel.GetById 60ms app.highlight 5ms RepoModel.GetById 35ms app.codeStats 0ms

/LICENSE

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