fxruby 1.6.25 → 1.6.26.pre1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (278) hide show
  1. data/.gitignore +7 -7
  2. data/History.txt +6 -0
  3. data/Manifest.txt +232 -232
  4. data/README.rdoc +1 -1
  5. data/Rakefile +18 -18
  6. data/Rakefile.cross +4 -4
  7. data/ext/{fox16 → fox16_c}/FXRbApp.cpp +0 -0
  8. data/ext/{fox16 → fox16_c}/FXRbDataTarget.cpp +0 -0
  9. data/ext/{fox16 → fox16_c}/FXRbGLViewer.cpp +0 -0
  10. data/ext/{fox16 → fox16_c}/FXRuby.cpp +8 -3
  11. data/ext/{fox16 → fox16_c}/MANIFEST +0 -0
  12. data/ext/{fox16 → fox16_c}/extconf.rb +1 -1
  13. data/ext/{fox16 → fox16_c}/impl.cpp +0 -0
  14. data/ext/{fox16 → fox16_c}/include/FXMemoryBuffer.h +0 -0
  15. data/ext/{fox16 → fox16_c}/include/FXRb4Splitter.h +0 -0
  16. data/ext/{fox16 → fox16_c}/include/FXRb7Segment.h +0 -0
  17. data/ext/{fox16 → fox16_c}/include/FXRbAccelTable.h +0 -0
  18. data/ext/{fox16 → fox16_c}/include/FXRbApp.h +0 -0
  19. data/ext/{fox16 → fox16_c}/include/FXRbAppVirtuals.h +0 -0
  20. data/ext/{fox16 → fox16_c}/include/FXRbArrowButton.h +0 -0
  21. data/ext/{fox16 → fox16_c}/include/FXRbBMPIcon.h +0 -0
  22. data/ext/{fox16 → fox16_c}/include/FXRbBMPImage.h +0 -0
  23. data/ext/{fox16 → fox16_c}/include/FXRbBitmap.h +0 -0
  24. data/ext/{fox16 → fox16_c}/include/FXRbBitmapFrame.h +0 -0
  25. data/ext/{fox16 → fox16_c}/include/FXRbBitmapView.h +0 -0
  26. data/ext/{fox16 → fox16_c}/include/FXRbBitmapVirtuals.h +0 -0
  27. data/ext/{fox16 → fox16_c}/include/FXRbButton.h +0 -0
  28. data/ext/{fox16 → fox16_c}/include/FXRbCURCursor.h +0 -0
  29. data/ext/{fox16 → fox16_c}/include/FXRbCanvas.h +0 -0
  30. data/ext/{fox16 → fox16_c}/include/FXRbCheckButton.h +0 -0
  31. data/ext/{fox16 → fox16_c}/include/FXRbChoiceBox.h +0 -0
  32. data/ext/{fox16 → fox16_c}/include/FXRbColorBar.h +0 -0
  33. data/ext/{fox16 → fox16_c}/include/FXRbColorDialog.h +0 -0
  34. data/ext/{fox16 → fox16_c}/include/FXRbColorList.h +0 -0
  35. data/ext/{fox16 → fox16_c}/include/FXRbColorRing.h +0 -0
  36. data/ext/{fox16 → fox16_c}/include/FXRbColorSelector.h +0 -0
  37. data/ext/{fox16 → fox16_c}/include/FXRbColorWell.h +0 -0
  38. data/ext/{fox16 → fox16_c}/include/FXRbColorWheel.h +0 -0
  39. data/ext/{fox16 → fox16_c}/include/FXRbComboBox.h +0 -0
  40. data/ext/{fox16 → fox16_c}/include/FXRbCommon.h +4 -0
  41. data/ext/{fox16 → fox16_c}/include/FXRbComposite.h +0 -0
  42. data/ext/{fox16 → fox16_c}/include/FXRbCursor.h +0 -0
  43. data/ext/{fox16 → fox16_c}/include/FXRbCursorVirtuals.h +0 -0
  44. data/ext/{fox16 → fox16_c}/include/FXRbDC.h +4 -4
  45. data/ext/{fox16 → fox16_c}/include/FXRbDCPrint.h +0 -0
  46. data/ext/{fox16 → fox16_c}/include/FXRbDCVirtuals.h +0 -0
  47. data/ext/{fox16 → fox16_c}/include/FXRbDCWindow.h +0 -0
  48. data/ext/{fox16 → fox16_c}/include/FXRbDataTarget.h +0 -0
  49. data/ext/{fox16 → fox16_c}/include/FXRbDebugTarget.h +0 -0
  50. data/ext/{fox16 → fox16_c}/include/FXRbDelegator.h +0 -0
  51. data/ext/{fox16 → fox16_c}/include/FXRbDial.h +0 -0
  52. data/ext/{fox16 → fox16_c}/include/FXRbDialogBox.h +0 -0
  53. data/ext/{fox16 → fox16_c}/include/FXRbDialogBoxVirtuals.h +0 -0
  54. data/ext/{fox16 → fox16_c}/include/FXRbDict.h +0 -0
  55. data/ext/{fox16 → fox16_c}/include/FXRbDirBox.h +0 -0
  56. data/ext/{fox16 → fox16_c}/include/FXRbDirDialog.h +0 -0
  57. data/ext/{fox16 → fox16_c}/include/FXRbDirList.h +0 -0
  58. data/ext/{fox16 → fox16_c}/include/FXRbDirSelector.h +0 -0
  59. data/ext/{fox16 → fox16_c}/include/FXRbDockBar.h +0 -0
  60. data/ext/{fox16 → fox16_c}/include/FXRbDockBarVirtuals.h +0 -0
  61. data/ext/{fox16 → fox16_c}/include/FXRbDockHandler.h +0 -0
  62. data/ext/{fox16 → fox16_c}/include/FXRbDockSite.h +0 -0
  63. data/ext/{fox16 → fox16_c}/include/FXRbDockSiteVirtuals.h +0 -0
  64. data/ext/{fox16 → fox16_c}/include/FXRbDockTitle.h +0 -0
  65. data/ext/{fox16 → fox16_c}/include/FXRbDocument.h +0 -0
  66. data/ext/{fox16 → fox16_c}/include/FXRbDragCorner.h +0 -0
  67. data/ext/{fox16 → fox16_c}/include/FXRbDrawable.h +0 -0
  68. data/ext/{fox16 → fox16_c}/include/FXRbDrawableVirtuals.h +0 -0
  69. data/ext/{fox16 → fox16_c}/include/FXRbDriveBox.h +0 -0
  70. data/ext/{fox16 → fox16_c}/include/FXRbFileDialog.h +0 -0
  71. data/ext/{fox16 → fox16_c}/include/FXRbFileDict.h +0 -0
  72. data/ext/{fox16 → fox16_c}/include/FXRbFileDictVirtuals.h +0 -0
  73. data/ext/{fox16 → fox16_c}/include/FXRbFileList.h +0 -0
  74. data/ext/{fox16 → fox16_c}/include/FXRbFileSelector.h +0 -0
  75. data/ext/{fox16 → fox16_c}/include/FXRbFoldingItemVirtuals.h +0 -0
  76. data/ext/{fox16 → fox16_c}/include/FXRbFoldingList.h +0 -0
  77. data/ext/{fox16 → fox16_c}/include/FXRbFoldingListVirtuals.h +0 -0
  78. data/ext/{fox16 → fox16_c}/include/FXRbFont.h +0 -0
  79. data/ext/{fox16 → fox16_c}/include/FXRbFontDialog.h +0 -0
  80. data/ext/{fox16 → fox16_c}/include/FXRbFontSelector.h +0 -0
  81. data/ext/{fox16 → fox16_c}/include/FXRbFontVirtuals.h +0 -0
  82. data/ext/{fox16 → fox16_c}/include/FXRbFrame.h +0 -0
  83. data/ext/{fox16 → fox16_c}/include/FXRbGIFCursor.h +0 -0
  84. data/ext/{fox16 → fox16_c}/include/FXRbGIFIcon.h +0 -0
  85. data/ext/{fox16 → fox16_c}/include/FXRbGIFImage.h +0 -0
  86. data/ext/{fox16 → fox16_c}/include/FXRbGLCanvas.h +0 -0
  87. data/ext/{fox16 → fox16_c}/include/FXRbGLCanvasVirtuals.h +0 -0
  88. data/ext/{fox16 → fox16_c}/include/FXRbGLContext.h +0 -0
  89. data/ext/{fox16 → fox16_c}/include/FXRbGLObject.h +0 -0
  90. data/ext/{fox16 → fox16_c}/include/FXRbGLObjectVirtuals.h +0 -0
  91. data/ext/{fox16 → fox16_c}/include/FXRbGLShape.h +0 -0
  92. data/ext/{fox16 → fox16_c}/include/FXRbGLShapeVirtuals.h +0 -0
  93. data/ext/{fox16 → fox16_c}/include/FXRbGLViewer.h +0 -0
  94. data/ext/{fox16 → fox16_c}/include/FXRbGLViewerVirtuals.h +0 -0
  95. data/ext/{fox16 → fox16_c}/include/FXRbGLVisual.h +0 -0
  96. data/ext/{fox16 → fox16_c}/include/FXRbGradientBar.h +0 -0
  97. data/ext/{fox16 → fox16_c}/include/FXRbGroupBox.h +0 -0
  98. data/ext/{fox16 → fox16_c}/include/FXRbHeader.h +0 -0
  99. data/ext/{fox16 → fox16_c}/include/FXRbHeaderItemVirtuals.h +0 -0
  100. data/ext/{fox16 → fox16_c}/include/FXRbHorizontalFrame.h +0 -0
  101. data/ext/{fox16 → fox16_c}/include/FXRbICOIcon.h +0 -0
  102. data/ext/{fox16 → fox16_c}/include/FXRbICOImage.h +0 -0
  103. data/ext/{fox16 → fox16_c}/include/FXRbIcon.h +0 -0
  104. data/ext/{fox16 → fox16_c}/include/FXRbIconItemVirtuals.h +0 -0
  105. data/ext/{fox16 → fox16_c}/include/FXRbIconList.h +0 -0
  106. data/ext/{fox16 → fox16_c}/include/FXRbIconListVirtuals.h +0 -0
  107. data/ext/{fox16 → fox16_c}/include/FXRbIconSource.h +0 -0
  108. data/ext/{fox16 → fox16_c}/include/FXRbIconSourceVirtuals.h +0 -0
  109. data/ext/{fox16 → fox16_c}/include/FXRbId.h +0 -0
  110. data/ext/{fox16 → fox16_c}/include/FXRbIdVirtuals.h +0 -0
  111. data/ext/{fox16 → fox16_c}/include/FXRbImage.h +0 -0
  112. data/ext/{fox16 → fox16_c}/include/FXRbImageFrame.h +0 -0
  113. data/ext/{fox16 → fox16_c}/include/FXRbImageView.h +0 -0
  114. data/ext/{fox16 → fox16_c}/include/FXRbImageVirtuals.h +0 -0
  115. data/ext/{fox16 → fox16_c}/include/FXRbInputDialog.h +0 -0
  116. data/ext/{fox16 → fox16_c}/include/FXRbJPGIcon.h +0 -0
  117. data/ext/{fox16 → fox16_c}/include/FXRbJPGImage.h +0 -0
  118. data/ext/{fox16 → fox16_c}/include/FXRbKnob.h +0 -0
  119. data/ext/{fox16 → fox16_c}/include/FXRbLabel.h +0 -0
  120. data/ext/{fox16 → fox16_c}/include/FXRbList.h +0 -0
  121. data/ext/{fox16 → fox16_c}/include/FXRbListBox.h +0 -0
  122. data/ext/{fox16 → fox16_c}/include/FXRbListBoxVirtuals.h +0 -0
  123. data/ext/{fox16 → fox16_c}/include/FXRbListItemVirtuals.h +0 -0
  124. data/ext/{fox16 → fox16_c}/include/FXRbListVirtuals.h +0 -0
  125. data/ext/{fox16 → fox16_c}/include/FXRbMDIButton.h +0 -0
  126. data/ext/{fox16 → fox16_c}/include/FXRbMDIChild.h +0 -0
  127. data/ext/{fox16 → fox16_c}/include/FXRbMDIChildVirtuals.h +0 -0
  128. data/ext/{fox16 → fox16_c}/include/FXRbMDIClient.h +0 -0
  129. data/ext/{fox16 → fox16_c}/include/FXRbMDIClientVirtuals.h +0 -0
  130. data/ext/{fox16 → fox16_c}/include/FXRbMainWindow.h +0 -0
  131. data/ext/{fox16 → fox16_c}/include/FXRbMatrix.h +0 -0
  132. data/ext/{fox16 → fox16_c}/include/FXRbMenuBar.h +0 -0
  133. data/ext/{fox16 → fox16_c}/include/FXRbMenuButton.h +0 -0
  134. data/ext/{fox16 → fox16_c}/include/FXRbMenuCaption.h +0 -0
  135. data/ext/{fox16 → fox16_c}/include/FXRbMenuCascade.h +0 -0
  136. data/ext/{fox16 → fox16_c}/include/FXRbMenuCheck.h +0 -0
  137. data/ext/{fox16 → fox16_c}/include/FXRbMenuCommand.h +0 -0
  138. data/ext/{fox16 → fox16_c}/include/FXRbMenuPane.h +0 -0
  139. data/ext/{fox16 → fox16_c}/include/FXRbMenuRadio.h +0 -0
  140. data/ext/{fox16 → fox16_c}/include/FXRbMenuSeparator.h +0 -0
  141. data/ext/{fox16 → fox16_c}/include/FXRbMenuTitle.h +0 -0
  142. data/ext/{fox16 → fox16_c}/include/FXRbMessageBox.h +0 -0
  143. data/ext/{fox16 → fox16_c}/include/FXRbObject.h +0 -0
  144. data/ext/{fox16 → fox16_c}/include/FXRbObjectVirtuals.h +0 -0
  145. data/ext/{fox16 → fox16_c}/include/FXRbOptionMenu.h +0 -0
  146. data/ext/{fox16 → fox16_c}/include/FXRbPCXIcon.h +0 -0
  147. data/ext/{fox16 → fox16_c}/include/FXRbPCXImage.h +0 -0
  148. data/ext/{fox16 → fox16_c}/include/FXRbPNGIcon.h +0 -0
  149. data/ext/{fox16 → fox16_c}/include/FXRbPNGImage.h +0 -0
  150. data/ext/{fox16 → fox16_c}/include/FXRbPPMIcon.h +0 -0
  151. data/ext/{fox16 → fox16_c}/include/FXRbPPMImage.h +0 -0
  152. data/ext/{fox16 → fox16_c}/include/FXRbPacker.h +0 -0
  153. data/ext/{fox16 → fox16_c}/include/FXRbPicker.h +0 -0
  154. data/ext/{fox16 → fox16_c}/include/FXRbPopup.h +0 -0
  155. data/ext/{fox16 → fox16_c}/include/FXRbPopupVirtuals.h +0 -0
  156. data/ext/{fox16 → fox16_c}/include/FXRbPrintDialog.h +0 -0
  157. data/ext/{fox16 → fox16_c}/include/FXRbProgressBar.h +0 -0
  158. data/ext/{fox16 → fox16_c}/include/FXRbProgressDialog.h +0 -0
  159. data/ext/{fox16 → fox16_c}/include/FXRbRGBIcon.h +0 -0
  160. data/ext/{fox16 → fox16_c}/include/FXRbRGBImage.h +0 -0
  161. data/ext/{fox16 → fox16_c}/include/FXRbRadioButton.h +0 -0
  162. data/ext/{fox16 → fox16_c}/include/FXRbRealSlider.h +0 -0
  163. data/ext/{fox16 → fox16_c}/include/FXRbRealSpinner.h +0 -0
  164. data/ext/{fox16 → fox16_c}/include/FXRbRealSpinnerVirtuals.h +0 -0
  165. data/ext/{fox16 → fox16_c}/include/FXRbRecentFiles.h +0 -0
  166. data/ext/{fox16 → fox16_c}/include/FXRbRegistry.h +0 -0
  167. data/ext/{fox16 → fox16_c}/include/FXRbReplaceDialog.h +0 -0
  168. data/ext/{fox16 → fox16_c}/include/FXRbRootWindow.h +0 -0
  169. data/ext/{fox16 → fox16_c}/include/FXRbRuler.h +0 -0
  170. data/ext/{fox16 → fox16_c}/include/FXRbRulerView.h +0 -0
  171. data/ext/{fox16 → fox16_c}/include/FXRbScintilla.h +0 -0
  172. data/ext/{fox16 → fox16_c}/include/FXRbScrollArea.h +0 -0
  173. data/ext/{fox16 → fox16_c}/include/FXRbScrollAreaVirtuals.h +0 -0
  174. data/ext/{fox16 → fox16_c}/include/FXRbScrollBar.h +0 -0
  175. data/ext/{fox16 → fox16_c}/include/FXRbScrollPane.h +0 -0
  176. data/ext/{fox16 → fox16_c}/include/FXRbScrollWindow.h +0 -0
  177. data/ext/{fox16 → fox16_c}/include/FXRbSearchDialog.h +0 -0
  178. data/ext/{fox16 → fox16_c}/include/FXRbSeparator.h +0 -0
  179. data/ext/{fox16 → fox16_c}/include/FXRbSettings.h +0 -0
  180. data/ext/{fox16 → fox16_c}/include/FXRbShell.h +0 -0
  181. data/ext/{fox16 → fox16_c}/include/FXRbShutter.h +0 -0
  182. data/ext/{fox16 → fox16_c}/include/FXRbShutterVirtuals.h +0 -0
  183. data/ext/{fox16 → fox16_c}/include/FXRbSlider.h +0 -0
  184. data/ext/{fox16 → fox16_c}/include/FXRbSpinner.h +0 -0
  185. data/ext/{fox16 → fox16_c}/include/FXRbSpinnerVirtuals.h +0 -0
  186. data/ext/{fox16 → fox16_c}/include/FXRbSplashWindow.h +0 -0
  187. data/ext/{fox16 → fox16_c}/include/FXRbSplitter.h +0 -0
  188. data/ext/{fox16 → fox16_c}/include/FXRbSpring.h +0 -0
  189. data/ext/{fox16 → fox16_c}/include/FXRbStatusBar.h +0 -0
  190. data/ext/{fox16 → fox16_c}/include/FXRbStatusLine.h +0 -0
  191. data/ext/{fox16 → fox16_c}/include/FXRbStream.h +0 -0
  192. data/ext/{fox16 → fox16_c}/include/FXRbStreamVirtuals.h +0 -0
  193. data/ext/{fox16 → fox16_c}/include/FXRbStringDict.h +0 -0
  194. data/ext/{fox16 → fox16_c}/include/FXRbSwitcher.h +0 -0
  195. data/ext/{fox16 → fox16_c}/include/FXRbTGAIcon.h +0 -0
  196. data/ext/{fox16 → fox16_c}/include/FXRbTGAImage.h +0 -0
  197. data/ext/{fox16 → fox16_c}/include/FXRbTIFIcon.h +0 -0
  198. data/ext/{fox16 → fox16_c}/include/FXRbTIFImage.h +0 -0
  199. data/ext/{fox16 → fox16_c}/include/FXRbTabBar.h +0 -0
  200. data/ext/{fox16 → fox16_c}/include/FXRbTabBarVirtuals.h +0 -0
  201. data/ext/{fox16 → fox16_c}/include/FXRbTabBook.h +0 -0
  202. data/ext/{fox16 → fox16_c}/include/FXRbTabItem.h +0 -0
  203. data/ext/{fox16 → fox16_c}/include/FXRbTable.h +0 -0
  204. data/ext/{fox16 → fox16_c}/include/FXRbTableItemVirtuals.h +0 -0
  205. data/ext/{fox16 → fox16_c}/include/FXRbTableVirtuals.h +0 -0
  206. data/ext/{fox16 → fox16_c}/include/FXRbText.h +0 -0
  207. data/ext/{fox16 → fox16_c}/include/FXRbTextField.h +0 -0
  208. data/ext/{fox16 → fox16_c}/include/FXRbTextVirtuals.h +0 -0
  209. data/ext/{fox16 → fox16_c}/include/FXRbToggleButton.h +0 -0
  210. data/ext/{fox16 → fox16_c}/include/FXRbToolBar.h +0 -0
  211. data/ext/{fox16 → fox16_c}/include/FXRbToolBarGrip.h +0 -0
  212. data/ext/{fox16 → fox16_c}/include/FXRbToolBarShell.h +0 -0
  213. data/ext/{fox16 → fox16_c}/include/FXRbToolBarTab.h +0 -0
  214. data/ext/{fox16 → fox16_c}/include/FXRbToolTip.h +0 -0
  215. data/ext/{fox16 → fox16_c}/include/FXRbTopWindow.h +0 -0
  216. data/ext/{fox16 → fox16_c}/include/FXRbTopWindowVirtuals.h +0 -0
  217. data/ext/{fox16 → fox16_c}/include/FXRbTranslator.h +0 -0
  218. data/ext/{fox16 → fox16_c}/include/FXRbTranslatorVirtuals.h +0 -0
  219. data/ext/{fox16 → fox16_c}/include/FXRbTreeItemVirtuals.h +0 -0
  220. data/ext/{fox16 → fox16_c}/include/FXRbTreeList.h +0 -0
  221. data/ext/{fox16 → fox16_c}/include/FXRbTreeListBox.h +0 -0
  222. data/ext/{fox16 → fox16_c}/include/FXRbTreeListBoxVirtuals.h +0 -0
  223. data/ext/{fox16 → fox16_c}/include/FXRbTreeListVirtuals.h +0 -0
  224. data/ext/{fox16 → fox16_c}/include/FXRbTriStateButton.h +0 -0
  225. data/ext/{fox16 → fox16_c}/include/FXRbVerticalFrame.h +0 -0
  226. data/ext/{fox16 → fox16_c}/include/FXRbVisual.h +0 -0
  227. data/ext/{fox16 → fox16_c}/include/FXRbWindow.h +0 -0
  228. data/ext/{fox16 → fox16_c}/include/FXRbWindowVirtuals.h +0 -0
  229. data/ext/{fox16 → fox16_c}/include/FXRbWizard.h +0 -0
  230. data/ext/{fox16 → fox16_c}/include/FXRbXBMIcon.h +0 -0
  231. data/ext/{fox16 → fox16_c}/include/FXRbXBMImage.h +0 -0
  232. data/ext/{fox16 → fox16_c}/include/FXRbXPMIcon.h +0 -0
  233. data/ext/{fox16 → fox16_c}/include/FXRbXPMImage.h +0 -0
  234. data/ext/{fox16 → fox16_c}/include/FXRuby.h +24 -2
  235. data/ext/{fox16 → fox16_c}/include/impl.h +0 -0
  236. data/ext/{fox16 → fox16_c}/make_impl.rb +0 -0
  237. data/ext/{fox16 → fox16_c}/markfuncs.cpp +0 -0
  238. data/ext/{fox16 → fox16_c}/unregisterOwnedObjects.cpp +0 -0
  239. data/lib/fox16.rb +3 -3
  240. data/lib/fox16/version.rb +1 -1
  241. data/swig-interfaces/FXApp.i +1 -1
  242. data/swig-interfaces/FXBMPIcon.i +2 -2
  243. data/swig-interfaces/FXBMPImage.i +2 -2
  244. data/swig-interfaces/FXCURCursor.i +1 -1
  245. data/swig-interfaces/FXFileDialog.i +6 -6
  246. data/swig-interfaces/FXFileSelector.i +3 -3
  247. data/swig-interfaces/FXGIFCursor.i +1 -1
  248. data/swig-interfaces/FXGIFIcon.i +2 -2
  249. data/swig-interfaces/FXGIFImage.i +2 -2
  250. data/swig-interfaces/FXICOIcon.i +2 -2
  251. data/swig-interfaces/FXICOImage.i +2 -2
  252. data/swig-interfaces/FXJPGIcon.i +2 -2
  253. data/swig-interfaces/FXJPGImage.i +2 -2
  254. data/swig-interfaces/FXPCXIcon.i +2 -2
  255. data/swig-interfaces/FXPCXImage.i +2 -2
  256. data/swig-interfaces/FXPNGIcon.i +2 -2
  257. data/swig-interfaces/FXPNGImage.i +2 -2
  258. data/swig-interfaces/FXPPMIcon.i +2 -2
  259. data/swig-interfaces/FXPPMImage.i +2 -2
  260. data/swig-interfaces/FXRGBIcon.i +2 -2
  261. data/swig-interfaces/FXRGBImage.i +2 -2
  262. data/swig-interfaces/FXScintilla.i +2 -2
  263. data/swig-interfaces/FXTGAIcon.i +2 -2
  264. data/swig-interfaces/FXTGAImage.i +2 -2
  265. data/swig-interfaces/FXTIFIcon.i +2 -2
  266. data/swig-interfaces/FXTIFImage.i +2 -2
  267. data/swig-interfaces/FXTable.i +1 -1
  268. data/swig-interfaces/FXText.i +5 -5
  269. data/swig-interfaces/FXXBMIcon.i +2 -2
  270. data/swig-interfaces/FXXBMImage.i +2 -2
  271. data/swig-interfaces/FXXPMIcon.i +2 -2
  272. data/swig-interfaces/FXXPMImage.i +2 -2
  273. data/swig-interfaces/fxdefs.i +1 -1
  274. data/swig-interfaces/ruby-typemaps.i +3 -3
  275. data/test/TC_FXComboBox.rb +9 -0
  276. data/test/TC_FXList.rb +9 -0
  277. data/test/TC_FXText.rb +9 -0
  278. metadata +267 -264
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -171,6 +171,11 @@ FXint FXRbSignalNameToNumber(const char* name);
171
171
  // Fox module instance
