ckeditor/plugins/crossreference/LICENSE.md
author indvd00m (gotoindvdum[at]gmail[dot]com)
Thu, 15 Dec 2016 18:10:20 +0300
changeset 0 44d330dccc59
permissions -rw-r--r--
Init sample
indvd00m@0
     1
Software License Agreement
indvd00m@0
     2
==========================
indvd00m@0
     3
indvd00m@0
     4
CrossReference Plugin for CKEditor - Adds images from local client as base64
indvd00m@0
     5
string into the source without server side processing. You can also add
indvd00m@0
     6
external image urls into the source.
indvd00m@0
     7
indvd00m@0
     8
Licensed under the terms of any of the following licenses at your
indvd00m@0
     9
choice:
indvd00m@0
    10
indvd00m@0
    11
 - GNU General Public License Version 2 or later (the "GPL")
indvd00m@0
    12
   http://www.gnu.org/licenses/gpl.html
indvd00m@0
    13
   (See Appendix A)
indvd00m@0
    14
indvd00m@0
    15
 - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
indvd00m@0
    16
   http://www.gnu.org/licenses/lgpl.html
indvd00m@0
    17
   (See Appendix B)
indvd00m@0
    18
indvd00m@0
    19
 - Mozilla Public License Version 1.1 or later (the "MPL")
indvd00m@0
    20
   http://www.mozilla.org/MPL/MPL-1.1.html
indvd00m@0
    21
   (See Appendix C)
indvd00m@0
    22
indvd00m@0
    23
indvd00m@0
    24
Appendix A: The GPL License
indvd00m@0
    25
---------------------------
indvd00m@0
    26
indvd00m@0
    27
GNU GENERAL PUBLIC LICENSE
indvd00m@0
    28
Version 2, June 1991
indvd00m@0
    29
indvd00m@0
    30
 Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
indvd00m@0
    31
 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
indvd00m@0
    32
 Everyone is permitted to copy and distribute verbatim copies
indvd00m@0
    33
 of this license document, but changing it is not allowed.
indvd00m@0
    34
indvd00m@0
    35
Preamble
indvd00m@0
    36
indvd00m@0
    37
  The licenses for most software are designed to take away your
indvd00m@0
    38
freedom to share and change it.  By contrast, the GNU General Public
indvd00m@0
    39
License is intended to guarantee your freedom to share and change free
indvd00m@0
    40
software-to make sure the software is free for all its users.  This
indvd00m@0
    41
General Public License applies to most of the Free Software
indvd00m@0
    42
Foundation's software and to any other program whose authors commit to
indvd00m@0
    43
using it.  (Some other Free Software Foundation software is covered by
indvd00m@0
    44
the GNU Lesser General Public License instead.)  You can apply it to
indvd00m@0
    45
your programs, too.
indvd00m@0
    46
indvd00m@0
    47
  When we speak of free software, we are referring to freedom, not
indvd00m@0
    48
price.  Our General Public Licenses are designed to make sure that you
indvd00m@0
    49
have the freedom to distribute copies of free software (and charge for
indvd00m@0
    50
this service if you wish), that you receive source code or can get it
indvd00m@0
    51
if you want it, that you can change the software or use pieces of it
indvd00m@0
    52
in new free programs; and that you know you can do these things.
indvd00m@0
    53
indvd00m@0
    54
  To protect your rights, we need to make restrictions that forbid
indvd00m@0
    55
anyone to deny you these rights or to ask you to surrender the rights.
indvd00m@0
    56
These restrictions translate to certain responsibilities for you if you
indvd00m@0
    57
distribute copies of the software, or if you modify it.
indvd00m@0
    58
indvd00m@0
    59
  For example, if you distribute copies of such a program, whether
indvd00m@0
    60
gratis or for a fee, you must give the recipients all the rights that
indvd00m@0
    61
you have.  You must make sure that they, too, receive or can get the
indvd00m@0
    62
source code.  And you must show them these terms so they know their
indvd00m@0
    63
rights.
indvd00m@0
    64
indvd00m@0
    65
  We protect your rights with two steps: (1) copyright the software, and
indvd00m@0
    66
(2) offer you this license which gives you legal permission to copy,
indvd00m@0
    67
distribute and/or modify the software.
indvd00m@0
    68
indvd00m@0
    69
  Also, for each author's protection and ours, we want to make certain
indvd00m@0
    70
that everyone understands that there is no warranty for this free
indvd00m@0
    71
software.  If the software is modified by someone else and passed on, we
indvd00m@0
    72
want its recipients to know that what they have is not the original, so
indvd00m@0
    73
that any problems introduced by others will not reflect on the original
indvd00m@0
    74
authors' reputations.
indvd00m@0
    75
indvd00m@0
    76
  Finally, any free program is threatened constantly by software
indvd00m@0
    77
patents.  We wish to avoid the danger that redistributors of a free
indvd00m@0
    78
program will individually obtain patent licenses, in effect making the
indvd00m@0
    79
program proprietary.  To prevent this, we have made it clear that any
indvd00m@0
    80
patent must be licensed for everyone's free use or not licensed at all.
indvd00m@0
    81
indvd00m@0
    82
  The precise terms and conditions for copying, distribution and
indvd00m@0
    83
modification follow.
indvd00m@0
    84
indvd00m@0
    85
GNU GENERAL PUBLIC LICENSE
indvd00m@0
    86
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
indvd00m@0
    87
indvd00m@0
    88
  0. This License applies to any program or other work which contains
indvd00m@0
    89
a notice placed by the copyright holder saying it may be distributed
indvd00m@0
    90
under the terms of this General Public License.  The "Program", below,
indvd00m@0
    91
refers to any such program or work, and a "work based on the Program"
indvd00m@0
    92
means either the Program or any derivative work under copyright law:
indvd00m@0
    93
that is to say, a work containing the Program or a portion of it,
indvd00m@0
    94
either verbatim or with modifications and/or translated into another
indvd00m@0
    95
language.  (Hereinafter, translation is included without limitation in
indvd00m@0
    96
the term "modification".)  Each licensee is addressed as "you".
indvd00m@0
    97
indvd00m@0
    98
Activities other than copying, distribution and modification are not
indvd00m@0
    99
covered by this License; they are outside its scope.  The act of
indvd00m@0
   100
running the Program is not restricted, and the output from the Program
indvd00m@0
   101
is covered only if its contents constitute a work based on the
indvd00m@0
   102
Program (independent of having been made by running the Program).
indvd00m@0
   103
Whether that is true depends on what the Program does.
indvd00m@0
   104
indvd00m@0
   105
  1. You may copy and distribute verbatim copies of the Program's
indvd00m@0
   106
source code as you receive it, in any medium, provided that you
indvd00m@0
   107
conspicuously and appropriately publish on each copy an appropriate
indvd00m@0
   108
copyright notice and disclaimer of warranty; keep intact all the
indvd00m@0
   109
notices that refer to this License and to the absence of any warranty;
indvd00m@0
   110
and give any other recipients of the Program a copy of this License
indvd00m@0
   111
along with the Program.
indvd00m@0
   112
indvd00m@0
   113
You may charge a fee for the physical act of transferring a copy, and
indvd00m@0
   114
you may at your option offer warranty protection in exchange for a fee.
indvd00m@0
   115
indvd00m@0
   116
  2. You may modify your copy or copies of the Program or any portion
indvd00m@0
   117
of it, thus forming a work based on the Program, and copy and
indvd00m@0
   118
distribute such modifications or work under the terms of Section 1
indvd00m@0
   119
above, provided that you also meet all of these conditions:
indvd00m@0
   120
indvd00m@0
   121
    a) You must cause the modified files to carry prominent notices
indvd00m@0
   122
    stating that you changed the files and the date of any change.
indvd00m@0
   123
indvd00m@0
   124
    b) You must cause any work that you distribute or publish, that in
indvd00m@0
   125
    whole or in part contains or is derived from the Program or any
indvd00m@0
   126
    part thereof, to be licensed as a whole at no charge to all third
indvd00m@0
   127
    parties under the terms of this License.
indvd00m@0
   128
indvd00m@0
   129
    c) If the modified program normally reads commands interactively
indvd00m@0
   130
    when run, you must cause it, when started running for such
indvd00m@0
   131
    interactive use in the most ordinary way, to print or display an
indvd00m@0
   132
    announcement including an appropriate copyright notice and a
indvd00m@0
   133
    notice that there is no warranty (or else, saying that you provide
indvd00m@0
   134
    a warranty) and that users may redistribute the program under
indvd00m@0
   135
    these conditions, and telling the user how to view a copy of this
indvd00m@0
   136
    License.  (Exception: if the Program itself is interactive but
indvd00m@0
   137
    does not normally print such an announcement, your work based on
indvd00m@0
   138
    the Program is not required to print an announcement.)
indvd00m@0
   139
indvd00m@0
   140
These requirements apply to the modified work as a whole.  If
indvd00m@0
   141
identifiable sections of that work are not derived from the Program,
indvd00m@0
   142
and can be reasonably considered independent and separate works in
indvd00m@0
   143
themselves, then this License, and its terms, do not apply to those
indvd00m@0
   144
sections when you distribute them as separate works.  But when you
indvd00m@0
   145
distribute the same sections as part of a whole which is a work based
indvd00m@0
   146
on the Program, the distribution of the whole must be on the terms of
indvd00m@0
   147
this License, whose permissions for other licensees extend to the
indvd00m@0
   148
entire whole, and thus to each and every part regardless of who wrote it.
indvd00m@0
   149
indvd00m@0
   150
Thus, it is not the intent of this section to claim rights or contest
indvd00m@0
   151
your rights to work written entirely by you; rather, the intent is to
indvd00m@0
   152
exercise the right to control the distribution of derivative or
indvd00m@0
   153
collective works based on the Program.
indvd00m@0
   154
indvd00m@0
   155
In addition, mere aggregation of another work not based on the Program
indvd00m@0
   156
with the Program (or with a work based on the Program) on a volume of
indvd00m@0
   157
