c.s.tools.ide.analysis.modernize/license.txt
author Ilia Gromov <ilia@netbeans.org>
Wed, 07 Jun 2017 20:23:29 +0300
branchrelease82
changeset 18423 b9d9af239a0c
parent 18403 ide.analysis.modernize/license.txt@67d78b11d2e0
permissions -rw-r--r--
Fixing #270763 - Move clang-tidy integration to nb contrib
* * *
Fixing #270763 - Move clang-tidy integration to nb contrib - move wrapper
* * *
Fixing #270763 - Move clang-tidy integration to nb contrib - sign nbm
* * *
Fixing #270763 - Move clang-tidy integration to nb contrib - move tests
* * *
Fixing #270763 - Move clang-tidy integration to nb contrib - data for a new test
* * *
Fixed #270839 - [clang-tidy] Group checks in Editor hints
(transplanted from 35b6125ef00c470655dac6673075f5c12ec74593)
ilia@18403
     1
NetBeans IDE Dual License Header and License Notice
ilia@18403
     2
ilia@18403
     3
Oracle elects to use only the GNU Lesser General Public License version 2.1 
ilia@18403
     4
(LGPL) for any software where a choice of LGPL/GPL license versions are made 
ilia@18403
     5
available with the language indicating that LGPLv2.1/GPLv2 or any later version 
ilia@18403
     6
may be used, or where a choice of which version of the LGPL/GPL is applied is 
ilia@18403
     7
unspecified.
ilia@18403
     8
For more information on the license please see: the NetBeans License FAQs. 
ilia@18403
     9
ilia@18403
    10
COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
ilia@18403
    11
ilia@18403
    12
1. Definitions.
ilia@18403
    13
1.1. "Contributor" means each individual or entity that creates or contributes 
ilia@18403
    14
to the creation of Modifications.
ilia@18403
    15
1.2. "Contributor Version" means the combination of the Original Software, 
ilia@18403
    16
prior Modifications used by a Contributor (if any), and the Modifications made 
ilia@18403
    17
by that particular Contributor.
ilia@18403
    18
1.3. "Covered Software" means (a) the Original Software, or (b) Modifications, 
ilia@18403
    19
or (c) the combination of files containing Original Software with files 
ilia@18403
    20
containing Modifications, in each case including portions thereof.
ilia@18403
    21
1.4. "Executable" means the Covered Software in any form other than Source Code.
ilia@18403
    22
1.5. "Initial Developer" means the individual or entity that first makes 
ilia@18403
    23
Original Software available under this License.
ilia@18403
    24
1.6. "Larger Work" means a work which combines Covered Software or portions 
ilia@18403
    25
thereof with code not governed by the terms of this License.
ilia@18403
    26
1.7. "License" means this document.
ilia@18403
    27
1.8. "Licensable" means having the right to grant, to the maximum extent 
ilia@18403
    28
possible, whether at the time of the initial grant or subsequently acquired, 
ilia@18403
    29
any and all of the rights conveyed herein.
ilia@18403
    30
1.9 "Modifications" means the Source Code and Executable form of any of the 
ilia@18403
    31
following:
ilia@18403
    32
A. Any file that results from an addition to, deletion from or modification of 
ilia@18403
    33
the contents of a file containing Original Software or previous Modifications;
ilia@18403
    34
B. Any new file that contains any part of the Original Software or previous 
ilia@18403
    35
Modification; or
ilia@18403
    36
C. Any new file that is contributed or otherwise made available under the terms 
ilia@18403
    37
of this License.
ilia@18403
    38
1.10. "Original Software" means the Source Code and Executable form of computer 
ilia@18403
    39
software code that is originally released under this License.
ilia@18403
    40
1.11. "Patent Claims" means any patent claim(s), now owned or hereafter 
ilia@18403
    41
acquired, including without limitation, method, process, and apparatus claims, 
ilia@18403
    42
in any patent Licensable by grantor.
ilia@18403
    43
1.12. "Source Code" means (a) the common form of computer software code in 
ilia@18403
    44
which modifications are made and (b) associated documentation included in or 
ilia@18403
    45
with such code.
ilia@18403
    46
1.13. "You" (or "Your") means an individual or a legal entity exercising rights 
ilia@18403
    47
under, and complying with all of the terms of, this License. For legal 
ilia@18403
    48
entities, "You" includes any entity which controls, is controlled by, or is 
ilia@18403
    49
under common control with You. For purposes of this definition, "control" means 
ilia@18403
    50
(a) the power, direct or indirect, to cause the direction or management of such 
ilia@18403
    51
entity, whether by contract or otherwise, or (b) ownership of more than fifty 
ilia@18403
    52
percent (50%) of the outstanding shares or beneficial ownership of such entity.
ilia@18403
    53
2. License Grants.
ilia@18403
    54
2.1. The Initial Developer Grant.
ilia@18403
    55
Conditioned upon Your compliance with Section 3.1 below and subject to third 
ilia@18403
    56
party intellectual property claims, the Initial Developer hereby grants You a 
ilia@18403
    57
world-wide, royalty-free, non-exclusive license:
ilia@18403
    58
(a) under intellectual property rights (other than patent or trademark) 
ilia@18403
    59
Licensable by Initial Developer, to use, reproduce, modify, display, perform, 
ilia@18403
    60
sublicense and distribute the Original Software (or portions thereof), with or 
ilia@18403
    61
