fxruby 1.6.48-x64-mingw-ucrt → 1.6.50-x64-mingw-ucrt
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/binary.yml +16 -12
- data/.github/workflows/ci.yml +30 -14
- data/Gemfile +4 -4
- data/History.md +17 -0
- data/Rakefile +41 -14
- data/appveyor.yml +1 -1
- data/doap.rdf +2 -2
- data/docs/Fox/Canvas/CanvasError.html +2 -2
- data/docs/Fox/Canvas/CircleShape.html +2 -2
- data/docs/Fox/Canvas/ImageShape.html +2 -2
- data/docs/Fox/Canvas/LineShape.html +2 -2
- data/docs/Fox/Canvas/PolygonShape.html +2 -2
- data/docs/Fox/Canvas/RectangleShape.html +2 -2
- data/docs/Fox/Canvas/SelectionPolicy.html +2 -2
- data/docs/Fox/Canvas/Shape.html +2 -2
- data/docs/Fox/Canvas/ShapeCanvas.html +2 -2
- data/docs/Fox/Canvas/ShapeGroup.html +2 -2
- data/docs/Fox/Canvas/SingleSelectionPolicy.html +2 -2
- data/docs/Fox/Canvas/TextShape.html +2 -2
- data/docs/Fox/Canvas.html +2 -2
- data/docs/Fox/FTNonModal.html +2 -2
- data/docs/Fox/FX4Splitter.html +2 -2
- data/docs/Fox/FX7Segment.html +2 -2
- data/docs/Fox/FXAccelTable.html +2 -2
- data/docs/Fox/FXApp.html +2 -2
- data/docs/Fox/FXArc.html +2 -2
- data/docs/Fox/FXArrowButton.html +2 -2
- data/docs/Fox/FXBMPIcon.html +2 -2
- data/docs/Fox/FXBMPImage.html +2 -2
- data/docs/Fox/FXBitmap.html +2 -2
- data/docs/Fox/FXBitmapFrame.html +2 -2
- data/docs/Fox/FXBitmapView.html +2 -2
- data/docs/Fox/FXButton.html +2 -2
- data/docs/Fox/FXCURCursor.html +2 -2
- data/docs/Fox/FXCalendar.html +2 -2
- data/docs/Fox/FXCanvas.html +2 -2
- data/docs/Fox/FXCheckButton.html +2 -2
- data/docs/Fox/FXChoiceBox.html +2 -2
- data/docs/Fox/FXColor.html +2 -2
- data/docs/Fox/FXColorBar.html +2 -2
- data/docs/Fox/FXColorDialog.html +2 -2
- data/docs/Fox/FXColorItem.html +2 -2
- data/docs/Fox/FXColorList.html +2 -2
- data/docs/Fox/FXColorRing.html +2 -2
- data/docs/Fox/FXColorSelector.html +2 -2
- data/docs/Fox/FXColorWell.html +2 -2
- data/docs/Fox/FXColorWheel.html +2 -2
- data/docs/Fox/FXComboBox.html +2 -2
- data/docs/Fox/FXComboTableItem.html +2 -2
- data/docs/Fox/FXCommand.html +2 -2
- data/docs/Fox/FXComposite.html +2 -2
- data/docs/Fox/FXCursor.html +2 -2
- data/docs/Fox/FXDC.html +2 -2
- data/docs/Fox/FXDCPrint.html +2 -2
- data/docs/Fox/FXDCWindow.html +2 -2
- data/docs/Fox/FXDataTarget.html +2 -2
- data/docs/Fox/FXDebugTarget.html +2 -2
- data/docs/Fox/FXDelegator.html +2 -2
- data/docs/Fox/FXDial.html +2 -2
- data/docs/Fox/FXDialogBox.html +21 -7
- data/docs/Fox/FXDict.html +2 -2
- data/docs/Fox/FXDirBox.html +2 -2
- data/docs/Fox/FXDirDialog.html +2 -2
- data/docs/Fox/FXDirItem.html +2 -2
- data/docs/Fox/FXDirList.html +2 -2
- data/docs/Fox/FXDirSelector.html +2 -2
- data/docs/Fox/FXDockBar.html +2 -2
- data/docs/Fox/FXDockHandler.html +2 -2
- data/docs/Fox/FXDockSite.html +2 -2
- data/docs/Fox/FXDockTitle.html +2 -2
- data/docs/Fox/FXDocument.html +2 -2
- data/docs/Fox/FXDragCorner.html +2 -2
- data/docs/Fox/FXDrawable.html +2 -2
- data/docs/Fox/FXDriveBox.html +2 -2
- data/docs/Fox/FXEvent.html +2 -2
- data/docs/Fox/FXExtentd.html +2 -2
- data/docs/Fox/FXExtentf.html +2 -2
- data/docs/Fox/FXFileAssoc.html +2 -2
- data/docs/Fox/FXFileDialog.html +2 -2
- data/docs/Fox/FXFileDict.html +2 -2
- data/docs/Fox/FXFileItem.html +2 -2
- data/docs/Fox/FXFileList.html +2 -2
- data/docs/Fox/FXFileSelector.html +2 -2
- data/docs/Fox/FXFileStream.html +2 -2
- data/docs/Fox/FXFoldingItem.html +2 -2
- data/docs/Fox/FXFoldingList.html +2 -2
- data/docs/Fox/FXFont.html +2 -2
- data/docs/Fox/FXFontDesc.html +2 -2
- data/docs/Fox/FXFontDialog.html +2 -2
- data/docs/Fox/FXFontSelector.html +2 -2
- data/docs/Fox/FXFrame.html +2 -2
- data/docs/Fox/FXGIFCursor.html +2 -2
- data/docs/Fox/FXGIFIcon.html +2 -2
- data/docs/Fox/FXGIFImage.html +2 -2
- data/docs/Fox/FXGLCanvas.html +2 -2
- data/docs/Fox/FXGLCone.html +2 -2
- data/docs/Fox/FXGLContext.html +2 -2
- data/docs/Fox/FXGLCube.html +2 -2
- data/docs/Fox/FXGLCylinder.html +2 -2
- data/docs/Fox/FXGLGroup.html +2 -2
- data/docs/Fox/FXGLLine.html +2 -2
- data/docs/Fox/FXGLObject.html +2 -2
- data/docs/Fox/FXGLPoint.html +2 -2
- data/docs/Fox/FXGLShape.html +2 -2
- data/docs/Fox/FXGLSphere.html +2 -2
- data/docs/Fox/FXGLViewer.html +2 -2
- data/docs/Fox/FXGLVisual.html +2 -2
- data/docs/Fox/FXGradient.html +2 -2
- data/docs/Fox/FXGradientBar.html +2 -2
- data/docs/Fox/FXGroupBox.html +2 -2
- data/docs/Fox/FXHeader.html +2 -2
- data/docs/Fox/FXHeaderItem.html +2 -2
- data/docs/Fox/FXHiliteStyle.html +2 -2
- data/docs/Fox/FXHorizontalFrame.html +2 -2
- data/docs/Fox/FXHorizontalSeparator.html +2 -2
- data/docs/Fox/FXICOIcon.html +2 -2
- data/docs/Fox/FXICOImage.html +2 -2
- data/docs/Fox/FXIcon.html +2 -2
- data/docs/Fox/FXIconDict.html +2 -2
- data/docs/Fox/FXIconItem.html +2 -2
- data/docs/Fox/FXIconList.html +2 -2
- data/docs/Fox/FXIconSource.html +2 -2
- data/docs/Fox/FXId.html +2 -2
- data/docs/Fox/FXImage.html +2 -2
- data/docs/Fox/FXImageFrame.html +2 -2
- data/docs/Fox/FXImageView.html +2 -2
- data/docs/Fox/FXInputDialog.html +2 -2
- data/docs/Fox/FXIrb.html +2 -2
- data/docs/Fox/FXJPGIcon.html +2 -2
- data/docs/Fox/FXJPGImage.html +2 -2
- data/docs/Fox/FXKnob.html +2 -2
- data/docs/Fox/FXLabel.html +2 -2
- data/docs/Fox/FXLight.html +2 -2
- data/docs/Fox/FXList.html +2 -2
- data/docs/Fox/FXListBox.html +2 -2
- data/docs/Fox/FXListItem.html +2 -2
- data/docs/Fox/FXMDIChild.html +2 -2
- data/docs/Fox/FXMDIClient.html +2 -2
- data/docs/Fox/FXMDIDeleteButton.html +2 -2
- data/docs/Fox/FXMDIMaximizeButton.html +2 -2
- data/docs/Fox/FXMDIMenu.html +2 -2
- data/docs/Fox/FXMDIMinimizeButton.html +2 -2
- data/docs/Fox/FXMDIRestoreButton.html +2 -2
- data/docs/Fox/FXMDIWindowButton.html +2 -2
- data/docs/Fox/FXMainWindow.html +2 -2
- data/docs/Fox/FXMaterial.html +2 -2
- data/docs/Fox/FXMatrix.html +2 -2
- data/docs/Fox/FXMemoryBuffer.html +2 -2
- data/docs/Fox/FXMemoryStream.html +2 -2
- data/docs/Fox/FXMenuBar.html +2 -2
- data/docs/Fox/FXMenuButton.html +2 -2
- data/docs/Fox/FXMenuCaption.html +2 -2
- data/docs/Fox/FXMenuCascade.html +2 -2
- data/docs/Fox/FXMenuCheck.html +2 -2
- data/docs/Fox/FXMenuCommand.html +2 -2
- data/docs/Fox/FXMenuPane.html +2 -2
- data/docs/Fox/FXMenuRadio.html +2 -2
- data/docs/Fox/FXMenuSeparator.html +2 -2
- data/docs/Fox/FXMenuTitle.html +2 -2
- data/docs/Fox/FXMessageBox.html +2 -2
- data/docs/Fox/FXObject.html +2 -2
- data/docs/Fox/FXOption.html +2 -2
- data/docs/Fox/FXOptionMenu.html +2 -2
- data/docs/Fox/FXPCXIcon.html +2 -2
- data/docs/Fox/FXPCXImage.html +2 -2
- data/docs/Fox/FXPNGIcon.html +2 -2
- data/docs/Fox/FXPNGImage.html +2 -2
- data/docs/Fox/FXPPMIcon.html +2 -2
- data/docs/Fox/FXPPMImage.html +2 -2
- data/docs/Fox/FXPSBounds.html +2 -2
- data/docs/Fox/FXPacker.html +2 -2
- data/docs/Fox/FXPicker.html +2 -2
- data/docs/Fox/FXPopup.html +2 -2
- data/docs/Fox/FXPrintDialog.html +2 -2
- data/docs/Fox/FXPrinter.html +2 -2
- data/docs/Fox/FXProgressBar.html +2 -2
- data/docs/Fox/FXProgressDialog.html +2 -2
- data/docs/Fox/FXPseudoKeyboard.html +2 -2
- data/docs/Fox/FXPseudoMouse.html +2 -2
- data/docs/Fox/FXPseudoTarget.html +2 -2
- data/docs/Fox/FXQuatd.html +2 -2
- data/docs/Fox/FXQuatf.html +2 -2
- data/docs/Fox/FXRGBIcon.html +2 -2
- data/docs/Fox/FXRGBImage.html +2 -2
- data/docs/Fox/FXRadioButton.html +2 -2
- data/docs/Fox/FXRanged.html +2 -2
- data/docs/Fox/FXRangef.html +2 -2
- data/docs/Fox/FXRealSlider.html +2 -2
- data/docs/Fox/FXRealSpinner.html +2 -2
- data/docs/Fox/FXRecentFiles.html +2 -2
- data/docs/Fox/FXRectangle.html +2 -2
- data/docs/Fox/FXRegion.html +2 -2
- data/docs/Fox/FXRegistry.html +2 -2
- data/docs/Fox/FXReplaceDialog.html +2 -2
- data/docs/Fox/FXRootWindow.html +2 -2
- data/docs/Fox/FXRuler.html +2 -2
- data/docs/Fox/FXRulerView.html +2 -2
- data/docs/Fox/FXScintilla.html +2 -2
- data/docs/Fox/FXScrollArea.html +2 -2
- data/docs/Fox/FXScrollBar.html +2 -2
- data/docs/Fox/FXScrollCorner.html +2 -2
- data/docs/Fox/FXScrollPane.html +2 -2
- data/docs/Fox/FXScrollWindow.html +2 -2
- data/docs/Fox/FXSearchDialog.html +2 -2
- data/docs/Fox/FXSegment.html +2 -2
- data/docs/Fox/FXSeparator.html +2 -2
- data/docs/Fox/FXSettings.html +2 -2
- data/docs/Fox/FXShell.html +2 -2
- data/docs/Fox/FXShutter.html +2 -2
- data/docs/Fox/FXShutterItem.html +2 -2
- data/docs/Fox/FXSize.html +2 -2
- data/docs/Fox/FXSlider.html +2 -2
- data/docs/Fox/FXSphered.html +2 -2
- data/docs/Fox/FXSpheref.html +2 -2
- data/docs/Fox/FXSpinner.html +2 -2
- data/docs/Fox/FXSplashScreen.html +2 -2
- data/docs/Fox/FXSplashWindow.html +2 -2
- data/docs/Fox/FXSplitter.html +2 -2
- data/docs/Fox/FXSpring.html +2 -2
- data/docs/Fox/FXStatusBar.html +2 -2
- data/docs/Fox/FXStatusLine.html +2 -2
- data/docs/Fox/FXStream.html +2 -2
- data/docs/Fox/FXStreamAllocError.html +2 -2
- data/docs/Fox/FXStreamEndError.html +2 -2
- data/docs/Fox/FXStreamError.html +2 -2
- data/docs/Fox/FXStreamFailureError.html +2 -2
- data/docs/Fox/FXStreamFormatError.html +2 -2
- data/docs/Fox/FXStreamFullError.html +2 -2
- data/docs/Fox/FXStreamNoReadError.html +2 -2
- data/docs/Fox/FXStreamNoWriteError.html +2 -2
- data/docs/Fox/FXStreamUnknownError.html +2 -2
- data/docs/Fox/FXStringDict.html +2 -2
- data/docs/Fox/FXSwitcher.html +2 -2
- data/docs/Fox/FXTGAIcon.html +2 -2
- data/docs/Fox/FXTGAImage.html +2 -2
- data/docs/Fox/FXTIFIcon.html +2 -2
- data/docs/Fox/FXTIFImage.html +2 -2
- data/docs/Fox/FXTabBar.html +2 -2
- data/docs/Fox/FXTabBook.html +2 -2
- data/docs/Fox/FXTabItem.html +2 -2
- data/docs/Fox/FXTable.html +2 -2
- data/docs/Fox/FXTableItem.html +2 -2
- data/docs/Fox/FXTablePos.html +2 -2
- data/docs/Fox/FXTableRange.html +2 -2
- data/docs/Fox/FXText.html +2 -2
- data/docs/Fox/FXTextChange.html +2 -2
- data/docs/Fox/FXTextField.html +2 -2
- data/docs/Fox/FXToggleButton.html +2 -2
- data/docs/Fox/FXToolBar.html +2 -2
- data/docs/Fox/FXToolBarGrip.html +2 -2
- data/docs/Fox/FXToolBarShell.html +2 -2
- data/docs/Fox/FXToolBarTab.html +2 -2
- data/docs/Fox/FXToolTip.html +2 -2
- data/docs/Fox/FXTopWindow.html +6 -9
- data/docs/Fox/FXTranslator.html +2 -2
- data/docs/Fox/FXTreeItem.html +2 -2
- data/docs/Fox/FXTreeList.html +2 -2
- data/docs/Fox/FXTreeListBox.html +2 -2
- data/docs/Fox/FXTriStateButton.html +2 -2
- data/docs/Fox/FXUndoList.html +2 -2
- data/docs/Fox/FXVec2d.html +2 -2
- data/docs/Fox/FXVec2f.html +2 -2
- data/docs/Fox/FXVec3d.html +2 -2
- data/docs/Fox/FXVec3f.html +2 -2
- data/docs/Fox/FXVec4d.html +2 -2
- data/docs/Fox/FXVec4f.html +2 -2
- data/docs/Fox/FXVerticalFrame.html +2 -2
- data/docs/Fox/FXVerticalSeparator.html +2 -2
- data/docs/Fox/FXViewport.html +2 -2
- data/docs/Fox/FXVisual.html +2 -2
- data/docs/Fox/FXWindow.html +3 -3
- data/docs/Fox/FXWizard.html +2 -2
- data/docs/Fox/FXXBMIcon.html +2 -2
- data/docs/Fox/FXXBMImage.html +2 -2
- data/docs/Fox/FXXPMIcon.html +2 -2
- data/docs/Fox/FXXPMImage.html +2 -2
- data/docs/Fox/NotifyHeader.html +2 -2
- data/docs/Fox/SCNotification.html +2 -2
- data/docs/Fox/TextRange.html +2 -2
- data/docs/Fox.html +3 -3
- data/docs/IRB.html +2 -2
- data/docs/Responder.html +2 -2
- data/docs/Responder2.html +2 -2
- data/docs/_index.html +2 -2
- data/docs/class_list.html +6 -3
- data/docs/css/full_list.css +3 -3
- data/docs/css/style.css +6 -0
- data/docs/file.History.html +21 -3
- data/docs/file.README.html +2 -2
- data/docs/file_list.html +5 -2
- data/docs/frames.html +9 -4
- data/docs/index.html +3 -3
- data/docs/js/app.js +294 -264
- data/docs/js/full_list.js +30 -4
- data/docs/method_list.html +5 -2
- data/docs/top-level-namespace.html +2 -2
- data/ext/fox16_c/FXRuby.cpp +15 -1
- data/ext/fox16_c/extconf.rb +49 -18
- data/ext/fox16_c/scintilla_wrap.cpp +8 -1
- data/fxruby.gemspec +2 -2
- data/lib/fox16/scintilla.rb +750 -22
- data/lib/fox16/version.rb +1 -1
- data/lib/fox16.rb +1 -17
- data/{lib/3.1/fox16_c.so → ports/x64-mingw-ucrt/bin/3_1_fox16_c.so} +0 -0
- data/{lib/3.2/fox16_c.so → ports/x64-mingw-ucrt/bin/3_2_fox16_c.so} +0 -0
- data/{lib/3.3/fox16_c.so → ports/x64-mingw-ucrt/bin/3_3_fox16_c.so} +0 -0
- data/ports/x64-mingw-ucrt/bin/3_4_fox16_c.so +0 -0
- data/ports/x64-mingw-ucrt/bin/4_0_fox16_c.so +0 -0
- data/ports/x64-mingw-ucrt/bin/fxruby-assembly.manifest +6 -0
- data/ports/x64-mingw-ucrt/bin/libFOX-1.6-0.dll +0 -0
- data/ports/x64-mingw-ucrt/bin/libfxscintilla-25.dll +0 -0
- data/ports/x64-mingw-ucrt/bin/libgcc_s_seh-1.dll +0 -0
- data/ports/x64-mingw-ucrt/bin/libjpeg-62.dll +0 -0
- data/ports/x64-mingw-ucrt/bin/libpng16-16.dll +0 -0
- data/ports/x64-mingw-ucrt/bin/libstdc++-6.dll +0 -0
- data/ports/x64-mingw-ucrt/bin/libtiff-6.dll +0 -0
- data/ports/x64-mingw-ucrt/bin/zlib1.dll +0 -0
- data/rdoc-sources/FXDialogBox.rb +12 -0
- data/rdoc-sources/FXImage.rb +4 -1
- data/rdoc-sources/FXToolTip.rb +1 -1
- data/rdoc-sources/FXTopWindow.rb +1 -1
- data/rdoc-sources/FXWindow.rb +1 -1
- data/swig-interfaces/FXScintilla.i +8 -1
- data/test/TC_FXApp.rb +2 -1
- data/test/TC_FXBMPImage.rb +1 -1
- data/test/TC_FXButton.rb +2 -1
- data/test/TC_FXDialogBox.rb +2 -1
- data/test/TC_FXGLViewer.rb +2 -1
- data/test/TC_FXImage.rb +4 -4
- data/test/TC_FXMainWindow.rb +2 -1
- data/test/TC_FXMessageBox.rb +2 -1
- data/test/TC_FXScrollArea.rb +2 -1
- data/test/TC_FXShell.rb +2 -1
- data/test/TC_FXSize.rb +4 -2
- metadata +12 -13
- data/ports/x64-mingw-ucrt/bin/libfxscintilla-20.dll +0 -0
data/lib/fox16/version.rb
CHANGED
data/lib/fox16.rb
CHANGED
|
@@ -6,24 +6,8 @@ rescue LoadError
|
|
|
6
6
|
major_minor = RUBY_VERSION[ /^(\d+\.\d+)/ ] or
|
|
7
7
|
raise "Oops, can't extract the major/minor version from #{RUBY_VERSION.dump}"
|
|
8
8
|
|
|
9
|
-
add_dll_path = proc do |path, &block|
|
|
10
|
-
begin
|
|
11
|
-
require 'ruby_installer/runtime'
|
|
12
|
-
RubyInstaller::Runtime.add_dll_directory(path, &block)
|
|
13
|
-
rescue LoadError
|
|
14
|
-
old_path = ENV['PATH']
|
|
15
|
-
ENV['PATH'] = "#{path};#{old_path}"
|
|
16
|
-
block.call
|
|
17
|
-
ENV['PATH'] = old_path
|
|
18
|
-
end
|
|
19
|
-
end
|
|
20
|
-
|
|
21
9
|
ruby_plat = RUBY_PLATFORM.gsub("i386", "x86")
|
|
22
|
-
|
|
23
|
-
ports_bin = File.expand_path("../../ports/#{ruby_plat}/bin", __FILE__)
|
|
24
|
-
add_dll_path.call(ports_bin) do
|
|
25
|
-
require "#{major_minor}/fox16_c"
|
|
26
|
-
end
|
|
10
|
+
require_relative "../ports/#{ruby_plat}/bin/#{major_minor.gsub(".","_")}_fox16_c"
|
|
27
11
|
else
|
|
28
12
|
raise
|
|
29
13
|
end
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
2
|
+
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
|
3
|
+
<assemblyIdentity type="win32" name="fxruby-assembly" version="1.0.0.0"></assemblyIdentity>
|
|
4
|
+
|
|
5
|
+
<file name="libwinpthread-1.dll"/><file name="libgcc_s_seh-1.dll"/><file name="libstdc++-6.dll"/><file name="libfxscintilla-25.dll"/><file name="libFOX-1.6-0.dll"/><file name="libjpeg-62.dll"/><file name="libpng16-16.dll"/><file name="libtiff-6.dll"/><file name="zlib1.dll"/>
|
|
6
|
+
</assembly>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/rdoc-sources/FXDialogBox.rb
CHANGED
|
@@ -6,6 +6,18 @@ module Fox
|
|
|
6
6
|
# +ID_CANCEL+ or +ID_ACCEPT+, the dialog box breaks out of the modal
|
|
7
7
|
# loop and returns a completion code of either 0 or 1, respectively.
|
|
8
8
|
#
|
|
9
|
+
# A modal dialog can be closed directly from a button:
|
|
10
|
+
#
|
|
11
|
+
# FXButton.new(self, "&OK", nil, self, ID_ACCEPT)
|
|
12
|
+
#
|
|
13
|
+
# A modal dialog can also be closed from an event handler like so:
|
|
14
|
+
#
|
|
15
|
+
# FXButton.new(self, "&OK") do |bu|
|
|
16
|
+
# bu.connect(SEL_COMMAND) do
|
|
17
|
+
# handle(self, Fox.MKUINT(ID_ACCEPT, SEL_COMMAND), nil)
|
|
18
|
+
# end
|
|
19
|
+
# end
|
|
20
|
+
#
|
|
9
21
|
# To close a dialog box when it's not running modally, simply call
|
|
10
22
|
# {#hide} (or send it the +ID_HIDE+ command message).
|
|
11
23
|
#
|
data/rdoc-sources/FXImage.rb
CHANGED
|
@@ -80,7 +80,10 @@ module Fox
|
|
|
80
80
|
#
|
|
81
81
|
# Populate the image with new pixel data of the same size or of a new size
|
|
82
82
|
#
|
|
83
|
-
# Pixel data is copied
|
|
83
|
+
# Pixel data is copied when IMAGE_OWNED option is set or when provided as Array.
|
|
84
|
+
# Pixel data is used without copying when IMAGE_OWNED isn't set and provided as String.
|
|
85
|
+
# In that case the string must be writable and receives modifications to the image.
|
|
86
|
+
#
|
|
84
87
|
# If called with +width+ and +height+, the size of the serverside representation
|
|
85
88
|
# of the image, if it exists, is adjusted but the contents are not updated yet.
|
|
86
89
|
# This can be done by calling render().
|
data/rdoc-sources/FXToolTip.rb
CHANGED
|
@@ -4,7 +4,7 @@ module Fox
|
|
|
4
4
|
# = Tooltip styles
|
|
5
5
|
# TOOLTIP_PERMANENT:: Tooltip stays up indefinitely
|
|
6
6
|
# TOOLTIP_VARIABLE:: Tooltip stays up variable time, depending on the length of the string
|
|
7
|
-
# TOOLTIP_NORMAL::
|
|
7
|
+
# TOOLTIP_NORMAL:: Normal tooltip
|
|
8
8
|
#
|
|
9
9
|
# = Message identifiers
|
|
10
10
|
#
|
data/rdoc-sources/FXTopWindow.rb
CHANGED
|
@@ -43,7 +43,7 @@ module Fox
|
|
|
43
43
|
# +SEL_CLOSE+::
|
|
44
44
|
# sent when the user clicks the close button in the upper right-hand
|
|
45
45
|
# corner of the top-level window.
|
|
46
|
-
# +SEL_SESSION_NOTIFY
|
|
46
|
+
# +SEL_SESSION_NOTIFY+::
|
|
47
47
|
# sent when the session is closed.:
|
|
48
48
|
# +SEL_SESSION_CLOSED+::
|
|
49
49
|
# sent after the session is closed.
|
data/rdoc-sources/FXWindow.rb
CHANGED
|
@@ -78,7 +78,7 @@ module Fox
|
|
|
78
78
|
# +LAYOUT_MIN_HEIGHT+:: Minimum height is the default
|
|
79
79
|
# +LAYOUT_FILL_X+:: Stretch or shrink horizontally
|
|
80
80
|
# +LAYOUT_FILL_Y+:: Stretch or shrink vertically
|
|
81
|
-
# +LAYOUT_FILL
|
|
81
|
+
# +LAYOUT_FILL+:: Stretch or shrink in both directions
|
|
82
82
|
# +LAYOUT_EXPLICIT+:: Explicit placement
|
|
83
83
|
# +LAYOUT_DOCK_SAME+:: Dock on same galley, if it fits
|
|
84
84
|
# +LAYOUT_DOCK_NEXT+:: Dock on next galley
|
|
@@ -96,7 +96,14 @@ struct TextRange {
|
|
|
96
96
|
class FXScintilla : public FXScrollArea {
|
|
97
97
|
public:
|
|
98
98
|
enum{
|
|
99
|
-
|
|
99
|
+
ID_TICK_CARET,
|
|
100
|
+
ID_TICK_SCROLL,
|
|
101
|
+
ID_TICK_WIDEN,
|
|
102
|
+
ID_TICK_DWELL,
|
|
103
|
+
ID_TICK_PLATFORM,
|
|
104
|
+
ID_IDLE,
|
|
105
|
+
ID_STYLE_IDLE,
|
|
106
|
+
ID_LAST
|
|
100
107
|
};
|
|
101
108
|
public:
|
|
102
109
|
long onScintillaCommand(FXObject*, FXSelector, void* PTR_IGNORE);
|
data/test/TC_FXApp.rb
CHANGED
|
@@ -21,7 +21,8 @@ class TC_FXApp2 < Fox::TestCase
|
|
|
21
21
|
end
|
|
22
22
|
|
|
23
23
|
def test_nil_window_raises_argument_error
|
|
24
|
-
assert_raise
|
|
24
|
+
err = assert_raise{ app.runPopup(nil) }
|
|
25
|
+
assert_match(/NULL pointer/, err.to_s)
|
|
25
26
|
end
|
|
26
27
|
|
|
27
28
|
def check_events(pipe_rd, pipe_wr)
|
data/test/TC_FXBMPImage.rb
CHANGED
|
@@ -15,7 +15,7 @@ class TC_FXBMPImage < Fox::TestCase
|
|
|
15
15
|
|
|
16
16
|
def test_image_from_pixel_data
|
|
17
17
|
img = FXBMPImage.new app
|
|
18
|
-
img.setPixels "rgbaRGBA", 0, 1, 2
|
|
18
|
+
img.setPixels +"rgbaRGBA", 0, 1, 2
|
|
19
19
|
bmp_data = FXMemoryStream.open(FXStreamSave, nil) do |outfile|
|
|
20
20
|
img.savePixels(outfile)
|
|
21
21
|
outfile.takeBuffer
|
data/test/TC_FXButton.rb
CHANGED
|
@@ -11,7 +11,8 @@ class TC_FXButton < Fox::TestCase
|
|
|
11
11
|
end
|
|
12
12
|
|
|
13
13
|
def test_nil_parent_raises_argument_error
|
|
14
|
-
assert_raise
|
|
14
|
+
err = assert_raise{ FXButton.new(nil, "buttonText") }
|
|
15
|
+
assert_match(/NULL pointer/, err.to_s)
|
|
15
16
|
end
|
|
16
17
|
|
|
17
18
|
def testText
|
data/test/TC_FXDialogBox.rb
CHANGED
data/test/TC_FXGLViewer.rb
CHANGED
|
@@ -23,7 +23,8 @@ class TC_FXGLViewer < Fox::TestCase
|
|
|
23
23
|
end
|
|
24
24
|
|
|
25
25
|
def test_nil_app_raises_argument_error
|
|
26
|
-
assert_raise
|
|
26
|
+
err = assert_raise{ FXGLVisual.supported?(nil) }
|
|
27
|
+
assert_match(/NULL pointer/, err.to_s)
|
|
27
28
|
end
|
|
28
29
|
|
|
29
30
|
=begin
|
data/test/TC_FXImage.rb
CHANGED
|
@@ -76,14 +76,14 @@ class TC_FXImage < Fox::TestCase
|
|
|
76
76
|
|
|
77
77
|
def test_setPixels_string
|
|
78
78
|
img = FXImage.new(app, nil, 0, 2, 1)
|
|
79
|
-
img.pixels = "rgbaRGBA"
|
|
79
|
+
img.pixels = +"rgbaRGBA"
|
|
80
80
|
assert_equal(0, img.options)
|
|
81
81
|
assert_equal("rgbaRGBA", img.pixel_string)
|
|
82
82
|
end
|
|
83
83
|
|
|
84
84
|
def test_dataPtr
|
|
85
85
|
img = FXImage.new(app, nil, 0, 2, 1)
|
|
86
|
-
img.pixels = "rgbaRGBA"
|
|
86
|
+
img.pixels = +"rgbaRGBA"
|
|
87
87
|
assert_equal(0, img.options)
|
|
88
88
|
assert_equal("rgbaRGBA", Fiddle::Pointer.new(img.dataPtr)[0, 8])
|
|
89
89
|
end
|
|
@@ -121,7 +121,7 @@ class TC_FXImage < Fox::TestCase
|
|
|
121
121
|
end
|
|
122
122
|
|
|
123
123
|
def image_with_non_owned_data
|
|
124
|
-
FXImage.new(app, "rgbaRGBA", 0, 1, 2)
|
|
124
|
+
FXImage.new(app, +"rgbaRGBA", 0, 1, 2)
|
|
125
125
|
end
|
|
126
126
|
|
|
127
127
|
def test_create_with_non_owned_data
|
|
@@ -135,7 +135,7 @@ class TC_FXImage < Fox::TestCase
|
|
|
135
135
|
end
|
|
136
136
|
|
|
137
137
|
def set_non_owned_data(img)
|
|
138
|
-
img.setPixels("rgbaRGBA", 0, 2, 1)
|
|
138
|
+
img.setPixels(+"rgbaRGBA", 0, 2, 1)
|
|
139
139
|
end
|
|
140
140
|
|
|
141
141
|
def test_set_pixel_with_non_owned_data
|
data/test/TC_FXMainWindow.rb
CHANGED
|
@@ -5,9 +5,10 @@ class TC_FXMainWindow < Test::Unit::TestCase
|
|
|
5
5
|
include Fox
|
|
6
6
|
|
|
7
7
|
def test_nil_app_raises_argument_error
|
|
8
|
-
assert_raise
|
|
8
|
+
err = assert_raise do
|
|
9
9
|
FXMainWindow.new(nil, "title")
|
|
10
10
|
end
|
|
11
|
+
assert_match(/NULL pointer/, err.to_s)
|
|
11
12
|
end
|
|
12
13
|
|
|
13
14
|
def test_non_created_app_raises_runtime_error
|
data/test/TC_FXMessageBox.rb
CHANGED
|
@@ -10,7 +10,8 @@ class TC_FXMessageBox < Fox::TestCase
|
|
|
10
10
|
end
|
|
11
11
|
|
|
12
12
|
def test_nil_app_raises_argument_error
|
|
13
|
-
assert_raise
|
|
13
|
+
err = assert_raise{ FXMessageBox.new(nil, "Save?", "Save?", :opts => MBOX_SAVE_CANCEL_DONTSAVE) }
|
|
14
|
+
assert_match(/NULL pointer/, err.to_s)
|
|
14
15
|
end
|
|
15
16
|
|
|
16
17
|
def test_construct_with_save_cancel_dontsave
|
data/test/TC_FXScrollArea.rb
CHANGED
|
@@ -11,7 +11,8 @@ class TC_FXScrollArea < Fox::TestCase
|
|
|
11
11
|
end
|
|
12
12
|
|
|
13
13
|
def test_nil_parent_raises_argument_error
|
|
14
|
-
assert_raise
|
|
14
|
+
err = assert_raise{ FXScrollArea.new(nil) }
|
|
15
|
+
assert_match(/NULL pointer/, err.to_s)
|
|
15
16
|
end
|
|
16
17
|
|
|
17
18
|
def test_position_get
|
data/test/TC_FXShell.rb
CHANGED
|
@@ -16,7 +16,8 @@ class TC_FXShell < Test::Unit::TestCase
|
|
|
16
16
|
end
|
|
17
17
|
|
|
18
18
|
def test_nil_parent_raises_argument_error
|
|
19
|
-
assert_raise
|
|
19
|
+
err = assert_raise{ FXShell.new(nil, 0, 0, 0, 0, 0) }
|
|
20
|
+
assert_match(/NULL pointer/, err.to_s)
|
|
20
21
|
end
|
|
21
22
|
|
|
22
23
|
def test_new
|
data/test/TC_FXSize.rb
CHANGED
|
@@ -31,9 +31,11 @@ class TC_FXSize < Test::Unit::TestCase
|
|
|
31
31
|
|
|
32
32
|
def test_uminus
|
|
33
33
|
size1 = -(@size1)
|
|
34
|
-
|
|
34
|
+
assert_equal(size1.w, -(@size1.w))
|
|
35
|
+
assert_equal(size1.h, -(@size1.h))
|
|
35
36
|
size2 = -(@size2)
|
|
36
|
-
|
|
37
|
+
assert_equal(size2.w, -(@size2.w))
|
|
38
|
+
assert_equal(size2.h, -(@size2.h))
|
|
37
39
|
end
|
|
38
40
|
|
|
39
41
|
def test_float
|
metadata
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fxruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.6.
|
|
4
|
+
version: 1.6.50
|
|
5
5
|
platform: x64-mingw-ucrt
|
|
6
6
|
authors:
|
|
7
7
|
- Lyle Johnson
|
|
8
8
|
- Lars Kanis
|
|
9
|
-
autorequire:
|
|
10
9
|
bindir: exe
|
|
11
10
|
cert_chain: []
|
|
12
|
-
date:
|
|
11
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
13
12
|
dependencies:
|
|
14
13
|
- !ruby/object:Gem::Dependency
|
|
15
14
|
name: mini_portile2
|
|
@@ -25,7 +24,6 @@ dependencies:
|
|
|
25
24
|
- - "~>"
|
|
26
25
|
- !ruby/object:Gem::Version
|
|
27
26
|
version: '2.1'
|
|
28
|
-
description:
|
|
29
27
|
email:
|
|
30
28
|
- lyle@lylejohnson.name
|
|
31
29
|
- lars@greiz-reinsdorf.de
|
|
@@ -949,9 +947,6 @@ files:
|
|
|
949
947
|
- ext/fox16_c/unregisterOwnedObjects.cpp
|
|
950
948
|
- fxruby.gemspec
|
|
951
949
|
- index.html
|
|
952
|
-
- lib/3.1/fox16_c.so
|
|
953
|
-
- lib/3.2/fox16_c.so
|
|
954
|
-
- lib/3.3/fox16_c.so
|
|
955
950
|
- lib/fox16.rb
|
|
956
951
|
- lib/fox16/accel_table.rb
|
|
957
952
|
- lib/fox16/aliases.rb
|
|
@@ -985,8 +980,14 @@ files:
|
|
|
985
980
|
- lib/fox16/tkcompat.rb
|
|
986
981
|
- lib/fox16/undolist.rb
|
|
987
982
|
- lib/fox16/version.rb
|
|
983
|
+
- ports/x64-mingw-ucrt/bin/3_1_fox16_c.so
|
|
984
|
+
- ports/x64-mingw-ucrt/bin/3_2_fox16_c.so
|
|
985
|
+
- ports/x64-mingw-ucrt/bin/3_3_fox16_c.so
|
|
986
|
+
- ports/x64-mingw-ucrt/bin/3_4_fox16_c.so
|
|
987
|
+
- ports/x64-mingw-ucrt/bin/4_0_fox16_c.so
|
|
988
|
+
- ports/x64-mingw-ucrt/bin/fxruby-assembly.manifest
|
|
988
989
|
- ports/x64-mingw-ucrt/bin/libFOX-1.6-0.dll
|
|
989
|
-
- ports/x64-mingw-ucrt/bin/libfxscintilla-
|
|
990
|
+
- ports/x64-mingw-ucrt/bin/libfxscintilla-25.dll
|
|
990
991
|
- ports/x64-mingw-ucrt/bin/libgcc_s_seh-1.dll
|
|
991
992
|
- ports/x64-mingw-ucrt/bin/libjpeg-62.dll
|
|
992
993
|
- ports/x64-mingw-ucrt/bin/libpng16-16.dll
|
|
@@ -1513,11 +1514,10 @@ files:
|
|
|
1513
1514
|
- test/testcase.rb
|
|
1514
1515
|
homepage: https://github.com/larskanis/fxruby
|
|
1515
1516
|
licenses:
|
|
1516
|
-
- LGPL-2.1
|
|
1517
|
+
- LGPL-2.1-or-later
|
|
1517
1518
|
metadata:
|
|
1518
1519
|
changelog_uri: https://github.com/larskanis/fxruby/blob/1.6/History.md
|
|
1519
1520
|
documentation_uri: https://rubydoc.info/gems/fxruby/frames
|
|
1520
|
-
post_install_message:
|
|
1521
1521
|
rdoc_options:
|
|
1522
1522
|
- "--main"
|
|
1523
1523
|
- README.md
|
|
@@ -1532,15 +1532,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
1532
1532
|
version: '3.1'
|
|
1533
1533
|
- - "<"
|
|
1534
1534
|
- !ruby/object:Gem::Version
|
|
1535
|
-
version:
|
|
1535
|
+
version: 4.1.dev
|
|
1536
1536
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1537
1537
|
requirements:
|
|
1538
1538
|
- - ">="
|
|
1539
1539
|
- !ruby/object:Gem::Version
|
|
1540
1540
|
version: '0'
|
|
1541
1541
|
requirements: []
|
|
1542
|
-
rubygems_version:
|
|
1543
|
-
signing_key:
|
|
1542
|
+
rubygems_version: 4.0.3
|
|
1544
1543
|
specification_version: 4
|
|
1545
1544
|
summary: FXRuby is the Ruby binding to the FOX GUI toolkit.
|
|
1546
1545
|
test_files: []
|
|
Binary file
|