fxruby 1.6.48 → 1.6.49
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
- checksums.yaml.gz.sig +0 -0
- data/.github/workflows/binary.yml +12 -11
- data/.github/workflows/ci.yml +25 -7
- data/Gemfile +1 -1
- data/History.md +9 -0
- data/Rakefile +15 -13
- 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/extconf.rb +32 -17
- 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/rdoc-sources/FXDialogBox.rb +12 -0
- 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_FXButton.rb +2 -1
- data/test/TC_FXDialogBox.rb +2 -1
- data/test/TC_FXGLViewer.rb +2 -1
- 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
- data.tar.gz.sig +0 -0
- metadata +16 -16
- metadata.gz.sig +0 -0
data/lib/fox16/version.rb
CHANGED
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/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_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_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
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.49
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lyle Johnson
|
@@ -11,8 +11,8 @@ cert_chain:
|
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
13
|
MIIEBDCCAmygAwIBAgIBAzANBgkqhkiG9w0BAQsFADAoMSYwJAYDVQQDDB1sYXJz
|
14
|
-
|
15
|
-
|
14
|
+
L0RDPWdyZWl6LXJlaW5zZG9yZi9EQz1kZTAeFw0yNDEyMjkxOTU2NTZaFw0yNTEy
|
15
|
+
MjkxOTU2NTZaMCgxJjAkBgNVBAMMHWxhcnMvREM9Z3JlaXotcmVpbnNkb3JmL0RD
|
16
16
|
PWRlMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAwum6Y1KznfpzXOT/
|
17
17
|
mZgJTBbxZuuZF49Fq3K0WA67YBzNlDv95qzSp7V/7Ek3NCcnT7G+2kSuhNo1FhdN
|
18
18
|
eSDO/moYebZNAcu3iqLsuzuULXPLuoU0GsMnVMqV9DZPh7cQHE5EBZ7hlzDBK7k/
|
@@ -23,17 +23,17 @@ cert_chain:
|
|
23
23
|
chQPnWX+N3Gj+jjYxqTFdwT7Mj3pv1VHa+aNUbqSPpvJeDyxRIuo9hvzDaBHb/Cg
|
24
24
|
9qRVcm8a96n4t7y2lrX1oookY6bkBaxWOMtWlqIprq8JZXM9AgMBAAGjOTA3MAkG
|
25
25
|
A1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBQ4h1tIyvdUWtMI739xMzTR
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
26
|
+
7EfMFzANBgkqhkiG9w0BAQsFAAOCAYEAoZZWzNV2XXaoSmvyamSSN+Wt/Ia+DNrU
|
27
|
+
2pc3kMEqykH6l1WiVPszr6HavQ//2I2UcSRSS5AGDdiSXcfyFmHtMBdtJHhTPcn7
|
28
|
+
4DLliB0szpvwG+ltGD8PI8eWkLaTQeFzs+0QCTavgKV+Zw56Q0J5zZvHHUMrLkUD
|
29
|
+
qhwKjdTdkrRTn9Sqi0BrIRRZGTUDdrt8qoWm35aES5arKZzytgrRD/kXfFW2LCg0
|
30
|
+
FzgTKibR4/3g8ph94kQLg/D2SMlVPkQ3ECi036mZxDC2n8V6u3rDkG5923wmrRZB
|
31
|
+
J6cqz475Q8HYORQCB68OPzkWMfC7mBo3vpSsIqRoNs1FE4FJu4FGwZG8fBSrDC4H
|
32
|
+
bZe+GtyS3e2SMjgT65zp35gLO9I7MquzYN9P6V2u1iBpTycchk5z9R1ghxzZSBT8
|
33
|
+
DrkJ9tVlPQtJB0LqT0tvBap4upnwT1xYq721b5dwH6AF4Pi6iz/dc5vnq1/MH8bV
|
34
|
+
8VbbBzzeE7MsvgkP3sHlLmY8PtuyViJ8
|
35
35
|
-----END CERTIFICATE-----
|
36
|
-
date:
|
36
|
+
date: 2025-07-14 00:00:00.000000000 Z
|
37
37
|
dependencies:
|
38
38
|
- !ruby/object:Gem::Dependency
|
39
39
|
name: mini_portile2
|
@@ -1525,7 +1525,7 @@ files:
|
|
1525
1525
|
- test/testcase.rb
|
1526
1526
|
homepage: https://github.com/larskanis/fxruby
|
1527
1527
|
licenses:
|
1528
|
-
- LGPL-2.1
|
1528
|
+
- LGPL-2.1-or-later
|
1529
1529
|
metadata:
|
1530
1530
|
changelog_uri: https://github.com/larskanis/fxruby/blob/1.6/History.md
|
1531
1531
|
documentation_uri: https://rubydoc.info/gems/fxruby/frames
|
@@ -1541,7 +1541,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
1541
1541
|
requirements:
|
1542
1542
|
- - ">="
|
1543
1543
|
- !ruby/object:Gem::Version
|
1544
|
-
version: '2.
|
1544
|
+
version: '2.7'
|
1545
1545
|
- - "<"
|
1546
1546
|
- !ruby/object:Gem::Version
|
1547
1547
|
version: '4'
|
@@ -1551,7 +1551,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1551
1551
|
- !ruby/object:Gem::Version
|
1552
1552
|
version: '0'
|
1553
1553
|
requirements: []
|
1554
|
-
rubygems_version: 3.6.
|
1554
|
+
rubygems_version: 3.6.2
|
1555
1555
|
specification_version: 4
|
1556
1556
|
summary: FXRuby is the Ruby binding to the FOX GUI toolkit.
|
1557
1557
|
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|