172
172
  extern VALUE mFox;
173
173
 
174
+ #ifdef HAVE_RUBY_ENCODING_H
175
+ // UTF-8 encoding index
176
+ extern int utf8_enc_idx;
177
+ #endif
178
+
174
179
  // Convert from FOX datatypes to Ruby objects
175
180
  inline VALUE to_ruby(const void* ptr){
176
181
  return Qnil; // FIXME: Used for some FXIconSource methods
@@ -223,11 +228,28 @@ inline VALUE to_ruby(unsigned long l){
223
228
  #endif
224
229
 
225
230
  inline VALUE to_ruby(const FXString& s){
226
- return rb_str_new2(s.text());
231
+ VALUE str = rb_str_new(s.text(), s.length());
232
+ #ifdef HAVE_RUBY_ENCODING_H
233
+ rb_enc_associate_index(str, utf8_enc_idx);
234
+ #endif
235
+ return str;
227
236
  }
228
237
 
229
238
  inline VALUE to_ruby(const FXchar* s){
230
- return s ? rb_str_new2(s) : Qnil;
239
+ if(!s) return Qnil;
240
+ VALUE str = rb_str_new2(s);
241
+ #ifdef HAVE_RUBY_ENCODING_H
242
+ rb_enc_associate_index(str, utf8_enc_idx);
243
+ #endif
244
+ return str;
245
+ }
246
+
247
+ inline VALUE to_ruby(const FXchar* s, int length){
248
+ VALUE str = rb_str_new(s, length);
249
+ #ifdef HAVE_RUBY_ENCODING_H
250
+ rb_enc_associate_index(str, utf8_enc_idx);
251
+ #endif
252
+ return str;
231
253
  }
232
254
 
233
255
  extern VALUE to_ruby(const FXObject* obj);
File without changes
File without changes
File without changes
File without changes
data/lib/fox16.rb CHANGED
@@ -1,9 +1,9 @@
1
1
  if RUBY_PLATFORM =~ /(mswin|mingw)/i
2
- require "#{RUBY_VERSION.sub(/\.\d+$/, '')}/fox16.so"
2
+ require "#{RUBY_VERSION.sub(/\.\d+$/, '')}/fox16_c.so"
3
3
  elsif RUBY_PLATFORM =~ /darwin/
4
- require "fox16.bundle"
4
+ require "fox16_c.bundle"
5
5
  else
6
- require "fox16.so"
6
+ require "fox16_c.so"
7
7
  end
8
8
 
9
9
  require "fox16/core"
data/lib/fox16/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Fox
2
2
  def Fox.fxrubyversion
3
- "1.6.25"
3
+ "1.6.26.pre1"
4
4
  end
5
5
  end
@@ -161,7 +161,7 @@ public:
161
161
  %extend {
162
162
  // Copyright notice for library
163
163
  static VALUE copyright() {
164
- return rb_str_new2((const char *) FXApp::copyright);
164
+ return to_ruby(FXApp::copyright);
165
165
  }
166
166
  }
167
167
 
@@ -28,10 +28,10 @@ protected:
28
28
  public:
29
29
  %extend {
30
30
  static VALUE fileExt() {
31
- return rb_str_new2(FXBMPIcon::fileExt);
31
+ return to_ruby(FXBMPIcon::fileExt);
32
32
  }
33
33
  static VALUE mimeType() {
34
- return rb_str_new2(FXBMPIcon::mimeType);
34
+ return to_ruby(FXBMPIcon::mimeType);
35
35
  }
36
36
  }
37
37
  public:
@@ -28,10 +28,10 @@ protected:
28
28
  public:
29
29
  %extend {
30
30
  static VALUE fileExt() {
31
- return rb_str_new2(FXBMPImage::fileExt);
31
+ return to_ruby(FXBMPImage::fileExt);
32
32
  }
33
33
  static VALUE mimeType() {
34
- return rb_str_new2(FXBMPImage::mimeType);
34
+ return to_ruby(FXBMPImage::mimeType);
35
35
  }
36
36
  }
37
37
  public: