fxruby 1.6.46-x86-mingw32 → 1.6.47-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (314) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/binary.yml +4 -4
  3. data/.github/workflows/ci.yml +3 -3
  4. data/.yardopts +2 -2
  5. data/Gemfile +1 -1
  6. data/History.md +7 -0
  7. data/README.md +2 -2
  8. data/Rakefile +1 -1
  9. data/appveyor.yml +1 -1
  10. data/doap.rdf +1 -1
  11. data/docs/Fox/Canvas/CanvasError.html +2 -2
  12. data/docs/Fox/Canvas/CircleShape.html +2 -2
  13. data/docs/Fox/Canvas/ImageShape.html +2 -2
  14. data/docs/Fox/Canvas/LineShape.html +2 -2
  15. data/docs/Fox/Canvas/PolygonShape.html +2 -2
  16. data/docs/Fox/Canvas/RectangleShape.html +2 -2
  17. data/docs/Fox/Canvas/SelectionPolicy.html +2 -2
  18. data/docs/Fox/Canvas/Shape.html +2 -2
  19. data/docs/Fox/Canvas/ShapeCanvas.html +2 -2
  20. data/docs/Fox/Canvas/ShapeGroup.html +2 -2
  21. data/docs/Fox/Canvas/SingleSelectionPolicy.html +2 -2
  22. data/docs/Fox/Canvas/TextShape.html +2 -2
  23. data/docs/Fox/Canvas.html +2 -2
  24. data/docs/Fox/FTNonModal.html +2 -2
  25. data/docs/Fox/FX4Splitter.html +2 -2
  26. data/docs/Fox/FX7Segment.html +2 -2
  27. data/docs/Fox/FXAccelTable.html +2 -2
  28. data/docs/Fox/FXApp.html +2 -2
  29. data/docs/Fox/FXArc.html +2 -2
  30. data/docs/Fox/FXArrowButton.html +2 -2
  31. data/docs/Fox/FXBMPIcon.html +2 -2
  32. data/docs/Fox/FXBMPImage.html +2 -2
  33. data/docs/Fox/FXBitmap.html +2 -2
  34. data/docs/Fox/FXBitmapFrame.html +2 -2
  35. data/docs/Fox/FXBitmapView.html +2 -2
  36. data/docs/Fox/FXButton.html +2 -2
  37. data/docs/Fox/FXCURCursor.html +2 -2
  38. data/docs/Fox/FXCalendar.html +2 -2
  39. data/docs/Fox/FXCanvas.html +2 -2
  40. data/docs/Fox/FXCheckButton.html +2 -2
  41. data/docs/Fox/FXChoiceBox.html +2 -2
  42. data/docs/Fox/FXColor.html +2 -2
  43. data/docs/Fox/FXColorBar.html +2 -2
  44. data/docs/Fox/FXColorDialog.html +2 -2
  45. data/docs/Fox/FXColorItem.html +2 -2
  46. data/docs/Fox/FXColorList.html +2 -2
  47. data/docs/Fox/FXColorRing.html +2 -2
  48. data/docs/Fox/FXColorSelector.html +2 -2
  49. data/docs/Fox/FXColorWell.html +2 -2
  50. data/docs/Fox/FXColorWheel.html +2 -2
  51. data/docs/Fox/FXComboBox.html +2 -2
  52. data/docs/Fox/FXComboTableItem.html +2 -2
  53. data/docs/Fox/FXCommand.html +2 -2
  54. data/docs/Fox/FXComposite.html +2 -2
  55. data/docs/Fox/FXCursor.html +2 -2
  56. data/docs/Fox/FXDC.html +2 -2
  57. data/docs/Fox/FXDCPrint.html +2 -2
  58. data/docs/Fox/FXDCWindow.html +2 -2
  59. data/docs/Fox/FXDataTarget.html +2 -2
  60. data/docs/Fox/FXDebugTarget.html +2 -2
  61. data/docs/Fox/FXDelegator.html +2 -2
  62. data/docs/Fox/FXDial.html +2 -2
  63. data/docs/Fox/FXDialogBox.html +2 -2
  64. data/docs/Fox/FXDict.html +2 -2
  65. data/docs/Fox/FXDirBox.html +2 -2
  66. data/docs/Fox/FXDirDialog.html +2 -2
  67. data/docs/Fox/FXDirItem.html +2 -2
  68. data/docs/Fox/FXDirList.html +2 -2
  69. data/docs/Fox/FXDirSelector.html +2 -2
  70. data/docs/Fox/FXDockBar.html +2 -2
  71. data/docs/Fox/FXDockHandler.html +2 -2
  72. data/docs/Fox/FXDockSite.html +2 -2
  73. data/docs/Fox/FXDockTitle.html +2 -2
  74. data/docs/Fox/FXDocument.html +2 -2
  75. data/docs/Fox/FXDragCorner.html +2 -2
  76. data/docs/Fox/FXDrawable.html +2 -2
  77. data/docs/Fox/FXDriveBox.html +2 -2
  78. data/docs/Fox/FXEvent.html +2 -2
  79. data/docs/Fox/FXExtentd.html +2 -2
  80. data/docs/Fox/FXExtentf.html +2 -2
  81. data/docs/Fox/FXFileAssoc.html +2 -2
  82. data/docs/Fox/FXFileDialog.html +2 -2
  83. data/docs/Fox/FXFileDict.html +2 -2
  84. data/docs/Fox/FXFileItem.html +2 -2
  85. data/docs/Fox/FXFileList.html +2 -2
  86. data/docs/Fox/FXFileSelector.html +2 -2
  87. data/docs/Fox/FXFileStream.html +2 -2
  88. data/docs/Fox/FXFoldingItem.html +2 -2
  89. data/docs/Fox/FXFoldingList.html +2 -2
  90. data/docs/Fox/FXFont.html +2 -2
  91. data/docs/Fox/FXFontDesc.html +2 -2
  92. data/docs/Fox/FXFontDialog.html +2 -2
  93. data/docs/Fox/FXFontSelector.html +2 -2
  94. data/docs/Fox/FXFrame.html +2 -2
  95. data/docs/Fox/FXGIFCursor.html +2 -2
  96. data/docs/Fox/FXGIFIcon.html +2 -2
  97. data/docs/Fox/FXGIFImage.html +2 -2
  98. data/docs/Fox/FXGLCanvas.html +2 -2
  99. data/docs/Fox/FXGLCone.html +53 -60
  100. data/docs/Fox/FXGLContext.html +2 -2
  101. data/docs/Fox/FXGLCube.html +72 -78
  102. data/docs/Fox/FXGLCylinder.html +62 -69
  103. data/docs/Fox/FXGLGroup.html +57 -58
  104. data/docs/Fox/FXGLLine.html +44 -50
  105. data/docs/Fox/FXGLObject.html +2 -2
  106. data/docs/Fox/FXGLPoint.html +30 -36
  107. data/docs/Fox/FXGLShape.html +2 -2
  108. data/docs/Fox/FXGLSphere.html +38 -45
  109. data/docs/Fox/FXGLViewer.html +2 -2
  110. data/docs/Fox/FXGLVisual.html +2 -2
  111. data/docs/Fox/FXGradient.html +2 -2
  112. data/docs/Fox/FXGradientBar.html +2 -2
  113. data/docs/Fox/FXGroupBox.html +2 -2
  114. data/docs/Fox/FXHeader.html +2 -2
  115. data/docs/Fox/FXHeaderItem.html +2 -2
  116. data/docs/Fox/FXHiliteStyle.html +2 -2
  117. data/docs/Fox/FXHorizontalFrame.html +2 -2
  118. data/docs/Fox/FXHorizontalSeparator.html +2 -2
  119. data/docs/Fox/FXICOIcon.html +2 -2
  120. data/docs/Fox/FXICOImage.html +2 -2
  121. data/docs/Fox/FXIcon.html +2 -2
  122. data/docs/Fox/FXIconDict.html +2 -2
  123. data/docs/Fox/FXIconItem.html +2 -2
  124. data/docs/Fox/FXIconList.html +2 -2
  125. data/docs/Fox/FXIconSource.html +2 -2
  126. data/docs/Fox/FXId.html +2 -2
  127. data/docs/Fox/FXImage.html +2 -2
  128. data/docs/Fox/FXImageFrame.html +2 -2
  129. data/docs/Fox/FXImageView.html +2 -2
  130. data/docs/Fox/FXInputDialog.html +2 -2
  131. data/docs/Fox/FXIrb.html +2 -2
  132. data/docs/Fox/FXJPGIcon.html +2 -2
  133. data/docs/Fox/FXJPGImage.html +2 -2
  134. data/docs/Fox/FXKnob.html +2 -2
  135. data/docs/Fox/FXLabel.html +2 -2
  136. data/docs/Fox/FXLight.html +2 -2
  137. data/docs/Fox/FXList.html +2 -2
  138. data/docs/Fox/FXListBox.html +2 -2
  139. data/docs/Fox/FXListItem.html +2 -2
  140. data/docs/Fox/FXMDIChild.html +2 -2
  141. data/docs/Fox/FXMDIClient.html +2 -2
  142. data/docs/Fox/FXMDIDeleteButton.html +2 -2
  143. data/docs/Fox/FXMDIMaximizeButton.html +2 -2
  144. data/docs/Fox/FXMDIMenu.html +2 -2
  145. data/docs/Fox/FXMDIMinimizeButton.html +2 -2
  146. data/docs/Fox/FXMDIRestoreButton.html +2 -2
  147. data/docs/Fox/FXMDIWindowButton.html +2 -2
  148. data/docs/Fox/FXMainWindow.html +2 -2
  149. data/docs/Fox/FXMaterial.html +2 -2
  150. data/docs/Fox/FXMatrix.html +2 -2
  151. data/docs/Fox/FXMemoryBuffer.html +2 -2
  152. data/docs/Fox/FXMemoryStream.html +2 -2
  153. data/docs/Fox/FXMenuBar.html +2 -2
  154. data/docs/Fox/FXMenuButton.html +2 -2
  155. data/docs/Fox/FXMenuCaption.html +2 -2
  156. data/docs/Fox/FXMenuCascade.html +2 -2
  157. data/docs/Fox/FXMenuCheck.html +2 -2
  158. data/docs/Fox/FXMenuCommand.html +2 -2
  159. data/docs/Fox/FXMenuPane.html +2 -2
  160. data/docs/Fox/FXMenuRadio.html +2 -2
  161. data/docs/Fox/FXMenuSeparator.html +2 -2
  162. data/docs/Fox/FXMenuTitle.html +2 -2
  163. data/docs/Fox/FXMessageBox.html +2 -2
  164. data/docs/Fox/FXObject.html +2 -2
  165. data/docs/Fox/FXOption.html +2 -2
  166. data/docs/Fox/FXOptionMenu.html +2 -2
  167. data/docs/Fox/FXPCXIcon.html +2 -2
  168. data/docs/Fox/FXPCXImage.html +2 -2
  169. data/docs/Fox/FXPNGIcon.html +2 -2
  170. data/docs/Fox/FXPNGImage.html +2 -2
  171. data/docs/Fox/FXPPMIcon.html +2 -2
  172. data/docs/Fox/FXPPMImage.html +2 -2
  173. data/docs/Fox/FXPSBounds.html +2 -2
  174. data/docs/Fox/FXPacker.html +2 -2
  175. data/docs/Fox/FXPicker.html +2 -2
  176. data/docs/Fox/FXPopup.html +2 -2
  177. data/docs/Fox/FXPrintDialog.html +2 -2
  178. data/docs/Fox/FXPrinter.html +2 -2
  179. data/docs/Fox/FXProgressBar.html +2 -2
  180. data/docs/Fox/FXProgressDialog.html +2 -2
  181. data/docs/Fox/FXPseudoKeyboard.html +2 -2
  182. data/docs/Fox/FXPseudoMouse.html +2 -2
  183. data/docs/Fox/FXPseudoTarget.html +2 -2
  184. data/docs/Fox/FXQuatd.html +2 -2
  185. data/docs/Fox/FXQuatf.html +2 -2
  186. data/docs/Fox/FXRGBIcon.html +2 -2
  187. data/docs/Fox/FXRGBImage.html +2 -2
  188. data/docs/Fox/FXRadioButton.html +2 -2
  189. data/docs/Fox/FXRanged.html +2 -2
  190. data/docs/Fox/FXRangef.html +2 -2
  191. data/docs/Fox/FXRealSlider.html +2 -2
  192. data/docs/Fox/FXRealSpinner.html +2 -2
  193. data/docs/Fox/FXRecentFiles.html +2 -2
  194. data/docs/Fox/FXRectangle.html +2 -2
  195. data/docs/Fox/FXRegion.html +2 -2
  196. data/docs/Fox/FXRegistry.html +2 -2
  197. data/docs/Fox/FXReplaceDialog.html +2 -2
  198. data/docs/Fox/FXRootWindow.html +2 -2
  199. data/docs/Fox/FXRuler.html +2 -2
  200. data/docs/Fox/FXRulerView.html +2 -2
  201. data/docs/Fox/FXScintilla.html +2 -2
  202. data/docs/Fox/FXScrollArea.html +2 -2
  203. data/docs/Fox/FXScrollBar.html +2 -2
  204. data/docs/Fox/FXScrollCorner.html +2 -2
  205. data/docs/Fox/FXScrollPane.html +2 -2
  206. data/docs/Fox/FXScrollWindow.html +2 -2
  207. data/docs/Fox/FXSearchDialog.html +2 -2
  208. data/docs/Fox/FXSegment.html +2 -2
  209. data/docs/Fox/FXSeparator.html +2 -2
  210. data/docs/Fox/FXSettings.html +2 -2
  211. data/docs/Fox/FXShell.html +2 -2
  212. data/docs/Fox/FXShutter.html +2 -2
  213. data/docs/Fox/FXShutterItem.html +2 -2
  214. data/docs/Fox/FXSize.html +2 -2
  215. data/docs/Fox/FXSlider.html +2 -2
  216. data/docs/Fox/FXSphered.html +2 -2
  217. data/docs/Fox/FXSpheref.html +2 -2
  218. data/docs/Fox/FXSpinner.html +2 -2
  219. data/docs/Fox/FXSplashScreen.html +2 -2
  220. data/docs/Fox/FXSplashWindow.html +2 -2
  221. data/docs/Fox/FXSplitter.html +2 -2
  222. data/docs/Fox/FXSpring.html +2 -2
  223. data/docs/Fox/FXStatusBar.html +2 -2
  224. data/docs/Fox/FXStatusLine.html +2 -2
  225. data/docs/Fox/FXStream.html +2 -2
  226. data/docs/Fox/FXStreamAllocError.html +2 -2
  227. data/docs/Fox/FXStreamEndError.html +2 -2
  228. data/docs/Fox/FXStreamError.html +2 -2
  229. data/docs/Fox/FXStreamFailureError.html +2 -2
  230. data/docs/Fox/FXStreamFormatError.html +2 -2
  231. data/docs/Fox/FXStreamFullError.html +2 -2
  232. data/docs/Fox/FXStreamNoReadError.html +2 -2
  233. data/docs/Fox/FXStreamNoWriteError.html +2 -2
  234. data/docs/Fox/FXStreamUnknownError.html +2 -2
  235. data/docs/Fox/FXStringDict.html +2 -2
  236. data/docs/Fox/FXSwitcher.html +2 -2
  237. data/docs/Fox/FXTGAIcon.html +2 -2
  238. data/docs/Fox/FXTGAImage.html +2 -2
  239. data/docs/Fox/FXTIFIcon.html +2 -2
  240. data/docs/Fox/FXTIFImage.html +2 -2
  241. data/docs/Fox/FXTabBar.html +2 -2
  242. data/docs/Fox/FXTabBook.html +2 -2
  243. data/docs/Fox/FXTabItem.html +2 -2
  244. data/docs/Fox/FXTable.html +2 -2
  245. data/docs/Fox/FXTableItem.html +2 -2
  246. data/docs/Fox/FXTablePos.html +2 -2
  247. data/docs/Fox/FXTableRange.html +2 -2
  248. data/docs/Fox/FXText.html +2 -2
  249. data/docs/Fox/FXTextChange.html +2 -2
  250. data/docs/Fox/FXTextField.html +2 -2
  251. data/docs/Fox/FXToggleButton.html +2 -2
  252. data/docs/Fox/FXToolBar.html +2 -2
  253. data/docs/Fox/FXToolBarGrip.html +2 -2
  254. data/docs/Fox/FXToolBarShell.html +2 -2
  255. data/docs/Fox/FXToolBarTab.html +2 -2
  256. data/docs/Fox/FXToolTip.html +2 -2
  257. data/docs/Fox/FXTopWindow.html +2 -2
  258. data/docs/Fox/FXTranslator.html +2 -2
  259. data/docs/Fox/FXTreeItem.html +2 -2
  260. data/docs/Fox/FXTreeList.html +2 -2
  261. data/docs/Fox/FXTreeListBox.html +2 -2
  262. data/docs/Fox/FXTriStateButton.html +2 -2
  263. data/docs/Fox/FXUndoList.html +2 -2
  264. data/docs/Fox/FXVec2d.html +2 -2
  265. data/docs/Fox/FXVec2f.html +2 -2
  266. data/docs/Fox/FXVec3d.html +2 -2
  267. data/docs/Fox/FXVec3f.html +2 -2
  268. data/docs/Fox/FXVec4d.html +2 -2
  269. data/docs/Fox/FXVec4f.html +2 -2
  270. data/docs/Fox/FXVerticalFrame.html +2 -2
  271. data/docs/Fox/FXVerticalSeparator.html +2 -2
  272. data/docs/Fox/FXViewport.html +2 -2
  273. data/docs/Fox/FXVisual.html +2 -2
  274. data/docs/Fox/FXWindow.html +2 -2
  275. data/docs/Fox/FXWizard.html +2 -2
  276. data/docs/Fox/FXXBMIcon.html +2 -2
  277. data/docs/Fox/FXXBMImage.html +2 -2
  278. data/docs/Fox/FXXPMIcon.html +2 -2
  279. data/docs/Fox/FXXPMImage.html +2 -2
  280. data/docs/Fox/NotifyHeader.html +2 -2
  281. data/docs/Fox/SCNotification.html +2 -2
  282. data/docs/Fox/TextRange.html +2 -2
  283. data/docs/Fox.html +3 -3
  284. data/docs/IRB.html +2 -2
  285. data/docs/Responder.html +2 -2
  286. data/docs/Responder2.html +2 -2
  287. data/docs/_index.html +2 -2
  288. data/docs/file.History.html +11 -2
  289. data/docs/file.README.html +2 -2
  290. data/docs/index.html +481 -501
  291. data/docs/top-level-namespace.html +2 -2
  292. data/examples/gltest.rb +104 -105
  293. data/examples/glviewer.rb +3 -3
  294. data/ext/fox16_c/extconf.rb +5 -5
  295. data/fxruby.gemspec +2 -2
  296. data/lib/2.6/fox16_c.so +0 -0
  297. data/lib/2.7/fox16_c.so +0 -0
  298. data/lib/3.0/fox16_c.so +0 -0
  299. data/lib/3.1/fox16_c.so +0 -0
  300. data/lib/3.2/fox16_c.so +0 -0
  301. data/lib/3.3/fox16_c.so +0 -0
  302. data/lib/fox16/glgroup.rb +3 -4
  303. data/lib/fox16/glshapes.rb +85 -100
  304. data/lib/fox16/version.rb +1 -1
  305. data/ports/x86-mingw32/bin/libFOX-1.6-0.dll +0 -0
  306. data/ports/x86-mingw32/bin/libfxscintilla-20.dll +0 -0
  307. data/ports/x86-mingw32/bin/libjpeg-62.dll +0 -0
  308. data/ports/x86-mingw32/bin/libpng16-16.dll +0 -0
  309. data/ports/x86-mingw32/bin/libtiff-6.dll +0 -0
  310. data/ports/x86-mingw32/bin/zlib1.dll +0 -0
  311. data/scripts/iface.rb +8 -12
  312. metadata +7 -7
  313. data/lib/2.5/fox16_c.so +0 -0
  314. data/rdoc-sources/Makefile +0 -23
