1 ================================================================================
2 The contents of this distribution are copyrighted and licensed as follows:
3 ================================================================================
5 - src/org/xwt/TinySSL.java is Copyright 2002 Adam Megacz, and is
6 licensed under the GNU Library General Public License; you may
7 reuse it in closed source applications under certain conditions;
8 see the LGPL (attached below).
10 - src/org/xwt/js/Lexer.java was partially derived from the Rhino
11 JavaScript interpreter; hence is covered by the Netscape Public
14 - src/org/mozilla/** contains the Rhino JavaScript Interpreter,
15 which is Copyright Netscape Communications Corporation, and is
16 licensed under the Netscape Public License.
18 - lib/netscape.jar and lib/signtool are Copyright Netscape
19 Communications Corporation
21 - lib/msjvm.jar, lib/cabarc.exe, lib/signcode.exe, and
22 lib/guidgen.exe are Copyright Microsoft Corporation
24 - lib/javago is a compiled binary copy of the JavaGO global
25 optimizer, written by Konstantin Knizhnik and "is freeware and is
26 distributed without any restrictions on its usage"
28 - src/org/xwt/PNG.java is Copyright (c) 1997, Jason
29 Marshall. All Rights Reserved. Additional licensing terms are
30 contained in that file.
32 - src/org/xwt/GIF.java is Copyright D. J. Hagberg, Jr. Additional
33 licensing terms are contained in that file.
35 - the contents of src/org/bouncycastle is Copyright (c) 2000-2002 The
36 Legion Of The Bouncy Castle (http://www.bouncycastle.org); licensing
37 terms are available at http://www.bouncycastle.org/license.html
39 - All other files are Copyright 2003 Adam Megacz, all rights
40 reserved, all disclaimable warranties disclaimed.
42 You may redistribute and/or modify the XWT engine (src/org/xwt/
43 and all subdirectories) under the GNU General Public License
44 ("GPL", included below), version 2 ONLY (not any prior or later
45 versions), subject to the following two clarifications:
47 As a clarification to the General Public License, any data files
48 (.xwt, .gif, .png) loaded into a running copy of the XWT Engine,
49 are specifically NOT considered "derivitave works" of the engine,
50 so long as they do not contain any code copied from the engine.
53 ========================================================================
54 The GNU General Public License
56 GNU GENERAL PUBLIC LICENSE
59 Copyright (C) 1989, 1991 Free Software Foundation, Inc.
60 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
61 Everyone is permitted to copy and distribute verbatim copies
62 of this license document, but changing it is not allowed.
66 The licenses for most software are designed to take away your
67 freedom to share and change it. By contrast, the GNU General Public
68 License is intended to guarantee your freedom to share and change free
69 software--to make sure the software is free for all its users. This
70 General Public License applies to most of the Free Software
71 Foundation's software and to any other program whose authors commit to
72 using it. (Some other Free Software Foundation software is covered by
73 the GNU Library General Public License instead.) You can apply it to
76 When we speak of free software, we are referring to freedom, not
77 price. Our General Public Licenses are designed to make sure that you
78 have the freedom to distribute copies of free software (and charge for
79 this service if you wish), that you receive source code or can get it
80 if you want it, that you can change the software or use pieces of it
81 in new free programs; and that you know you can do these things.
83 To protect your rights, we need to make restrictions that forbid
84 anyone to deny you these rights or to ask you to surrender the rights.
85 These restrictions translate to certain responsibilities for you if you
86 distribute copies of the software, or if you modify it.
88 For example, if you distribute copies of such a program, whether
89 gratis or for a fee, you must give the recipients all the rights that
90 you have. You must make sure that they, too, receive or can get the
91 source code. And you must show them these terms so they know their
94 We protect your rights with two steps: (1) copyright the software, and
95 (2) offer you this license which gives you legal permission to copy,
96 distribute and/or modify the software.
98 Also, for each author's protection and ours, we want to make certain
99 that everyone understands that there is no warranty for this free
100 software. If the software is modified by someone else and passed on, we
101 want its recipients to know that what they have is not the original, so
102 that any problems introduced by others will not reflect on the original
103 authors' reputations.
105 Finally, any free program is threatened constantly by software
106 patents. We wish to avoid the danger that redistributors of a free
107 program will individually obtain patent licenses, in effect making the
108 program proprietary. To prevent this, we have made it clear that any
109 patent must be licensed for everyone's free use or not licensed at all.
111 The precise terms and conditions for copying, distribution and
114 GNU GENERAL PUBLIC LICENSE
115 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
117 0. This License applies to any program or other work which contains
118 a notice placed by the copyright holder saying it may be distributed
119 under the terms of this General Public License. The "Program", below,
120 refers to any such program or work, and a "work based on the Program"
121 means either the Program or any derivative work under copyright law:
122 that is to say, a work containing the Program or a portion of it,
123 either verbatim or with modifications and/or translated into another
124 language. (Hereinafter, translation is included without limitation in
125 the term "modification".) Each licensee is addressed as "you".
127 Activities other than copying, distribution and modification are not
128 covered by this License; they are outside its scope. The act of
129 running the Program is not restricted, and the output from the Program
130 is covered only if its contents constitute a work based on the
131 Program (independent of having been made by running the Program).
132 Whether that is true depends on what the Program does.
134 1. You may copy and distribute verbatim copies of the Program's
135 source code as you receive it, in any medium, provided that you
136 conspicuously and appropriately publish on each copy an appropriate
137 copyright notice and disclaimer of warranty; keep intact all the
138 notices that refer to this License and to the absence of any warranty;
139 and give any other recipients of the Program a copy of this License
140 along with the Program.
142 You may charge a fee for the physical act of transferring a copy, and
143 you may at your option offer warranty protection in exchange for a fee.
145 2. You may modify your copy or copies of the Program or any portion
146 of it, thus forming a work based on the Program, and copy and
147 distribute such modifications or work under the terms of Section 1
148 above, provided that you also meet all of these conditions:
150 a) You must cause the modified files to carry prominent notices
151 stating that you changed the files and the date of any change.
153 b) You must cause any work that you distribute or publish, that in
154 whole or in part contains or is derived from the Program or any
155 part thereof, to be licensed as a whole at no charge to all third
156 parties under the terms of this License.
158 c) If the modified program normally reads commands interactively
159 when run, you must cause it, when started running for such
160 interactive use in the most ordinary way, to print or display an
161 announcement including an appropriate copyright notice and a
162 notice that there is no warranty (or else, saying that you provide
163 a warranty) and that users may redistribute the program under
164 these conditions, and telling the user how to view a copy of this
165 License. (Exception: if the Program itself is interactive but
166 does not normally print such an announcement, your work based on
167 the Program is not required to print an announcement.)
169 These requirements apply to the modified work as a whole. If
170 identifiable sections of that work are not derived from the Program,
171 and can be reasonably considered independent and separate works in
172 themselves, then this License, and its terms, do not apply to those
173 sections when you distribute them as separate works. But when you
174 distribute the same sections as part of a whole which is a work based
175 on the Program, the distribution of the whole must be on the terms of
176 this License, whose permissions for other licensees extend to the
177 entire whole, and thus to each and every part regardless of who wrote it.
179 Thus, it is not the intent of this section to claim rights or contest
180 your rights to work written entirely by you; rather, the intent is to
181 exercise the right to control the distribution of derivative or
182 collective works based on the Program.
184 In addition, mere aggregation of another work not based on the Program
185 with the Program (or with a work based on the Program) on a volume of
186 a storage or distribution medium does not bring the other work under
187 the scope of this License.
189 3. You may copy and distribute the Program (or a work based on it,
190 under Section 2) in object code or executable form under the terms of
191 Sections 1 and 2 above provided that you also do one of the following:
193 a) Accompany it with the complete corresponding machine-readable
194 source code, which must be distributed under the terms of Sections
195 1 and 2 above on a medium customarily used for software interchange; or,
197 b) Accompany it with a written offer, valid for at least three
198 years, to give any third party, for a charge no more than your
199 cost of physically performing source distribution, a complete
200 machine-readable copy of the corresponding source code, to be
201 distributed under the terms of Sections 1 and 2 above on a medium
202 customarily used for software interchange; or,
204 c) Accompany it with the information you received as to the offer
205 to distribute corresponding source code. (This alternative is
206 allowed only for noncommercial distribution and only if you
207 received the program in object code or executable form with such
208 an offer, in accord with Subsection b above.)
210 The source code for a work means the preferred form of the work for
211 making modifications to it. For an executable work, complete source
212 code means all the source code for all modules it contains, plus any
213 associated interface definition files, plus the scripts used to
214 control compilation and installation of the executable. However, as a
215 special exception, the source code distributed need not include
216 anything that is normally distributed (in either source or binary
217 form) with the major components (compiler, kernel, and so on) of the
218 operating system on which the executable runs, unless that component
219 itself accompanies the executable.
221 If distribution of executable or object code is made by offering
222 access to copy from a designated place, then offering equivalent
223 access to copy the source code from the same place counts as
224 distribution of the source code, even though third parties are not
225 compelled to copy the source along with the object code.
227 4. You may not copy, modify, sublicense, or distribute the Program
228 except as expressly provided under this License. Any attempt
229 otherwise to copy, modify, sublicense or distribute the Program is
230 void, and will automatically terminate your rights under this License.
231 However, parties who have received copies, or rights, from you under
232 this License will not have their licenses terminated so long as such
233 parties remain in full compliance.
235 5. You are not required to accept this License, since you have not
236 signed it. However, nothing else grants you permission to modify or
237 distribute the Program or its derivative works. These actions are
238 prohibited by law if you do not accept this License. Therefore, by
239 modifying or distributing the Program (or any work based on the
240 Program), you indicate your acceptance of this License to do so, and
241 all its terms and conditions for copying, distributing or modifying
242 the Program or works based on it.
244 6. Each time you redistribute the Program (or any work based on the
245 Program), the recipient automatically receives a license from the
246 original licensor to copy, distribute or modify the Program subject to
247 these terms and conditions. You may not impose any further
248 restrictions on the recipients' exercise of the rights granted herein.
249 You are not responsible for enforcing compliance by third parties to
252 7. If, as a consequence of a court judgment or allegation of patent
253 infringement or for any other reason (not limited to patent issues),
254 conditions are imposed on you (whether by court order, agreement or
255 otherwise) that contradict the conditions of this License, they do not
256 excuse you from the conditions of this License. If you cannot
257 distribute so as to satisfy simultaneously your obligations under this
258 License and any other pertinent obligations, then as a consequence you
259 may not distribute the Program at all. For example, if a patent
260 license would not permit royalty-free redistribution of the Program by
261 all those who receive copies directly or indirectly through you, then
262 the only way you could satisfy both it and this License would be to
263 refrain entirely from distribution of the Program.
265 If any portion of this section is held invalid or unenforceable under
266 any particular circumstance, the balance of the section is intended to
267 apply and the section as a whole is intended to apply in other
270 It is not the purpose of this section to induce you to infringe any
271 patents or other property right claims or to contest validity of any
272 such claims; this section has the sole purpose of protecting the
273 integrity of the free software distribution system, which is
274 implemented by public license practices. Many people have made
275 generous contributions to the wide range of software distributed
276 through that system in reliance on consistent application of that
277 system; it is up to the author/donor to decide if he or she is willing
278 to distribute software through any other system and a licensee cannot
281 This section is intended to make thoroughly clear what is believed to
282 be a consequence of the rest of this License.
284 8. If the distribution and/or use of the Program is restricted in
285 certain countries either by patents or by copyrighted interfaces, the
286 original copyright holder who places the Program under this License
287 may add an explicit geographical distribution limitation excluding
288 those countries, so that distribution is permitted only in or among
289 countries not thus excluded. In such case, this License incorporates
290 the limitation as if written in the body of this License.
292 9. The Free Software Foundation may publish revised and/or new versions
293 of the General Public License from time to time. Such new versions will
294 be similar in spirit to the present version, but may differ in detail to
295 address new problems or concerns.
297 Each version is given a distinguishing version number. If the Program
298 specifies a version number of this License which applies to it and "any
299 later version", you have the option of following the terms and conditions
300 either of that version or of any later version published by the Free
301 Software Foundation. If the Program does not specify a version number of
302 this License, you may choose any version ever published by the Free Software
305 10. If you wish to incorporate parts of the Program into other free
306 programs whose distribution conditions are different, write to the author
307 to ask for permission. For software which is copyrighted by the Free
308 Software Foundation, write to the Free Software Foundation; we sometimes
309 make exceptions for this. Our decision will be guided by the two goals
310 of preserving the free status of all derivatives of our free software and
311 of promoting the sharing and reuse of software generally.
315 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
316 FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
317 OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
318 PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
319 OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
320 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
321 TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
322 PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
323 REPAIR OR CORRECTION.
325 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
326 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
327 REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
328 INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
329 OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
330 TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
331 YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
332 PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
333 POSSIBILITY OF SUCH DAMAGES.
335 END OF TERMS AND CONDITIONS
337 How to Apply These Terms to Your New Programs
339 If you develop a new program, and you want it to be of the greatest
340 possible use to the public, the best way to achieve this is to make it
341 free software which everyone can redistribute and change under these terms.
343 To do so, attach the following notices to the program. It is safest
344 to attach them to the start of each source file to most effectively
345 convey the exclusion of warranty; and each file should have at least
346 the "copyright" line and a pointer to where the full notice is found.
348 <one line to give the program's name and a brief idea of what it does.>
349 Copyright (C) <year> <name of author>
351 This program is free software; you can redistribute it and/or modify
352 it under the terms of the GNU General Public License as published by
353 the Free Software Foundation; either version 2 of the License, or
354 (at your option) any later version.
356 This program is distributed in the hope that it will be useful,
357 but WITHOUT ANY WARRANTY; without even the implied warranty of
358 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
359 GNU General Public License for more details.
361 You should have received a copy of the GNU General Public License
362 along with this program; if not, write to the Free Software
363 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
366 Also add information on how to contact you by electronic and paper mail.
368 If the program is interactive, make it output a short notice like this
369 when it starts in an interactive mode:
371 Gnomovision version 69, Copyright (C) year name of author
372 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
373 This is free software, and you are welcome to redistribute it
374 under certain conditions; type `show c' for details.
376 The hypothetical commands `show w' and `show c' should show the appropriate
377 parts of the General Public License. Of course, the commands you use may
378 be called something other than `show w' and `show c'; they could even be
379 mouse-clicks or menu items--whatever suits your program.
381 You should also get your employer (if you work as a programmer) or your
382 school, if any, to sign a "copyright disclaimer" for the program, if
383 necessary. Here is a sample; alter the names:
385 Yoyodyne, Inc., hereby disclaims all copyright interest in the program
386 `Gnomovision' (which makes passes at compilers) written by James Hacker.
388 <signature of Ty Coon>, 1 April 1989
389 Ty Coon, President of Vice
391 This General Public License does not permit incorporating your program into
392 proprietary programs. If your program is a subroutine library, you may
393 consider it more useful to permit linking proprietary applications with the
394 library. If this is what you want to do, use the GNU Library General
395 Public License instead of this License.
399 ========================================================================
400 The GNU Lesser General Public License
402 GNU LESSER GENERAL PUBLIC LICENSE
403 Version 2.1, February 1999
405 Copyright (C) 1991, 1999 Free Software Foundation, Inc.
406 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
407 Everyone is permitted to copy and distribute verbatim copies
408 of this license document, but changing it is not allowed.
410 [This is the first released version of the Lesser GPL. It also counts
411 as the successor of the GNU Library Public License, version 2, hence
412 the version number 2.1.]
416 The licenses for most software are designed to take away your
417 freedom to share and change it. By contrast, the GNU General Public
418 Licenses are intended to guarantee your freedom to share and change
419 free software--to make sure the software is free for all its users.
421 This license, the Lesser General Public License, applies to some
422 specially designated software packages--typically libraries--of the
423 Free Software Foundation and other authors who decide to use it. You
424 can use it too, but we suggest you first think carefully about whether
425 this license or the ordinary General Public License is the better
426 strategy to use in any particular case, based on the explanations below.
428 When we speak of free software, we are referring to freedom of use,
429 not price. Our General Public Licenses are designed to make sure that
430 you have the freedom to distribute copies of free software (and charge
431 for this service if you wish); that you receive source code or can get
432 it if you want it; that you can change the software and use pieces of
433 it in new free programs; and that you are informed that you can do
436 To protect your rights, we need to make restrictions that forbid
437 distributors to deny you these rights or to ask you to surrender these
438 rights. These restrictions translate to certain responsibilities for
439 you if you distribute copies of the library or if you modify it.
441 For example, if you distribute copies of the library, whether gratis
442 or for a fee, you must give the recipients all the rights that we gave
443 you. You must make sure that they, too, receive or can get the source
444 code. If you link other code with the library, you must provide
445 complete object files to the recipients, so that they can relink them
446 with the library after making changes to the library and recompiling
447 it. And you must show them these terms so they know their rights.
449 We protect your rights with a two-step method: (1) we copyright the
450 library, and (2) we offer you this license, which gives you legal
451 permission to copy, distribute and/or modify the library.
453 To protect each distributor, we want to make it very clear that
454 there is no warranty for the free library. Also, if the library is
455 modified by someone else and passed on, the recipients should know
456 that what they have is not the original version, so that the original
457 author's reputation will not be affected by problems that might be
458 introduced by others.
460 Finally, software patents pose a constant threat to the existence of
461 any free program. We wish to make sure that a company cannot
462 effectively restrict the users of a free program by obtaining a
463 restrictive license from a patent holder. Therefore, we insist that
464 any patent license obtained for a version of the library must be
465 consistent with the full freedom of use specified in this license.
467 Most GNU software, including some libraries, is covered by the
468 ordinary GNU General Public License. This license, the GNU Lesser
469 General Public License, applies to certain designated libraries, and
470 is quite different from the ordinary General Public License. We use
471 this license for certain libraries in order to permit linking those
472 libraries into non-free programs.
474 When a program is linked with a library, whether statically or using
475 a shared library, the combination of the two is legally speaking a
476 combined work, a derivative of the original library. The ordinary
477 General Public License therefore permits such linking only if the
478 entire combination fits its criteria of freedom. The Lesser General
479 Public License permits more lax criteria for linking other code with
482 We call this license the "Lesser" General Public License because it
483 does Less to protect the user's freedom than the ordinary General
484 Public License. It also provides other free software developers Less
485 of an advantage over competing non-free programs. These disadvantages
486 are the reason we use the ordinary General Public License for many
487 libraries. However, the Lesser license provides advantages in certain
488 special circumstances.
490 For example, on rare occasions, there may be a special need to
491 encourage the widest possible use of a certain library, so that it becomes
492 a de-facto standard. To achieve this, non-free programs must be
493 allowed to use the library. A more frequent case is that a free
494 library does the same job as widely used non-free libraries. In this
495 case, there is little to gain by limiting the free library to free
496 software only, so we use the Lesser General Public License.
498 In other cases, permission to use a particular library in non-free
499 programs enables a greater number of people to use a large body of
500 free software. For example, permission to use the GNU C Library in
501 non-free programs enables many more people to use the whole GNU
502 operating system, as well as its variant, the GNU/Linux operating
505 Although the Lesser General Public License is Less protective of the
506 users' freedom, it does ensure that the user of a program that is
507 linked with the Library has the freedom and the wherewithal to run
508 that program using a modified version of the Library.
510 The precise terms and conditions for copying, distribution and
511 modification follow. Pay close attention to the difference between a
512 "work based on the library" and a "work that uses the library". The
513 former contains code derived from the library, whereas the latter must
514 be combined with the library in order to run.
516 GNU LESSER GENERAL PUBLIC LICENSE
517 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
519 0. This License Agreement applies to any software library or other
520 program which contains a notice placed by the copyright holder or
521 other authorized party saying it may be distributed under the terms of
522 this Lesser General Public License (also called "this License").
523 Each licensee is addressed as "you".
525 A "library" means a collection of software functions and/or data
526 prepared so as to be conveniently linked with application programs
527 (which use some of those functions and data) to form executables.
529 The "Library", below, refers to any such software library or work
530 which has been distributed under these terms. A "work based on the
531 Library" means either the Library or any derivative work under
532 copyright law: that is to say, a work containing the Library or a
533 portion of it, either verbatim or with modifications and/or translated
534 straightforwardly into another language. (Hereinafter, translation is
535 included without limitation in the term "modification".)
537 "Source code" for a work means the preferred form of the work for
538 making modifications to it. For a library, complete source code means
539 all the source code for all modules it contains, plus any associated
540 interface definition files, plus the scripts used to control compilation
541 and installation of the library.
543 Activities other than copying, distribution and modification are not
544 covered by this License; they are outside its scope. The act of
545 running a program using the Library is not restricted, and output from
546 such a program is covered only if its contents constitute a work based
547 on the Library (independent of the use of the Library in a tool for
548 writing it). Whether that is true depends on what the Library does
549 and what the program that uses the Library does.
551 1. You may copy and distribute verbatim copies of the Library's
552 complete source code as you receive it, in any medium, provided that
553 you conspicuously and appropriately publish on each copy an
554 appropriate copyright notice and disclaimer of warranty; keep intact
555 all the notices that refer to this License and to the absence of any
556 warranty; and distribute a copy of this License along with the
559 You may charge a fee for the physical act of transferring a copy,
560 and you may at your option offer warranty protection in exchange for a
563 2. You may modify your copy or copies of the Library or any portion
564 of it, thus forming a work based on the Library, and copy and
565 distribute such modifications or work under the terms of Section 1
566 above, provided that you also meet all of these conditions:
568 a) The modified work must itself be a software library.
570 b) You must cause the files modified to carry prominent notices
571 stating that you changed the files and the date of any change.
573 c) You must cause the whole of the work to be licensed at no
574 charge to all third parties under the terms of this License.
576 d) If a facility in the modified Library refers to a function or a
577 table of data to be supplied by an application program that uses
578 the facility, other than as an argument passed when the facility
579 is invoked, then you must make a good faith effort to ensure that,
580 in the event an application does not supply such function or
581 table, the facility still operates, and performs whatever part of
582 its purpose remains meaningful.
584 (For example, a function in a library to compute square roots has
585 a purpose that is entirely well-defined independent of the
586 application. Therefore, Subsection 2d requires that any
587 application-supplied function or table used by this function must
588 be optional: if the application does not supply it, the square
589 root function must still compute square roots.)
591 These requirements apply to the modified work as a whole. If
592 identifiable sections of that work are not derived from the Library,
593 and can be reasonably considered independent and separate works in
594 themselves, then this License, and its terms, do not apply to those
595 sections when you distribute them as separate works. But when you
596 distribute the same sections as part of a whole which is a work based
597 on the Library, the distribution of the whole must be on the terms of
598 this License, whose permissions for other licensees extend to the
599 entire whole, and thus to each and every part regardless of who wrote
602 Thus, it is not the intent of this section to claim rights or contest
603 your rights to work written entirely by you; rather, the intent is to
604 exercise the right to control the distribution of derivative or
605 collective works based on the Library.
607 In addition, mere aggregation of another work not based on the Library
608 with the Library (or with a work based on the Library) on a volume of
609 a storage or distribution medium does not bring the other work under
610 the scope of this License.
612 3. You may opt to apply the terms of the ordinary GNU General Public
613 License instead of this License to a given copy of the Library. To do
614 this, you must alter all the notices that refer to this License, so
615 that they refer to the ordinary GNU General Public License, version 2,
616 instead of to this License. (If a newer version than version 2 of the
617 ordinary GNU General Public License has appeared, then you can specify
618 that version instead if you wish.) Do not make any other change in
621 Once this change is made in a given copy, it is irreversible for
622 that copy, so the ordinary GNU General Public License applies to all
623 subsequent copies and derivative works made from that copy.
625 This option is useful when you wish to copy part of the code of
626 the Library into a program that is not a library.
628 4. You may copy and distribute the Library (or a portion or
629 derivative of it, under Section 2) in object code or executable form
630 under the terms of Sections 1 and 2 above provided that you accompany
631 it with the complete corresponding machine-readable source code, which
632 must be distributed under the terms of Sections 1 and 2 above on a
633 medium customarily used for software interchange.
635 If distribution of object code is made by offering access to copy
636 from a designated place, then offering equivalent access to copy the
637 source code from the same place satisfies the requirement to
638 distribute the source code, even though third parties are not
639 compelled to copy the source along with the object code.
641 5. A program that contains no derivative of any portion of the
642 Library, but is designed to work with the Library by being compiled or
643 linked with it, is called a "work that uses the Library". Such a
644 work, in isolation, is not a derivative work of the Library, and
645 therefore falls outside the scope of this License.
647 However, linking a "work that uses the Library" with the Library
648 creates an executable that is a derivative of the Library (because it
649 contains portions of the Library), rather than a "work that uses the
650 library". The executable is therefore covered by this License.
651 Section 6 states terms for distribution of such executables.
653 When a "work that uses the Library" uses material from a header file
654 that is part of the Library, the object code for the work may be a
655 derivative work of the Library even though the source code is not.
656 Whether this is true is especially significant if the work can be
657 linked without the Library, or if the work is itself a library. The
658 threshold for this to be true is not precisely defined by law.
660 If such an object file uses only numerical parameters, data
661 structure layouts and accessors, and small macros and small inline
662 functions (ten lines or less in length), then the use of the object
663 file is unrestricted, regardless of whether it is legally a derivative
664 work. (Executables containing this object code plus portions of the
665 Library will still fall under Section 6.)
667 Otherwise, if the work is a derivative of the Library, you may
668 distribute the object code for the work under the terms of Section 6.
669 Any executables containing that work also fall under Section 6,
670 whether or not they are linked directly with the Library itself.
672 6. As an exception to the Sections above, you may also combine or
673 link a "work that uses the Library" with the Library to produce a
674 work containing portions of the Library, and distribute that work
675 under terms of your choice, provided that the terms permit
676 modification of the work for the customer's own use and reverse
677 engineering for debugging such modifications.
679 You must give prominent notice with each copy of the work that the
680 Library is used in it and that the Library and its use are covered by
681 this License. You must supply a copy of this License. If the work
682 during execution displays copyright notices, you must include the
683 copyright notice for the Library among them, as well as a reference
684 directing the user to the copy of this License. Also, you must do one
687 a) Accompany the work with the complete corresponding
688 machine-readable source code for the Library including whatever
689 changes were used in the work (which must be distributed under
690 Sections 1 and 2 above); and, if the work is an executable linked
691 with the Library, with the complete machine-readable "work that
692 uses the Library", as object code and/or source code, so that the
693 user can modify the Library and then relink to produce a modified
694 executable containing the modified Library. (It is understood
695 that the user who changes the contents of definitions files in the
696 Library will not necessarily be able to recompile the application
697 to use the modified definitions.)
699 b) Use a suitable shared library mechanism for linking with the
700 Library. A suitable mechanism is one that (1) uses at run time a
701 copy of the library already present on the user's computer system,
702 rather than copying library functions into the executable, and (2)
703 will operate properly with a modified version of the library, if
704 the user installs one, as long as the modified version is
705 interface-compatible with the version that the work was made with.
707 c) Accompany the work with a written offer, valid for at
708 least three years, to give the same user the materials
709 specified in Subsection 6a, above, for a charge no more
710 than the cost of performing this distribution.
712 d) If distribution of the work is made by offering access to copy
713 from a designated place, offer equivalent access to copy the above
714 specified materials from the same place.
716 e) Verify that the user has already received a copy of these
717 materials or that you have already sent this user a copy.
719 For an executable, the required form of the "work that uses the
720 Library" must include any data and utility programs needed for
721 reproducing the executable from it. However, as a special exception,
722 the materials to be distributed need not include anything that is
723 normally distributed (in either source or binary form) with the major
724 components (compiler, kernel, and so on) of the operating system on
725 which the executable runs, unless that component itself accompanies
728 It may happen that this requirement contradicts the license
729 restrictions of other proprietary libraries that do not normally
730 accompany the operating system. Such a contradiction means you cannot
731 use both them and the Library together in an executable that you
734 7. You may place library facilities that are a work based on the
735 Library side-by-side in a single library together with other library
736 facilities not covered by this License, and distribute such a combined
737 library, provided that the separate distribution of the work based on
738 the Library and of the other library facilities is otherwise
739 permitted, and provided that you do these two things:
741 a) Accompany the combined library with a copy of the same work
742 based on the Library, uncombined with any other library
743 facilities. This must be distributed under the terms of the
746 b) Give prominent notice with the combined library of the fact
747 that part of it is a work based on the Library, and explaining
748 where to find the accompanying uncombined form of the same work.
750 8. You may not copy, modify, sublicense, link with, or distribute
751 the Library except as expressly provided under this License. Any
752 attempt otherwise to copy, modify, sublicense, link with, or
753 distribute the Library is void, and will automatically terminate your
754 rights under this License. However, parties who have received copies,
755 or rights, from you under this License will not have their licenses
756 terminated so long as such parties remain in full compliance.
758 9. You are not required to accept this License, since you have not
759 signed it. However, nothing else grants you permission to modify or
760 distribute the Library or its derivative works. These actions are
761 prohibited by law if you do not accept this License. Therefore, by
762 modifying or distributing the Library (or any work based on the
763 Library), you indicate your acceptance of this License to do so, and
764 all its terms and conditions for copying, distributing or modifying
765 the Library or works based on it.
767 10. Each time you redistribute the Library (or any work based on the
768 Library), the recipient automatically receives a license from the
769 original licensor to copy, distribute, link with or modify the Library
770 subject to these terms and conditions. You may not impose any further
771 restrictions on the recipients' exercise of the rights granted herein.
772 You are not responsible for enforcing compliance by third parties with
775 11. If, as a consequence of a court judgment or allegation of patent
776 infringement or for any other reason (not limited to patent issues),
777 conditions are imposed on you (whether by court order, agreement or
778 otherwise) that contradict the conditions of this License, they do not
779 excuse you from the conditions of this License. If you cannot
780 distribute so as to satisfy simultaneously your obligations under this
781 License and any other pertinent obligations, then as a consequence you
782 may not distribute the Library at all. For example, if a patent
783 license would not permit royalty-free redistribution of the Library by
784 all those who receive copies directly or indirectly through you, then
785 the only way you could satisfy both it and this License would be to
786 refrain entirely from distribution of the Library.
788 If any portion of this section is held invalid or unenforceable under any
789 particular circumstance, the balance of the section is intended to apply,
790 and the section as a whole is intended to apply in other circumstances.
792 It is not the purpose of this section to induce you to infringe any
793 patents or other property right claims or to contest validity of any
794 such claims; this section has the sole purpose of protecting the
795 integrity of the free software distribution system which is
796 implemented by public license practices. Many people have made
797 generous contributions to the wide range of software distributed
798 through that system in reliance on consistent application of that
799 system; it is up to the author/donor to decide if he or she is willing
800 to distribute software through any other system and a licensee cannot
803 This section is intended to make thoroughly clear what is believed to
804 be a consequence of the rest of this License.
806 12. If the distribution and/or use of the Library is restricted in
807 certain countries either by patents or by copyrighted interfaces, the
808 original copyright holder who places the Library under this License may add
809 an explicit geographical distribution limitation excluding those countries,
810 so that distribution is permitted only in or among countries not thus
811 excluded. In such case, this License incorporates the limitation as if
812 written in the body of this License.
814 13. The Free Software Foundation may publish revised and/or new
815 versions of the Lesser General Public License from time to time.
816 Such new versions will be similar in spirit to the present version,
817 but may differ in detail to address new problems or concerns.
819 Each version is given a distinguishing version number. If the Library
820 specifies a version number of this License which applies to it and
821 "any later version", you have the option of following the terms and
822 conditions either of that version or of any later version published by
823 the Free Software Foundation. If the Library does not specify a
824 license version number, you may choose any version ever published by
825 the Free Software Foundation.
827 14. If you wish to incorporate parts of the Library into other free
828 programs whose distribution conditions are incompatible with these,
829 write to the author to ask for permission. For software which is
830 copyrighted by the Free Software Foundation, write to the Free
831 Software Foundation; we sometimes make exceptions for this. Our
832 decision will be guided by the two goals of preserving the free status
833 of all derivatives of our free software and of promoting the sharing
834 and reuse of software generally.
838 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
839 WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
840 EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
841 OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
842 KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
843 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
844 PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
845 LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
846 THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
848 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
849 WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
850 AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
851 FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
852 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
853 LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
854 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
855 FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
856 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
859 END OF TERMS AND CONDITIONS
861 How to Apply These Terms to Your New Libraries
863 If you develop a new library, and you want it to be of the greatest
864 possible use to the public, we recommend making it free software that
865 everyone can redistribute and change. You can do so by permitting
866 redistribution under these terms (or, alternatively, under the terms of the
867 ordinary General Public License).
869 To apply these terms, attach the following notices to the library. It is
870 safest to attach them to the start of each source file to most effectively
871 convey the exclusion of warranty; and each file should have at least the
872 "copyright" line and a pointer to where the full notice is found.
874 <one line to give the library's name and a brief idea of what it does.>
875 Copyright (C) <year> <name of author>
877 This library is free software; you can redistribute it and/or
878 modify it under the terms of the GNU Lesser General Public
879 License as published by the Free Software Foundation; either
880 version 2.1 of the License, or (at your option) any later version.
882 This library is distributed in the hope that it will be useful,
883 but WITHOUT ANY WARRANTY; without even the implied warranty of
884 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
885 Lesser General Public License for more details.
887 You should have received a copy of the GNU Lesser General Public
888 License along with this library; if not, write to the Free Software
889 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
891 Also add information on how to contact you by electronic and paper mail.
893 You should also get your employer (if you work as a programmer) or your
894 school, if any, to sign a "copyright disclaimer" for the library, if
895 necessary. Here is a sample; alter the names:
897 Yoyodyne, Inc., hereby disclaims all copyright interest in the
898 library `Frob' (a library for tweaking knobs) written by James Random Hacker.
900 <signature of Ty Coon>, 1 April 1990
901 Ty Coon, President of Vice
903 That's all there is to it!
906 ============================================================================
907 The Apache Software License, Version 1.1
910 * ============================================================================
911 * The Apache Software License, Version 1.1
912 * ============================================================================
914 * Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
916 * Redistribution and use in source and binary forms, with or without modifica-
917 * tion, are permitted provided that the following conditions are met:
919 * 1. Redistributions of source code must retain the above copyright notice,
920 * this list of conditions and the following disclaimer.
922 * 2. Redistributions in binary form must reproduce the above copyright notice,
923 * this list of conditions and the following disclaimer in the documentation
924 * and/or other materials provided with the distribution.
926 * 3. The end-user documentation included with the redistribution, if any, must
927 * include the following acknowledgment: "This product includes software
928 * developed by the Apache Software Foundation (http://www.apache.org/)."
929 * Alternately, this acknowledgment may appear in the software itself, if
930 * and wherever such third-party acknowledgments normally appear.
932 * 4. The names "Ant" and "Apache Software Foundation" must not be used to
933 * endorse or promote products derived from this software without prior
934 * written permission. For written permission, please contact
937 * 5. Products derived from this software may not be called "Apache", nor may
938 * "Apache" appear in their name, without prior written permission of the
939 * Apache Software Foundation.
941 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
942 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
943 * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
944 * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
945 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
946 * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
947 * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
948 * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
949 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
950 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
952 * This software consists of voluntary contributions made by many individuals
953 * on behalf of the Apache Software Foundation. For more information on the
954 * Apache Software Foundation, please see <http://www.apache.org/>.
961 =============================================================================
964 This software is provided 'as-is', without any express or implied
965 warranty. In no event will the authors be held liable for any
966 damages arising from the use of this software.
968 Permission is granted to anyone to use this software for any purpose,
969 including commercial applications, and to alter it and redistribute
970 it freely, subject to the following restrictions:
972 1. The origin of this software must not be misrepresented; you must
973 not claim that you wrote the original software. If you use this
974 software in a product, an acknowledgment in the product
975 documentation would be appreciated but is not required.
977 2. Altered source versions must be plainly marked as such, and must
978 not be misrepresented as being the original software.
980 3. This notice may not be removed or altered from any source
985 ================================================================================
986 The Netscape Public License
991 The Netscape Public License Version 1.1 ("NPL") consists of the
992 Mozilla Public License Version 1.1 with the following Amendments,
993 including Exhibit A-Netscape Public License. Files identified with
994 "Exhibit A-Netscape Public License" are governed by the Netscape
995 Public License Version 1.1.
997 Additional Terms applicable to the Netscape Public License.
999 These additional terms described in this Netscape Public
1000 License -- Amendments shall apply to the Mozilla Communicator
1001 client code and to all Covered Code under this License.
1003 II. "Netscape's Branded Code" means Covered Code that Netscape
1004 distributes and/or permits others to distribute under one or more
1005 trademark(s) which are controlled by Netscape but which are not
1006 licensed for use under this License.
1008 III. Netscape and logo.
1009 This License does not grant any rights to use the trademarks
1010 "Netscape", the "Netscape N and horizon" logo or the "Netscape
1011 lighthouse" logo, "Netcenter", "Gecko", "Java" or "JavaScript",
1012 "Smart Browsing" even if such marks are included in the Original
1013 Code or Modifications.
1015 IV. Inability to Comply Due to Contractual Obligation.
1016 Prior to licensing the Original Code under this License, Netscape
1017 has licensed third party code for use in Netscape's Branded Code.
1018 To the extent that Netscape is limited contractually from making
1019 such third party code available under this License, Netscape may
1020 choose to reintegrate such code into Covered Code without being
1021 required to distribute such code in Source Code form, even if
1022 such code would otherwise be considered "Modifications" under
1025 V. Use of Modifications and Covered Code by Initial Developer.
1027 The obligations of Section 3 apply to Netscape, except to
1028 the extent specified in this Amendment, Section V.2 and V.3.
1030 V.2. Other Products.
1031 Netscape may include Covered Code in products other than the
1032 Netscape's Branded Code which are released by Netscape
1033 during the two (2) years following the release date of the
1034 Original Code, without such additional products becoming
1035 subject to the terms of this License, and may license such
1036 additional products on different terms from those contained
1039 V.3. Alternative Licensing.
1040 Netscape may license the Source Code of Netscape's Branded
1041 Code, including Modifications incorporated therein, without
1042 such Netscape Branded Code becoming subject to the terms of
1043 this License, and may license such Netscape Branded Code on
1044 different terms from those contained in this License.
1047 Notwithstanding the limitations of Section 11 above, the
1048 provisions regarding litigation in Section 11(a), (b) and (c) of
1049 the License shall apply to all disputes relating to this License.
1051 EXHIBIT A-Netscape Public License.
1053 "The contents of this file are subject to the Netscape Public
1054 License Version 1.1 (the "License"); you may not use this file
1055 except in compliance with the License. You may obtain a copy of
1056 the License at http://www.mozilla.org/NPL/
1058 Software distributed under the License is distributed on an "AS
1059 IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
1060 implied. See the License for the specific language governing
1061 rights and limitations under the License.
1063 The Original Code is Mozilla Communicator client code, released
1066 The Initial Developer of the Original Code is Netscape
1067 Communications Corporation. Portions created by Netscape are
1068 Copyright (C) 1998-1999 Netscape Communications Corporation. All
1071 Contributor(s): ______________________________________.
1073 Alternatively, the contents of this file may be used under the
1074 terms of the _____ license (the "[___] License"), in which case
1075 the provisions of [______] License are applicable instead of
1076 those above. If you wish to allow use of your version of this
1077 file only under the terms of the [____] License and not to allow
1078 others to use your version of this file under the NPL, indicate
1079 your decision by deleting the provisions above and replace them
1080 with the notice and other provisions required by the [___]
1081 License. If you do not delete the provisions above, a recipient
1082 may use your version of this file under either the NPL or the
1085 ----------------------------------------------------------------------
1087 MOZILLA PUBLIC LICENSE
1094 1.0.1. "Commercial Use" means distribution or otherwise making the
1095 Covered Code available to a third party.
1097 1.1. "Contributor" means each entity that creates or contributes to
1098 the creation of Modifications.
1100 1.2. "Contributor Version" means the combination of the Original
1101 Code, prior Modifications used by a Contributor, and the Modifications
1102 made by that particular Contributor.
1104 1.3. "Covered Code" means the Original Code or Modifications or the
1105 combination of the Original Code and Modifications, in each case
1106 including portions thereof.
1108 1.4. "Electronic Distribution Mechanism" means a mechanism generally
1109 accepted in the software development community for the electronic
1112 1.5. "Executable" means Covered Code in any form other than Source
1115 1.6. "Initial Developer" means the individual or entity identified
1116 as the Initial Developer in the Source Code notice required by Exhibit
1119 1.7. "Larger Work" means a work which combines Covered Code or
1120 portions thereof with code not governed by the terms of this License.
1122 1.8. "License" means this document.
1124 1.8.1. "Licensable" means having the right to grant, to the maximum
1125 extent possible, whether at the time of the initial grant or
1126 subsequently acquired, any and all of the rights conveyed herein.
1128 1.9. "Modifications" means any addition to or deletion from the
1129 substance or structure of either the Original Code or any previous
1130 Modifications. When Covered Code is released as a series of files, a
1132 A. Any addition to or deletion from the contents of a file
1133 containing Original Code or previous Modifications.
1135 B. Any new file that contains any part of the Original Code or
1136 previous Modifications.
1138 1.10. "Original Code" means Source Code of computer software code
1139 which is described in the Source Code notice required by Exhibit A as
1140 Original Code, and which, at the time of its release under this
1141 License is not already Covered Code governed by this License.
1143 1.10.1. "Patent Claims" means any patent claim(s), now owned or
1144 hereafter acquired, including without limitation, method, process,
1145 and apparatus claims, in any patent Licensable by grantor.
1147 1.11. "Source Code" means the preferred form of the Covered Code for
1148 making modifications to it, including all modules it contains, plus
1149 any associated interface definition files, scripts used to control
1150 compilation and installation of an Executable, or source code
1151 differential comparisons against either the Original Code or another
1152 well known, available Covered Code of the Contributor's choice. The
1153 Source Code can be in a compressed or archival form, provided the
1154 appropriate decompression or de-archiving software is widely available
1157 1.12. "You" (or "Your") means an individual or a legal entity
1158 exercising rights under, and complying with all of the terms of, this
1159 License or a future version of this License issued under Section 6.1.
1160 For legal entities, "You" includes any entity which controls, is
1161 controlled by, or is under common control with You. For purposes of
1162 this definition, "control" means (a) the power, direct or indirect,
1163 to cause the direction or management of such entity, whether by
1164 contract or otherwise, or (b) ownership of more than fifty percent
1165 (50%) of the outstanding shares or beneficial ownership of such
1168 2. Source Code License.
1170 2.1. The Initial Developer Grant.
1171 The Initial Developer hereby grants You a world-wide, royalty-free,
1172 non-exclusive license, subject to third party intellectual property
1174 (a) under intellectual property rights (other than patent or
1175 trademark) Licensable by Initial Developer to use, reproduce,
1176 modify, display, perform, sublicense and distribute the Original
1177 Code (or portions thereof) with or without Modifications, and/or
1178 as part of a Larger Work; and
1180 (b) under Patents Claims infringed by the making, using or
1181 selling of Original Code, to make, have made, use, practice,
1182 sell, and offer for sale, and/or otherwise dispose of the
1183 Original Code (or portions thereof).
1185 (c) the licenses granted in this Section 2.1(a) and (b) are
1186 effective on the date Initial Developer first distributes
1187 Original Code under the terms of this License.
1189 (d) Notwithstanding Section 2.1(b) above, no patent license is
1190 granted: 1) for code that You delete from the Original Code; 2)
1191 separate from the Original Code; or 3) for infringements caused
1192 by: i) the modification of the Original Code or ii) the
1193 combination of the Original Code with other software or devices.
1195 2.2. Contributor Grant.
1196 Subject to third party intellectual property claims, each Contributor
1197 hereby grants You a world-wide, royalty-free, non-exclusive license
1199 (a) under intellectual property rights (other than patent or
1200 trademark) Licensable by Contributor, to use, reproduce, modify,
1201 display, perform, sublicense and distribute the Modifications
1202 created by such Contributor (or portions thereof) either on an
1203 unmodified basis, with other Modifications, as Covered Code
1204 and/or as part of a Larger Work; and
1206 (b) under Patent Claims infringed by the making, using, or
1207 selling of Modifications made by that Contributor either alone
1208 and/or in combination with its Contributor Version (or portions
1209 of such combination), to make, use, sell, offer for sale, have
1210 made, and/or otherwise dispose of: 1) Modifications made by that
1211 Contributor (or portions thereof); and 2) the combination of
1212 Modifications made by that Contributor with its Contributor
1213 Version (or portions of such combination).
1215 (c) the licenses granted in Sections 2.2(a) and 2.2(b) are
1216 effective on the date Contributor first makes Commercial Use of
1219 (d) Notwithstanding Section 2.2(b) above, no patent license is
1220 granted: 1) for any code that Contributor has deleted from the
1221 Contributor Version; 2) separate from the Contributor Version;
1222 3) for infringements caused by: i) third party modifications of
1223 Contributor Version or ii) the combination of Modifications made
1224 by that Contributor with other software (except as part of the
1225 Contributor Version) or other devices; or 4) under Patent Claims
1226 infringed by Covered Code in the absence of Modifications made by
1229 3. Distribution Obligations.
1231 3.1. Application of License.
1232 The Modifications which You create or to which You contribute are
1233 governed by the terms of this License, including without limitation
1234 Section 2.2. The Source Code version of Covered Code may be
1235 distributed only under the terms of this License or a future version
1236 of this License released under Section 6.1, and You must include a
1237 copy of this License with every copy of the Source Code You
1238 distribute. You may not offer or impose any terms on any Source Code
1239 version that alters or restricts the applicable version of this
1240 License or the recipients' rights hereunder. However, You may include
1241 an additional document offering the additional rights described in
1244 3.2. Availability of Source Code.
1245 Any Modification which You create or to which You contribute must be
1246 made available in Source Code form under the terms of this License
1247 either on the same media as an Executable version or via an accepted
1248 Electronic Distribution Mechanism to anyone to whom you made an
1249 Executable version available; and if made available via Electronic
1250 Distribution Mechanism, must remain available for at least twelve (12)
1251 months after the date it initially became available, or at least six
1252 (6) months after a subsequent version of that particular Modification
1253 has been made available to such recipients. You are responsible for
1254 ensuring that the Source Code version remains available even if the
1255 Electronic Distribution Mechanism is maintained by a third party.
1257 3.3. Description of Modifications.
1258 You must cause all Covered Code to which You contribute to contain a
1259 file documenting the changes You made to create that Covered Code and
1260 the date of any change. You must include a prominent statement that
1261 the Modification is derived, directly or indirectly, from Original
1262 Code provided by the Initial Developer and including the name of the
1263 Initial Developer in (a) the Source Code, and (b) in any notice in an
1264 Executable version or related documentation in which You describe the
1265 origin or ownership of the Covered Code.
1267 3.4. Intellectual Property Matters
1268 (a) Third Party Claims.
1269 If Contributor has knowledge that a license under a third party's
1270 intellectual property rights is required to exercise the rights
1271 granted by such Contributor under Sections 2.1 or 2.2,
1272 Contributor must include a text file with the Source Code
1273 distribution titled "LEGAL" which describes the claim and the
1274 party making the claim in sufficient detail that a recipient will
1275 know whom to contact. If Contributor obtains such knowledge after
1276 the Modification is made available as described in Section 3.2,
1277 Contributor shall promptly modify the LEGAL file in all copies
1278 Contributor makes available thereafter and shall take other steps
1279 (such as notifying appropriate mailing lists or newsgroups)
1280 reasonably calculated to inform those who received the Covered
1281 Code that new knowledge has been obtained.
1283 (b) Contributor APIs.
1284 If Contributor's Modifications include an application programming
1285 interface and Contributor has knowledge of patent licenses which
1286 are reasonably necessary to implement that API, Contributor must
1287 also include this information in the LEGAL file.
1289 (c) Representations.
1290 Contributor represents that, except as disclosed pursuant to
1291 Section 3.4(a) above, Contributor believes that Contributor's
1292 Modifications are Contributor's original creation(s) and/or
1293 Contributor has sufficient rights to grant the rights conveyed by
1296 3.5. Required Notices.
1297 You must duplicate the notice in Exhibit A in each file of the Source
1298 Code. If it is not possible to put such notice in a particular Source
1299 Code file due to its structure, then You must include such notice in a
1300 location (such as a relevant directory) where a user would be likely
1301 to look for such a notice. If You created one or more Modification(s)
1302 You may add your name as a Contributor to the notice described in
1303 Exhibit A. You must also duplicate this License in any documentation
1304 for the Source Code where You describe recipients' rights or ownership
1305 rights relating to Covered Code. You may choose to offer, and to
1306 charge a fee for, warranty, support, indemnity or liability
1307 obligations to one or more recipients of Covered Code. However, You
1308 may do so only on Your own behalf, and not on behalf of the Initial
1309 Developer or any Contributor. You must make it absolutely clear than
1310 any such warranty, support, indemnity or liability obligation is
1311 offered by You alone, and You hereby agree to indemnify the Initial
1312 Developer and every Contributor for any liability incurred by the
1313 Initial Developer or such Contributor as a result of warranty,
1314 support, indemnity or liability terms You offer.
1316 3.6. Distribution of Executable Versions.
1317 You may distribute Covered Code in Executable form only if the
1318 requirements of Section 3.1-3.5 have been met for that Covered Code,
1319 and if You include a notice stating that the Source Code version of
1320 the Covered Code is available under the terms of this License,
1321 including a description of how and where You have fulfilled the
1322 obligations of Section 3.2. The notice must be conspicuously included
1323 in any notice in an Executable version, related documentation or
1324 collateral in which You describe recipients' rights relating to the
1325 Covered Code. You may distribute the Executable version of Covered
1326 Code or ownership rights under a license of Your choice, which may
1327 contain terms different from this License, provided that You are in
1328 compliance with the terms of this License and that the license for the
1329 Executable version does not attempt to limit or alter the recipient's
1330 rights in the Source Code version from the rights set forth in this
1331 License. If You distribute the Executable version under a different
1332 license You must make it absolutely clear that any terms which differ
1333 from this License are offered by You alone, not by the Initial
1334 Developer or any Contributor. You hereby agree to indemnify the
1335 Initial Developer and every Contributor for any liability incurred by
1336 the Initial Developer or such Contributor as a result of any such
1340 You may create a Larger Work by combining Covered Code with other code
1341 not governed by the terms of this License and distribute the Larger
1342 Work as a single product. In such a case, You must make sure the
1343 requirements of this License are fulfilled for the Covered Code.
1345 4. Inability to Comply Due to Statute or Regulation.
1347 If it is impossible for You to comply with any of the terms of this
1348 License with respect to some or all of the Covered Code due to
1349 statute, judicial order, or regulation then You must: (a) comply with
1350 the terms of this License to the maximum extent possible; and (b)
1351 describe the limitations and the code they affect. Such description
1352 must be included in the LEGAL file described in Section 3.4 and must
1353 be included with all distributions of the Source Code. Except to the
1354 extent prohibited by statute or regulation, such description must be
1355 sufficiently detailed for a recipient of ordinary skill to be able to
1358 5. Application of this License.
1360 This License applies to code to which the Initial Developer has
1361 attached the notice in Exhibit A and to related Covered Code.
1363 6. Versions of the License.
1366 Netscape Communications Corporation ("Netscape") may publish revised
1367 and/or new versions of the License from time to time. Each version
1368 will be given a distinguishing version number.
1370 6.2. Effect of New Versions.
1371 Once Covered Code has been published under a particular version of the
1372 License, You may always continue to use it under the terms of that
1373 version. You may also choose to use such Covered Code under the terms
1374 of any subsequent version of the License published by Netscape. No one
1375 other than Netscape has the right to modify the terms applicable to
1376 Covered Code created under this License.
1378 6.3. Derivative Works.
1379 If You create or use a modified version of this License (which you may
1380 only do in order to apply it to code which is not already Covered Code
1381 governed by this License), You must (a) rename Your license so that
1382 the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape",
1383 "MPL", "NPL" or any confusingly similar phrase do not appear in your
1384 license (except to note that your license differs from this License)
1385 and (b) otherwise make it clear that Your version of the license
1386 contains terms which differ from the Mozilla Public License and
1387 Netscape Public License. (Filling in the name of the Initial
1388 Developer, Original Code or Contributor in the notice described in
1389 Exhibit A shall not of themselves be deemed to be modifications of
1392 7. DISCLAIMER OF WARRANTY.
1394 COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
1395 WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
1396 WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
1397 DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
1398 THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
1399 IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
1400 YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
1401 COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
1402 OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
1403 ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
1407 8.1. This License and the rights granted hereunder will terminate
1408 automatically if You fail to comply with terms herein and fail to cure
1409 such breach within 30 days of becoming aware of the breach. All
1410 sublicenses to the Covered Code which are properly granted shall
1411 survive any termination of this License. Provisions which, by their
1412 nature, must remain in effect beyond the termination of this License
1415 8.2. If You initiate litigation by asserting a patent infringement
1416 claim (excluding declatory judgment actions) against Initial Developer
1417 or a Contributor (the Initial Developer or Contributor against whom
1418 You file such action is referred to as "Participant") alleging that:
1420 (a) such Participant's Contributor Version directly or indirectly
1421 infringes any patent, then any and all rights granted by such
1422 Participant to You under Sections 2.1 and/or 2.2 of this License
1423 shall, upon 60 days notice from Participant terminate prospectively,
1424 unless if within 60 days after receipt of notice You either: (i)
1425 agree in writing to pay Participant a mutually agreeable reasonable
1426 royalty for Your past and future use of Modifications made by such
1427 Participant, or (ii) withdraw Your litigation claim with respect to
1428 the Contributor Version against such Participant. If within 60 days
1429 of notice, a reasonable royalty and payment arrangement are not
1430 mutually agreed upon in writing by the parties or the litigation claim
1431 is not withdrawn, the rights granted by Participant to You under
1432 Sections 2.1 and/or 2.2 automatically terminate at the expiration of
1433 the 60 day notice period specified above.
1435 (b) any software, hardware, or device, other than such Participant's
1436 Contributor Version, directly or indirectly infringes any patent, then
1437 any rights granted to You by such Participant under Sections 2.1(b)
1438 and 2.2(b) are revoked effective as of the date You first made, used,
1439 sold, distributed, or had made, Modifications made by that
1442 8.3. If You assert a patent infringement claim against Participant
1443 alleging that such Participant's Contributor Version directly or
1444 indirectly infringes any patent where such claim is resolved (such as
1445 by license or settlement) prior to the initiation of patent
1446 infringement litigation, then the reasonable value of the licenses
1447 granted by such Participant under Sections 2.1 or 2.2 shall be taken
1448 into account in determining the amount or value of any payment or
1451 8.4. In the event of termination under Sections 8.1 or 8.2 above,
1452 all end user license agreements (excluding distributors and resellers)
1453 which have been validly granted by You or any distributor hereunder
1454 prior to termination shall survive termination.
1456 9. LIMITATION OF LIABILITY.
1458 UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
1459 (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
1460 DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
1461 OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
1462 ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
1463 CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
1464 WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
1465 COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
1466 INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
1467 LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
1468 RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
1469 PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
1470 EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
1471 THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
1473 10. U.S. GOVERNMENT END USERS.
1475 The Covered Code is a "commercial item," as that term is defined in
1476 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
1477 software" and "commercial computer software documentation," as such
1478 terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48
1479 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
1480 all U.S. Government End Users acquire Covered Code with only those
1481 rights set forth herein.
1485 This License represents the complete agreement concerning subject
1486 matter hereof. If any provision of this License is held to be
1487 unenforceable, such provision shall be reformed only to the extent
1488 necessary to make it enforceable. This License shall be governed by
1489 California law provisions (except to the extent applicable law, if
1490 any, provides otherwise), excluding its conflict-of-law provisions.
1491 With respect to disputes in which at least one party is a citizen of,
1492 or an entity chartered or registered to do business in the United
1493 States of America, any litigation relating to this License shall be
1494 subject to the jurisdiction of the Federal Courts of the Northern
1495 District of California, with venue lying in Santa Clara County,
1496 California, with the losing party responsible for costs, including
1497 without limitation, court costs and reasonable attorneys' fees and
1498 expenses. The application of the United Nations Convention on
1499 Contracts for the International Sale of Goods is expressly excluded.
1500 Any law or regulation which provides that the language of a contract
1501 shall be construed against the drafter shall not apply to this
1504 12. RESPONSIBILITY FOR CLAIMS.
1506 As between Initial Developer and the Contributors, each party is
1507 responsible for claims and damages arising, directly or indirectly,
1508 out of its utilization of rights under this License and You agree to
1509 work with Initial Developer and Contributors to distribute such
1510 responsibility on an equitable basis. Nothing herein is intended or
1511 shall be deemed to constitute any admission of liability.
1513 13. MULTIPLE-LICENSED CODE.
1515 Initial Developer may designate portions of the Covered Code as
1516 "Multiple-Licensed". "Multiple-Licensed" means that the Initial
1517 Developer permits you to utilize portions of the Covered Code under
1518 Your choice of the NPL or the alternative licenses, if any, specified
1519 by the Initial Developer in the file described in Exhibit A.
1521 EXHIBIT A -Mozilla Public License.
1523 ``The contents of this file are subject to the Mozilla Public License
1524 Version 1.1 (the "License"); you may not use this file except in
1525 compliance with the License. You may obtain a copy of the License at
1526 http://www.mozilla.org/MPL/
1528 Software distributed under the License is distributed on an "AS IS"
1529 basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
1530 License for the specific language governing rights and limitations
1533 The Original Code is ______________________________________.
1535 The Initial Developer of the Original Code is ________________________.
1536 Portions created by ______________________ are Copyright (C) ______
1537 _______________________. All Rights Reserved.
1539 Contributor(s): ______________________________________.
1541 Alternatively, the contents of this file may be used under the terms
1542 of the _____ license (the "[___] License"), in which case the
1543 provisions of [______] License are applicable instead of those
1544 above. If you wish to allow use of your version of this file only
1545 under the terms of the [____] License and not to allow others to use
1546 your version of this file under the MPL, indicate your decision by
1547 deleting the provisions above and replace them with the notice and
1548 other provisions required by the [___] License. If you do not delete
1549 the provisions above, a recipient may use your version of this file
1550 under either the MPL or the [___] License."
1552 [NOTE: The text of this Exhibit A may differ slightly from the text of
1553 the notices in the Source Code files of the Original Code. You should
1554 use the text of this Exhibit A rather than the text found in the
1555 Original Code Source Code for Your Modifications.]
1559 ================================================================================
1560 The Mozilla Public License
1562 MOZILLA PUBLIC LICENSE
1569 1.0.1. "Commercial Use" means distribution or otherwise making the
1570 Covered Code available to a third party.
1572 1.1. "Contributor" means each entity that creates or contributes to
1573 the creation of Modifications.
1575 1.2. "Contributor Version" means the combination of the Original
1576 Code, prior Modifications used by a Contributor, and the Modifications
1577 made by that particular Contributor.
1579 1.3. "Covered Code" means the Original Code or Modifications or the
1580 combination of the Original Code and Modifications, in each case
1581 including portions thereof.
1583 1.4. "Electronic Distribution Mechanism" means a mechanism generally
1584 accepted in the software development community for the electronic
1587 1.5. "Executable" means Covered Code in any form other than Source
1590 1.6. "Initial Developer" means the individual or entity identified
1591 as the Initial Developer in the Source Code notice required by Exhibit
1594 1.7. "Larger Work" means a work which combines Covered Code or
1595 portions thereof with code not governed by the terms of this License.
1597 1.8. "License" means this document.
1599 1.8.1. "Licensable" means having the right to grant, to the maximum
1600 extent possible, whether at the time of the initial grant or
1601 subsequently acquired, any and all of the rights conveyed herein.
1603 1.9. "Modifications" means any addition to or deletion from the
1604 substance or structure of either the Original Code or any previous
1605 Modifications. When Covered Code is released as a series of files, a
1607 A. Any addition to or deletion from the contents of a file
1608 containing Original Code or previous Modifications.
1610 B. Any new file that contains any part of the Original Code or
1611 previous Modifications.
1613 1.10. "Original Code" means Source Code of computer software code
1614 which is described in the Source Code notice required by Exhibit A as
1615 Original Code, and which, at the time of its release under this
1616 License is not already Covered Code governed by this License.
1618 1.10.1. "Patent Claims" means any patent claim(s), now owned or
1619 hereafter acquired, including without limitation, method, process,
1620 and apparatus claims, in any patent Licensable by grantor.
1622 1.11. "Source Code" means the preferred form of the Covered Code for
1623 making modifications to it, including all modules it contains, plus
1624 any associated interface definition files, scripts used to control
1625 compilation and installation of an Executable, or source code
1626 differential comparisons against either the Original Code or another
1627 well known, available Covered Code of the Contributor's choice. The
1628 Source Code can be in a compressed or archival form, provided the
1629 appropriate decompression or de-archiving software is widely available
1632 1.12. "You" (or "Your") means an individual or a legal entity
1633 exercising rights under, and complying with all of the terms of, this
1634 License or a future version of this License issued under Section 6.1.
1635 For legal entities, "You" includes any entity which controls, is
1636 controlled by, or is under common control with You. For purposes of
1637 this definition, "control" means (a) the power, direct or indirect,
1638 to cause the direction or management of such entity, whether by
1639 contract or otherwise, or (b) ownership of more than fifty percent
1640 (50%) of the outstanding shares or beneficial ownership of such
1643 2. Source Code License.
1645 2.1. The Initial Developer Grant.
1646 The Initial Developer hereby grants You a world-wide, royalty-free,
1647 non-exclusive license, subject to third party intellectual property
1649 (a) under intellectual property rights (other than patent or
1650 trademark) Licensable by Initial Developer to use, reproduce,
1651 modify, display, perform, sublicense and distribute the Original
1652 Code (or portions thereof) with or without Modifications, and/or
1653 as part of a Larger Work; and
1655 (b) under Patents Claims infringed by the making, using or
1656 selling of Original Code, to make, have made, use, practice,
1657 sell, and offer for sale, and/or otherwise dispose of the
1658 Original Code (or portions thereof).
1660 (c) the licenses granted in this Section 2.1(a) and (b) are
1661 effective on the date Initial Developer first distributes
1662 Original Code under the terms of this License.
1664 (d) Notwithstanding Section 2.1(b) above, no patent license is
1665 granted: 1) for code that You delete from the Original Code; 2)
1666 separate from the Original Code; or 3) for infringements caused
1667 by: i) the modification of the Original Code or ii) the
1668 combination of the Original Code with other software or devices.
1670 2.2. Contributor Grant.
1671 Subject to third party intellectual property claims, each Contributor
1672 hereby grants You a world-wide, royalty-free, non-exclusive license
1674 (a) under intellectual property rights (other than patent or
1675 trademark) Licensable by Contributor, to use, reproduce, modify,
1676 display, perform, sublicense and distribute the Modifications
1677 created by such Contributor (or portions thereof) either on an
1678 unmodified basis, with other Modifications, as Covered Code
1679 and/or as part of a Larger Work; and
1681 (b) under Patent Claims infringed by the making, using, or
1682 selling of Modifications made by that Contributor either alone
1683 and/or in combination with its Contributor Version (or portions
1684 of such combination), to make, use, sell, offer for sale, have
1685 made, and/or otherwise dispose of: 1) Modifications made by that
1686 Contributor (or portions thereof); and 2) the combination of
1687 Modifications made by that Contributor with its Contributor
1688 Version (or portions of such combination).
1690 (c) the licenses granted in Sections 2.2(a) and 2.2(b) are
1691 effective on the date Contributor first makes Commercial Use of
1694 (d) Notwithstanding Section 2.2(b) above, no patent license is
1695 granted: 1) for any code that Contributor has deleted from the
1696 Contributor Version; 2) separate from the Contributor Version;
1697 3) for infringements caused by: i) third party modifications of
1698 Contributor Version or ii) the combination of Modifications made
1699 by that Contributor with other software (except as part of the
1700 Contributor Version) or other devices; or 4) under Patent Claims
1701 infringed by Covered Code in the absence of Modifications made by
1704 3. Distribution Obligations.
1706 3.1. Application of License.
1707 The Modifications which You create or to which You contribute are
1708 governed by the terms of this License, including without limitation
1709 Section 2.2. The Source Code version of Covered Code may be
1710 distributed only under the terms of this License or a future version
1711 of this License released under Section 6.1, and You must include a
1712 copy of this License with every copy of the Source Code You
1713 distribute. You may not offer or impose any terms on any Source Code
1714 version that alters or restricts the applicable version of this
1715 License or the recipients' rights hereunder. However, You may include
1716 an additional document offering the additional rights described in
1719 3.2. Availability of Source Code.
1720 Any Modification which You create or to which You contribute must be
1721 made available in Source Code form under the terms of this License
1722 either on the same media as an Executable version or via an accepted
1723 Electronic Distribution Mechanism to anyone to whom you made an
1724 Executable version available; and if made available via Electronic
1725 Distribution Mechanism, must remain available for at least twelve (12)
1726 months after the date it initially became available, or at least six
1727 (6) months after a subsequent version of that particular Modification
1728 has been made available to such recipients. You are responsible for
1729 ensuring that the Source Code version remains available even if the
1730 Electronic Distribution Mechanism is maintained by a third party.
1732 3.3. Description of Modifications.
1733 You must cause all Covered Code to which You contribute to contain a
1734 file documenting the changes You made to create that Covered Code and
1735 the date of any change. You must include a prominent statement that
1736 the Modification is derived, directly or indirectly, from Original
1737 Code provided by the Initial Developer and including the name of the
1738 Initial Developer in (a) the Source Code, and (b) in any notice in an
1739 Executable version or related documentation in which You describe the
1740 origin or ownership of the Covered Code.
1742 3.4. Intellectual Property Matters
1743 (a) Third Party Claims.
1744 If Contributor has knowledge that a license under a third party's
1745 intellectual property rights is required to exercise the rights
1746 granted by such Contributor under Sections 2.1 or 2.2,
1747 Contributor must include a text file with the Source Code
1748 distribution titled "LEGAL" which describes the claim and the
1749 party making the claim in sufficient detail that a recipient will
1750 know whom to contact. If Contributor obtains such knowledge after
1751 the Modification is made available as described in Section 3.2,
1752 Contributor shall promptly modify the LEGAL file in all copies
1753 Contributor makes available thereafter and shall take other steps
1754 (such as notifying appropriate mailing lists or newsgroups)
1755 reasonably calculated to inform those who received the Covered
1756 Code that new knowledge has been obtained.
1758 (b) Contributor APIs.
1759 If Contributor's Modifications include an application programming
1760 interface and Contributor has knowledge of patent licenses which
1761 are reasonably necessary to implement that API, Contributor must
1762 also include this information in the LEGAL file.
1764 (c) Representations.
1765 Contributor represents that, except as disclosed pursuant to
1766 Section 3.4(a) above, Contributor believes that Contributor's
1767 Modifications are Contributor's original creation(s) and/or
1768 Contributor has sufficient rights to grant the rights conveyed by
1771 3.5. Required Notices.
1772 You must duplicate the notice in Exhibit A in each file of the Source
1773 Code. If it is not possible to put such notice in a particular Source
1774 Code file due to its structure, then You must include such notice in a
1775 location (such as a relevant directory) where a user would be likely
1776 to look for such a notice. If You created one or more Modification(s)
1777 You may add your name as a Contributor to the notice described in
1778 Exhibit A. You must also duplicate this License in any documentation
1779 for the Source Code where You describe recipients' rights or ownership
1780 rights relating to Covered Code. You may choose to offer, and to
1781 charge a fee for, warranty, support, indemnity or liability
1782 obligations to one or more recipients of Covered Code. However, You
1783 may do so only on Your own behalf, and not on behalf of the Initial
1784 Developer or any Contributor. You must make it absolutely clear than
1785 any such warranty, support, indemnity or liability obligation is
1786 offered by You alone, and You hereby agree to indemnify the Initial
1787 Developer and every Contributor for any liability incurred by the
1788 Initial Developer or such Contributor as a result of warranty,
1789 support, indemnity or liability terms You offer.
1791 3.6. Distribution of Executable Versions.
1792 You may distribute Covered Code in Executable form only if the
1793 requirements of Section 3.1-3.5 have been met for that Covered Code,
1794 and if You include a notice stating that the Source Code version of
1795 the Covered Code is available under the terms of this License,
1796 including a description of how and where You have fulfilled the
1797 obligations of Section 3.2. The notice must be conspicuously included
1798 in any notice in an Executable version, related documentation or
1799 collateral in which You describe recipients' rights relating to the
1800 Covered Code. You may distribute the Executable version of Covered
1801 Code or ownership rights under a license of Your choice, which may
1802 contain terms different from this License, provided that You are in
1803 compliance with the terms of this License and that the license for the
1804 Executable version does not attempt to limit or alter the recipient's
1805 rights in the Source Code version from the rights set forth in this
1806 License. If You distribute the Executable version under a different
1807 license You must make it absolutely clear that any terms which differ
1808 from this License are offered by You alone, not by the Initial
1809 Developer or any Contributor. You hereby agree to indemnify the
1810 Initial Developer and every Contributor for any liability incurred by
1811 the Initial Developer or such Contributor as a result of any such
1815 You may create a Larger Work by combining Covered Code with other code
1816 not governed by the terms of this License and distribute the Larger
1817 Work as a single product. In such a case, You must make sure the
1818 requirements of this License are fulfilled for the Covered Code.
1820 4. Inability to Comply Due to Statute or Regulation.
1822 If it is impossible for You to comply with any of the terms of this
1823 License with respect to some or all of the Covered Code due to
1824 statute, judicial order, or regulation then You must: (a) comply with
1825 the terms of this License to the maximum extent possible; and (b)
1826 describe the limitations and the code they affect. Such description
1827 must be included in the LEGAL file described in Section 3.4 and must
1828 be included with all distributions of the Source Code. Except to the
1829 extent prohibited by statute or regulation, such description must be
1830 sufficiently detailed for a recipient of ordinary skill to be able to
1833 5. Application of this License.
1835 This License applies to code to which the Initial Developer has
1836 attached the notice in Exhibit A and to related Covered Code.
1838 6. Versions of the License.
1841 Netscape Communications Corporation ("Netscape") may publish revised
1842 and/or new versions of the License from time to time. Each version
1843 will be given a distinguishing version number.
1845 6.2. Effect of New Versions.
1846 Once Covered Code has been published under a particular version of the
1847 License, You may always continue to use it under the terms of that
1848 version. You may also choose to use such Covered Code under the terms
1849 of any subsequent version of the License published by Netscape. No one
1850 other than Netscape has the right to modify the terms applicable to
1851 Covered Code created under this License.
1853 6.3. Derivative Works.
1854 If You create or use a modified version of this License (which you may
1855 only do in order to apply it to code which is not already Covered Code
1856 governed by this License), You must (a) rename Your license so that
1857 the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape",
1858 "MPL", "NPL" or any confusingly similar phrase do not appear in your
1859 license (except to note that your license differs from this License)
1860 and (b) otherwise make it clear that Your version of the license
1861 contains terms which differ from the Mozilla Public License and
1862 Netscape Public License. (Filling in the name of the Initial
1863 Developer, Original Code or Contributor in the notice described in
1864 Exhibit A shall not of themselves be deemed to be modifications of
1867 7. DISCLAIMER OF WARRANTY.
1869 COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
1870 WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
1871 WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
1872 DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
1873 THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
1874 IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
1875 YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
1876 COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
1877 OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
1878 ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
1882 8.1. This License and the rights granted hereunder will terminate
1883 automatically if You fail to comply with terms herein and fail to cure
1884 such breach within 30 days of becoming aware of the breach. All
1885 sublicenses to the Covered Code which are properly granted shall
1886 survive any termination of this License. Provisions which, by their
1887 nature, must remain in effect beyond the termination of this License
1890 8.2. If You initiate litigation by asserting a patent infringement
1891 claim (excluding declatory judgment actions) against Initial Developer
1892 or a Contributor (the Initial Developer or Contributor against whom
1893 You file such action is referred to as "Participant") alleging that:
1895 (a) such Participant's Contributor Version directly or indirectly
1896 infringes any patent, then any and all rights granted by such
1897 Participant to You under Sections 2.1 and/or 2.2 of this License
1898 shall, upon 60 days notice from Participant terminate prospectively,
1899 unless if within 60 days after receipt of notice You either: (i)
1900 agree in writing to pay Participant a mutually agreeable reasonable
1901 royalty for Your past and future use of Modifications made by such
1902 Participant, or (ii) withdraw Your litigation claim with respect to
1903 the Contributor Version against such Participant. If within 60 days
1904 of notice, a reasonable royalty and payment arrangement are not
1905 mutually agreed upon in writing by the parties or the litigation claim
1906 is not withdrawn, the rights granted by Participant to You under
1907 Sections 2.1 and/or 2.2 automatically terminate at the expiration of
1908 the 60 day notice period specified above.
1910 (b) any software, hardware, or device, other than such Participant's
1911 Contributor Version, directly or indirectly infringes any patent, then
1912 any rights granted to You by such Participant under Sections 2.1(b)
1913 and 2.2(b) are revoked effective as of the date You first made, used,
1914 sold, distributed, or had made, Modifications made by that
1917 8.3. If You assert a patent infringement claim against Participant
1918 alleging that such Participant's Contributor Version directly or
1919 indirectly infringes any patent where such claim is resolved (such as
1920 by license or settlement) prior to the initiation of patent
1921 infringement litigation, then the reasonable value of the licenses
1922 granted by such Participant under Sections 2.1 or 2.2 shall be taken
1923 into account in determining the amount or value of any payment or
1926 8.4. In the event of termination under Sections 8.1 or 8.2 above,
1927 all end user license agreements (excluding distributors and resellers)
1928 which have been validly granted by You or any distributor hereunder
1929 prior to termination shall survive termination.
1931 9. LIMITATION OF LIABILITY.
1933 UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
1934 (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
1935 DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
1936 OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
1937 ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
1938 CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
1939 WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
1940 COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
1941 INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
1942 LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
1943 RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
1944 PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
1945 EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
1946 THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
1948 10. U.S. GOVERNMENT END USERS.
1950 The Covered Code is a "commercial item," as that term is defined in
1951 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
1952 software" and "commercial computer software documentation," as such
1953 terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48
1954 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
1955 all U.S. Government End Users acquire Covered Code with only those
1956 rights set forth herein.
1960 This License represents the complete agreement concerning subject
1961 matter hereof. If any provision of this License is held to be
1962 unenforceable, such provision shall be reformed only to the extent
1963 necessary to make it enforceable. This License shall be governed by
1964 California law provisions (except to the extent applicable law, if
1965 any, provides otherwise), excluding its conflict-of-law provisions.
1966 With respect to disputes in which at least one party is a citizen of,
1967 or an entity chartered or registered to do business in the United
1968 States of America, any litigation relating to this License shall be
1969 subject to the jurisdiction of the Federal Courts of the Northern
1970 District of California, with venue lying in Santa Clara County,
1971 California, with the losing party responsible for costs, including
1972 without limitation, court costs and reasonable attorneys' fees and
1973 expenses. The application of the United Nations Convention on
1974 Contracts for the International Sale of Goods is expressly excluded.
1975 Any law or regulation which provides that the language of a contract
1976 shall be construed against the drafter shall not apply to this
1979 12. RESPONSIBILITY FOR CLAIMS.
1981 As between Initial Developer and the Contributors, each party is
1982 responsible for claims and damages arising, directly or indirectly,
1983 out of its utilization of rights under this License and You agree to
1984 work with Initial Developer and Contributors to distribute such
1985 responsibility on an equitable basis. Nothing herein is intended or
1986 shall be deemed to constitute any admission of liability.
1988 13. MULTIPLE-LICENSED CODE.
1990 Initial Developer may designate portions of the Covered Code as
1991 "Multiple-Licensed". "Multiple-Licensed" means that the Initial
1992 Developer permits you to utilize portions of the Covered Code under
1993 Your choice of the NPL or the alternative licenses, if any, specified
1994 by the Initial Developer in the file described in Exhibit A.
1996 EXHIBIT A -Mozilla Public License.
1998 ``The contents of this file are subject to the Mozilla Public License
1999 Version 1.1 (the "License"); you may not use this file except in
2000 compliance with the License. You may obtain a copy of the License at
2001 http://www.mozilla.org/MPL/
2003 Software distributed under the License is distributed on an "AS IS"
2004 basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
2005 License for the specific language governing rights and limitations
2008 The Original Code is ______________________________________.
2010 The Initial Developer of the Original Code is ________________________.
2011 Portions created by ______________________ are Copyright (C) ______
2012 _______________________. All Rights Reserved.
2014 Contributor(s): ______________________________________.
2016 Alternatively, the contents of this file may be used under the terms
2017 of the _____ license (the "[___] License"), in which case the
2018 provisions of [______] License are applicable instead of those
2019 above. If you wish to allow use of your version of this file only
2020 under the terms of the [____] License and not to allow others to use
2021 your version of this file under the MPL, indicate your decision by
2022 deleting the provisions above and replace them with the notice and
2023 other provisions required by the [___] License. If you do not delete
2024 the provisions above, a recipient may use your version of this file
2025 under either the MPL or the [___] License."
2027 [NOTE: The text of this Exhibit A may differ slightly from the text of
2028 the notices in the Source Code files of the Original Code. You should
2029 use the text of this Exhibit A rather than the text found in the
2030 Original Code Source Code for Your Modifications.]