without Modifications, and/or as part of a Larger Work; and
ilia@18403
    62
(b) under Patent Claims infringed by the making, using or selling of Original 
ilia@18403
    63
Software, to make, have made, use, practice, sell, and offer for sale, and/or 
ilia@18403
    64
otherwise dispose of the Original Software (or portions thereof).
ilia@18403
    65
(c) The licenses granted in Sections 2.1(a) and (b) are effective on the date 
ilia@18403
    66
Initial Developer first distributes or otherwise makes the Original Software 
ilia@18403
    67
available to a third party under the terms of this License.
ilia@18403
    68
(d) Notwithstanding Section 2.1(b) above, no patent license is granted: (1) for 
ilia@18403
    69
code that You delete from the Original Software, or (2) for infringements 
ilia@18403
    70
caused by: (i) the modification of the Original Software, or (ii) the 
ilia@18403
    71
combination of the Original Software with other software or devices.
ilia@18403
    72
2.2. Contributor Grant.
ilia@18403
    73
Conditioned upon Your compliance with Section 3.1 below and subject to third 
ilia@18403
    74
party intellectual property claims, each Contributor hereby grants You a 
ilia@18403
    75
world-wide, royalty-free, non-exclusive license:
ilia@18403
    76
(a) under intellectual property rights (other than patent or trademark) 
ilia@18403
    77
Licensable by Contributor to use, reproduce, modify, display, perform, 
ilia@18403
    78
sublicense and distribute the Modifications created by such Contributor (or 
ilia@18403
    79
portions thereof), either on an unmodified basis, with other Modifications, as 
ilia@18403
    80
Covered Software and/or as part of a Larger Work; and
ilia@18403
    81
(b) under Patent Claims infringed by the making, using, or selling of 
ilia@18403
    82
Modifications made by that Contributor either alone and/or in combination with 
ilia@18403
    83
its Contributor Version (or portions of such combination), to make, use, sell, 
ilia@18403
    84
offer for sale, have made, and/or otherwise dispose of: (1) Modifications made 
ilia@18403
    85
by that Contributor (or portions thereof); and (2) the combination of 
ilia@18403
    86
Modifications made by that Contributor with its Contributor Version (or 
ilia@18403
    87
portions of such combination).
ilia@18403
    88
(c) The licenses granted in Sections 2.2(a) and 2.2(b) are effective on the 
ilia@18403
    89
date Contributor first distributes or otherwise makes the Modifications 
ilia@18403
    90
available to a third party.
ilia@18403
    91
(d) Notwithstanding Section 2.2(b) above, no patent license is granted: (1) for 
ilia@18403
    92
any code that Contributor has deleted from the Contributor Version; (2) for 
ilia@18403
    93
infringements caused by: (i) third party modifications of Contributor Version, 
ilia@18403
    94
or (ii) the combination of Modifications made by that Contributor with other 
ilia@18403
    95
software (except as part of the Contributor Version) or other devices; or (3) 
ilia@18403
    96
under Patent Claims infringed by Covered Software in the absence of 
ilia@18403
    97
Modifications made by that Contributor.
ilia@18403
    98
3. Distribution Obligations.
ilia@18403
    99
3.1. Availability of Source Code.
ilia@18403
   100
Any Covered Software that You distribute or otherwise make available in 
ilia@18403
   101
Executable form must also be made available in Source Code form and that Source 
ilia@18403
   102
Code form must be distributed only under the terms of this License. You must 
ilia@18403
   103
include a copy of this License with every copy of the Source Code form of the 
ilia@18403
   104
Covered Software You distribute or otherwise make available. You must inform 
ilia@18403
   105
recipients of any such Covered Software in Executable form as to how they can 
ilia@18403
   106
obtain such Covered Software in Source Code form in a reasonable manner on or 
ilia@18403
   107
through a medium customarily used for software exchange.
ilia@18403
   108
3.2. Modifications.
ilia@18403
   109
The Modifications that You create or to which You contribute are governed by 
ilia@18403
   110
the terms of this License. You represent that You believe Your Modifications 
ilia@18403
   111
are Your original creation(s) and/or You have sufficient rights to grant the 
ilia@18403
   112
rights conveyed by this License.
ilia@18403
   113
3.3. Required Notices.
ilia@18403
   114
You must include a notice in each of Your Modifications that identifies You as 
ilia@18403
   115
the Contributor of the Modification. You may not remove or alter any copyright, 
ilia@18403
   116
patent or trademark notices contained within the Covered Software, or any 
ilia@18403
   117
notices of licensing or any descriptive text giving attribution to any 
ilia@18403
   118
Contributor or the Initial Developer.
ilia@18403
   119
3.4. Application of Additional Terms.
ilia@18403
   120
You may not offer or impose any terms on any Covered Software in Source Code 
ilia@18403
   121
form that alters or restricts the applicable version of this License or the 
ilia@18403
   122
recipients� rights hereunder. You may choose to offer, and to charge a fee 
ilia@18403
   123
for, warranty, support, indemnity or liability obligations to one or more 
ilia@18403
   124
recipients of Covered Software. However, you may do so only on Your own behalf, 
ilia@18403
   125
and not on behalf of the Initial Developer or any Contributor. You must make it 
ilia@18403
   126
absolutely clear that any such warranty, support, indemnity or liability 
ilia@18403
   127
obligation is offered by You alone, and You hereby agree to indemnify the 
ilia@18403
   128
