blob: bebcc7f893a55555c2b1b8f866f5b0ae7bfb1a86 [file] [log] [blame]
Gary Wu7f1c1522017-06-21 15:03:17 -07001THIS LICENSE FILE CONTAINS THE LICENSE APPLICABLE DEPENDING ON THE TYPE OF CONTRIBUTIONS.
2
3APACHE LICENSE 2 IS APPLICABLE FOR SOURCE CODE, CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL FOR DOCUMENTATION
4
5+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
6
7
8Apache License
9Version 2.0, January 2004
10http://www.apache.org/licenses/
11
12TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
13
141. Definitions.
15
16"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
17
18"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
19
20"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
21
22"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
23
24"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
25
26"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
27
28"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
29
30"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
31
32"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
33
34"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
35
362. Grant of Copyright License.
37
38Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
39
403. Grant of Patent License.
41
42Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
43
444. Redistribution.
45
46You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
47
48You must give any other recipients of the Work or Derivative Works a copy of this License; and
49You must cause any modified files to carry prominent notices stating that You changed the files; and
50You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
51If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
52You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
53
545. Submission of Contributions.
55
56Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
57
586. Trademarks.
59
60This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
61
627. Disclaimer of Warranty.
63
64Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
65
668. Limitation of Liability.
67
68In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
69
709. Accepting Warranty or Additional Liability.
71
72While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
73
74END OF TERMS AND CONDITIONS
75
76+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
77
78Attribution 4.0 International
79
80https://creativecommons.org/licenses/by/4.0/legalcode
81
82---------------------------------------------------------------------------------------
83
84Creative Commons Corporation ("Creative Commons") is not a law firm and
85does not provide legal services or legal advice. Distribution of
86Creative Commons public licenses does not create a lawyer-client or
87other relationship. Creative Commons makes its licenses and related
88information available on an "as-is" basis. Creative Commons gives no
89warranties regarding its licenses, any material licensed under their
90terms and conditions, or any related information. Creative Commons
91disclaims all liability for damages resulting from their use to the
92fullest extent possible.
93
94Using Creative Commons Public Licenses
95
96Creative Commons public licenses provide a standard set of terms and
97conditions that creators and other rights holders may use to share
98original works of authorship and other material subject to copyright
99and certain other rights specified in the public license below. The
100following considerations are for informational purposes only, are not
101exhaustive, and do not form part of our licenses.
102
103 Considerations for licensors: Our public licenses are
104 intended for use by those authorized to give the public
105 permission to use material in ways otherwise restricted by
106 copyright and certain other rights. Our licenses are
107 irrevocable. Licensors should read and understand the terms
108 and conditions of the license they choose before applying it.
109 Licensors should also secure all rights necessary before
110 applying our licenses so that the public can reuse the
111 material as expected. Licensors should clearly mark any
112 material not subject to the license. This includes other CC-
113 licensed material, or material used under an exception or
114 limitation to copyright. More considerations for licensors:
115 wiki.creativecommons.org/Considerations_for_licensors
116
117 Considerations for the public: By using one of our public
118 licenses, a licensor grants the public permission to use the
119 licensed material under specified terms and conditions. If
120 the licensor's permission is not necessary for any reason--for
121 example, because of any applicable exception or limitation to
122 copyright--then that use is not regulated by the license. Our
123 licenses grant only permissions under copyright and certain
124 other rights that a licensor has authority to grant. Use of
125 the licensed material may still be restricted for other
126 reasons, including because others have copyright or other
127 rights in the material. A licensor may make special requests,
128 such as asking that all changes be marked or described.
129 Although not required by our licenses, you are encouraged to
130 respect those requests where reasonable. More_considerations
131 for the public:
132 wiki.creativecommons.org/Considerations_for_licensees
133
134---------------------------------------------------------------------------------------
135
136Creative Commons Attribution 4.0 International Public License
137
138By exercising the Licensed Rights (defined below), You accept and agree
139to be bound by the terms and conditions of this Creative Commons
140Attribution 4.0 International Public License ("Public License"). To the
141extent this Public License may be interpreted as a contract, You are
142granted the Licensed Rights in consideration of Your acceptance of
143these terms and conditions, and the Licensor grants You such rights in
144consideration of benefits the Licensor receives from making the
145Licensed Material available under these terms and conditions.
146
147
148Section 1 -- Definitions.
149
150 a. Adapted Material means material subject to Copyright and Similar
151 Rights that is derived from or based upon the Licensed Material
152 and in which the Licensed Material is translated, altered,
153 arranged, transformed, or otherwise modified in a manner requiring
154 permission under the Copyright and Similar Rights held by the
155 Licensor. For purposes of this Public License, where the Licensed
156 Material is a musical work, performance, or sound recording,
157 Adapted Material is always produced where the Licensed Material is
158 synched in timed relation with a moving image.
159
160 b. Adapter's License means the license You apply to Your Copyright
161 and Similar Rights in Your contributions to Adapted Material in
162 accordance with the terms and conditions of this Public License.
163
164 c. Copyright and Similar Rights means copyright and/or similar rights
165 closely related to copyright including, without limitation,
166 performance, broadcast, sound recording, and Sui Generis Database
167 Rights, without regard to how the rights are labeled or
168 categorized. For purposes of this Public License, the rights
169 specified in Section 2(b)(1)-(2) are not Copyright and Similar
170 Rights.
171
172 d. Effective Technological Measures means those measures that, in the
173 absence of proper authority, may not be circumvented under laws
174 fulfilling obligations under Article 11 of the WIPO Copyright
175 Treaty adopted on December 20, 1996, and/or similar international
176 agreements.
177
178 e. Exceptions and Limitations means fair use, fair dealing, and/or
179 any other exception or limitation to Copyright and Similar Rights
180 that applies to Your use of the Licensed Material.
181
182 f. Licensed Material means the artistic or literary work, database,
183 or other material to which the Licensor applied this Public
184 License.
185
186 g. Licensed Rights means the rights granted to You subject to the
187 terms and conditions of this Public License, which are limited to
188 all Copyright and Similar Rights that apply to Your use of the
189 Licensed Material and that the Licensor has authority to license.
190
191 h. Licensor means the individual(s) or entity(ies) granting rights
192 under this Public License.
193
194 i. Share means to provide material to the public by any means or
195 process that requires permission under the Licensed Rights, such
196 as reproduction, public display, public performance, distribution,
197 dissemination, communication, or importation, and to make material
198 available to the public including in ways that members of the
199 public may access the material from a place and at a time
200 individually chosen by them.
201
202 j. Sui Generis Database Rights means rights other than copyright
203 resulting from Directive 96/9/EC of the European Parliament and of
204 the Council of 11 March 1996 on the legal protection of databases,
205 as amended and/or succeeded, as well as other essentially
206 equivalent rights anywhere in the world.
207
208 k. You means the individual or entity exercising the Licensed Rights
209 under this Public License. Your has a corresponding meaning.
210
211
212Section 2 -- Scope.
213
214 a. License grant.
215
216 1. Subject to the terms and conditions of this Public License,
217 the Licensor hereby grants You a worldwide, royalty-free,
218 non-sublicensable, non-exclusive, irrevocable license to
219 exercise the Licensed Rights in the Licensed Material to:
220
221 a. reproduce and Share the Licensed Material, in whole or
222 in part; and
223
224 b. produce, reproduce, and Share Adapted Material.
225
226 2. Exceptions and Limitations. For the avoidance of doubt, where
227 Exceptions and Limitations apply to Your use, this Public
228 License does not apply, and You do not need to comply with
229 its terms and conditions.
230
231 3. Term. The term of this Public License is specified in Section
232 6(a).
233
234 4. Media and formats; technical modifications allowed. The
235 Licensor authorizes You to exercise the Licensed Rights in
236 all media and formats whether now known or hereafter created,
237 and to make technical modifications necessary to do so. The
238 Licensor waives and/or agrees not to assert any right or
239 authority to forbid You from making technical modifications
240 necessary to exercise the Licensed Rights, including
241 technical modifications necessary to circumvent Effective
242 Technological Measures. For purposes of this Public License,
243 simply making modifications authorized by this Section 2(a)
244 (4) never produces Adapted Material.
245
246 5. Downstream recipients.
247
248 a. Offer from the Licensor -- Licensed Material. Every
249 recipient of the Licensed Material automatically
250 receives an offer from the Licensor to exercise the
251 Licensed Rights under the terms and conditions of this
252 Public License.
253
254 b. No downstream restrictions. You may not offer or impose
255 any additional or different terms or conditions on, or
256 apply any Effective Technological Measures to, the
257 Licensed Material if doing so restricts exercise of the
258 Licensed Rights by any recipient of the Licensed
259 Material.
260
261 6. No endorsement. Nothing in this Public License constitutes or
262 may be construed as permission to assert or imply that You
263 are, or that Your use of the Licensed Material is, connected
264 with, or sponsored, endorsed, or granted official status by,
265 the Licensor or others designated to receive attribution as
266 provided in Section 3(a)(1)(A)(i).
267
268 b. Other rights.
269
270 1. Moral rights, such as the right of integrity, are not
271 licensed under this Public License, nor are publicity,
272 privacy, and/or other similar personality rights; however, to
273 the extent possible, the Licensor waives and/or agrees not to
274 assert any such rights held by the Licensor to the limited
275 extent necessary to allow You to exercise the Licensed
276 Rights, but not otherwise.
277
278 2. Patent and trademark rights are not licensed under this
279 Public License.
280
281 3. To the extent possible, the Licensor waives any right to
282 collect royalties from You for the exercise of the Licensed
283 Rights, whether directly or through a collecting society
284 under any voluntary or waivable statutory or compulsory
285 licensing scheme. In all other cases the Licensor expressly
286 reserves any right to collect such royalties.
287
288
289Section 3 -- License Conditions.
290
291Your exercise of the Licensed Rights is expressly made subject to the
292following conditions.
293
294 a. Attribution.
295
296 1. If You Share the Licensed Material (including in modified
297 form), You must:
298
299 a. retain the following if it is supplied by the Licensor
300 with the Licensed Material:
301
302 i. identification of the creator(s) of the Licensed
303 Material and any others designated to receive
304 attribution, in any reasonable manner requested by
305 the Licensor (including by pseudonym if
306 designated);
307
308 ii. a copyright notice;
309
310 iii. a notice that refers to this Public License;
311
312 iv. a notice that refers to the disclaimer of
313 warranties;
314
315 v. a URI or hyperlink to the Licensed Material to the
316 extent reasonably practicable;
317
318 b. indicate if You modified the Licensed Material and
319 retain an indication of any previous modifications; and
320
321 c. indicate the Licensed Material is licensed under this
322 Public License, and include the text of, or the URI or
323 hyperlink to, this Public License.
324
325 2. You may satisfy the conditions in Section 3(a)(1) in any
326 reasonable manner based on the medium, means, and context in
327 which You Share the Licensed Material. For example, it may be
328 reasonable to satisfy the conditions by providing a URI or
329 hyperlink to a resource that includes the required
330 information.
331
332 3. If requested by the Licensor, You must remove any of the
333 information required by Section 3(a)(1)(A) to the extent
334 reasonably practicable.
335
336 4. If You Share Adapted Material You produce, the Adapter's
337 License You apply must not prevent recipients of the Adapted
338 Material from complying with this Public License.
339
340
341Section 4 -- Sui Generis Database Rights.
342
343Where the Licensed Rights include Sui Generis Database Rights that
344apply to Your use of the Licensed Material:
345
346 a. for the avoidance of doubt, Section 2(a)(1) grants You the right
347 to extract, reuse, reproduce, and Share all or a substantial
348 portion of the contents of the database;
349
350 b. if You include all or a substantial portion of the database
351 contents in a database in which You have Sui Generis Database
352 Rights, then the database in which You have Sui Generis Database
353 Rights (but not its individual contents) is Adapted Material; and
354
355 c. You must comply with the conditions in Section 3(a) if You Share
356 all or a substantial portion of the contents of the database.
357
358For the avoidance of doubt, this Section 4 supplements and does not
359replace Your obligations under this Public License where the Licensed
360Rights include other Copyright and Similar Rights.
361
362
363Section 5 -- Disclaimer of Warranties and Limitation of Liability.
364
365 a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
366 EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
367 AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
368 ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
369 IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
370 WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
371 PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
372 ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
373 KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
374 ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
375
376 b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
377 TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
378 NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
379 INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
380 COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
381 USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
382 ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
383 DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
384 IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
385
386 c. The disclaimer of warranties and limitation of liability provided
387 above shall be interpreted in a manner that, to the extent
388 possible, most closely approximates an absolute disclaimer and
389 waiver of all liability.
390
391
392Section 6 -- Term and Termination.
393
394 a. This Public License applies for the term of the Copyright and
395 Similar Rights licensed here. However, if You fail to comply with
396 this Public License, then Your rights under this Public License
397 terminate automatically.
398
399 b. Where Your right to use the Licensed Material has terminated under
400 Section 6(a), it reinstates:
401
402 1. automatically as of the date the violation is cured, provided
403 it is cured within 30 days of Your discovery of the
404 violation; or
405
406 2. upon express reinstatement by the Licensor.
407
408 For the avoidance of doubt, this Section 6(b) does not affect any
409 right the Licensor may have to seek remedies for Your violations
410 of this Public License.
411
412 c. For the avoidance of doubt, the Licensor may also offer the
413 Licensed Material under separate terms or conditions or stop
414 distributing the Licensed Material at any time; however, doing so
415 will not terminate this Public License.
416
417 d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
418 License.
419
420
421Section 7 -- Other Terms and Conditions.
422
423 a. The Licensor shall not be bound by any additional or different
424 terms or conditions communicated by You unless expressly agreed.
425
426 b. Any arrangements, understandings, or agreements regarding the
427 Licensed Material not stated herein are separate from and
428 independent of the terms and conditions of this Public License.
429
430
431Section 8 -- Interpretation.
432
433 a. For the avoidance of doubt, this Public License does not, and
434 shall not be interpreted to, reduce, limit, restrict, or impose
435 conditions on any use of the Licensed Material that could lawfully
436 be made without permission under this Public License.
437
438 b. To the extent possible, if any provision of this Public License is
439 deemed unenforceable, it shall be automatically reformed to the
440 minimum extent necessary to make it enforceable. If the provision
441 cannot be reformed, it shall be severed from this Public License
442 without affecting the enforceability of the remaining terms and
443 conditions.
444
445 c. No term or condition of this Public License will be waived and no
446 failure to comply consented to unless expressly agreed to by the
447 Licensor.
448
449 d. Nothing in this Public License constitutes or may be interpreted
450 as a limitation upon, or waiver of, any privileges and immunities
451 that apply to the Licensor or You, including from the legal
452 processes of any jurisdiction or authority.
453
454---------------------------------------------------------------------------------------
455
456Creative Commons is not a party to its public
457licenses. Notwithstanding, Creative Commons may elect to apply one of
458its public licenses to material it publishes and in those instances
459will be considered the "Licensor." The text of the Creative Commons
460public licenses is dedicated to the public domain under the CC0 Public
461Domain Dedication. Except for the limited purpose of indicating that
462material is shared under a Creative Commons public license or as
463otherwise permitted by the Creative Commons policies published at
464creativecommons.org/policies, Creative Commons does not authorize the
465use of the trademark "Creative Commons" or any other trademark or logo
466of Creative Commons without its prior written consent including,
467without limitation, in connection with any unauthorized modifications
468to any of its public licenses or any other arrangements,
469understandings, or agreements concerning use of licensed material. For
470the avoidance of doubt, this paragraph does not form part of the
471public licenses.
472
473Creative Commons may be contacted at creativecommons.org.