LICENSE revision 13481
110447Snilay@cs.wisc.edu
210447Snilay@cs.wisc.edu                                 Apache License
310447Snilay@cs.wisc.edu                           Version 2.0, January 2004
410447Snilay@cs.wisc.edu                        http://www.apache.org/licenses/
510447Snilay@cs.wisc.edu
610447Snilay@cs.wisc.edu   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
710447Snilay@cs.wisc.edu
810447Snilay@cs.wisc.edu   1. Definitions.
910447Snilay@cs.wisc.edu
1010447Snilay@cs.wisc.edu      "License" shall mean the terms and conditions for use, reproduction,
1110447Snilay@cs.wisc.edu      and distribution as defined by Sections 1 through 9 of this document.
1210447Snilay@cs.wisc.edu
1310447Snilay@cs.wisc.edu      "Licensor" shall mean the copyright owner or entity authorized by
1410447Snilay@cs.wisc.edu      the copyright owner that is granting the License.
1510447Snilay@cs.wisc.edu
1610447Snilay@cs.wisc.edu      "Legal Entity" shall mean the union of the acting entity and all
1710447Snilay@cs.wisc.edu      other entities that control, are controlled by, or are under common
1810447Snilay@cs.wisc.edu      control with that entity. For the purposes of this definition,
1910447Snilay@cs.wisc.edu      "control" means (i) the power, direct or indirect, to cause the
2010447Snilay@cs.wisc.edu      direction or management of such entity, whether by contract or
2110447Snilay@cs.wisc.edu      otherwise, or (ii) ownership of fifty percent (50%) or more of the
2210447Snilay@cs.wisc.edu      outstanding shares, or (iii) beneficial ownership of such entity.
2310447Snilay@cs.wisc.edu
2410447Snilay@cs.wisc.edu      "You" (or "Your") shall mean an individual or Legal Entity
2510447Snilay@cs.wisc.edu      exercising permissions granted by this License.
2610447Snilay@cs.wisc.edu
2710447Snilay@cs.wisc.edu      "Source" form shall mean the preferred form for making modifications,
2810447Snilay@cs.wisc.edu      including but not limited to software source code, documentation
2910447Snilay@cs.wisc.edu      source, and configuration files.
3010447Snilay@cs.wisc.edu
3110447Snilay@cs.wisc.edu      "Object" form shall mean any form resulting from mechanical
3210447Snilay@cs.wisc.edu      transformation or translation of a Source form, including but
3310447Snilay@cs.wisc.edu      not limited to compiled object code, generated documentation,
3410447Snilay@cs.wisc.edu      and conversions to other media types.
3510447Snilay@cs.wisc.edu
3610447Snilay@cs.wisc.edu      "Work" shall mean the work of authorship, whether in Source or
3710447Snilay@cs.wisc.edu      Object form, made available under the License, as indicated by a
3810447Snilay@cs.wisc.edu      copyright notice that is included in or attached to the work
3910447Snilay@cs.wisc.edu      (an example is provided in the Appendix below).
4010447Snilay@cs.wisc.edu
4110447Snilay@cs.wisc.edu      "Derivative Works" shall mean any work, whether in Source or Object
4210447Snilay@cs.wisc.edu      form, that is based on (or derived from) the Work and for which the
4310447Snilay@cs.wisc.edu      editorial revisions, annotations, elaborations, or other modifications
4410447Snilay@cs.wisc.edu      represent, as a whole, an original work of authorship. For the purposes
4510447Snilay@cs.wisc.edu      of this License, Derivative Works shall not include works that remain
4610447Snilay@cs.wisc.edu      separable from, or merely link (or bind by name) to the interfaces of,
4710447Snilay@cs.wisc.edu      the Work and Derivative Works thereof.
4810447Snilay@cs.wisc.edu
4910447Snilay@cs.wisc.edu      "Contribution" shall mean any work of authorship, including
5010447Snilay@cs.wisc.edu      the original version of the Work and any modifications or additions
5110447Snilay@cs.wisc.edu      to that Work or Derivative Works thereof, that is intentionally
5210447Snilay@cs.wisc.edu      submitted to Licensor for inclusion in the Work by the copyright owner
5310447Snilay@cs.wisc.edu      or by an individual or Legal Entity authorized to submit on behalf of
5410447Snilay@cs.wisc.edu      the copyright owner. For the purposes of this definition, "submitted"
5510447Snilay@cs.wisc.edu      means any form of electronic, verbal, or written communication sent
5610447Snilay@cs.wisc.edu      to the Licensor or its representatives, including but not limited to
5710447Snilay@cs.wisc.edu      communication on electronic mailing lists, source code control systems,
5810447Snilay@cs.wisc.edu      and issue tracking systems that are managed by, or on behalf of, the
5910447Snilay@cs.wisc.edu      Licensor for the purpose of discussing and improving the Work, but
6010447Snilay@cs.wisc.edu      excluding communication that is conspicuously marked or otherwise
6110447Snilay@cs.wisc.edu      designated in writing by the copyright owner as "Not a Contribution."
6210447Snilay@cs.wisc.edu
6310447Snilay@cs.wisc.edu      "Contributor" shall mean Licensor and any individual or Legal Entity
6410447Snilay@cs.wisc.edu      on behalf of whom a Contribution has been received by Licensor and
6510447Snilay@cs.wisc.edu      subsequently incorporated within the Work.
6610447Snilay@cs.wisc.edu
6710447Snilay@cs.wisc.edu   2. Grant of Copyright License. Subject to the terms and conditions of
6810447Snilay@cs.wisc.edu      this License, each Contributor hereby grants to You a perpetual,
6910447Snilay@cs.wisc.edu      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
7010447Snilay@cs.wisc.edu      copyright license to reproduce, prepare Derivative Works of,
7110447Snilay@cs.wisc.edu      publicly display, publicly perform, sublicense, and distribute the
7210447Snilay@cs.wisc.edu      Work and such Derivative Works in Source or Object form.
7310447Snilay@cs.wisc.edu
7410447Snilay@cs.wisc.edu   3. Grant of Patent License. Subject to the terms and conditions of
7510447Snilay@cs.wisc.edu      this License, each Contributor hereby grants to You a perpetual,
7610447Snilay@cs.wisc.edu      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
7710447Snilay@cs.wisc.edu      (except as stated in this section) patent license to make, have made,
7810447Snilay@cs.wisc.edu      use, offer to sell, sell, import, and otherwise transfer the Work,
7910447Snilay@cs.wisc.edu      where such license applies only to those patent claims licensable
8010447Snilay@cs.wisc.edu      by such Contributor that are necessarily infringed by their
8110447Snilay@cs.wisc.edu      Contribution(s) alone or by combination of their Contribution(s)
8210447Snilay@cs.wisc.edu      with the Work to which such Contribution(s) was submitted. If You
8310447Snilay@cs.wisc.edu      institute patent litigation against any entity (including a
8410447Snilay@cs.wisc.edu      cross-claim or counterclaim in a lawsuit) alleging that the Work
8510447Snilay@cs.wisc.edu      or a Contribution incorporated within the Work constitutes direct
8610447Snilay@cs.wisc.edu      or contributory patent infringement, then any patent licenses
8710447Snilay@cs.wisc.edu      granted to You under this License for that Work shall terminate
8810447Snilay@cs.wisc.edu      as of the date such litigation is filed.
8910447Snilay@cs.wisc.edu
9010447Snilay@cs.wisc.edu   4. Redistribution. You may reproduce and distribute copies of the
9110447Snilay@cs.wisc.edu      Work or Derivative Works thereof in any medium, with or without
9210447Snilay@cs.wisc.edu      modifications, and in Source or Object form, provided that You
9310447Snilay@cs.wisc.edu      meet the following conditions:
9410447Snilay@cs.wisc.edu
9510447Snilay@cs.wisc.edu      (a) You must give any other recipients of the Work or
9610447Snilay@cs.wisc.edu          Derivative Works a copy of this License; and
9710447Snilay@cs.wisc.edu
9810447Snilay@cs.wisc.edu      (b) You must cause any modified files to carry prominent notices
9910447Snilay@cs.wisc.edu          stating that You changed the files; and
10010447Snilay@cs.wisc.edu
10110447Snilay@cs.wisc.edu      (c) You must retain, in the Source form of any Derivative Works
10210447Snilay@cs.wisc.edu          that You distribute, all copyright, patent, trademark, and
10310447Snilay@cs.wisc.edu          attribution notices from the Source form of the Work,
10410447Snilay@cs.wisc.edu          excluding those notices that do not pertain to any part of
10510447Snilay@cs.wisc.edu          the Derivative Works; and
10610447Snilay@cs.wisc.edu
10710447Snilay@cs.wisc.edu      (d) If the Work includes a "NOTICE" text file as part of its
10810447Snilay@cs.wisc.edu          distribution, then any Derivative Works that You distribute must
10910447Snilay@cs.wisc.edu          include a readable copy of the attribution notices contained
11010447Snilay@cs.wisc.edu          within such NOTICE file, excluding those notices that do not
11110447Snilay@cs.wisc.edu          pertain to any part of the Derivative Works, in at least one
11210447Snilay@cs.wisc.edu          of the following places: within a NOTICE text file distributed
11310447Snilay@cs.wisc.edu          as part of the Derivative Works; within the Source form or
11410447Snilay@cs.wisc.edu          documentation, if provided along with the Derivative Works; or,
11510447Snilay@cs.wisc.edu          within a display generated by the Derivative Works, if and
11610447Snilay@cs.wisc.edu          wherever such third-party notices normally appear. The contents
11710447Snilay@cs.wisc.edu          of the NOTICE file are for informational purposes only and
11810447Snilay@cs.wisc.edu          do not modify the License. You may add Your own attribution
11910447Snilay@cs.wisc.edu          notices within Derivative Works that You distribute, alongside
12010447Snilay@cs.wisc.edu          or as an addendum to the NOTICE text from the Work, provided
12110447Snilay@cs.wisc.edu          that such additional attribution notices cannot be construed
12210447Snilay@cs.wisc.edu          as modifying the License.
12310447Snilay@cs.wisc.edu
12410447Snilay@cs.wisc.edu      You may add Your own copyright statement to Your modifications and
12510447Snilay@cs.wisc.edu      may provide additional or different license terms and conditions
12610447Snilay@cs.wisc.edu      for use, reproduction, or distribution of Your modifications, or
12710447Snilay@cs.wisc.edu      for any such Derivative Works as a whole, provided Your use,
12810447Snilay@cs.wisc.edu      reproduction, and distribution of the Work otherwise complies with
12910447Snilay@cs.wisc.edu      the conditions stated in this License.
13010447Snilay@cs.wisc.edu
13110447Snilay@cs.wisc.edu   5. Submission of Contributions. Unless You explicitly state otherwise,
13210447Snilay@cs.wisc.edu      any Contribution intentionally submitted for inclusion in the Work
13310447Snilay@cs.wisc.edu      by You to the Licensor shall be under the terms and conditions of
13410447Snilay@cs.wisc.edu      this License, without any additional terms or conditions.
13510447Snilay@cs.wisc.edu      Notwithstanding the above, nothing herein shall supersede or modify
13610447Snilay@cs.wisc.edu      the terms of any separate license agreement you may have executed
13710447Snilay@cs.wisc.edu      with Licensor regarding such Contributions.
13810447Snilay@cs.wisc.edu
13910447Snilay@cs.wisc.edu   6. Trademarks. This License does not grant permission to use the trade
14010447Snilay@cs.wisc.edu      names, trademarks, service marks, or product names of the Licensor,
14110447Snilay@cs.wisc.edu      except as required for reasonable and customary use in describing the
14210447Snilay@cs.wisc.edu      origin of the Work and reproducing the content of the NOTICE file.
14310447Snilay@cs.wisc.edu
14410447Snilay@cs.wisc.edu   7. Disclaimer of Warranty. Unless required by applicable law or
14510447Snilay@cs.wisc.edu      agreed to in writing, Licensor provides the Work (and each
14610447Snilay@cs.wisc.edu      Contributor provides its Contributions) on an "AS IS" BASIS,
14710447Snilay@cs.wisc.edu      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
14810447Snilay@cs.wisc.edu      implied, including, without limitation, any warranties or conditions
14910447Snilay@cs.wisc.edu      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
15010447Snilay@cs.wisc.edu      PARTICULAR PURPOSE. You are solely responsible for determining the
15110447Snilay@cs.wisc.edu      appropriateness of using or redistributing the Work and assume any
15210447Snilay@cs.wisc.edu      risks associated with Your exercise of permissions under this License.
15310447Snilay@cs.wisc.edu
15410447Snilay@cs.wisc.edu   8. Limitation of Liability. In no event and under no legal theory,
15510447Snilay@cs.wisc.edu      whether in tort (including negligence), contract, or otherwise,
15610447Snilay@cs.wisc.edu      unless required by applicable law (such as deliberate and grossly
15710447Snilay@cs.wisc.edu      negligent acts) or agreed to in writing, shall any Contributor be
15810447Snilay@cs.wisc.edu      liable to You for damages, including any direct, indirect, special,
15910447Snilay@cs.wisc.edu      incidental, or consequential damages of any character arising as a
16010447Snilay@cs.wisc.edu      result of this License or out of the use or inability to use the
16110447Snilay@cs.wisc.edu      Work (including but not limited to damages for loss of goodwill,
16210447Snilay@cs.wisc.edu      work stoppage, computer failure or malfunction, or any and all
16310447Snilay@cs.wisc.edu      other commercial damages or losses), even if such Contributor
16410447Snilay@cs.wisc.edu      has been advised of the possibility of such damages.
16510447Snilay@cs.wisc.edu
16610447Snilay@cs.wisc.edu   9. Accepting Warranty or Additional Liability. While redistributing
16710447Snilay@cs.wisc.edu      the Work or Derivative Works thereof, You may choose to offer,
16810447Snilay@cs.wisc.edu      and charge a fee for, acceptance of support, warranty, indemnity,
16910447Snilay@cs.wisc.edu      or other liability obligations and/or rights consistent with this
17010447Snilay@cs.wisc.edu      License. However, in accepting such obligations, You may act only
17110447Snilay@cs.wisc.edu      on Your own behalf and on Your sole responsibility, not on behalf
17210447Snilay@cs.wisc.edu      of any other Contributor, and only if You agree to indemnify,
17310447Snilay@cs.wisc.edu      defend, and hold each Contributor harmless for any liability
17410447Snilay@cs.wisc.edu      incurred by, or claims asserted against, such Contributor by reason
17510447Snilay@cs.wisc.edu      of your accepting any such warranty or additional liability.
17610447Snilay@cs.wisc.edu
17710447Snilay@cs.wisc.edu   END OF TERMS AND CONDITIONS
17810447Snilay@cs.wisc.edu
17910447Snilay@cs.wisc.edu   APPENDIX: How to apply the Apache License to your work.
18010447Snilay@cs.wisc.edu
18110447Snilay@cs.wisc.edu      To apply the Apache License to your work, attach the following
18210447Snilay@cs.wisc.edu      boilerplate notice, with the fields enclosed by brackets "[]"
18310447Snilay@cs.wisc.edu      replaced with your own identifying information. (Don't include
18410447Snilay@cs.wisc.edu      the brackets!)  The text should be enclosed in the appropriate
18510447Snilay@cs.wisc.edu      comment syntax for the file format. We also recommend that a
18610447Snilay@cs.wisc.edu      file or class name and description of purpose be included on the
18710447Snilay@cs.wisc.edu      same "printed page" as the copyright notice for easier
18810447Snilay@cs.wisc.edu      identification within third-party archives.
18910447Snilay@cs.wisc.edu
19010447Snilay@cs.wisc.edu   Copyright [2007] Neal Norwitz
19110447Snilay@cs.wisc.edu   Portions Copyright [2007] Google Inc.
19210447Snilay@cs.wisc.edu
19310447Snilay@cs.wisc.edu   Licensed under the Apache License, Version 2.0 (the "License");
19410447Snilay@cs.wisc.edu   you may not use this file except in compliance with the License.
19510447Snilay@cs.wisc.edu   You may obtain a copy of the License at
19610447Snilay@cs.wisc.edu
19710447Snilay@cs.wisc.edu       http://www.apache.org/licenses/LICENSE-2.0
19810447Snilay@cs.wisc.edu
19910447Snilay@cs.wisc.edu   Unless required by applicable law or agreed to in writing, software
20010447Snilay@cs.wisc.edu   distributed under the License is distributed on an "AS IS" BASIS,
20110447Snilay@cs.wisc.edu   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20210447Snilay@cs.wisc.edu   See the License for the specific language governing permissions and
20310447Snilay@cs.wisc.edu   limitations under the License.
20410447Snilay@cs.wisc.edu