Initial Developer and every Contributor for any liability incurred by the 
ilia@18403
   129
Initial Developer or such Contributor as a result of warranty, support, 
ilia@18403
   130
indemnity or liability terms You offer.
ilia@18403
   131
3.5. Distribution of Executable Versions.
ilia@18403
   132
You may distribute the Executable form of the Covered Software under the terms 
ilia@18403
   133
of this License or under the terms of a license of Your choice, which may 
ilia@18403
   134
contain terms different from this License, provided that You are in compliance 
ilia@18403
   135
with the terms of this License and that the license for the Executable form 
ilia@18403
   136
does not attempt to limit or alter the recipient�s rights in the Source Code 
ilia@18403
   137
form from the rights set forth in this License. If You distribute the Covered 
ilia@18403
   138
Software in Executable form under a different license, You must make it 
ilia@18403
   139
absolutely clear that any terms which differ from this License are offered by 
ilia@18403
   140
You alone, not by the Initial Developer or Contributor. You hereby agree to 
ilia@18403
   141
indemnify the Initial Developer and every Contributor for any liability 
ilia@18403
   142
incurred by the Initial Developer or such Contributor as a result of any such 
ilia@18403
   143
terms You offer.
ilia@18403
   144
3.6. Larger Works.
ilia@18403
   145
You may create a Larger Work by combining Covered Software with other code not 
ilia@18403
   146
governed by the terms of this License and distribute the Larger Work as a 
ilia@18403
   147
single product. In such a case, You must make sure the requirements of this 
ilia@18403
   148
License are fulfilled for the Covered Software.
ilia@18403
   149
4. Versions of the License.
ilia@18403
   150
4.1. New Versions.
ilia@18403
   151
Oracle Corp. is the initial license steward and may publish revised and/or new 
ilia@18403
   152
versions of this License from time to time. Each version will be given a 
ilia@18403
   153
distinguishing version number. Except as provided in Section 4.3, no one other 
ilia@18403
   154
than the license steward has the right to modify this License.
ilia@18403
   155
4.2. Effect of New Versions.
ilia@18403
   156
You may always continue to use, distribute or otherwise make the Covered 
ilia@18403
   157
Software available under the terms of the version of the License under which 
ilia@18403
   158
You originally received the Covered Software. If the Initial Developer includes 
ilia@18403
   159
a notice in the Original Software prohibiting it from being distributed or 
ilia@18403
   160
otherwise made available under any subsequent version of the License, You must 
ilia@18403
   161
distribute and make the Covered Software available under the terms of the 
ilia@18403
   162
version of the License under which You originally received the Covered 
ilia@18403
   163
Software. Otherwise, You may also choose to use, distribute or otherwise make 
ilia@18403
   164
the Covered Software available under the terms of any subsequent version of the 
ilia@18403
   165
License published by the license steward.
ilia@18403
   166
4.3. Modified Versions.
ilia@18403
   167
When You are an Initial Developer and You want to create a new license for Your 
ilia@18403
   168
Original Software, You may create and use a modified version of this License if 
ilia@18403
   169
You: (a) rename the license and remove any references to the name of the 
ilia@18403
   170
license steward (except to note that the license differs from this License); 
ilia@18403
   171
and (b) otherwise make it clear that the license contains terms which differ 
ilia@18403
   172
from this License.
ilia@18403
   173
5. DISCLAIMER OF WARRANTY.
ilia@18403
   174
COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, WITHOUT 
ilia@18403
   175
WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT 
ilia@18403
   176
LIMITATION, WARRANTIES THAT THE COVERED SOFTWARE IS FREE OF DEFECTS, 
ilia@18403
   177
MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK 
ilia@18403
   178
AS TO THE QUALITY AND PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD 
ilia@18403
   179
ANY COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL 
ilia@18403
   180
DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, 
ilia@18403
   181
REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART 
ilia@18403
   182
OF THIS LICENSE. NO USE OF ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT 
ilia@18403
   183
UNDER THIS DISCLAIMER.
ilia@18403
   184
6. TERMINATION.
ilia@18403
   185
6.1. This License and the rights granted hereunder will terminate automatically 
ilia@18403
   186
if You fail to comply with terms herein and fail to cure such breach within 30 
ilia@18403
   187
days of becoming aware of the breach. Provisions which, by their nature, must 
ilia@18403
   188
remain in effect beyond the termination of this License shall survive.
ilia@18403
   189
6.2. If You assert a patent infringement claim (excluding declaratory judgment 
ilia@18403
   190
actions) against Initial Developer or a Contributor (the Initial Developer or 
ilia@18403
   191
Contributor against whom You assert such claim is referred to as "Participant") 
ilia@18403
   192
alleging that the Participant Software (meaning the Contributor Version where 
ilia@18403
   193
the Participant is a Contributor or the Original Software where the Participant 
ilia@18403
   194
is the Initial Developer) directly or indirectly infringes any patent, then any 
ilia@18403
   195
and all rights granted directly or indirectly to You by such Participant, the 
ilia@18403
   196
Initial Developer (if the Initial Developer is not the Participant) and all 
ilia@18403
   197
Contributors under Sections 2.1 and/or 2.2 of this License shall, upon 60 days 
ilia@18403
   198
notice from Participant terminate prospectively and automatically at the 
ilia@18403
   199
expiration of such 60 day notice period, unless if within such 60 day period 
ilia@18403
   200
