LICENSE 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416
  1. Tencent is pleased to support the open source community by making WCDB available. 
  2. Copyright (C) 2017 THL A29 Limited, a Tencent company.  All rights reserved.
  3. If you have downloaded a copy of the WCDB binary from Tencent, please note that
  4. the WCDB binary is licensed under the BSD 3-Clause License.
  5. If you have downloaded a copy of the WCDB source code from Tencent, please note
  6. that WCDB source code is licensed under the BSD 3-Clause License, except for
  7. the third-party components listed below which are subject to different license
  8. terms.  Your integration of WCDB into your own projects may require compliance
  9. with the BSD 3-Clause License, as well as the other licenses applicable to the
  10. third-party components included within WCDB.
  11. A copy of the BSD 3-Clause License is included in this file.
  12. Other dependencies and licenses:
  13.  
  14. Open Source Software Licensed Under the Apache License, Version 2.0:
  15. The below software in this distribution may have been modified by THL A29 Limited
  16. (“Tencent Modifications”).
  17. All Tencent Modifications are Copyright (C) 2017 THL A29 Limited.
  18. ----------------------------------------------------------------------------------------
  19. 1. Android Source Code  4.3
  20. Copyright (C) 2006-2011 The Android Open Source Project
  21.  
  22.  
  23. Terms of the Apache License, Version 2.0:
  24. ---------------------------------------------------
  25. Apache License
  26. Version 2.0, January 2004
  27. http://www.apache.org/licenses/
  28.  
  29. TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
  30.  
  31. 1. Definitions.
  32.  
  33. “License” shall mean the terms and conditions for use, reproduction, and distribution
  34. as defined by Sections 1 through 9 of this document.
  35.  
  36. “Licensor” shall mean the copyright owner or entity authorized by the copyright owner
  37. that is granting the License.
  38.  
  39. “Legal Entity” shall mean the union of the acting entity and all other entities that
  40. control, are controlled by, or are under common control with that entity. For the
  41. purposes of this definition, “control” means (i) the power, direct or indirect, to
  42. cause the direction or management of such entity, whether by contract or otherwise,
  43. or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or
  44. (iii) beneficial ownership of such entity.
  45.  
  46. “You” (or “Your”) shall mean an individual or Legal Entity exercising permissions
  47. granted by this License.
  48.  
  49. “Source” form shall mean the preferred form for making modifications, including but
  50. not limited to software source code, documentation source, and configuration files.
  51.  
  52. “Object” form shall mean any form resulting from mechanical transformation or
  53. translation of a Source form, including but not limited to compiled object code,
  54. generated documentation, and conversions to other media types.
  55.  
  56. “Work” shall mean the work of authorship, whether in Source or Object form, made
  57. available under the License, as indicated by a copyright notice that is included
  58. in or attached to the work (an example is provided in the Appendix below).
  59.  
  60. “Derivative Works” shall mean any work, whether in Source or Object form, that is
  61. based on (or derived from) the Work and for which the editorial revisions,
  62. annotations, elaborations, or other modifications represent, as a whole, an
  63. original work of authorship. For the purposes of this License, Derivative Works
  64. shall not include works that remain separable from, or merely link (or bind by
  65. name) to the interfaces of, the Work and Derivative Works thereof.
  66.  
  67. “Contribution” shall mean any work of authorship, including the original version
  68. of the Work and any modifications or additions to that Work or Derivative Works
  69. thereof, that is intentionally submitted to Licensor for inclusion in the Work
  70. by the copyright owner or by an individual or Legal Entity authorized to submit
  71. on behalf of the copyright owner. For the purposes of this definition, “submitted”
  72. means any form of electronic, verbal, or written communication sent to the
  73. Licensor or its representatives, including but not limited to communication on
  74. electronic mailing lists, source code control systems, and issue tracking systems
  75. that are managed by, or on behalf of, the Licensor for the purpose of discussing
  76. and improving the Work, but excluding communication that is conspicuously marked
  77. or otherwise designated in writing by the copyright owner as “Not a Contribution.”
  78.  
  79. “Contributor” shall mean Licensor and any individual or Legal Entity on behalf
  80. of whom a Contribution has been received by Licensor and subsequently
  81. incorporated within the Work.
  82.  
  83. 2. Grant of Copyright License. Subject to the terms and conditions of this License,
  84. each Contributor hereby grants to You a perpetual, worldwide, non-exclusive,
  85. no-charge, royalty-free, irrevocable copyright license to reproduce, prepare
  86. Derivative Works of, publicly display, publicly perform, sublicense, and distribute
  87. the Work and such Derivative Works in Source or Object form.
  88.  
  89. 3. Grant of Patent License. Subject to the terms and conditions of this License,
  90. each Contributor hereby grants to You a perpetual, worldwide, non-exclusive,
  91. no-charge, royalty-free, irrevocable (except as stated in this section) patent
  92. license to make, have made, use, offer to sell, sell, import, and otherwise transfer
  93. the Work, where such license applies only to those patent claims licensable by such
  94. Contributor that are necessarily infringed by their Contribution(s) alone or by
  95. combination of their Contribution(s) with the Work to which such Contribution(s) was
  96. submitted. If You institute patent litigation against any entity (including a
  97. cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution
  98. incorporated within the Work constitutes direct or contributory patent infringement,
  99. then any patent licenses granted to You under this License for that Work shall
  100. terminate as of the date such litigation is filed.
  101.  
  102. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative
  103. Works thereof in any medium, with or without modifications, and in Source or Object
  104. form, provided that You meet the following conditions:
  105.  
  106. a) You must give any other recipients of the Work or Derivative Works a copy of this
  107. License; and
  108.  
  109. b) You must cause any modified files to carry prominent notices stating that You
  110. changed the files; and
  111.  
  112. c) You must retain, in the Source form of any Derivative Works that You distribute,
  113. all copyright, patent, trademark, and attribution notices from the Source form of
  114. the Work, excluding those notices that do not pertain to any part of the Derivative
  115. Works; and
  116.  
  117. d) If the Work includes a “NOTICE” text file as part of its distribution, then any
  118. Derivative Works that You distribute must include a readable copy of the attribution
  119. notices contained within such NOTICE file, excluding those notices that do not pertain
  120. to any part of the Derivative Works, in at least one of the following places: within
  121. a NOTICE text file distributed as part of the Derivative Works; within the Source
  122. form or documentation, if provided along with the Derivative Works; or, within a
  123. display generated by the Derivative Works, if and wherever such third-party notices
  124. normally appear. The contents of the NOTICE file are for informational purposes only
  125. and do not modify the License. You may add Your own attribution notices within
  126. Derivative Works that You distribute, alongside or as an addendum to the NOTICE text
  127. from the Work, provided that such additional attribution notices cannot be construed
  128. as modifying the License.
  129.  
  130. You may add Your own copyright statement to Your modifications and may provide
  131. additional or different license terms and conditions for use, reproduction, or
  132. distribution of Your modifications, or for any such Derivative Works as a whole,
  133. provided Your use, reproduction, and distribution of the Work otherwise complies with
  134. the conditions stated in this License.
  135.  
  136. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution
  137. intentionally submitted for inclusion in the Work by You to the Licensor shall be under
  138. the terms and conditions of this License, without any additional terms or conditions.
  139. Notwithstanding the above, nothing herein shall supersede or modify the terms of any
  140. separate license agreement you may have executed with Licensor regarding such
  141. Contributions.
  142.  
  143. 6. Trademarks. This License does not grant permission to use the trade names, trademarks,
  144. service marks, or product names of the Licensor, except as required for reasonable and
  145. customary use in describing the origin of the Work and reproducing the content of the
  146. NOTICE file.
  147.  
  148. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing,
  149. Licensor provides the Work (and each Contributor provides its Contributions) on an
  150. “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied,
  151. including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT,
  152. MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for
  153. determining the appropriateness of using or redistributing the Work and assume any risks
  154. associated with Your exercise of permissions under this License.
  155.  
  156. 8. Limitation of Liability. In no event and under no legal theory, whether in tort
  157. (including negligence), contract, or otherwise, unless required by applicable law (such
  158. as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor
  159. be liable to You for damages, including any direct, indirect, special, incidental, or
  160. consequential damages of any character arising as a result of this License or out of the
  161. use or inability to use the Work (including but not limited to damages for loss of
  162. goodwill, work stoppage, computer failure or malfunction, or any and all other commercial
  163. damages or losses), even if such Contributor has been advised of the possibility of such
  164. damages.
  165. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative
  166. Works thereof, You may choose to offer, and charge a fee for, acceptance of support,
  167. warranty, indemnity, or other liability obligations and/or rights consistent with this
  168. License. However, in accepting such obligations, You may act only on Your own behalf and
  169. on Your sole responsibility, not on behalf of any other Contributor, and only if You agree
  170. to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or
  171. claims asserted against, such Contributor by reason of your accepting any such warranty or
  172. additional liability.
  173.  
  174. END OF TERMS AND CONDITIONS
  175.  
  176. APPENDIX: How to apply the Apache License to your work
  177. To apply the Apache License to your work, attach the following boilerplate notice, with the
  178. fields enclosed by brackets "[]" replaced with your own identifying information. (Don't
  179. include the brackets!) The text should be enclosed in the appropriate comment syntax for
  180. the file format. We also recommend that a file or class name and description of purpose be
  181. included on the same "printed page" as the copyright notice for easier identification within
  182. third-party archives.
  183.  
  184. Copyright [yyyy] [name of copyright owner]
  185.  
  186. Licensed under the Apache License, Version 2.0 (the "License");
  187. you may not use this file except in compliance with the License.
  188. You may obtain a copy of the License at
  189. http://www.apache.org/licenses/LICENSE-2.0
  190. Unless required by applicable law or agreed to in writing, software
  191. distributed under the License is distributed on an "AS IS" BASIS,
  192. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  193. See the License for the specific language governing permissions and
  194. limitations under the License.
  195.  
  196.  
  197.  
  198. Open Source Software Licensed Under Public Domain:
  199. The below software in this distribution may have been modified by THL A29 Limited
  200. (“Tencent Modifications”).
  201. All Tencent Modifications are Copyright (C) 2017 THL A29 Limited.
  202. ----------------------------------------------------------------------------------------
  203. 1. SQLite  3.11.0
  204.  
  205.  
  206.  
  207. Open Source Software Licensed Under the OpenSSL License:
  208. The below software in this distribution may have been modified by THL A29 Limited
  209. (“Tencent Modifications”).
  210. All Tencent Modifications are Copyright (C) 2017 THL A29 Limited.
  211. ----------------------------------------------------------------------------------------
  212. 1. OpenSSL  1.0.2j
  213. Copyright (c) 1998-2016 The OpenSSL Project.
  214. All rights reserved.
  215. Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
  216. All rights reserved.
  217.  
  218.  
  219.  
  220. Terms of the OpenSSL License:
  221. ---------------------------------------------------
  222. LICENSE ISSUES:
  223. --------------------------------------------------------------------
  224.  
  225. The OpenSSL toolkit stays under a dual license, i.e. both the conditions of the
  226. OpenSSL License and the original SSLeay license apply to the toolkit.
  227. See below for the actual license texts.
  228.  
  229. OpenSSL License:
  230. --------------------------------------------------------------------
  231. Copyright (c) 1998-2016 The OpenSSL Project.  All rights reserved.
  232.  
  233. Redistribution and use in source and binary forms, with or without modification,
  234. are permitted provided that the following conditions are met:
  235.  
  236. 1. Redistributions of source code must retain the above copyright notice, this list
  237. of conditions and the following disclaimer.
  238.  
  239. 2. Redistributions in binary form must reproduce the above copyright notice, this
  240. list of conditions and the following disclaimer in the documentation and/or other
  241. materials provided with the distribution.
  242.  
  243. 3. All advertising materials mentioning features or use of this software must
  244. display the following acknowledgment:
  245. "This product includes software developed by the OpenSSL Project for use in the
  246. OpenSSL Toolkit. (http://www.openssl.org/)"
  247.  
  248. 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to endorse or
  249. promote products derived from this software without prior written permission. For
  250. written permission, please contact openssl-core@openssl.org.
  251.  
  252. 5. Products derived from this software may not be called "OpenSSL" nor may "OpenSSL"
  253. appear in their names without prior written permission of the OpenSSL Project.
  254.  
  255. 6. Redistributions of any form whatsoever must retain the following acknowledgment:
  256. "This product includes software developed by the OpenSSL Project for use in the
  257. OpenSSL Toolkit (http://www.openssl.org/)"
  258.  
  259. THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY EXPRESSED OR
  260. IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  261. MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
  262. SHALL THE OpenSSL PROJECT OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
  263. INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  264. LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
  265. PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
  266. WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  267. ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  268. POSSIBILITY OF SUCH DAMAGE.
  269. ====================================================================
  270. * This product includes cryptographic software written by Eric Young (eay@cryptsoft.com). 
  271. This product includes software written by Tim Hudson (tjh@cryptsoft.com).
  272.  
  273.  
  274. Original SSLeay License:
  275. --------------------------------------------------------------------
  276. Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
  277. All rights reserved.
  278.  
  279. This package is an SSL implementation written by Eric Young (eay@cryptsoft.com).
  280. The implementation was written so as to conform with Netscapes SSL.
  281.  
  282. This library is free for commercial and non-commercial use as long as the following
  283. conditions are aheared to. The following conditions apply to all code found in this
  284. distribution, be it the RC4, RSA, lhash, DES, etc., code; not just the SSL code.
  285. The SSL documentation included with this distribution is covered by the same copyright
  286. terms except that the holder is Tim Hudson (tjh@cryptsoft.com).
  287.  
  288. Copyright remains Eric Young's, and as such any Copyright notices in the code are not
  289. to be removed.  If this package is used in a product, Eric Young should be given
  290. attribution as the author of the parts of the library used. This can be in the form
  291. of a textual message at program startup or in documentation (online or textual)
  292. provided with the package.
  293.  
  294. Redistribution and use in source and binary forms, with or without modification, are
  295. permitted provided that the following conditions are met:
  296. 1. Redistributions of source code must retain the copyright notice, this list of
  297. conditions and the following disclaimer.
  298. 2. Redistributions in binary form must reproduce the above copyright notice, this list
  299. of conditions and the following disclaimer in the documentation and/or other materials
  300. provided with the distribution.
  301. 3. All advertising materials mentioning features or use of this software must display
  302. the following acknowledgement:" This product includes cryptographic software written
  303. by Eric Young (eay@cryptsoft.com)" The word 'cryptographic' can be left out if the
  304. rouines from the library being used are not cryptographic related :-).
  305. 4. If you include any Windows specific code (or a derivative thereof) from the apps
  306. directory (application code) you must include an acknowledgement: "This product includes
  307. software written by Tim Hudson (tjh@cryptsoft.com)"
  308.  
  309. THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
  310. INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  311. A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE
  312. LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  313. (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  314. DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
  315. WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
  316. IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
  317. DAMAGE.
  318.  
  319. The licence and distribution terms for any publically available version or derivative of
  320. this code cannot be changed.  i.e. this code cannot simply be copied and put under another
  321. distribution licence [including the GNU Public Licence.]
  322.  
  323.  
  324.  
  325. Open Source Software Licensed Under the ICU License:
  326. ----------------------------------------------------------------------------------------
  327. 1. ICU4C  50.1
  328. Copyright (c) 1995-2012 International Business Machines Corporation and others
  329. All rights reserved.
  330.  
  331.  
  332. Terms of the ICU License:
  333. --------------------------------------------------------------------
  334. ICU License - ICU 1.8.1 and later
  335.  
  336. COPYRIGHT AND PERMISSION NOTICE
  337.  
  338. Copyright (c) 1995-2012 International Business Machines Corporation and others
  339.  
  340. All rights reserved.
  341.  
  342. Permission is hereby granted, free of charge, to any person obtaining a copy of
  343. this software and associated documentation files (the "Software"), to deal in the
  344. Software without restriction, including without limitation the rights to use, copy,
  345. modify, merge, publish, distribute, and/or sell copies of the Software, and to permit
  346. persons to whom the Software is furnished to do so, provided that the above copyright
  347. notice(s) and this permission notice appear in all copies of the Software and that both
  348. the above copyright notice(s) and this permission notice appear in supporting
  349. documentation.
  350.  
  351. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
  352. INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
  353. PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER
  354. OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR
  355. CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
  356. PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
  357. OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  358.  
  359. Except as contained in this notice, the name of a copyright holder shall not be used in
  360. advertising or otherwise to promote the sale, use or other dealings in this Software
  361. without prior written authorization of the copyright holder.
  362.  
  363. All trademarks and registered trademarks mentioned herein are the property of their
  364. respective owners.
  365.  
  366.  
  367. Open Source Software Licensed Under the BSD 3-Clause License:
  368. The below software in this distribution may have been modified by THL A29 Limited
  369. (“Tencent Modifications”).
  370. All Tencent Modifications are Copyright (C) 2017 THL A29 Limited.
  371. ----------------------------------------------------------------------------------------
  372. 1. SQLCipher  3.4.0
  373. Copyright (c) 2008, ZETETIC LLC
  374. All rights reserved.
  375.  
  376.  
  377.  
  378. Terms of the BSD 3-Clause License:
  379. --------------------------------------------------------------------
  380.  
  381. Redistribution and use in source and binary forms, with or without modification,
  382. are permitted provided that the following conditions are met:
  383. l  Redistributions of source code must retain the above copyright notice, this list
  384. of conditions and the following disclaimer.
  385. l  Redistributions in binary form must reproduce the above copyright notice, this
  386. list of conditions and the following disclaimer in the documentation and/or other
  387. materials provided with the distribution.
  388. l  Neither the name of [copyright holder] nor the names of its contributors may be
  389. used to endorse or promote products derived from this software without specific
  390. prior written permission.
  391. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
  392. AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  393. WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
  394. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
  395. INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
  396. NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
  397. PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
  398. WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  399. ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  400. POSSIBILITY OF SUCH DAMAGE.