a storage or distribution medium does not bring the other work under
indvd00m@0
   158
the scope of this License.
indvd00m@0
   159
indvd00m@0
   160
  3. You may copy and distribute the Program (or a work based on it,
indvd00m@0
   161
under Section 2) in object code or executable form under the terms of
indvd00m@0
   162
Sections 1 and 2 above provided that you also do one of the following:
indvd00m@0
   163
indvd00m@0
   164
    a) Accompany it with the complete corresponding machine-readable
indvd00m@0
   165
    source code, which must be distributed under the terms of Sections
indvd00m@0
   166
    1 and 2 above on a medium customarily used for software interchange; or,
indvd00m@0
   167
indvd00m@0
   168
    b) Accompany it with a written offer, valid for at least three
indvd00m@0
   169
    years, to give any third party, for a charge no more than your
indvd00m@0
   170
    cost of physically performing source distribution, a complete
indvd00m@0
   171
    machine-readable copy of the corresponding source code, to be
indvd00m@0
   172
    distributed under the terms of Sections 1 and 2 above on a medium
indvd00m@0
   173
    customarily used for software interchange; or,
indvd00m@0
   174
indvd00m@0
   175
    c) Accompany it with the information you received as to the offer
indvd00m@0
   176
    to distribute corresponding source code.  (This alternative is
indvd00m@0
   177
    allowed only for noncommercial distribution and only if you
indvd00m@0
   178
    received the program in object code or executable form with such
indvd00m@0
   179
    an offer, in accord with Subsection b above.)
indvd00m@0
   180
indvd00m@0
   181
The source code for a work means the preferred form of the work for
indvd00m@0
   182
making modifications to it.  For an executable work, complete source
indvd00m@0
   183
code means all the source code for all modules it contains, plus any
indvd00m@0
   184
associated interface definition files, plus the scripts used to
indvd00m@0
   185
control compilation and installation of the executable.  However, as a
indvd00m@0
   186
special exception, the source code distributed need not include
indvd00m@0
   187
anything that is normally distributed (in either source or binary
indvd00m@0
   188
form) with the major components (compiler, kernel, and so on) of the
indvd00m@0
   189
operating system on which the executable runs, unless that component
indvd00m@0
   190
itself accompanies the executable.
indvd00m@0
   191
indvd00m@0
   192
If distribution of executable or object code is made by offering
indvd00m@0
   193
access to copy from a designated place, then offering equivalent
indvd00m@0
   194
access to copy the source code from the same place counts as
indvd00m@0
   195
distribution of the source code, even though third parties are not
indvd00m@0
   196
compelled to copy the source along with the object code.
indvd00m@0
   197
indvd00m@0
   198
  4. You may not copy, modify, sublicense, or distribute the Program
indvd00m@0
   199
except as expressly provided under this License.  Any attempt
indvd00m@0
   200
otherwise to copy, modify, sublicense or distribute the Program is
indvd00m@0
   201
void, and will automatically terminate your rights under this License.
indvd00m@0
   202
However, parties who have received copies, or rights, from you under
indvd00m@0
   203
this License will not have their licenses terminated so long as such
indvd00m@0
   204
parties remain in full compliance.
indvd00m@0
   205
indvd00m@0
   206
  5. You are not required to accept this License, since you have not
indvd00m@0
   207
signed it.  However, nothing else grants you permission to modify or
indvd00m@0
   208
distribute the Program or its derivative works.  These actions are
indvd00m@0
   209
prohibited by law if you do not accept this License.  Therefore, by
indvd00m@0
   210
modifying or distributing the Program (or any work based on the
indvd00m@0
   211
Program), you indicate your acceptance of this License to do so, and
indvd00m@0
   212
all its terms and conditions for copying, distributing or modifying
indvd00m@0
   213
the Program or works based on it.
indvd00m@0
   214
indvd00m@0
   215
  6. Each time you redistribute the Program (or any work based on the
indvd00m@0
   216
Program), the recipient automatically receives a license from the
indvd00m@0
   217
original licensor to copy, distribute or modify the Program subject to
indvd00m@0
   218
these terms and conditions.  You may not impose any further
indvd00m@0
   219
restrictions on the recipients' exercise of the rights granted herein.
indvd00m@0
   220
You are not responsible for enforcing compliance by third parties to
indvd00m@0
   221
this License.
indvd00m@0
   222
indvd00m@0
   223
  7. If, as a consequence of a court judgment or allegation of patent
indvd00m@0
   224
infringement or for any other reason (not limited to patent issues),
indvd00m@0
   225
conditions are imposed on you (whether by court order, agreement or
indvd00m@0
   226
otherwise) that contradict the conditions of this License, they do not
indvd00m@0
   227
excuse you from the conditions of this License.  If you cannot
indvd00m@0
   228
distribute so as to satisfy simultaneously your obligations under this
indvd00m@0
   229
License and any other pertinent obligations, then as a consequence you
indvd00m@0
   230
may not distribute the Program at all.  For example, if a patent
indvd00m@0
   231
license would not permit royalty-free redistribution of the Program by
indvd00m@0
   232
all those who receive copies directly or indirectly through you, then
indvd00m@0
   233
the only way you could satisfy both it and this License would be to
indvd00m@0
   234
refrain entirely from distribution of the Program.
indvd00m@0
   235
indvd00m@0
   236
If any portion of this section is held invalid or unenforceable under
indvd00m@0
   237
any particular circumstance, the balance of the section is intended to
indvd00m@0
   238
apply and the section as a whole is intended to apply in other
indvd00m@0
   239
circumstances.
indvd00m@0
   240
indvd00m@0
   241
It is not the purpose of this section to induce you to infringe any
indvd00m@0
   242
patents or other property right claims or to contest validity of any
indvd00m@0
   243
such claims; this section has the sole purpose of protecting the
indvd00m@0
   244
integrity of the free software distribution system, which is
indvd00m@0
   245
implemented by public license practices.  Many people have made
indvd00m@0
   246
generous contributions to the wide range of software distributed
indvd00m@0
   247
through that system in reliance on consistent application of that
indvd00m@0
   248
system; it is up to the author/donor to decide if he or she is willing
indvd00m@0
   249
to distribute software through any other system and a licensee cannot
indvd00m@0
   250
impose that choice.
indvd00m@0
   251
indvd00m@0
   252
This section is intended to make thoroughly clear what is believed to
indvd00m@0
   253
be a consequence of the rest of this License.
indvd00m@0
   254
indvd00m@0
   255
  8. If the distribution and/or use of the Program is restricted in
indvd00m@0
   256
certain countries either by patents or by copyrighted interfaces, the
indvd00m@0
   257
original copyright holder who places the Program under this License
indvd00m@0
   258
may add an explicit geographical distribution limitation excluding
indvd00m@0
   259
those countries, so that distribution is permitted only in or among
indvd00m@0
   260
countries not thus excluded.  In such case, this License incorporates
indvd00m@0
   261
the limitation as if written in the body of this License.
indvd00m@0
   262
indvd00m@0
   263
  9. The Free Software Foundation may publish revised and/or new versions
indvd00m@0
   264
of the General Public License from time to time.  Such new versions will
indvd00m@0
   265
be similar in spirit to the present version, but may differ in detail to
indvd00m@0
   266
address new problems or concerns.
indvd00m@0
   267
indvd00m@0
   268
Each version is given a distinguishing version number.  If the Program
indvd00m@0
   269
specifies a version number of this License which applies to it and "any
indvd00m@0
   270
later version", you have the option of following the terms and conditions
indvd00m@0
   271
either of that version or of any later version published by the Free
indvd00m@0
   272
Software Foundation.  If the Program does not specify a version number of
indvd00m@0
   273
this License, you may choose any version ever published by the Free Software
indvd00m@0
   274
Foundation.
indvd00m@0
   275
indvd00m@0
   276
  10. If you wish to incorporate parts of the Program into other free
indvd00m@0
   277
programs whose distribution conditions are different, write to the author
indvd00m@0
   278
to ask for permission.  For software which is copyrighted by the Free
indvd00m@0
   279
Software Foundation, write to the Free Software Foundation; we sometimes
indvd00m@0
   280
make exceptions for this.  Our decision will be guided by the two goals
indvd00m@0
   281
of preserving the free status of all derivatives of our free software and
indvd00m@0
   282
of promoting the sharing and reuse of software generally.
indvd00m@0
   283
indvd00m@0
   284
NO WARRANTY
indvd00m@0
   285
indvd00m@0
   286
  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
indvd00m@0
   287
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
indvd00m@0
   288
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
indvd00m@0
   289
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
indvd00m@0
   290
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
indvd00m@0
   291
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
indvd00m@0
   292
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
indvd00m@0
   293
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
indvd00m@0
   294
REPAIR OR CORRECTION.
indvd00m@0
   295
indvd00m@0
   296
  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
indvd00m@0
   297
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
indvd00m@0
   298
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
indvd00m@0
   299
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
indvd00m@0
   300
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
indvd00m@0
   301
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
indvd00m@0
   302
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
indvd00m@0
   303
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
indvd00m@0
   304
POSSIBILITY OF SUCH DAMAGES.
indvd00m@0
   305
indvd00m@0
   306
END OF TERMS AND CONDITIONS
indvd00m@0
   307
indvd00m@0
   308
indvd00m@0
   309
Appendix B: The LGPL License
indvd00m@0
   310
----------------------------
indvd00m@0
   311
indvd00m@0
   312
GNU LESSER GENERAL PUBLIC LICENSE
indvd00m@0
   313
Version 2.1, February 1999
indvd00m@0
   314
indvd00m@0
   315
 Copyright (C) 1991, 1999 Free Software Foundation, Inc.
indvd00m@0
   316
     59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
indvd00m@0
   317
 Everyone is permitted to copy and distribute verbatim copies
indvd00m@0
   318
 of this license document, but changing it is not allowed.
indvd00m@0
   319
indvd00m@0
   320