You withdraw Your claim with respect to the Participant Software against such 
ilia@18403
   201
Participant either unilaterally or pursuant to a written agreement with 
ilia@18403
   202
Participant.
ilia@18403
   203
6.3. In the event of termination under Sections 6.1 or 6.2 above, all end user 
ilia@18403
   204
licenses that have been validly granted by You or any distributor hereunder 
ilia@18403
   205
prior to termination (excluding licenses granted to You by any distributor) 
ilia@18403
   206
shall survive termination.
ilia@18403
   207
7. LIMITATION OF LIABILITY.
ilia@18403
   208
UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING 
ilia@18403
   209
NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER, ANY 
ilia@18403
   210
OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED SOFTWARE, OR ANY SUPPLIER OF 
ilia@18403
   211
ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, 
ilia@18403
   212
INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT 
ilia@18403
   213
LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER 
ilia@18403
   214
FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN 
ilia@18403
   215
IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS 
ilia@18403
   216
LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL 
ilia@18403
   217
INJURY RESULTING FROM SUCH PARTY�S NEGLIGENCE TO THE EXTENT APPLICABLE LAW 
ilia@18403
   218
PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR 
ilia@18403
   219
LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND 
ilia@18403
   220
LIMITATION MAY NOT APPLY TO YOU.
ilia@18403
   221
8. U.S. GOVERNMENT END USERS.
ilia@18403
   222
The Covered Software is a "commercial item," as that term is defined in 48 
ilia@18403
   223
C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer software" (as that 
ilia@18403
   224
term is defined at 48 C.F.R. �252.227-7014(a)(1)) and "commercial computer 
ilia@18403
   225
software documentation" as such terms are used in 48 C.F.R. 12.212 (Sept. 
ilia@18403
   226
1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 
ilia@18403
   227
227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Software 
ilia@18403
   228
with only those rights set forth herein. This U.S. Government Rights clause is 
ilia@18403
   229
in lieu of, and supersedes, any other FAR, DFAR, or other clause or provision 
ilia@18403
   230
that addresses Government rights in computer software under this License.
ilia@18403
   231
9. MISCELLANEOUS.
ilia@18403
   232
This License represents the complete agreement concerning subject matter 
ilia@18403
   233
hereof. If any provision of this License is held to be unenforceable, such 
ilia@18403
   234
provision shall be reformed only to the extent necessary to make it 
ilia@18403
   235
enforceable. This License shall be governed by the law of the jurisdiction 
ilia@18403
   236
specified in a notice contained within the Original Software (except to the 
ilia@18403
   237
extent applicable law, if any, provides otherwise), excluding such 
ilia@18403
   238
jurisdiction�s conflict-of-law provisions. Any litigation relating to this 
ilia@18403
   239
License shall be subject to the jurisdiction of the courts located in the 
ilia@18403
   240
jurisdiction and venue specified in a notice contained within the Original 
ilia@18403
   241
Software, with the losing party responsible for costs, including, without 
ilia@18403
   242
limitation, court costs and reasonable attorneys� fees and expenses. The 
ilia@18403
   243
application of the United Nations Convention on Contracts for the International 
ilia@18403
   244
Sale of Goods is expressly excluded. Any law or regulation which provides that 
ilia@18403
   245
the language of a contract shall be construed against the drafter shall not 
ilia@18403
   246
apply to this License. You agree that You alone are responsible for compliance 
ilia@18403
   247
with the United States export administration regulations (and the export 
ilia@18403
   248
control laws and regulation of any other countries) when You use, distribute or 
ilia@18403
   249
otherwise make available any Covered Software.
ilia@18403
   250
10. RESPONSIBILITY FOR CLAIMS.
ilia@18403
   251
As between Initial Developer and the Contributors, each party is responsible 
ilia@18403
   252
for claims and damages arising, directly or indirectly, out of its utilization 
ilia@18403
   253
of rights under this License and You agree to work with Initial Developer and 
ilia@18403
   254
Contributors to distribute such responsibility on an equitable basis. Nothing 
ilia@18403
   255
herein is intended or shall be deemed to constitute any admission of liability.
ilia@18403
   256
NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND DISTRIBUTION LICENSE 
ilia@18403
   257
(CDDL)
ilia@18403
   258
The code released under the CDDL shall be governed by the laws of the State of 
ilia@18403
   259
California (excluding conflict-of-law provisions). Any litigation relating to 
ilia@18403
   260
this License shall be subject to the jurisdiction of the Federal Courts of the 
ilia@18403
   261
Northern District of California and the state courts of the State of 
ilia@18403
   262
California, with venue lying in Santa Clara County, California.
ilia@18403
   263
The GNU General Public License (GPL) Version 2, June 1991
ilia@18403
   264
ilia@18403
   265
Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 
ilia@18403
   266
330, Boston, MA 02111-1307 USA
ilia@18403
   267
Everyone is permitted to copy and distribute verbatim copies of this license 
ilia@18403
   268
document, but changing it is not allowed.
ilia@18403
   269
Preamble
ilia@18403
   270
The licenses for most software are designed to take away your freedom to share 
ilia@18403
   271
and change it. By contrast, the GNU General Public License is intended to 
ilia@18403
   272
guarantee your freedom to share and change free software--to make sure the 
ilia@18403
   273
software is free for all its users. This General Public License applies to most 
ilia@18403
   274
