fxruby 1.6.25-x86-mingw32 → 1.6.26.pre1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +7 -7
- data/History.txt +6 -0
- data/Manifest.txt +232 -232
- data/README.rdoc +1 -1
- data/Rakefile +18 -18
- data/Rakefile.cross +4 -4
- data/ext/{fox16 → fox16_c}/FXRbApp.cpp +0 -0
- data/ext/{fox16 → fox16_c}/FXRbDataTarget.cpp +0 -0
- data/ext/{fox16 → fox16_c}/FXRbGLViewer.cpp +0 -0
- data/ext/{fox16 → fox16_c}/FXRuby.cpp +8 -3
- data/ext/{fox16 → fox16_c}/MANIFEST +0 -0
- data/ext/{fox16 → fox16_c}/extconf.rb +1 -1
- data/ext/{fox16 → fox16_c}/impl.cpp +0 -0
- data/ext/{fox16 → fox16_c}/include/FXMemoryBuffer.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRb4Splitter.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRb7Segment.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbAccelTable.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbApp.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbAppVirtuals.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbArrowButton.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbBMPIcon.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbBMPImage.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbBitmap.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbBitmapFrame.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbBitmapView.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbBitmapVirtuals.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbButton.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbCURCursor.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbCanvas.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbCheckButton.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbChoiceBox.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbColorBar.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbColorDialog.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbColorList.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbColorRing.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbColorSelector.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbColorWell.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbColorWheel.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbComboBox.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbCommon.h +4 -0
- data/ext/{fox16 → fox16_c}/include/FXRbComposite.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbCursor.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbCursorVirtuals.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbDC.h +4 -4
- data/ext/{fox16 → fox16_c}/include/FXRbDCPrint.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbDCVirtuals.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbDCWindow.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbDataTarget.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbDebugTarget.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbDelegator.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbDial.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbDialogBox.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbDialogBoxVirtuals.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbDict.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbDirBox.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbDirDialog.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbDirList.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbDirSelector.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbDockBar.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbDockBarVirtuals.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbDockHandler.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbDockSite.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbDockSiteVirtuals.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbDockTitle.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbDocument.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbDragCorner.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbDrawable.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbDrawableVirtuals.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbDriveBox.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbFileDialog.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbFileDict.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbFileDictVirtuals.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbFileList.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbFileSelector.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbFoldingItemVirtuals.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbFoldingList.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbFoldingListVirtuals.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbFont.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbFontDialog.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbFontSelector.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbFontVirtuals.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbFrame.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbGIFCursor.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbGIFIcon.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbGIFImage.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbGLCanvas.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbGLCanvasVirtuals.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbGLContext.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbGLObject.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbGLObjectVirtuals.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbGLShape.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbGLShapeVirtuals.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbGLViewer.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbGLViewerVirtuals.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbGLVisual.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbGradientBar.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbGroupBox.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbHeader.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbHeaderItemVirtuals.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbHorizontalFrame.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbICOIcon.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbICOImage.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbIcon.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbIconItemVirtuals.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbIconList.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbIconListVirtuals.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbIconSource.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbIconSourceVirtuals.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbId.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbIdVirtuals.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbImage.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbImageFrame.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbImageView.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbImageVirtuals.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbInputDialog.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbJPGIcon.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbJPGImage.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbKnob.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbLabel.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbList.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbListBox.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbListBoxVirtuals.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbListItemVirtuals.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbListVirtuals.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbMDIButton.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbMDIChild.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbMDIChildVirtuals.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbMDIClient.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbMDIClientVirtuals.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbMainWindow.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbMatrix.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbMenuBar.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbMenuButton.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbMenuCaption.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbMenuCascade.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbMenuCheck.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbMenuCommand.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbMenuPane.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbMenuRadio.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbMenuSeparator.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbMenuTitle.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbMessageBox.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbObject.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbObjectVirtuals.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbOptionMenu.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbPCXIcon.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbPCXImage.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbPNGIcon.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbPNGImage.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbPPMIcon.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbPPMImage.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbPacker.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbPicker.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbPopup.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbPopupVirtuals.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbPrintDialog.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbProgressBar.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbProgressDialog.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbRGBIcon.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbRGBImage.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbRadioButton.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbRealSlider.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbRealSpinner.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbRealSpinnerVirtuals.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbRecentFiles.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbRegistry.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbReplaceDialog.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbRootWindow.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbRuler.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbRulerView.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbScintilla.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbScrollArea.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbScrollAreaVirtuals.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbScrollBar.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbScrollPane.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbScrollWindow.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbSearchDialog.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbSeparator.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbSettings.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbShell.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbShutter.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbShutterVirtuals.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbSlider.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbSpinner.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbSpinnerVirtuals.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbSplashWindow.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbSplitter.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbSpring.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbStatusBar.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbStatusLine.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbStream.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbStreamVirtuals.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbStringDict.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbSwitcher.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbTGAIcon.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbTGAImage.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbTIFIcon.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbTIFImage.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbTabBar.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbTabBarVirtuals.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbTabBook.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbTabItem.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbTable.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbTableItemVirtuals.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbTableVirtuals.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbText.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbTextField.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbTextVirtuals.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbToggleButton.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbToolBar.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbToolBarGrip.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbToolBarShell.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbToolBarTab.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbToolTip.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbTopWindow.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbTopWindowVirtuals.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbTranslator.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbTranslatorVirtuals.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbTreeItemVirtuals.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbTreeList.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbTreeListBox.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbTreeListBoxVirtuals.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbTreeListVirtuals.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbTriStateButton.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbVerticalFrame.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbVisual.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbWindow.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbWindowVirtuals.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbWizard.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbXBMIcon.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbXBMImage.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbXPMIcon.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRbXPMImage.h +0 -0
- data/ext/{fox16 → fox16_c}/include/FXRuby.h +24 -2
- data/ext/{fox16 → fox16_c}/include/impl.h +0 -0
- data/ext/{fox16 → fox16_c}/make_impl.rb +0 -0
- data/ext/{fox16 → fox16_c}/markfuncs.cpp +0 -0
- data/ext/{fox16 → fox16_c}/unregisterOwnedObjects.cpp +0 -0
- data/lib/1.8/{fox16.so → fox16_c.so} +0 -0
- data/lib/1.9/{fox16.so → fox16_c.so} +0 -0
- data/lib/fox16.rb +3 -3
- data/lib/fox16/version.rb +1 -1
- data/swig-interfaces/FXApp.i +1 -1
- data/swig-interfaces/FXBMPIcon.i +2 -2
- data/swig-interfaces/FXBMPImage.i +2 -2
- data/swig-interfaces/FXCURCursor.i +1 -1
- data/swig-interfaces/FXFileDialog.i +6 -6
- data/swig-interfaces/FXFileSelector.i +3 -3
- data/swig-interfaces/FXGIFCursor.i +1 -1
- data/swig-interfaces/FXGIFIcon.i +2 -2
- data/swig-interfaces/FXGIFImage.i +2 -2
- data/swig-interfaces/FXICOIcon.i +2 -2
- data/swig-interfaces/FXICOImage.i +2 -2
- data/swig-interfaces/FXJPGIcon.i +2 -2
- data/swig-interfaces/FXJPGImage.i +2 -2
- data/swig-interfaces/FXPCXIcon.i +2 -2
- data/swig-interfaces/FXPCXImage.i +2 -2
- data/swig-interfaces/FXPNGIcon.i +2 -2
- data/swig-interfaces/FXPNGImage.i +2 -2
- data/swig-interfaces/FXPPMIcon.i +2 -2
- data/swig-interfaces/FXPPMImage.i +2 -2
- data/swig-interfaces/FXRGBIcon.i +2 -2
- data/swig-interfaces/FXRGBImage.i +2 -2
- data/swig-interfaces/FXScintilla.i +2 -2
- data/swig-interfaces/FXTGAIcon.i +2 -2
- data/swig-interfaces/FXTGAImage.i +2 -2
- data/swig-interfaces/FXTIFIcon.i +2 -2
- data/swig-interfaces/FXTIFImage.i +2 -2
- data/swig-interfaces/FXTable.i +1 -1
- data/swig-interfaces/FXText.i +5 -5
- data/swig-interfaces/FXXBMIcon.i +2 -2
- data/swig-interfaces/FXXBMImage.i +2 -2
- data/swig-interfaces/FXXPMIcon.i +2 -2
- data/swig-interfaces/FXXPMImage.i +2 -2
- data/swig-interfaces/fxdefs.i +1 -1
- data/swig-interfaces/ruby-typemaps.i +3 -3
- data/test/TC_FXComboBox.rb +9 -0
- data/test/TC_FXList.rb +9 -0
- data/test/TC_FXText.rb +9 -0
- metadata +268 -265
data/README.rdoc
CHANGED
@@ -42,7 +42,7 @@ The directory structure is:
|
|
42
42
|
Contains example programs demonstrating how to use FXRuby and
|
43
43
|
its many wonderful features.
|
44
44
|
|
45
|
-
* ext/
|
45
|
+
* ext/fox16_c
|
46
46
|
|
47
47
|
Contains the C++ source code for the shared library part of FXRuby.
|
48
48
|
These files are required to build FXRuby from the source code.
|
data/Rakefile
CHANGED
@@ -49,16 +49,16 @@ SWIG_MODULES = {
|
|
49
49
|
hoe = Hoe.spec "fxruby" do
|
50
50
|
# ... project specific data ...
|
51
51
|
self.blog_categories = %w{FXRuby}
|
52
|
-
self.clean_globs = [".config", "ext/
|
52
|
+
self.clean_globs = [".config", "ext/fox16_c/Makefile", "ext/fox16_c/*.o", "ext/fox16_c/*.bundle", "ext/fox16_c/mkmf.log", "ext/fox16_c/conftest.dSYM", "ext/fox16_c/include/swigrubyrun.h", "ext/fox16_c/*_wrap.cpp"]
|
53
53
|
developer("Lyle Johnson", "lyle@lylejohnson.name")
|
54
54
|
developer("Lars Kanis", "kanis@comcard.de")
|
55
55
|
self.extra_rdoc_files = ["rdoc-sources", File.join("rdoc-sources", "README.rdoc")]
|
56
56
|
self.remote_rdoc_dir = "doc/api"
|
57
57
|
self.spec_extras = {
|
58
58
|
:description => "FXRuby is the Ruby binding to the FOX GUI toolkit.",
|
59
|
-
:extensions => ["ext/
|
60
|
-
:rdoc_options => ['--main', File.join('rdoc-sources', 'README.rdoc'), '--exclude', 'ext/
|
61
|
-
:require_paths => ['
|
59
|
+
:extensions => ["ext/fox16_c/extconf.rb"],
|
60
|
+
:rdoc_options => ['--main', File.join('rdoc-sources', 'README.rdoc'), '--exclude', 'ext/fox16_c', '--exclude', %r{aliases|kwargs|missingdep|responder}.inspect],
|
61
|
+
:require_paths => ['lib'],
|
62
62
|
:summary => "FXRuby is the Ruby binding to the FOX GUI toolkit."
|
63
63
|
}
|
64
64
|
self.test_globs = ["test/**/TC_*.rb"]
|
@@ -67,9 +67,9 @@ hoe = Hoe.spec "fxruby" do
|
|
67
67
|
self.extra_rdoc_files << self.readme_file
|
68
68
|
|
69
69
|
spec_extras[:files] = File.read_utf("Manifest.txt").split(/\r?\n\r?/).reject{|f| f=~/^fox-includes|^web/ }
|
70
|
-
spec_extras[:files] += SWIG_MODULES.values.map{|f| File.join("ext/
|
71
|
-
spec_extras[:files] << 'ext/
|
72
|
-
spec_extras[:files] << 'ext/
|
70
|
+
spec_extras[:files] += SWIG_MODULES.values.map{|f| File.join("ext/fox16_c", f) }
|
71
|
+
spec_extras[:files] << 'ext/fox16_c/include/inlinestubs.h'
|
72
|
+
spec_extras[:files] << 'ext/fox16_c/librb.c'
|
73
73
|
spec_extras[:files] << 'doap.rdf'
|
74
74
|
spec_extras[:files] << 'lib/fox16/kwargs.rb'
|
75
75
|
end
|
@@ -82,14 +82,14 @@ task :test => [:compile]
|
|
82
82
|
# We need to go back and tell it to skip the stuff under ext.
|
83
83
|
# rdoc_target = Rake::Task['docs'].prerequisites.first
|
84
84
|
# rdoc_files = Rake::Task[rdoc_target].prerequisites
|
85
|
-
# rdoc_files.reject! {|x| x == "ext/
|
85
|
+
# rdoc_files.reject! {|x| x == "ext/fox16_c" }
|
86
86
|
|
87
87
|
# Make sure that all of the package contents exist before we try to build the package
|
88
88
|
#Rake::Task['package'].prerequisites.unshift("swig:swig", "fxruby:setversions", "fxruby:generate_kwargs_lib")
|
89
89
|
|
90
90
|
# ... project specific tasks ...
|
91
91
|
|
92
|
-
Rake::ExtensionTask.new("
|
92
|
+
Rake::ExtensionTask.new("fox16_c", hoe.spec) do |ext|
|
93
93
|
ext.cross_compile = true
|
94
94
|
ext.cross_platform = ['i386-mingw32']
|
95
95
|
ext.cross_config_options += [
|
@@ -129,8 +129,8 @@ namespace :swig do
|
|
129
129
|
sed wrapper_src_file_name
|
130
130
|
end
|
131
131
|
|
132
|
-
task :swig_librb => ["ext/
|
133
|
-
file "ext/
|
132
|
+
task :swig_librb => ["ext/fox16_c/librb.c"]
|
133
|
+
file "ext/fox16_c/librb.c" do |task|
|
134
134
|
puts "generate #{task.name}"
|
135
135
|
File.open(task.name, "w") do |io|
|
136
136
|
io.puts "#define SWIG_GLOBAL 1"
|
@@ -142,11 +142,11 @@ namespace :swig do
|
|
142
142
|
end
|
143
143
|
|
144
144
|
desc "Run SWIG to generate the wrapper files."
|
145
|
-
task :swig => [:swig_librb] + SWIG_MODULES.map{|ifile, cppfile| File.join("ext/
|
145
|
+
task :swig => [:swig_librb] + SWIG_MODULES.map{|ifile, cppfile| File.join("ext/fox16_c", cppfile) }
|
146
146
|
|
147
147
|
# add dependencies for compile *.i to *_wrap.cpp
|
148
148
|
SWIG_MODULES.each do |ifile, cppfile|
|
149
|
-
cppfile_path = File.join("ext/
|
149
|
+
cppfile_path = File.join("ext/fox16_c", cppfile)
|
150
150
|
|
151
151
|
file cppfile_path => [ifile, 'macros.i', 'common.i', 'fxdefs.i', 'ruby-typemaps.i',
|
152
152
|
'markfuncs.i', 'exceptions.i', 'freefuncs.i', 'macros.i', 'handlers.i'
|
@@ -189,21 +189,21 @@ namespace :fxruby do
|
|
189
189
|
end
|
190
190
|
|
191
191
|
def make_impl
|
192
|
-
ruby '-Cext/
|
192
|
+
ruby '-Cext/fox16_c', "make_impl.rb"
|
193
193
|
end
|
194
194
|
|
195
195
|
task :configure => [:scintilla, :setversions, :generate_kwargs_lib]
|
196
196
|
|
197
197
|
rb_header_files = Dir['ext/include/*.h']
|
198
|
-
file 'ext/
|
198
|
+
file 'ext/fox16_c/include/inlinestubs.h' => rb_header_files do
|
199
199
|
make_impl
|
200
200
|
end
|
201
|
-
file 'ext/
|
201
|
+
file 'ext/fox16_c/impl.cpp' => rb_header_files do
|
202
202
|
make_impl
|
203
203
|
end
|
204
204
|
|
205
|
-
file "ext/
|
206
|
-
SWIG_MODULES.map{|ifile, cppfile| File.join("ext/
|
205
|
+
file "ext/fox16_c/extconf.rb" => ['ext/fox16_c/librb.c', 'ext/fox16_c/impl.cpp', 'ext/fox16_c/include/inlinestubs.h'] +
|
206
|
+
SWIG_MODULES.map{|ifile, cppfile| File.join("ext/fox16_c", cppfile) }
|
207
207
|
|
208
208
|
task :scintilla => 'lib/fox16/scintilla.rb'
|
209
209
|
file 'lib/fox16/scintilla.rb' => [FXSCINTILLA_INSTALL_DIR, 'scripts/iface.rb'] do
|
data/Rakefile.cross
CHANGED
@@ -9,7 +9,7 @@ require 'uri'
|
|
9
9
|
require 'rbconfig'
|
10
10
|
require 'pathname'
|
11
11
|
|
12
|
-
ENV['RUBY_CC_VERSION'] ||= '1.8.7:1.9.
|
12
|
+
ENV['RUBY_CC_VERSION'] ||= '1.8.7:1.9.3'
|
13
13
|
|
14
14
|
# Cross-compilation constants
|
15
15
|
COMPILE_HOME = Pathname( "build" ).expand_path
|
@@ -42,7 +42,7 @@ LIBZ_MAKEFILE = STATIC_LIBZ_BUILDDIR + 'Makefile'
|
|
42
42
|
LIBZ_A = STATIC_INSTALLDIR + 'lib' + 'libz.a'
|
43
43
|
|
44
44
|
# Fetch libpng tarball
|
45
|
-
LIBPNG_VERSION = ENV['LIBPNG_VERSION'] || '1.5.
|
45
|
+
LIBPNG_VERSION = ENV['LIBPNG_VERSION'] || '1.5.13'
|
46
46
|
LIBPNG_SOURCE_URI = URI( "http://prdownloads.sourceforge.net/libpng/libpng-#{LIBPNG_VERSION}.tar.gz?download" )
|
47
47
|
LIBPNG_TARBALL = STATIC_SOURCESDIR + File.basename( LIBPNG_SOURCE_URI.path )
|
48
48
|
STATIC_LIBPNG_BUILDDIR = STATIC_BUILDDIR + LIBPNG_TARBALL.basename(".tar.gz")
|
@@ -60,7 +60,7 @@ LIBJPEG_A = STATIC_INSTALLDIR + 'lib' + 'libjpeg.a'
|
|
60
60
|
|
61
61
|
|
62
62
|
# Fetch libtiff tarball
|
63
|
-
LIBTIFF_VERSION = ENV['LIBTIFF_VERSION'] || '4.0.
|
63
|
+
LIBTIFF_VERSION = ENV['LIBTIFF_VERSION'] || '4.0.3'
|
64
64
|
LIBTIFF_SOURCE_URI = URI( "http://download.osgeo.org/libtiff/tiff-#{LIBTIFF_VERSION}.tar.gz" )
|
65
65
|
LIBTIFF_TARBALL = STATIC_SOURCESDIR + File.basename( LIBTIFF_SOURCE_URI.path )
|
66
66
|
STATIC_LIBTIFF_BUILDDIR = STATIC_BUILDDIR + LIBTIFF_TARBALL.basename(".tar.gz")
|
@@ -69,7 +69,7 @@ LIBTIFF_A = STATIC_INSTALLDIR + 'lib' + 'libtiff.a'
|
|
69
69
|
|
70
70
|
|
71
71
|
# Fetch libfox tarball
|
72
|
-
LIBFOX_VERSION = ENV['LIBFOX_VERSION'] || '1.6.
|
72
|
+
LIBFOX_VERSION = ENV['LIBFOX_VERSION'] || '1.6.47'
|
73
73
|
LIBFOX_SOURCE_URI = URI( "http://ftp.fox-toolkit.org/pub/fox-#{LIBFOX_VERSION}.tar.gz" )
|
74
74
|
LIBFOX_TARBALL = STATIC_SOURCESDIR + File.basename( LIBFOX_SOURCE_URI.path )
|
75
75
|
STATIC_LIBFOX_BUILDDIR = STATIC_BUILDDIR + LIBFOX_TARBALL.basename(".tar.gz")
|
File without changes
|
File without changes
|
File without changes
|
@@ -1484,10 +1484,10 @@ FXFoldingItem* FXRbCallFoldingItemMethod(const FXFoldingList* recv,ID func,FXint
|
|
1484
1484
|
|
1485
1485
|
//----------------------------------------------------------------------
|
1486
1486
|
|
1487
|
-
FXFileAssoc* FXRbCallFileAssocMethod(const FXFileDict* recv,ID func,const
|
1487
|
+
FXFileAssoc* FXRbCallFileAssocMethod(const FXFileDict* recv,ID func,const FXchar* pathname){
|
1488
1488
|
VALUE obj=FXRbGetRubyObj(recv,false);
|
1489
1489
|
FXASSERT(!NIL_P(obj));
|
1490
|
-
VALUE result=rb_funcall(obj,func,1,
|
1490
|
+
VALUE result=rb_funcall(obj,func,1,to_ruby(pathname));
|
1491
1491
|
return NIL_P(result) ? 0 : reinterpret_cast<FXFileAssoc*>(DATA_PTR(result));
|
1492
1492
|
}
|
1493
1493
|
|
@@ -1996,6 +1996,8 @@ void FXRbDestroyAppSensitiveObjects(){
|
|
1996
1996
|
FXTRACE((100,"%s:%d: Finished destroying objects that hold references to the FXApp.\n",__FILE__,__LINE__));
|
1997
1997
|
}
|
1998
1998
|
|
1999
|
+
int utf8_enc_idx;
|
2000
|
+
|
1999
2001
|
//----------------------------------------------------------------------
|
2000
2002
|
|
2001
2003
|
extern "C" void Init_core(void);
|
@@ -2023,7 +2025,7 @@ extern "C" void
|
|
2023
2025
|
#if defined _WIN32
|
2024
2026
|
__declspec(dllexport)
|
2025
2027
|
#endif
|
2026
|
-
|
2028
|
+
Init_fox16_c(void) {
|
2027
2029
|
Init_core();
|
2028
2030
|
Init_dc();
|
2029
2031
|
Init_frames();
|
@@ -2051,6 +2053,9 @@ Init_fox16(void) {
|
|
2051
2053
|
id_begin=rb_intern("begin");
|
2052
2054
|
id_end=rb_intern("end");
|
2053
2055
|
id_exclude_endp=rb_intern("exclude_end?");
|
2056
|
+
#ifdef HAVE_RUBY_ENCODING_H
|
2057
|
+
utf8_enc_idx = rb_enc_find_index("UTF-8");
|
2058
|
+
#endif
|
2054
2059
|
|
2055
2060
|
FXRuby_Objects=st_init_numtable();
|
2056
2061
|
appSensitiveObjs=st_init_numtable();
|
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
|
@@ -329,16 +329,16 @@ inline void klass ## _clipChildren(klass* self,FXbool yes){ \
|
|
329
329
|
FXRbCallVoidMethod(this,rb_intern("drawIconSunken"),icon,dx,dy); \
|
330
330
|
} \
|
331
331
|
void cls::drawText(FXint x,FXint y,const FXString& string){ \
|
332
|
-
rb_funcall(FXRbGetRubyObj(this,false),rb_intern("drawText"),3,to_ruby(x),to_ruby(y),
|
332
|
+
rb_funcall(FXRbGetRubyObj(this,false),rb_intern("drawText"),3,to_ruby(x),to_ruby(y),to_ruby(string)); \
|
333
333
|
} \
|
334
334
|
void cls::drawText(FXint x,FXint y,const FXchar* string,FXuint length){ \
|
335
|
-
rb_funcall(FXRbGetRubyObj(this,false),rb_intern("drawText"),3,to_ruby(x),to_ruby(y),
|
335
|
+
rb_funcall(FXRbGetRubyObj(this,false),rb_intern("drawText"),3,to_ruby(x),to_ruby(y),to_ruby(string,length)); \
|
336
336
|
} \
|
337
337
|
void cls::drawImageText(FXint x,FXint y,const FXString& string){ \
|
338
|
-
rb_funcall(FXRbGetRubyObj(this,false),rb_intern("drawImageText"),3,to_ruby(x),to_ruby(y),
|
338
|
+
rb_funcall(FXRbGetRubyObj(this,false),rb_intern("drawImageText"),3,to_ruby(x),to_ruby(y),to_ruby(string)); \
|
339
339
|
} \
|
340
340
|
void cls::drawImageText(FXint x,FXint y,const FXchar* string,FXuint length){ \
|
341
|
-
rb_funcall(FXRbGetRubyObj(this,false),rb_intern("drawImageText"),3,to_ruby(x),to_ruby(y),
|
341
|
+
rb_funcall(FXRbGetRubyObj(this,false),rb_intern("drawImageText"),3,to_ruby(x),to_ruby(y),to_ruby(string,length)); \
|
342
342
|
} \
|
343
343
|
void cls::setForeground(FXColor clr){ \
|
344
344
|
FXRbCallVoidMethod(this,rb_intern("setForeground"),clr); \
|
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
|