data/docs/index.html CHANGED
@@ -64,9 +64,9 @@
64
64
  </li><li>
65
65
  <p>Full API-description: <a href="http://rubydoc.info/gems/fxruby/frames">rubydoc.info/gems/fxruby/frames</a> or <a href="https://larskanis.github.io/fxruby">larskanis.github.io/fxruby</a>/</p>
66
66
  </li><li>
67
- <p>Latest fxruby <a href="http://badge.fury.io/rb/fxruby"><img src="https://badge.fury.io/rb/fxruby.svg" alt="Gem Version" /></a></p>
67
+ <p>Latest fxruby <a href="http://badge.fury.io/rb/fxruby"><img src="https://badge.fury.io/rb/fxruby.svg"></a></p>
68
68
  </li><li>
69
- <p>CI-Status: <a href="https://github.com/larskanis/fxruby/actions/workflows/ci.yml"><img src="https://github.com/larskanis/fxruby/actions/workflows/ci.yml/badge.svg?branch=1.6" alt="Build Status" /></a> and on Windows: <a href="https://ci.appveyor.com/project/larskanis/fxruby/branch/1.6"><img src="https://ci.appveyor.com/api/projects/status/too7sj4gq643ts8w/branch/1.6?svg=true" alt="Build Status on Windows" /></a></p>
69
+ <p>CI-Status: <a href="https://github.com/larskanis/fxruby/actions/workflows/ci.yml"><img src="https://github.com/larskanis/fxruby/actions/workflows/ci.yml/badge.svg?branch=1.6"></a> and on Windows: <a href="https://ci.appveyor.com/project/larskanis/fxruby/branch/1.6"><img src="https://ci.appveyor.com/api/projects/status/too7sj4gq643ts8w/branch/1.6?svg=true"></a></p>
70
70
  </li></ul>
71
71
 
72
72
  <h2 id="label-DESCRIPTION-3A">DESCRIPTION:</h2>
@@ -75,38 +75,13 @@
75
75
 
76
76
  <h2 id="label-FEATURES-3A">FEATURES:</h2>
77
77
 
78
- <p>FXRuby supportes everything of FOX, that is useful in Ruby:</p>
79
- <ul><li>
80
- <p>MDI/SDI application window layouts, floating toolbars</p>
81
- </li><li>
82
- <p>Rich set of controls (tables, imagelists, menus, canvas, …)</p>
83
- </li><li>
84
- <p>Flexible layout management</p>
85
- </li><li>
86
- <p>Image read/write support in many formats</p>
87
- </li><li>
88
- <p>Embedded OpenGL graphics through the <a href="https://github.com/vaiorabbit/ruby-opengl">opengl-bindings</a> gem</p>
89
- </li><li>
90
- <p>Thread support</p>
91
- </li></ul>
78
+ <p>FXRuby supportes everything of FOX, that is useful in Ruby: * MDI/SDI application window layouts, floating toolbars * Rich set of controls (tables, imagelists, menus, canvas, …) * Flexible layout management * Image read/write support in many formats * Embedded OpenGL graphics through the <a href="https://github.com/vaiorabbit/ruby-opengl">opengl-bindings2</a> gem * Thread support</p>
92
79
 
93
80
  <h2 id="label-INSTALL-3A">INSTALL:</h2>
94
81
 
95
- <p>FXRuby runs on Linux, Windows and OS-X with Ruby-2.2 or newer. Installation on Unix requires FOX development headers and libraries installed:</p>
96
- <ul><li>
97
- <p>on Debian/Ubuntu: <code>sudo apt-get install g++ libxrandr-dev libfox-1.6-dev</code></p>
98
- </li><li>
99
- <p>on Mac: <code>sudo port install rb-fxruby</code> OR <code>brew install fox &amp;&amp; brew install xquartz</code></p>
100
- </li><li>
101
- <p>on Windows: the binary fxruby gems already contain all required libraries</p>
102
- </li><li>
103
- <p>see also detailed installation instructions in the <a href="https://github.com/lylejohnson/fxruby/wiki">Wiki</a></p>
104
- </li></ul>
82
+ <p>FXRuby runs on Linux, Windows and OS-X with Ruby-2.2 or newer. Installation on Unix requires FOX development headers and libraries installed: * on Debian/Ubuntu: <code>sudo apt-get install g++ libxrandr-dev libfox-1.6-dev</code> * on Mac: <code>sudo port install rb-fxruby</code> OR <code>brew install fox &amp;&amp; brew install xquartz</code> * on Windows: the binary fxruby gems already contain all required libraries * see also detailed installation instructions in the <a href="https://github.com/lylejohnson/fxruby/wiki">Wiki</a></p>
105
83
 
106
- <p>Then, install the gem:</p>
107
- <ul><li>
108
- <p>gem install fxruby</p>
109
- </li></ul>
84
+ <p>Then, install the gem: * gem install fxruby</p>
110
85
 
111
86
  <p>On Mac, before running applications, you must also run: <code>open -a /Applications/Utilities/XQuartz.app</code></p>
112
87
 
@@ -117,502 +92,507 @@
117
92
  <p>The directory structure is:</p>
118
93
  <ul><li>
119
94
  <p>examples/</p>
95
+ </li></ul>
120
96
 
121
- <p>Contains example programs demonstrating how to use FXRuby and its many wonderful features.</p>
122
- </li><li>
97
+ <p>Contains example programs demonstrating how to use FXRuby and its many wonderful features.</p>
98
+ <ul><li>
123
99
  <p>ext/fox16_c</p>
100
+ </li></ul>
124
101
 
125
- <p>Contains the C++ source code for the shared library part of FXRuby. These files are required to build FXRuby from the source code.</p>
126
- </li><li>
102
+ <p>Contains the C++ source code for the shared library part of FXRuby. These files are required to build FXRuby from the source code.</p>
103
+ <ul><li>
127
104
  <p>lib/fox16</p>
105
+ </li></ul>
128
106
 
129
- <p>Contains the Ruby source code for the rest of FXRuby. These files are not required to “build” FXRuby, but they are a part of the standard FXRuby runtime environment and must be installed along with the shared library part.</p>
130
- </li><li>
107
+ <p>Contains the Ruby source code for the rest of FXRuby. These files are not required to “build” FXRuby, but they are a part of the standard FXRuby runtime environment and must be installed along with the shared library part.</p>
108
+ <ul><li>
131
109
  <p>tests/</p>
110
+ </li></ul>
132
111
 
133
112
  <p>Contains a test battery for FXRuby.</p>
134
- </li></ul>
135
113
 
136
114
  <p>If you’re looking at a checkout of the source code from its GIT repository, you might see some additional directories of interest:</p>
137
115
  <ul><li>
138
116
  <p>fox-includes/</p>
117
+ </li></ul>
139
118
 
140
- <p>An archive of the FOX library header files corresponding to this release of FXRuby.</p>
141
- </li><li>
119
+ <p>An archive of the FOX library header files corresponding to this release of FXRuby.</p>
120
+ <ul><li>
142
121
  <p>rdoc-sources/</p>
122
+ </li></ul>
143
123
 
144
- <p>A set of “fake” Ruby source files for the various FXRuby classes, which are used to generate RDoc-style documentation.</p>
145
- </li><li>
124
+ <p>A set of “fake” Ruby source files for the various FXRuby classes, which are used to generate RDoc-style documentation.</p>
125
+ <ul><li>
146
126
  <p>swig-interfaces/</p>
147
-
148
- <p>The SWIG interface files used to generate the C++ wrapper code (i.e. the code found in the ext/fox directory).</p>
149
127
  </li></ul>
150
128
 
129
+ <p>The SWIG interface files used to generate the C++ wrapper code (i.e. the code found in the ext/fox directory).</p>
130
+
151
131
  <h2 id="label-LICENSE">LICENSE</h2>
152
132
 
