@oat-sa/tao-core-ui 1.49.5 → 1.49.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (669) hide show
  1. package/LICENSE +339 -339
  2. package/README.md +17 -17
  3. package/dist/actionbar.js +105 -105
  4. package/dist/adder.js +109 -109
  5. package/dist/animable/absorbable/absorbable.js +42 -42
  6. package/dist/animable/absorbable/css/absorb.css +8 -7
  7. package/dist/animable/pulsable/css/pulse.css +8 -7
  8. package/dist/animable/pulsable/pulsable.js +36 -36
  9. package/dist/areaBroker.js +51 -51
  10. package/dist/autocomplete/css/autocomplete.css +8 -7
  11. package/dist/autocomplete.js +400 -400
  12. package/dist/autoscroll.js +22 -22
  13. package/dist/badge/badge.js +48 -48
  14. package/dist/badge/css/badge.css +8 -7
  15. package/dist/breadcrumbs/css/breadcrumbs.css +8 -7
  16. package/dist/breadcrumbs.js +70 -70
  17. package/dist/btngrouper.js +64 -64
  18. package/dist/bulkActionPopup/css/bulkActionPopup.css +8 -7
  19. package/dist/bulkActionPopup.js +104 -104
  20. package/dist/button.js +102 -102
  21. package/dist/calculator/css/calculator.css +11 -10
  22. package/dist/calculator.js +51 -51
  23. package/dist/cascadingComboBox.js +47 -47
  24. package/dist/ckeditor/ckConfigurator.js +47 -47
  25. package/dist/ckeditor/dtdHandler.js +110 -110
  26. package/dist/class/css/selector.css +8 -7
  27. package/dist/class/selector.js +111 -111
  28. package/dist/component/alignable.js +81 -81
  29. package/dist/component/containable.js +37 -37
  30. package/dist/component/css/components.css +8 -7
  31. package/dist/component/css/windowComponent.css +8 -7
  32. package/dist/component/draggable.js +24 -24
  33. package/dist/component/placeable.js +70 -70
  34. package/dist/component/resizable.js +60 -60
  35. package/dist/component/stackable.js +20 -20
  36. package/dist/component/windowed.js +59 -59
  37. package/dist/component.js +153 -153
  38. package/dist/container.js +76 -76
  39. package/dist/contextualPopup/css/contextualPopup.css +8 -7
  40. package/dist/contextualPopup.js +113 -113
  41. package/dist/dashboard/css/dashboard.css +8 -7
  42. package/dist/dashboard.js +75 -75
  43. package/dist/datalist/css/datalist.css +8 -7
  44. package/dist/datalist.js +160 -160
  45. package/dist/datatable/css/datatable.css +8 -7
  46. package/dist/datatable/filterStrategy/filterStrategy.js +27 -27
  47. package/dist/datatable/filterStrategy/multiple.js +25 -25
  48. package/dist/datatable/filterStrategy/single.js +25 -25
  49. package/dist/datatable.js +374 -374
  50. package/dist/dateRange/css/dateRange.css +8 -7
  51. package/dist/dateRange/dateRange.js +110 -110
  52. package/dist/datetime/css/picker.css +8 -7
  53. package/dist/datetime/picker.js +174 -174
  54. package/dist/deleter.js +92 -92
  55. package/dist/destination/css/selector.css +8 -7
  56. package/dist/destination/selector.js +65 -65
  57. package/dist/dialog/alert.js +26 -26
  58. package/dist/dialog/confirm.js +27 -27
  59. package/dist/dialog/confirmDelete.js +44 -44
  60. package/dist/dialog.js +156 -156
  61. package/dist/disabler.js +90 -90
  62. package/dist/documentViewer/css/documentViewer.css +8 -7
  63. package/dist/documentViewer/providers/pdfViewer/fallback/viewer.js +43 -43
  64. package/dist/documentViewer/providers/pdfViewer/pdfjs/areaBroker.js +25 -25
  65. package/dist/documentViewer/providers/pdfViewer/pdfjs/findBar.js +133 -133
  66. package/dist/documentViewer/providers/pdfViewer/pdfjs/pageView.js +102 -102
  67. package/dist/documentViewer/providers/pdfViewer/pdfjs/pagesManager.js +52 -52
  68. package/dist/documentViewer/providers/pdfViewer/pdfjs/searchEngine.js +125 -125
  69. package/dist/documentViewer/providers/pdfViewer/pdfjs/textManager.js +67 -67
  70. package/dist/documentViewer/providers/pdfViewer/pdfjs/viewer.js +94 -94
  71. package/dist/documentViewer/providers/pdfViewer/pdfjs/wrapper.js +111 -111
  72. package/dist/documentViewer/providers/pdfViewer.js +42 -42
  73. package/dist/documentViewer/viewerFactory.js +71 -71
  74. package/dist/documentViewer.js +99 -99
  75. package/dist/dropdown/css/dropdown.css +8 -7
  76. package/dist/dropdown.js +97 -97
  77. package/dist/durationer.js +58 -58
  78. package/dist/dynamicComponent/css/dynamicComponent.css +8 -7
  79. package/dist/dynamicComponent.js +116 -116
  80. package/dist/feedback.js +97 -97
  81. package/dist/filesender.js +26 -26
  82. package/dist/filter.js +47 -47
  83. package/dist/form/css/dropdownForm.css +8 -7
  84. package/dist/form/css/form.css +8 -7
  85. package/dist/form/dropdownForm.js +112 -112
  86. package/dist/form/form.js +245 -245
  87. package/dist/form/simpleForm.js +71 -71
  88. package/dist/form/validator/css/validator.css +8 -7
  89. package/dist/form/validator/renderer.js +65 -65
  90. package/dist/form/validator/validator.js +87 -87
  91. package/dist/form/widget/css/widget.css +8 -7
  92. package/dist/form/widget/definitions.js +24 -24
  93. package/dist/form/widget/loader.js +16 -16
  94. package/dist/form/widget/providers/checkBox.js +75 -75
  95. package/dist/form/widget/providers/comboBox.js +59 -59
  96. package/dist/form/widget/providers/default.js +35 -35
  97. package/dist/form/widget/providers/hidden.js +50 -50
  98. package/dist/form/widget/providers/hiddenBox.js +71 -71
  99. package/dist/form/widget/providers/radioBox.js +70 -70
  100. package/dist/form/widget/providers/textArea.js +48 -48
  101. package/dist/form/widget/providers/textBox.js +34 -34
  102. package/dist/form/widget/widget.js +154 -154
  103. package/dist/form.js +10 -10
  104. package/dist/formValidator/formValidator.js +61 -61
  105. package/dist/formValidator/highlighters/highlighter.js +41 -41
  106. package/dist/formValidator/highlighters/message.js +29 -29
  107. package/dist/formValidator/highlighters/tooltip.js +32 -32
  108. package/dist/generis/form/css/form.css +8 -7
  109. package/dist/generis/form/form.js +86 -86
  110. package/dist/generis/validator/css/validator.css +8 -7
  111. package/dist/generis/validator/validator.js +51 -51
  112. package/dist/generis/widget/checkBox/checkBox.js +52 -52
  113. package/dist/generis/widget/comboBox/comboBox.js +45 -45
  114. package/dist/generis/widget/css/widget.css +8 -7
  115. package/dist/generis/widget/hiddenBox/hiddenBox.js +53 -53
  116. package/dist/generis/widget/loader.js +20 -20
  117. package/dist/generis/widget/textBox/textBox.js +40 -40
  118. package/dist/generis/widget/widget.js +60 -60
  119. package/dist/groupedComboBox.js +49 -49
  120. package/dist/groupvalidator.js +19 -19
  121. package/dist/hider.js +41 -41
  122. package/dist/highlighter.js +262 -262
  123. package/dist/image/ImgStateActive/extractLabel.js +20 -20
  124. package/dist/image/ImgStateActive/initHelper.js +69 -69
  125. package/dist/image/ImgStateActive/initMediaEditor.js +32 -32
  126. package/dist/image/ImgStateActive/mediaSizer.js +16 -16
  127. package/dist/image/ImgStateActive.js +88 -88
  128. package/dist/incrementer.js +58 -58
  129. package/dist/inplacer.js +87 -87
  130. package/dist/interactUtils.js +42 -42
  131. package/dist/itemButtonList/css/item-button-list.css +24 -23
  132. package/dist/itemButtonList.js +101 -101
  133. package/dist/keyNavigation/navigableDomElement.js +76 -76
  134. package/dist/keyNavigation/navigator.js +158 -158
  135. package/dist/listbox/css/listbox.css +8 -7
  136. package/dist/listbox.js +97 -97
  137. package/dist/liststyler.js +57 -57
  138. package/dist/loadingButton/css/button.css +8 -7
  139. package/dist/loadingButton/loadingButton.js +48 -48
  140. package/dist/lock.js +125 -125
  141. package/dist/login/login.js +100 -100
  142. package/dist/maths/calculator/basicCalculator.js +63 -63
  143. package/dist/maths/calculator/calculatorComponent.js +29 -29
  144. package/dist/maths/calculator/core/areaBroker.js +25 -25
  145. package/dist/maths/calculator/core/board.js +313 -313
  146. package/dist/maths/calculator/core/expression.js +111 -111
  147. package/dist/maths/calculator/core/labels.js +29 -29
  148. package/dist/maths/calculator/core/plugin.js +19 -19
  149. package/dist/maths/calculator/core/terms.js +26 -26
  150. package/dist/maths/calculator/core/tokenizer.js +98 -98
  151. package/dist/maths/calculator/core/tokens.js +59 -59
  152. package/dist/maths/calculator/css/calculator.css +8 -7
  153. package/dist/maths/calculator/defaultCalculator.js +23 -23
  154. package/dist/maths/calculator/plugins/core/degrad.js +22 -22
  155. package/dist/maths/calculator/plugins/core/history.js +45 -45
  156. package/dist/maths/calculator/plugins/core/remind.js +22 -22
  157. package/dist/maths/calculator/plugins/core/stepNavigation.js +31 -31
  158. package/dist/maths/calculator/plugins/keyboard/templateKeyboard/templateKeyboard.js +61 -61
  159. package/dist/maths/calculator/plugins/modifiers/pow10.js +35 -35
  160. package/dist/maths/calculator/plugins/modifiers/sign.js +90 -90
  161. package/dist/maths/calculator/plugins/screen/simpleScreen/simpleScreen.js +60 -60
  162. package/dist/maths/calculator/pluginsLoader.js +21 -21
  163. package/dist/maths/calculator/scientificCalculator.js +91 -91
  164. package/dist/mediaEditor/mediaEditorComponent.js +64 -64
  165. package/dist/mediaEditor/plugins/mediaAlignment/helper.js +16 -16
  166. package/dist/mediaEditor/plugins/mediaAlignment/mediaAlignmentComponent.js +60 -60
  167. package/dist/mediaEditor/plugins/mediaAlignment/style.css +7 -7
  168. package/dist/mediaEditor/plugins/mediaDimension/helper.js +70 -70
  169. package/dist/mediaEditor/plugins/mediaDimension/mediaDimensionComponent.js +153 -153
  170. package/dist/mediaEditor/plugins/mediaDimension/style.css +141 -141
  171. package/dist/mediaplayer/css/player.css +8 -7
  172. package/dist/mediaplayer/players/html5.js +65 -65
  173. package/dist/mediaplayer/players/youtube.js +52 -52
  174. package/dist/mediaplayer/players.js +18 -18
  175. package/dist/mediaplayer/support.js +55 -55
  176. package/dist/mediaplayer/utils/reminder.js +100 -100
  177. package/dist/mediaplayer/utils/timeObserver.js +92 -92
  178. package/dist/mediaplayer/youtubeManager.js +35 -35
  179. package/dist/mediaplayer.js +460 -460
  180. package/dist/mediasizer.js +135 -135
  181. package/dist/modal.js +87 -87
  182. package/dist/movableComponent.js +35 -35
  183. package/dist/pageSizeSelector.js +44 -44
  184. package/dist/pageStatus.js +33 -33
  185. package/dist/pagination/css/pagination.css +8 -7
  186. package/dist/pagination/paginationStrategy.js +23 -23
  187. package/dist/pagination/providers/pages.js +37 -37
  188. package/dist/pagination/providers/simple.js +35 -35
  189. package/dist/pagination.js +45 -45
  190. package/dist/previewer.js +67 -67
  191. package/dist/progressbar.js +58 -58
  192. package/dist/report.js +86 -86
  193. package/dist/resource/css/selector.css +8 -7
  194. package/dist/resource/filters.js +73 -73
  195. package/dist/resource/list.js +66 -66
  196. package/dist/resource/selectable.js +92 -92
  197. package/dist/resource/selector.js +195 -195
  198. package/dist/resource/tree.js +104 -104
  199. package/dist/resourcemgr/css/resourcemgr.css +8 -7
  200. package/dist/resourcemgr/fileBrowser.js +88 -88
  201. package/dist/resourcemgr/fileSelector.js +58 -58
  202. package/dist/resourcemgr/util/updatePermissions.js +4 -4
  203. package/dist/resourcemgr.js +62 -62
  204. package/dist/scroller.js +26 -26
  205. package/dist/searchModal/advancedSearch.js +130 -130
  206. package/dist/searchModal/css/advancedSearch.css +8 -7
  207. package/dist/searchModal/css/searchModal.css +8 -7
  208. package/dist/searchModal.js +96 -96
  209. package/dist/selecter.js +6 -6
  210. package/dist/stacker.js +43 -43
  211. package/dist/switch/css/switch.css +8 -7
  212. package/dist/switch/switch.js +75 -75
  213. package/dist/tableModel.js +33 -33
  214. package/dist/tabs/css/tabs.css +13 -12
  215. package/dist/tabs.js +217 -217
  216. package/dist/taskQueue/css/taskQueue.css +8 -7
  217. package/dist/taskQueue/status.js +72 -72
  218. package/dist/taskQueue/table.js +67 -67
  219. package/dist/taskQueue/taskQueue.js +18 -18
  220. package/dist/taskQueue/taskQueueModel.js +86 -86
  221. package/dist/taskQueue.js +47 -47
  222. package/dist/taskQueueButton/css/taskable.css +8 -7
  223. package/dist/taskQueueButton/css/treeButton.css +8 -7
  224. package/dist/taskQueueButton/standardButton.js +39 -39
  225. package/dist/taskQueueButton/taskable.js +54 -54
  226. package/dist/taskQueueButton/treeButton.js +56 -56
  227. package/dist/themeLoader.js +75 -75
  228. package/dist/themes.js +84 -84
  229. package/dist/toggler.js +57 -57
  230. package/dist/tooltip.js +54 -54
  231. package/dist/tooltipster.js +17 -17
  232. package/dist/transformer.js +117 -117
  233. package/dist/tristateCheckboxGroup/css/tristateCheckboxGroup.css +8 -7
  234. package/dist/tristateCheckboxGroup.js +75 -75
  235. package/dist/uploader.js +158 -158
  236. package/dist/validator/validators.js +48 -48
  237. package/dist/validator.js +24 -24
  238. package/dist/waitForMedia.js +33 -33
  239. package/dist/waitingDialog/css/waitingDialog.css +8 -7
  240. package/dist/waitingDialog/waitingDialog.js +54 -54
  241. package/package.json +107 -107
  242. package/scss/basic.scss +16 -16
  243. package/scss/ckeditor/skins/tao/scss/inc/_ck-icons.scss +59 -59
  244. package/scss/ckeditor/skins/tao/scss/inc/_tao.scss +59 -59
  245. package/scss/font/tao/tao.svg +234 -234
  246. package/scss/inc/_base.scss +496 -496
  247. package/scss/inc/_bootstrap.scss +6 -6
  248. package/scss/inc/_buttons.scss +114 -114
  249. package/scss/inc/_colors.scss +88 -88
  250. package/scss/inc/_feedback.scss +150 -150
  251. package/scss/inc/_flex-grid.scss +15 -15
  252. package/scss/inc/_fonts.scss +4 -4
  253. package/scss/inc/_forms.scss +827 -828
  254. package/scss/inc/_functions.scss +283 -272
  255. package/scss/inc/_jquery.nouislider.scss +254 -254
  256. package/scss/inc/_normalize.scss +528 -528
  257. package/scss/inc/_report.scss +67 -67
  258. package/scss/inc/_secondary-properties.scss +89 -89
  259. package/scss/inc/_select2.scss +634 -634
  260. package/scss/inc/_toolbars.scss +155 -155
  261. package/scss/inc/_tooltip.scss +312 -312
  262. package/scss/inc/_variables.scss +21 -21
  263. package/scss/inc/base/_highlight.scss +5 -5
  264. package/scss/inc/base/_list-style.scss +58 -58
  265. package/scss/inc/base/_svg.scss +3 -3
  266. package/scss/inc/base/_table.scss +62 -62
  267. package/scss/inc/fonts/_source-sans-pro.scss +29 -29
  268. package/scss/inc/fonts/_tao-icon-classes.scss +226 -226
  269. package/scss/inc/fonts/_tao-icon-def.scss +12 -12
  270. package/scss/inc/fonts/_tao-icon-vars.scss +240 -240
  271. package/src/actionbar/tpl/main.tpl +8 -8
  272. package/src/actionbar.js +251 -251
  273. package/src/adder.js +250 -250
  274. package/src/animable/absorbable/absorbable.js +134 -134
  275. package/src/animable/absorbable/css/absorb.css +8 -7
  276. package/src/animable/absorbable/scss/absorb.scss +37 -37
  277. package/src/animable/pulsable/css/pulse.css +8 -7
  278. package/src/animable/pulsable/pulsable.js +90 -90
  279. package/src/animable/pulsable/scss/pulse.scss +22 -22
  280. package/src/areaBroker.js +160 -160
  281. package/src/autocomplete/css/autocomplete.css +8 -7
  282. package/src/autocomplete/scss/autocomplete.scss +37 -37
  283. package/src/autocomplete.js +1029 -1029
  284. package/src/autoscroll.js +57 -57
  285. package/src/badge/badge.js +119 -119
  286. package/src/badge/css/badge.css +8 -7
  287. package/src/badge/scss/badge.scss +92 -92
  288. package/src/badge/tpl/badge.tpl +4 -4
  289. package/src/breadcrumbs/css/breadcrumbs.css +8 -7
  290. package/src/breadcrumbs/scss/breadcrumbs.scss +52 -52
  291. package/src/breadcrumbs/tpl/breadcrumbs.tpl +20 -20
  292. package/src/breadcrumbs.js +99 -99
  293. package/src/btngrouper.js +213 -213
  294. package/src/bulkActionPopup/css/bulkActionPopup.css +8 -7
  295. package/src/bulkActionPopup/scss/bulkActionPopup.scss +63 -63
  296. package/src/bulkActionPopup/tpl/layout.tpl +76 -76
  297. package/src/bulkActionPopup/tpl/select.tpl +8 -8
  298. package/src/bulkActionPopup.js +274 -274
  299. package/src/button/tpl/button.tpl +4 -4
  300. package/src/button.js +135 -135
  301. package/src/calculator/css/calculator.css +11 -10
  302. package/src/calculator/scss/calculator.scss +139 -139
  303. package/src/calculator.js +188 -188
  304. package/src/cascadingComboBox.js +126 -126
  305. package/src/ckeditor/ckConfigurator.js +707 -707
  306. package/src/ckeditor/dtdHandler.js +1030 -1030
  307. package/src/class/css/selector.css +8 -7
  308. package/src/class/scss/selector.scss +101 -101
  309. package/src/class/selector.js +329 -329
  310. package/src/class/tpl/listItem.tpl +9 -9
  311. package/src/class/tpl/selector.tpl +10 -10
  312. package/src/component/alignable.js +274 -274
  313. package/src/component/containable.js +122 -122
  314. package/src/component/css/components.css +8 -7
  315. package/src/component/css/windowComponent.css +8 -7
  316. package/src/component/draggable.js +99 -99
  317. package/src/component/placeable.js +233 -233
  318. package/src/component/resizable.js +190 -190
  319. package/src/component/scss/components.scss +507 -507
  320. package/src/component/scss/windowComponent.scss +62 -62
  321. package/src/component/stackable.js +67 -67
  322. package/src/component/tpl/window.tpl +7 -7
  323. package/src/component/windowed.js +206 -206
  324. package/src/component.js +401 -401
  325. package/src/container.js +200 -200
  326. package/src/contextualPopup/css/contextualPopup.css +8 -7
  327. package/src/contextualPopup/scss/contextualPopup.scss +78 -78
  328. package/src/contextualPopup/tpl/popup.tpl +10 -10
  329. package/src/contextualPopup.js +297 -297
  330. package/src/dashboard/css/dashboard.css +8 -7
  331. package/src/dashboard/scss/dashboard.scss +93 -93
  332. package/src/dashboard/tpl/dashboard.tpl +16 -16
  333. package/src/dashboard/tpl/dashboardMetricsList.tpl +15 -15
  334. package/src/dashboard.js +184 -184
  335. package/src/datalist/css/datalist.css +8 -7
  336. package/src/datalist/scss/datalist.scss +116 -116
  337. package/src/datalist/tpl/list.tpl +24 -24
  338. package/src/datalist/tpl/main.tpl +44 -44
  339. package/src/datalist.js +500 -500
  340. package/src/datatable/css/datatable.css +8 -7
  341. package/src/datatable/filterStrategy/filterStrategy.js +70 -70
  342. package/src/datatable/filterStrategy/multiple.js +126 -126
  343. package/src/datatable/filterStrategy/single.js +108 -108
  344. package/src/datatable/scss/datatable.scss +146 -146
  345. package/src/datatable/tpl/button.tpl +6 -6
  346. package/src/datatable/tpl/layout.tpl +158 -158
  347. package/src/datatable.js +1056 -1056
  348. package/src/dateRange/css/dateRange.css +8 -7
  349. package/src/dateRange/dateRange.js +341 -341
  350. package/src/dateRange/scss/dateRange.scss +7 -7
  351. package/src/dateRange/tpl/select.tpl +18 -18
  352. package/src/datetime/css/picker.css +8 -7
  353. package/src/datetime/picker.js +576 -576
  354. package/src/datetime/scss/picker.scss +192 -192
  355. package/src/datetime/tpl/picker.tpl +18 -18
  356. package/src/deleter/undo.tpl +6 -6
  357. package/src/deleter.js +296 -296
  358. package/src/destination/css/selector.css +8 -7
  359. package/src/destination/scss/selector.scss +36 -36
  360. package/src/destination/selector.js +195 -195
  361. package/src/destination/tpl/selector.tpl +13 -13
  362. package/src/dialog/alert.js +70 -70
  363. package/src/dialog/confirm.js +85 -85
  364. package/src/dialog/confirmDelete.js +95 -95
  365. package/src/dialog/tpl/body.tpl +24 -24
  366. package/src/dialog/tpl/buttons.tpl +6 -6
  367. package/src/dialog/tpl/checkbox.tpl +5 -5
  368. package/src/dialog.js +517 -517
  369. package/src/disabler.js +230 -230
  370. package/src/documentViewer/css/documentViewer.css +8 -7
  371. package/src/documentViewer/providers/pdfViewer/fallback/viewer.js +69 -69
  372. package/src/documentViewer/providers/pdfViewer/pdfjs/areaBroker.js +41 -41
  373. package/src/documentViewer/providers/pdfViewer/pdfjs/findBar.js +475 -475
  374. package/src/documentViewer/providers/pdfViewer/pdfjs/findBar.tpl +20 -20
  375. package/src/documentViewer/providers/pdfViewer/pdfjs/match.tpl +1 -1
  376. package/src/documentViewer/providers/pdfViewer/pdfjs/page.tpl +4 -4
  377. package/src/documentViewer/providers/pdfViewer/pdfjs/pageView.js +318 -318
  378. package/src/documentViewer/providers/pdfViewer/pdfjs/pagesManager.js +167 -167
  379. package/src/documentViewer/providers/pdfViewer/pdfjs/searchEngine.js +451 -451
  380. package/src/documentViewer/providers/pdfViewer/pdfjs/textManager.js +252 -252
  381. package/src/documentViewer/providers/pdfViewer/pdfjs/viewer.js +299 -299
  382. package/src/documentViewer/providers/pdfViewer/pdfjs/viewer.tpl +16 -16
  383. package/src/documentViewer/providers/pdfViewer/pdfjs/wrapper.js +351 -351
  384. package/src/documentViewer/providers/pdfViewer.js +93 -93
  385. package/src/documentViewer/scss/documentViewer.scss +184 -184
  386. package/src/documentViewer/viewerFactory.js +191 -191
  387. package/src/documentViewer.js +238 -238
  388. package/src/dropdown/css/dropdown.css +8 -7
  389. package/src/dropdown/scss/dropdown.scss +99 -99
  390. package/src/dropdown/tpl/dropdown.tpl +8 -8
  391. package/src/dropdown/tpl/list-item.tpl +4 -4
  392. package/src/dropdown.js +255 -255
  393. package/src/durationer.js +222 -222
  394. package/src/dynamicComponent/css/dynamicComponent.css +8 -7
  395. package/src/dynamicComponent/scss/dynamicComponent.scss +98 -98
  396. package/src/dynamicComponent/tpl/layout.tpl +17 -17
  397. package/src/dynamicComponent.js +554 -554
  398. package/src/feedback/feedback.tpl +7 -7
  399. package/src/feedback.js +295 -295
  400. package/src/filesender.js +114 -114
  401. package/src/filter/template.tpl +5 -5
  402. package/src/filter.js +135 -135
  403. package/src/form/css/dropdownForm.css +8 -7
  404. package/src/form/css/form.css +8 -7
  405. package/src/form/dropdownForm.js +281 -281
  406. package/src/form/form.js +688 -688
  407. package/src/form/scss/dropdownForm.scss +60 -60
  408. package/src/form/scss/form.scss +25 -25
  409. package/src/form/simpleForm.js +125 -125
  410. package/src/form/tpl/dropdownForm.tpl +4 -4
  411. package/src/form/tpl/form.tpl +7 -7
  412. package/src/form/validator/css/validator.css +8 -7
  413. package/src/form/validator/renderer.js +118 -118
  414. package/src/form/validator/scss/validator.scss +14 -14
  415. package/src/form/validator/tpl/message.tpl +1 -1
  416. package/src/form/validator/tpl/validator.tpl +1 -1
  417. package/src/form/validator/validator.js +220 -220
  418. package/src/form/widget/css/widget.css +8 -7
  419. package/src/form/widget/definitions.js +51 -51
  420. package/src/form/widget/loader.js +40 -40
  421. package/src/form/widget/providers/checkBox.js +138 -138
  422. package/src/form/widget/providers/comboBox.js +63 -63
  423. package/src/form/widget/providers/default.js +90 -90
  424. package/src/form/widget/providers/hidden.js +62 -62
  425. package/src/form/widget/providers/hiddenBox.js +152 -152
  426. package/src/form/widget/providers/radioBox.js +99 -99
  427. package/src/form/widget/providers/textArea.js +52 -52
  428. package/src/form/widget/providers/textBox.js +48 -48
  429. package/src/form/widget/scss/widget.scss +55 -55
  430. package/src/form/widget/tpl/checkBox.tpl +25 -25
  431. package/src/form/widget/tpl/comboBox.tpl +13 -13
  432. package/src/form/widget/tpl/hidden.tpl +1 -1
  433. package/src/form/widget/tpl/hiddenBox.tpl +17 -17
  434. package/src/form/widget/tpl/label.tpl +6 -6
  435. package/src/form/widget/tpl/radioBox.tpl +25 -25
  436. package/src/form/widget/tpl/textArea.tpl +8 -8
  437. package/src/form/widget/tpl/widget.tpl +8 -8
  438. package/src/form/widget/widget.js +372 -372
  439. package/src/form.js +53 -53
  440. package/src/formValidator/formValidator.js +253 -253
  441. package/src/formValidator/highlighters/highlighter.js +102 -102
  442. package/src/formValidator/highlighters/message.js +70 -70
  443. package/src/formValidator/highlighters/tooltip.js +78 -78
  444. package/src/generis/form/css/form.css +8 -7
  445. package/src/generis/form/form.js +239 -239
  446. package/src/generis/form/readme.md +70 -70
  447. package/src/generis/form/scss/form.scss +23 -23
  448. package/src/generis/form/tpl/form.tpl +16 -16
  449. package/src/generis/validator/css/validator.css +8 -7
  450. package/src/generis/validator/readme.md +46 -46
  451. package/src/generis/validator/scss/validator.scss +13 -13
  452. package/src/generis/validator/validator.js +128 -128
  453. package/src/generis/widget/checkBox/checkBox.js +112 -112
  454. package/src/generis/widget/checkBox/checkBox.tpl +18 -18
  455. package/src/generis/widget/comboBox/comboBox.js +67 -67
  456. package/src/generis/widget/comboBox/comboBox.tpl +12 -12
  457. package/src/generis/widget/css/widget.css +8 -7
  458. package/src/generis/widget/hiddenBox/hiddenBox.js +132 -132
  459. package/src/generis/widget/hiddenBox/hiddenBox.tpl +16 -16
  460. package/src/generis/widget/loader.js +49 -49
  461. package/src/generis/widget/readme.md +59 -59
  462. package/src/generis/widget/scss/widget.scss +61 -61
  463. package/src/generis/widget/textBox/textBox.js +65 -65
  464. package/src/generis/widget/textBox/textBox.tpl +7 -7
  465. package/src/generis/widget/widget.js +164 -164
  466. package/src/generis/widget/widget.tpl +5 -5
  467. package/src/groupedComboBox.js +99 -99
  468. package/src/groupvalidator.js +84 -84
  469. package/src/hider.js +88 -88
  470. package/src/highlighter.js +1166 -1166
  471. package/src/image/ImgStateActive/extractLabel.js +29 -29
  472. package/src/image/ImgStateActive/initHelper.js +135 -135
  473. package/src/image/ImgStateActive/initMediaEditor.js +91 -91
  474. package/src/image/ImgStateActive/mediaSizer.js +53 -53
  475. package/src/image/ImgStateActive.js +118 -118
  476. package/src/incrementer.js +319 -319
  477. package/src/inplacer.js +316 -316
  478. package/src/interactUtils.js +140 -140
  479. package/src/itemButtonList/css/item-button-list.css +24 -23
  480. package/src/itemButtonList/scss/item-button-list.scss +232 -232
  481. package/src/itemButtonList/tpl/itemButtonList.tpl +22 -22
  482. package/src/itemButtonList.js +220 -220
  483. package/src/keyNavigation/navigableDomElement.js +282 -282
  484. package/src/keyNavigation/navigator.js +543 -543
  485. package/src/listbox/css/listbox.css +8 -7
  486. package/src/listbox/scss/listbox.scss +116 -116
  487. package/src/listbox/tpl/list.tpl +14 -14
  488. package/src/listbox/tpl/main.tpl +9 -9
  489. package/src/listbox.js +251 -251
  490. package/src/liststyler.js +155 -155
  491. package/src/loadingButton/css/button.css +8 -7
  492. package/src/loadingButton/loadingButton.js +110 -110
  493. package/src/loadingButton/scss/button.scss +41 -41
  494. package/src/loadingButton/tpl/button.tpl +5 -5
  495. package/src/lock/lock.tpl +16 -16
  496. package/src/lock.js +395 -395
  497. package/src/login/login.js +322 -322
  498. package/src/login/tpl/login.tpl +29 -29
  499. package/src/login/tpl/passwordReveal.tpl +7 -7
  500. package/src/maths/calculator/basicCalculator.js +55 -55
  501. package/src/maths/calculator/calculatorComponent.js +128 -128
  502. package/src/maths/calculator/core/areaBroker.js +38 -38
  503. package/src/maths/calculator/core/board.js +841 -841
  504. package/src/maths/calculator/core/expression.js +430 -430
  505. package/src/maths/calculator/core/labels.js +116 -116
  506. package/src/maths/calculator/core/plugin.js +40 -40
  507. package/src/maths/calculator/core/terms.js +459 -459
  508. package/src/maths/calculator/core/tokenizer.js +245 -245
  509. package/src/maths/calculator/core/tokens.js +178 -178
  510. package/src/maths/calculator/core/tpl/board.tpl +4 -4
  511. package/src/maths/calculator/css/calculator.css +8 -7
  512. package/src/maths/calculator/defaultCalculator.js +66 -66
  513. package/src/maths/calculator/plugins/core/degrad.js +90 -90
  514. package/src/maths/calculator/plugins/core/history.js +166 -166
  515. package/src/maths/calculator/plugins/core/remind.js +96 -96
  516. package/src/maths/calculator/plugins/core/stepNavigation.js +175 -175
  517. package/src/maths/calculator/plugins/keyboard/templateKeyboard/defaultTemplate.tpl +36 -36
  518. package/src/maths/calculator/plugins/keyboard/templateKeyboard/templateKeyboard.js +91 -91
  519. package/src/maths/calculator/plugins/modifiers/pow10.js +143 -143
  520. package/src/maths/calculator/plugins/modifiers/sign.js +339 -339
  521. package/src/maths/calculator/plugins/screen/simpleScreen/defaultTemplate.tpl +3 -3
  522. package/src/maths/calculator/plugins/screen/simpleScreen/history.tpl +3 -3
  523. package/src/maths/calculator/plugins/screen/simpleScreen/simpleScreen.js +191 -191
  524. package/src/maths/calculator/pluginsLoader.js +46 -46
  525. package/src/maths/calculator/scientificCalculator.js +74 -74
  526. package/src/maths/calculator/scss/calculator.scss +396 -396
  527. package/src/maths/calculator/tpl/basicKeyboard.tpl +37 -37
  528. package/src/maths/calculator/tpl/basicScreen.tpl +2 -2
  529. package/src/maths/calculator/tpl/scientificKeyboard.tpl +61 -61
  530. package/src/maths/calculator/tpl/scientificScreen.tpl +3 -3
  531. package/src/mediaEditor/mediaEditorComponent.js +141 -141
  532. package/src/mediaEditor/plugins/mediaAlignment/helper.js +58 -58
  533. package/src/mediaEditor/plugins/mediaAlignment/mediaAlignmentComponent.js +96 -96
  534. package/src/mediaEditor/plugins/mediaAlignment/style.css +7 -7
  535. package/src/mediaEditor/plugins/mediaAlignment/tpl/mediaAlignment.tpl +25 -25
  536. package/src/mediaEditor/plugins/mediaDimension/helper.js +189 -189
  537. package/src/mediaEditor/plugins/mediaDimension/mediaDimensionComponent.js +561 -561
  538. package/src/mediaEditor/plugins/mediaDimension/style.css +141 -141
  539. package/src/mediaEditor/plugins/mediaDimension/tpl/mediaDimension.tpl +55 -55
  540. package/src/mediaEditor/tpl/editor.tpl +4 -4
  541. package/src/mediaplayer/css/player.css +8 -7
  542. package/src/mediaplayer/players/html5.js +564 -564
  543. package/src/mediaplayer/players/youtube.js +323 -323
  544. package/src/mediaplayer/players.js +29 -29
  545. package/src/mediaplayer/readme.md +305 -305
  546. package/src/mediaplayer/scss/player.scss +530 -530
  547. package/src/mediaplayer/support.js +126 -126
  548. package/src/mediaplayer/tpl/audio.tpl +6 -6
  549. package/src/mediaplayer/tpl/player.tpl +37 -37
  550. package/src/mediaplayer/tpl/source.tpl +1 -1
  551. package/src/mediaplayer/tpl/video.tpl +6 -6
  552. package/src/mediaplayer/tpl/youtube.tpl +1 -1
  553. package/src/mediaplayer/utils/reminder.js +184 -184
  554. package/src/mediaplayer/utils/timeObserver.js +143 -143
  555. package/src/mediaplayer/youtubeManager.js +161 -161
  556. package/src/mediaplayer.js +1606 -1606
  557. package/src/mediasizer/mediasizer.tpl +55 -55
  558. package/src/mediasizer.js +635 -635
  559. package/src/modal.js +365 -365
  560. package/src/movableComponent.js +78 -78
  561. package/src/pageSizeSelector/tpl/pageSizeSelector.tpl +9 -9
  562. package/src/pageSizeSelector.js +107 -107
  563. package/src/pageStatus.js +147 -147
  564. package/src/pagination/css/pagination.css +8 -7
  565. package/src/pagination/paginationStrategy.js +53 -53
  566. package/src/pagination/providers/pages.js +161 -161
  567. package/src/pagination/providers/simple.js +74 -74
  568. package/src/pagination/providers/tpl/pages/page.tpl +1 -1
  569. package/src/pagination/providers/tpl/pages.tpl +8 -8
  570. package/src/pagination/providers/tpl/simple.tpl +7 -7
  571. package/src/pagination/scss/pagination.scss +111 -111
  572. package/src/pagination.js +237 -237
  573. package/src/previewer.js +300 -300
  574. package/src/progressbar.js +165 -165
  575. package/src/report/feedback.tpl +11 -11
  576. package/src/report/layout.tpl +10 -10
  577. package/src/report.js +184 -184
  578. package/src/resource/css/selector.css +8 -7
  579. package/src/resource/filters.js +208 -208
  580. package/src/resource/list.js +200 -200
  581. package/src/resource/scss/_filters.scss +26 -26
  582. package/src/resource/scss/_resource-list.scss +107 -107
  583. package/src/resource/scss/_resource-tree.scss +205 -205
  584. package/src/resource/scss/selector.scss +187 -187
  585. package/src/resource/selectable.js +322 -322
  586. package/src/resource/selector.js +871 -871
  587. package/src/resource/tpl/filters.tpl +2 -2
  588. package/src/resource/tpl/list.tpl +7 -7
  589. package/src/resource/tpl/listNode.tpl +4 -4
  590. package/src/resource/tpl/selector.tpl +46 -46
  591. package/src/resource/tpl/tree.tpl +4 -4
  592. package/src/resource/tpl/treeNode.tpl +30 -30
  593. package/src/resource/tree.js +400 -400
  594. package/src/resourcemgr/css/resourcemgr.css +8 -7
  595. package/src/resourcemgr/fileBrowser.js +370 -370
  596. package/src/resourcemgr/filePreview.js +73 -73
  597. package/src/resourcemgr/fileSelector.js +348 -348
  598. package/src/resourcemgr/scss/resourcemgr.scss +254 -254
  599. package/src/resourcemgr/tpl/fileSelect.tpl +39 -39
  600. package/src/resourcemgr/tpl/folder.tpl +11 -11
  601. package/src/resourcemgr/tpl/layout.tpl +84 -84
  602. package/src/resourcemgr/tpl/rootFolder.tpl +13 -13
  603. package/src/resourcemgr/util/updatePermissions.js +53 -53
  604. package/src/resourcemgr.js +214 -214
  605. package/src/scroller.js +94 -94
  606. package/src/searchModal/advancedSearch.js +605 -605
  607. package/src/searchModal/css/advancedSearch.css +8 -7
  608. package/src/searchModal/css/searchModal.css +8 -7
  609. package/src/searchModal/scss/advancedSearch.scss +177 -177
  610. package/src/searchModal/scss/searchModal.scss +375 -375
  611. package/src/searchModal/tpl/advanced-search.tpl +9 -9
  612. package/src/searchModal/tpl/info-message.tpl +3 -3
  613. package/src/searchModal/tpl/invalid-criteria-warning.tpl +10 -10
  614. package/src/searchModal/tpl/layout.tpl +25 -25
  615. package/src/searchModal/tpl/list-checkbox-criterion.tpl +12 -12
  616. package/src/searchModal/tpl/list-select-criterion.tpl +6 -6
  617. package/src/searchModal/tpl/text-criterion.tpl +6 -6
  618. package/src/searchModal.js +496 -496
  619. package/src/selecter.js +43 -43
  620. package/src/stacker.js +133 -133
  621. package/src/switch/css/switch.css +8 -7
  622. package/src/switch/scss/switch.scss +83 -83
  623. package/src/switch/switch.js +195 -195
  624. package/src/switch/tpl/switch.tpl +7 -7
  625. package/src/tableModel.js +112 -112
  626. package/src/tabs/css/tabs.css +13 -12
  627. package/src/tabs/scss/tabs.scss +50 -50
  628. package/src/tabs/tpl/panel.tpl +3 -3
  629. package/src/tabs/tpl/tabs.tpl +10 -10
  630. package/src/tabs.js +529 -529
  631. package/src/taskQueue/css/taskQueue.css +8 -7
  632. package/src/taskQueue/scss/taskQueue.scss +47 -47
  633. package/src/taskQueue/status.js +228 -228
  634. package/src/taskQueue/table.js +350 -350
  635. package/src/taskQueue/taskQueue.js +33 -33
  636. package/src/taskQueue/taskQueueModel.js +548 -548
  637. package/src/taskQueue/tpl/statusMessage.tpl +7 -7
  638. package/src/taskQueue.js +218 -218
  639. package/src/taskQueueButton/css/taskable.css +8 -7
  640. package/src/taskQueueButton/css/treeButton.css +8 -7
  641. package/src/taskQueueButton/scss/taskable.scss +4 -4
  642. package/src/taskQueueButton/scss/treeButton.scss +34 -34
  643. package/src/taskQueueButton/standardButton.js +108 -108
  644. package/src/taskQueueButton/taskable.js +202 -202
  645. package/src/taskQueueButton/tpl/report.tpl +5 -5
  646. package/src/taskQueueButton/tpl/treeButton.tpl +6 -6
  647. package/src/taskQueueButton/treeButton.js +109 -109
  648. package/src/themeLoader.js +252 -252
  649. package/src/themes.js +162 -162
  650. package/src/toggler.js +200 -200
  651. package/src/tooltip/default.tpl +3 -3
  652. package/src/tooltip.js +160 -160
  653. package/src/tooltipster.js +25 -25
  654. package/src/transformer.js +327 -327
  655. package/src/tristateCheckboxGroup/css/tristateCheckboxGroup.css +8 -7
  656. package/src/tristateCheckboxGroup/scss/tristateCheckboxGroup.scss +15 -15
  657. package/src/tristateCheckboxGroup/tpl/li.tpl +6 -6
  658. package/src/tristateCheckboxGroup.js +207 -207
  659. package/src/uploader/fileEntry.tpl +6 -6
  660. package/src/uploader/uploader.tpl +32 -32
  661. package/src/uploader.js +613 -613
  662. package/src/validator/Report.js +10 -10
  663. package/src/validator/Validator.js +108 -108
  664. package/src/validator/validators.js +220 -220
  665. package/src/validator.js +264 -264
  666. package/src/waitForMedia.js +82 -82
  667. package/src/waitingDialog/css/waitingDialog.css +8 -7
  668. package/src/waitingDialog/scss/waitingDialog.scss +34 -34
  669. package/src/waitingDialog/waitingDialog.js +240 -240
package/LICENSE CHANGED
@@ -1,339 +1,339 @@
1
- GNU GENERAL PUBLIC LICENSE
2
- Version 2, June 1991
3
-
4
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
5
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6
- Everyone is permitted to copy and distribute verbatim copies
7
- of this license document, but changing it is not allowed.
8
-
9
- Preamble
10
-
11
- The licenses for most software are designed to take away your
12
- freedom to share and change it. By contrast, the GNU General Public
13
- License is intended to guarantee your freedom to share and change free
14
- software--to make sure the software is free for all its users. This
15
- General Public License applies to most of the Free Software
16
- Foundation's software and to any other program whose authors commit to
17
- using it. (Some other Free Software Foundation software is covered by
18
- the GNU Lesser General Public License instead.) You can apply it to
19
- your programs, too.
20
-
21
- When we speak of free software, we are referring to freedom, not
22
- price. Our General Public Licenses are designed to make sure that you
23
- have the freedom to distribute copies of free software (and charge for
24
- this service if you wish), that you receive source code or can get it
25
- if you want it, that you can change the software or use pieces of it
26
- in new free programs; and that you know you can do these things.
27
-
28
- To protect your rights, we need to make restrictions that forbid
29
- anyone to deny you these rights or to ask you to surrender the rights.
30
- These restrictions translate to certain responsibilities for you if you
31
- distribute copies of the software, or if you modify it.
32
-
33
- For example, if you distribute copies of such a program, whether
34
- gratis or for a fee, you must give the recipients all the rights that
35
- you have. You must make sure that they, too, receive or can get the
36
- source code. And you must show them these terms so they know their
37
- rights.
38
-
39
- We protect your rights with two steps: (1) copyright the software, and
40
- (2) offer you this license which gives you legal permission to copy,
41
- distribute and/or modify the software.
42
-
43
- Also, for each author's protection and ours, we want to make certain
44
- that everyone understands that there is no warranty for this free
45
- software. If the software is modified by someone else and passed on, we
46
- want its recipients to know that what they have is not the original, so
47
- that any problems introduced by others will not reflect on the original
48
- authors' reputations.
49
-
50
- Finally, any free program is threatened constantly by software
51
- patents. We wish to avoid the danger that redistributors of a free
52
- program will individually obtain patent licenses, in effect making the
53
- program proprietary. To prevent this, we have made it clear that any
54
- patent must be licensed for everyone's free use or not licensed at all.
55
-
56
- The precise terms and conditions for copying, distribution and
57
- modification follow.
58
-
59
- GNU GENERAL PUBLIC LICENSE
60
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61
-
62
- 0. This License applies to any program or other work which contains
63
- a notice placed by the copyright holder saying it may be distributed
64
- under the terms of this General Public License. The "Program", below,
65
- refers to any such program or work, and a "work based on the Program"
66
- means either the Program or any derivative work under copyright law:
67
- that is to say, a work containing the Program or a portion of it,
68
- either verbatim or with modifications and/or translated into another
69
- language. (Hereinafter, translation is included without limitation in
70
- the term "modification".) Each licensee is addressed as "you".
71
-
72
- Activities other than copying, distribution and modification are not
73
- covered by this License; they are outside its scope. The act of
74
- running the Program is not restricted, and the output from the Program
75
- is covered only if its contents constitute a work based on the
76
- Program (independent of having been made by running the Program).
77
- Whether that is true depends on what the Program does.
78
-
79
- 1. You may copy and distribute verbatim copies of the Program's
80
- source code as you receive it, in any medium, provided that you
81
- conspicuously and appropriately publish on each copy an appropriate
82
- copyright notice and disclaimer of warranty; keep intact all the
83
- notices that refer to this License and to the absence of any warranty;
84
- and give any other recipients of the Program a copy of this License
85
- along with the Program.
86
-
87
- You may charge a fee for the physical act of transferring a copy, and
88
- you may at your option offer warranty protection in exchange for a fee.
89
-
90
- 2. You may modify your copy or copies of the Program or any portion
91
- of it, thus forming a work based on the Program, and copy and
92
- distribute such modifications or work under the terms of Section 1
93
- above, provided that you also meet all of these conditions:
94
-
95
- a) You must cause the modified files to carry prominent notices
96
- stating that you changed the files and the date of any change.
97
-
98
- b) You must cause any work that you distribute or publish, that in
99
- whole or in part contains or is derived from the Program or any
100
- part thereof, to be licensed as a whole at no charge to all third
101
- parties under the terms of this License.
102
-
103
- c) If the modified program normally reads commands interactively
104
- when run, you must cause it, when started running for such
105
- interactive use in the most ordinary way, to print or display an
106
- announcement including an appropriate copyright notice and a
107
- notice that there is no warranty (or else, saying that you provide
108
- a warranty) and that users may redistribute the program under
109
- these conditions, and telling the user how to view a copy of this
110
- License. (Exception: if the Program itself is interactive but
111
- does not normally print such an announcement, your work based on
112
- the Program is not required to print an announcement.)
113
-
114
- These requirements apply to the modified work as a whole. If
115
- identifiable sections of that work are not derived from the Program,
116
- and can be reasonably considered independent and separate works in
117
- themselves, then this License, and its terms, do not apply to those
118
- sections when you distribute them as separate works. But when you
119
- distribute the same sections as part of a whole which is a work based
120
- on the Program, the distribution of the whole must be on the terms of
121
- this License, whose permissions for other licensees extend to the
122
- entire whole, and thus to each and every part regardless of who wrote it.
123
-
124
- Thus, it is not the intent of this section to claim rights or contest
125
- your rights to work written entirely by you; rather, the intent is to
126
- exercise the right to control the distribution of derivative or
127
- collective works based on the Program.
128
-
129
- In addition, mere aggregation of another work not based on the Program
130
- with the Program (or with a work based on the Program) on a volume of
131
- a storage or distribution medium does not bring the other work under
132
- the scope of this License.
133
-
134
- 3. You may copy and distribute the Program (or a work based on it,
135
- under Section 2) in object code or executable form under the terms of
136
- Sections 1 and 2 above provided that you also do one of the following:
137
-
138
- a) Accompany it with the complete corresponding machine-readable
139
- source code, which must be distributed under the terms of Sections
140
- 1 and 2 above on a medium customarily used for software interchange; or,
141
-
142
- b) Accompany it with a written offer, valid for at least three
143
- years, to give any third party, for a charge no more than your
144
- cost of physically performing source distribution, a complete
145
- machine-readable copy of the corresponding source code, to be
146
- distributed under the terms of Sections 1 and 2 above on a medium
147
- customarily used for software interchange; or,
148
-
149
- c) Accompany it with the information you received as to the offer
150
- to distribute corresponding source code. (This alternative is
151
- allowed only for noncommercial distribution and only if you
152
- received the program in object code or executable form with such
153
- an offer, in accord with Subsection b above.)
154
-
155
- The source code for a work means the preferred form of the work for
156
- making modifications to it. For an executable work, complete source
157
- code means all the source code for all modules it contains, plus any
158
- associated interface definition files, plus the scripts used to
159
- control compilation and installation of the executable. However, as a
160
- special exception, the source code distributed need not include
161
- anything that is normally distributed (in either source or binary
162
- form) with the major components (compiler, kernel, and so on) of the
163
- operating system on which the executable runs, unless that component
164
- itself accompanies the executable.
165
-
166
- If distribution of executable or object code is made by offering
167
- access to copy from a designated place, then offering equivalent
168
- access to copy the source code from the same place counts as
169
- distribution of the source code, even though third parties are not
170
- compelled to copy the source along with the object code.
171
-
172
- 4. You may not copy, modify, sublicense, or distribute the Program
173
- except as expressly provided under this License. Any attempt
174
- otherwise to copy, modify, sublicense or distribute the Program is
175
- void, and will automatically terminate your rights under this License.
176
- However, parties who have received copies, or rights, from you under
177
- this License will not have their licenses terminated so long as such
178
- parties remain in full compliance.
179
-
180
- 5. You are not required to accept this License, since you have not
181
- signed it. However, nothing else grants you permission to modify or
182
- distribute the Program or its derivative works. These actions are
183
- prohibited by law if you do not accept this License. Therefore, by
184
- modifying or distributing the Program (or any work based on the
185
- Program), you indicate your acceptance of this License to do so, and
186
- all its terms and conditions for copying, distributing or modifying
187
- the Program or works based on it.
188
-
189
- 6. Each time you redistribute the Program (or any work based on the
190
- Program), the recipient automatically receives a license from the
191
- original licensor to copy, distribute or modify the Program subject to
192
- these terms and conditions. You may not impose any further
193
- restrictions on the recipients' exercise of the rights granted herein.
194
- You are not responsible for enforcing compliance by third parties to
195
- this License.
196
-
197
- 7. If, as a consequence of a court judgment or allegation of patent
198
- infringement or for any other reason (not limited to patent issues),
199
- conditions are imposed on you (whether by court order, agreement or
200
- otherwise) that contradict the conditions of this License, they do not
201
- excuse you from the conditions of this License. If you cannot
202
- distribute so as to satisfy simultaneously your obligations under this
203
- License and any other pertinent obligations, then as a consequence you
204
- may not distribute the Program at all. For example, if a patent
205
- license would not permit royalty-free redistribution of the Program by
206
- all those who receive copies directly or indirectly through you, then
207
- the only way you could satisfy both it and this License would be to
208
- refrain entirely from distribution of the Program.
209
-
210
- If any portion of this section is held invalid or unenforceable under
211
- any particular circumstance, the balance of the section is intended to
212
- apply and the section as a whole is intended to apply in other
213
- circumstances.
214
-
215
- It is not the purpose of this section to induce you to infringe any
216
- patents or other property right claims or to contest validity of any
217
- such claims; this section has the sole purpose of protecting the
218
- integrity of the free software distribution system, which is
219
- implemented by public license practices. Many people have made
220
- generous contributions to the wide range of software distributed
221
- through that system in reliance on consistent application of that
222
- system; it is up to the author/donor to decide if he or she is willing
223
- to distribute software through any other system and a licensee cannot
224
- impose that choice.
225
-
226
- This section is intended to make thoroughly clear what is believed to
227
- be a consequence of the rest of this License.
228
-
229
- 8. If the distribution and/or use of the Program is restricted in
230
- certain countries either by patents or by copyrighted interfaces, the
231
- original copyright holder who places the Program under this License
232
- may add an explicit geographical distribution limitation excluding
233
- those countries, so that distribution is permitted only in or among
234
- countries not thus excluded. In such case, this License incorporates
235
- the limitation as if written in the body of this License.
236
-
237
- 9. The Free Software Foundation may publish revised and/or new versions
238
- of the General Public License from time to time. Such new versions will
239
- be similar in spirit to the present version, but may differ in detail to
240
- address new problems or concerns.
241
-
242
- Each version is given a distinguishing version number. If the Program
243
- specifies a version number of this License which applies to it and "any
244
- later version", you have the option of following the terms and conditions
245
- either of that version or of any later version published by the Free
246
- Software Foundation. If the Program does not specify a version number of
247
- this License, you may choose any version ever published by the Free Software
248
- Foundation.
249
-
250
- 10. If you wish to incorporate parts of the Program into other free
251
- programs whose distribution conditions are different, write to the author
252
- to ask for permission. For software which is copyrighted by the Free
253
- Software Foundation, write to the Free Software Foundation; we sometimes
254
- make exceptions for this. Our decision will be guided by the two goals
255
- of preserving the free status of all derivatives of our free software and
256
- of promoting the sharing and reuse of software generally.
257
-
258
- NO WARRANTY
259
-
260
- 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261
- FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
262
- OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263
- PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264
- OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265
- MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
266
- TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
267
- PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268
- REPAIR OR CORRECTION.
269
-
270
- 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271
- WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272
- REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273
- INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274
- OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275
- TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276
- YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277
- PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278
- POSSIBILITY OF SUCH DAMAGES.
279
-
280
- END OF TERMS AND CONDITIONS
281
-
282
- How to Apply These Terms to Your New Programs
283
-
284
- If you develop a new program, and you want it to be of the greatest
285
- possible use to the public, the best way to achieve this is to make it
286
- free software which everyone can redistribute and change under these terms.
287
-
288
- To do so, attach the following notices to the program. It is safest
289
- to attach them to the start of each source file to most effectively
290
- convey the exclusion of warranty; and each file should have at least
291
- the "copyright" line and a pointer to where the full notice is found.
292
-
293
- <one line to give the program's name and a brief idea of what it does.>
294
- Copyright (C) <year> <name of author>
295
-
296
- This program is free software; you can redistribute it and/or modify
297
- it under the terms of the GNU General Public License as published by
298
- the Free Software Foundation; either version 2 of the License, or
299
- (at your option) any later version.
300
-
301
- This program is distributed in the hope that it will be useful,
302
- but WITHOUT ANY WARRANTY; without even the implied warranty of
303
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
304
- GNU General Public License for more details.
305
-
306
- You should have received a copy of the GNU General Public License along
307
- with this program; if not, write to the Free Software Foundation, Inc.,
308
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
309
-
310
- Also add information on how to contact you by electronic and paper mail.
311
-
312
- If the program is interactive, make it output a short notice like this
313
- when it starts in an interactive mode:
314
-
315
- Gnomovision version 69, Copyright (C) year name of author
316
- Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
317
- This is free software, and you are welcome to redistribute it
318
- under certain conditions; type `show c' for details.
319
-
320
- The hypothetical commands `show w' and `show c' should show the appropriate
321
- parts of the General Public License. Of course, the commands you use may
322
- be called something other than `show w' and `show c'; they could even be
323
- mouse-clicks or menu items--whatever suits your program.
324
-
325
- You should also get your employer (if you work as a programmer) or your
326
- school, if any, to sign a "copyright disclaimer" for the program, if
327
- necessary. Here is a sample; alter the names:
328
-
329
- Yoyodyne, Inc., hereby disclaims all copyright interest in the program
330
- `Gnomovision' (which makes passes at compilers) written by James Hacker.
331
-
332
- <signature of Ty Coon>, 1 April 1989
333
- Ty Coon, President of Vice
334
-
335
- This General Public License does not permit incorporating your program into
336
- proprietary programs. If your program is a subroutine library, you may
337
- consider it more useful to permit linking proprietary applications with the
338
- library. If this is what you want to do, use the GNU Lesser General
339
- Public License instead of this License.
1
+ GNU GENERAL PUBLIC LICENSE
2
+ Version 2, June 1991
3
+
4
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
5
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6
+ Everyone is permitted to copy and distribute verbatim copies
7
+ of this license document, but changing it is not allowed.
8
+
9
+ Preamble
10
+
11
+ The licenses for most software are designed to take away your
12
+ freedom to share and change it. By contrast, the GNU General Public
13
+ License is intended to guarantee your freedom to share and change free
14
+ software--to make sure the software is free for all its users. This
15
+ General Public License applies to most of the Free Software
16
+ Foundation's software and to any other program whose authors commit to
17
+ using it. (Some other Free Software Foundation software is covered by
18
+ the GNU Lesser General Public License instead.) You can apply it to
19
+ your programs, too.
20
+
21
+ When we speak of free software, we are referring to freedom, not
22
+ price. Our General Public Licenses are designed to make sure that you
23
+ have the freedom to distribute copies of free software (and charge for
24
+ this service if you wish), that you receive source code or can get it
25
+ if you want it, that you can change the software or use pieces of it
26
+ in new free programs; and that you know you can do these things.
27
+
28
+ To protect your rights, we need to make restrictions that forbid
29
+ anyone to deny you these rights or to ask you to surrender the rights.
30
+ These restrictions translate to certain responsibilities for you if you
31
+ distribute copies of the software, or if you modify it.
32
+
33
+ For example, if you distribute copies of such a program, whether
34
+ gratis or for a fee, you must give the recipients all the rights that
35
+ you have. You must make sure that they, too, receive or can get the
36
+ source code. And you must show them these terms so they know their
37
+ rights.
38
+
39
+ We protect your rights with two steps: (1) copyright the software, and
40
+ (2) offer you this license which gives you legal permission to copy,
41
+ distribute and/or modify the software.
42
+
43
+ Also, for each author's protection and ours, we want to make certain
44
+ that everyone understands that there is no warranty for this free
45
+ software. If the software is modified by someone else and passed on, we
46
+ want its recipients to know that what they have is not the original, so
47
+ that any problems introduced by others will not reflect on the original
48
+ authors' reputations.
49
+
50
+ Finally, any free program is threatened constantly by software
51
+ patents. We wish to avoid the danger that redistributors of a free
52
+ program will individually obtain patent licenses, in effect making the
53
+ program proprietary. To prevent this, we have made it clear that any
54
+ patent must be licensed for everyone's free use or not licensed at all.
55
+
56
+ The precise terms and conditions for copying, distribution and
57
+ modification follow.
58
+
59
+ GNU GENERAL PUBLIC LICENSE
60
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61
+
62
+ 0. This License applies to any program or other work which contains
63
+ a notice placed by the copyright holder saying it may be distributed
64
+ under the terms of this General Public License. The "Program", below,
65
+ refers to any such program or work, and a "work based on the Program"
66
+ means either the Program or any derivative work under copyright law:
67
+ that is to say, a work containing the Program or a portion of it,
68
+ either verbatim or with modifications and/or translated into another
69
+ language. (Hereinafter, translation is included without limitation in
70
+ the term "modification".) Each licensee is addressed as "you".
71
+
72
+ Activities other than copying, distribution and modification are not
73
+ covered by this License; they are outside its scope. The act of
74
+ running the Program is not restricted, and the output from the Program
75
+ is covered only if its contents constitute a work based on the
76
+ Program (independent of having been made by running the Program).
77
+ Whether that is true depends on what the Program does.
78
+
79
+ 1. You may copy and distribute verbatim copies of the Program's
80
+ source code as you receive it, in any medium, provided that you
81
+ conspicuously and appropriately publish on each copy an appropriate
82
+ copyright notice and disclaimer of warranty; keep intact all the
83
+ notices that refer to this License and to the absence of any warranty;
84
+ and give any other recipients of the Program a copy of this License
85
+ along with the Program.
86
+
87
+ You may charge a fee for the physical act of transferring a copy, and
88
+ you may at your option offer warranty protection in exchange for a fee.
89
+
90
+ 2. You may modify your copy or copies of the Program or any portion
91
+ of it, thus forming a work based on the Program, and copy and
92
+ distribute such modifications or work under the terms of Section 1
93
+ above, provided that you also meet all of these conditions:
94
+
95
+ a) You must cause the modified files to carry prominent notices
96
+ stating that you changed the files and the date of any change.
97
+
98
+ b) You must cause any work that you distribute or publish, that in
99
+ whole or in part contains or is derived from the Program or any
100
+ part thereof, to be licensed as a whole at no charge to all third
101
+ parties under the terms of this License.
102
+
103
+ c) If the modified program normally reads commands interactively
104
+ when run, you must cause it, when started running for such
105
+ interactive use in the most ordinary way, to print or display an
106
+ announcement including an appropriate copyright notice and a
107
+ notice that there is no warranty (or else, saying that you provide
108
+ a warranty) and that users may redistribute the program under
109
+ these conditions, and telling the user how to view a copy of this
110
+ License. (Exception: if the Program itself is interactive but
111
+ does not normally print such an announcement, your work based on
112
+ the Program is not required to print an announcement.)
113
+
114
+ These requirements apply to the modified work as a whole. If
115
+ identifiable sections of that work are not derived from the Program,
116
+ and can be reasonably considered independent and separate works in
117
+ themselves, then this License, and its terms, do not apply to those
118
+ sections when you distribute them as separate works. But when you
119
+ distribute the same sections as part of a whole which is a work based
120
+ on the Program, the distribution of the whole must be on the terms of
121
+ this License, whose permissions for other licensees extend to the
122
+ entire whole, and thus to each and every part regardless of who wrote it.
123
+
124
+ Thus, it is not the intent of this section to claim rights or contest
125
+ your rights to work written entirely by you; rather, the intent is to
126
+ exercise the right to control the distribution of derivative or
127
+ collective works based on the Program.
128
+
129
+ In addition, mere aggregation of another work not based on the Program
130
+ with the Program (or with a work based on the Program) on a volume of
131
+ a storage or distribution medium does not bring the other work under
132
+ the scope of this License.
133
+
134
+ 3. You may copy and distribute the Program (or a work based on it,
135
+ under Section 2) in object code or executable form under the terms of
136
+ Sections 1 and 2 above provided that you also do one of the following:
137
+
138
+ a) Accompany it with the complete corresponding machine-readable
139
+ source code, which must be distributed under the terms of Sections
140
+ 1 and 2 above on a medium customarily used for software interchange; or,
141
+
142
+ b) Accompany it with a written offer, valid for at least three
143
+ years, to give any third party, for a charge no more than your
144
+ cost of physically performing source distribution, a complete
145
+ machine-readable copy of the corresponding source code, to be
146
+ distributed under the terms of Sections 1 and 2 above on a medium
147
+ customarily used for software interchange; or,
148
+
149
+ c) Accompany it with the information you received as to the offer
150
+ to distribute corresponding source code. (This alternative is
151
+ allowed only for noncommercial distribution and only if you
152
+ received the program in object code or executable form with such
153
+ an offer, in accord with Subsection b above.)
154
+
155
+ The source code for a work means the preferred form of the work for
156
+ making modifications to it. For an executable work, complete source
157
+ code means all the source code for all modules it contains, plus any
158
+ associated interface definition files, plus the scripts used to
159
+ control compilation and installation of the executable. However, as a
160
+ special exception, the source code distributed need not include
161
+ anything that is normally distributed (in either source or binary
162
+ form) with the major components (compiler, kernel, and so on) of the
163
+ operating system on which the executable runs, unless that component
164
+ itself accompanies the executable.
165
+
166
+ If distribution of executable or object code is made by offering
167
+ access to copy from a designated place, then offering equivalent
168
+ access to copy the source code from the same place counts as
169
+ distribution of the source code, even though third parties are not
170
+ compelled to copy the source along with the object code.
171
+
172
+ 4. You may not copy, modify, sublicense, or distribute the Program
173
+ except as expressly provided under this License. Any attempt
174
+ otherwise to copy, modify, sublicense or distribute the Program is
175
+ void, and will automatically terminate your rights under this License.
176
+ However, parties who have received copies, or rights, from you under
177
+ this License will not have their licenses terminated so long as such
178
+ parties remain in full compliance.
179
+
180
+ 5. You are not required to accept this License, since you have not
181
+ signed it. However, nothing else grants you permission to modify or
182
+ distribute the Program or its derivative works. These actions are
183
+ prohibited by law if you do not accept this License. Therefore, by
184
+ modifying or distributing the Program (or any work based on the
185
+ Program), you indicate your acceptance of this License to do so, and
186
+ all its terms and conditions for copying, distributing or modifying
187
+ the Program or works based on it.
188
+
189
+ 6. Each time you redistribute the Program (or any work based on the
190
+ Program), the recipient automatically receives a license from the
191
+ original licensor to copy, distribute or modify the Program subject to
192
+ these terms and conditions. You may not impose any further
193
+ restrictions on the recipients' exercise of the rights granted herein.
194
+ You are not responsible for enforcing compliance by third parties to
195
+ this License.
196
+
197
+ 7. If, as a consequence of a court judgment or allegation of patent
198
+ infringement or for any other reason (not limited to patent issues),
199
+ conditions are imposed on you (whether by court order, agreement or
200
+ otherwise) that contradict the conditions of this License, they do not
201
+ excuse you from the conditions of this License. If you cannot
202
+ distribute so as to satisfy simultaneously your obligations under this
203
+ License and any other pertinent obligations, then as a consequence you
204
+ may not distribute the Program at all. For example, if a patent
205
+ license would not permit royalty-free redistribution of the Program by
206
+ all those who receive copies directly or indirectly through you, then
207
+ the only way you could satisfy both it and this License would be to
208
+ refrain entirely from distribution of the Program.
209
+
210
+ If any portion of this section is held invalid or unenforceable under
211
+ any particular circumstance, the balance of the section is intended to
212
+ apply and the section as a whole is intended to apply in other
213
+ circumstances.
214
+
215
+ It is not the purpose of this section to induce you to infringe any
216
+ patents or other property right claims or to contest validity of any
217
+ such claims; this section has the sole purpose of protecting the
218
+ integrity of the free software distribution system, which is
219
+ implemented by public license practices. Many people have made
220
+ generous contributions to the wide range of software distributed
221
+ through that system in reliance on consistent application of that
222
+ system; it is up to the author/donor to decide if he or she is willing
223
+ to distribute software through any other system and a licensee cannot
224
+ impose that choice.
225
+
226
+ This section is intended to make thoroughly clear what is believed to
227
+ be a consequence of the rest of this License.
228
+
229
+ 8. If the distribution and/or use of the Program is restricted in
230
+ certain countries either by patents or by copyrighted interfaces, the
231
+ original copyright holder who places the Program under this License
232
+ may add an explicit geographical distribution limitation excluding
233
+ those countries, so that distribution is permitted only in or among
234
+ countries not thus excluded. In such case, this License incorporates
235
+ the limitation as if written in the body of this License.
236
+
237
+ 9. The Free Software Foundation may publish revised and/or new versions
238
+ of the General Public License from time to time. Such new versions will
239
+ be similar in spirit to the present version, but may differ in detail to
240
+ address new problems or concerns.
241
+
242
+ Each version is given a distinguishing version number. If the Program
243
+ specifies a version number of this License which applies to it and "any
244
+ later version", you have the option of following the terms and conditions
245
+ either of that version or of any later version published by the Free
246
+ Software Foundation. If the Program does not specify a version number of
247
+ this License, you may choose any version ever published by the Free Software
248
+ Foundation.
249
+
250
+ 10. If you wish to incorporate parts of the Program into other free
251
+ programs whose distribution conditions are different, write to the author
252
+ to ask for permission. For software which is copyrighted by the Free
253
+ Software Foundation, write to the Free Software Foundation; we sometimes
254
+ make exceptions for this. Our decision will be guided by the two goals
255
+ of preserving the free status of all derivatives of our free software and
256
+ of promoting the sharing and reuse of software generally.
257
+
258
+ NO WARRANTY
259
+
260
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261
+ FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
262
+ OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263
+ PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264
+ OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
266
+ TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
267
+ PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268
+ REPAIR OR CORRECTION.
269
+
270
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271
+ WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272
+ REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273
+ INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274
+ OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275
+ TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276
+ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277
+ PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278
+ POSSIBILITY OF SUCH DAMAGES.
279
+
280
+ END OF TERMS AND CONDITIONS
281
+
282
+ How to Apply These Terms to Your New Programs
283
+
284
+ If you develop a new program, and you want it to be of the greatest
285
+ possible use to the public, the best way to achieve this is to make it
286
+ free software which everyone can redistribute and change under these terms.
287
+
288
+ To do so, attach the following notices to the program. It is safest
289
+ to attach them to the start of each source file to most effectively
290
+ convey the exclusion of warranty; and each file should have at least
291
+ the "copyright" line and a pointer to where the full notice is found.
292
+
293
+ <one line to give the program's name and a brief idea of what it does.>
294
+ Copyright (C) <year> <name of author>
295
+
296
+ This program is free software; you can redistribute it and/or modify
297
+ it under the terms of the GNU General Public License as published by
298
+ the Free Software Foundation; either version 2 of the License, or
299
+ (at your option) any later version.
300
+
301
+ This program is distributed in the hope that it will be useful,
302
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
303
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
304
+ GNU General Public License for more details.
305
+
306
+ You should have received a copy of the GNU General Public License along
307
+ with this program; if not, write to the Free Software Foundation, Inc.,
308
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
309
+
310
+ Also add information on how to contact you by electronic and paper mail.
311
+
312
+ If the program is interactive, make it output a short notice like this
313
+ when it starts in an interactive mode:
314
+
315
+ Gnomovision version 69, Copyright (C) year name of author
316
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
317
+ This is free software, and you are welcome to redistribute it
318
+ under certain conditions; type `show c' for details.
319
+
320
+ The hypothetical commands `show w' and `show c' should show the appropriate
321
+ parts of the General Public License. Of course, the commands you use may
322
+ be called something other than `show w' and `show c'; they could even be
323
+ mouse-clicks or menu items--whatever suits your program.
324
+
325
+ You should also get your employer (if you work as a programmer) or your
326
+ school, if any, to sign a "copyright disclaimer" for the program, if
327
+ necessary. Here is a sample; alter the names:
328
+
329
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
330
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
331
+
332
+ <signature of Ty Coon>, 1 April 1989
333
+ Ty Coon, President of Vice
334
+
335
+ This General Public License does not permit incorporating your program into
336
+ proprietary programs. If your program is a subroutine library, you may
337
+ consider it more useful to permit linking proprietary applications with the
338
+ library. If this is what you want to do, use the GNU Lesser General
339
+ Public License instead of this License.