LICENSE.txt 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  1. LICENSE
  2. Copyright (c) 2008 N. Quaine - NexWave Solutions All Rights Reserved.
  3. CONDITIONS
  4. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
  5. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  6. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  7. Neither the name of the copyright holders nor the names of the contributors may be used to endorse or promote products derived from this software without specific prior written permission.
  8. DISCLAIMER
  9. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
  10. IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
  11. FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
  12. CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  13. CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
  14. SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  15. THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
  16. OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  17. POSSIBILITY OF SUCH DAMAGE.
  18. Apache License
  19. Version 2.0, January 2004
  20. http://www.apache.org/licenses/
  21. TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
  22. 1. Definitions.
  23. "License" shall mean the terms and conditions for use, reproduction,
  24. and distribution as defined by Sections 1 through 9 of this document.
  25. "Licensor" shall mean the copyright owner or entity authorized by
  26. the copyright owner that is granting the License.
  27. "Legal Entity" shall mean the union of the acting entity and all
  28. other entities that control, are controlled by, or are under common
  29. control with that entity. For the purposes of this definition,
  30. "control" means (i) the power, direct or indirect, to cause the
  31. direction or management of such entity, whether by contract or
  32. otherwise, or (ii) ownership of fifty percent (50%) or more of the
  33. outstanding shares, or (iii) beneficial ownership of such entity.
  34. "You" (or "Your") shall mean an individual or Legal Entity
  35. exercising permissions granted by this License.
  36. "Source" form shall mean the preferred form for making modifications,
  37. including but not limited to software source code, documentation
  38. source, and configuration files.
  39. "Object" form shall mean any form resulting from mechanical
  40. transformation or translation of a Source form, including but
  41. not limited to compiled object code, generated documentation,
  42. and conversions to other media types.
  43. "Work" shall mean the work of authorship, whether in Source or
  44. Object form, made available under the License, as indicated by a
  45. copyright notice that is included in or attached to the work
  46. (an example is provided in the Appendix below).
  47. "Derivative Works" shall mean any work, whether in Source or Object
  48. form, that is based on (or derived from) the Work and for which the
  49. editorial revisions, annotations, elaborations, or other modifications
  50. represent, as a whole, an original work of authorship. For the purposes
  51. of this License, Derivative Works shall not include works that remain
  52. separable from, or merely link (or bind by name) to the interfaces of,
  53. the Work and Derivative Works thereof.
  54. "Contribution" shall mean any work of authorship, including
  55. the original version of the Work and any modifications or additions
  56. to that Work or Derivative Works thereof, that is intentionally
  57. submitted to Licensor for inclusion in the Work by the copyright owner
  58. or by an individual or Legal Entity authorized to submit on behalf of
  59. the copyright owner. For the purposes of this definition, "submitted"
  60. means any form of electronic, verbal, or written communication sent
  61. to the Licensor or its representatives, including but not limited to
  62. communication on electronic mailing lists, source code control systems,
  63. and issue tracking systems that are managed by, or on behalf of, the
  64. Licensor for the purpose of discussing and improving the Work, but
  65. excluding communication that is conspicuously marked or otherwise
  66. designated in writing by the copyright owner as "Not a Contribution."
  67. "Contributor" shall mean Licensor and any individual or Legal Entity
  68. on behalf of whom a Contribution has been received by Licensor and
  69. subsequently incorporated within the Work.
  70. 2. Grant of Copyright License. Subject to the terms and conditions of
  71. this License, each Contributor hereby grants to You a perpetual,
  72. worldwide, non-exclusive, no-charge, royalty-free, irrevocable
  73. copyright license to reproduce, prepare Derivative Works of,
  74. publicly display, publicly perform, sublicense, and distribute the
  75. Work and such Derivative Works in Source or Object form.
  76. 3. Grant of Patent License. Subject to the terms and conditions of
  77. this License, each Contributor hereby grants to You a perpetual,
  78. worldwide, non-exclusive, no-charge, royalty-free, irrevocable
  79. (except as stated in this section) patent license to make, have made,
  80. use, offer to sell, sell, import, and otherwise transfer the Work,
  81. where such license applies only to those patent claims licensable
  82. by such Contributor that are necessarily infringed by their
  83. Contribution(s) alone or by combination of their Contribution(s)
  84. with the Work to which such Contribution(s) was submitted. If You
  85. institute patent litigation against any entity (including a
  86. cross-claim or counterclaim in a lawsuit) alleging that the Work
  87. or a Contribution incorporated within the Work constitutes direct
  88. or contributory patent infringement, then any patent licenses
  89. granted to You under this License for that Work shall terminate
  90. as of the date such litigation is filed.
  91. 4. Redistribution. You may reproduce and distribute copies of the
  92. Work or Derivative Works thereof in any medium, with or without
  93. modifications, and in Source or Object form, provided that You
  94. meet the following conditions:
  95. (a) You must give any other recipients of the Work or
  96. Derivative Works a copy of this License; and
  97. (b) You must cause any modified files to carry prominent notices
  98. stating that You changed the files; and
  99. (c) You must retain, in the Source form of any Derivative Works
  100. that You distribute, all copyright, patent, trademark, and
  101. attribution notices from the Source form of the Work,
  102. excluding those notices that do not pertain to any part of
  103. the Derivative Works; and
  104. (d) If the Work includes a "NOTICE" text file as part of its
  105. distribution, then any Derivative Works that You distribute must
  106. include a readable copy of the attribution notices contained
  107. within such NOTICE file, excluding those notices that do not
  108. pertain to any part of the Derivative Works, in at least one
  109. of the following places: within a NOTICE text file distributed
  110. as part of the Derivative Works; within the Source form or
  111. documentation, if provided along with the Derivative Works; or,
  112. within a display generated by the Derivative Works, if and
  113. wherever such third-party notices normally appear. The contents
  114. of the NOTICE file are for informational purposes only and
  115. do not modify the License. You may add Your own attribution
  116. notices within Derivative Works that You distribute, alongside
  117. or as an addendum to the NOTICE text from the Work, provided
  118. that such additional attribution notices cannot be construed
  119. as modifying the License.
  120. You may add Your own copyright statement to Your modifications and
  121. may provide additional or different license terms and conditions
  122. for use, reproduction, or distribution of Your modifications, or
  123. for any such Derivative Works as a whole, provided Your use,
  124. reproduction, and distribution of the Work otherwise complies with
  125. the conditions stated in this License.
  126. 5. Submission of Contributions. Unless You explicitly state otherwise,
  127. any Contribution intentionally submitted for inclusion in the Work
  128. by You to the Licensor shall be under the terms and conditions of
  129. this License, without any additional terms or conditions.
  130. Notwithstanding the above, nothing herein shall supersede or modify
  131. the terms of any separate license agreement you may have executed
  132. with Licensor regarding such Contributions.
  133. 6. Trademarks. This License does not grant permission to use the trade
  134. names, trademarks, service marks, or product names of the Licensor,
  135. except as required for reasonable and customary use in describing the
  136. origin of the Work and reproducing the content of the NOTICE file.
  137. 7. Disclaimer of Warranty. Unless required by applicable law or
  138. agreed to in writing, Licensor provides the Work (and each
  139. Contributor provides its Contributions) on an "AS IS" BASIS,
  140. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
  141. implied, including, without limitation, any warranties or conditions
  142. of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
  143. PARTICULAR PURPOSE. You are solely responsible for determining the
  144. appropriateness of using or redistributing the Work and assume any
  145. risks associated with Your exercise of permissions under this License.
  146. 8. Limitation of Liability. In no event and under no legal theory,
  147. whether in tort (including negligence), contract, or otherwise,
  148. unless required by applicable law (such as deliberate and grossly
  149. negligent acts) or agreed to in writing, shall any Contributor be
  150. liable to You for damages, including any direct, indirect, special,
  151. incidental, or consequential damages of any character arising as a
  152. result of this License or out of the use or inability to use the
  153. Work (including but not limited to damages for loss of goodwill,
  154. work stoppage, computer failure or malfunction, or any and all
  155. other commercial damages or losses), even if such Contributor
  156. has been advised of the possibility of such damages.
  157. 9. Accepting Warranty or Additional Liability. While redistributing
  158. the Work or Derivative Works thereof, You may choose to offer,
  159. and charge a fee for, acceptance of support, warranty, indemnity,
  160. or other liability obligations and/or rights consistent with this
  161. License. However, in accepting such obligations, You may act only
  162. on Your own behalf and on Your sole responsibility, not on behalf
  163. of any other Contributor, and only if You agree to indemnify,
  164. defend, and hold each Contributor harmless for any liability
  165. incurred by, or claims asserted against, such Contributor by reason
  166. of your accepting any such warranty or additional liability.
  167. END OF TERMS AND CONDITIONS
  168. APPENDIX: How to apply the Apache License to your work.
  169. To apply the Apache License to your work, attach the following
  170. boilerplate notice, with the fields enclosed by brackets "[]"
  171. replaced with your own identifying information. (Don't include
  172. the brackets!) The text should be enclosed in the appropriate
  173. comment syntax for the file format. We also recommend that a
  174. file or class name and description of purpose be included on the
  175. same "printed page" as the copyright notice for easier
  176. identification within third-party archives.
  177. Copyright [yyyy] [name of copyright owner]
  178. Licensed under the Apache License, Version 2.0 (the "License");
  179. you may not use this file except in compliance with the License.
  180. You may obtain a copy of the License at
  181. http://www.apache.org/licenses/LICENSE-2.0
  182. Unless required by applicable law or agreed to in writing, software
  183. distributed under the License is distributed on an "AS IS" BASIS,
  184. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  185. See the License for the specific language governing permissions and
  186. limitations under the License.
  187. Some code in src/java/org/apache/lucene/util/UnicodeUtil.java was
  188. derived from unicode conversion examples available at
  189. http://www.unicode.org/Public/PROGRAMS/CVTUTF. Here is the copyright
  190. from those sources:
  191. /*
  192. * Copyright 2001-2004 Unicode, Inc.
  193. *
  194. * Disclaimer
  195. *
  196. * This source code is provided as is by Unicode, Inc. No claims are
  197. * made as to fitness for any particular purpose. No warranties of any
  198. * kind are expressed or implied. The recipient agrees to determine
  199. * applicability of information provided. If this file has been
  200. * purchased on magnetic or optical media from Unicode, Inc., the
  201. * sole remedy for any claim will be exchange of defective media
  202. * within 90 days of receipt.
  203. *
  204. * Limitations on Rights to Redistribute This Code
  205. *
  206. * Unicode, Inc. hereby grants the right to freely use the information
  207. * supplied in this file in the creation of products supporting the
  208. * Unicode Standard, and to make copies of this file in any form
  209. * for internal or external distribution as long as this notice
  210. * remains attached.
  211. */
  212. Some code in src/java/org/apache/lucene/util/ArrayUtil.java was
  213. derived from Python 2.4.2 sources available at
  214. http://www.python.org. Full license is here:
  215. http://www.python.org/download/releases/2.4.2/license/