drg_default_html_editor 0.5.50.3 → 0.6.0.0

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