]> git.ktnx.net Git - mobile-ledger.git/blob - Apache-2.0.txt
Another JSON parser fix from Mattéo Delabre, this time for the posting tags
[mobile-ledger.git] / Apache-2.0.txt
1 Apache License
2
3 Version 2.0, January 2004
4
5 http://www.apache.org/licenses/
6
7 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
8
9 1. Definitions.
10
11 "License" shall mean the terms and conditions for use, reproduction, and
12 distribution as defined by Sections 1 through 9 of this document.
13
14 "Licensor" shall mean the copyright owner or entity authorized by the copyright
15 owner that is granting the License.
16
17 "Legal Entity" shall mean the union of the acting entity and all other entities
18 that control, are controlled by, or are under common control with that entity.
19 For the purposes of this definition, "control" means (i) the power, direct or
20 indirect, to cause the direction or management of such entity, whether by
21 contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the
22 outstanding shares, or (iii) beneficial ownership of such entity.
23
24 "You" (or "Your") shall mean an individual or Legal Entity exercising
25 permissions granted by this License.
26
27 "Source" form shall mean the preferred form for making modifications, including
28 but not limited to software source code, documentation source, and
29 configuration files.
30
31 "Object" form shall mean any form resulting from mechanical transformation or
32 translation of a Source form, including but not limited to compiled object
33 code, generated documentation, and conversions to other media types.
34
35 "Work" shall mean the work of authorship, whether in Source or Object form,
36 made available under the License, as indicated by a copyright notice that is
37 included in or attached to the work (an example is provided in the Appendix
38 below).
39
40 "Derivative Works" shall mean any work, whether in Source or Object form, that
41 is based on (or derived from) the Work and for which the editorial revisions,
42 annotations, elaborations, or other modifications represent, as a whole, an
43 original work of authorship. For the purposes of this License, Derivative Works
44 shall not include works that remain separable from, or merely link (or bind by
45 name) to the interfaces of, the Work and Derivative Works thereof.
46
47 "Contribution" shall mean any work of authorship, including the original
48 version of the Work and any modifications or additions to that Work or
49 Derivative Works thereof, that is intentionally submitted to Licensor for
50 inclusion in the Work by the copyright owner or by an individual or Legal
51 Entity authorized to submit on behalf of the copyright owner. For the purposes
52 of this definition, "submitted" means any form of electronic, verbal, or
53 written communication sent to the Licensor or its representatives, including
54 but not limited to communication on electronic mailing lists, source code
55 control systems, and issue tracking systems that are managed by, or on behalf
56 of, the Licensor for the purpose of discussing and improving the Work, but
57 excluding communication that is conspicuously marked or otherwise designated in
58 writing by the copyright owner as "Not a Contribution."
59
60 "Contributor" shall mean Licensor and any individual or Legal Entity on behalf
61 of whom a Contribution has been received by Licensor and subsequently
62 incorporated within the Work.
63
64 2. Grant of Copyright License. Subject to the terms and conditions of this
65 License, each Contributor hereby grants to You a perpetual, worldwide,
66 non-exclusive, no-charge, royalty-free, irrevocable copyright license to
67 reproduce, prepare Derivative Works of, publicly display, publicly perform,
68 sublicense, and distribute the Work and such Derivative Works in Source or
69 Object form.
70
71 3. Grant of Patent License. Subject to the terms and conditions of this
72 License, each Contributor hereby grants to You a perpetual, worldwide,
73 non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this
74 section) patent license to make, have made, use, offer to sell, sell, import,
75 and otherwise transfer the Work, where such license applies only to those
76 patent claims licensable by such Contributor that are necessarily infringed by
77 their Contribution(s) alone or by combination of their Contribution(s) with the
78 Work to which such Contribution(s) was submitted. If You institute patent
79 litigation against any entity (including a cross-claim or counterclaim in a
80 lawsuit) alleging that the Work or a Contribution incorporated within the Work
81 constitutes direct or contributory patent infringement, then any patent
82 licenses granted to You under this License for that Work shall terminate as of
83 the date such litigation is filed.
84
85 4. Redistribution. You may reproduce and distribute copies of the Work or
86 Derivative Works thereof in any medium, with or without modifications, and in
87 Source or Object form, provided that You meet the following conditions:
88
89     You must give any other recipients of the Work or Derivative Works a copy
90     of this License; and
91
92     You must cause any modified files to carry prominent notices stating that
93     You changed the files; and
94     
95     You must retain, in the Source form of any Derivative Works that You
96     distribute, all copyright, patent, trademark, and attribution notices from
97     the Source form of the Work, excluding those notices that do not pertain to
98     any part of the Derivative Works; and
99     
100     If the Work includes a "NOTICE" text file as part of its distribution, then
101     any Derivative Works that You distribute must include a readable copy of
102     the attribution notices contained within such NOTICE file, excluding those
103     notices that do not pertain to any part of the Derivative Works, in at
104     least one of the following places: within a NOTICE text file distributed as
105     part of the Derivative Works; within the Source form or documentation, if
106     provided along with the Derivative Works; or, within a display generated by
107     the Derivative Works, if and wherever such third-party notices normally
108     appear. The contents of the NOTICE file are for informational purposes only
109     and do not modify the License. You may add Your own attribution notices
110     within Derivative Works that You distribute, alongside or as an addendum to
111     the NOTICE text from the Work, provided that such additional attribution
112     notices cannot be construed as modifying the License.
113
114     You may add Your own copyright statement to Your modifications and may
115     provide additional or different license terms and conditions for use,
116     reproduction, or distribution of Your modifications, or for any such
117     Derivative Works as a whole, provided Your use, reproduction, and
118     distribution of the Work otherwise complies with the conditions stated in
119     this License.
120
121 5. Submission of Contributions. Unless You explicitly state otherwise, any
122 Contribution intentionally submitted for inclusion in the Work by You to the
123 Licensor shall be under the terms and conditions of this License, without any
124 additional terms or conditions. Notwithstanding the above, nothing herein shall
125 supersede or modify the terms of any separate license agreement you may have
126 executed with Licensor regarding such Contributions.
127
128 6. Trademarks. This License does not grant permission to use the trade names,
129 trademarks, service marks, or product names of the Licensor, except as required
130 for reasonable and customary use in describing the origin of the Work and
131 reproducing the content of the NOTICE file.
132
133 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in
134 writing, Licensor provides the Work (and each Contributor provides its
135 Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
136 KIND, either express or implied, including, without limitation, any warranties
137 or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
138 PARTICULAR PURPOSE. You are solely responsible for determining the
139 appropriateness of using or redistributing the Work and assume any risks
140 associated with Your exercise of permissions under this License.
141
142 8. Limitation of Liability. In no event and under no legal theory, whether in
143 tort (including negligence), contract, or otherwise, unless required by
144 applicable law (such as deliberate and grossly negligent acts) or agreed to in
145 writing, shall any Contributor be liable to You for damages, including any
146 direct, indirect, special, incidental, or consequential damages of any
147 character arising as a result of this License or out of the use or inability to
148 use the Work (including but not limited to damages for loss of goodwill, work
149 stoppage, computer failure or malfunction, or any and all other commercial
150 damages or losses), even if such Contributor has been advised of the
151 possibility of such damages.
152
153 9. Accepting Warranty or Additional Liability. While redistributing the Work or
154 Derivative Works thereof, You may choose to offer, and charge a fee for,
155 acceptance of support, warranty, indemnity, or other liability obligations
156 and/or rights consistent with this License. However, in accepting such
157 obligations, You may act only on Your own behalf and on Your sole
158 responsibility, not on behalf of any other Contributor, and only if You agree
159 to indemnify, defend, and hold each Contributor harmless for any liability
160 incurred by, or claims asserted against, such Contributor by reason of your
161 accepting any such warranty or additional liability.
162
163 END OF TERMS AND CONDITIONS
164
165 APPENDIX: How to apply the Apache License to your work
166
167 To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
168
169 Copyright [yyyy] [name of copyright owner]
170
171 Licensed under the Apache License, Version 2.0 (the "License");
172 you may not use this file except in compliance with the License.
173 You may obtain a copy of the License at
174
175     http://www.apache.org/licenses/LICENSE-2.0
176
177 Unless required by applicable law or agreed to in writing, software
178 distributed under the License is distributed on an "AS IS" BASIS,
179 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
180 See the License for the specific language governing permissions and
181 limitations under the License.