[This is the first released version of the Lesser GPL.  It also counts
indvd00m@0
   321
 as the successor of the GNU Library Public License, version 2, hence
indvd00m@0
   322
 the version number 2.1.]
indvd00m@0
   323
indvd00m@0
   324
Preamble
indvd00m@0
   325
indvd00m@0
   326
  The licenses for most software are designed to take away your
indvd00m@0
   327
freedom to share and change it.  By contrast, the GNU General Public
indvd00m@0
   328
Licenses are intended to guarantee your freedom to share and change
indvd00m@0
   329
free software-to make sure the software is free for all its users.
indvd00m@0
   330
indvd00m@0
   331
  This license, the Lesser General Public License, applies to some
indvd00m@0
   332
specially designated software packages-typically libraries-of the
indvd00m@0
   333
Free Software Foundation and other authors who decide to use it.  You
indvd00m@0
   334
can use it too, but we suggest you first think carefully about whether
indvd00m@0
   335
this license or the ordinary General Public License is the better
indvd00m@0
   336
strategy to use in any particular case, based on the explanations below.
indvd00m@0
   337
indvd00m@0
   338
  When we speak of free software, we are referring to freedom of use,
indvd00m@0
   339
not price.  Our General Public Licenses are designed to make sure that
indvd00m@0
   340
you have the freedom to distribute copies of free software (and charge
indvd00m@0
   341
for this service if you wish); that you receive source code or can get
indvd00m@0
   342
it if you want it; that you can change the software and use pieces of
indvd00m@0
   343
it in new free programs; and that you are informed that you can do
indvd00m@0
   344
these things.
indvd00m@0
   345
indvd00m@0
   346
  To protect your rights, we need to make restrictions that forbid
indvd00m@0
   347
distributors to deny you these rights or to ask you to surrender these
indvd00m@0
   348
rights.  These restrictions translate to certain responsibilities for
indvd00m@0
   349
you if you distribute copies of the library or if you modify it.
indvd00m@0
   350
indvd00m@0
   351
  For example, if you distribute copies of the library, whether gratis
indvd00m@0
   352
or for a fee, you must give the recipients all the rights that we gave
indvd00m@0
   353
you.  You must make sure that they, too, receive or can get the source
indvd00m@0
   354
code.  If you link other code with the library, you must provide
indvd00m@0
   355
complete object files to the recipients, so that they can relink them
indvd00m@0
   356
with the library after making changes to the library and recompiling
indvd00m@0
   357
it.  And you must show them these terms so they know their rights.
indvd00m@0
   358
indvd00m@0
   359
  We protect your rights with a two-step method: (1) we copyright the
indvd00m@0
   360
library, and (2) we offer you this license, which gives you legal
indvd00m@0
   361
permission to copy, distribute and/or modify the library.
indvd00m@0
   362
indvd00m@0
   363
  To protect each distributor, we want to make it very clear that
indvd00m@0
   364
there is no warranty for the free library.  Also, if the library is
indvd00m@0
   365
modified by someone else and passed on, the recipients should know
indvd00m@0
   366
that what they have is not the original version, so that the original
indvd00m@0
   367
author's reputation will not be affected by problems that might be
indvd00m@0
   368
introduced by others.
indvd00m@0
   369
indvd00m@0
   370
  Finally, software patents pose a constant threat to the existence of
indvd00m@0
   371
any free program.  We wish to make sure that a company cannot
indvd00m@0
   372
effectively restrict the users of a free program by obtaining a
indvd00m@0
   373
restrictive license from a patent holder.  Therefore, we insist that
indvd00m@0
   374
any patent license obtained for a version of the library must be
indvd00m@0
   375
consistent with the full freedom of use specified in this license.
indvd00m@0
   376
indvd00m@0
   377
  Most GNU software, including some libraries, is covered by the
indvd00m@0
   378
ordinary GNU General Public License.  This license, the GNU Lesser
indvd00m@0
   379
General Public License, applies to certain designated libraries, and
indvd00m@0
   380
is quite different from the ordinary General Public License.  We use
indvd00m@0
   381
this license for certain libraries in order to permit linking those
indvd00m@0
   382
libraries into non-free programs.
indvd00m@0
   383
indvd00m@0
   384
  When a program is linked with a library, whether statically or using
indvd00m@0
   385
a shared library, the combination of the two is legally speaking a
indvd00m@0
   386
combined work, a derivative of the original library.  The ordinary
indvd00m@0
   387
General Public License therefore permits such linking only if the
indvd00m@0
   388
entire combination fits its criteria of freedom.  The Lesser General
indvd00m@0
   389
Public License permits more lax criteria for linking other code with
indvd00m@0
   390
the library.
indvd00m@0
   391
indvd00m@0
   392
  We call this license the "Lesser" General Public License because it
indvd00m@0
   393
does Less to protect the user's freedom than the ordinary General
indvd00m@0
   394
Public License.  It also provides other free software developers Less
indvd00m@0
   395
of an advantage over competing non-free programs.  These disadvantages
indvd00m@0
   396
are the reason we use the ordinary General Public License for many
indvd00m@0
   397
libraries.  However, the Lesser license provides advantages in certain
indvd00m@0
   398
special circumstances.
indvd00m@0
   399
indvd00m@0
   400
  For example, on rare occasions, there may be a special need to
indvd00m@0
   401
encourage the widest possible use of a certain library, so that it becomes
indvd00m@0
   402
a de-facto standard.  To achieve this, non-free programs must be
indvd00m@0
   403
allowed to use the library.  A more frequent case is that a free
indvd00m@0
   404
library does the same job as widely used non-free libraries.  In this
indvd00m@0
   405
case, there is little to gain by limiting the free library to free
indvd00m@0
   406
software only, so we use the Lesser General Public License.
indvd00m@0
   407
indvd00m@0
   408
  In other cases, permission to use a particular library in non-free
indvd00m@0
   409
programs enables a greater number of people to use a large body of
indvd00m@0
   410
free software.  For example, permission to use the GNU C Library in
indvd00m@0
   411
non-free programs enables many more people to use the whole GNU
indvd00m@0
   412
operating system, as well as its variant, the GNU/Linux operating
indvd00m@0
   413
system.
indvd00m@0
   414
indvd00m@0
   415
  Although the Lesser General Public License is Less protective of the
indvd00m@0
   416
users' freedom, it does ensure that the user of a program that is
indvd00m@0
   417
linked with the Library has the freedom and the wherewithal to run
indvd00m@0
   418
that program using a modified version of the Library.
indvd00m@0
   419
indvd00m@0
   420
  The precise terms and conditions for copying, distribution and
indvd00m@0
   421
modification follow.  Pay close attention to the difference between a
indvd00m@0
   422
"work based on the library" and a "work that uses the library".  The
indvd00m@0
   423
former contains code derived from the library, whereas the latter must
indvd00m@0
   424
be combined with the library in order to run.
indvd00m@0
   425
indvd00m@0
   426
GNU LESSER GENERAL PUBLIC LICENSE
indvd00m@0
   427
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
indvd00m@0
   428
indvd00m@0
   429
  0. This License Agreement applies to any software library or other
indvd00m@0
   430
program which contains a notice placed by the copyright holder or
indvd00m@0
   431
other authorized party saying it may be distributed under the terms of
indvd00m@0
   432
this Lesser General Public License (also called "this License").
indvd00m@0
   433
Each licensee is addressed as "you".
indvd00m@0
   434
indvd00m@0
   435
  A "library" means a collection of software functions and/or data
indvd00m@0
   436
prepared so as to be conveniently linked with application programs
indvd00m@0
   437
(which use some of those functions and data) to form executables.
indvd00m@0
   438
indvd00m@0
   439
  The "Library", below, refers to any such software library or work
indvd00m@0
   440
which has been distributed under these terms.  A "work based on the
indvd00m@0
   441
Library" means either the Library or any derivative work under
indvd00m@0
   442
copyright law: that is to say, a work containing the Library or a
indvd00m@0
   443
portion of it, either verbatim or with modifications and/or translated
indvd00m@0
   444
straightforwardly into another language.  (Hereinafter, translation is
indvd00m@0
   445
included without limitation in the term "modification".)
indvd00m@0
   446
indvd00m@0
   447
  "Source code" for a work means the preferred form of the work for
indvd00m@0
   448
making modifications to it.  For a library, complete source code means
indvd00m@0
   449
all the source code for all modules it contains, plus any associated
indvd00m@0
   450
interface definition files, plus the scripts used to control compilation
indvd00m@0
   451
and installation of the library.
indvd00m@0
   452
indvd00m@0
   453
  Activities other than copying, distribution and modification are not
indvd00m@0
   454
covered by this License; they are outside its scope.  The act of
indvd00m@0
   455
running a program using the Library is not restricted, and output from
indvd00m@0
   456
such a program is covered only if its contents constitute a work based
indvd00m@0
   457
on the Library (independent of the use of the Library in a tool for
indvd00m@0
   458
writing it).  Whether that is true depends on what the Library does
indvd00m@0
   459
and what the program that uses the Library does.
indvd00m@0
   460
indvd00m@0
   461
  1. You may copy and distribute verbatim copies of the Library's
indvd00m@0
   462
complete source code as you receive it, in any medium, provided that
indvd00m@0
   463
you conspicuously and appropriately publish on each copy an
indvd00m@0
   464
appropriate copyright notice and disclaimer of warranty; keep intact
indvd00m@0
   465
all the notices that refer to this License and to the absence of any
indvd00m@0
   466
warranty; and distribute a copy of this License along with the
indvd00m@0
   467
Library.
indvd00m@0
   468
indvd00m@0
   469
  You may charge a fee for the physical act of transferring a copy,
indvd00m@0
   470
and you may at your option offer warranty protection in exchange for a
indvd00m@0
   471
fee.
indvd00m@0
   472
indvd00m@0
   473
  2. You may modify your copy or copies of the Library or any portion
indvd00m@0
   474
of it, thus forming a work based on the Library, and copy and
indvd00m@0
   475
distribute such modifications or work under the terms of Section 1
indvd00m@0
   476
