本站源代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

224 lines
11KB

  1. The Code Project Open License (CPOL) 1.02
  2. Preamble
  3. This License governs Your use of the Work. This License is intended to allow
  4. developers to use the Source Code and Executable Files provided as part of
  5. the Work in any application in any form.
  6. The main points subject to the terms of the License are:
  7. - Source Code and Executable Files can be used in commercial applications;
  8. - Source Code and Executable Files can be redistributed; and
  9. - Source Code can be modified to create derivative works.
  10. - No claim of suitability, guarantee, or any warranty whatsoever is provided.
  11. The software is provided "as-is".
  12. - The Article accompanying the Work may not be distributed or republished
  13. without the Author's consent
  14. This License is entered between You, the individual or other entity reading
  15. or otherwise making use of the Work licensed pursuant to this License and
  16. the individual or other entity which offers the Work under the terms of this
  17. License ("Author").
  18. License
  19. THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CODE PROJECT
  20. OPEN LICENSE ("LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER
  21. APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE
  22. OR COPYRIGHT LAW IS PROHIBITED.
  23. BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HEREIN, YOU ACCEPT AND AGREE
  24. TO BE BOUND BY THE TERMS OF THIS LICENSE. THE AUTHOR GRANTS YOU THE RIGHTS
  25. CONTAINED HEREIN IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
  26. IF YOU DO NOT AGREE TO ACCEPT AND BE BOUND BY THE TERMS OF THIS LICENSE, YOU
  27. CANNOT MAKE ANY USE OF THE WORK.
  28. 1. Definitions.
  29. a. "Articles" means, collectively, all articles written by Author which describes
  30. how the Source Code and Executable Files for the Work may be used by a user.
  31. b. "Author" means the individual or entity that offers the Work under the
  32. terms of this License.
  33. c. "Derivative Work" means a work based upon the Work or upon the Work and
  34. other pre-existing works.
  35. d. "Executable Files" refer to the executables, binary files, configuration
  36. and any required data files included in the Work.
  37. e. "Publisher" means the provider of the website, magazine, CD-ROM, DVD or
  38. other medium from or by which the Work is obtained by You.
  39. f. "Source Code" refers to the collection of source code and configuration
  40. files used to create the Executable Files.
  41. g. "Standard Version" refers to such a Work if it has not been modified, or
  42. has been modified in accordance with the consent of the Author, such consent
  43. being in the full discretion of the Author.
  44. h. "Work" refers to the collection of files distributed by the Publisher,
  45. including the Source Code, Executable Files, binaries, data files, documentation,
  46. whitepapers and the Articles.
  47. i. "You" is you, an individual or entity wishing to use the Work and exercise
  48. your rights under this License.
  49. 2. Fair Use/Fair Use Rights. Nothing in this License is intended to reduce,
  50. limit, or restrict any rights arising from fair use, fair dealing, first sale
  51. or other limitations on the exclusive rights of the copyright owner under
  52. copyright law or other applicable laws.
  53. 3. License Grant. Subject to the terms and conditions of this License, the
  54. Author hereby grants You a worldwide, royalty-free, non-exclusive, perpetual
  55. (for the duration of the applicable copyright) license to exercise the rights
  56. in the Work as stated below:
  57. a. You may use the standard version of the Source Code or Executable Files
  58. in Your own applications.
  59. b. You may apply bug fixes, portability fixes and other modifications obtained
  60. from the Public Domain or from the Author. A Work modified in such a way shall
  61. still be considered the standard version and will be subject to this License.
  62. c. You may otherwise modify Your copy of this Work (excluding the Articles)
  63. in any way to create a Derivative Work, provided that You insert a prominent
  64. notice in each changed file stating how, when and where You changed that file.
  65. d. You may distribute the standard version of the Executable Files and Source
  66. Code or Derivative Work in aggregate with other (possibly commercial) programs
  67. as part of a larger (possibly commercial) software distribution.
  68. e. The Articles discussing the Work published in any form by the author may
  69. not be distributed or republished without the Author's consent. The author
  70. retains copyright to any such Articles. You may use the Executable Files and
  71. Source Code pursuant to this License but you may not repost or republish or
  72. otherwise distribute or make available the Articles, without the prior written
  73. consent of the Author.
  74. Any subroutines or modules supplied by You and linked into the Source Code
  75. or Executable Files of this Work shall not be considered part of this Work
  76. and will not be subject to the terms of this License.
  77. 4. Patent License. Subject to the terms and conditions of this License, each
  78. Author hereby grants to You a perpetual, worldwide, non-exclusive, no-charge,
  79. royalty-free, irrevocable (except as stated in this section) patent license
  80. to make, have made, use, import, and otherwise transfer the Work.
  81. 5. Restrictions. The license granted in Section 3 above is expressly made
  82. subject to and limited by the following restrictions:
  83. a. You agree not to remove any of the original copyright, patent, trademark,
  84. and attribution notices and associated disclaimers that may appear in the
  85. Source Code or Executable Files.
  86. b. You agree not to advertise or in any way imply that this Work is a product
  87. of Your own.
  88. c. The name of the Author may not be used to endorse or promote products derived
  89. from the Work without the prior written consent of the Author.
  90. d. You agree not to sell, lease, or rent any part of the Work. This does not
  91. restrict you from including the Work or any part of the Work inside a larger
  92. software distribution that itself is being sold. The Work by itself, though,
  93. cannot be sold, leased or rented.
  94. e. You may distribute the Executable Files and Source Code only under the
  95. terms of this License, and You must include a copy of, or the Uniform Resource
  96. Identifier for, this License with every copy of the Executable Files or Source
  97. Code You distribute and ensure that anyone receiving such Executable Files
  98. and Source Code agrees that the terms of this License apply to such Executable
  99. Files and/or Source Code. You may not offer or impose any terms on the Work
  100. that alter or restrict the terms of this License or the recipients' exercise
  101. of the rights granted hereunder. You may not sublicense the Work. You must
  102. keep intact all notices that refer to this License and to the disclaimer of
  103. warranties. You may not distribute the Executable Files or Source Code with
  104. any technological measures that control access or use of the Work in a manner
  105. inconsistent with the terms of this License.
  106. f. You agree not to use the Work for illegal, immoral or improper purposes,
  107. or on pages containing illegal, immoral or improper material. The Work is
  108. subject to applicable export laws. You agree to comply with all such laws
  109. and regulations that may apply to the Work after Your receipt of the Work.
  110. 6. Representations, Warranties and Disclaimer. THIS WORK IS PROVIDED "AS IS",
  111. "WHERE IS" AND "AS AVAILABLE", WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES OR
  112. CONDITIONS OR GUARANTEES. YOU, THE USER, ASSUME ALL RISK IN ITS USE, INCLUDING
  113. COPYRIGHT INFRINGEMENT, PATENT INFRINGEMENT, SUITABILITY, ETC. AUTHOR EXPRESSLY
  114. DISCLAIMS ALL EXPRESS, IMPLIED OR STATUTORY WARRANTIES OR CONDITIONS, INCLUDING
  115. WITHOUT LIMITATION, WARRANTIES OR CONDITIONS OF MERCHANTABILITY, MERCHANTABLE
  116. QUALITY OR FITNESS FOR A PARTICULAR PURPOSE, OR ANY WARRANTY OF TITLE OR NON-INFRINGEMENT,
  117. OR THAT THE WORK (OR ANY PORTION THEREOF) IS CORRECT, USEFUL, BUG-FREE OR
  118. FREE OF VIRUSES. YOU MUST PASS THIS DISCLAIMER ON WHENEVER YOU DISTRIBUTE
  119. THE WORK OR DERIVATIVE WORKS.
  120. 7. Indemnity. You agree to defend, indemnify and hold harmless the Author
  121. and the Publisher from and against any claims, suits, losses, damages, liabilities,
  122. costs, and expenses (including reasonable legal or attorneys' fees) resulting
  123. from or relating to any use of the Work by You.
  124. 8. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW,
  125. IN NO EVENT WILL THE AUTHOR OR THE PUBLISHER BE LIABLE TO YOU ON ANY LEGAL
  126. THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES
  127. ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK OR OTHERWISE, EVEN IF THE
  128. AUTHOR OR THE PUBLISHER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
  129. 9. Termination.
  130. a. This License and the rights granted hereunder will terminate automatically
  131. upon any breach by You of any term of this License. Individuals or entities
  132. who have received Derivative Works from You under this License, however, will
  133. not have their licenses terminated provided such individuals or entities remain
  134. in full compliance with those licenses. Sections 1, 2, 6, 7, 8, 9, 10 and
  135. 11 will survive any termination of this License.
  136. b. If You bring a copyright, trademark, patent or any other infringement claim
  137. against any contributor over infringements You claim are made by the Work,
  138. your License from such contributor to the Work ends automatically.
  139. c. Subject to the above terms and conditions, this License is perpetual (for
  140. the duration of the applicable copyright in the Work). Notwithstanding the
  141. above, the Author reserves the right to release the Work under different license
  142. terms or to stop distributing the Work at any time; provided, however that
  143. any such election will not serve to withdraw this License (or any other license
  144. that has been, or is required to be, granted under the terms of this License),
  145. and this License will continue in full force and effect unless terminated
  146. as stated above.
  147. 10. Publisher. The parties hereby confirm that the Publisher shall not, under
  148. any circumstances, be responsible for and shall not have any liability in
  149. respect of the subject matter of this License. The Publisher makes no warranty
  150. whatsoever in connection with the Work and shall not be liable to You or any
  151. party on any legal theory for any damages whatsoever, including without limitation
  152. any general, special, incidental or consequential damages arising in connection
  153. to this license. The Publisher reserves the right to cease making the Work
  154. available to You at any time without notice
  155. 11. Miscellaneous
  156. a. This License shall be governed by the laws of the location of the head
  157. office of the Author or if the Author is an individual, the laws of location
  158. of the principal place of residence of the Author.
  159. b. If any provision of this License is invalid or unenforceable under applicable
  160. law, it shall not affect the validity or enforceability of the remainder of
  161. the terms of this License, and without further action by the parties to this
  162. License, such provision shall be reformed to the minimum extent necessary
  163. to make such provision valid and enforceable.
  164. c. No term or provision of this License shall be deemed waived and no breach
  165. consented to unless such waiver or consent shall be in writing and signed
  166. by the party to be charged with such waiver or consent.
  167. d. This License constitutes the entire agreement between the parties with
  168. respect to the Work licensed herein. There are no understandings, agreements
  169. or representations with respect to the Work not specified herein. The Author
  170. shall not be bound by any additional provisions that may appear in any communication
  171. from You. This License may not be modified without the mutual written agreement
  172. of the Author and You.
上海开阖软件有限公司 沪ICP备12045867号-1