of the Free Software Foundation's software and to any other program whose 
ilia@18403
   275
authors commit to using it. (Some other Free Software Foundation software is 
ilia@18403
   276
covered by the GNU Library General Public License instead.) You can apply it to 
ilia@18403
   277
your programs, too.
ilia@18403
   278
When we speak of free software, we are referring to freedom, not price. Our 
ilia@18403
   279
General Public Licenses are designed to make sure that you have the freedom to 
ilia@18403
   280
distribute copies of free software (and charge for this service if you wish), 
ilia@18403
   281
that you receive source code or can get it if you want it, that you can change 
ilia@18403
   282
the software or use pieces of it in new free programs; and that you know you 
ilia@18403
   283
can do these things.
ilia@18403
   284
To protect your rights, we need to make restrictions that forbid anyone to deny 
ilia@18403
   285
you these rights or to ask you to surrender the rights. These restrictions 
ilia@18403
   286
translate to certain responsibilities for you if you distribute copies of the 
ilia@18403
   287
software, or if you modify it.
ilia@18403
   288
For example, if you distribute copies of such a program, whether gratis or for 
ilia@18403
   289
a fee, you must give the recipients all the rights that you have. You must make 
ilia@18403
   290
sure that they, too, receive or can get the source code. And you must show them 
ilia@18403
   291
these terms so they know their rights.
ilia@18403
   292
We protect your rights with two steps: (1) copyright the software, and (2) 
ilia@18403
   293
offer you this license which gives you legal permission to copy, distribute 
ilia@18403
   294
and/or modify the software.
ilia@18403
   295
Also, for each author's protection and ours, we want to make certain that 
ilia@18403
   296
everyone understands that there is no warranty for this free software. If the 
ilia@18403
   297
software is modified by someone else and passed on, we want its recipients to 
ilia@18403
   298
know that what they have is not the original, so that any problems introduced 
ilia@18403
   299
by others will not reflect on the original authors' reputations.
ilia@18403
   300
Finally, any free program is threatened constantly by software patents. We wish 
ilia@18403
   301
to avoid the danger that redistributors of a free program will individually 
ilia@18403
   302
obtain patent licenses, in effect making the program proprietary. To prevent 
ilia@18403
   303
this, we have made it clear that any patent must be licensed for everyone's 
ilia@18403
   304
free use or not licensed at all.
ilia@18403
   305
The precise terms and conditions for copying, distribution and modification 
ilia@18403
   306
follow.
ilia@18403
   307
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
ilia@18403
   308
0. This License applies to any program or other work which contains a notice 
ilia@18403
   309
placed by the copyright holder saying it may be distributed under the terms of 
ilia@18403
   310
this General Public License. The "Program", below, refers to any such program 
ilia@18403
   311
or work, and a "work based on the Program" means either the Program or any 
ilia@18403
   312
derivative work under copyright law: that is to say, a work containing the 
ilia@18403
   313
Program or a portion of it, either verbatim or with modifications and/or 
ilia@18403
   314
translated into another language. (Hereinafter, translation is included without 
ilia@18403
   315
limitation in the term "modification".) Each licensee is addressed as "you".
ilia@18403
   316
Activities other than copying, distribution and modification are not covered by 
ilia@18403
   317
this License; they are outside its scope. The act of running the Program is not 
ilia@18403
   318
restricted, and the output from the Program is covered only if its contents 
ilia@18403
   319
constitute a work based on the Program (independent of having been made by 
ilia@18403
   320
running the Program). Whether that is true depends on what the Program does.
ilia@18403
   321
1. You may copy and distribute verbatim copies of the Program's source code as 
ilia@18403
   322
you receive it, in any medium, provided that you conspicuously and 
ilia@18403
   323
appropriately publish on each copy an appropriate copyright notice and 
ilia@18403
   324
disclaimer of warranty; keep intact all the notices that refer to this License 
ilia@18403
   325
and to the absence of any warranty; and give any other recipients of the 
ilia@18403
   326
Program a copy of this License along with the Program.
ilia@18403
   327
You may charge a fee for the physical act of transferring a copy, and you may 
ilia@18403
   328
at your option offer warranty protection in exchange for a fee.
ilia@18403
   329
2. You may modify your copy or copies of the Program or any portion of it, thus 
ilia@18403
   330
forming a work based on the Program, and copy and distribute such modifications 
ilia@18403
   331
or work under the terms of Section 1 above, provided that you also meet all of 
ilia@18403
   332
these conditions:
ilia@18403
   333
a) You must cause the modified files to carry prominent notices stating that 
ilia@18403
   334
you changed the files and the date of any change.
ilia@18403
   335
b) You must cause any work that you distribute or publish, that in whole or in 
ilia@18403
   336
part contains or is derived from the Program or any part thereof, to be 
ilia@18403
   337
licensed as a whole at no charge to all third parties under the terms of this 
ilia@18403
   338
License.
ilia@18403
   339
c) If the modified program normally reads commands interactively when run, you 
ilia@18403
   340
must cause it, when started running for such interactive use in the most 
ilia@18403
   341
ordinary way, to print or display an announcement including an appropriate 
ilia@18403
   342
copyright notice and a notice that there is no warranty (or else, saying that 
ilia@18403
   343
you provide a warranty) and that users may redistribute the program under these 
ilia@18403
   344
conditions, and telling the user how to view a copy of this License. 
ilia@18403
   345
(Exception: if the Program itself is interactive but does not normally print 
ilia@18403
   346
such an announcement, your work based on the Program is not required to print 
ilia@18403
   347
an announcement.)
ilia@18403
   348
These requirements apply to the modified work as a whole. If identifiable 
ilia@18403
   349
sections of that work are not derived from the Program, and can be reasonably 
ilia@18403
   350
considered independent and separate works in themselves, then this License, and 
ilia@18403
   351
its terms, do not apply to those sections when you distribute them as separate 
ilia@18403
   352
works. But when you distribute the same sections as part of a whole which is a 
ilia@18403
   353
work based on the Program, the distribution of the whole must be on the terms 
ilia@18403
   354
of this License, whose permissions for other licensees extend to the entire 
ilia@18403
   355
whole, and thus to each and every part regardless of who wrote it.
ilia@18403
   356
Thus, it is not the intent of this section to claim rights or contest your 
ilia@18403
   357
rights to work written entirely by you; rather, the intent is to exercise the 
ilia@18403
   358
right to control the distribution of derivative or collective works based on 
ilia@18403
   359
the Program.
ilia@18403
   360
In addition, mere aggregation of another work not based on the Program with the 
ilia@18403
   361
Program (or with a work based on the Program) on a volume of a storage or 
ilia@18403
   362
distribution medium does not bring the other work under the scope of this 
ilia@18403
   363
License.
ilia@18403
   364
3. You may copy and distribute the Program (or a work based on it, under 
ilia@18403
   365
Section 2) in object code or executable form under the terms of Sections 1 and 
ilia@18403
   366
2 above provided that you also do one of the following:
ilia@18403
   367
a) Accompany it with the complete corresponding machine-readable source code, 
ilia@18403
   368
which must be distributed under the terms of Sections 1 and 2 above on a medium 
ilia@18403
   369
customarily used for software interchange; or,
ilia@18403
   370
b) Accompany it with a written offer, valid for at least three years, to give 
ilia@18403
   371
any third party, for a charge no more than your cost of physically performing 
ilia@18403
   372
source distribution, a complete machine-readable copy of the corresponding 
ilia@18403
   373
source code, to be distributed under the terms of Sections 1 and 2 above on a 
ilia@18403
   374
medium customarily used for software interchange; or,
ilia@18403
   375
c) Accompany it with the information you received as to the offer to distribute 
ilia@18403
   376
corresponding source code. (This alternative is allowed only for noncommercial 
ilia@18403
   377
distribution and only if you received the program in object code or executable 
ilia@18403
   378
form with such an offer, in accord with Subsection b above.)
ilia@18403
   379
The source code for a work means the preferred form of the work for making 
ilia@18403
   380
modifications to it. For an executable work, complete source code means all the 
ilia@18403
   381
source code for all modules it contains, plus any associated interface 
ilia@18403
   382
definition files, plus the scripts used to control compilation and installation 
ilia@18403
   383
of the executable. However, as a special exception, the source code distributed 
ilia@18403
   384
need not include anything that is normally distributed (in either source or 
ilia@18403
   385
binary form) with the major components (compiler, kernel, and so on) of the 
ilia@18403
   386
operating system on which the executable runs, unless that component itself 
ilia@18403
   387
accompanies the executable.
ilia@18403
   388
If distribution of executable or object code is made by offering access to copy 
ilia@18403
   389
from a designated place, then offering equivalent access to copy the source 
ilia@18403
   390
code from the same place counts as distribution of the source code, even though 
ilia@18403
   391
third parties are not compelled to copy the source along with the object code.
ilia@18403
   392
4. You may not copy, modify, sublicense, or distribute the Program except as 
ilia@18403
   393
expressly provided under this License. Any attempt otherwise to copy, modify, 
ilia@18403
   394
sublicense or distribute the Program is void, and will automatically terminate 
ilia@18403
   395
your rights under this License. However, parties who have received copies, or 
ilia@18403
   396
rights, from you under this License will not have their licenses terminated so 
ilia@18403
   397
long as such parties remain in full compliance.
ilia@18403
   398
5. You are not required to accept this License, since you have not signed it. 
ilia@18403
   399
However, nothing else grants you permission to modify or distribute the Program 
ilia@18403
   400
or its derivative works. These actions are prohibited by law if you do not 
ilia@18403
   401
accept this License. Therefore, by modifying or distributing the Program (or 
ilia@18403
   402
any work based on the Program), you indicate your acceptance of this License to 
ilia@18403
   403
do so, and all its terms and conditions for copying, distributing or modifying 
ilia@18403
   404
the Program or works based on it.
ilia@18403
   405
6. Each time you redistribute the Program (or any work based on the Program), 
ilia@18403
   406
the recipient automatically receives a license from the original licensor to 
ilia@18403
   407
copy, distribute or modify the Program subject to these terms and conditions. 
ilia@18403
   408
You may not impose any further restrictions on the recipients' exercise of the 
ilia@18403
   409
rights granted herein. You are not responsible for enforcing compliance by 
ilia@18403
   410
third parties to this License.
ilia@18403
   411
7. If, as a consequence of a court judgment or allegation of patent 
ilia@18403
   412
infringement or for any other reason (not limited to patent issues), conditions 
ilia@18403
   413
are imposed on you (whether by court order, agreement or otherwise) that 
ilia@18403
   414
contradict the conditions of this License, they do not excuse you from the 
ilia@18403
   415
