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.

1264 lines
67 KiB

  1. Software License Agreement
  2. ==========================
  3. CKEditor - The text editor for Internet - http://ckeditor.com
  4. Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
  5. Licensed under the terms of any of the following licenses at your
  6. choice:
  7. - GNU General Public License Version 2 or later (the "GPL")
  8. http://www.gnu.org/licenses/gpl.html
  9. (See Appendix A)
  10. - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
  11. http://www.gnu.org/licenses/lgpl.html
  12. (See Appendix B)
  13. - Mozilla Public License Version 1.1 or later (the "MPL")
  14. http://www.mozilla.org/MPL/MPL-1.1.html
  15. (See Appendix C)
  16. You are not required to, but if you want to explicitly declare the
  17. license you have chosen to be bound to when using, reproducing,
  18. modifying and distributing this software, just include a text file
  19. titled "legal.txt" in your version of this software, indicating your
  20. license choice. In any case, your choice will not restrict any
  21. recipient of your version of this software to use, reproduce, modify
  22. and distribute this software under any of the above licenses.
  23. Sources of Intellectual Property Included in CKEditor
  24. -----------------------------------------------------
  25. Where not otherwise indicated, all CKEditor content is authored by
  26. CKSource engineers and consists of CKSource-owned intellectual
  27. property. In some specific instances, CKEditor will incorporate work
  28. done by developers outside of CKSource with their express permission.
  29. Trademarks
  30. ----------
  31. CKEditor is a trademark of CKSource - Frederico Knabben. All other brand
  32. and product names are trademarks, registered trademarks or service
  33. marks of their respective holders.
  34. ---
  35. Appendix A: The GPL License
  36. ---------------------------
  37. GNU GENERAL PUBLIC LICENSE
  38. Version 2, June 1991
  39. Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
  40. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  41. Everyone is permitted to copy and distribute verbatim copies
  42. of this license document, but changing it is not allowed.
  43. Preamble
  44. The licenses for most software are designed to take away your
  45. freedom to share and change it. By contrast, the GNU General Public
  46. License is intended to guarantee your freedom to share and change free
  47. software-to make sure the software is free for all its users. This
  48. General Public License applies to most of the Free Software
  49. Foundation's software and to any other program whose authors commit to
  50. using it. (Some other Free Software Foundation software is covered by
  51. the GNU Lesser General Public License instead.) You can apply it to
  52. your programs, too.
  53. When we speak of free software, we are referring to freedom, not
  54. price. Our General Public Licenses are designed to make sure that you
  55. have the freedom to distribute copies of free software (and charge for
  56. this service if you wish), that you receive source code or can get it
  57. if you want it, that you can change the software or use pieces of it
  58. in new free programs; and that you know you can do these things.
  59. To protect your rights, we need to make restrictions that forbid
  60. anyone to deny you these rights or to ask you to surrender the rights.
  61. These restrictions translate to certain responsibilities for you if you
  62. distribute copies of the software, or if you modify it.
  63. For example, if you distribute copies of such a program, whether
  64. gratis or for a fee, you must give the recipients all the rights that
  65. you have. You must make sure that they, too, receive or can get the
  66. source code. And you must show them these terms so they know their
  67. rights.
  68. We protect your rights with two steps: (1) copyright the software, and
  69. (2) offer you this license which gives you legal permission to copy,
  70. distribute and/or modify the software.
  71. Also, for each author's protection and ours, we want to make certain
  72. that everyone understands that there is no warranty for this free
  73. software. If the software is modified by someone else and passed on, we
  74. want its recipients to know that what they have is not the original, so
  75. that any problems introduced by others will not reflect on the original
  76. authors' reputations.
  77. Finally, any free program is threatened constantly by software
  78. patents. We wish to avoid the danger that redistributors of a free
  79. program will individually obtain patent licenses, in effect making the
  80. program proprietary. To prevent this, we have made it clear that any
  81. patent must be licensed for everyone's free use or not licensed at all.
  82. The precise terms and conditions for copying, distribution and
  83. modification follow.
  84. GNU GENERAL PUBLIC LICENSE
  85. TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
  86. 0. This License applies to any program or other work which contains
  87. a notice placed by the copyright holder saying it may be distributed
  88. under the terms of this General Public License. The "Program", below,
  89. refers to any such program or work, and a "work based on the Program"
  90. means either the Program or any derivative work under copyright law:
  91. that is to say, a work containing the Program or a portion of it,
  92. either verbatim or with modifications and/or translated into another
  93. language. (Hereinafter, translation is included without limitation in
  94. the term "modification".) Each licensee is addressed as "you".
  95. Activities other than copying, distribution and modification are not
  96. covered by this License; they are outside its scope. The act of
  97. running the Program is not restricted, and the output from the Program
  98. is covered only if its contents constitute a work based on the
  99. Program (independent of having been made by running the Program).
  100. Whether that is true depends on what the Program does.
  101. 1. You may copy and distribute verbatim copies of the Program's
  102. source code as you receive it, in any medium, provided that you
  103. conspicuously and appropriately publish on each copy an appropriate
  104. copyright notice and disclaimer of warranty; keep intact all the
  105. notices that refer to this License and to the absence of any warranty;
  106. and give any other recipients of the Program a copy of this License
  107. along with the Program.
  108. You may charge a fee for the physical act of transferring a copy, and
  109. you may at your option offer warranty protection in exchange for a fee.
  110. 2. You may modify your copy or copies of the Program or any portion
  111. of it, thus forming a work based on the Program, and copy and
  112. distribute such modifications or work under the terms of Section 1
  113. above, provided that you also meet all of these conditions:
  114. a) You must cause the modified files to carry prominent notices
  115. stating that you changed the files and the date of any change.
  116. b) You must cause any work that you distribute or publish, that in
  117. whole or in part contains or is derived from the Program or any
  118. part thereof, to be licensed as a whole at no charge to all third
  119. parties under the terms of this License.
  120. c) If the modified program normally reads commands interactively
  121. when run, you must cause it, when started running for such
  122. interactive use in the most ordinary way, to print or display an
  123. announcement including an appropriate copyright notice and a
  124. notice that there is no warranty (or else, saying that you provide
  125. a warranty) and that users may redistribute the program under
  126. these conditions, and telling the user how to view a copy of this
  127. License. (Exception: if the Program itself is interactive but
  128. does not normally print such an announcement, your work based on
  129. the Program is not required to print an announcement.)
  130. These requirements apply to the modified work as a whole. If
  131. identifiable sections of that work are not derived from the Program,
  132. and can be reasonably considered independent and separate works in
  133. themselves, then this License, and its terms, do not apply to those
  134. sections when you distribute them as separate works. But when you
  135. distribute the same sections as part of a whole which is a work based
  136. on the Program, the distribution of the whole must be on the terms of
  137. this License, whose permissions for other licensees extend to the
  138. entire whole, and thus to each and every part regardless of who wrote it.
  139. Thus, it is not the intent of this section to claim rights or contest
  140. your rights to work written entirely by you; rather, the intent is to
  141. exercise the right to control the distribution of derivative or
  142. collective works based on the Program.
  143. In addition, mere aggregation of another work not based on the Program
  144. with the Program (or with a work based on the Program) on a volume of
  145. a storage or distribution medium does not bring the other work under
  146. the scope of this License.
  147. 3. You may copy and distribute the Program (or a work based on it,
  148. under Section 2) in object code or executable form under the terms of
  149. Sections 1 and 2 above provided that you also do one of the following:
  150. a) Accompany it with the complete corresponding machine-readable
  151. source code, which must be distributed under the terms of Sections
  152. 1 and 2 above on a medium customarily used for software interchange; or,
  153. b) Accompany it with a written offer, valid for at least three
  154. years, to give any third party, for a charge no more than your
  155. cost of physically performing source distribution, a complete
  156. machine-readable copy of the corresponding source code, to be
  157. distributed under the terms of Sections 1 and 2 above on a medium
  158. customarily used for software interchange; or,
  159. c) Accompany it with the information you received as to the offer
  160. to distribute corresponding source code. (This alternative is
  161. allowed only for noncommercial distribution and only if you
  162. received the program in object code or executable form with such
  163. an offer, in accord with Subsection b above.)
  164. The source code for a work means the preferred form of the work for
  165. making modifications to it. For an executable work, complete source
  166. code means all the source code for all modules it contains, plus any
  167. associated interface definition files, plus the scripts used to
  168. control compilation and installation of the executable. However, as a
  169. special exception, the source code distributed need not include
  170. anything that is normally distributed (in either source or binary
  171. form) with the major components (compiler, kernel, and so on) of the
  172. operating system on which the executable runs, unless that component
  173. itself accompanies the executable.
  174. If distribution of executable or object code is made by offering
  175. access to copy from a designated place, then offering equivalent
  176. access to copy the source code from the same place counts as
  177. distribution of the source code, even though third parties are not
  178. compelled to copy the source along with the object code.
  179. 4. You may not copy, modify, sublicense, or distribute the Program
  180. except as expressly provided under this License. Any attempt
  181. otherwise to copy, modify, sublicense or distribute the Program is
  182. void, and will automatically terminate your rights under this License.
  183. However, parties who have received copies, or rights, from you under
  184. this License will not have their licenses terminated so long as such
  185. parties remain in full compliance.
  186. 5. You are not required to accept this License, since you have not
  187. signed it. However, nothing else grants you permission to modify or
  188. distribute the Program or its derivative works. These actions are
  189. prohibited by law if you do not accept this License. Therefore, by
  190. modifying or distributing the Program (or any work based on the
  191. Program), you indicate your acceptance of this License to do so, and
  192. all its terms and conditions for copying, distributing or modifying
  193. the Program or works based on it.
  194. 6. Each time you redistribute the Program (or any work based on the
  195. Program), the recipient automatically receives a license from the
  196. original licensor to copy, distribute or modify the Program subject to
  197. these terms and conditions. You may not impose any further
  198. restrictions on the recipients' exercise of the rights granted herein.
  199. You are not responsible for enforcing compliance by third parties to
  200. this License.
  201. 7. If, as a consequence of a court judgment or allegation of patent
  202. infringement or for any other reason (not limited to patent issues),
  203. conditions are imposed on you (whether by court order, agreement or
  204. otherwise) that contradict the conditions of this License, they do not
  205. excuse you from the conditions of this License. If you cannot
  206. distribute so as to satisfy simultaneously your obligations under this
  207. License and any other pertinent obligations, then as a consequence you
  208. may not distribute the Program at all. For example, if a patent
  209. license would not permit royalty-free redistribution of the Program by
  210. all those who receive copies directly or indirectly through you, then
  211. the only way you could satisfy both it and this License would be to
  212. refrain entirely from distribution of the Program.
  213. If any portion of this section is held invalid or unenforceable under
  214. any particular circumstance, the balance of the section is intended to
  215. apply and the section as a whole is intended to apply in other
  216. circumstances.
  217. It is not the purpose of this section to induce you to infringe any
  218. patents or other property right claims or to contest validity of any
  219. such claims; this section has the sole purpose of protecting the
  220. integrity of the free software distribution system, which is
  221. implemented by public license practices. Many people have made
  222. generous contributions to the wide range of software distributed
  223. through that system in reliance on consistent application of that
  224. system; it is up to the author/donor to decide if he or she is willing
  225. to distribute software through any other system and a licensee cannot
  226. impose that choice.
  227. This section is intended to make thoroughly clear what is believed to
  228. be a consequence of the rest of this License.
  229. 8. If the distribution and/or use of the Program is restricted in
  230. certain countries either by patents or by copyrighted interfaces, the
  231. original copyright holder who places the Program under this License
  232. may add an explicit geographical distribution limitation excluding
  233. those countries, so that distribution is permitted only in or among
  234. countries not thus excluded. In such case, this License incorporates
  235. the limitation as if written in the body of this License.
  236. 9. The Free Software Foundation may publish revised and/or new versions
  237. of the General Public License from time to time. Such new versions will
  238. be similar in spirit to the present version, but may differ in detail to
  239. address new problems or concerns.
  240. Each version is given a distinguishing version number. If the Program
  241. specifies a version number of this License which applies to it and "any
  242. later version", you have the option of following the terms and conditions
  243. either of that version or of any later version published by the Free
  244. Software Foundation. If the Program does not specify a version number of
  245. this License, you may choose any version ever published by the Free Software
  246. Foundation.
  247. 10. If you wish to incorporate parts of the Program into other free
  248. programs whose distribution conditions are different, write to the author
  249. to ask for permission. For software which is copyrighted by the Free
  250. Software Foundation, write to the Free Software Foundation; we sometimes
  251. make exceptions for this. Our decision will be guided by the two goals
  252. of preserving the free status of all derivatives of our free software and
  253. of promoting the sharing and reuse of software generally.
  254. NO WARRANTY
  255. 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
  256. FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
  257. OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
  258. PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
  259. OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  260. MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
  261. TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
  262. PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
  263. REPAIR OR CORRECTION.
  264. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
  265. WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
  266. REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
  267. INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
  268. OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
  269. TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
  270. YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
  271. PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
  272. POSSIBILITY OF SUCH DAMAGES.
  273. END OF TERMS AND CONDITIONS
  274. Appendix B: The LGPL License
  275. ----------------------------
  276. GNU LESSER GENERAL PUBLIC LICENSE
  277. Version 2.1, February 1999
  278. Copyright (C) 1991, 1999 Free Software Foundation, Inc.
  279. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  280. Everyone is permitted to copy and distribute verbatim copies
  281. of this license document, but changing it is not allowed.
  282. [This is the first released version of the Lesser GPL. It also counts
  283. as the successor of the GNU Library Public License, version 2, hence
  284. the version number 2.1.]
  285. Preamble
  286. The licenses for most software are designed to take away your
  287. freedom to share and change it. By contrast, the GNU General Public
  288. Licenses are intended to guarantee your freedom to share and change
  289. free software-to make sure the software is free for all its users.
  290. This license, the Lesser General Public License, applies to some
  291. specially designated software packages-typically libraries-of the
  292. Free Software Foundation and other authors who decide to use it. You
  293. can use it too, but we suggest you first think carefully about whether
  294. this license or the ordinary General Public License is the better
  295. strategy to use in any particular case, based on the explanations below.
  296. When we speak of free software, we are referring to freedom of use,
  297. not price. Our General Public Licenses are designed to make sure that
  298. you have the freedom to distribute copies of free software (and charge
  299. for this service if you wish); that you receive source code or can get
  300. it if you want it; that you can change the software and use pieces of
  301. it in new free programs; and that you are informed that you can do
  302. these things.
  303. To protect your rights, we need to make restrictions that forbid
  304. distributors to deny you these rights or to ask you to surrender these
  305. rights. These restrictions translate to certain responsibilities for
  306. you if you distribute copies of the library or if you modify it.
  307. For example, if you distribute copies of the library, whether gratis
  308. or for a fee, you must give the recipients all the rights that we gave
  309. you. You must make sure that they, too, receive or can get the source
  310. code. If you link other code with the library, you must provide
  311. complete object files to the recipients, so that they can relink them
  312. with the library after making changes to the library and recompiling
  313. it. And you must show them these terms so they know their rights.
  314. We protect your rights with a two-step method: (1) we copyright the
  315. library, and (2) we offer you this license, which gives you legal
  316. permission to copy, distribute and/or modify the library.
  317. To protect each distributor, we want to make it very clear that
  318. there is no warranty for the free library. Also, if the library is
  319. modified by someone else and passed on, the recipients should know
  320. that what they have is not the original version, so that the original
  321. author's reputation will not be affected by problems that might be
  322. introduced by others.
  323. Finally, software patents pose a constant threat to the existence of
  324. any free program. We wish to make sure that a company cannot
  325. effectively restrict the users of a free program by obtaining a
  326. restrictive license from a patent holder. Therefore, we insist that
  327. any patent license obtained for a version of the library must be
  328. consistent with the full freedom of use specified in this license.
  329. Most GNU software, including some libraries, is covered by the
  330. ordinary GNU General Public License. This license, the GNU Lesser
  331. General Public License, applies to certain designated libraries, and
  332. is quite different from the ordinary General Public License. We use
  333. this license for certain libraries in order to permit linking those
  334. libraries into non-free programs.
  335. When a program is linked with a library, whether statically or using
  336. a shared library, the combination of the two is legally speaking a
  337. combined work, a derivative of the original library. The ordinary
  338. General Public License therefore permits such linking only if the
  339. entire combination fits its criteria of freedom. The Lesser General
  340. Public License permits more lax criteria for linking other code with
  341. the library.
  342. We call this license the "Lesser" General Public License because it
  343. does Less to protect the user's freedom than the ordinary General
  344. Public License. It also provides other free software developers Less
  345. of an advantage over competing non-free programs. These disadvantages
  346. are the reason we use the ordinary General Public License for many
  347. libraries. However, the Lesser license provides advantages in certain
  348. special circumstances.
  349. For example, on rare occasions, there may be a special need to
  350. encourage the widest possible use of a certain library, so that it becomes
  351. a de-facto standard. To achieve this, non-free programs must be
  352. allowed to use the library. A more frequent case is that a free
  353. library does the same job as widely used non-free libraries. In this
  354. case, there is little to gain by limiting the free library to free
  355. software only, so we use the Lesser General Public License.
  356. In other cases, permission to use a particular library in non-free
  357. programs enables a greater number of people to use a large body of
  358. free software. For example, permission to use the GNU C Library in
  359. non-free programs enables many more people to use the whole GNU
  360. operating system, as well as its variant, the GNU/Linux operating
  361. system.
  362. Although the Lesser General Public License is Less protective of the
  363. users' freedom, it does ensure that the user of a program that is
  364. linked with the Library has the freedom and the wherewithal to run
  365. that program using a modified version of the Library.
  366. The precise terms and conditions for copying, distribution and
  367. modification follow. Pay close attention to the difference between a
  368. "work based on the library" and a "work that uses the library". The
  369. former contains code derived from the library, whereas the latter must
  370. be combined with the library in order to run.
  371. GNU LESSER GENERAL PUBLIC LICENSE
  372. TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
  373. 0. This License Agreement applies to any software library or other
  374. program which contains a notice placed by the copyright holder or
  375. other authorized party saying it may be distributed under the terms of
  376. this Lesser General Public License (also called "this License").
  377. Each licensee is addressed as "you".
  378. A "library" means a collection of software functions and/or data
  379. prepared so as to be conveniently linked with application programs
  380. (which use some of those functions and data) to form executables.
  381. The "Library", below, refers to any such software library or work
  382. which has been distributed under these terms. A "work based on the
  383. Library" means either the Library or any derivative work under
  384. copyright law: that is to say, a work containing the Library or a
  385. portion of it, either verbatim or with modifications and/or translated
  386. straightforwardly into another language. (Hereinafter, translation is
  387. included without limitation in the term "modification".)
  388. "Source code" for a work means the preferred form of the work for
  389. making modifications to it. For a library, complete source code means
  390. all the source code for all modules it contains, plus any associated
  391. interface definition files, plus the scripts used to control compilation
  392. and installation of the library.
  393. Activities other than copying, distribution and modification are not
  394. covered by this License; they are outside its scope. The act of
  395. running a program using the Library is not restricted, and output from
  396. such a program is covered only if its contents constitute a work based
  397. on the Library (independent of the use of the Library in a tool for
  398. writing it). Whether that is true depends on what the Library does
  399. and what the program that uses the Library does.
  400. 1. You may copy and distribute verbatim copies of the Library's
  401. complete source code as you receive it, in any medium, provided that
  402. you conspicuously and appropriately publish on each copy an
  403. appropriate copyright notice and disclaimer of warranty; keep intact
  404. all the notices that refer to this License and to the absence of any
  405. warranty; and distribute a copy of this License along with the
  406. Library.
  407. You may charge a fee for the physical act of transferring a copy,
  408. and you may at your option offer warranty protection in exchange for a
  409. fee.
  410. 2. You may modify your copy or copies of the Library or any portion
  411. of it, thus forming a work based on the Library, and copy and
  412. distribute such modifications or work under the terms of Section 1
  413. above, provided that you also meet all of these conditions:
  414. a) The modified work must itself be a software library.
  415. b) You must cause the files modified to carry prominent notices
  416. stating that you changed the files and the date of any change.
  417. c) You must cause the whole of the work to be licensed at no
  418. charge to all third parties under the terms of this License.
  419. d) If a facility in the modified Library refers to a function or a
  420. table of data to be supplied by an application program that uses
  421. the facility, other than as an argument passed when the facility
  422. is invoked, then you must make a good faith effort to ensure that,
  423. in the event an application does not supply such function or
  424. table, the facility still operates, and performs whatever part of
  425. its purpose remains meaningful.
  426. (For example, a function in a library to compute square roots has
  427. a purpose that is entirely well-defined independent of the
  428. application. Therefore, Subsection 2d requires that any
  429. application-supplied function or table used by this function must
  430. be optional: if the application does not supply it, the square
  431. root function must still compute square roots.)
  432. These requirements apply to the modified work as a whole. If
  433. identifiable sections of that work are not derived from the Library,
  434. and can be reasonably considered independent and separate works in
  435. themselves, then this License, and its terms, do not apply to those
  436. sections when you distribute them as separate works. But when you
  437. distribute the same sections as part of a whole which is a work based
  438. on the Library, the distribution of the whole must be on the terms of
  439. this License, whose permissions for other licensees extend to the
  440. entire whole, and thus to each and every part regardless of who wrote
  441. it.
  442. Thus, it is not the intent of this section to claim rights or contest
  443. your rights to work written entirely by you; rather, the intent is to
  444. exercise the right to control the distribution of derivative or
  445. collective works based on the Library.
  446. In addition, mere aggregation of another work not based on the Library
  447. with the Library (or with a work based on the Library) on a volume of
  448. a storage or distribution medium does not bring the other work under
  449. the scope of this License.
  450. 3. You may opt to apply the terms of the ordinary GNU General Public
  451. License instead of this License to a given copy of the Library. To do
  452. this, you must alter all the notices that refer to this License, so
  453. that they refer to the ordinary GNU General Public License, version 2,
  454. instead of to this License. (If a newer version than version 2 of the
  455. ordinary GNU General Public License has appeared, then you can specify
  456. that version instead if you wish.) Do not make any other change in
  457. these notices.
  458. Once this change is made in a given copy, it is irreversible for
  459. that copy, so the ordinary GNU General Public License applies to all
  460. subsequent copies and derivative works made from that copy.
  461. This option is useful when you wish to copy part of the code of
  462. the Library into a program that is not a library.
  463. 4. You may copy and distribute the Library (or a portion or
  464. derivative of it, under Section 2) in object code or executable form
  465. under the terms of Sections 1 and 2 above provided that you accompany
  466. it with the complete corresponding machine-readable source code, which
  467. must be distributed under the terms of Sections 1 and 2 above on a
  468. medium customarily used for software interchange.
  469. If distribution of object code is made by offering access to copy
  470. from a designated place, then offering equivalent access to copy the
  471. source code from the same place satisfies the requirement to
  472. distribute the source code, even though third parties are not
  473. compelled to copy the source along with the object code.
  474. 5. A program that contains no derivative of any portion of the
  475. Library, but is designed to work with the Library by being compiled or
  476. linked with it, is called a "work that uses the Library". Such a
  477. work, in isolation, is not a derivative work of the Library, and
  478. therefore falls outside the scope of this License.
  479. However, linking a "work that uses the Library" with the Library
  480. creates an executable that is a derivative of the Library (because it
  481. contains portions of the Library), rather than a "work that uses the
  482. library". The executable is therefore covered by this License.
  483. Section 6 states terms for distribution of such executables.
  484. When a "work that uses the Library" uses material from a header file
  485. that is part of the Library, the object code for the work may be a
  486. derivative work of the Library even though the source code is not.
  487. Whether this is true is especially significant if the work can be
  488. linked without the Library, or if the work is itself a library. The
  489. threshold for this to be true is not precisely defined by law.
  490. If such an object file uses only numerical parameters, data
  491. structure layouts and accessors, and small macros and small inline
  492. functions (ten lines or less in length), then the use of the object
  493. file is unrestricted, regardless of whether it is legally a derivative
  494. work. (Executables containing this object code plus portions of the
  495. Library will still fall under Section 6.)
  496. Otherwise, if the work is a derivative of the Library, you may
  497. distribute the object code for the work under the terms of Section 6.
  498. Any executables containing that work also fall under Section 6,
  499. whether or not they are linked directly with the Library itself.
  500. 6. As an exception to the Sections above, you may also combine or
  501. link a "work that uses the Library" with the Library to produce a
  502. work containing portions of the Library, and distribute that work
  503. under terms of your choice, provided that the terms permit
  504. modification of the work for the customer's own use and reverse
  505. engineering for debugging such modifications.
  506. You must give prominent notice with each copy of the work that the
  507. Library is used in it and that the Library and its use are covered by
  508. this License. You must supply a copy of this License. If the work
  509. during execution displays copyright notices, you must include the
  510. copyright notice for the Library among them, as well as a reference
  511. directing the user to the copy of this License. Also, you must do one
  512. of these things:
  513. a) Accompany the work with the complete corresponding
  514. machine-readable source code for the Library including whatever
  515. changes were used in the work (which must be distributed under
  516. Sections 1 and 2 above); and, if the work is an executable linked
  517. with the Library, with the complete machine-readable "work that
  518. uses the Library", as object code and/or source code, so that the
  519. user can modify the Library and then relink to produce a modified
  520. executable containing the modified Library. (It is understood
  521. that the user who changes the contents of definitions files in the
  522. Library will not necessarily be able to recompile the application
  523. to use the modified definitions.)
  524. b) Use a suitable shared library mechanism for linking with the
  525. Library. A suitable mechanism is one that (1) uses at run time a
  526. copy of the library already present on the user's computer system,
  527. rather than copying library functions into the executable, and (2)
  528. will operate properly with a modified version of the library, if
  529. the user installs one, as long as the modified version is
  530. interface-compatible with the version that the work was made with.
  531. c) Accompany the work with a written offer, valid for at
  532. least three years, to give the same user the materials
  533. specified in Subsection 6a, above, for a charge no more
  534. than the cost of performing this distribution.
  535. d) If distribution of the work is made by offering access to copy
  536. from a designated place, offer equivalent access to copy the above
  537. specified materials from the same place.
  538. e) Verify that the user has already received a copy of these
  539. materials or that you have already sent this user a copy.
  540. For an executable, the required form of the "work that uses the
  541. Library" must include any data and utility programs needed for
  542. reproducing the executable from it. However, as a special exception,
  543. the materials to be distributed need not include anything that is
  544. normally distributed (in either source or binary form) with the major
  545. components (compiler, kernel, and so on) of the operating system on
  546. which the executable runs, unless that component itself accompanies
  547. the executable.
  548. It may happen that this requirement contradicts the license
  549. restrictions of other proprietary libraries that do not normally
  550. accompany the operating system. Such a contradiction means you cannot
  551. use both them and the Library together in an executable that you
  552. distribute.
  553. 7. You may place library facilities that are a work based on the
  554. Library side-by-side in a single library together with other library
  555. facilities not covered by this License, and distribute such a combined
  556. library, provided that the separate distribution of the work based on
  557. the Library and of the other library facilities is otherwise
  558. permitted, and provided that you do these two things:
  559. a) Accompany the combined library with a copy of the same work
  560. based on the Library, uncombined with any other library
  561. facilities. This must be distributed under the terms of the
  562. Sections above.
  563. b) Give prominent notice with the combined library of the fact
  564. that part of it is a work based on the Library, and explaining
  565. where to find the accompanying uncombined form of the same work.
  566. 8. You may not copy, modify, sublicense, link with, or distribute
  567. the Library except as expressly provided under this License. Any
  568. attempt otherwise to copy, modify, sublicense, link with, or
  569. distribute the Library is void, and will automatically terminate your
  570. rights under this License. However, parties who have received copies,
  571. or rights, from you under this License will not have their licenses
  572. terminated so long as such parties remain in full compliance.
  573. 9. You are not required to accept this License, since you have not
  574. signed it. However, nothing else grants you permission to modify or
  575. distribute the Library or its derivative works. These actions are
  576. prohibited by law if you do not accept this License. Therefore, by
  577. modifying or distributing the Library (or any work based on the
  578. Library), you indicate your acceptance of this License to do so, and
  579. all its terms and conditions for copying, distributing or modifying
  580. the Library or works based on it.
  581. 10. Each time you redistribute the Library (or any work based on the
  582. Library), the recipient automatically receives a license from the
  583. original licensor to copy, distribute, link with or modify the Library
  584. subject to these terms and conditions. You may not impose any further
  585. restrictions on the recipients' exercise of the rights granted herein.
  586. You are not responsible for enforcing compliance by third parties with
  587. this License.
  588. 11. If, as a consequence of a court judgment or allegation of patent
  589. infringement or for any other reason (not limited to patent issues),
  590. conditions are imposed on you (whether by court order, agreement or
  591. otherwise) that contradict the conditions of this License, they do not
  592. excuse you from the conditions of this License. If you cannot
  593. distribute so as to satisfy simultaneously your obligations under this
  594. License and any other pertinent obligations, then as a consequence you
  595. may not distribute the Library at all. For example, if a patent
  596. license would not permit royalty-free redistribution of the Library by
  597. all those who receive copies directly or indirectly through you, then
  598. the only way you could satisfy both it and this License would be to
  599. refrain entirely from distribution of the Library.
  600. If any portion of this section is held invalid or unenforceable under any
  601. particular circumstance, the balance of the section is intended to apply,
  602. and the section as a whole is intended to apply in other circumstances.
  603. It is not the purpose of this section to induce you to infringe any
  604. patents or other property right claims or to contest validity of any
  605. such claims; this section has the sole purpose of protecting the
  606. integrity of the free software distribution system which is
  607. implemented by public license practices. Many people have made
  608. generous contributions to the wide range of software distributed
  609. through that system in reliance on consistent application of that
  610. system; it is up to the author/donor to decide if he or she is willing
  611. to distribute software through any other system and a licensee cannot
  612. impose that choice.
  613. This section is intended to make thoroughly clear what is believed to
  614. be a consequence of the rest of this License.
  615. 12. If the distribution and/or use of the Library is restricted in
  616. certain countries either by patents or by copyrighted interfaces, the
  617. original copyright holder who places the Library under this License may add
  618. an explicit geographical distribution limitation excluding those countries,
  619. so that distribution is permitted only in or among countries not thus
  620. excluded. In such case, this License incorporates the limitation as if
  621. written in the body of this License.
  622. 13. The Free Software Foundation may publish revised and/or new
  623. versions of the Lesser General Public License from time to time.
  624. Such new versions will be similar in spirit to the present version,
  625. but may differ in detail to address new problems or concerns.
  626. Each version is given a distinguishing version number. If the Library
  627. specifies a version number of this License which applies to it and
  628. "any later version", you have the option of following the terms and
  629. conditions either of that version or of any later version published by
  630. the Free Software Foundation. If the Library does not specify a
  631. license version number, you may choose any version ever published by
  632. the Free Software Foundation.
  633. 14. If you wish to incorporate parts of the Library into other free
  634. programs whose distribution conditions are incompatible with these,
  635. write to the author to ask for permission. For software which is
  636. copyrighted by the Free Software Foundation, write to the Free
  637. Software Foundation; we sometimes make exceptions for this. Our
  638. decision will be guided by the two goals of preserving the free status
  639. of all derivatives of our free software and of promoting the sharing
  640. and reuse of software generally.
  641. NO WARRANTY
  642. 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
  643. WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
  644. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
  645. OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
  646. KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
  647. IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  648. PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
  649. LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
  650. THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
  651. 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
  652. WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
  653. AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
  654. FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
  655. CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
  656. LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
  657. RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
  658. FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
  659. SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
  660. DAMAGES.
  661. END OF TERMS AND CONDITIONS
  662. Appendix C: The MPL License
  663. ---------------------------
  664. MOZILLA PUBLIC LICENSE
  665. Version 1.1
  666. 1. Definitions.
  667. 1.0.1. "Commercial Use" means distribution or otherwise making the
  668. Covered Code available to a third party.
  669. 1.1. "Contributor" means each entity that creates or contributes to
  670. the creation of Modifications.
  671. 1.2. "Contributor Version" means the combination of the Original
  672. Code, prior Modifications used by a Contributor, and the Modifications
  673. made by that particular Contributor.
  674. 1.3. "Covered Code" means the Original Code or Modifications or the
  675. combination of the Original Code and Modifications, in each case
  676. including portions thereof.
  677. 1.4. "Electronic Distribution Mechanism" means a mechanism generally
  678. accepted in the software development community for the electronic
  679. transfer of data.
  680. 1.5. "Executable" means Covered Code in any form other than Source
  681. Code.
  682. 1.6. "Initial Developer" means the individual or entity identified
  683. as the Initial Developer in the Source Code notice required by Exhibit
  684. A.
  685. 1.7. "Larger Work" means a work which combines Covered Code or
  686. portions thereof with code not governed by the terms of this License.
  687. 1.8. "License" means this document.
  688. 1.8.1. "Licensable" means having the right to grant, to the maximum
  689. extent possible, whether at the time of the initial grant or
  690. subsequently acquired, any and all of the rights conveyed herein.
  691. 1.9. "Modifications" means any addition to or deletion from the
  692. substance or structure of either the Original Code or any previous
  693. Modifications. When Covered Code is released as a series of files, a
  694. Modification is:
  695. A. Any addition to or deletion from the contents of a file
  696. containing Original Code or previous Modifications.
  697. B. Any new file that contains any part of the Original Code or
  698. previous Modifications.
  699. 1.10. "Original Code" means Source Code of computer software code
  700. which is described in the Source Code notice required by Exhibit A as
  701. Original Code, and which, at the time of its release under this
  702. License is not already Covered Code governed by this License.
  703. 1.10.1. "Patent Claims" means any patent claim(s), now owned or
  704. hereafter acquired, including without limitation, method, process,
  705. and apparatus claims, in any patent Licensable by grantor.
  706. 1.11. "Source Code" means the preferred form of the Covered Code for
  707. making modifications to it, including all modules it contains, plus
  708. any associated interface definition files, scripts used to control
  709. compilation and installation of an Executable, or source code
  710. differential comparisons against either the Original Code or another
  711. well known, available Covered Code of the Contributor's choice. The
  712. Source Code can be in a compressed or archival form, provided the
  713. appropriate decompression or de-archiving software is widely available
  714. for no charge.
  715. 1.12. "You" (or "Your") means an individual or a legal entity
  716. exercising rights under, and complying with all of the terms of, this
  717. License or a future version of this License issued under Section 6.1.
  718. For legal entities, "You" includes any entity which controls, is
  719. controlled by, or is under common control with You. For purposes of
  720. this definition, "control" means (a) the power, direct or indirect,
  721. to cause the direction or management of such entity, whether by
  722. contract or otherwise, or (b) ownership of more than fifty percent
  723. (50%) of the outstanding shares or beneficial ownership of such
  724. entity.
  725. 2. Source Code License.
  726. 2.1. The Initial Developer Grant.
  727. The Initial Developer hereby grants You a world-wide, royalty-free,
  728. non-exclusive license, subject to third party intellectual property
  729. claims:
  730. (a) under intellectual property rights (other than patent or
  731. trademark) Licensable by Initial Developer to use, reproduce,
  732. modify, display, perform, sublicense and distribute the Original
  733. Code (or portions thereof) with or without Modifications, and/or
  734. as part of a Larger Work; and
  735. (b) under Patents Claims infringed by the making, using or
  736. selling of Original Code, to make, have made, use, practice,
  737. sell, and offer for sale, and/or otherwise dispose of the
  738. Original Code (or portions thereof).
  739. (c) the licenses granted in this Section 2.1(a) and (b) are
  740. effective on the date Initial Developer first distributes
  741. Original Code under the terms of this License.
  742. (d) Notwithstanding Section 2.1(b) above, no patent license is
  743. granted: 1) for code that You delete from the Original Code; 2)
  744. separate from the Original Code; or 3) for infringements caused
  745. by: i) the modification of the Original Code or ii) the
  746. combination of the Original Code with other software or devices.
  747. 2.2. Contributor Grant.
  748. Subject to third party intellectual property claims, each Contributor
  749. hereby grants You a world-wide, royalty-free, non-exclusive license
  750. (a) under intellectual property rights (other than patent or
  751. trademark) Licensable by Contributor, to use, reproduce, modify,
  752. display, perform, sublicense and distribute the Modifications
  753. created by such Contributor (or portions thereof) either on an
  754. unmodified basis, with other Modifications, as Covered Code
  755. and/or as part of a Larger Work; and
  756. (b) under Patent Claims infringed by the making, using, or
  757. selling of Modifications made by that Contributor either alone
  758. and/or in combination with its Contributor Version (or portions
  759. of such combination), to make, use, sell, offer for sale, have
  760. made, and/or otherwise dispose of: 1) Modifications made by that
  761. Contributor (or portions thereof); and 2) the combination of
  762. Modifications made by that Contributor with its Contributor
  763. Version (or portions of such combination).
  764. (c) the licenses granted in Sections 2.2(a) and 2.2(b) are
  765. effective on the date Contributor first makes Commercial Use of
  766. the Covered Code.
  767. (d) Notwithstanding Section 2.2(b) above, no patent license is
  768. granted: 1) for any code that Contributor has deleted from the
  769. Contributor Version; 2) separate from the Contributor Version;
  770. 3) for infringements caused by: i) third party modifications of
  771. Contributor Version or ii) the combination of Modifications made
  772. by that Contributor with other software (except as part of the
  773. Contributor Version) or other devices; or 4) under Patent Claims
  774. infringed by Covered Code in the absence of Modifications made by
  775. that Contributor.
  776. 3. Distribution Obligations.
  777. 3.1. Application of License.
  778. The Modifications which You create or to which You contribute are
  779. governed by the terms of this License, including without limitation
  780. Section 2.2. The Source Code version of Covered Code may be
  781. distributed only under the terms of this License or a future version
  782. of this License released under Section 6.1, and You must include a
  783. copy of this License with every copy of the Source Code You
  784. distribute. You may not offer or impose any terms on any Source Code
  785. version that alters or restricts the applicable version of this
  786. License or the recipients' rights hereunder. However, You may include
  787. an additional document offering the additional rights described in
  788. Section 3.5.
  789. 3.2. Availability of Source Code.
  790. Any Modification which You create or to which You contribute must be
  791. made available in Source Code form under the terms of this License
  792. either on the same media as an Executable version or via an accepted
  793. Electronic Distribution Mechanism to anyone to whom you made an
  794. Executable version available; and if made available via Electronic
  795. Distribution Mechanism, must remain available for at least twelve (12)
  796. months after the date it initially became available, or at least six
  797. (6) months after a subsequent version of that particular Modification
  798. has been made available to such recipients. You are responsible for
  799. ensuring that the Source Code version remains available even if the
  800. Electronic Distribution Mechanism is maintained by a third party.
  801. 3.3. Description of Modifications.
  802. You must cause all Covered Code to which You contribute to contain a
  803. file documenting the changes You made to create that Covered Code and
  804. the date of any change. You must include a prominent statement that
  805. the Modification is derived, directly or indirectly, from Original
  806. Code provided by the Initial Developer and including the name of the
  807. Initial Developer in (a) the Source Code, and (b) in any notice in an
  808. Executable version or related documentation in which You describe the
  809. origin or ownership of the Covered Code.
  810. 3.4. Intellectual Property Matters
  811. (a) Third Party Claims.
  812. If Contributor has knowledge that a license under a third party's
  813. intellectual property rights is required to exercise the rights
  814. granted by such Contributor under Sections 2.1 or 2.2,
  815. Contributor must include a text file with the Source Code
  816. distribution titled "LEGAL" which describes the claim and the
  817. party making the claim in sufficient detail that a recipient will
  818. know whom to contact. If Contributor obtains such knowledge after
  819. the Modification is made available as described in Section 3.2,
  820. Contributor shall promptly modify the LEGAL file in all copies
  821. Contributor makes available thereafter and shall take other steps
  822. (such as notifying appropriate mailing lists or newsgroups)
  823. reasonably calculated to inform those who received the Covered
  824. Code that new knowledge has been obtained.
  825. (b) Contributor APIs.
  826. If Contributor's Modifications include an application programming
  827. interface and Contributor has knowledge of patent licenses which
  828. are reasonably necessary to implement that API, Contributor must
  829. also include this information in the LEGAL file.
  830. (c) Representations.
  831. Contributor represents that, except as disclosed pursuant to
  832. Section 3.4(a) above, Contributor believes that Contributor's
  833. Modifications are Contributor's original creation(s) and/or
  834. Contributor has sufficient rights to grant the rights conveyed by
  835. this License.
  836. 3.5. Required Notices.
  837. You must duplicate the notice in Exhibit A in each file of the Source
  838. Code. If it is not possible to put such notice in a particular Source
  839. Code file due to its structure, then You must include such notice in a
  840. location (such as a relevant directory) where a user would be likely
  841. to look for such a notice. If You created one or more Modification(s)
  842. You may add your name as a Contributor to the notice described in
  843. Exhibit A. You must also duplicate this License in any documentation
  844. for the Source Code where You describe recipients' rights or ownership
  845. rights relating to Covered Code. You may choose to offer, and to
  846. charge a fee for, warranty, support, indemnity or liability
  847. obligations to one or more recipients of Covered Code. However, You
  848. may do so only on Your own behalf, and not on behalf of the Initial
  849. Developer or any Contributor. You must make it absolutely clear than
  850. any such warranty, support, indemnity or liability obligation is
  851. offered by You alone, and You hereby agree to indemnify the Initial
  852. Developer and every Contributor for any liability incurred by the
  853. Initial Developer or such Contributor as a result of warranty,
  854. support, indemnity or liability terms You offer.
  855. 3.6. Distribution of Executable Versions.
  856. You may distribute Covered Code in Executable form only if the
  857. requirements of Section 3.1-3.5 have been met for that Covered Code,
  858. and if You include a notice stating that the Source Code version of
  859. the Covered Code is available under the terms of this License,
  860. including a description of how and where You have fulfilled the
  861. obligations of Section 3.2. The notice must be conspicuously included
  862. in any notice in an Executable version, related documentation or
  863. collateral in which You describe recipients' rights relating to the
  864. Covered Code. You may distribute the Executable version of Covered
  865. Code or ownership rights under a license of Your choice, which may
  866. contain terms different from this License, provided that You are in
  867. compliance with the terms of this License and that the license for the
  868. Executable version does not attempt to limit or alter the recipient's
  869. rights in the Source Code version from the rights set forth in this
  870. License. If You distribute the Executable version under a different
  871. license You must make it absolutely clear that any terms which differ
  872. from this License are offered by You alone, not by the Initial
  873. Developer or any Contributor. You hereby agree to indemnify the
  874. Initial Developer and every Contributor for any liability incurred by
  875. the Initial Developer or such Contributor as a result of any such
  876. terms You offer.
  877. 3.7. Larger Works.
  878. You may create a Larger Work by combining Covered Code with other code
  879. not governed by the terms of this License and distribute the Larger
  880. Work as a single product. In such a case, You must make sure the
  881. requirements of this License are fulfilled for the Covered Code.
  882. 4. Inability to Comply Due to Statute or Regulation.
  883. If it is impossible for You to comply with any of the terms of this
  884. License with respect to some or all of the Covered Code due to
  885. statute, judicial order, or regulation then You must: (a) comply with
  886. the terms of this License to the maximum extent possible; and (b)
  887. describe the limitations and the code they affect. Such description
  888. must be included in the LEGAL file described in Section 3.4 and must
  889. be included with all distributions of the Source Code. Except to the
  890. extent prohibited by statute or regulation, such description must be
  891. sufficiently detailed for a recipient of ordinary skill to be able to
  892. understand it.
  893. 5. Application of this License.
  894. This License applies to code to which the Initial Developer has
  895. attached the notice in Exhibit A and to related Covered Code.
  896. 6. Versions of the License.
  897. 6.1. New Versions.
  898. Netscape Communications Corporation ("Netscape") may publish revised
  899. and/or new versions of the License from time to time. Each version
  900. will be given a distinguishing version number.
  901. 6.2. Effect of New Versions.
  902. Once Covered Code has been published under a particular version of the
  903. License, You may always continue to use it under the terms of that
  904. version. You may also choose to use such Covered Code under the terms
  905. of any subsequent version of the License published by Netscape. No one
  906. other than Netscape has the right to modify the terms applicable to
  907. Covered Code created under this License.
  908. 6.3. Derivative Works.
  909. If You create or use a modified version of this License (which you may
  910. only do in order to apply it to code which is not already Covered Code
  911. governed by this License), You must (a) rename Your license so that
  912. the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape",
  913. "MPL", "NPL" or any confusingly similar phrase do not appear in your
  914. license (except to note that your license differs from this License)
  915. and (b) otherwise make it clear that Your version of the license
  916. contains terms which differ from the Mozilla Public License and
  917. Netscape Public License. (Filling in the name of the Initial
  918. Developer, Original Code or Contributor in the notice described in
  919. Exhibit A shall not of themselves be deemed to be modifications of
  920. this License.)
  921. 7. DISCLAIMER OF WARRANTY.
  922. COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
  923. WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
  924. WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
  925. DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
  926. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
  927. IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
  928. YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
  929. COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
  930. OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
  931. ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
  932. 8. TERMINATION.
  933. 8.1. This License and the rights granted hereunder will terminate
  934. automatically if You fail to comply with terms herein and fail to cure
  935. such breach within 30 days of becoming aware of the breach. All
  936. sublicenses to the Covered Code which are properly granted shall
  937. survive any termination of this License. Provisions which, by their
  938. nature, must remain in effect beyond the termination of this License
  939. shall survive.
  940. 8.2. If You initiate litigation by asserting a patent infringement
  941. claim (excluding declatory judgment actions) against Initial Developer
  942. or a Contributor (the Initial Developer or Contributor against whom
  943. You file such action is referred to as "Participant") alleging that:
  944. (a) such Participant's Contributor Version directly or indirectly
  945. infringes any patent, then any and all rights granted by such
  946. Participant to You under Sections 2.1 and/or 2.2 of this License
  947. shall, upon 60 days notice from Participant terminate prospectively,
  948. unless if within 60 days after receipt of notice You either: (i)
  949. agree in writing to pay Participant a mutually agreeable reasonable
  950. royalty for Your past and future use of Modifications made by such
  951. Participant, or (ii) withdraw Your litigation claim with respect to
  952. the Contributor Version against such Participant. If within 60 days
  953. of notice, a reasonable royalty and payment arrangement are not
  954. mutually agreed upon in writing by the parties or the litigation claim
  955. is not withdrawn, the rights granted by Participant to You under
  956. Sections 2.1 and/or 2.2 automatically terminate at the expiration of
  957. the 60 day notice period specified above.
  958. (b) any software, hardware, or device, other than such Participant's
  959. Contributor Version, directly or indirectly infringes any patent, then
  960. any rights granted to You by such Participant under Sections 2.1(b)
  961. and 2.2(b) are revoked effective as of the date You first made, used,
  962. sold, distributed, or had made, Modifications made by that
  963. Participant.
  964. 8.3. If You assert a patent infringement claim against Participant
  965. alleging that such Participant's Contributor Version directly or
  966. indirectly infringes any patent where such claim is resolved (such as
  967. by license or settlement) prior to the initiation of patent
  968. infringement litigation, then the reasonable value of the licenses
  969. granted by such Participant under Sections 2.1 or 2.2 shall be taken
  970. into account in determining the amount or value of any payment or
  971. license.
  972. 8.4. In the event of termination under Sections 8.1 or 8.2 above,
  973. all end user license agreements (excluding distributors and resellers)
  974. which have been validly granted by You or any distributor hereunder
  975. prior to termination shall survive termination.
  976. 9. LIMITATION OF LIABILITY.
  977. UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
  978. (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
  979. DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
  980. OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
  981. ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
  982. CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
  983. WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
  984. COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
  985. INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
  986. LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
  987. RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
  988. PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
  989. EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
  990. THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
  991. 10. U.S. GOVERNMENT END USERS.
  992. The Covered Code is a "commercial item," as that term is defined in
  993. 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
  994. software" and "commercial computer software documentation," as such
  995. terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48
  996. C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
  997. all U.S. Government End Users acquire Covered Code with only those
  998. rights set forth herein.
  999. 11. MISCELLANEOUS.
  1000. This License represents the complete agreement concerning subject
  1001. matter hereof. If any provision of this License is held to be
  1002. unenforceable, such provision shall be reformed only to the extent
  1003. necessary to make it enforceable. This License shall be governed by
  1004. California law provisions (except to the extent applicable law, if
  1005. any, provides otherwise), excluding its conflict-of-law provisions.
  1006. With respect to disputes in which at least one party is a citizen of,
  1007. or an entity chartered or registered to do business in the United
  1008. States of America, any litigation relating to this License shall be
  1009. subject to the jurisdiction of the Federal Courts of the Northern
  1010. District of California, with venue lying in Santa Clara County,
  1011. California, with the losing party responsible for costs, including
  1012. without limitation, court costs and reasonable attorneys' fees and
  1013. expenses. The application of the United Nations Convention on
  1014. Contracts for the International Sale of Goods is expressly excluded.
  1015. Any law or regulation which provides that the language of a contract
  1016. shall be construed against the drafter shall not apply to this
  1017. License.
  1018. 12. RESPONSIBILITY FOR CLAIMS.
  1019. As between Initial Developer and the Contributors, each party is
  1020. responsible for claims and damages arising, directly or indirectly,
  1021. out of its utilization of rights under this License and You agree to
  1022. work with Initial Developer and Contributors to distribute such
  1023. responsibility on an equitable basis. Nothing herein is intended or
  1024. shall be deemed to constitute any admission of liability.
  1025. 13. MULTIPLE-LICENSED CODE.
  1026. Initial Developer may designate portions of the Covered Code as
  1027. "Multiple-Licensed". "Multiple-Licensed" means that the Initial
  1028. Developer permits you to utilize portions of the Covered Code under
  1029. Your choice of the NPL or the alternative licenses, if any, specified
  1030. by the Initial Developer in the file described in Exhibit A.
  1031. EXHIBIT A -Mozilla Public License.
  1032. ``The contents of this file are subject to the Mozilla Public License
  1033. Version 1.1 (the "License"); you may not use this file except in
  1034. compliance with the License. You may obtain a copy of the License at
  1035. http://www.mozilla.org/MPL/
  1036. Software distributed under the License is distributed on an "AS IS"
  1037. basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
  1038. License for the specific language governing rights and limitations
  1039. under the License.
  1040. The Original Code is ______________________________________.
  1041. The Initial Developer of the Original Code is ________________________.
  1042. Portions created by ______________________ are Copyright (C) ______
  1043. _______________________. All Rights Reserved.
  1044. Contributor(s): ______________________________________.
  1045. Alternatively, the contents of this file may be used under the terms
  1046. of the _____ license (the "[___] License"), in which case the
  1047. provisions of [______] License are applicable instead of those
  1048. above. If you wish to allow use of your version of this file only
  1049. under the terms of the [____] License and not to allow others to use
  1050. your version of this file under the MPL, indicate your decision by
  1051. deleting the provisions above and replace them with the notice and
  1052. other provisions required by the [___] License. If you do not delete
  1053. the provisions above, a recipient may use your version of this file
  1054. under either the MPL or the [___] License."
  1055. [NOTE: The text of this Exhibit A may differ slightly from the text of
  1056. the notices in the Source Code files of the Original Code. You should
  1057. use the text of this Exhibit A rather than the text found in the
  1058. Original Code Source Code for Your Modifications.]