above, provided that you also meet all of these conditions:
indvd00m@0
   477
indvd00m@0
   478
    a) The modified work must itself be a software library.
indvd00m@0
   479
indvd00m@0
   480
    b) You must cause the files modified to carry prominent notices
indvd00m@0
   481
    stating that you changed the files and the date of any change.
indvd00m@0
   482
indvd00m@0
   483
    c) You must cause the whole of the work to be licensed at no
indvd00m@0
   484
    charge to all third parties under the terms of this License.
indvd00m@0
   485
indvd00m@0
   486
    d) If a facility in the modified Library refers to a function or a
indvd00m@0
   487
    table of data to be supplied by an application program that uses
indvd00m@0
   488
    the facility, other than as an argument passed when the facility
indvd00m@0
   489
    is invoked, then you must make a good faith effort to ensure that,
indvd00m@0
   490
    in the event an application does not supply such function or
indvd00m@0
   491
    table, the facility still operates, and performs whatever part of
indvd00m@0
   492
    its purpose remains meaningful.
indvd00m@0
   493
indvd00m@0
   494
    (For example, a function in a library to compute square roots has
indvd00m@0
   495
    a purpose that is entirely well-defined independent of the
indvd00m@0
   496
    application.  Therefore, Subsection 2d requires that any
indvd00m@0
   497
    application-supplied function or table used by this function must
indvd00m@0
   498
    be optional: if the application does not supply it, the square
indvd00m@0
   499
    root function must still compute square roots.)
indvd00m@0
   500
indvd00m@0
   501
These requirements apply to the modified work as a whole.  If
indvd00m@0
   502
identifiable sections of that work are not derived from the Library,
indvd00m@0
   503
and can be reasonably considered independent and separate works in
indvd00m@0
   504
themselves, then this License, and its terms, do not apply to those
indvd00m@0
   505
sections when you distribute them as separate works.  But when you
indvd00m@0
   506
distribute the same sections as part of a whole which is a work based
indvd00m@0
   507
on the Library, the distribution of the whole must be on the terms of
indvd00m@0
   508
this License, whose permissions for other licensees extend to the
indvd00m@0
   509
entire whole, and thus to each and every part regardless of who wrote
indvd00m@0
   510
it.
indvd00m@0
   511
indvd00m@0
   512
Thus, it is not the intent of this section to claim rights or contest
indvd00m@0
   513
your rights to work written entirely by you; rather, the intent is to
indvd00m@0
   514
exercise the right to control the distribution of derivative or
indvd00m@0
   515
collective works based on the Library.
indvd00m@0
   516
indvd00m@0
   517
In addition, mere aggregation of another work not based on the Library
indvd00m@0
   518
with the Library (or with a work based on the Library) on a volume of
indvd00m@0
   519
a storage or distribution medium does not bring the other work under
indvd00m@0
   520
the scope of this License.
indvd00m@0
   521
indvd00m@0
   522
  3. You may opt to apply the terms of the ordinary GNU General Public
indvd00m@0
   523
License instead of this License to a given copy of the Library.  To do
indvd00m@0
   524
this, you must alter all the notices that refer to this License, so
indvd00m@0
   525
that they refer to the ordinary GNU General Public License, version 2,
indvd00m@0
   526
instead of to this License.  (If a newer version than version 2 of the
indvd00m@0
   527
ordinary GNU General Public License has appeared, then you can specify
indvd00m@0
   528
that version instead if you wish.)  Do not make any other change in
indvd00m@0
   529
these notices.
indvd00m@0
   530
indvd00m@0
   531
  Once this change is made in a given copy, it is irreversible for
indvd00m@0
   532
that copy, so the ordinary GNU General Public License applies to all
indvd00m@0
   533
subsequent copies and derivative works made from that copy.
indvd00m@0
   534
indvd00m@0
   535
  This option is useful when you wish to copy part of the code of
indvd00m@0
   536
the Library into a program that is not a library.
indvd00m@0
   537
indvd00m@0
   538
  4. You may copy and distribute the Library (or a portion or
indvd00m@0
   539
derivative of it, under Section 2) in object code or executable form
indvd00m@0
   540
under the terms of Sections 1 and 2 above provided that you accompany
indvd00m@0
   541
it with the complete corresponding machine-readable source code, which
indvd00m@0
   542
must be distributed under the terms of Sections 1 and 2 above on a
indvd00m@0
   543
medium customarily used for software interchange.
indvd00m@0
   544
indvd00m@0
   545
  If distribution of object code is made by offering access to copy
indvd00m@0
   546
from a designated place, then offering equivalent access to copy the
indvd00m@0
   547
source code from the same place satisfies the requirement to
indvd00m@0
   548
distribute the source code, even though third parties are not
indvd00m@0
   549
compelled to copy the source along with the object code.
indvd00m@0
   550
indvd00m@0
   551
  5. A program that contains no derivative of any portion of the
indvd00m@0
   552
Library, but is designed to work with the Library by being compiled or
indvd00m@0
   553
linked with it, is called a "work that uses the Library".  Such a
indvd00m@0
   554
work, in isolation, is not a derivative work of the Library, and
indvd00m@0
   555
therefore falls outside the scope of this License.
indvd00m@0
   556
indvd00m@0
   557
  However, linking a "work that uses the Library" with the Library
indvd00m@0
   558
creates an executable that is a derivative of the Library (because it
indvd00m@0
   559
contains portions of the Library), rather than a "work that uses the
indvd00m@0
   560
library".  The executable is therefore covered by this License.
indvd00m@0
   561
Section 6 states terms for distribution of such executables.
indvd00m@0
   562
indvd00m@0
   563
  When a "work that uses the Library" uses material from a header file
indvd00m@0
   564
that is part of the Library, the object code for the work may be a
indvd00m@0
   565
derivative work of the Library even though the source code is not.
indvd00m@0
   566
Whether this is true is especially significant if the work can be
indvd00m@0
   567
linked without the Library, or if the work is itself a library.  The
indvd00m@0
   568
threshold for this to be true is not precisely defined by law.
indvd00m@0
   569
indvd00m@0
   570
  If such an object file uses only numerical parameters, data
indvd00m@0
   571
structure layouts and accessors, and small macros and small inline
indvd00m@0
   572
functions (ten lines or less in length), then the use of the object
indvd00m@0
   573
file is unrestricted, regardless of whether it is legally a derivative
indvd00m@0
   574
work.  (Executables containing this object code plus portions of the
indvd00m@0
   575
Library will still fall under Section 6.)
indvd00m@0
   576
indvd00m@0
   577
  Otherwise, if the work is a derivative of the Library, you may
indvd00m@0
   578
distribute the object code for the work under the terms of Section 6.
indvd00m@0
   579
Any executables containing that work also fall under Section 6,
indvd00m@0
   580
whether or not they are linked directly with the Library itself.
indvd00m@0
   581
indvd00m@0
   582
  6. As an exception to the Sections above, you may also combine or
indvd00m@0
   583
link a "work that uses the Library" with the Library to produce a
indvd00m@0
   584
work containing portions of the Library, and distribute that work
indvd00m@0
   585
under terms of your choice, provided that the terms permit
indvd00m@0
   586
modification of the work for the customer's own use and reverse
indvd00m@0
   587
engineering for debugging such modifications.
indvd00m@0
   588
indvd00m@0
   589
  You must give prominent notice with each copy of the work that the
indvd00m@0
   590
Library is used in it and that the Library and its use are covered by
indvd00m@0
   591
this License.  You must supply a copy of this License.  If the work
indvd00m@0
   592
during execution displays copyright notices, you must include the
indvd00m@0
   593
copyright notice for the Library among them, as well as a reference
indvd00m@0
   594
directing the user to the copy of this License.  Also, you must do one
indvd00m@0
   595
of these things:
indvd00m@0
   596
indvd00m@0
   597
    a) Accompany the work with the complete corresponding
indvd00m@0
   598
    machine-readable source code for the Library including whatever
indvd00m@0
   599
    changes were used in the work (which must be distributed under
indvd00m@0
   600
    Sections 1 and 2 above); and, if the work is an executable linked
indvd00m@0
   601
    with the Library, with the complete machine-readable "work that
indvd00m@0
   602
    uses the Library", as object code and/or source code, so that the
indvd00m@0
   603
    user can modify the Library and then relink to produce a modified
indvd00m@0
   604
    executable containing the modified Library.  (It is understood
indvd00m@0
   605
    that the user who changes the contents of definitions files in the
indvd00m@0
   606
    Library will not necessarily be able to recompile the application
indvd00m@0
   607
    to use the modified definitions.)
indvd00m@0
   608
indvd00m@0
   609
    b) Use a suitable shared library mechanism for linking with the
indvd00m@0
   610
    Library.  A suitable mechanism is one that (1) uses at run time a
indvd00m@0
   611
    copy of the library already present on the user's computer system,
indvd00m@0
   612
    rather than copying library functions into the executable, and (2)
indvd00m@0
   613
    will operate properly with a modified version of the library, if
indvd00m@0
   614
    the user installs one, as long as the modified version is
indvd00m@0
   615
    interface-compatible with the version that the work was made with.
indvd00m@0
   616
indvd00m@0
   617
    c) Accompany the work with a written offer, valid for at
indvd00m@0
   618
    least three years, to give the same user the materials
indvd00m@0
   619
    specified in Subsection 6a, above, for a charge no more
indvd00m@0
   620
    than the cost of performing this distribution.
indvd00m@0
   621
indvd00m@0
   622
    d) If distribution of the work is made by offering access to copy
indvd00m@0
   623
    from a designated place, offer equivalent access to copy the above
indvd00m@0
   624
    specified materials from the same place.
indvd00m@0
   625
indvd00m@0
   626
    e) Verify that the user has already received a copy of these
indvd00m@0
   627
    materials or that you have already sent this user a copy.
indvd00m@0
   628
indvd00m@0
   629
  For an executable, the required form of the "work that uses the
indvd00m@0
   630
Library" must include any data and utility programs needed for
indvd00m@0
   631
