fxruby 1.6.20-x86-mingw32 → 1.6.22.pre2-x86-mingw32
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.
- data/.gemtest +0 -0
- data/README.txt +2 -1
- data/Rakefile +43 -35
- data/TODO +4 -4
- data/doap.rdf +2 -2
- data/ext/fox16/FXRbDataTarget.cpp +2 -2
- data/ext/fox16/FXRuby.cpp +31 -96
- data/ext/fox16/core_wrap.cpp +5 -1
- data/ext/fox16/dialogs_wrap.cpp +4 -4
- data/ext/fox16/extconf.rb +15 -7
- data/ext/fox16/frames_wrap.cpp +1 -1
- data/ext/fox16/fx3d_wrap.cpp +1 -1
- data/ext/fox16/iconlist_wrap.cpp +2 -2
- data/ext/fox16/include/FXRbApp.h +2 -2
- data/ext/fox16/include/FXRbCommon.h +2 -0
- data/ext/fox16/list_wrap.cpp +3 -3
- data/ext/fox16/markfuncs.cpp +1 -0
- data/ext/fox16/treelist_wrap.cpp +2 -2
- data/ext/fox16/ui_wrap.cpp +3 -3
- data/lib/1.8/fox16.so +0 -0
- data/lib/1.9/fox16.so +0 -0
- data/lib/fox16/accel_table.rb +16 -3
- data/lib/fox16/bitmapview.rb +7 -8
- data/lib/fox16/core.rb +5 -5
- data/lib/fox16/kwargs.rb +877 -879
- data/lib/fox16/scintilla.rb +1321 -45
- data/lib/fox16/version.rb +1 -1
- data/scripts/generate_kwargs_lib.rb +2 -4
- data/swig-interfaces/FXMemoryStream.i +9 -5
- data/swig-interfaces/ruby-typemaps.i +4 -4
- data/test/TC_FXAccelTable.rb +2 -2
- data/test/TC_FXApp.rb +48 -2
- data/test/TC_FXArc.rb +2 -2
- data/test/TC_FXBMPIcon.rb +2 -2
- data/test/TC_FXBMPImage.rb +2 -2
- data/test/TC_FXButton.rb +2 -2
- data/test/TC_FXCheckButton.rb +2 -2
- data/test/TC_FXComboBox.rb +2 -2
- data/test/TC_FXDC.rb +2 -2
- data/test/TC_FXDCPrint.rb +6 -5
- data/test/TC_FXDCWindow.rb +5 -3
- data/test/TC_FXDataTarget.rb +2 -2
- data/test/TC_FXDialogBox.rb +2 -2
- data/test/TC_FXDirList.rb +2 -2
- data/test/TC_FXExtentd.rb +2 -2
- data/test/TC_FXExtentf.rb +2 -2
- data/test/TC_FXFileAssoc.rb +2 -2
- data/test/TC_FXFileStream.rb +2 -2
- data/test/TC_FXFoldingList.rb +2 -2
- data/test/TC_FXFont.rb +2 -2
- data/test/TC_FXFontDesc.rb +2 -2
- data/test/TC_FXGLGroup.rb +2 -2
- data/test/TC_FXGLShape.rb +2 -2
- data/test/TC_FXGLViewer.rb +2 -2
- data/test/TC_FXGradientBar.rb +2 -2
- data/test/TC_FXHeader.rb +2 -2
- data/test/TC_FXHiliteStyle.rb +2 -2
- data/test/TC_FXIconDict.rb +2 -2
- data/test/TC_FXIconList.rb +2 -2
- data/test/TC_FXId.rb +2 -2
- data/test/TC_FXImage.rb +2 -2
- data/test/TC_FXLight.rb +2 -2
- data/test/TC_FXList.rb +2 -2
- data/test/TC_FXListBox.rb +2 -2
- data/test/TC_FXMainWindow.rb +2 -2
- data/test/TC_FXMat4f.rb +2 -2
- data/test/TC_FXMaterial.rb +2 -16
- data/test/TC_FXMemoryStream.rb +6 -6
- data/test/TC_FXMenuCheck.rb +2 -2
- data/test/TC_FXMenuCommand.rb +2 -2
- data/test/TC_FXMenuRadio.rb +7 -7
- data/test/TC_FXMessageBox.rb +2 -2
- data/test/TC_FXPoint.rb +2 -2
- data/test/TC_FXQuatf.rb +2 -2
- data/test/TC_FXRadioButton.rb +2 -2
- data/test/TC_FXRanged.rb +2 -2
- data/test/TC_FXRangef.rb +2 -2
- data/test/TC_FXRectangle.rb +2 -2
- data/test/TC_FXRegion.rb +2 -2
- data/test/TC_FXRegistry.rb +2 -2
- data/test/TC_FXScrollArea.rb +2 -2
- data/test/TC_FXScrollWindow.rb +2 -2
- data/test/TC_FXSegment.rb +2 -2
- data/test/TC_FXSettings.rb +2 -2
- data/test/TC_FXShell.rb +2 -2
- data/test/TC_FXSize.rb +2 -2
- data/test/TC_FXStream.rb +2 -2
- data/test/TC_FXTable.rb +47 -47
- data/test/TC_FXTableItem.rb +4 -4
- data/test/TC_FXText.rb +4 -4
- data/test/TC_FXTopWindow.rb +2 -2
- data/test/TC_FXTreeList.rb +2 -2
- data/test/TC_FXTreeListBox.rb +2 -2
- data/test/TC_FXUndoList.rb +3 -3
- data/test/TC_FXVec2d.rb +2 -2
- data/test/TC_FXVec2f.rb +2 -2
- data/test/TC_FXVec3d.rb +2 -2
- data/test/TC_FXVec3f.rb +2 -2
- data/test/TC_FXVec4f.rb +2 -2
- data/test/TC_FXViewport.rb +2 -2
- data/test/TC_FXXBMIcon.rb +2 -2
- data/test/TC_FXXBMImage.rb +2 -2
- data/test/TC_FXXPMIcon.rb +2 -2
- data/test/TC_FXXPMImage.rb +2 -2
- data/test/TC_downcast.rb +2 -2
- metadata +110 -75
data/test/TC_FXTableItem.rb
CHANGED
@@ -2,12 +2,10 @@ require 'test/unit'
|
|
2
2
|
require 'testcase'
|
3
3
|
require 'fox16'
|
4
4
|
|
5
|
-
include Fox
|
6
|
-
|
7
5
|
class OverrideError < Exception
|
8
6
|
end
|
9
7
|
|
10
|
-
class CustomTableItem < FXTableItem
|
8
|
+
class CustomTableItem < Fox::FXTableItem
|
11
9
|
def getText
|
12
10
|
raise OverrideError
|
13
11
|
end
|
@@ -16,7 +14,9 @@ class CustomTableItem < FXTableItem
|
|
16
14
|
end
|
17
15
|
end
|
18
16
|
|
19
|
-
class TC_FXTableItem < TestCase
|
17
|
+
class TC_FXTableItem < Fox::TestCase
|
18
|
+
include Fox
|
19
|
+
|
20
20
|
def setup
|
21
21
|
super(self.class.name)
|
22
22
|
@table = FXTable.new(mainWindow)
|
data/test/TC_FXText.rb
CHANGED
@@ -3,11 +3,11 @@ require 'fox16'
|
|
3
3
|
require 'fox16/colors'
|
4
4
|
require 'testcase'
|
5
5
|
|
6
|
-
include Fox
|
7
|
-
|
8
6
|
SAMPLE = "The quick brown fox jumped over the lazy dog"
|
9
7
|
|
10
|
-
class TC_FXText < TestCase
|
8
|
+
class TC_FXText < Fox::TestCase
|
9
|
+
include Fox
|
10
|
+
|
11
11
|
|
12
12
|
private
|
13
13
|
|
@@ -71,7 +71,7 @@ public
|
|
71
71
|
def test_getText
|
72
72
|
assert_equal(SAMPLE, @text.text)
|
73
73
|
end
|
74
|
-
|
74
|
+
|
75
75
|
def test_find_text
|
76
76
|
@text.text = "99 bottles of beer"
|
77
77
|
startIndex, endIndex = @text.findText("bottles")
|
data/test/TC_FXTopWindow.rb
CHANGED
data/test/TC_FXTreeList.rb
CHANGED
data/test/TC_FXTreeListBox.rb
CHANGED
data/test/TC_FXUndoList.rb
CHANGED
@@ -2,9 +2,7 @@ require 'test/unit'
|
|
2
2
|
require 'fox16'
|
3
3
|
require 'fox16/undolist'
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
class DummyCommand < FXCommand
|
5
|
+
class DummyCommand < Fox::FXCommand
|
8
6
|
def undo ; end
|
9
7
|
def redo ; end
|
10
8
|
def undoName
|
@@ -16,6 +14,8 @@ class DummyCommand < FXCommand
|
|
16
14
|
end
|
17
15
|
|
18
16
|
class TC_FXUndoList < Test::Unit::TestCase
|
17
|
+
include Fox
|
18
|
+
|
19
19
|
def test_cut_with_nil_marker
|
20
20
|
undoList = FXUndoList.new
|
21
21
|
assert_nothing_raised {
|
data/test/TC_FXVec2d.rb
CHANGED
data/test/TC_FXVec2f.rb
CHANGED
data/test/TC_FXVec3d.rb
CHANGED
data/test/TC_FXVec3f.rb
CHANGED
data/test/TC_FXVec4f.rb
CHANGED
data/test/TC_FXViewport.rb
CHANGED
data/test/TC_FXXBMIcon.rb
CHANGED
data/test/TC_FXXBMImage.rb
CHANGED
data/test/TC_FXXPMIcon.rb
CHANGED
data/test/TC_FXXPMImage.rb
CHANGED
data/test/TC_downcast.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fxruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 1923831901
|
5
|
+
prerelease: 7
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 6
|
9
|
+
- 22
|
10
|
+
- pre
|
11
|
+
- 2
|
12
|
+
version: 1.6.22.pre2
|
5
13
|
platform: x86-mingw32
|
6
14
|
authors:
|
7
15
|
- Lyle Johnson
|
@@ -9,19 +17,38 @@ autorequire:
|
|
9
17
|
bindir: bin
|
10
18
|
cert_chain: []
|
11
19
|
|
12
|
-
date:
|
13
|
-
default_executable:
|
20
|
+
date: 2012-01-31 00:00:00 Z
|
14
21
|
dependencies:
|
15
22
|
- !ruby/object:Gem::Dependency
|
16
23
|
name: hoe
|
24
|
+
prerelease: false
|
25
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
27
|
+
requirements:
|
28
|
+
- - ~>
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
hash: 27
|
31
|
+
segments:
|
32
|
+
- 2
|
33
|
+
- 12
|
34
|
+
version: "2.12"
|
17
35
|
type: :development
|
18
|
-
|
19
|
-
|
36
|
+
version_requirements: *id001
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: rdoc
|
39
|
+
prerelease: false
|
40
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
20
42
|
requirements:
|
21
|
-
- -
|
43
|
+
- - ~>
|
22
44
|
- !ruby/object:Gem::Version
|
23
|
-
|
24
|
-
|
45
|
+
hash: 19
|
46
|
+
segments:
|
47
|
+
- 3
|
48
|
+
- 10
|
49
|
+
version: "3.10"
|
50
|
+
type: :development
|
51
|
+
version_requirements: *id002
|
25
52
|
description: FXRuby is the Ruby binding to the FOX GUI toolkit.
|
26
53
|
email:
|
27
54
|
- lyle@lylejohnson.name
|
@@ -957,9 +984,9 @@ files:
|
|
957
984
|
- test/stress2.rb
|
958
985
|
- test/stress3.rb
|
959
986
|
- test/testcase.rb
|
987
|
+
- .gemtest
|
960
988
|
- lib/1.8/fox16.so
|
961
989
|
- lib/1.9/fox16.so
|
962
|
-
has_rdoc: true
|
963
990
|
homepage: http://www.fxruby.org/
|
964
991
|
licenses: []
|
965
992
|
|
@@ -970,103 +997,111 @@ rdoc_options:
|
|
970
997
|
- --exclude
|
971
998
|
- ext/fox16
|
972
999
|
- --exclude
|
973
|
-
-
|
1000
|
+
- /aliases|kwargs|missingdep|responder/
|
974
1001
|
require_paths:
|
975
1002
|
- ext/fox16
|
976
1003
|
- lib
|
977
1004
|
required_ruby_version: !ruby/object:Gem::Requirement
|
1005
|
+
none: false
|
978
1006
|
requirements:
|
979
1007
|
- - ">="
|
980
1008
|
- !ruby/object:Gem::Version
|
1009
|
+
hash: 3
|
1010
|
+
segments:
|
1011
|
+
- 0
|
981
1012
|
version: "0"
|
982
|
-
version:
|
983
1013
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
1014
|
+
none: false
|
984
1015
|
requirements:
|
985
|
-
- - "
|
1016
|
+
- - ">"
|
986
1017
|
- !ruby/object:Gem::Version
|
987
|
-
|
988
|
-
|
1018
|
+
hash: 25
|
1019
|
+
segments:
|
1020
|
+
- 1
|
1021
|
+
- 3
|
1022
|
+
- 1
|
1023
|
+
version: 1.3.1
|
989
1024
|
requirements: []
|
990
1025
|
|
991
1026
|
rubyforge_project: fxruby
|
992
|
-
rubygems_version: 1.
|
1027
|
+
rubygems_version: 1.8.11
|
993
1028
|
signing_key:
|
994
1029
|
specification_version: 3
|
995
1030
|
summary: FXRuby is the Ruby binding to the FOX GUI toolkit.
|
996
1031
|
test_files:
|
1032
|
+
- test/TC_FXVec2d.rb
|
1033
|
+
- test/TC_FXListBox.rb
|
1034
|
+
- test/TC_FXCheckButton.rb
|
1035
|
+
- test/TC_FXVec4f.rb
|
1036
|
+
- test/TC_FXIconList.rb
|
1037
|
+
- test/TC_FXXPMIcon.rb
|
997
1038
|
- test/TC_FXSegment.rb
|
998
1039
|
- test/TC_FXMemoryStream.rb
|
999
|
-
- test/
|
1000
|
-
- test/
|
1001
|
-
- test/
|
1002
|
-
- test/
|
1040
|
+
- test/TC_FXComboBox.rb
|
1041
|
+
- test/TC_FXShell.rb
|
1042
|
+
- test/TC_FXRangef.rb
|
1043
|
+
- test/TC_FXTreeListBox.rb
|
1044
|
+
- test/TC_Misc.rb
|
1045
|
+
- test/TC_FXMaterial.rb
|
1046
|
+
- test/TC_FXMenuCommand.rb
|
1003
1047
|
- test/TC_FXRectangle.rb
|
1004
|
-
- test/
|
1005
|
-
- test/TC_FXDirList.rb
|
1006
|
-
- test/TC_FXDC.rb
|
1007
|
-
- test/TC_FXVec2d.rb
|
1048
|
+
- test/TC_FXGLShape.rb
|
1008
1049
|
- test/TC_FXTreeList.rb
|
1009
|
-
- test/
|
1010
|
-
- test/
|
1011
|
-
- test/TC_FXRangef.rb
|
1012
|
-
- test/TC_FXVec2f.rb
|
1050
|
+
- test/TC_FXGradientBar.rb
|
1051
|
+
- test/TC_FXUndoList.rb
|
1013
1052
|
- test/TC_FXImage.rb
|
1014
|
-
- test/
|
1015
|
-
- test/
|
1016
|
-
- test/
|
1017
|
-
- test/
|
1018
|
-
- test/
|
1053
|
+
- test/TC_FXTableItem.rb
|
1054
|
+
- test/TC_FXVec3f.rb
|
1055
|
+
- test/TC_FXIconDict.rb
|
1056
|
+
- test/TC_FXStream.rb
|
1057
|
+
- test/TC_FXBMPImage.rb
|
1019
1058
|
- test/TC_FXGLGroup.rb
|
1020
|
-
- test/
|
1021
|
-
- test/
|
1022
|
-
- test/
|
1023
|
-
- test/
|
1024
|
-
- test/
|
1025
|
-
- test/TC_FXXBMIcon.rb
|
1026
|
-
- test/TC_FXCheckButton.rb
|
1027
|
-
- test/TC_FXId.rb
|
1028
|
-
- test/TC_FXBMPIcon.rb
|
1029
|
-
- test/TC_FXAccelTable.rb
|
1030
|
-
- test/TC_FXExtentd.rb
|
1031
|
-
- test/TC_Misc.rb
|
1032
|
-
- test/TC_FXExtentf.rb
|
1033
|
-
- test/TC_FXVec3d.rb
|
1059
|
+
- test/TC_FXRanged.rb
|
1060
|
+
- test/TC_FXTopWindow.rb
|
1061
|
+
- test/TC_FXHiliteStyle.rb
|
1062
|
+
- test/TC_FXHeader.rb
|
1063
|
+
- test/TC_FXPoint.rb
|
1034
1064
|
- test/TC_FXRegistry.rb
|
1035
|
-
- test/
|
1036
|
-
- test/
|
1037
|
-
- test/TC_FXStream.rb
|
1065
|
+
- test/TC_FXFileStream.rb
|
1066
|
+
- test/TC_FXXBMIcon.rb
|
1038
1067
|
- test/TC_FXScrollArea.rb
|
1039
|
-
- test/TC_FXXPMIcon.rb
|
1040
1068
|
- test/TC_FXSettings.rb
|
1041
|
-
- test/TC_FXDialogBox.rb
|
1042
1069
|
- test/TC_FXSize.rb
|
1043
|
-
- test/TC_FXViewport.rb
|
1044
|
-
- test/TC_FXVec4f.rb
|
1045
|
-
- test/TC_FXComboBox.rb
|
1046
|
-
- test/TC_FXXPMImage.rb
|
1047
|
-
- test/TC_downcast.rb
|
1048
|
-
- test/TC_FXFontDesc.rb
|
1049
1070
|
- test/TC_FXApp.rb
|
1071
|
+
- test/TC_FXVec3d.rb
|
1072
|
+
- test/TC_FXExtentd.rb
|
1073
|
+
- test/TC_FXDC.rb
|
1074
|
+
- test/TC_FXMenuCheck.rb
|
1075
|
+
- test/TC_FXDCWindow.rb
|
1076
|
+
- test/TC_FXFont.rb
|
1077
|
+
- test/TC_FXTable.rb
|
1078
|
+
- test/TC_FXMenuRadio.rb
|
1079
|
+
- test/TC_FXExtentf.rb
|
1080
|
+
- test/TC_FXFontDesc.rb
|
1081
|
+
- test/TC_FXGLViewer.rb
|
1082
|
+
- test/TC_FXViewport.rb
|
1050
1083
|
- test/TC_FXArc.rb
|
1051
1084
|
- test/TC_FXText.rb
|
1052
|
-
- test/
|
1053
|
-
- test/
|
1054
|
-
- test/
|
1085
|
+
- test/TC_FXId.rb
|
1086
|
+
- test/TC_FXXPMImage.rb
|
1087
|
+
- test/TC_FXMessageBox.rb
|
1088
|
+
- test/TC_FXLight.rb
|
1089
|
+
- test/TC_FXVec2f.rb
|
1090
|
+
- test/TC_downcast.rb
|
1091
|
+
- test/TC_FXQuatf.rb
|
1055
1092
|
- test/TC_FXRadioButton.rb
|
1093
|
+
- test/TC_FXDCPrint.rb
|
1094
|
+
- test/TC_FXRegion.rb
|
1095
|
+
- test/TC_FXFoldingList.rb
|
1096
|
+
- test/TC_FXMat4f.rb
|
1097
|
+
- test/TC_FXAccelTable.rb
|
1098
|
+
- test/TC_FXButton.rb
|
1056
1099
|
- test/TC_FXList.rb
|
1100
|
+
- test/TC_FXDialogBox.rb
|
1101
|
+
- test/TC_FXBMPIcon.rb
|
1102
|
+
- test/TC_FXMainWindow.rb
|
1103
|
+
- test/TC_FXXBMImage.rb
|
1104
|
+
- test/TC_FXFileAssoc.rb
|
1105
|
+
- test/TC_FXScrollWindow.rb
|
1106
|
+
- test/TC_FXDirList.rb
|
1057
1107
|
- test/TC_FXDataTarget.rb
|
1058
|
-
- test/TC_FXMenuCheck.rb
|
1059
|
-
- test/TC_FXGradientBar.rb
|
1060
|
-
- test/TC_FXDCWindow.rb
|
1061
|
-
- test/TC_FXMaterial.rb
|
1062
|
-
- test/TC_FXHiliteStyle.rb
|
1063
|
-
- test/TC_FXIconDict.rb
|
1064
|
-
- test/TC_FXLight.rb
|
1065
|
-
- test/TC_FXUndoList.rb
|
1066
|
-
- test/TC_FXListBox.rb
|
1067
|
-
- test/TC_FXFoldingList.rb
|
1068
|
-
- test/TC_FXTableItem.rb
|
1069
|
-
- test/TC_FXRegion.rb
|
1070
|
-
- test/TC_FXFont.rb
|
1071
|
-
- test/TC_FXVec3f.rb
|
1072
|
-
- test/TC_FXMenuCommand.rb
|