ckeditor4ruby 0.0.1

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