fxruby 1.2.5 → 1.2.6
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/ChangeLog +124 -0
- data/doc/apes02.html +2 -2
- data/doc/apes03.html +1 -1
- data/doc/book.html +1 -1
- data/doc/changes.html +194 -112
- data/doc/cvs.html +2 -2
- data/doc/differences.html +3 -3
- data/doc/gems.html +1 -1
- data/doc/implementation.html +1 -1
- data/doc/library.html +5 -5
- data/doc/opengl.html +5 -5
- data/doc/pt02.html +1 -1
- data/doc/scintilla.html +4 -4
- data/examples/groupbox.rb +1 -1
- data/examples/iconlist.rb +0 -15
- data/ext/fox12/core_wrap.cpp +44 -3
- data/ext/fox12/include/FXRbTable.h +18 -7
- data/ext/fox12/unregisterOwnedObjects.cpp +7 -4
- data/lib/fox12/aliases.rb +1 -9
- data/lib/fox12/core.rb +52 -0
- data/lib/fox12/version.rb +1 -1
- data/rdoc-sources/FXCheckButton.rb +0 -15
- data/rdoc-sources/FXDC.rb +1 -1
- data/rdoc-sources/FXFont.rb +8 -1
- data/rdoc-sources/FXImage.rb +0 -2
- data/rdoc-sources/FXScrollArea.rb +4 -4
- data/rdoc-sources/FXTreeList.rb +3 -0
- data/tests/TC_FXFont.rb +10 -0
- data/tests/TC_FXSettings.rb +34 -0
- metadata +4 -3
data/doc/changes.html
CHANGED
@@ -1,115 +1,197 @@
|
|
1
1
|
<html><head>
|
2
2
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
3
|
-
<title>Chapter 10. Change History</title><meta name="generator" content="DocBook XSL Stylesheets V1.61.2"><link rel="home" href="book.html" title="Developing Graphical User Interfaces with FXRuby"><link rel="up" href="pt01.html" title="Part I. The Basics"><link rel="previous" href="infosources.html" title="Chapter 9. Other Sources of Information"><link rel="next" href="pt02.html" title="Part II. Appendices"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 10. Change History</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="infosources.html">Prev</a> </td><th width="60%" align="center">Part I. The Basics</th><td width="20%" align="right"> <a accesskey="n" href="pt02.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="changes"></a>Chapter 10. Change History</h2></div></div><div></div></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e2403"></a>Changes For Version 1.2.
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
<
|
71
|
-
|
72
|
-
|
73
|
-
(see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=
|
74
|
-
This has been corrected
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
3
|
+
<title>Chapter 10. Change History</title><meta name="generator" content="DocBook XSL Stylesheets V1.61.2"><link rel="home" href="book.html" title="Developing Graphical User Interfaces with FXRuby"><link rel="up" href="pt01.html" title="Part I. The Basics"><link rel="previous" href="infosources.html" title="Chapter 9. Other Sources of Information"><link rel="next" href="pt02.html" title="Part II. Appendices"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 10. Change History</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="infosources.html">Prev</a> </td><th width="60%" align="center">Part I. The Basics</th><td width="20%" align="right"> <a accesskey="n" href="pt02.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="changes"></a>Chapter 10. Change History</h2></div></div><div></div></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e2403"></a>Changes For Version 1.2.6 (April 15, 2005)</h2></div></div><div></div></div><div class="itemizedlist"><ul type="bullet"><li style="list-style-type: disc"><p>Some additional problems related to calling the
|
4
|
+
<tt class="methodname">setTableSize</tt> method for an
|
5
|
+
<tt class="classname">FXTable</tt> were discovered (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1597&group_id=300&atid=1223" target="_top">RubyForge
|
6
|
+
Bug #1597</a>). This problem has been corrected. Thanks to Joel
|
7
|
+
VanderWerf for reporting this problem.</p></li><li style="list-style-type: disc"><p>The <tt class="filename">iconlist.rb</tt> example program had a
|
8
|
+
"Sort" pulldown menu filled with a number of commands that didn't
|
9
|
+
really do anything, including sorting the items (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1654&group_id=300&atid=1223" target="_top">RubyForge
|
10
|
+
Bug #1654</a>). This pulldown menu has been removed from that
|
11
|
+
example.</p></li><li style="list-style-type: disc"><p>The API documentation for the <tt class="classname">FXDC</tt> class
|
12
|
+
erroneously referred to the <tt class="methodname">font</tt> attribute as
|
13
|
+
<tt class="methodname">textFont</tt> (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1667&group_id=300&atid=1223" target="_top">RubyForge
|
14
|
+
Bug #1667</a>). This problem has been corrected. Thanks to Meinrad
|
15
|
+
Recheis for reporting this problem.</p></li><li style="list-style-type: disc"><p>The <tt class="methodname">checked?</tt>,
|
16
|
+
<tt class="methodname">unchecked?</tt> and
|
17
|
+
<tt class="methodname">maybe?</tt> methods for the
|
18
|
+
<tt class="classname">FXMenuCheck</tt> class were missing (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1677&group_id=300&atid=1223" target="_top">RubyForge
|
19
|
+
Bug #1677</a>). This problem has been corrected. Thanks to Oliver
|
20
|
+
Smith for reporting this problem.</p></li><li style="list-style-type: disc"><p>The API documentation for the
|
21
|
+
<tt class="classname">FXScrollArea</tt> class incorrectly spelled the
|
22
|
+
names of the <tt class="methodname">horizontalScrollBar</tt> and
|
23
|
+
<tt class="methodname">verticalScrollBar</tt> methods as
|
24
|
+
<tt class="methodname">horizontalScrollbar</tt> and
|
25
|
+
<tt class="methodname">verticalScrollbar</tt> (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1678&group_id=300&atid=1223" target="_top">RubyForge
|
26
|
+
Bug #1678</a>). The documentation has been corrected. Thanks to
|
27
|
+
Jannis Pohlmann for reporting this mistake.</p></li><li style="list-style-type: disc"><p>Some code in the <tt class="filename">groupbox.rb</tt> example
|
28
|
+
program was calling the <tt class="methodname">getRootWindow</tt> method,
|
29
|
+
but that method has been renamed to <tt class="methodname">getRoot</tt>
|
30
|
+
(see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1692&group_id=300&atid=1223" target="_top">RubyForge
|
31
|
+
Bug #1692</a>). This problem has been corrected. Thanks to
|
32
|
+
Jaroslav Stika for reporting this problem.</p></li><li style="list-style-type: disc"><p>The <tt class="methodname">hasChar?</tt> method for the
|
33
|
+
<tt class="classname">FXFont</tt> class was spelled without a trailing
|
34
|
+
question mark, but it seems more Ruby-like that it should, so we've
|
35
|
+
added an alias for that (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1714&group_id=300&atid=1223" target="_top">RubyForge
|
36
|
+
Bug #1714</a>). This method also now accepts a string of size 1
|
37
|
+
(i.e. a single character) as its input, as an alternative to an
|
38
|
+
ordinal value. Thanks to Meinrad Recheis for these suggestions.</p></li><li style="list-style-type: disc"><p>The API documentation for the <tt class="classname">FXImage</tt>
|
39
|
+
class mistakenly listed <tt class="constant">IMAGE_ALPHA</tt> as a valid
|
40
|
+
image rendering hint, but this flag is no longer needed since FOX
|
41
|
+
images now always contain an alpha channel (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1715&group_id=300&atid=1223" target="_top">RubyForge
|
42
|
+
Bug #1715</a>). The documentation has been corrected. Thanks to
|
43
|
+
Meinrad Recheis for reporting this mistake.</p></li><li style="list-style-type: disc"><p>Due to an error in the SWIG interface files, the
|
44
|
+
<tt class="methodname">data</tt> method for the
|
45
|
+
<tt class="classname">FXSettings</tt> class was not being wrapped
|
46
|
+
properly. As a result, this method was unavailable and in turn led to
|
47
|
+
other dependent methods (like <tt class="methodname">each_section</tt>)
|
48
|
+
to be unavailable as well (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1771&group_id=300&atid=1223" target="_top">RubyForge
|
49
|
+
Bug #1771</a>). This error has been corrected. Thanks to Jannis
|
50
|
+
Pohlmann for reporting this problem.</p></li><li style="list-style-type: disc"><p>The binary gem for Windows was built with FOX version 1.2.16 and
|
51
|
+
FXScintilla version 1.62.</p></li></ul></div></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e2539"></a>Changes For Version 1.2.5 (March 1, 2005)</h2></div></div><div></div></div><div class="itemizedlist"><ul type="bullet"><li style="list-style-type: disc"><p>The change made for FXRuby version 1.2.4 regarding garbage
|
52
|
+
collection for table items corrected only one of the problems
|
53
|
+
described in <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1445&group_id=300&atid=1223" target="_top">RubyForge
|
54
|
+
Bug #1445</a>; There was still a problem related to the
|
55
|
+
"destructive" effects of the <tt class="methodname">setTableSize</tt>
|
56
|
+
method for the <tt class="classname">FXTable</tt> class. This problem has
|
57
|
+
now been corrected as well. Thanks to David Peoples, Jamey Cribbs and
|
58
|
+
Joel VanderWerf for their assistance in helping me to track down this
|
59
|
+
problem.</p></li><li style="list-style-type: disc"><p>The <tt class="methodname">extractText</tt> and
|
60
|
+
<tt class="methodname">overlayText</tt> methods for the
|
61
|
+
<tt class="classname">FXTable</tt> class were implemented incorrectly and
|
62
|
+
weren't listed in the API documentation. These problems have been
|
63
|
+
corrected.</p></li><li style="list-style-type: disc"><p>The checks for out-of-bounds indices in the
|
64
|
+
<tt class="methodname">getColumnX</tt>,
|
65
|
+
<tt class="methodname">setColumnX</tt>, <tt class="methodname">getRowY</tt>,
|
66
|
+
<tt class="methodname">setRowY</tt> and
|
67
|
+
<tt class="methodname">updateRange</tt> methods for the
|
68
|
+
<tt class="classname">FXTable</tt> class were incorrect. These have been
|
69
|
+
fixed.</p></li><li style="list-style-type: disc"><p>The <tt class="methodname">setTableSize</tt> method for the
|
70
|
+
<tt class="classname">FXTable</tt> class now raises
|
71
|
+
<tt class="classname">ArgError</tt> if either the number of rows or
|
72
|
+
columns passed in as arguments is less than zero.</p></li><li style="list-style-type: disc"><p>A typo in one of the source files was causing the build to fail
|
73
|
+
when compiled against Ruby versions 1.8.1 or earlier (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1551&group_id=300&atid=1223" target="_top">RubyForge
|
74
|
+
Bug #1551</a>). This error has been corrected. Thanks to Alex
|
75
|
+
McGuire for reporting this problem.</p></li><li style="list-style-type: disc"><p>The <tt class="methodname">selectItem</tt> method for the
|
76
|
+
<tt class="classname">FXTable</tt> class was removed in FOX 1.2, so we've
|
77
|
+
added a convenience method for this that just calls the
|
78
|
+
<tt class="methodname">selectRange</tt> method under the hood (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1562&group_id=300&atid=1223" target="_top">RubyForge
|
79
|
+
Bug #1562</a>). Thanks to Joel VanderWerf for this
|
80
|
+
suggestion.</p></li><li style="list-style-type: disc"><p>The binary gem for Windows was built with FOX version 1.2.13 and
|
81
|
+
FXScintilla version 1.62.</p></li></ul></div></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e2624"></a>Changes For Version 1.2.4 (February 23, 2005)</h2></div></div><div></div></div><div class="itemizedlist"><ul type="bullet"><li style="list-style-type: disc"><p>Due to a change in some of the internal Ruby C APIs, a
|
82
|
+
compile-time error for FXRuby was introduced in some of the Ruby 1.8.2
|
83
|
+
preview releases (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1039&group_id=300&atid=1223" target="_top">RubyForge
|
84
|
+
Bug #1039</a>). One should not see any compile-time errors when
|
85
|
+
compiling FXRuby (versions 1.2.3 or later) against the Ruby 1.8.2
|
86
|
+
final release, but I've neverthless made a change to how those
|
87
|
+
internal APIs are used, to avoid any potential problems. Thanks to the
|
88
|
+
many users who pointed out this problem.</p></li><li style="list-style-type: disc"><p>Joel VanderWerf suggested some enhancements to the
|
89
|
+
<tt class="filename">image.rb</tt> example program in order to improve its
|
90
|
+
startup time (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1281&group_id=300&atid=1223" target="_top">RubyForge
|
91
|
+
Bug #1281</a>). Those changes have been incorporated. Thanks to
|
92
|
+
Joel for this suggestion.</p></li><li style="list-style-type: disc"><p>One change for the <tt class="classname">FXImage</tt> class between
|
93
|
+
FOX versions 1.0 and 1.2 is the nature of the pixel buffer that's
|
94
|
+
passed to the <tt class="classname">FXImage</tt> constructor. Previously,
|
95
|
+
this pixel buffer was expected to be a string of bytes; now it's
|
96
|
+
expected to be an array of <span class="type">FXColor</span> values. This
|
97
|
+
modification was not implemented correctly for FXRuby versions 1.2.3
|
98
|
+
and earlier (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1427&group_id=300&atid=1223" target="_top">RubyForge
|
99
|
+
Bug #1427</a>). This bug has been corrected, and the example
|
100
|
+
program (<tt class="filename">image.rb</tt>) and test cases have been
|
101
|
+
updated as well. Thanks to Oliver Smith and others for reporting this
|
102
|
+
problem.</p></li><li style="list-style-type: disc"><p>A couple of different problems, reported by Patrick Fernie and
|
103
|
+
David Peoples, exposed a flaw in how FXRuby manages the links between
|
104
|
+
FOX objects and their Ruby peers when the FOX objects are destroyed
|
105
|
+
(see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1445&group_id=300&atid=1223" target="_top">RubyForge
|
106
|
+
Bug #1445</a>). Without going into all the gory details, let's
|
107
|
+
just say that since we have no explicit control over when Ruby's
|
108
|
+
garbage collector decides to "collect" those Ruby peers that point to
|
109
|
+
C++ objects that have been destroyed, we need to take steps to
|
110
|
+
neutralize those Ruby peer objects so that they can't cause your
|
111
|
+
application to crash in the meantime; I've implemented a fix to take
|
112
|
+
care of this situation. Thanks to Patrick and David for reporting
|
113
|
+
these problems.</p></li><li style="list-style-type: disc"><p>The API documentation for FXRuby 1.2 still contained references
|
114
|
+
to the old "spellings" of the <tt class="methodname">fxparseAccel</tt>
|
115
|
+
and <tt class="methodname">fxparseHotKey</tt> method names, which were
|
116
|
+
all lowercase (i.e. <tt class="methodname">fxparseaccel</tt> and
|
117
|
+
<tt class="methodname">fxparsehotkey</tt>). (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1470&group_id=300&atid=1223" target="_top">RubyForge
|
118
|
+
Bug #1470</a>). These errors have been corrected.</p></li><li style="list-style-type: disc"><p>Added the <tt class="methodname">FXScrollArea#scrollCorner</tt>
|
119
|
+
method, which returns a reference to the scroll corner for any window
|
120
|
+
derived from <tt class="classname">FXScrollArea</tt> (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=843&group_id=300&atid=1226" target="_top">RubyForge
|
121
|
+
Feature Request #1226</a>). Thanks to Brian Sheehan for this
|
122
|
+
suggestion.</p></li><li style="list-style-type: disc"><p>Added the <tt class="methodname">FXMemoryBuffer#to_a</tt> method,
|
123
|
+
which is just an alias for the <tt class="methodname">data</tt> accessor
|
124
|
+
method that returns a copy of the data buffer as an array (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1295&group_id=300&atid=1226" target="_top">RubyForge
|
125
|
+
Feature Request #1295</a>). Thanks to Meinrad Recheis for this
|
126
|
+
suggestion.</p></li><li style="list-style-type: disc"><p>Added the <tt class="methodname">appendRows</tt> and
|
127
|
+
<tt class="methodname">appendColumns</tt> methods to the
|
128
|
+
<tt class="classname">FXTable</tt> class (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1426&group_id=300&atid=1226" target="_top">RubyForge
|
129
|
+
Feature Request #1295</a>). Thanks to Brett Hallett for this
|
130
|
+
suggestion.</p></li><li style="list-style-type: disc"><p>The binary gem for Windows was built with FOX version 1.2.13 and
|
131
|
+
FXScintilla version 1.62.</p></li></ul></div></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e2727"></a>Changes For Version 1.2.3 (January 22, 2005)</h2></div></div><div></div></div><div class="itemizedlist"><ul type="bullet"><li style="list-style-type: disc"><p>Since group boxes containing radio buttons no longer enforce the
|
132
|
+
radio behavior of radio buttons (i.e. keeping only one radio button
|
133
|
+
selected at a time), some of the example programs were no longer
|
134
|
+
working as desired (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=751&group_id=300&atid=1223" target="_top">RubyForge
|
135
|
+
Bug #751</a> and <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1280&group_id=300&atid=1223" target="_top">RubyForge
|
136
|
+
Bug #1280</a>). This problem has been corrected. Thanks to Yuri
|
137
|
+
Leikind and Barry DeZonia for reporting this problem.</p></li><li style="list-style-type: disc"><p>Bob Sidebotham reported a little typo in the
|
138
|
+
<tt class="filename">table.rb</tt> example program (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=990&group_id=300&atid=1223" target="_top">RubyForge
|
139
|
+
Bug #990</a>). This has been corrected.</p></li><li style="list-style-type: disc"><p>The API documentation for <tt class="classname">FXList</tt> did not
|
140
|
+
reflect the changes for FOX 1.2; the
|
141
|
+
<tt class="methodname">retrieveItem()</tt> has been renamed to
|
142
|
+
<tt class="methodname">getItem()</tt> and
|
143
|
+
<tt class="methodname">insertItem()</tt> has been renamed to
|
144
|
+
<tt class="methodname">setItem()</tt> (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1037&group_id=300&atid=1223" target="_top">RubyForge
|
145
|
+
Bug #1037</a> and <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1257&group_id=300&atid=1223" target="_top">RubyForge
|
146
|
+
Bug #1257</a>). This has been corrected. Thanks to Remy Drouilhet
|
147
|
+
and Stephan Kamper for reporting this problem.</p></li><li style="list-style-type: disc"><p>The Windows installer was missing some of the documentation
|
148
|
+
files (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1139&group_id=300&atid=1223" target="_top">RubyForge
|
149
|
+
Bug #1139</a>). This has been corrected. Thanks to Curt Hibbs and
|
150
|
+
Mark Smith for reporting this problem.</p></li><li style="list-style-type: disc"><p>The <tt class="filename">browser.rb</tt> example program was broken
|
151
|
+
(see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1146&group_id=300&atid=1223" target="_top">RubyForge
|
152
|
+
Bug #1146</a>). This has been corrected. Thanks to Stefan Lang for
|
153
|
+
reporting this problem.</p></li><li style="list-style-type: disc"><p>The attribute setter for
|
154
|
+
<tt class="methodname">FXHeaderItem#justification</tt> was defined
|
155
|
+
incorrectly (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1276&group_id=300&atid=1223" target="_top">RubyForge
|
156
|
+
Bug #1276</a>). This has been corrected. Thanks to Joel VanderWerf
|
157
|
+
for reporting this problem (and providing a patch to fix it).</p></li><li style="list-style-type: disc"><p>The <tt class="methodname">filenames</tt> alias for the
|
158
|
+
<tt class="methodname">FXFileDialog#getFilenames()</tt> instance method
|
159
|
+
was missing (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1277&group_id=300&atid=1223" target="_top">RubyForge
|
160
|
+
Bug #1277</a>). This error has been corrected. Thanks to Barry
|
161
|
+
DeZonia for reporting this problem.</p></li><li style="list-style-type: disc"><p>The API documentation for the
|
162
|
+
<tt class="classname">FXFileDialog</tt> class methods
|
163
|
+
<tt class="methodname">getOpenFilenames()</tt>,
|
164
|
+
<tt class="methodname">getOpenDirectory()</tt>,
|
165
|
+
<tt class="methodname">getOpenFilename()</tt> and
|
166
|
+
<tt class="methodname">getSaveFilename()</tt> was extremely inadequate
|
167
|
+
(see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1279&group_id=300&atid=1223" target="_top">RubyForge
|
168
|
+
Bug #1279</a>). This documentation has been improved. Thanks to
|
169
|
+
Barry DeZonia for reporting this problem.</p></li><li style="list-style-type: disc"><p>Brett Hallett contributed a Ruby port of the "ratio" example
|
170
|
+
program from the regular FOX distribution, for demonstrating the use
|
171
|
+
of the new <tt class="classname">FXSpring</tt> layout manager (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1282&group_id=300&atid=1223" target="_top">RubyForge
|
172
|
+
Bug #1282</a>). Many thanks to Brett for this addition!</p></li><li style="list-style-type: disc"><p>Joel VanderWerf contributed code to simplify how programs
|
173
|
+
interact with modal and non-modal dialog boxes (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1283&group_id=300&atid=1223" target="_top">RubyForge
|
174
|
+
Bug #1283</a>). See the API documentation for the new
|
175
|
+
<tt class="methodname">FXDialogBox#execute_modal</tt> and
|
176
|
+
<tt class="methodname">FXDialogBox#execute_nonmodal</tt> methods for
|
177
|
+
examples of their use.</p></li><li style="list-style-type: disc"><p>The attribute setters for
|
178
|
+
<tt class="methodname">FXRealSpinner#selBackColor</tt> and
|
179
|
+
<tt class="methodname">FXSpinner#selBackColor</tt> were defined
|
180
|
+
incorrectly (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1297&group_id=300&atid=1223" target="_top">RubyForge
|
181
|
+
Bug #1297</a>). These have been corrected. Thanks to Meinrad
|
182
|
+
Recheis for reporting this problem.</p></li><li style="list-style-type: disc"><p>The <tt class="methodname">tooltipPause</tt> attribute reader for
|
183
|
+
the <tt class="classname">FXApp</tt> class was missing (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1306&group_id=300&atid=1225" target="_top">RubyForge
|
184
|
+
Patch #1306</a>). Thanks to Joel VanderWerf for reporting this
|
185
|
+
omission and providing a patch to fix it.</p></li><li style="list-style-type: disc"><p>The API documentation for the
|
186
|
+
<tt class="classname">FXToolBarTab</tt> class was missing (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1322&group_id=300&atid=1223" target="_top">RubyForge
|
187
|
+
Bug #1322</a>). Thanks to Joel VanderWerf for reporting this
|
188
|
+
omission.</p></li><li style="list-style-type: disc"><p>The attribute accessors for
|
189
|
+
<tt class="methodname">FXText#visibleRows</tt> and
|
190
|
+
<tt class="methodname">FXText#visibleColumns</tt> were defined and
|
191
|
+
documented incorrectly (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1325&group_id=300&atid=1223" target="_top">RubyForge
|
192
|
+
Bug #1325</a>). These have been corrected. Thanks to Karl El-Koura
|
193
|
+
for reporting this problem.</p></li><li style="list-style-type: disc"><p>The binary gem for Windows was built with FOX version 1.2.13 and
|
194
|
+
FXScintilla version 1.62.</p></li></ul></div></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e2899"></a>Changes For Version 1.2.2 (October 1, 2004)</h2></div></div><div></div></div><div class="itemizedlist"><ul type="bullet"><li style="list-style-type: disc"><p>In order to avoid versioning problems when dealing with a mix of
|
113
195
|
applications based on either FXRuby 1.0 or 1.2, the feature name for
|
114
196
|
FXRuby has been changed from "fox" to "fox12". For most application
|
115
197
|
developers, this means that you will need to modify the source code
|
@@ -117,7 +199,7 @@
|
|
117
199
|
changes should be required for legacy applications targeted at FXRuby
|
118
200
|
1.0.</p></li><li style="list-style-type: disc"><p>Made a number of updates to the documentation, to reflect API
|
119
201
|
changes for FXRuby 1.2.</p></li><li style="list-style-type: disc"><p>The binary gem for Windows was built with FOX version 1.2.9 and
|
120
|
-
FXScintilla version 1.61.</p></li></ul></div></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="
|
202
|
+
FXScintilla version 1.61.</p></li></ul></div></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e2916"></a>Changes For Version 1.2a2 (July 10, 2004)</h2></div></div><div></div></div><div class="itemizedlist"><ul type="bullet"><li style="list-style-type: disc"><p>This is the second "alpha" release of FXRuby 1.2. This release
|
121
203
|
should be compatible with any FOX library version 1.2; it is not
|
122
204
|
compatible with any previous FOX library versions. As this is an alpha
|
123
205
|
release, users should expect a certain amount of instability, bugs,
|
@@ -159,7 +241,7 @@
|
|
159
241
|
or JPEG image support built-in (see <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=986180&group_id=20243&atid=120243" target="_top">SourceForge
|
160
242
|
Bug #986180</a>). This has been fixed. Thanks to Bil Bas for
|
161
243
|
reporting this problem.</p></li><li style="list-style-type: disc"><p>The binary gem for Windows was built with FOX version 1.2.7 and
|
162
|
-
FXScintilla version 1.61.</p></li></ul></div></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="
|
244
|
+
FXScintilla version 1.61.</p></li></ul></div></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e3025"></a>Changes For Version 1.2a1 (June 28, 2004)</h2></div></div><div></div></div><div class="itemizedlist"><ul type="bullet"><li style="list-style-type: disc"><p>This is the first "alpha" release of FXRuby 1.2. This release
|
163
245
|
should be compatible with any FOX library version 1.2; it is not
|
164
246
|
compatible with any previous FOX library versions. As this is an alpha
|
165
247
|
release, users should expect a certain amount of instability, bugs,
|
data/doc/cvs.html
CHANGED
@@ -19,13 +19,13 @@
|
|
19
19
|
modified SWIG interface files. I always use the latest development version
|
20
20
|
of <a href="http://www.swig.org" target="_top">SWIG</a>, but any release after,
|
21
21
|
say, SWIG 1.3.15 should work fine. The older SWIG 1.1 releases will
|
22
|
-
definitely <span class="emphasis"><em>not</em></span> work.</p><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="
|
22
|
+
definitely <span class="emphasis"><em>not</em></span> work.</p><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e4239"></a>Checking out the stable version</h2></div></div><div></div></div><p>The stable version of FXRuby is the 1.0.x branch and is compatible
|
23
23
|
with any of the FOX 1.0.x releases. It is <span class="emphasis"><em>not</em></span>
|
24
24
|
compatible with any other release branches of FOX (e.g. the FOX 1.2.x or
|
25
25
|
1.3.x series of releases).</p><p>To check out the stable version of FXRuby, do the following:</p><div class="orderedlist"><ol type="1"><li><p>Log in to the CVS server by typing:</p><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="screen">cvs -d:pserver:anonymous@rubyforge.org:/var/cvs/fxruby login</pre></td></tr></table><p>When prompted for a password for <span class="emphasis"><em>anonymous</em></span>,
|
26
26
|
simply press the <b class="keycap">Enter</b> key.</p></li><li><p>Check out the stable branch of FXRuby by typing:</p><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="screen">cvs -z3 -d:pserver:anonymous@rubyforge.org:/var/cvs/fxruby co -rrelease10 FXRuby</pre></td></tr></table></li></ol></div><p>At this point, you should be ready to change to the top-level
|
27
27
|
directory and go through the normal build and installation process, as
|
28
|
-
described in an earlier chapter.</p></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="
|
28
|
+
described in an earlier chapter.</p></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e4272"></a>Regenerating wrapper code with SWIG</h2></div></div><div></div></div><p>If you make changes to any of the SWIG interface files (the files
|
29
29
|
ending with a <tt class="filename">.i</tt> extension, in the <tt class="filename">swig-interfaces</tt> subdirectory) you will need
|
30
30
|
to re-run SWIG to regenerate parts of the FXRuby source code:</p><div class="orderedlist"><ol type="1"><li><p>Change directories to the <tt class="filename">swig-interfaces</tt> subdirectory of the
|
31
31
|
FXRuby source tree.</p></li><li><p>Type the following command to create a "bootstrap"
|