reproducing the executable from it.  However, as a special exception,
indvd00m@0
   632
the materials to be distributed need not include anything that is
indvd00m@0
   633
normally distributed (in either source or binary form) with the major
indvd00m@0
   634
components (compiler, kernel, and so on) of the operating system on
indvd00m@0
   635
which the executable runs, unless that component itself accompanies
indvd00m@0
   636
the executable.
indvd00m@0
   637
indvd00m@0
   638
  It may happen that this requirement contradicts the license
indvd00m@0
   639
restrictions of other proprietary libraries that do not normally
indvd00m@0
   640
accompany the operating system.  Such a contradiction means you cannot
indvd00m@0
   641
use both them and the Library together in an executable that you
indvd00m@0
   642
distribute.
indvd00m@0
   643
indvd00m@0
   644
  7. You may place library facilities that are a work based on the
indvd00m@0
   645
Library side-by-side in a single library together with other library
indvd00m@0
   646
facilities not covered by this License, and distribute such a combined
indvd00m@0
   647
library, provided that the separate distribution of the work based on
indvd00m@0
   648
the Library and of the other library facilities is otherwise
indvd00m@0
   649
permitted, and provided that you do these two things:
indvd00m@0
   650
indvd00m@0
   651
    a) Accompany the combined library with a copy of the same work
indvd00m@0
   652
    based on the Library, uncombined with any other library
indvd00m@0
   653
    facilities.  This must be distributed under the terms of the
indvd00m@0
   654
    Sections above.
indvd00m@0
   655
indvd00m@0
   656
    b) Give prominent notice with the combined library of the fact
indvd00m@0
   657
    that part of it is a work based on the Library, and explaining
indvd00m@0
   658
    where to find the accompanying uncombined form of the same work.
indvd00m@0
   659
indvd00m@0
   660
  8. You may not copy, modify, sublicense, link with, or distribute
indvd00m@0
   661
the Library except as expressly provided under this License.  Any
indvd00m@0
   662
attempt otherwise to copy, modify, sublicense, link with, or
indvd00m@0
   663
distribute the Library is void, and will automatically terminate your
indvd00m@0
   664
rights under this License.  However, parties who have received copies,
indvd00m@0
   665
or rights, from you under this License will not have their licenses
indvd00m@0
   666
terminated so long as such parties remain in full compliance.
indvd00m@0
   667
indvd00m@0
   668
  9. You are not required to accept this License, since you have not
indvd00m@0
   669
signed it.  However, nothing else grants you permission to modify or
indvd00m@0
   670
distribute the Library or its derivative works.  These actions are
indvd00m@0
   671
prohibited by law if you do not accept this License.  Therefore, by
indvd00m@0
   672
modifying or distributing the Library (or any work based on the
indvd00m@0
   673
Library), you indicate your acceptance of this License to do so, and
indvd00m@0
   674
all its terms and conditions for copying, distributing or modifying
indvd00m@0
   675
the Library or works based on it.
indvd00m@0
   676
indvd00m@0
   677
  10. Each time you redistribute the Library (or any work based on the
indvd00m@0
   678
Library), the recipient automatically receives a license from the
indvd00m@0
   679
original licensor to copy, distribute, link with or modify the Library
indvd00m@0
   680
subject to these terms and conditions.  You may not impose any further
indvd00m@0
   681
restrictions on the recipients' exercise of the rights granted herein.
indvd00m@0
   682
You are not responsible for enforcing compliance by third parties with
indvd00m@0
   683
this License.
indvd00m@0
   684
indvd00m@0
   685
  11. If, as a consequence of a court judgment or allegation of patent
indvd00m@0
   686
infringement or for any other reason (not limited to patent issues),
indvd00m@0
   687
conditions are imposed on you (whether by court order, agreement or
indvd00m@0
   688
otherwise) that contradict the conditions of this License, they do not
indvd00m@0
   689
excuse you from the conditions of this License.  If you cannot
indvd00m@0
   690
distribute so as to satisfy simultaneously your obligations under this
indvd00m@0
   691
License and any other pertinent obligations, then as a consequence you
indvd00m@0
   692
may not distribute the Library at all.  For example, if a patent
indvd00m@0
   693
license would not permit royalty-free redistribution of the Library by
indvd00m@0
   694
all those who receive copies directly or indirectly through you, then
indvd00m@0
   695
the only way you could satisfy both it and this License would be to
indvd00m@0
   696
refrain entirely from distribution of the Library.
indvd00m@0
   697
indvd00m@0
   698
If any portion of this section is held invalid or unenforceable under any
indvd00m@0
   699
particular circumstance, the balance of the section is intended to apply,
indvd00m@0
   700
and the section as a whole is intended to apply in other circumstances.
indvd00m@0
   701
indvd00m@0
   702
It is not the purpose of this section to induce you to infringe any
indvd00m@0
   703
patents or other property right claims or to contest validity of any
indvd00m@0
   704
such claims; this section has the sole purpose of protecting the
indvd00m@0
   705
integrity of the free software distribution system which is
indvd00m@0
   706
implemented by public license practices.  Many people have made
indvd00m@0
   707
generous contributions to the wide range of software distributed
indvd00m@0
   708
through that system in reliance on consistent application of that
indvd00m@0
   709
system; it is up to the author/donor to decide if he or she is willing
indvd00m@0
   710
to distribute software through any other system and a licensee cannot
indvd00m@0
   711
impose that choice.
indvd00m@0
   712
indvd00m@0
   713
This section is intended to make thoroughly clear what is believed to
indvd00m@0
   714
be a consequence of the rest of this License.
indvd00m@0
   715
indvd00m@0
   716
  12. If the distribution and/or use of the Library is restricted in
indvd00m@0
   717
certain countries either by patents or by copyrighted interfaces, the
indvd00m@0
   718
original copyright holder who places the Library under this License may add
indvd00m@0
   719
an explicit geographical distribution limitation excluding those countries,
indvd00m@0
   720
so that distribution is permitted only in or among countries not thus
indvd00m@0
   721
excluded.  In such case, this License incorporates the limitation as if
indvd00m@0
   722
written in the body of this License.
indvd00m@0
   723
indvd00m@0
   724
  13. The Free Software Foundation may publish revised and/or new
indvd00m@0
   725
versions of the Lesser General Public License from time to time.
indvd00m@0
   726
Such new versions will be similar in spirit to the present version,
indvd00m@0
   727
but may differ in detail to address new problems or concerns.
indvd00m@0
   728
indvd00m@0
   729
Each version is given a distinguishing version number.  If the Library
indvd00m@0
   730
specifies a version number of this License which applies to it and
indvd00m@0
   731
"any later version", you have the option of following the terms and
indvd00m@0
   732
conditions either of that version or of any later version published by
indvd00m@0
   733
the Free Software Foundation.  If the Library does not specify a
indvd00m@0
   734
license version number, you may choose any version ever published by
indvd00m@0
   735
the Free Software Foundation.
indvd00m@0
   736
indvd00m@0
   737
  14. If you wish to incorporate parts of the Library into other free
indvd00m@0
   738
programs whose distribution conditions are incompatible with these,
indvd00m@0
   739
write to the author to ask for permission.  For software which is
indvd00m@0
   740
copyrighted by the Free Software Foundation, write to the Free
indvd00m@0
   741
Software Foundation; we sometimes make exceptions for this.  Our
indvd00m@0
   742
decision will be guided by the two goals of preserving the free status
indvd00m@0
   743
of all derivatives of our free software and of promoting the sharing
indvd00m@0
   744
and reuse of software generally.
indvd00m@0
   745
indvd00m@0
   746
NO WARRANTY
indvd00m@0
   747
indvd00m@0
   748
  15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
indvd00m@0
   749
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
indvd00m@0
   750
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
indvd00m@0
   751
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
indvd00m@0
   752
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
indvd00m@0
   753
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
indvd00m@0
   754
PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
indvd00m@0
   755
LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
indvd00m@0
   756
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
indvd00m@0
   757
indvd00m@0
   758
  16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
indvd00m@0
   759
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
indvd00m@0
   760
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
indvd00m@0
   761
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
indvd00m@0
   762
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
indvd00m@0
   763
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
indvd00m@0
   764
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
indvd00m@0
   765
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
indvd00m@0
   766
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
indvd00m@0
   767
DAMAGES.
indvd00m@0
   768
indvd00m@0
   769
END OF TERMS AND CONDITIONS
indvd00m@0
   770
indvd00m@0
   771
indvd00m@0
   772
Appendix C: The MPL License
indvd00m@0
   773
---------------------------
indvd00m@0
   774
indvd00m@0
   775
MOZILLA PUBLIC LICENSE
indvd00m@0
   776
Version 1.1
indvd00m@0
   777
indvd00m@0
   778
1. Definitions.
indvd00m@0
   779
indvd00m@0
   780
     1.0.1. "Commercial Use" means distribution or otherwise making the
indvd00m@0
   781
     Covered Code available to a third party.
indvd00m@0
   782
indvd00m@0
   783
     1.1. "Contributor" means each entity that creates or contributes to
indvd00m@0
   784
     the creation of Modifications.
indvd00m@0
   785
indvd00m@0
   786
     1.2. "Contributor Version" means the combination of the Original
indvd00m@0
   787
     Code, prior Modifications used by a Contributor, and the Modifications
indvd00m@0
   788
     made by that particular Contributor.
indvd00m@0
   789
indvd00m@0
   790
     1.3. "Covered Code" means the Original Code or Modifications or the
indvd00m@0
   791
     combination of the Original Code and Modifications, in each case
indvd00m@0
   792
     including portions thereof.
indvd00m@0
   793
indvd00m@0
   794
     1.4. "Electronic Distribution Mechanism" means a mechanism generally
indvd00m@0
   795
     accepted in the software development community for the electronic
indvd00m@0
   796
     transfer of data.
indvd00m@0
   797
indvd00m@0
   798
     1.5. "Executable" means Covered Code in any form other than Source
indvd00m@0
   799
     Code.