conditions of this License. If you cannot distribute so as to satisfy 
ilia@18403
   416
simultaneously your obligations under this License and any other pertinent 
ilia@18403
   417
obligations, then as a consequence you may not distribute the Program at all. 
ilia@18403
   418
For example, if a patent license would not permit royalty-free redistribution 
ilia@18403
   419
of the Program by all those who receive copies directly or indirectly through 
ilia@18403
   420
you, then the only way you could satisfy both it and this License would be to 
ilia@18403
   421
refrain entirely from distribution of the Program.
ilia@18403
   422
If any portion of this section is held invalid or unenforceable under any 
ilia@18403
   423
particular circumstance, the balance of the section is intended to apply and 
ilia@18403
   424
the section as a whole is intended to apply in other circumstances.
ilia@18403
   425
It is not the purpose of this section to induce you to infringe any patents or 
ilia@18403
   426
other property right claims or to contest validity of any such claims; this 
ilia@18403
   427
section has the sole purpose of protecting the integrity of the free software 
ilia@18403
   428
distribution system, which is implemented by public license practices. Many 
ilia@18403
   429
people have made generous contributions to the wide range of software 
ilia@18403
   430
distributed through that system in reliance on consistent application of that 
ilia@18403
   431
system; it is up to the author/donor to decide if he or she is willing to 
ilia@18403
   432
distribute software through any other system and a licensee cannot impose that 
ilia@18403
   433
choice.
ilia@18403
   434
This section is intended to make thoroughly clear what is believed to be a 
ilia@18403
   435
consequence of the rest of this License.
ilia@18403
   436
8. If the distribution and/or use of the Program is restricted in certain 
ilia@18403
   437
countries either by patents or by copyrighted interfaces, the original 
ilia@18403
   438
copyright holder who places the Program under this License may add an explicit 
ilia@18403
   439
geographical distribution limitation excluding those countries, so that 
ilia@18403
   440
distribution is permitted only in or among countries not thus excluded. In such 
ilia@18403
   441
case, this License incorporates the limitation as if written in the body of 
ilia@18403
   442
this License.
ilia@18403
   443
9. The Free Software Foundation may publish revised and/or new versions of the 
ilia@18403
   444
General Public License from time to time. Such new versions will be similar in 
ilia@18403
   445
spirit to the present version, but may differ in detail to address new problems 
ilia@18403
   446
or concerns.
ilia@18403
   447
Each version is given a distinguishing version number. If the Program specifies 
ilia@18403
   448
a version number of this License which applies to it and "any later version", 
ilia@18403
   449
you have the option of following the terms and conditions either of that 
ilia@18403
   450
version or of any later version published by the Free Software Foundation. If 
ilia@18403
   451
the Program does not specify a version number of this License, you may choose 
ilia@18403
   452
any version ever published by the Free Software Foundation.
ilia@18403
   453
10. If you wish to incorporate parts of the Program into other free programs 
ilia@18403
   454
whose distribution conditions are different, write to the author to ask for 
ilia@18403
   455
permission. For software which is copyrighted by the Free Software Foundation, 
ilia@18403
   456
write to the Free Software Foundation; we sometimes make exceptions for this. 
ilia@18403
   457
Our decision will be guided by the two goals of preserving the free status of 
ilia@18403
   458
all derivatives of our free software and of promoting the sharing and reuse of 
ilia@18403
   459
software generally.
ilia@18403
   460
NO WARRANTY
ilia@18403
   461
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR 
ilia@18403
   462
THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE 
ilia@18403
   463
STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE 
ilia@18403
   464
PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, 
ilia@18403
   465
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 
ilia@18403
   466
FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND 
ilia@18403
   467
PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU 
ilia@18403
   468
ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
ilia@18403
   469
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL 
ilia@18403
   470
ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE 
ilia@18403
   471
PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 
ilia@18403
   472
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR 
ilia@18403
   473
INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA 
ilia@18403
   474
BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A 
ilia@18403
   475
FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER 
ilia@18403
   476
OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
ilia@18403
   477
END OF TERMS AND CONDITIONS
ilia@18403
   478
How to Apply These Terms to Your New Programs
ilia@18403
   479
If you develop a new program, and you want it to be of the greatest possible 
ilia@18403
   480
use to the public, the best way to achieve this is to make it free software 
ilia@18403
   481
which everyone can redistribute and change under these terms.
ilia@18403
   482
To do so, attach the following notices to the program. It is safest to attach 
ilia@18403
   483
them to the start of each source file to most effectively convey the exclusion 
ilia@18403
   484
of warranty; and each file should have at least the "copyright" line and a 
ilia@18403
   485
pointer to where the full notice is found.
ilia@18403
   486
One line to give the program's name and a brief idea of what it does.
ilia@18403
   487
Copyright (C)
ilia@18403
   488
This program is free software; you can redistribute it and/or modify it under 
ilia@18403
   489
the terms of the GNU General Public License as published by the Free Software 
ilia@18403
   490
Foundation; either version 2 of the License, or (at your option) any later 
ilia@18403
   491
version.
ilia@18403
   492
This program is distributed in the hope that it will be useful, but WITHOUT ANY 
ilia@18403
   493
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
ilia@18403
   494
PARTICULAR PURPOSE. See the GNU General Public License for more details.
ilia@18403
   495
You should have received a copy of the GNU General Public License along with 
ilia@18403
   496
