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