indvd00m@0
   800
indvd00m@0
   801
     1.6. "Initial Developer" means the individual or entity identified
indvd00m@0
   802
     as the Initial Developer in the Source Code notice required by Exhibit
indvd00m@0
   803
     A.
indvd00m@0
   804
indvd00m@0
   805
     1.7. "Larger Work" means a work which combines Covered Code or
indvd00m@0
   806
     portions thereof with code not governed by the terms of this License.
indvd00m@0
   807
indvd00m@0
   808
     1.8. "License" means this document.
indvd00m@0
   809
indvd00m@0
   810
     1.8.1. "Licensable" means having the right to grant, to the maximum
indvd00m@0
   811
     extent possible, whether at the time of the initial grant or
indvd00m@0
   812
     subsequently acquired, any and all of the rights conveyed herein.
indvd00m@0
   813
indvd00m@0
   814
     1.9. "Modifications" means any addition to or deletion from the
indvd00m@0
   815
     substance or structure of either the Original Code or any previous
indvd00m@0
   816
     Modifications. When Covered Code is released as a series of files, a
indvd00m@0
   817
     Modification is:
indvd00m@0
   818
          A. Any addition to or deletion from the contents of a file
indvd00m@0
   819
          containing Original Code or previous Modifications.
indvd00m@0
   820
indvd00m@0
   821
          B. Any new file that contains any part of the Original Code or
indvd00m@0
   822
          previous Modifications.
indvd00m@0
   823
indvd00m@0
   824
     1.10. "Original Code" means Source Code of computer software code
indvd00m@0
   825
     which is described in the Source Code notice required by Exhibit A as
indvd00m@0
   826
     Original Code, and which, at the time of its release under this
indvd00m@0
   827
     License is not already Covered Code governed by this License.
indvd00m@0
   828
indvd00m@0
   829
     1.10.1. "Patent Claims" means any patent claim(s), now owned or
indvd00m@0
   830
     hereafter acquired, including without limitation,  method, process,
indvd00m@0
   831
     and apparatus claims, in any patent Licensable by grantor.
indvd00m@0
   832
indvd00m@0
   833
     1.11. "Source Code" means the preferred form of the Covered Code for
indvd00m@0
   834
     making modifications to it, including all modules it contains, plus
indvd00m@0
   835
     any associated interface definition files, scripts used to control
indvd00m@0
   836
     compilation and installation of an Executable, or source code
indvd00m@0
   837
     differential comparisons against either the Original Code or another
indvd00m@0
   838
     well known, available Covered Code of the Contributor's choice. The
indvd00m@0
   839
     Source Code can be in a compressed or archival form, provided the
indvd00m@0
   840
     appropriate decompression or de-archiving software is widely available
indvd00m@0
   841
     for no charge.
indvd00m@0
   842
indvd00m@0
   843
     1.12. "You" (or "Your")  means an individual or a legal entity
indvd00m@0
   844
     exercising rights under, and complying with all of the terms of, this
indvd00m@0
   845
     License or a future version of this License issued under Section 6.1.
indvd00m@0
   846
     For legal entities, "You" includes any entity which controls, is
indvd00m@0
   847
     controlled by, or is under common control with You. For purposes of
indvd00m@0
   848
     this definition, "control" means (a) the power, direct or indirect,
indvd00m@0
   849
     to cause the direction or management of such entity, whether by
indvd00m@0
   850
     contract or otherwise, or (b) ownership of more than fifty percent
indvd00m@0
   851
     (50%) of the outstanding shares or beneficial ownership of such
indvd00m@0
   852
     entity.
indvd00m@0
   853
indvd00m@0
   854
2. Source Code License.
indvd00m@0
   855
indvd00m@0
   856
     2.1. The Initial Developer Grant.
indvd00m@0
   857
     The Initial Developer hereby grants You a world-wide, royalty-free,
indvd00m@0
   858
     non-exclusive license, subject to third party intellectual property
indvd00m@0
   859
     claims:
indvd00m@0
   860
          (a)  under intellectual property rights (other than patent or
indvd00m@0
   861
          trademark) Licensable by Initial Developer to use, reproduce,
indvd00m@0
   862
          modify, display, perform, sublicense and distribute the Original
indvd00m@0
   863
          Code (or portions thereof) with or without Modifications, and/or
indvd00m@0
   864
          as part of a Larger Work; and
indvd00m@0
   865
indvd00m@0
   866
          (b) under Patents Claims infringed by the making, using or
indvd00m@0
   867
          selling of Original Code, to make, have made, use, practice,
indvd00m@0
   868
          sell, and offer for sale, and/or otherwise dispose of the
indvd00m@0
   869
          Original Code (or portions thereof).
indvd00m@0
   870
indvd00m@0
   871
          (c) the licenses granted in this Section 2.1(a) and (b) are
indvd00m@0
   872
          effective on the date Initial Developer first distributes
indvd00m@0
   873
          Original Code under the terms of this License.
indvd00m@0
   874
indvd00m@0
   875
          (d) Notwithstanding Section 2.1(b) above, no patent license is
indvd00m@0
   876
          granted: 1) for code that You delete from the Original Code; 2)
indvd00m@0
   877
          separate from the Original Code;  or 3) for infringements caused
indvd00m@0
   878
          by: i) the modification of the Original Code or ii) the
indvd00m@0
   879
          combination of the Original Code with other software or devices.
indvd00m@0
   880
indvd00m@0
   881
     2.2. Contributor Grant.
indvd00m@0
   882
     Subject to third party intellectual property claims, each Contributor
indvd00m@0
   883
     hereby grants You a world-wide, royalty-free, non-exclusive license
indvd00m@0
   884
indvd00m@0
   885
          (a)  under intellectual property rights (other than patent or
indvd00m@0
   886
          trademark) Licensable by Contributor, to use, reproduce, modify,
indvd00m@0
   887
          display, perform, sublicense and distribute the Modifications
indvd00m@0
   888
          created by such Contributor (or portions thereof) either on an
indvd00m@0
   889
          unmodified basis, with other Modifications, as Covered Code
indvd00m@0
   890
          and/or as part of a Larger Work; and
indvd00m@0
   891
indvd00m@0
   892
          (b) under Patent Claims infringed by the making, using, or
indvd00m@0
   893
          selling of  Modifications made by that Contributor either alone
indvd00m@0
   894
          and/or in combination with its Contributor Version (or portions
indvd00m@0
   895
          of such combination), to make, use, sell, offer for sale, have
indvd00m@0
   896
          made, and/or otherwise dispose of: 1) Modifications made by that
indvd00m@0
   897
          Contributor (or portions thereof); and 2) the combination of
indvd00m@0
   898
          Modifications made by that Contributor with its Contributor
indvd00m@0
   899
          Version (or portions of such combination).
indvd00m@0
   900
indvd00m@0
   901
          (c) the licenses granted in Sections 2.2(a) and 2.2(b) are
indvd00m@0
   902
          effective on the date Contributor first makes Commercial Use of
indvd00m@0
   903
          the Covered Code.
indvd00m@0
   904
indvd00m@0
   905
          (d)    Notwithstanding Section 2.2(b) above, no patent license is
indvd00m@0
   906
          granted: 1) for any code that Contributor has deleted from the
indvd00m@0
   907
          Contributor Version; 2)  separate from the Contributor Version;
indvd00m@0
   908
          3)  for infringements caused by: i) third party modifications of
indvd00m@0
   909
          Contributor Version or ii)  the combination of Modifications made
indvd00m@0
   910
          by that Contributor with other software  (except as part of the
indvd00m@0
   911
          Contributor Version) or other devices; or 4) under Patent Claims
indvd00m@0
   912
          infringed by Covered Code in the absence of Modifications made by
indvd00m@0
   913
          that Contributor.
indvd00m@0
   914
indvd00m@0
   915
3. Distribution Obligations.
indvd00m@0
   916
indvd00m@0
   917
     3.1. Application of License.
indvd00m@0
   918
     The Modifications which You create or to which You contribute are
indvd00m@0
   919
     governed by the terms of this License, including without limitation
indvd00m@0
   920
     Section 2.2. The Source Code version of Covered Code may be
indvd00m@0
   921
     distributed only under the terms of this License or a future version
indvd00m@0
   922
     of this License released under Section 6.1, and You must include a
indvd00m@0
   923
     copy of this License with every copy of the Source Code You
indvd00m@0
   924
     distribute. You may not offer or impose any terms on any Source Code
indvd00m@0
   925
     version that alters or restricts the applicable version of this
indvd00m@0
   926
     License or the recipients' rights hereunder. However, You may include
indvd00m@0
   927
     an additional document offering the additional rights described in
indvd00m@0
   928
     Section 3.5.
indvd00m@0
   929
indvd00m@0
   930
     3.2. Availability of Source Code.
indvd00m@0
   931
     Any Modification which You create or to which You contribute must be
indvd00m@0
   932
     made available in Source Code form under the terms of this License
indvd00m@0
   933
     either on the same media as an Executable version or via an accepted
indvd00m@0
   934
     Electronic Distribution Mechanism to anyone to whom you made an
indvd00m@0
   935
     Executable version available; and if made available via Electronic
indvd00m@0
   936
     Distribution Mechanism, must remain available for at least twelve (12)
indvd00m@0
   937
     months after the date it initially became available, or at least six
indvd00m@0
   938
     (6) months after a subsequent version of that particular Modification
indvd00m@0
   939
     has been made available to such recipients. You are responsible for
indvd00m@0
   940
     ensuring that the Source Code version remains available even if the
indvd00m@0
   941
     Electronic Distribution Mechanism is maintained by a third party.
indvd00m@0
   942
indvd00m@0
   943
     3.3. Description of Modifications.
indvd00m@0
   944
     You must cause all Covered Code to which You contribute to contain a
indvd00m@0
   945
     file documenting the changes You made to create that Covered Code and
indvd00m@0
   946
     the date of any change. You must include a prominent statement that
indvd00m@0
   947
     the Modification is derived, directly or indirectly, from Original
indvd00m@0
   948
     Code provided by the Initial Developer and including the name of the
indvd00m@0
   949
     Initial Developer in (a) the Source Code, and (b) in any notice in an
indvd00m@0
   950
     Executable version or related documentation in which You describe the
indvd00m@0
   951
     origin or ownership of the Covered Code.
indvd00m@0
   952
indvd00m@0
   953
     3.4. Intellectual Property Matters
indvd00m@0
   954
          (a) Third Party Claims.
indvd00m@0
   955
          If Contributor has knowledge that a license under a third party's
indvd00m@0
   956
          intellectual property rights is required to exercise the rights
indvd00m@0
   957
          granted by such Contributor under Sections 2.1 or 2.2,
indvd00m@0
   958
          Contributor must include a text file with the Source Code
indvd00m@0
   959
          distribution titled "LEGAL" which describes the claim and the
indvd00m@0
   960
          party making the claim in sufficient detail that a recipient will
indvd00m@0
   961
          know whom to contact. If Contributor obtains such knowledge after
indvd00m@0
   962
          the Modification is made available as described in Section 3.2,
indvd00m@0
   963
          Contributor shall promptly modify the LEGAL file in all copies
indvd00m@0
   964
          Contributor makes available thereafter and shall take other steps
indvd00m@0
   965
          (such as notifying appropriate mailing lists or newsgroups)
indvd00m@0
   966
          reasonably calculated to inform those who received the Covered
indvd00m@0
   967
          Code that new knowledge has been obtained.
indvd00m@0
   968
indvd00m@0
   969
          (b) Contributor APIs.
indvd00m@0
   970
          If Contributor's Modifications include an application programming
indvd00m@0
   971
          interface and Contributor has knowledge of patent licenses which
indvd00m@0
   972
          are reasonably necessary to implement that API, Contributor must
indvd00m@0
   973
          also include this information in the LEGAL file.
indvd00m@0
   974
indvd00m@0
   975
               (c)    Representations.
indvd00m@0
   976
          Contributor represents that, except as disclosed pursuant to
indvd00m@0
   977
          Section 3.4(a) above, Contributor believes that Contributor's
indvd00m@0
   978
          Modifications are Contributor's original creation(s) and/or
indvd00m@0
   979
          Contributor has sufficient rights to grant the rights conveyed by
indvd00m@0
   980
          this License.
indvd00m@0
   981
indvd00m@0
   982
     3.5. Required Notices.
indvd00m@0
   983
     You must duplicate the notice in Exhibit A in each file of the Source
indvd00m@0
   984
     Code.  If it is not possible to put such notice in a particular Source
indvd00m@0
   985
     Code file due to its structure, then You must include such notice in a
indvd00m@0
   986
     location (such as a relevant directory) where a user would be likely
indvd00m@0
   987
     to look for such a notice.  If You created one or more Modification(s)
indvd00m@0
   988
     You may add your name as a Contributor to the notice described in
indvd00m@0
   989
     Exhibit A.  You must also duplicate this License in any documentation
indvd00m@0
   990
     for the Source Code where You describe recipients' rights or ownership
indvd00m@0
   991
     rights relating to Covered Code.  You may choose to offer, and to
indvd00m@0
   992
     charge a fee for, warranty, support, indemnity or liability
indvd00m@0
   993
     obligations to one or more recipients of Covered Code. However, You
indvd00m@0
   994
     may do so only on Your own behalf, and not on behalf of the Initial
indvd00m@0
   995
     Developer or any Contributor. You must make it absolutely clear than
indvd00m@0
   996
     any such warranty, support, indemnity or liability obligation is
indvd00m@0
   997
     offered by You alone, and You hereby agree to indemnify the Initial
indvd00m@0
   998
     Developer and every Contributor for any liability incurred by the
indvd00m@0
   999
     Initial Developer or such Contributor as a result of warranty,
indvd00m@0
  1000
     support, indemnity or liability terms You offer.
indvd00m@0
  1001
indvd00m@0
  1002
     3.6. Distribution of Executable Versions.
indvd00m@0
  1003
     You may distribute Covered Code in Executable form only if the
indvd00m@0
  1004
     requirements of Section 3.1-3.5 have been met for that Covered Code,
indvd00m@0
  1005
     and if You include a notice stating that the Source Code version of
indvd00m@0
  1006
     the Covered Code is available under the terms of this License,
indvd00m@0
  1007
     including a description of how and where You have fulfilled the
indvd00m@0
  1008
     obligations of Section 3.2. The notice must be conspicuously included
indvd00m@0
  1009
     in any notice in an Executable version, related documentation or
indvd00m@0
  1010
     collateral in which You describe recipients' rights relating to the
indvd00m@0
  1011
     Covered Code. You may distribute the Executable version of Covered
indvd00m@0
  1012
     Code or ownership rights under a license of Your choice, which may
indvd00m@0
  1013
     contain terms different from this License, provided that You are in
indvd00m@0
  1014
     compliance with the terms of this License and that the license for the
indvd00m@0
  1015
     Executable version does not attempt to limit or alter the recipient's
indvd00m@0
  1016
     rights in the Source Code version from the rights set forth in this
indvd00m@0
  1017
     License. If You distribute the Executable version under a different
indvd00m@0
  1018
     license You must make it absolutely clear that any terms which differ
indvd00m@0
  1019
     from this License are offered by You alone, not by the Initial
indvd00m@0
  1020
     Developer or any Contributor. You hereby agree to indemnify the
indvd00m@0
  1021
     Initial Developer and every Contributor for any liability incurred by
indvd00m@0
  1022
     the Initial Developer or such Contributor as a result of any such
indvd00m@0
  1023
     terms You offer.
indvd00m@0
  1024
indvd00m@0
  1025
     3.7. Larger Works.
indvd00m@0
  1026
     You may create a Larger Work by combining Covered Code with other code
indvd00m@0
  1027
     not governed by the terms of this License and distribute the Larger
indvd00m@0
  1028
     Work as a single product. In such a case, You must make sure the
indvd00m@0
  1029
     requirements of this License are fulfilled for the Covered Code.
indvd00m@0
  1030
indvd00m@0
  1031
4. Inability to Comply Due to Statute or Regulation.
indvd00m@0
  1032
indvd00m@0
  1033
     If it is impossible for You to comply with any of the terms of this
indvd00m@0
  1034
     License with respect to some or all of the Covered Code due to
indvd00m@0
  1035
     statute, judicial order, or regulation then You must: (a) comply with
indvd00m@0
  1036
     the terms of this License to the maximum extent possible; and (b)
indvd00m@0
  1037
     describe the limitations and the code they affect. Such description
indvd00m@0
  1038
     must be included in the LEGAL file described in Section 3.4 and must
indvd00m@0
  1039
     be included with all distributions of the Source Code. Except to the
indvd00m@0
  1040
     extent prohibited by statute or regulation, such description must be
indvd00m@0
  1041
     sufficiently detailed for a recipient of ordinary skill to be able to
indvd00m@0
  1042
     understand it.
indvd00m@0
  1043
indvd00m@0
  1044
5. Application of this License.
indvd00m@0
  1045
indvd00m@0
  1046
     This License applies to code to which the Initial Developer has
indvd00m@0
  1047
     attached the notice in Exhibit A and to related Covered Code.
indvd00m@0
  1048
indvd00m@0
  1049
6. Versions of the License.
indvd00m@0
  1050
indvd00m@0
  1051
     6.1. New Versions.
indvd00m@0
  1052
     Netscape Communications Corporation ("Netscape") may publish revised
indvd00m@0
  1053
     and/or new versions of the License from time to time. Each version
indvd00m@0
  1054
     will be given a distinguishing version number.
indvd00m@0
  1055
indvd00m@0
  1056
     6.2. Effect of New Versions.
indvd00m@0
  1057
     Once Covered Code has been published under a particular version of the
indvd00m@0
  1058
     License, You may always continue to use it under the terms of that
indvd00m@0
  1059
     version. You may also choose to use such Covered Code under the terms
indvd00m@0
  1060
     of any subsequent version of the License published by Netscape. No one
indvd00m@0
  1061
     other than Netscape has the right to modify the terms applicable to
indvd00m@0
  1062
     Covered Code created under this License.
indvd00m@0
  1063
indvd00m@0
  1064
     6.3. Derivative Works.
indvd00m@0
  1065
     If You create or use a modified version of this License (which you may
indvd00m@0
  1066
     only do in order to apply it to code which is not already Covered Code
indvd00m@0
  1067
     governed by this License), You must (a) rename Your license so that
indvd00m@0
  1068
     the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape",
indvd00m@0
  1069
     "MPL", "NPL" or any confusingly similar phrase do not appear in your
indvd00m@0
  1070
     license (except to note that your license differs from this License)
indvd00m@0
  1071
     and (b) otherwise make it clear that Your version of the license
indvd00m@0
  1072
     contains terms which differ from the Mozilla Public License and
indvd00m@0
  1073
     Netscape Public License. (Filling in the name of the Initial
indvd00m@0
  1074
     Developer, Original Code or Contributor in the notice described in
indvd00m@0
  1075
     Exhibit A shall not of themselves be deemed to be modifications of
indvd00m@0
  1076
     this License.)
indvd00m@0
  1077
indvd00m@0
  1078
7. DISCLAIMER OF WARRANTY.
indvd00m@0
  1079
indvd00m@0
  1080
     COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
indvd00m@0
  1081
     WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
indvd00m@0
  1082
     WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
indvd00m@0
  1083
     DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
indvd00m@0
  1084
     THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
indvd00m@0
  1085
     IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
indvd00m@0
  1086
     YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
indvd00m@0
  1087
     COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
indvd00m@0
  1088
     OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
indvd00m@0
  1089
     ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
indvd00m@0
  1090
indvd00m@0
  1091
8. TERMINATION.
indvd00m@0
  1092
indvd00m@0
  1093
     8.1.  This License and the rights granted hereunder will terminate
indvd00m@0
  1094
     automatically if You fail to comply with terms herein and fail to cure
indvd00m@0
  1095
     such breach within 30 days of becoming aware of the breach. All
indvd00m@0
  1096
     sublicenses to the Covered Code which are properly granted shall
indvd00m@0
  1097
     survive any termination of this License. Provisions which, by their
indvd00m@0
  1098
     nature, must remain in effect beyond the termination of this License
indvd00m@0
  1099
     shall survive.
indvd00m@0
  1100
indvd00m@0
  1101
     8.2.  If You initiate litigation by asserting a patent infringement
indvd00m@0
  1102
     claim (excluding declatory judgment actions) against Initial Developer
indvd00m@0
  1103
     or a Contributor (the Initial Developer or Contributor against whom
indvd00m@0
  1104
     You file such action is referred to as "Participant")  alleging that:
indvd00m@0
  1105
indvd00m@0
  1106
     (a)  such Participant's Contributor Version directly or indirectly
indvd00m@0
  1107
     infringes any patent, then any and all rights granted by such
indvd00m@0
  1108
     Participant to You under Sections 2.1 and/or 2.2 of this License
indvd00m@0
  1109
     shall, upon 60 days notice from Participant terminate prospectively,
indvd00m@0
  1110
     unless if within 60 days after receipt of notice You either: (i)
indvd00m@0
  1111
     agree in writing to pay Participant a mutually agreeable reasonable
indvd00m@0
  1112
     royalty for Your past and future use of Modifications made by such
indvd00m@0
  1113
     Participant, or (ii) withdraw Your litigation claim with respect to
indvd00m@0
  1114
     the Contributor Version against such Participant.  If within 60 days
indvd00m@0
  1115
     of notice, a reasonable royalty and payment arrangement are not
indvd00m@0
  1116
     mutually agreed upon in writing by the parties or the litigation claim
indvd00m@0
  1117
     is not withdrawn, the rights granted by Participant to You under
indvd00m@0
  1118
     Sections 2.1 and/or 2.2 automatically terminate at the expiration of
indvd00m@0
  1119
     the 60 day notice period specified above.
indvd00m@0
  1120
indvd00m@0
  1121
     (b)  any software, hardware, or device, other than such Participant's
indvd00m@0
  1122
     Contributor Version, directly or indirectly infringes any patent, then
indvd00m@0
  1123
     any rights granted to You by such Participant under Sections 2.1(b)
indvd00m@0
  1124
     and 2.2(b) are revoked effective as of the date You first made, used,
indvd00m@0
  1125
     sold, distributed, or had made, Modifications made by that
indvd00m@0
  1126
     Participant.
indvd00m@0
  1127
indvd00m@0
  1128
     8.3.  If You assert a patent infringement claim against Participant
indvd00m@0
  1129
     alleging that such Participant's Contributor Version directly or
indvd00m@0
  1130
     indirectly infringes any patent where such claim is resolved (such as
indvd00m@0
  1131
     by license or settlement) prior to the initiation of patent
indvd00m@0
  1132
     infringement litigation, then the reasonable value of the licenses
indvd00m@0
  1133
     granted by such Participant under Sections 2.1 or 2.2 shall be taken
indvd00m@0
  1134
     into account in determining the amount or value of any payment or
indvd00m@0
  1135
     license.
indvd00m@0
  1136
indvd00m@0
  1137
     8.4.  In the event of termination under Sections 8.1 or 8.2 above,
indvd00m@0
  1138
     all end user license agreements (excluding distributors and resellers)
indvd00m@0
  1139
     which have been validly granted by You or any distributor hereunder
indvd00m@0
  1140
     prior to termination shall survive termination.
indvd00m@0
  1141
indvd00m@0
  1142
9. LIMITATION OF LIABILITY.
indvd00m@0
  1143
indvd00m@0
  1144
     UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
indvd00m@0
  1145
     (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
indvd00m@0
  1146
     DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
indvd00m@0
  1147
     OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
indvd00m@0
  1148
     ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
indvd00m@0
  1149
     CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
indvd00m@0
  1150
     WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
indvd00m@0
  1151
     COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
indvd00m@0
  1152
     INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
indvd00m@0
  1153
     LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
indvd00m@0
  1154
     RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
indvd00m@0
  1155
     PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
indvd00m@0
  1156
     EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
indvd00m@0
  1157
     THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
indvd00m@0
  1158
indvd00m@0
  1159
10. U.S. GOVERNMENT END USERS.
indvd00m@0
  1160
indvd00m@0
  1161
     The Covered Code is a "commercial item," as that term is defined in
indvd00m@0
  1162
     48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
indvd00m@0
  1163
     software" and "commercial computer software documentation," as such
indvd00m@0
  1164
     terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48
indvd00m@0
  1165
     C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
indvd00m@0
  1166
     all U.S. Government End Users acquire Covered Code with only those
indvd00m@0
  1167
     rights set forth herein.
indvd00m@0
  1168
indvd00m@0
  1169
11. MISCELLANEOUS.
indvd00m@0
  1170
indvd00m@0
  1171
     This License represents the complete agreement concerning subject
indvd00m@0
  1172
     matter hereof. If any provision of this License is held to be
indvd00m@0
  1173
     unenforceable, such provision shall be reformed only to the extent
indvd00m@0
  1174
     necessary to make it enforceable. This License shall be governed by
indvd00m@0
  1175
     California law provisions (except to the extent applicable law, if
indvd00m@0
  1176
     any, provides otherwise), excluding its conflict-of-law provisions.
indvd00m@0
  1177
     With respect to disputes in which at least one party is a citizen of,
indvd00m@0
  1178
     or an entity chartered or registered to do business in the United
indvd00m@0
  1179
     States of America, any litigation relating to this License shall be
indvd00m@0
  1180
     subject to the jurisdiction of the Federal Courts of the Northern
indvd00m@0
  1181
     District of California, with venue lying in Santa Clara County,
indvd00m@0
  1182
     California, with the losing party responsible for costs, including
indvd00m@0
  1183
     without limitation, court costs and reasonable attorneys' fees and
indvd00m@0
  1184
     expenses. The application of the United Nations Convention on
indvd00m@0
  1185
     Contracts for the International Sale of Goods is expressly excluded.
indvd00m@0
  1186
     Any law or regulation which provides that the language of a contract
indvd00m@0
  1187
     shall be construed against the drafter shall not apply to this
indvd00m@0
  1188
     License.
indvd00m@0
  1189
indvd00m@0
  1190
12. RESPONSIBILITY FOR CLAIMS.
indvd00m@0
  1191
indvd00m@0
  1192
     As between Initial Developer and the Contributors, each party is
indvd00m@0
  1193
     responsible for claims and damages arising, directly or indirectly,
indvd00m@0
  1194
     out of its utilization of rights under this License and You agree to
indvd00m@0
  1195
     work with Initial Developer and Contributors to distribute such
indvd00m@0
  1196
     responsibility on an equitable basis. Nothing herein is intended or
indvd00m@0
  1197
     shall be deemed to constitute any admission of liability.
indvd00m@0
  1198
indvd00m@0
  1199
13. MULTIPLE-LICENSED CODE.
indvd00m@0
  1200
indvd00m@0
  1201
     Initial Developer may designate portions of the Covered Code as
indvd00m@0
  1202
     "Multiple-Licensed".  "Multiple-Licensed" means that the Initial
indvd00m@0
  1203
     Developer permits you to utilize portions of the Covered Code under
indvd00m@0
  1204
     Your choice of the NPL or the alternative licenses, if any, specified
indvd00m@0
  1205
     by the Initial Developer in the file described in Exhibit A.
indvd00m@0
  1206
indvd00m@0
  1207
EXHIBIT A -Mozilla Public License.
indvd00m@0
  1208
indvd00m@0
  1209
     ``The contents of this file are subject to the Mozilla Public License
indvd00m@0
  1210
     Version 1.1 (the "License"); you may not use this file except in
indvd00m@0
  1211
     compliance with the License. You may obtain a copy of the License at
indvd00m@0
  1212
     http://www.mozilla.org/MPL/
indvd00m@0
  1213
indvd00m@0
  1214
     Software distributed under the License is distributed on an "AS IS"
indvd00m@0
  1215
     basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
indvd00m@0
  1216
     License for the specific language governing rights and limitations
indvd00m@0
  1217
     under the License.
indvd00m@0
  1218
indvd00m@0
  1219
     The Original Code is ______________________________________.
indvd00m@0
  1220
indvd00m@0
  1221
     The Initial Developer of the Original Code is ________________________.
indvd00m@0
  1222
     Portions created by ______________________ are Copyright (C) ______
indvd00m@0
  1223
     _______________________. All Rights Reserved.
indvd00m@0
  1224
indvd00m@0
  1225
     Contributor(s): ______________________________________.
indvd00m@0
  1226
indvd00m@0
  1227
     Alternatively, the contents of this file may be used under the terms
indvd00m@0
  1228
     of the _____ license (the  "[___] License"), in which case the
indvd00m@0
  1229
     provisions of [______] License are applicable instead of those
indvd00m@0
  1230
     above.  If you wish to allow use of your version of this file only
indvd00m@0
  1231
     under the terms of the [____] License and not to allow others to use
indvd00m@0
  1232
     your version of this file under the MPL, indicate your decision by
indvd00m@0
  1233
     deleting  the provisions above and replace  them with the notice and
indvd00m@0
  1234
     other provisions required by the [___] License.  If you do not delete
indvd00m@0
  1235
     the provisions above, a recipient may use your version of this file
indvd00m@0
  1236
     under either the MPL or the [___] License."
indvd00m@0
  1237
indvd00m@0
  1238
     [NOTE: The text of this Exhibit A may differ slightly from the text of
indvd00m@0
  1239
     the notices in the Source Code files of the Original Code. You should
indvd00m@0
  1240
     use the text of this Exhibit A rather than the text found in the
indvd00m@0
  1241
     Original Code Source Code for Your Modifications.]
indvd00m@0
  1242