153
- <pre class="code ruby"><code class="ruby"> GNU LESSER GENERAL PUBLIC LICENSE
154
- Version 2.1, February 1999
155
-
156
- Copyright (C) 1991, 1999 Free Software Foundation, Inc.
157
- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
158
- Everyone is permitted to copy and distribute verbatim copies
159
- of this license document, but changing it is not allowed.
160
-
161
- [This is the first released version of the Lesser GPL. It also counts
162
- as the successor of the GNU Library Public License, version 2, hence
163
- the version number 2.1.]
164
-
165
- Preamble
166
-
167
- The licenses for most software are designed to take away your
168
- freedom to share and change it. By contrast, the GNU General Public
169
- Licenses are intended to guarantee your freedom to share and change
170
- free software--to make sure the software is free for all its users.
171
-
172
- This license, the Lesser General Public License, applies to some
173
- specially designated software packages--typically libraries--of the
174
- Free Software Foundation and other authors who decide to use it. You
175
- can use it too, but we suggest you first think carefully about whether
176
- this license or the ordinary General Public License is the better
177
- strategy to use in any particular case, based on the explanations below.
178
-
179
- When we speak of free software, we are referring to freedom of use,
180
- not price. Our General Public Licenses are designed to make sure that
181
- you have the freedom to distribute copies of free software (and charge
182
- for this service if you wish); that you receive source code or can get
183
- it if you want it; that you can change the software and use pieces of
184
- it in new free programs; and that you are informed that you can do
185
- these things.
186
-
187
- To protect your rights, we need to make restrictions that forbid
188
- distributors to deny you these rights or to ask you to surrender these
189
- rights. These restrictions translate to certain responsibilities for
190
- you if you distribute copies of the library or if you modify it.
191
-
192
- For example, if you distribute copies of the library, whether gratis
193
- or for a fee, you must give the recipients all the rights that we gave
194
- you. You must make sure that they, too, receive or can get the source
195
- code. If you link other code with the library, you must provide
196
- complete object files to the recipients, so that they can relink them
197
- with the library after making changes to the library and recompiling
198
- it. And you must show them these terms so they know their rights.
199
-
200
- We protect your rights with a two-step method: (1) we copyright the
201
- library, and (2) we offer you this license, which gives you legal
202
- permission to copy, distribute and/or modify the library.
203
-
204
- To protect each distributor, we want to make it very clear that
205
- there is no warranty for the free library. Also, if the library is
206
- modified by someone else and passed on, the recipients should know
207
- that what they have is not the original version, so that the original
208
- author&#39;s reputation will not be affected by problems that might be
209
- introduced by others.
210
-
211
- Finally, software patents pose a constant threat to the existence of
212
- any free program. We wish to make sure that a company cannot
213
- effectively restrict the users of a free program by obtaining a
214
- restrictive license from a patent holder. Therefore, we insist that
215
- any patent license obtained for a version of the library must be
216
- consistent with the full freedom of use specified in this license.
217
-
218
- Most GNU software, including some libraries, is covered by the
219
- ordinary GNU General Public License. This license, the GNU Lesser
220
- General Public License, applies to certain designated libraries, and
221
- is quite different from the ordinary General Public License. We use
222
- this license for certain libraries in order to permit linking those
223
- libraries into non-free programs.
224
-
225
- When a program is linked with a library, whether statically or using
226
- a shared library, the combination of the two is legally speaking a
227
- combined work, a derivative of the original library. The ordinary
228
- General Public License therefore permits such linking only if the
229
- entire combination fits its criteria of freedom. The Lesser General
230
- Public License permits more lax criteria for linking other code with
231
- the library.
232
-
233
- We call this license the &quot;Lesser&quot; General Public License because it
234
- does Less to protect the user&#39;s freedom than the ordinary General
235
- Public License. It also provides other free software developers Less
236
- of an advantage over competing non-free programs. These disadvantages
237
- are the reason we use the ordinary General Public License for many
238
- libraries. However, the Lesser license provides advantages in certain
239
- special circumstances.
240
-
241
- For example, on rare occasions, there may be a special need to
242
- encourage the widest possible use of a certain library, so that it becomes
243
- a de-facto standard. To achieve this, non-free programs must be
244
- allowed to use the library. A more frequent case is that a free
245
- library does the same job as widely used non-free libraries. In this
246
- case, there is little to gain by limiting the free library to free
247
- software only, so we use the Lesser General Public License.
248
-
249
- In other cases, permission to use a particular library in non-free
250
- programs enables a greater number of people to use a large body of
251
- free software. For example, permission to use the GNU C Library in
252
- non-free programs enables many more people to use the whole GNU
253
- operating system, as well as its variant, the GNU/Linux operating
254
- system.
255
-
256
- Although the Lesser General Public License is Less protective of the
257
- users&#39; freedom, it does ensure that the user of a program that is
258
- linked with the Library has the freedom and the wherewithal to run
259
- that program using a modified version of the Library.
260
-
261
- The precise terms and conditions for copying, distribution and
262
- modification follow. Pay close attention to the difference between a
263
- &quot;work based on the library&quot; and a &quot;work that uses the library&quot;. The
264
- former contains code derived from the library, whereas the latter must
265
- be combined with the library in order to run.
266
-
267
- GNU LESSER GENERAL PUBLIC LICENSE
268
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
269
-
270
- 0. This License Agreement applies to any software library or other
271
- program which contains a notice placed by the copyright holder or
272
- other authorized party saying it may be distributed under the terms of
273
- this Lesser General Public License (also called &quot;this License&quot;).
274
- Each licensee is addressed as &quot;you&quot;.
275
-
276
- A &quot;library&quot; means a collection of software functions and/or data
277
- prepared so as to be conveniently linked with application programs
278
- (which use some of those functions and data) to form executables.
279
-
280
- The &quot;Library&quot;, below, refers to any such software library or work
281
- which has been distributed under these terms. A &quot;work based on the
282
- Library&quot; means either the Library or any derivative work under
283
- copyright law: that is to say, a work containing the Library or a
284
- portion of it, either verbatim or with modifications and/or translated
285
- straightforwardly into another language. (Hereinafter, translation is
286
- included without limitation in the term &quot;modification&quot;.)
287
-
288
- &quot;Source code&quot; for a work means the preferred form of the work for
289
- making modifications to it. For a library, complete source code means
290
- all the source code for all modules it contains, plus any associated
291
- interface definition files, plus the scripts used to control compilation
292
- and installation of the library.
293
-
294
- Activities other than copying, distribution and modification are not
295
- covered by this License; they are outside its scope. The act of
296
- running a program using the Library is not restricted, and output from
297
- such a program is covered only if its contents constitute a work based
298
- on the Library (independent of the use of the Library in a tool for
299
- writing it). Whether that is true depends on what the Library does
300
- and what the program that uses the Library does.
301
-
302
- 1. You may copy and distribute verbatim copies of the Library&#39;s
303
- complete source code as you receive it, in any medium, provided that
304
- you conspicuously and appropriately publish on each copy an
305
- appropriate copyright notice and disclaimer of warranty; keep intact
306
- all the notices that refer to this License and to the absence of any
307
- warranty; and distribute a copy of this License along with the
308
- Library.
309
-
310
- You may charge a fee for the physical act of transferring a copy,
311
- and you may at your option offer warranty protection in exchange for a
312
- fee.
313
-
314
- 2. You may modify your copy or copies of the Library or any portion
315
- of it, thus forming a work based on the Library, and copy and
316
- distribute such modifications or work under the terms of Section 1
317
- above, provided that you also meet all of these conditions:
318
-
319
- a) The modified work must itself be a software library.
320
-
321
- b) You must cause the files modified to carry prominent notices
322
- stating that you changed the files and the date of any change.
323
-
324
- c) You must cause the whole of the work to be licensed at no
325
- charge to all third parties under the terms of this License.
326
-
327
- d) If a facility in the modified Library refers to a function or a
328
- table of data to be supplied by an application program that uses
329
- the facility, other than as an argument passed when the facility
330
- is invoked, then you must make a good faith effort to ensure that,
331
- in the event an application does not supply such function or
332
- table, the facility still operates, and performs whatever part of
333
- its purpose remains meaningful.
334
-
335
- (For example, a function in a library to compute square roots has
336
- a purpose that is entirely well-defined independent of the
337
- application. Therefore, Subsection 2d requires that any
338
- application-supplied function or table used by this function must
339
- be optional: if the application does not supply it, the square
340
- root function must still compute square roots.)
341
-
342
- These requirements apply to the modified work as a whole. If
343
- identifiable sections of that work are not derived from the Library,
344
- and can be reasonably considered independent and separate works in
345
- themselves, then this License, and its terms, do not apply to those
346
- sections when you distribute them as separate works. But when you
347
- distribute the same sections as part of a whole which is a work based
348
- on the Library, the distribution of the whole must be on the terms of
349
- this License, whose permissions for other licensees extend to the
350
- entire whole, and thus to each and every part regardless of who wrote
351
- it.
352
-
353
- Thus, it is not the intent of this section to claim rights or contest
354
- your rights to work written entirely by you; rather, the intent is to
355
- exercise the right to control the distribution of derivative or
356
- collective works based on the Library.
357
-
358
- In addition, mere aggregation of another work not based on the Library
359
- with the Library (or with a work based on the Library) on a volume of
360
- a storage or distribution medium does not bring the other work under
361
- the scope of this License.
362
-
363
- 3. You may opt to apply the terms of the ordinary GNU General Public
364
- License instead of this License to a given copy of the Library. To do
365
- this, you must alter all the notices that refer to this License, so
366
- that they refer to the ordinary GNU General Public License, version 2,
367
- instead of to this License. (If a newer version than version 2 of the
368
- ordinary GNU General Public License has appeared, then you can specify
369
- that version instead if you wish.) Do not make any other change in
370
- these notices.
371
-
372
- Once this change is made in a given copy, it is irreversible for
373
- that copy, so the ordinary GNU General Public License applies to all
374
- subsequent copies and derivative works made from that copy.
375
-
376
- This option is useful when you wish to copy part of the code of
377
- the Library into a program that is not a library.
378
-
379
- 4. You may copy and distribute the Library (or a portion or
380
- derivative of it, under Section 2) in object code or executable form
381
- under the terms of Sections 1 and 2 above provided that you accompany
382
- it with the complete corresponding machine-readable source code, which
383
- must be distributed under the terms of Sections 1 and 2 above on a
384
- medium customarily used for software interchange.
385
-
386
- If distribution of object code is made by offering access to copy
387
- from a designated place, then offering equivalent access to copy the
388
- source code from the same place satisfies the requirement to
389
- distribute the source code, even though third parties are not
390
- compelled to copy the source along with the object code.
391
-
392
- 5. A program that contains no derivative of any portion of the
393
- Library, but is designed to work with the Library by being compiled or
394
- linked with it, is called a &quot;work that uses the Library&quot;. Such a
395
- work, in isolation, is not a derivative work of the Library, and
396
- therefore falls outside the scope of this License.
397
-
398
- However, linking a &quot;work that uses the Library&quot; with the Library
399
- creates an executable that is a derivative of the Library (because it
400
- contains portions of the Library), rather than a &quot;work that uses the
401
- library&quot;. The executable is therefore covered by this License.
402
- Section 6 states terms for distribution of such executables.
403
-
404
- When a &quot;work that uses the Library&quot; uses material from a header file
405
- that is part of the Library, the object code for the work may be a
406
- derivative work of the Library even though the source code is not.
407
- Whether this is true is especially significant if the work can be
408
- linked without the Library, or if the work is itself a library. The
409
- threshold for this to be true is not precisely defined by law.
410
-
411
- If such an object file uses only numerical parameters, data
412
- structure layouts and accessors, and small macros and small inline
413
- functions (ten lines or less in length), then the use of the object
414
- file is unrestricted, regardless of whether it is legally a derivative
415
- work. (Executables containing this object code plus portions of the
416
- Library will still fall under Section 6.)
417
-
418
- Otherwise, if the work is a derivative of the Library, you may
419
- distribute the object code for the work under the terms of Section 6.
420
- Any executables containing that work also fall under Section 6,
421
- whether or not they are linked directly with the Library itself.
422
-
423
- 6. As an exception to the Sections above, you may also combine or
424
- link a &quot;work that uses the Library&quot; with the Library to produce a
425
- work containing portions of the Library, and distribute that work
426
- under terms of your choice, provided that the terms permit
427
- modification of the work for the customer&#39;s own use and reverse
428
- engineering for debugging such modifications.
429
-
430
- You must give prominent notice with each copy of the work that the
431
- Library is used in it and that the Library and its use are covered by
432
- this License. You must supply a copy of this License. If the work
433
- during execution displays copyright notices, you must include the
434
- copyright notice for the Library among them, as well as a reference
435
- directing the user to the copy of this License. Also, you must do one
436
- of these things:
437
-
438
- a) Accompany the work with the complete corresponding
439
- machine-readable source code for the Library including whatever
440
- changes were used in the work (which must be distributed under
441
- Sections 1 and 2 above); and, if the work is an executable linked
442
- with the Library, with the complete machine-readable &quot;work that
443
- uses the Library&quot;, as object code and/or source code, so that the
444
- user can modify the Library and then relink to produce a modified
445
- executable containing the modified Library. (It is understood
446
- that the user who changes the contents of definitions files in the
447
- Library will not necessarily be able to recompile the application
448
- to use the modified definitions.)
449
-
450
- b) Use a suitable shared library mechanism for linking with the
451
- Library. A suitable mechanism is one that (1) uses at run time a
452
- copy of the library already present on the user&#39;s computer system,
453
- rather than copying library functions into the executable, and (2)
454
- will operate properly with a modified version of the library, if
455
- the user installs one, as long as the modified version is
456
- interface-compatible with the version that the work was made with.
457
-
458
- c) Accompany the work with a written offer, valid for at
459
- least three years, to give the same user the materials
460
- specified in Subsection 6a, above, for a charge no more
461
- than the cost of performing this distribution.
462
-
463
- d) If distribution of the work is made by offering access to copy
464
- from a designated place, offer equivalent access to copy the above
465
- specified materials from the same place.
466
-
467
- e) Verify that the user has already received a copy of these
468
- materials or that you have already sent this user a copy.
469
-
470
- For an executable, the required form of the &quot;work that uses the
471
- Library&quot; must include any data and utility programs needed for
472
- reproducing the executable from it. However, as a special exception,
473
- the materials to be distributed need not include anything that is
474
- normally distributed (in either source or binary form) with the major
475
- components (compiler, kernel, and so on) of the operating system on
476
- which the executable runs, unless that component itself accompanies
477
- the executable.
478
-
479
- It may happen that this requirement contradicts the license
480
- restrictions of other proprietary libraries that do not normally
481
- accompany the operating system. Such a contradiction means you cannot
482
- use both them and the Library together in an executable that you
483
- distribute.
484
-
485
- 7. You may place library facilities that are a work based on the
486
- Library side-by-side in a single library together with other library
487
- facilities not covered by this License, and distribute such a combined
488
- library, provided that the separate distribution of the work based on
489
- the Library and of the other library facilities is otherwise
490
- permitted, and provided that you do these two things:
491
-
492
- a) Accompany the combined library with a copy of the same work
493
- based on the Library, uncombined with any other library
494
- facilities. This must be distributed under the terms of the
495
- Sections above.
496
-
497
- b) Give prominent notice with the combined library of the fact
498
- that part of it is a work based on the Library, and explaining
499
- where to find the accompanying uncombined form of the same work.
500
-
501
- 8. You may not copy, modify, sublicense, link with, or distribute
502
- the Library except as expressly provided under this License. Any
503
- attempt otherwise to copy, modify, sublicense, link with, or
504
- distribute the Library is void, and will automatically terminate your
505
- rights under this License. However, parties who have received copies,
506
- or rights, from you under this License will not have their licenses
507
- terminated so long as such parties remain in full compliance.
508
-
509
- 9. You are not required to accept this License, since you have not
510
- signed it. However, nothing else grants you permission to modify or
511
- distribute the Library or its derivative works. These actions are
512
- prohibited by law if you do not accept this License. Therefore, by
513
- modifying or distributing the Library (or any work based on the
514
- Library), you indicate your acceptance of this License to do so, and
515
- all its terms and conditions for copying, distributing or modifying
516
- the Library or works based on it.
517
-
518
- 10. Each time you redistribute the Library (or any work based on the
519
- Library), the recipient automatically receives a license from the
520
- original licensor to copy, distribute, link with or modify the Library
521
- subject to these terms and conditions. You may not impose any further
522
- restrictions on the recipients&#39; exercise of the rights granted herein.
523
- You are not responsible for enforcing compliance by third parties with
524
- this License.
525
-
526
- 11. If, as a consequence of a court judgment or allegation of patent
527
- infringement or for any other reason (not limited to patent issues),
528
- conditions are imposed on you (whether by court order, agreement or
529
- otherwise) that contradict the conditions of this License, they do not
530
- excuse you from the conditions of this License. If you cannot
531
- distribute so as to satisfy simultaneously your obligations under this
532
- License and any other pertinent obligations, then as a consequence you
533
- may not distribute the Library at all. For example, if a patent
534
- license would not permit royalty-free redistribution of the Library by
535
- all those who receive copies directly or indirectly through you, then
536
- the only way you could satisfy both it and this License would be to
537
- refrain entirely from distribution of the Library.
538
-
539
- If any portion of this section is held invalid or unenforceable under any
540
- particular circumstance, the balance of the section is intended to apply,
541
- and the section as a whole is intended to apply in other circumstances.
542
-
543
- It is not the purpose of this section to induce you to infringe any
544
- patents or other property right claims or to contest validity of any
545
- such claims; this section has the sole purpose of protecting the
546
- integrity of the free software distribution system which is
547
- implemented by public license practices. Many people have made
548
- generous contributions to the wide range of software distributed
549
- through that system in reliance on consistent application of that
550
- system; it is up to the author/donor to decide if he or she is willing
551
- to distribute software through any other system and a licensee cannot
552
- impose that choice.
553
-
554
- This section is intended to make thoroughly clear what is believed to
555
- be a consequence of the rest of this License.
556
-
557
- 12. If the distribution and/or use of the Library is restricted in
558
- certain countries either by patents or by copyrighted interfaces, the
559
- original copyright holder who places the Library under this License may add
560
- an explicit geographical distribution limitation excluding those countries,
561
- so that distribution is permitted only in or among countries not thus
562
- excluded. In such case, this License incorporates the limitation as if
563
- written in the body of this License.
564
-
565
- 13. The Free Software Foundation may publish revised and/or new
566
- versions of the Lesser General Public License from time to time.
567
- Such new versions will be similar in spirit to the present version,
568
- but may differ in detail to address new problems or concerns.
569
-
570
- Each version is given a distinguishing version number. If the Library
571
- specifies a version number of this License which applies to it and
572
- &quot;any later version&quot;, you have the option of following the terms and
573
- conditions either of that version or of any later version published by
574
- the Free Software Foundation. If the Library does not specify a
575
- license version number, you may choose any version ever published by
576
- the Free Software Foundation.
577
-
578
- 14. If you wish to incorporate parts of the Library into other free
579
- programs whose distribution conditions are incompatible with these,
580
- write to the author to ask for permission. For software which is
581
- copyrighted by the Free Software Foundation, write to the Free
582
- Software Foundation; we sometimes make exceptions for this. Our
583
- decision will be guided by the two goals of preserving the free status
584
- of all derivatives of our free software and of promoting the sharing
585
- and reuse of software generally.
586
-
587
- NO WARRANTY
588
-
589
- 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
590
- WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
591
- EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
592
- OTHER PARTIES PROVIDE THE LIBRARY &quot;AS IS&quot; WITHOUT WARRANTY OF ANY
593
- KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
594
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
595
- PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
596
- LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
597
- THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
598
-
599
- 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
600
- WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
601
- AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
602
- FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
603
- CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
604
- LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
605
- RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
606
- FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
607
- SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
608
- DAMAGES.
133
+ <pre class="code ruby"><code class="ruby">GNU LESSER GENERAL PUBLIC LICENSE
134
+ Version 2.1, February 1999
135
+
136
+ Copyright (C) 1991, 1999 Free Software Foundation, Inc.
137
+ 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
138
+ Everyone is permitted to copy and distribute verbatim copies
139
+ of this license document, but changing it is not allowed.
140
+
141
+ [This is the first released version of the Lesser GPL. It also counts
142
+ as the successor of the GNU Library Public License, version 2, hence
143
+ the version number 2.1.]
144
+
145
+ Preamble
146
+
147
+ The licenses for most software are designed to take away your
148
+ freedom to share and change it. By contrast, the GNU General Public
149
+ Licenses are intended to guarantee your freedom to share and change
150
+ free software--to make sure the software is free for all its users.
151
+
152
+ This license, the Lesser General Public License, applies to some
153
+ specially designated software packages--typically libraries--of the
154
+ Free Software Foundation and other authors who decide to use it. You
155
+ can use it too, but we suggest you first think carefully about whether
156
+ this license or the ordinary General Public License is the better
157
+ strategy to use in any particular case, based on the explanations below.
158
+
159
+ When we speak of free software, we are referring to freedom of use,
160
+ not price. Our General Public Licenses are designed to make sure that
161
+ you have the freedom to distribute copies of free software (and charge
162
+ for this service if you wish); that you receive source code or can get
163
+ it if you want it; that you can change the software and use pieces of
164
+ it in new free programs; and that you are informed that you can do
165
+ these things.
166
+
167
+ To protect your rights, we need to make restrictions that forbid
168
+ distributors to deny you these rights or to ask you to surrender these
169
+ rights. These restrictions translate to certain responsibilities for
170
+ you if you distribute copies of the library or if you modify it.
171
+
172
+ For example, if you distribute copies of the library, whether gratis
173
+ or for a fee, you must give the recipients all the rights that we gave
174
+ you. You must make sure that they, too, receive or can get the source
175
+ code. If you link other code with the library, you must provide
176
+ complete object files to the recipients, so that they can relink them
177
+ with the library after making changes to the library and recompiling
178
+ it. And you must show them these terms so they know their rights.
179
+
180
+ We protect your rights with a two-step method: (1) we copyright the
181
+ library, and (2) we offer you this license, which gives you legal
182
+ permission to copy, distribute and/or modify the library.
183
+
184
+ To protect each distributor, we want to make it very clear that
185
+ there is no warranty for the free library. Also, if the library is
186
+ modified by someone else and passed on, the recipients should know
187
+ that what they have is not the original version, so that the original
188
+ author&#39;s reputation will not be affected by problems that might be
189
+ introduced by others.
190
+
191
+ Finally, software patents pose a constant threat to the existence of
192
+ any free program. We wish to make sure that a company cannot
193
+ effectively restrict the users of a free program by obtaining a
194
+ restrictive license from a patent holder. Therefore, we insist that
195
+ any patent license obtained for a version of the library must be
196
+ consistent with the full freedom of use specified in this license.
197
+
198
+ Most GNU software, including some libraries, is covered by the
199
+ ordinary GNU General Public License. This license, the GNU Lesser
200
+ General Public License, applies to certain designated libraries, and
201
+ is quite different from the ordinary General Public License. We use
202
+ this license for certain libraries in order to permit linking those
203
+ libraries into non-free programs.
204
+
205
+ When a program is linked with a library, whether statically or using
206
+ a shared library, the combination of the two is legally speaking a
207
+ combined work, a derivative of the original library. The ordinary
208
+ General Public License therefore permits such linking only if the
209
+ entire combination fits its criteria of freedom. The Lesser General
210
+ Public License permits more lax criteria for linking other code with
211
+ the library.
212
+
213
+ We call this license the &quot;Lesser&quot; General Public License because it
214
+ does Less to protect the user&#39;s freedom than the ordinary General
215
+ Public License. It also provides other free software developers Less
216
+ of an advantage over competing non-free programs. These disadvantages
217
+ are the reason we use the ordinary General Public License for many
218
+ libraries. However, the Lesser license provides advantages in certain
219
+ special circumstances.
220
+
221
+ For example, on rare occasions, there may be a special need to
222
+ encourage the widest possible use of a certain library, so that it becomes
223
+ a de-facto standard. To achieve this, non-free programs must be
224
+ allowed to use the library. A more frequent case is that a free
225
+ library does the same job as widely used non-free libraries. In this
226
+ case, there is little to gain by limiting the free library to free
227
+ software only, so we use the Lesser General Public License.
228
+
229
+ In other cases, permission to use a particular library in non-free
230
+ programs enables a greater number of people to use a large body of
231
+ free software. For example, permission to use the GNU C Library in
232
+ non-free programs enables many more people to use the whole GNU
233
+ operating system, as well as its variant, the GNU/Linux operating
234
+ system.
235
+
236
+ Although the Lesser General Public License is Less protective of the
237
+ users&#39; freedom, it does ensure that the user of a program that is
238
+ linked with the Library has the freedom and the wherewithal to run
239
+ that program using a modified version of the Library.
240
+
241
+ The precise terms and conditions for copying, distribution and
242
+ modification follow. Pay close attention to the difference between a
243
+ &quot;work based on the library&quot; and a &quot;work that uses the library&quot;. The
244
+ former contains code derived from the library, whereas the latter must
245
+ be combined with the library in order to run.
246
+
247
+ GNU LESSER GENERAL PUBLIC LICENSE
248
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
249
+
250
+ 0. This License Agreement applies to any software library or other
251
+ program which contains a notice placed by the copyright holder or
252
+ other authorized party saying it may be distributed under the terms of
253
+ this Lesser General Public License (also called &quot;this License&quot;).
254
+ Each licensee is addressed as &quot;you&quot;.
255
+
256
+ A &quot;library&quot; means a collection of software functions and/or data
257
+ prepared so as to be conveniently linked with application programs
258
+ (which use some of those functions and data) to form executables.
259
+
260
+ The &quot;Library&quot;, below, refers to any such software library or work
261
+ which has been distributed under these terms. A &quot;work based on the
262
+ Library&quot; means either the Library or any derivative work under
263
+ copyright law: that is to say, a work containing the Library or a
264
+ portion of it, either verbatim or with modifications and/or translated
265
+ straightforwardly into another language. (Hereinafter, translation is
266
+ included without limitation in the term &quot;modification&quot;.)
267
+
268
+ &quot;Source code&quot; for a work means the preferred form of the work for
269
+ making modifications to it. For a library, complete source code means
270
+ all the source code for all modules it contains, plus any associated
271
+ interface definition files, plus the scripts used to control compilation
272
+ and installation of the library.
273
+
274
+ Activities other than copying, distribution and modification are not
275
+ covered by this License; they are outside its scope. The act of
276
+ running a program using the Library is not restricted, and output from
277
+ such a program is covered only if its contents constitute a work based
278
+ on the Library (independent of the use of the Library in a tool for
279
+ writing it). Whether that is true depends on what the Library does
280
+ and what the program that uses the Library does.
281
+
282
+ 1. You may copy and distribute verbatim copies of the Library&#39;s
283
+ complete source code as you receive it, in any medium, provided that
284
+ you conspicuously and appropriately publish on each copy an
285
+ appropriate copyright notice and disclaimer of warranty; keep intact
286
+ all the notices that refer to this License and to the absence of any
287
+ warranty; and distribute a copy of this License along with the
288
+ Library.
289
+
290
+ You may charge a fee for the physical act of transferring a copy,
291
+ and you may at your option offer warranty protection in exchange for a
292
+ fee.
293
+
294
+ 2. You may modify your copy or copies of the Library or any portion
295
+ of it, thus forming a work based on the Library, and copy and
296
+ distribute such modifications or work under the terms of Section 1
297
+ above, provided that you also meet all of these conditions:
298
+
299
+ a) The modified work must itself be a software library.
300
+
301
+ b) You must cause the files modified to carry prominent notices
302
+ stating that you changed the files and the date of any change.
303
+
304
+ c) You must cause the whole of the work to be licensed at no
305
+ charge to all third parties under the terms of this License.
306
+
307
+ d) If a facility in the modified Library refers to a function or a
308
+ table of data to be supplied by an application program that uses
309
+ the facility, other than as an argument passed when the facility
310
+ is invoked, then you must make a good faith effort to ensure that,
311
+ in the event an application does not supply such function or
312
+ table, the facility still operates, and performs whatever part of
313
+ its purpose remains meaningful.
314
+
315
+ (For example, a function in a library to compute square roots has
316
+ a purpose that is entirely well-defined independent of the
317
+ application. Therefore, Subsection 2d requires that any
318
+ application-supplied function or table used by this function must
319
+ be optional: if the application does not supply it, the square
320
+ root function must still compute square roots.)
321
+
322
+ These requirements apply to the modified work as a whole. If
323
+ identifiable sections of that work are not derived from the Library,
324
+ and can be reasonably considered independent and separate works in
325
+ themselves, then this License, and its terms, do not apply to those
326
+ sections when you distribute them as separate works. But when you
327
+ distribute the same sections as part of a whole which is a work based
328
+ on the Library, the distribution of the whole must be on the terms of
329
+ this License, whose permissions for other licensees extend to the
330
+ entire whole, and thus to each and every part regardless of who wrote
331
+ it.
332
+
333
+ Thus, it is not the intent of this section to claim rights or contest
334
+ your rights to work written entirely by you; rather, the intent is to
335
+ exercise the right to control the distribution of derivative or
336
+ collective works based on the Library.
337
+
338
+ In addition, mere aggregation of another work not based on the Library
339
+ with the Library (or with a work based on the Library) on a volume of
340
+ a storage or distribution medium does not bring the other work under
341
+ the scope of this License.
342
+
343
+ 3. You may opt to apply the terms of the ordinary GNU General Public
344
+ License instead of this License to a given copy of the Library. To do
345
+ this, you must alter all the notices that refer to this License, so
346
+ that they refer to the ordinary GNU General Public License, version 2,
347
+ instead of to this License. (If a newer version than version 2 of the
348
+ ordinary GNU General Public License has appeared, then you can specify
349
+ that version instead if you wish.) Do not make any other change in
350
+ these notices.
351
+
352
+ Once this change is made in a given copy, it is irreversible for
353
+ that copy, so the ordinary GNU General Public License applies to all
354
+ subsequent copies and derivative works made from that copy.
355
+
356
+ This option is useful when you wish to copy part of the code of
357
+ the Library into a program that is not a library.
358
+
359
+ 4. You may copy and distribute the Library (or a portion or
360
+ derivative of it, under Section 2) in object code or executable form
361
+ under the terms of Sections 1 and 2 above provided that you accompany
362
+ it with the complete corresponding machine-readable source code, which
363
+ must be distributed under the terms of Sections 1 and 2 above on a
364
+ medium customarily used for software interchange.
365
+
366
+ If distribution of object code is made by offering access to copy
367
+ from a designated place, then offering equivalent access to copy the
368
+ source code from the same place satisfies the requirement to
369
+ distribute the source code, even though third parties are not
370
+ compelled to copy the source along with the object code.
371
+
372
+ 5. A program that contains no derivative of any portion of the
373
+ Library, but is designed to work with the Library by being compiled or
374
+ linked with it, is called a &quot;work that uses the Library&quot;. Such a
375
+ work, in isolation, is not a derivative work of the Library, and
376
+ therefore falls outside the scope of this License.
377
+
378
+ However, linking a &quot;work that uses the Library&quot; with the Library
379
+ creates an executable that is a derivative of the Library (because it
380
+ contains portions of the Library), rather than a &quot;work that uses the
381
+ library&quot;. The executable is therefore covered by this License.
382
+ Section 6 states terms for distribution of such executables.
383
+
384
+ When a &quot;work that uses the Library&quot; uses material from a header file
385
+ that is part of the Library, the object code for the work may be a
386
+ derivative work of the Library even though the source code is not.
387
+ Whether this is true is especially significant if the work can be
388
+ linked without the Library, or if the work is itself a library. The
389
+ threshold for this to be true is not precisely defined by law.
390
+
391
+ If such an object file uses only numerical parameters, data
392
+ structure layouts and accessors, and small macros and small inline
393
+ functions (ten lines or less in length), then the use of the object
394
+ file is unrestricted, regardless of whether it is legally a derivative
395
+ work. (Executables containing this object code plus portions of the
396
+ Library will still fall under Section 6.)
397
+
398
+ Otherwise, if the work is a derivative of the Library, you may
399
+ distribute the object code for the work under the terms of Section 6.
400
+ Any executables containing that work also fall under Section 6,
401
+ whether or not they are linked directly with the Library itself.
402
+
403
+ 6. As an exception to the Sections above, you may also combine or
404
+ link a &quot;work that uses the Library&quot; with the Library to produce a
405
+ work containing portions of the Library, and distribute that work
406
+ under terms of your choice, provided that the terms permit
407
+ modification of the work for the customer&#39;s own use and reverse
408
+ engineering for debugging such modifications.
409
+
410
+ You must give prominent notice with each copy of the work that the
411
+ Library is used in it and that the Library and its use are covered by
412
+ this License. You must supply a copy of this License. If the work
413
+ during execution displays copyright notices, you must include the
414
+ copyright notice for the Library among them, as well as a reference
415
+ directing the user to the copy of this License. Also, you must do one
416
+ of these things:
417
+
418
+ a) Accompany the work with the complete corresponding
419
+ machine-readable source code for the Library including whatever
420
+ changes were used in the work (which must be distributed under
421
+ Sections 1 and 2 above); and, if the work is an executable linked
422
+ with the Library, with the complete machine-readable &quot;work that
423
+ uses the Library&quot;, as object code and/or source code, so that the
424
+ user can modify the Library and then relink to produce a modified
425
+ executable containing the modified Library. (It is understood
426
+ that the user who changes the contents of definitions files in the
427
+ Library will not necessarily be able to recompile the application
428
+ to use the modified definitions.)
429
+
430
+ b) Use a suitable shared library mechanism for linking with the
431
+ Library. A suitable mechanism is one that (1) uses at run time a
432
+ copy of the library already present on the user&#39;s computer system,
433
+ rather than copying library functions into the executable, and (2)
434
+ will operate properly with a modified version of the library, if
435
+ the user installs one, as long as the modified version is
436
+ interface-compatible with the version that the work was made with.
437
+
438
+ c) Accompany the work with a written offer, valid for at
439
+ least three years, to give the same user the materials
440
+ specified in Subsection 6a, above, for a charge no more
441
+ than the cost of performing this distribution.
442
+
443
+ d) If distribution of the work is made by offering access to copy
444
+ from a designated place, offer equivalent access to copy the above
445
+ specified materials from the same place.
446
+
447
+ e) Verify that the user has already received a copy of these
448
+ materials or that you have already sent this user a copy.
449
+
450
+ For an executable, the required form of the &quot;work that uses the
451
+ Library&quot; must include any data and utility programs needed for
452
+ reproducing the executable from it. However, as a special exception,
453
+ the materials to be distributed need not include anything that is
454
+ normally distributed (in either source or binary form) with the major
455
+ components (compiler, kernel, and so on) of the operating system on
456
+ which the executable runs, unless that component itself accompanies
457
+ the executable.
458
+
459
+ It may happen that this requirement contradicts the license
460
+ restrictions of other proprietary libraries that do not normally
461
+ accompany the operating system. Such a contradiction means you cannot
462
+ use both them and the Library together in an executable that you
463
+ distribute.
464
+
465
+ 7. You may place library facilities that are a work based on the
466
+ Library side-by-side in a single library together with other library
467
+ facilities not covered by this License, and distribute such a combined
468
+ library, provided that the separate distribution of the work based on
469
+ the Library and of the other library facilities is otherwise
470
+ permitted, and provided that you do these two things:
471
+
472
+ a) Accompany the combined library with a copy of the same work
473
+ based on the Library, uncombined with any other library
474
+ facilities. This must be distributed under the terms of the
475
+ Sections above.
476
+
477
+ b) Give prominent notice with the combined library of the fact
478
+ that part of it is a work based on the Library, and explaining
479
+ where to find the accompanying uncombined form of the same work.
480
+
481
+ 8. You may not copy, modify, sublicense, link with, or distribute
482
+ the Library except as expressly provided under this License. Any
483
+ attempt otherwise to copy, modify, sublicense, link with, or
484
+ distribute the Library is void, and will automatically terminate your
485
+ rights under this License. However, parties who have received copies,
486
+ or rights, from you under this License will not have their licenses
487
+ terminated so long as such parties remain in full compliance.
488
+
489
+ 9. You are not required to accept this License, since you have not
490
+ signed it. However, nothing else grants you permission to modify or
491
+ distribute the Library or its derivative works. These actions are
492
+ prohibited by law if you do not accept this License. Therefore, by
493
+ modifying or distributing the Library (or any work based on the
494
+ Library), you indicate your acceptance of this License to do so, and
495
+ all its terms and conditions for copying, distributing or modifying
496
+ the Library or works based on it.
497
+
498
+ 10. Each time you redistribute the Library (or any work based on the
499
+ Library), the recipient automatically receives a license from the
500
+ original licensor to copy, distribute, link with or modify the Library
501
+ subject to these terms and conditions. You may not impose any further
502
+ restrictions on the recipients&#39; exercise of the rights granted herein.
503
+ You are not responsible for enforcing compliance by third parties with
504
+ this License.
505
+
506
+ 11. If, as a consequence of a court judgment or allegation of patent
507
+ infringement or for any other reason (not limited to patent issues),
508
+ conditions are imposed on you (whether by court order, agreement or
509
+ otherwise) that contradict the conditions of this License, they do not
510
+ excuse you from the conditions of this License. If you cannot
511
+ distribute so as to satisfy simultaneously your obligations under this
512
+ License and any other pertinent obligations, then as a consequence you
513
+ may not distribute the Library at all. For example, if a patent
514
+ license would not permit royalty-free redistribution of the Library by
515
+ all those who receive copies directly or indirectly through you, then
516
+ the only way you could satisfy both it and this License would be to
517
+ refrain entirely from distribution of the Library.
518
+
519
+ If any portion of this section is held invalid or unenforceable under any
520
+ particular circumstance, the balance of the section is intended to apply,
521
+ and the section as a whole is intended to apply in other circumstances.
522
+
523
+ It is not the purpose of this section to induce you to infringe any
524
+ patents or other property right claims or to contest validity of any
525
+ such claims; this section has the sole purpose of protecting the
526
+ integrity of the free software distribution system which is
527
+ implemented by public license practices. Many people have made
528
+ generous contributions to the wide range of software distributed
529
+ through that system in reliance on consistent application of that
530
+ system; it is up to the author/donor to decide if he or she is willing
531
+ to distribute software through any other system and a licensee cannot
532
+ impose that choice.
533
+
534
+ This section is intended to make thoroughly clear what is believed to
535
+ be a consequence of the rest of this License.
536
+
537
+ 12. If the distribution and/or use of the Library is restricted in
538
+ certain countries either by patents or by copyrighted interfaces, the
539
+ original copyright holder who places the Library under this License may add
540
+ an explicit geographical distribution limitation excluding those countries,
541
+ so that distribution is permitted only in or among countries not thus
542
+ excluded. In such case, this License incorporates the limitation as if
543
+ written in the body of this License.
544
+
545
+ 13. The Free Software Foundation may publish revised and/or new
546
+ versions of the Lesser General Public License from time to time.
547
+ Such new versions will be similar in spirit to the present version,
548
+ but may differ in detail to address new problems or concerns.
549
+
550
+ Each version is given a distinguishing version number. If the Library
551
+ specifies a version number of this License which applies to it and
552
+ &quot;any later version&quot;, you have the option of following the terms and
553
+ conditions either of that version or of any later version published by
554
+ the Free Software Foundation. If the Library does not specify a
555
+ license version number, you may choose any version ever published by
556
+ the Free Software Foundation.
557
+
558
+ 14. If you wish to incorporate parts of the Library into other free
559
+ programs whose distribution conditions are incompatible with these,
560
+ write to the author to ask for permission. For software which is
561
+ copyrighted by the Free Software Foundation, write to the Free
562
+ Software Foundation; we sometimes make exceptions for this. Our
563
+ decision will be guided by the two goals of preserving the free status
564
+ of all derivatives of our free software and of promoting the sharing
565
+ and reuse of software generally.
566
+
567
+ NO WARRANTY
568
+
569
+ 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
570
+ WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
571
+ EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
572
+ OTHER PARTIES PROVIDE THE LIBRARY &quot;AS IS&quot; WITHOUT WARRANTY OF ANY
573
+ KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
574
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
575
+ PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
576
+ LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
577
+ THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
578
+
579
+ 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
580
+ WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
581
+ AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
582
+ FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
583
+ CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
584
+ LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
585
+ RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
586
+ FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
587
+ SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
588
+ DAMAGES.
609
589
  </code></pre>
610
590
  </div></div>
611
591
 
612
592
  <div id="footer">
613
- Generated on Mon Jan 2 11:47:15 2023 by
593
+ Generated on Sun May 14 21:55:12 2023 by
614
594
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
615
- 0.9.28 (ruby-3.1.2).
595
+ 0.9.34 (ruby-3.2.0).
616
596
  </div>
617
597
 
618
598
  </div>