this program; if not, write to the Free Software Foundation, Inc., 59 Temple 
ilia@18403
   497
Place, Suite 330, Boston, MA 02111-1307 USA
ilia@18403
   498
Also add information on how to contact you by electronic and paper mail.
ilia@18403
   499
If the program is interactive, make it output a short notice like this when it 
ilia@18403
   500
starts in an interactive mode:
ilia@18403
   501
Gnomovision version 69, Copyright (C) year name of author
ilia@18403
   502
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This 
ilia@18403
   503
is free software, and you are welcome to redistribute it under certain 
ilia@18403
   504
conditions; type `show c' for details.
ilia@18403
   505
The hypothetical commands `show w' and `show c' should show the appropriate 
ilia@18403
   506
parts of the General Public License. Of course, the commands you use may be 
ilia@18403
   507
called something other than `show w' and `show c'; they could even be 
ilia@18403
   508
mouse-clicks or menu items--whatever suits your program.
ilia@18403
   509
You should also get your employer (if you work as a programmer) or your school, 
ilia@18403
   510
if any, to sign a "copyright disclaimer" for the program, if necessary. Here is 
ilia@18403
   511
a sample; alter the names:
ilia@18403
   512
Yoyodyne, Inc., hereby disclaims all copyright interest in the program 
ilia@18403
   513
`Gnomovision' (which makes passes at compilers) written by James Hacker.
ilia@18403
   514
signature of Ty Coon, 1 April 1989
ilia@18403
   515
Ty Coon, President of Vice
ilia@18403
   516
This General Public License does not permit incorporating your program into 
ilia@18403
   517
proprietary programs. If your program is a subroutine library, you may consider 
ilia@18403
   518
it more useful to permit linking proprietary applications with the library. If 
ilia@18403
   519
this is what you want to do, use the GNU Library General Public License instead 
ilia@18403
   520
of this License.
ilia@18403
   521
"CLASSPATH" EXCEPTION TO THE GPL VERSION 2
ilia@18403
   522
Certain source files distributed by Oracle America, Inc. and/or its affiliates 
ilia@18403
   523
are subject to the following clarification and special exception to the GPLv2, 
ilia@18403
   524
based on the GNU Project exception for its Classpath libraries, known as the 
ilia@18403
   525
GNU Classpath Exception, but only where Oracle has expressly included in the 
ilia@18403
   526
particular source file's header the words "Oracle designates this particular 
ilia@18403
   527
file as subject to the "Classpath" exception as provided by Oracle in the 
ilia@18403
   528
LICENSE file that accompanied this code."
ilia@18403
   529
You should also note that Oracle includes multiple, independent programs in 
ilia@18403
   530
this software package. Some of those programs are provided under licenses 
ilia@18403
   531
deemed incompatible with the GPLv2 by the Free Software Foundation and others. 
ilia@18403
   532
For example, the package includes programs licensed under the Apache License, 
ilia@18403
   533
Version 2.0. Such programs are licensed to you under their original licenses.
ilia@18403
   534
Oracle facilitates your further distribution of this package by adding the 
ilia@18403
   535
Classpath Exception to the necessary parts of its GPLv2 code, which permits you 
ilia@18403
   536
to use that code in combination with other independent modules not licensed 
ilia@18403
   537
under the GPLv2. However, note that this would not permit you to commingle code 
ilia@18403
   538
under an incompatible license with Oracle's GPLv2 licensed code by, for 
ilia@18403
   539
example, cutting and pasting such code into a file also containing Oracle's 
ilia@18403
   540
GPLv2 licensed code and then distributing the result.
ilia@18403
   541
Additionally, if you were to remove the Classpath Exception from any of the 
ilia@18403
   542
files to which it applies and distribute the result, you would likely be 
ilia@18403
   543
required to license some or all of the other code in that distribution under 
ilia@18403
   544
the GPLv2 as well, and since the GPLv2 is incompatible with the license terms 
ilia@18403
   545
of some items included in the distribution by Oracle, removing the Classpath 
ilia@18403
   546
Exception could therefore effectively compromise your ability to further 
ilia@18403
   547
distribute the package.
ilia@18403
   548
Proceed with caution and we recommend that you obtain the advice of a lawyer 
ilia@18403
   549
skilled in open source matters before removing the Classpath Exception or 
ilia@18403
   550
making modifications to this package which may subsequently be redistributed 
ilia@18403
   551
and/or involve the use of third party software.
ilia@18403
   552
CLASSPATH EXCEPTION
ilia@18403
   553
Linking this library statically or dynamically with other modules is making a 
ilia@18403
   554
combined work based on this library. Thus, the terms and conditions of the GNU 
ilia@18403
   555
General Public License version 2 cover the whole combination.
ilia@18403
   556
As a special exception, the copyright holders of this library give you 
ilia@18403
   557
permission to link this library with independent modules to produce an 
ilia@18403
   558
executable, regardless of the license terms of these independent modules, and 
ilia@18403
   559
to copy and distribute the resulting executable under terms of your choice, 
ilia@18403
   560
provided that you also meet, for each linked independent module, the terms and 
ilia@18403
   561
conditions of the license of that module. An independent module is a module 
ilia@18403
   562
which is not derived from or based on this library. If you modify this library, 
ilia@18403
   563
you may extend this exception to your version of the library, but you are not 
ilia@18403
   564
obligated to do so. If you do not wish to do so, delete this exception 
ilia@18403
   565
statement from your version.