Blame LICENSE.txt

Peng Wu 70733b7
Apache License
Peng Wu 70733b7
Peng Wu 70733b7
Version 2.0, January 2004
Peng Wu 70733b7
Peng Wu 70733b7
http://www.apache.org/licenses/
Peng Wu 70733b7
Peng Wu 70733b7
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
Peng Wu 70733b7
Peng Wu 70733b7
1. Definitions.
Peng Wu 70733b7
Peng Wu 70733b7
"License" shall mean the terms and conditions for use, reproduction,
Peng Wu 70733b7
and distribution as defined by Sections 1 through 9 of this document.
Peng Wu 70733b7
Peng Wu 70733b7
"Licensor" shall mean the copyright owner or entity authorized by the
Peng Wu 70733b7
copyright owner that is granting the License.
Peng Wu 70733b7
Peng Wu 70733b7
"Legal Entity" shall mean the union of the acting entity and all other
Peng Wu 70733b7
entities that control, are controlled by, or are under common control
Peng Wu 70733b7
with that entity. For the purposes of this definition, "control" means
Peng Wu 70733b7
(i) the power, direct or indirect, to cause the direction or
Peng Wu 70733b7
management of such entity, whether by contract or otherwise, or (ii)
Peng Wu 70733b7
ownership of fifty percent (50%) or more of the outstanding shares, or
Peng Wu 70733b7
(iii) beneficial ownership of such entity.
Peng Wu 70733b7
Peng Wu 70733b7
"You" (or "Your") shall mean an individual or Legal Entity exercising
Peng Wu 70733b7
permissions granted by this License.
Peng Wu 70733b7
Peng Wu 70733b7
"Source" form shall mean the preferred form for making modifications,
Peng Wu 70733b7
including but not limited to software source code, documentation
Peng Wu 70733b7
source, and configuration files.
Peng Wu 70733b7
Peng Wu 70733b7
"Object" form shall mean any form resulting from mechanical
Peng Wu 70733b7
transformation or translation of a Source form, including but not
Peng Wu 70733b7
limited to compiled object code, generated documentation, and
Peng Wu 70733b7
conversions to other media types.
Peng Wu 70733b7
Peng Wu 70733b7
"Work" shall mean the work of authorship, whether in Source or Object
Peng Wu 70733b7
form, made available under the License, as indicated by a copyright
Peng Wu 70733b7
notice that is included in or attached to the work (an example is
Peng Wu 70733b7
provided in the Appendix below).
Peng Wu 70733b7
Peng Wu 70733b7
"Derivative Works" shall mean any work, whether in Source or Object
Peng Wu 70733b7
form, that is based on (or derived from) the Work and for which the
Peng Wu 70733b7
editorial revisions, annotations, elaborations, or other modifications
Peng Wu 70733b7
represent, as a whole, an original work of authorship. For the
Peng Wu 70733b7
purposes of this License, Derivative Works shall not include works
Peng Wu 70733b7
that remain separable from, or merely link (or bind by name) to the
Peng Wu 70733b7
interfaces of, the Work and Derivative Works thereof.
Peng Wu 70733b7
Peng Wu 70733b7
"Contribution" shall mean any work of authorship, including the
Peng Wu 70733b7
original version of the Work and any modifications or additions to
Peng Wu 70733b7
that Work or Derivative Works thereof, that is intentionally submitted
Peng Wu 70733b7
to Licensor for inclusion in the Work by the copyright owner or by an
Peng Wu 70733b7
individual or Legal Entity authorized to submit on behalf of the
Peng Wu 70733b7
copyright owner. For the purposes of this definition, "submitted"
Peng Wu 70733b7
means any form of electronic, verbal, or written communication sent to
Peng Wu 70733b7
the Licensor or its representatives, including but not limited to
Peng Wu 70733b7
communication on electronic mailing lists, source code control
Peng Wu 70733b7
systems, and issue tracking systems that are managed by, or on behalf
Peng Wu 70733b7
of, the Licensor for the purpose of discussing and improving the Work,
Peng Wu 70733b7
but excluding communication that is conspicuously marked or otherwise
Peng Wu 70733b7
designated in writing by the copyright owner as "Not a Contribution."
Peng Wu 70733b7
Peng Wu 70733b7
"Contributor" shall mean Licensor and any individual or Legal Entity
Peng Wu 70733b7
on behalf of whom a Contribution has been received by Licensor and
Peng Wu 70733b7
subsequently incorporated within the Work.
Peng Wu 70733b7
Peng Wu 70733b7
2. Grant of Copyright License. Subject to the terms and conditions of
Peng Wu 70733b7
this License, each Contributor hereby grants to You a perpetual,
Peng Wu 70733b7
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
Peng Wu 70733b7
copyright license to reproduce, prepare Derivative Works of, publicly
Peng Wu 70733b7
display, publicly perform, sublicense, and distribute the Work and
Peng Wu 70733b7
such Derivative Works in Source or Object form.
Peng Wu 70733b7
Peng Wu 70733b7
3. Grant of Patent License. Subject to the terms and conditions of
Peng Wu 70733b7
this License, each Contributor hereby grants to You a perpetual,
Peng Wu 70733b7
worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except
Peng Wu 70733b7
as stated in this section) patent license to make, have made, use,
Peng Wu 70733b7
offer to sell, sell, import, and otherwise transfer the Work, where
Peng Wu 70733b7
such license applies only to those patent claims licensable by such
Peng Wu 70733b7
Contributor that are necessarily infringed by their Contribution(s)
Peng Wu 70733b7
alone or by combination of their Contribution(s) with the Work to
Peng Wu 70733b7
which such Contribution(s) was submitted. If You institute patent
Peng Wu 70733b7
litigation against any entity (including a cross-claim or counterclaim
Peng Wu 70733b7
in a lawsuit) alleging that the Work or a Contribution incorporated
Peng Wu 70733b7
within the Work constitutes direct or contributory patent
Peng Wu 70733b7
infringement, then any patent licenses granted to You under this
Peng Wu 70733b7
License for that Work shall terminate as of the date such litigation
Peng Wu 70733b7
is filed.
Peng Wu 70733b7
Peng Wu 70733b7
4. Redistribution. You may reproduce and distribute copies of the Work
Peng Wu 70733b7
or Derivative Works thereof in any medium, with or without
Peng Wu 70733b7
modifications, and in Source or Object form, provided that You meet
Peng Wu 70733b7
the following conditions:
Peng Wu 70733b7
Peng Wu 70733b7
You must give any other recipients of the Work or Derivative Works a
Peng Wu 70733b7
copy of this License; and
Peng Wu 70733b7
Peng Wu 70733b7
You must cause any modified files to carry prominent notices stating
Peng Wu 70733b7
that You changed the files; and
Peng Wu 70733b7
Peng Wu 70733b7
You must retain, in the Source form of any Derivative Works that You
Peng Wu 70733b7
distribute, all copyright, patent, trademark, and attribution notices
Peng Wu 70733b7
from the Source form of the Work, excluding those notices that do not
Peng Wu 70733b7
pertain to any part of the Derivative Works; and
Peng Wu 70733b7
Peng Wu 70733b7
If the Work includes a "NOTICE" text file as part of its distribution,
Peng Wu 70733b7
then any Derivative Works that You distribute must include a readable
Peng Wu 70733b7
copy of the attribution notices contained within such NOTICE file,
Peng Wu 70733b7
excluding those notices that do not pertain to any part of the
Peng Wu 70733b7
Derivative Works, in at least one of the following places: within a
Peng Wu 70733b7
NOTICE text file distributed as part of the Derivative Works; within
Peng Wu 70733b7
the Source form or documentation, if provided along with the
Peng Wu 70733b7
Derivative Works; or, within a display generated by the Derivative
Peng Wu 70733b7
Works, if and wherever such third-party notices normally appear. The
Peng Wu 70733b7
contents of the NOTICE file are for informational purposes only and do
Peng Wu 70733b7
not modify the License. You may add Your own attribution notices
Peng Wu 70733b7
within Derivative Works that You distribute, alongside or as an
Peng Wu 70733b7
addendum to the NOTICE text from the Work, provided that such
Peng Wu 70733b7
additional attribution notices cannot be construed as modifying the
Peng Wu 70733b7
License.
Peng Wu 70733b7
Peng Wu 70733b7
You may add Your own copyright statement to Your modifications and may
Peng Wu 70733b7
provide additional or different license terms and conditions for use,
Peng Wu 70733b7
reproduction, or distribution of Your modifications, or for any such
Peng Wu 70733b7
Derivative Works as a whole, provided Your use, reproduction, and
Peng Wu 70733b7
distribution of the Work otherwise complies with the conditions stated
Peng Wu 70733b7
in this License.
Peng Wu 70733b7
Peng Wu 70733b7
5. Submission of Contributions. Unless You explicitly state otherwise,
Peng Wu 70733b7
any Contribution intentionally submitted for inclusion in the Work by
Peng Wu 70733b7
You to the Licensor shall be under the terms and conditions of this
Peng Wu 70733b7
License, without any additional terms or conditions. Notwithstanding
Peng Wu 70733b7
the above, nothing herein shall supersede or modify the terms of any
Peng Wu 70733b7
separate license agreement you may have executed with Licensor
Peng Wu 70733b7
regarding such Contributions.
Peng Wu 70733b7
Peng Wu 70733b7
6. Trademarks. This License does not grant permission to use the trade
Peng Wu 70733b7
names, trademarks, service marks, or product names of the Licensor,
Peng Wu 70733b7
except as required for reasonable and customary use in describing the
Peng Wu 70733b7
origin of the Work and reproducing the content of the NOTICE file.
Peng Wu 70733b7
Peng Wu 70733b7
7. Disclaimer of Warranty. Unless required by applicable law or agreed
Peng Wu 70733b7
to in writing, Licensor provides the Work (and each Contributor
Peng Wu 70733b7
provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR
Peng Wu 70733b7
CONDITIONS OF ANY KIND, either express or implied, including, without
Peng Wu 70733b7
limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT,
Peng Wu 70733b7
MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely
Peng Wu 70733b7
responsible for determining the appropriateness of using or
Peng Wu 70733b7
redistributing the Work and assume any risks associated with Your
Peng Wu 70733b7
exercise of permissions under this License.
Peng Wu 70733b7
Peng Wu 70733b7
8. Limitation of Liability. In no event and under no legal theory,
Peng Wu 70733b7
whether in tort (including negligence), contract, or otherwise, unless
Peng Wu 70733b7
required by applicable law (such as deliberate and grossly negligent
Peng Wu 70733b7
acts) or agreed to in writing, shall any Contributor be liable to You
Peng Wu 70733b7
for damages, including any direct, indirect, special, incidental, or
Peng Wu 70733b7
consequential damages of any character arising as a result of this
Peng Wu 70733b7
License or out of the use or inability to use the Work (including but
Peng Wu 70733b7
not limited to damages for loss of goodwill, work stoppage, computer
Peng Wu 70733b7
failure or malfunction, or any and all other commercial damages or
Peng Wu 70733b7
losses), even if such Contributor has been advised of the possibility
Peng Wu 70733b7
of such damages.
Peng Wu 70733b7
Peng Wu 70733b7
9. Accepting Warranty or Additional Liability. While redistributing
Peng Wu 70733b7
the Work or Derivative Works thereof, You may choose to offer, and
Peng Wu 70733b7
charge a fee for, acceptance of support, warranty, indemnity, or other
Peng Wu 70733b7
liability obligations and/or rights consistent with this
Peng Wu 70733b7
License. However, in accepting such obligations, You may act only on
Peng Wu 70733b7
Your own behalf and on Your sole responsibility, not on behalf of any
Peng Wu 70733b7
other Contributor, and only if You agree to indemnify, defend, and
Peng Wu 70733b7
hold each Contributor harmless for any liability incurred by, or
Peng Wu 70733b7
claims asserted against, such Contributor by reason of your accepting
Peng Wu 70733b7
any such warranty or additional liability.