fxruby 1.6.6 → 1.6.7
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/doc/apes02.html +2 -2
- data/doc/apes03.html +1 -1
- data/doc/book.html +1 -1
- data/doc/build.html +5 -5
- data/doc/ch03s02.html +1 -1
- data/doc/ch03s03.html +1 -1
- data/doc/ch03s04.html +1 -1
- data/doc/ch03s05.html +2 -2
- data/doc/ch04s02.html +1 -1
- data/doc/ch04s03.html +1 -1
- data/doc/ch04s04.html +1 -1
- data/doc/ch05s02.html +1 -1
- data/doc/ch05s03.html +1 -1
- data/doc/changes.html +149 -148
- data/doc/clipboardtut.html +1 -1
- data/doc/differences.html +11 -11
- data/doc/dragdroptut.html +2 -2
- data/doc/events.html +1 -1
- data/doc/examples.html +26 -26
- data/doc/gems.html +1 -1
- data/doc/goals.html +7 -7
- data/doc/implementation.html +3 -3
- data/doc/infosources.html +10 -10
- data/doc/library.html +5 -5
- data/doc/opengl.html +9 -9
- data/doc/pt01.html +1 -1
- data/doc/pt02.html +1 -1
- data/doc/scintilla.html +4 -4
- data/doc/subversion.html +6 -6
- data/doc/todo.html +6 -6
- data/doc/tutorial1.html +1 -1
- data/doc/unicode.html +3 -3
- data/examples/groupbox.rb +37 -67
- data/ext/fox16/extconf.rb +4 -2
- data/lib/fox16/version.rb +1 -1
- metadata +2 -3
- data/examples/accell.rb +0 -36
data/doc/apes02.html
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
<html><head>
|
2
2
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
3
|
-
<title>Object Life Cycles and Garbage Collection</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.
|
3
|
+
<title>Object Life Cycles and Garbage Collection</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook v5 XSL Stylesheets V1.72.0"><link rel="start" href="book.html" title="Developing Graphical User Interfaces with FXRuby"><link rel="up" href="implementation.html" title="Appendix E. Implementation"><link rel="prev" href="implementation.html" title="Appendix E. Implementation"><link rel="next" href="apes03.html" title="Virtual Functions"></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">Object Life Cycles and Garbage Collection</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="implementation.html">Prev</a> </td><th width="60%" align="center">Appendix E. Implementation</th><td width="20%" align="right"> <a accesskey="n" href="apes03.html">Next</a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e5280"></a>Object Life Cycles and Garbage Collection</h2></div></div></div><p>One of the more difficult issues to deal with was understanding
|
4
4
|
the "life cycle" of FOX objects (that is, the actual C++ objects) and
|
5
5
|
their relationship to the associated Ruby instances. Understanding this
|
6
6
|
relationship is critical when dealing with Ruby's garbage collector,
|
@@ -18,4 +18,4 @@ myButton = FXButton.new(parentWin, "Hello, World!", myIcon)</pre><p>It's importa
|
|
18
18
|
returned from most class instance methods; they are references to already-
|
19
19
|
existing objects. For example, <code class="methodname">FXStatusBar#statusline
|
20
20
|
</code> returns a reference to the status bar's enclosed status line
|
21
|
-
instance.</p><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="
|
21
|
+
instance.</p><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="d0e5299"></a>GL Objects</h3></div></div></div><p>A C++ <code class="classname">FXGLGroup</code> object owns all of the <code class="classname">FXGLObject</code> objects it "contains". In other words, when that <code class="classname">FXGLGroup</code> object is destroyed, it will also destroy all of the <code class="classname">FXGLObject</code> objects for which it holds pointers.</p><p>In order to keep track of <span class="emphasis"><em>which</em></span> GL objects have been added to an <code class="classname">FXGLGroup</code>, all of the FXRuby C++ classes derived from <code class="classname">FXGLObject</code> have a boolean member variable <em class="structfield"><code>owned</code></em> that indicates whether this object is "owned" or not. Until an <code class="classname">FXGLObject</code> object is added to a group, this member variable should stay false.</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="implementation.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="implementation.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="apes03.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Appendix E. Implementation </td><td width="20%" align="center"><a accesskey="h" href="book.html">Home</a></td><td width="40%" align="right" valign="top"> Virtual Functions</td></tr></table></div></body></html>
|
data/doc/apes03.html
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
<html><head>
|
2
2
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
3
|
-
<title>Virtual Functions</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.
|
3
|
+
<title>Virtual Functions</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook v5 XSL Stylesheets V1.72.0"><link rel="start" href="book.html" title="Developing Graphical User Interfaces with FXRuby"><link rel="up" href="implementation.html" title="Appendix E. Implementation"><link rel="prev" href="apes02.html" title="Object Life Cycles and Garbage Collection"><link rel="next" href="subversion.html" title="Appendix F. Getting the Sources from Subversion"></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">Virtual Functions</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="apes02.html">Prev</a> </td><th width="60%" align="center">Appendix E. Implementation</th><td width="20%" align="right"> <a accesskey="n" href="subversion.html">Next</a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e5333"></a>Virtual Functions</h2></div></div></div><p>
|
4
4
|
One of the design requirements for FXRuby was to ensure that any
|
5
5
|
virtual function call made on a FOX object (from the C++ library
|
6
6
|
layer) is routed to the proper Ruby instance method, even if that
|
data/doc/book.html
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
<html><head>
|
2
2
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
3
|
-
<title>Developing Graphical User Interfaces with FXRuby</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.
|
3
|
+
<title>Developing Graphical User Interfaces with FXRuby</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook v5 XSL Stylesheets V1.72.0"><link rel="start" href="book.html" title="Developing Graphical User Interfaces with FXRuby"><link rel="next" href="pt01.html" title="Part I. The Basics"></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">Developing Graphical User Interfaces with FXRuby</th></tr><tr><td width="20%" align="left"> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="pt01.html">Next</a></td></tr></table><hr></div><div class="book" lang="en"><div class="titlepage"><div><div><h1 class="title"><a name="book"></a>Developing Graphical User Interfaces with FXRuby</h1></div><div><h2 class="subtitle">Covers FXRuby Version 1.6</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Lyle</span> <span class="surname">Johnson</span></h3></div></div><div><p class="copyright">Copyright © 2006 J. Lyle Johnson</p></div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="part"><a href="pt01.html">I. The Basics</a></span></dt><dd><dl><dt><span class="preface"><a href="goals.html">History and Goals</a></span></dt><dt><span class="chapter"><a href="build.html">1. Building from Source Code</a></span></dt><dt><span class="chapter"><a href="gems.html">2. Installing from Gems</a></span></dt><dt><span class="chapter"><a href="tutorial1.html">3. Hello, World!</a></span></dt><dd><dl><dt><span class="section"><a href="tutorial1.html#d0e597">First Things First</a></span></dt><dt><span class="section"><a href="ch03s02.html">Better living through buttons</a></span></dt><dt><span class="section"><a href="ch03s03.html">Messages</a></span></dt><dt><span class="section"><a href="ch03s04.html">Adding a tool tip</a></span></dt><dt><span class="section"><a href="ch03s05.html">Adding an icon</a></span></dt></dl></dd><dt><span class="chapter"><a href="clipboardtut.html">4. Working With the Clipboard</a></span></dt><dd><dl><dt><span class="section"><a href="clipboardtut.html#d0e986">Basic Application</a></span></dt><dt><span class="section"><a href="ch04s02.html">Acquiring the Clipboard</a></span></dt><dt><span class="section"><a href="ch04s03.html">Sending Data to the Clipboard</a></span></dt><dt><span class="section"><a href="ch04s04.html">Pasting Data from the Clipboard</a></span></dt></dl></dd><dt><span class="chapter"><a href="dragdroptut.html">5. Drag and Drop</a></span></dt><dd><dl><dt><span class="section"><a href="dragdroptut.html#d0e1201">Drop Sites</a></span></dt><dt><span class="section"><a href="ch05s02.html">Drag Sources</a></span></dt><dt><span class="section"><a href="ch05s03.html">Putting It All Together</a></span></dt></dl></dd><dt><span class="chapter"><a href="unicode.html">6. Unicode and FXRuby</a></span></dt><dd><dl><dt><span class="section"><a href="unicode.html#d0e1608">Basic Application</a></span></dt></dl></dd><dt><span class="chapter"><a href="examples.html">7. Examples</a></span></dt><dt><span class="chapter"><a href="events.html">8. FXRuby's Message-Target System</a></span></dt><dt><span class="chapter"><a href="todo.html">9. To-do list</a></span></dt><dt><span class="chapter"><a href="infosources.html">10. Other Sources of Information</a></span></dt><dt><span class="chapter"><a href="changes.html">11. Change History</a></span></dt></dl></dd><dt><span class="part"><a href="pt02.html">II. Appendices</a></span></dt><dd><dl><dt><span class="appendix"><a href="opengl.html">A. Using OpenGL with FXRuby</a></span></dt><dt><span class="appendix"><a href="scintilla.html">B. Using Scintilla with FXRuby</a></span></dt><dt><span class="appendix"><a href="differences.html">C. Differences between FOX and FXRuby</a></span></dt><dt><span class="appendix"><a href="library.html">D. The FXRuby Standard Library</a></span></dt><dt><span class="appendix"><a href="implementation.html">E. Implementation</a></span></dt><dd><dl><dt><span class="section"><a href="implementation.html#d0e5261">Code Generation</a></span></dt><dt><span class="section"><a href="apes02.html">Object Life Cycles and Garbage Collection</a></span></dt><dd><dl><dt><span class="section"><a href="apes02.html#d0e5299">GL Objects</a></span></dt></dl></dd><dt><span class="section"><a href="apes03.html">Virtual Functions</a></span></dt></dl></dd><dt><span class="appendix"><a href="subversion.html">F. Getting the Sources from Subversion</a></span></dt></dl></dd></dl></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="pt01.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"> </td><td width="40%" align="right" valign="top"> Part I. The Basics</td></tr></table></div></body></html>
|
data/doc/build.html
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
<html><head>
|
2
2
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
3
|
-
<title>Chapter 1. Building from Source Code</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.
|
4
|
-
<a href="http://rubyinstaller.rubyforge.org" target="_top">Ruby Installer for
|
3
|
+
<title>Chapter 1. Building from Source Code</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook v5 XSL Stylesheets V1.72.0"><link rel="start" href="book.html" title="Developing Graphical User Interfaces with FXRuby"><link rel="up" href="pt01.html" title="Part I. The Basics"><link rel="prev" href="goals.html" title="History and Goals"><link rel="next" href="gems.html" title="Chapter 2. Installing from Gems"></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 1. Building from Source Code</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="goals.html">Prev</a> </td><th width="60%" align="center">Part I. The Basics</th><td width="20%" align="right"> <a accesskey="n" href="gems.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="build"></a>Chapter 1. Building from Source Code</h2></div></div></div><p>A few words of advice, before getting started:</p><div class="itemizedlist"><ul type="bullet"><li style="list-style-type: disc"><p>If you're planning to use FXRuby on Windows, with the standard
|
4
|
+
<a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyinstaller.rubyforge.org" target="_top">Ruby Installer for
|
5
5
|
Windows</a>, you may wish to just download the pre-compiled binaries
|
6
|
-
from the <a href="http://rubyforge.org/projects/fxruby" target="_top">RubyForge
|
6
|
+
from the <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/projects/fxruby" target="_top">RubyForge
|
7
7
|
project page</a> for FXRuby.</p></li><li style="list-style-type: disc"><p>If you're planning to use FXRuby on Mac OS X, you may want to
|
8
|
-
consult <a href="http://www.fox-toolkit.net/cgi-bin/wiki.pl?Mac_OS_X" target="_top">this
|
9
|
-
page</a> from the <a href="http://www.fox-toolkit.net" target="_top">FOX
|
8
|
+
consult <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.fox-toolkit.net/cgi-bin/wiki.pl?Mac_OS_X" target="_top">this
|
9
|
+
page</a> from the <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.fox-toolkit.net" target="_top">FOX
|
10
10
|
Community Wiki</a>, in addition to the standard build instructions
|
11
11
|
listed below.</p></li></ul></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e92"></a>Building From Source on Unix/Linux</h2></div></div></div><p>These instructions assume that you've already downloaded, compiled
|
12
12
|
and installed FOX. Next, you'll need to download the FXRuby source code
|
data/doc/ch03s02.html
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
<html><head>
|
2
2
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
3
|
-
<title>Better living through buttons</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.
|
3
|
+
<title>Better living through buttons</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook v5 XSL Stylesheets V1.72.0"><link rel="start" href="book.html" title="Developing Graphical User Interfaces with FXRuby"><link rel="up" href="tutorial1.html" title="Chapter 3. Hello, World!"><link rel="prev" href="tutorial1.html" title="Chapter 3. Hello, World!"><link rel="next" href="ch03s03.html" title="Messages"></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">Better living through buttons</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="tutorial1.html">Prev</a> </td><th width="60%" align="center">Chapter 3. Hello, World!</th><td width="20%" align="right"> <a accesskey="n" href="ch03s03.html">Next</a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e724"></a>Better living through buttons</h2></div></div></div><p>Obviously, we need to add a few things to make it more interesting.
|
4
4
|
Let's start by putting a button inside the main window. The
|
5
5
|
<code class="classname">FXButton</code> class provides a standard push-button
|
6
6
|
widget:</p><pre class="programlisting">require 'fox16'
|
data/doc/ch03s03.html
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
<html><head>
|
2
2
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
3
|
-
<title>Messages</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.
|
3
|
+
<title>Messages</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook v5 XSL Stylesheets V1.72.0"><link rel="start" href="book.html" title="Developing Graphical User Interfaces with FXRuby"><link rel="up" href="tutorial1.html" title="Chapter 3. Hello, World!"><link rel="prev" href="ch03s02.html" title="Better living through buttons"><link rel="next" href="ch03s04.html" title="Adding a tool tip"></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">Messages</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch03s02.html">Prev</a> </td><th width="60%" align="center">Chapter 3. Hello, World!</th><td width="20%" align="right"> <a accesskey="n" href="ch03s04.html">Next</a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e755"></a>Messages</h2></div></div></div><p>Now we're cookin' with Crisco, but let's press on and see what other
|
4
4
|
things we can do to improve this. You may have noticed by now that the
|
5
5
|
only way to quit the program is to close the window using the window
|
6
6
|
manager's "close window" option, or to just kill the program outright. We
|
data/doc/ch03s04.html
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
<html><head>
|
2
2
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
3
|
-
<title>Adding a tool tip</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.
|
3
|
+
<title>Adding a tool tip</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook v5 XSL Stylesheets V1.72.0"><link rel="start" href="book.html" title="Developing Graphical User Interfaces with FXRuby"><link rel="up" href="tutorial1.html" title="Chapter 3. Hello, World!"><link rel="prev" href="ch03s03.html" title="Messages"><link rel="next" href="ch03s05.html" title="Adding an icon"></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">Adding a tool tip</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch03s03.html">Prev</a> </td><th width="60%" align="center">Chapter 3. Hello, World!</th><td width="20%" align="right"> <a accesskey="n" href="ch03s05.html">Next</a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e846"></a>Adding a tool tip</h2></div></div></div><p>To wrap up this introduction, we'd like to add a few finishing
|
4
4
|
touches to the program. The first addition is to add a tool tip to the
|
5
5
|
button, such that when the mouse cursor hovers over the button for a short
|
6
6
|
while, it will pop up a little message describing what the button
|
data/doc/ch03s05.html
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
<html><head>
|
2
2
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
3
|
-
<title>Adding an icon</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.
|
3
|
+
<title>Adding an icon</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook v5 XSL Stylesheets V1.72.0"><link rel="start" href="book.html" title="Developing Graphical User Interfaces with FXRuby"><link rel="up" href="tutorial1.html" title="Chapter 3. Hello, World!"><link rel="prev" href="ch03s04.html" title="Adding a tool tip"><link rel="next" href="clipboardtut.html" title="Chapter 4. Working With the Clipboard"></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">Adding an icon</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch03s04.html">Prev</a> </td><th width="60%" align="center">Chapter 3. Hello, World!</th><td width="20%" align="right"> <a accesskey="n" href="clipboardtut.html">Next</a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e883"></a>Adding an icon</h2></div></div></div><p>The final change is to add an icon to the button to make things a
|
4
4
|
little more festive. FOX supports all of the popular image file formats
|
5
5
|
(e.g. BMP, GIF, JPEG, PNG and TIFF) and you can use any of them as icons
|
6
6
|
on buttons and labels. For this example, we'll use the one of the "Powered
|
7
|
-
By Ruby" images created by Hal Fulton (and posted at the <a href="http://www.rubygarden.org/ruby?PoweredByRubyButtons" target="_top">Ruby Garden
|
7
|
+
By Ruby" images created by Hal Fulton (and posted at the <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.rubygarden.org/ruby?PoweredByRubyButtons" target="_top">Ruby Garden
|
8
8
|
Wiki</a>):</p><pre class="programlisting">require 'fox16'
|
9
9
|
|
10
10
|
include Fox
|
data/doc/ch04s02.html
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
<html><head>
|
2
2
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
3
|
-
<title>Acquiring the Clipboard</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.
|
3
|
+
<title>Acquiring the Clipboard</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook v5 XSL Stylesheets V1.72.0"><link rel="start" href="book.html" title="Developing Graphical User Interfaces with FXRuby"><link rel="up" href="clipboardtut.html" title="Chapter 4. Working With the Clipboard"><link rel="prev" href="clipboardtut.html" title="Chapter 4. Working With the Clipboard"><link rel="next" href="ch04s03.html" title="Sending Data to the Clipboard"></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">Acquiring the Clipboard</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="clipboardtut.html">Prev</a> </td><th width="60%" align="center">Chapter 4. Working With the Clipboard</th><td width="20%" align="right"> <a accesskey="n" href="ch04s03.html">Next</a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e1005"></a>Acquiring the Clipboard</h2></div></div></div><p>Let's begin by augmenting the GUI to include a row of buttons along
|
4
4
|
the bottom of the main window for copying and pasting:</p><pre class="programlisting">require 'rubygems'
|
5
5
|
require_gem 'fxruby'
|
6
6
|
require 'customer'
|
data/doc/ch04s03.html
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
<html><head>
|
2
2
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
3
|
-
<title>Sending Data to the Clipboard</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.
|
3
|
+
<title>Sending Data to the Clipboard</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook v5 XSL Stylesheets V1.72.0"><link rel="start" href="book.html" title="Developing Graphical User Interfaces with FXRuby"><link rel="up" href="clipboardtut.html" title="Chapter 4. Working With the Clipboard"><link rel="prev" href="ch04s02.html" title="Acquiring the Clipboard"><link rel="next" href="ch04s04.html" title="Pasting Data from the Clipboard"></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">Sending Data to the Clipboard</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch04s02.html">Prev</a> </td><th width="60%" align="center">Chapter 4. Working With the Clipboard</th><td width="20%" align="right"> <a accesskey="n" href="ch04s04.html">Next</a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e1054"></a>Sending Data to the Clipboard</h2></div></div></div><p>Whenever some other window requests the clipboard's contents (e.g.
|
4
4
|
as a result of a "paste" operation) FOX will send a
|
5
5
|
<code class="constant">SEL_CLIPBOARD_REQUEST</code> message to the current
|
6
6
|
clipboard owner. Remember, the clipboard owner is the window that called
|
data/doc/ch04s04.html
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
<html><head>
|
2
2
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
3
|
-
<title>Pasting Data from the Clipboard</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.
|
3
|
+
<title>Pasting Data from the Clipboard</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook v5 XSL Stylesheets V1.72.0"><link rel="start" href="book.html" title="Developing Graphical User Interfaces with FXRuby"><link rel="up" href="clipboardtut.html" title="Chapter 4. Working With the Clipboard"><link rel="prev" href="ch04s03.html" title="Sending Data to the Clipboard"><link rel="next" href="dragdroptut.html" title="Chapter 5. Drag and Drop"></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">Pasting Data from the Clipboard</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch04s03.html">Prev</a> </td><th width="60%" align="center">Chapter 4. Working With the Clipboard</th><td width="20%" align="right"> <a accesskey="n" href="dragdroptut.html">Next</a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e1105"></a>Pasting Data from the Clipboard</h2></div></div></div><p>We've seen one side of the equation, copying string data to the
|
4
4
|
clipboard. But before we can "round-trip" that customer data and paste it
|
5
5
|
back into another copy of our customer list application, we're clearly
|
6
6
|
going to need to transfer the data in some more useful format. That is to
|
data/doc/ch05s02.html
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
<html><head>
|
2
2
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
3
|
-
<title>Drag Sources</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.
|
3
|
+
<title>Drag Sources</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook v5 XSL Stylesheets V1.72.0"><link rel="start" href="book.html" title="Developing Graphical User Interfaces with FXRuby"><link rel="up" href="dragdroptut.html" title="Chapter 5. Drag and Drop"><link rel="prev" href="dragdroptut.html" title="Chapter 5. Drag and Drop"><link rel="next" href="ch05s03.html" title="Putting It All Together"></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">Drag Sources</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="dragdroptut.html">Prev</a> </td><th width="60%" align="center">Chapter 5. Drag and Drop</th><td width="20%" align="right"> <a accesskey="n" href="ch05s03.html">Next</a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e1353"></a>Drag Sources</h2></div></div></div><p>As before, we're going to start by presenting a skeleton application
|
4
4
|
consisting of a main window widget (a <code class="classname">DragSource</code>
|
5
5
|
instance) that parents an <code class="classname">FXCanvas</code> widget:</p><pre class="programlisting">require 'rubygems'
|
6
6
|
require_gem 'fxruby'
|
data/doc/ch05s03.html
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
<html><head>
|
2
2
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
3
|
-
<title>Putting It All Together</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.
|
3
|
+
<title>Putting It All Together</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook v5 XSL Stylesheets V1.72.0"><link rel="start" href="book.html" title="Developing Graphical User Interfaces with FXRuby"><link rel="up" href="dragdroptut.html" title="Chapter 5. Drag and Drop"><link rel="prev" href="ch05s02.html" title="Drag Sources"><link rel="next" href="unicode.html" title="Chapter 6. Unicode and FXRuby"></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">Putting It All Together</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch05s02.html">Prev</a> </td><th width="60%" align="center">Chapter 5. Drag and Drop</th><td width="20%" align="right"> <a accesskey="n" href="unicode.html">Next</a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e1547"></a>Putting It All Together</h2></div></div></div><p>We've studied drag-and-drop enabled applications from two points of
|
4
4
|
view, that of a drag source and that of a drop site. But for most
|
5
5
|
applications, you'll want a window to act as both a drag source
|
6
6
|
<span class="emphasis"><em>and</em></span> a drop site. As it turns out, this is just a
|
data/doc/changes.html
CHANGED
@@ -1,29 +1,30 @@
|
|
1
1
|
<html><head>
|
2
2
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
3
|
-
<title>Chapter 11. Change History</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.
|
4
|
-
|
3
|
+
<title>Chapter 11. Change History</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook v5 XSL Stylesheets V1.72.0"><link rel="start" href="book.html" title="Developing Graphical User Interfaces with FXRuby"><link rel="up" href="pt01.html" title="Part I. The Basics"><link rel="prev" href="infosources.html" title="Chapter 10. 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 11. 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 11. Change History</h2></div></div></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e2429"></a>Changes For Version 1.6.7 (March 31, 2007)</h2></div></div></div><div class="itemizedlist"><ul type="bullet"><li style="list-style-type: disc"><p>The binary gem for Windows was built with FOX version 1.6.25 and
|
4
|
+
FXScintilla version 1.71.</p></li></ul></div></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e2436"></a>Changes For Version 1.6.6 (February 10, 2007)</h2></div></div></div><div class="itemizedlist"><ul type="bullet"><li style="list-style-type: disc"><p>Somewhere along the way, the RAA browser example program got
|
5
|
+
broken due to changes in the SOAP interface to RAA (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=7977&group_id=300&atid=1223" target="_top">RubyForge
|
5
6
|
Bug #7977</a>). This has been fixed.</p></li><li style="list-style-type: disc"><p>Some debugging code that was meant to detect errors in FXRuby
|
6
7
|
message data conversion was inadvertently causing some user
|
7
|
-
applications to crash when running under Windows (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=8049&group_id=300&atid=1223" target="_top">RubyForge
|
8
|
+
applications to crash when running under Windows (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=8049&group_id=300&atid=1223" target="_top">RubyForge
|
8
9
|
Bug #8049</a>). This debugging code has been changed to avoid the
|
9
10
|
problem.</p></li><li style="list-style-type: disc"><p>Modified the implementations of the each iterator methods for
|
10
11
|
<code class="classname">FXFoldingList</code>,
|
11
12
|
<code class="classname">FXFoldingItem</code>,
|
12
13
|
<code class="classname">FXTreeItem</code>, <code class="classname">FXTreeList</code>
|
13
|
-
and <code class="classname">FXTreeListBox</code> (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=8090&group_id=300&atid=1223" target="_top">RubyForge
|
14
|
+
and <code class="classname">FXTreeListBox</code> (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=8090&group_id=300&atid=1223" target="_top">RubyForge
|
14
15
|
Bug #8090</a>). The new implementation is a bit more robust in
|
15
16
|
terms of modifications (such as deletion) of the iterated-over
|
16
17
|
elements.</p></li><li style="list-style-type: disc"><p>A bug in the new keyword arguments library (introduced in
|
17
18
|
version 1.6.5) caused the <code class="methodname">initialize</code> method
|
18
19
|
for the <code class="classname">FXDCWindow</code> class to do the wrong thing
|
19
|
-
(see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=8441&group_id=300&atid=1223" target="_top">RubyForge
|
20
|
+
(see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=8441&group_id=300&atid=1223" target="_top">RubyForge
|
20
21
|
Bug #8441</a>). This has been corrected.</p></li><li style="list-style-type: disc"><p>A different bug in the keyword arguments library caused the
|
21
22
|
<code class="methodname">initialize</code> method for the
|
22
|
-
<code class="classname">FXFont</code> class to do the wrong thing (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=8517&group_id=300&atid=1223" target="_top">RubyForge
|
23
|
+
<code class="classname">FXFont</code> class to do the wrong thing (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=8517&group_id=300&atid=1223" target="_top">RubyForge
|
23
24
|
Bug #8517</a>). This also has been corrected.</p></li><li style="list-style-type: disc"><p>Yet another bug in the keyword arguments library broke the part
|
24
25
|
of the code that used to yield <code class="constant">self</code> to an
|
25
26
|
optional block attached to the call to <code class="methodname">new</code>
|
26
|
-
(see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=8518&group_id=300&atid=1223" target="_top">RubyForge
|
27
|
+
(see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=8518&group_id=300&atid=1223" target="_top">RubyForge
|
27
28
|
Bug #8518</a>). This has been corrected.</p></li><li style="list-style-type: disc"><p>Most of the FXRuby example programs have been updated to use the
|
28
29
|
keyword arguments library.</p></li><li style="list-style-type: disc"><p>Added a new "virtual" keyword argument
|
29
30
|
<code class="constant">:padding</code> that can be used in place of (or in
|
@@ -34,46 +35,46 @@
|
|
34
35
|
hash, that value will be used for any of the four regular padding
|
35
36
|
values that aren't otherwise specified. See the example programs for,
|
36
37
|
you know, examples.</p></li><li style="list-style-type: disc"><p>The binary gem for Windows was built with FOX version 1.6.20 and
|
37
|
-
FXScintilla version 1.71.</p></li></ul></div></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="
|
38
|
+
FXScintilla version 1.71.</p></li></ul></div></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e2536"></a>Changes For Version 1.6.5 (January 20, 2007)</h2></div></div></div><div class="itemizedlist"><ul type="bullet"><li style="list-style-type: disc"><p>Clicking outside of the visible cells for an
|
38
39
|
<code class="classname">FXTable</code> when there was no current selection
|
39
|
-
caused the code to raise an exception (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=5907&group_id=300&atid=1223" target="_top">RubyForge
|
40
|
+
caused the code to raise an exception (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=5907&group_id=300&atid=1223" target="_top">RubyForge
|
40
41
|
Bug #5907</a>). This problem has been fixed.</p></li><li style="list-style-type: disc"><p>The <code class="methodname">hasTimeout?</code> method for the
|
41
42
|
<code class="classname">FXApp</code> class was implemented incorrectly (see
|
42
|
-
<a href="http://rubyforge.org/tracker/index.php?func=detail&aid=7564&group_id=300&atid=1223" target="_top">RubyForge
|
43
|
+
<a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=7564&group_id=300&atid=1223" target="_top">RubyForge
|
43
44
|
Bug #7564</a>). This problem has been fixed.</p></li><li style="list-style-type: disc"><p>The <code class="classname">FXFoldingList</code> and
|
44
45
|
<code class="classname">FXFoldingItem</code> classes did not have each
|
45
|
-
iterator methods like most of the other list-based widgets (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=7978&group_id=300&atid=1225" target="_top">RubyForge
|
46
|
+
iterator methods like most of the other list-based widgets (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=7978&group_id=300&atid=1225" target="_top">RubyForge
|
46
47
|
Patch #7978</a>). These have been added.</p></li><li style="list-style-type: disc"><p>The API documentation for <code class="classname">FXMDIClient</code>
|
47
48
|
claimed that <code class="classname">FXScrollArea</code> was its base class
|
48
|
-
(see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=7979&group_id=300&atid=1223" target="_top">RubyForge
|
49
|
+
(see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=7979&group_id=300&atid=1223" target="_top">RubyForge
|
49
50
|
Bug #7979</a>). This has been corrected; the base class for
|
50
51
|
<code class="classname">FXMDIClient</code> is
|
51
52
|
<code class="classname">FXComposite</code>.</p></li><li style="list-style-type: disc"><p>There was a small typo in the documentation for the
|
52
|
-
<code class="classname">FXFoldingList</code> class options (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=7981&group_id=300&atid=1223" target="_top">RubyForge
|
53
|
+
<code class="classname">FXFoldingList</code> class options (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=7981&group_id=300&atid=1223" target="_top">RubyForge
|
53
54
|
Bug #7981</a>). This has been fixed.</p></li><li style="list-style-type: disc"><p>Added preliminary support for keyword-style arguments, as
|
54
|
-
described in the <a href="http://www.fxruby.org/doc/differences.html" target="_top">"Differences Between
|
55
|
-
FOX and FXRuby"</a> section of the <a href="http://www.fxruby.org/doc/book.html" target="_top">FXRuby User's
|
55
|
+
described in the <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.fxruby.org/doc/differences.html" target="_top">"Differences Between
|
56
|
+
FOX and FXRuby"</a> section of the <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.fxruby.org/doc/book.html" target="_top">FXRuby User's
|
56
57
|
Guide</a>.</p></li><li style="list-style-type: disc"><p>The binary gem for Windows was built with FOX version 1.6.20 and
|
57
|
-
FXScintilla version 1.71.</p></li></ul></div></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="
|
58
|
+
FXScintilla version 1.71.</p></li></ul></div></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e2612"></a>Changes For Version 1.6.4 (November 30, 2006)</h2></div></div></div><div class="itemizedlist"><ul type="bullet"><li style="list-style-type: disc"><p>A change made in Ruby 1.8.5 for cyclic requires led to a problem
|
58
59
|
that caused the Ruby interpreter to emit a large number of warnings
|
59
|
-
(see <a href="http://rubyforge.org/tracker/?func=detail&aid=5633&group_id=300&atid=1223" target="_top">RubyForge
|
60
|
+
(see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/?func=detail&aid=5633&group_id=300&atid=1223" target="_top">RubyForge
|
60
61
|
Bug #5633</a>). This problem has been fixed.</p></li><li style="list-style-type: disc"><p>The binary gem for Windows was built with FOX version 1.6.16 and
|
61
|
-
FXScintilla version 1.71.</p></li></ul></div></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="
|
62
|
+
FXScintilla version 1.71.</p></li></ul></div></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e2625"></a>Changes For Version 1.6.3 (October 27, 2006)</h2></div></div></div><div class="itemizedlist"><ul type="bullet"><li style="list-style-type: disc"><p>Widgets of some classes (namely
|
62
63
|
<code class="classname">FXTopWindow</code> and
|
63
64
|
<code class="classname">FXMDIChild</code>) weren't properly sending a
|
64
65
|
<code class="constant">SEL_CLOSE</code> message to their message targets (see
|
65
|
-
<a href="http://rubyforge.org/tracker/index.php?func=detail&aid=5498&group_id=300&atid=1223" target="_top">RubyForge
|
66
|
+
<a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=5498&group_id=300&atid=1223" target="_top">RubyForge
|
66
67
|
Bug #5498</a>). Thanks to a change in FOX version 1.6.16, this
|
67
68
|
problem has been fixed.</p></li><li style="list-style-type: disc"><p>The <code class="methodname">getControlFor</code> method for the
|
68
69
|
<code class="classname">FXComboTableItem</code> class was coded incorrectly
|
69
|
-
(see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=5906&group_id=300&atid=1223" target="_top">RubyForge
|
70
|
+
(see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=5906&group_id=300&atid=1223" target="_top">RubyForge
|
70
71
|
Bug #5906</a>). This has been fixed.</p></li><li style="list-style-type: disc"><p>There was a minor typo in the API documentation for the
|
71
72
|
<span class="application"><code class="classname">FXTriStateButton</code></span>
|
72
|
-
class (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=5962&group_id=300&atid=1223" target="_top">RubyForge
|
73
|
+
class (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=5962&group_id=300&atid=1223" target="_top">RubyForge
|
73
74
|
Bug #5962</a>). This has been fixed.</p></li><li style="list-style-type: disc"><p>The <code class="methodname">each_row</code> and
|
74
75
|
<code class="methodname">each_column</code> iterator methods for the
|
75
76
|
<code class="classname">FXTable</code> class were incorrectly coded (see
|
76
|
-
<a href="http://rubyforge.org/tracker/index.php?func=detail&aid=6036&group_id=300&atid=1223" target="_top">RubyForge
|
77
|
+
<a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=6036&group_id=300&atid=1223" target="_top">RubyForge
|
77
78
|
Bug #6036</a>). This has been fixed.</p></li><li style="list-style-type: disc"><p>The <code class="methodname">new</code> class methods for
|
78
79
|
<code class="classname">FXColorItem</code>, <code class="classname">FXDirItem</code>,
|
79
80
|
<code class="classname">FXFileItem</code>,
|
@@ -82,82 +83,82 @@
|
|
82
83
|
<code class="classname">FXIconItem</code>, <code class="classname">FXListItem</code>
|
83
84
|
and <code class="classname">FXTreeItem</code> were all raising exceptions when
|
84
85
|
a non-<code class="constant">nil</code> value was passed in for the last
|
85
|
-
argument (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=6197&group_id=300&atid=1223" target="_top">RubyForge
|
86
|
+
argument (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=6197&group_id=300&atid=1223" target="_top">RubyForge
|
86
87
|
Bug #6197</a>). A similar problem was present for various instance
|
87
88
|
methods in the <code class="classname">FXColorList</code>,
|
88
89
|
<code class="classname">FXListBox</code> and
|
89
90
|
<code class="classname">FXMDIClient</code> classes. These problems have been
|
90
91
|
fixed.</p></li><li style="list-style-type: disc"><p>A few problems were discovered for the
|
91
|
-
<code class="filename">inputs.rb</code> example program (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=6209&group_id=300&atid=1223" target="_top">RubyForge
|
92
|
+
<code class="filename">inputs.rb</code> example program (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=6209&group_id=300&atid=1223" target="_top">RubyForge
|
92
93
|
Bug #6209</a>). These problems have been fixed.</p></li><li style="list-style-type: disc"><p>Several instance methods for the <code class="classname">FXTable</code>
|
93
94
|
class were not actually present under their documented names (see
|
94
|
-
<a href="http://rubyforge.org/tracker/index.php?func=detail&aid=6211&group_id=300&atid=1223" target="_top">RubyForge
|
95
|
+
<a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=6211&group_id=300&atid=1223" target="_top">RubyForge
|
95
96
|
Bug #6211</a>). This has been fixed.</p></li><li style="list-style-type: disc"><p>The build script was not compatible with changes made in the
|
96
|
-
recently-released FXScintilla 1.71 (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=6313&group_id=300&atid=1223" target="_top">RubyForge
|
97
|
+
recently-released FXScintilla 1.71 (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=6313&group_id=300&atid=1223" target="_top">RubyForge
|
97
98
|
Bug #6313</a>). This has been fixed.</p></li><li style="list-style-type: disc"><p>The binary gem for Windows was built with FOX version 1.6.16 and
|
98
|
-
FXScintilla version 1.71.</p></li></ul></div></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="
|
99
|
+
FXScintilla version 1.71.</p></li></ul></div></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e2753"></a>Changes For Version 1.6.2 (September 13, 2006)</h2></div></div></div><div class="itemizedlist"><ul type="bullet"><li style="list-style-type: disc"><p>The <code class="methodname">expandTree()</code> and
|
99
100
|
<code class="methodname">collapseTree()</code> methods for the
|
100
101
|
<code class="classname">FXFoldingList</code> class were incorrectly identified
|
101
102
|
as <code class="methodname">expandFolding()</code> and
|
102
103
|
<code class="methodname">collapseFolding()</code> in the API documentation
|
103
|
-
(see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=5354&group_id=300&atid=1223" target="_top">RubyForge
|
104
|
+
(see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=5354&group_id=300&atid=1223" target="_top">RubyForge
|
104
105
|
Bug #5354</a>). This has been fixed.</p></li><li style="list-style-type: disc"><p>The <code class="classname">FXDockTitle</code> class was not supported
|
105
|
-
(see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=5632&group_id=300&atid=1223" target="_top">RubyForge
|
106
|
+
(see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=5632&group_id=300&atid=1223" target="_top">RubyForge
|
106
107
|
Bug #5632</a>). This has been fixed.</p></li><li style="list-style-type: disc"><p>The API documentation for the <code class="classname">FXGLCanvas</code>
|
107
108
|
class claimed it had a <code class="methodname">shared?</code> method, but it
|
108
|
-
didn't (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=5591&group_id=300&atid=1223" target="_top">RubyForge
|
109
|
+
didn't (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=5591&group_id=300&atid=1223" target="_top">RubyForge
|
109
110
|
Bug #5591</a>). Now it does.</p></li><li style="list-style-type: disc"><p>The <code class="classname">FXGradientBar</code> class was not supported
|
110
|
-
(see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=5746&group_id=300&atid=1223" target="_top">RubyForge
|
111
|
+
(see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=5746&group_id=300&atid=1223" target="_top">RubyForge
|
111
112
|
Bug #5746</a>). This has been fixed.</p></li><li style="list-style-type: disc"><p>The binary gem for Windows was built with FOX version 1.6.14 and
|
112
|
-
FXScintilla version 1.67 (from CVS).</p></li></ul></div></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="
|
113
|
+
FXScintilla version 1.67 (from CVS).</p></li></ul></div></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e2811"></a>Changes For Version 1.4.7 (September 13, 2006)</h2></div></div></div><div class="itemizedlist"><ul type="bullet"><li style="list-style-type: disc"><p>The <code class="methodname">children</code> instance method for the
|
113
114
|
<code class="classname">FXWindow</code> class always returned an array of
|
114
115
|
<code class="classname">FXWindow</code> instances, even if the actual types
|
115
116
|
should have been instances of subclasses of
|
116
|
-
<code class="classname">FXWindow</code> (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=4342&group_id=300&atid=1223" target="_top">RubyForge
|
117
|
+
<code class="classname">FXWindow</code> (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=4342&group_id=300&atid=1223" target="_top">RubyForge
|
117
118
|
Bug #4342</a>). This has been fixed.</p></li><li style="list-style-type: disc"><p>The <code class="filename">dilbert.rb</code> example program was broken
|
118
|
-
due to a change in the Dilbert.com web site structure (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=4597&group_id=300&atid=1223" target="_top">RubyForge
|
119
|
+
due to a change in the Dilbert.com web site structure (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=4597&group_id=300&atid=1223" target="_top">RubyForge
|
119
120
|
Bug #4597</a>). This has been fixed.</p></li><li style="list-style-type: disc"><p>The <code class="methodname">expandTree()</code> and
|
120
121
|
<code class="methodname">collapseTree()</code> methods for the
|
121
122
|
<code class="classname">FXFoldingList</code> class were incorrectly identified
|
122
123
|
as <code class="methodname">expandFolding()</code> and
|
123
124
|
<code class="methodname">collapseFolding()</code> in the API documentation
|
124
|
-
(see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=5354&group_id=300&atid=1223" target="_top">RubyForge
|
125
|
+
(see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=5354&group_id=300&atid=1223" target="_top">RubyForge
|
125
126
|
Bug #5354</a>). This has been fixed.</p></li><li style="list-style-type: disc"><p>The <code class="classname">FXDockTitle</code> class was not supported
|
126
|
-
(see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=5632&group_id=300&atid=1223" target="_top">RubyForge
|
127
|
+
(see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=5632&group_id=300&atid=1223" target="_top">RubyForge
|
127
128
|
Bug #5632</a>). This has been fixed.</p></li><li style="list-style-type: disc"><p>The API documentation for the <code class="classname">FXGLCanvas</code>
|
128
129
|
class claimed it had a <code class="methodname">shared?</code> method, but it
|
129
|
-
didn't (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=5591&group_id=300&atid=1223" target="_top">RubyForge
|
130
|
+
didn't (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=5591&group_id=300&atid=1223" target="_top">RubyForge
|
130
131
|
Bug #5591</a>). Now it does.</p></li><li style="list-style-type: disc"><p>The <code class="classname">FXGradientBar</code> class was not supported
|
131
|
-
(see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=5746&group_id=300&atid=1223" target="_top">RubyForge
|
132
|
+
(see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=5746&group_id=300&atid=1223" target="_top">RubyForge
|
132
133
|
Bug #5746</a>). This has been fixed.</p></li><li style="list-style-type: disc"><p>The binary gem for Windows was built with FOX version 1.4.34 and
|
133
|
-
FXScintilla version 1.63.</p></li></ul></div></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="
|
134
|
+
FXScintilla version 1.63.</p></li></ul></div></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e2896"></a>Changes For Version 1.6.1 (July 21, 2006)</h2></div></div></div><div class="itemizedlist"><ul type="bullet"><li style="list-style-type: disc"><p>The message data sent along for the
|
134
135
|
<code class="constant">SEL_INSERTED</code>, <code class="constant">SEL_DELETED</code>
|
135
136
|
and <code class="constant">SEL_REPLACED</code> messages from an a
|
136
137
|
<code class="classname">FXText</code> widget to its target was not being
|
137
|
-
converted properly (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=4666&group_id=300&atid=1223" target="_top">RubyForge
|
138
|
+
converted properly (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=4666&group_id=300&atid=1223" target="_top">RubyForge
|
138
139
|
Bug #4666</a>). This has been fixed.</p></li><li style="list-style-type: disc"><p>The code related to the localization of application messages in
|
139
140
|
FOX wasn't implemented properly in FXRuby, and as a result,
|
140
141
|
constructing certain dialogs (like the color dialog) could cause a
|
141
|
-
program to crash (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=5000&group_id=300&atid=1223" target="_top">RubyForge
|
142
|
+
program to crash (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=5000&group_id=300&atid=1223" target="_top">RubyForge
|
142
143
|
Bug #5000</a>). This has been fixed.</p></li><li style="list-style-type: disc"><p>The "Stop Spin" button in the gltest.rb example program didn't
|
143
144
|
stop the cubes from spinning after either the "Spin Timer" or "Spin
|
144
|
-
Chore" option was selected (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=5001&group_id=300&atid=1223" target="_top">RubyForge
|
145
|
+
Chore" option was selected (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=5001&group_id=300&atid=1223" target="_top">RubyForge
|
145
146
|
Bug #5001</a>). This was actually a symptom of a larger problem,
|
146
147
|
that FXRuby wasn't properly handling timers and chores. These problems
|
147
148
|
have been fixed.</p></li><li style="list-style-type: disc"><p>Setting the current item for an
|
148
149
|
<code class="classname">FXComboBox</code> to -1 (to indicate that there's no
|
149
150
|
current item) would cause FXRuby to erroneously raise an
|
150
|
-
<code class="classname">IndexError</code> (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=5007&group_id=300&atid=1223" target="_top">RubyForge
|
151
|
+
<code class="classname">IndexError</code> (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=5007&group_id=300&atid=1223" target="_top">RubyForge
|
151
152
|
Bug #5007</a>). This has been fixed.</p></li><li style="list-style-type: disc"><p>The documentation for the <code class="methodname">reparent</code>
|
152
153
|
instance method for the <code class="classname">FXWindow</code> class was
|
153
|
-
incorrect (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=5035&group_id=300&atid=1223" target="_top">RubyForge
|
154
|
+
incorrect (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=5035&group_id=300&atid=1223" target="_top">RubyForge
|
154
155
|
Bug #5035</a>). This has been fixed.</p></li><li style="list-style-type: disc"><p>The <code class="filename">textedit.rb</code> example program was not up
|
155
156
|
to date with some of the changes for FOX 1.6. This example has been
|
156
157
|
updated.</p></li><li style="list-style-type: disc"><p>The new <code class="methodname">font</code> method for the
|
157
158
|
<code class="classname">FXFont</code> class was not documented. This has been
|
158
159
|
fixed.</p></li><li style="list-style-type: disc"><p>The <code class="filename">dilbert.rb</code> example program has been
|
159
160
|
modified to use the RubyfulSoup HTML library instead of the
|
160
|
-
html-parser library.</p></li><li style="list-style-type: disc"><p>As discussed in various forums (see for example <a href="http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/182827" target="_top">this
|
161
|
+
html-parser library.</p></li><li style="list-style-type: disc"><p>As discussed in various forums (see for example <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/182827" target="_top">this
|
161
162
|
post</a>), the <code class="methodname">autorequire</code> directive for
|
162
163
|
RubyGems specifications is now deprecated. As a result, this has been
|
163
164
|
removed from the FXRuby gem specification. This change will break any
|
@@ -165,117 +166,117 @@
|
|
165
166
|
the sole means for loading FXRuby. Such programs should instead
|
166
167
|
use:</p><pre class="programlisting">require 'fox16'</pre><p>which will work
|
167
168
|
for either gem based or non-gem based installations.</p></li><li style="list-style-type: disc"><p>The binary gem for Windows was built with FOX version 1.6.8 and
|
168
|
-
FXScintilla version 1.67 (from CVS).</p></li></ul></div></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="
|
169
|
+
FXScintilla version 1.67 (from CVS).</p></li></ul></div></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e2993"></a>Changes For Version 1.6.0 (May 29, 2006)</h2></div></div></div><div class="itemizedlist"><ul type="bullet"><li style="list-style-type: disc"><p>This is the first release of FXRuby compatible with FOX version
|
169
170
|
1.6. One of the most signficant changes for FOX 1.6 has been the
|
170
171
|
addition of Unicode support; all FOX widgets and internal string
|
171
172
|
processing routines are now Unicode aware. For a comprehensive
|
172
173
|
overview of the changes made to FOX since version 1.4 (including those
|
173
|
-
made in the FOX 1.5 development series), please refer to the <a href="http://www.fox-toolkit.com/news.html" target="_top">News archives</a> at
|
174
|
+
made in the FOX 1.5 development series), please refer to the <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.fox-toolkit.com/news.html" target="_top">News archives</a> at
|
174
175
|
the FOX web site.</p></li><li style="list-style-type: disc"><p>Added the <code class="methodname">allowSide</code>,
|
175
176
|
<code class="methodname">disallowSide</code> and
|
176
177
|
<code class="methodname">allowedSide?</code> methods for the
|
177
178
|
<code class="classname">FXDockBar</code> class, as complements to the
|
178
|
-
<code class="methodname">allowedSides</code> accessor methods (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=2307&group_id=300&atid=1226" target="_top">RubyForge
|
179
|
+
<code class="methodname">allowedSides</code> accessor methods (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=2307&group_id=300&atid=1226" target="_top">RubyForge
|
179
180
|
Feature Request #2307</a>).</p></li><li style="list-style-type: disc"><p>Added the <code class="methodname">visible=</code> and
|
180
181
|
<code class="methodname">visible?</code> accessor methods for the
|
181
182
|
<code class="classname">FXWindow</code> class, as complements to the
|
182
183
|
<code class="methodname">show</code>, <code class="methodname">hide</code> and
|
183
|
-
<code class="methodname">shown?</code> methods (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=3579&group_id=300&atid=1226" target="_top">RubyForge
|
184
|
+
<code class="methodname">shown?</code> methods (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=3579&group_id=300&atid=1226" target="_top">RubyForge
|
184
185
|
Feature Request #3579</a>).</p></li><li style="list-style-type: disc"><p>The <code class="filename">browser.rb</code> example was making use of a
|
185
|
-
deprecated API (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=4325&group_id=300&atid=1223" target="_top">RubyForge
|
186
|
+
deprecated API (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=4325&group_id=300&atid=1223" target="_top">RubyForge
|
186
187
|
Bug #4325</a>). This has been fixed.</p></li><li style="list-style-type: disc"><p>The <code class="methodname">children</code> instance method for the
|
187
188
|
<code class="classname">FXWindow</code> class always returned an array of
|
188
189
|
<code class="classname">FXWindow</code> instances, even if the actual types
|
189
190
|
should have been instances of subclasses of
|
190
|
-
<code class="classname">FXWindow</code> (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=4342&group_id=300&atid=1223" target="_top">RubyForge
|
191
|
+
<code class="classname">FXWindow</code> (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=4342&group_id=300&atid=1223" target="_top">RubyForge
|
191
192
|
Bug #4342</a>). This has been fixed.</p></li><li style="list-style-type: disc"><p>The <code class="filename">dilbert.rb</code> example program was broken
|
192
|
-
due to a change in the Dilbert.com web site structure (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=4597&group_id=300&atid=1223" target="_top">RubyForge
|
193
|
+
due to a change in the Dilbert.com web site structure (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=4597&group_id=300&atid=1223" target="_top">RubyForge
|
193
194
|
Bug #4597</a>). This has been fixed.</p></li><li style="list-style-type: disc"><p>The binary gem for Windows was built with FOX version 1.6.5 and
|
194
|
-
FXScintilla version 1.67 (from CVS).</p></li></ul></div></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="
|
195
|
-
<a href="http://rubyforge.org/tracker/index.php?func=detail&aid=3729&group_id=300&atid=1223" target="_top">RubyForge
|
195
|
+
FXScintilla version 1.67 (from CVS).</p></li></ul></div></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e3087"></a>Changes For Version 1.4.6 (April 26, 2006)</h2></div></div></div><div class="itemizedlist"><ul type="bullet"><li style="list-style-type: disc"><p>FXRuby would not compile properly on some x86-64 systems (see
|
196
|
+
<a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=3729&group_id=300&atid=1223" target="_top">RubyForge
|
196
197
|
Bug #3729</a>). This error has been corrected. Thanks to Javier
|
197
198
|
Goizueta for initially reporting this problem, and especially to
|
198
199
|
Tobias Peters for providing a patch.</p></li><li style="list-style-type: disc"><p>The <code class="classname">FXIconDict</code> widget was accidentally
|
199
200
|
"lost" in the transition between FXRuby versions 1.2 and 1.4 (see
|
200
|
-
<a href="http://rubyforge.org/tracker/index.php?func=detail&aid=4117&group_id=300&atid=1223" target="_top">RubyForge
|
201
|
+
<a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=4117&group_id=300&atid=1223" target="_top">RubyForge
|
201
202
|
Bug #4117</a>). This error has been corrected. Thanks to Manfred
|
202
203
|
Usselmann for reporting this problem.</p></li><li style="list-style-type: disc"><p>The <code class="classname">FXSwitcher</code> widget was not sending the
|
203
204
|
appropriate message data to its message target for the
|
204
|
-
<code class="constant">SEL_COMMAND</code> message type (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=4157&group_id=300&atid=1223" target="_top">RubyForge
|
205
|
+
<code class="constant">SEL_COMMAND</code> message type (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=4157&group_id=300&atid=1223" target="_top">RubyForge
|
205
206
|
Bug #4157</a>). This error has been corrected. Thanks to Manfred
|
206
207
|
Usselmann for reporting this problem.</p></li><li style="list-style-type: disc"><p>The <code class="classname">FXSeparator</code> class wasn't implemented
|
207
|
-
properly (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=4158&group_id=300&atid=1223" target="_top">RubyForge
|
208
|
+
properly (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=4158&group_id=300&atid=1223" target="_top">RubyForge
|
208
209
|
Bug #4158</a>). This error has been corrected. Thanks to Gerard
|
209
210
|
Menochet for reporting this problem.</p></li><li style="list-style-type: disc"><p>The <code class="methodname">findItemByData</code> method was
|
210
211
|
implemented incorrectly for the <code class="classname">FXComboBox</code>,
|
211
212
|
<code class="classname">FXFoldingList</code>,
|
212
213
|
<code class="classname">FXIconList</code>, <code class="classname">FXList</code> and
|
213
|
-
<code class="classname">FXListBox</code> classes (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=4172&group_id=300&atid=1223" target="_top">RubyForge
|
214
|
+
<code class="classname">FXListBox</code> classes (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=4172&group_id=300&atid=1223" target="_top">RubyForge
|
214
215
|
Bug #4172</a>). This error has been corrected. Thanks to Gerard
|
215
216
|
Menochet for reporting this problem.</p></li><li style="list-style-type: disc"><p>The <code class="classname">FXListBox</code> widget was not sending the
|
216
217
|
appropriate message data to its message target for the
|
217
|
-
<code class="constant">SEL_COMMAND</code> message type (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=4255&group_id=300&atid=1223" target="_top">RubyForge
|
218
|
+
<code class="constant">SEL_COMMAND</code> message type (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=4255&group_id=300&atid=1223" target="_top">RubyForge
|
218
219
|
Bug #4255</a>). This error has been corrected. Thanks to Gerard
|
219
220
|
Menochet for reporting this problem.</p></li><li style="list-style-type: disc"><p>The binary gem for Windows was built with FOX version 1.4.29 and
|
220
|
-
FXScintilla version 1.63.</p></li></ul></div></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="
|
221
|
+
FXScintilla version 1.63.</p></li></ul></div></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e3166"></a>Changes For Version 1.4.5 (April 10, 2006)</h2></div></div></div><div class="itemizedlist"><ul type="bullet"><li style="list-style-type: disc"><p>The <code class="classname">FXTextField</code> class was not properly
|
221
222
|
responding to the <code class="constant">ID_INSERT_STRING</code> command (see
|
222
|
-
<a href="http://rubyforge.org/tracker/index.php?func=detail&aid=3320&group_id=300&atid=1223" target="_top">RubyForge
|
223
|
+
<a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=3320&group_id=300&atid=1223" target="_top">RubyForge
|
223
224
|
Bug #3320</a>). This error has been corrected. Thanks to Uwe Hartl
|
224
225
|
for reporting this problem.</p></li><li style="list-style-type: disc"><p>The <code class="methodname">text</code> and
|
225
226
|
<code class="methodname">getText</code> methods for the
|
226
227
|
<code class="classname">FXMenuCaption</code> class were returning
|
227
|
-
<code class="constant">nil</code> instead of the actual value (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=3458&group_id=300&atid=1223" target="_top">RubyForge
|
228
|
+
<code class="constant">nil</code> instead of the actual value (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=3458&group_id=300&atid=1223" target="_top">RubyForge
|
228
229
|
Bug #3458</a>). This error has been corrected. Thanks to Meinrad
|
229
230
|
Recheis (Henon) for reporting this problem.</p></li><li style="list-style-type: disc"><p>The API documentation for the <code class="classname">FXMDIChild</code>
|
230
231
|
class erroneously listed <code class="constant">SEL_CLOSEALL</code> as one of
|
231
232
|
the message types that an MDI child window might send to its message
|
232
|
-
target (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=3508&group_id=300&atid=1223" target="_top">RubyForge
|
233
|
+
target (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=3508&group_id=300&atid=1223" target="_top">RubyForge
|
233
234
|
Bug #3508</a>). This error has been corrected. Thanks to Meinrad
|
234
235
|
Recheis (Henon) for reporting this problem.</p></li><li style="list-style-type: disc"><p>Calling the <code class="methodname">selectRange</code> method for
|
235
236
|
class <code class="classname">FXTable</code> would cause a fatal error instead
|
236
237
|
of merely raising an <code class="classname">IndexError</code> exception (see
|
237
|
-
<a href="http://rubyforge.org/tracker/index.php?func=detail&aid=3615&group_id=300&atid=1223" target="_top">RubyForge
|
238
|
+
<a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=3615&group_id=300&atid=1223" target="_top">RubyForge
|
238
239
|
Bug #3615</a>). This error has been corrected. Thanks to Meinrad
|
239
240
|
Recheis (Henon) for reporting this problem.</p></li><li style="list-style-type: disc"><p>Due to an error in the SWIG interface files, the
|
240
241
|
<code class="classname">FXChoiceBox</code> class was basically unusable (see
|
241
|
-
<a href="http://rubyforge.org/tracker/index.php?func=detail&aid=3676&group_id=300&atid=1223" target="_top">RubyForge
|
242
|
+
<a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=3676&group_id=300&atid=1223" target="_top">RubyForge
|
242
243
|
Bug #3676</a>). This error has been corrected. Thanks to Uwe Hartl
|
243
244
|
for reporting this problem.</p></li><li style="list-style-type: disc"><p>The API documentation for the
|
244
245
|
<code class="classname">FXRealSlider</code> and
|
245
246
|
<code class="classname">FXRealSpinner</code> classes erroneously claimed that
|
246
247
|
the message data for the <code class="constant">SEL_COMMAND</code> and
|
247
248
|
<code class="constant">SEL_CHANGED</code> messages sent by these widgets to
|
248
|
-
their targets were integers (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=3749&group_id=300&atid=1223" target="_top">RubyForge
|
249
|
+
their targets were integers (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=3749&group_id=300&atid=1223" target="_top">RubyForge
|
249
250
|
Bug #3749</a>). Along the same lines, the message data for those
|
250
|
-
widgets wasn't being converted correctly (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=3750&group_id=300&atid=1223" target="_top">RubyForge
|
251
|
+
widgets wasn't being converted correctly (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=3750&group_id=300&atid=1223" target="_top">RubyForge
|
251
252
|
Bug #3750</a>). Both of these errors have been corrected. Thanks
|
252
253
|
to Meinrad Recheis (Henon) for reporting these problems.</p></li><li style="list-style-type: disc"><p>The API documentation for the Fox module incorrectly listed the
|
253
254
|
names of the <code class="methodname">FXSELTYPE</code> and
|
254
255
|
<code class="methodname">FXSELID</code> methods as
|
255
256
|
<code class="methodname">SELTYPE</code> and <code class="methodname">SELID</code>
|
256
|
-
(see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=3940&group_id=300&atid=1223" target="_top">RubyForge
|
257
|
+
(see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=3940&group_id=300&atid=1223" target="_top">RubyForge
|
257
258
|
Bug #3940</a>). This error has been corrected. Thanks to Joel
|
258
259
|
VanderWerf for reporting this problem.</p></li><li style="list-style-type: disc"><p>The <code class="classname">FXTableItem</code> constructor was supposed
|
259
260
|
to (optionally) accept a reference to an arbitrary Ruby object as its
|
260
|
-
third argument, but this wasn't working properly (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=4005&group_id=300&atid=1223" target="_top">RubyForge
|
261
|
+
third argument, but this wasn't working properly (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=4005&group_id=300&atid=1223" target="_top">RubyForge
|
261
262
|
Bug #4005</a>). This error has been corrected. Thanks to Mark
|
262
263
|
Volkman for reporting this problem.</p></li><li style="list-style-type: disc"><p>The binary gem for Windows was built with FOX version 1.4.29 and
|
263
|
-
FXScintilla version 1.63.</p></li></ul></div></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="
|
264
|
-
recently and as such contained some errors (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=3014&group_id=300&atid=1223" target="_top">RubyForge
|
264
|
+
FXScintilla version 1.63.</p></li></ul></div></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e3287"></a>Changes For Version 1.4.4 (January 21, 2006)</h2></div></div></div><div class="itemizedlist"><ul type="bullet"><li style="list-style-type: disc"><p>The build instructions for Unix platforms had not been updated
|
265
|
+
recently and as such contained some errors (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=3014&group_id=300&atid=1223" target="_top">RubyForge
|
265
266
|
Bug #3014</a>). These errors have been corrected. Thanks to Dave
|
266
267
|
Burns for reporting this problem.</p></li><li style="list-style-type: disc"><p>The <code class="methodname">extendSelection</code> method for the
|
267
268
|
<code class="classname">FXTable</code> class was raising an exception if an
|
268
|
-
out of bounds row or column index was passed in (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=3050&group_id=300&atid=1223" target="_top">RubyForge
|
269
|
+
out of bounds row or column index was passed in (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=3050&group_id=300&atid=1223" target="_top">RubyForge
|
269
270
|
Bug #3050</a>). This has been changed so that
|
270
271
|
<code class="methodname">extendSelection</code> instead returns false for out
|
271
272
|
of bounds arguments. Thanks to Leonid Moiseichuk for reporting this
|
272
273
|
problem.</p></li><li style="list-style-type: disc"><p>The <code class="methodname">each_child</code> iterator method for the
|
273
274
|
<code class="classname">FXWindow</code> class would fail if the child window
|
274
|
-
was destroyed in the block (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=3134&group_id=300&atid=1223" target="_top">RubyForge
|
275
|
+
was destroyed in the block (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=3134&group_id=300&atid=1223" target="_top">RubyForge
|
275
276
|
Bug #3134</a>). Thanks to Liam Irish for reporting this problem
|
276
277
|
and providing a patch.</p></li><li style="list-style-type: disc"><p>The message data for the <code class="constant">SEL_REPLACED</code>
|
277
278
|
message sent by the <code class="classname">FXTable</code> class to its target
|
278
|
-
was not being handled properly (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=3244&group_id=300&atid=1223" target="_top">RubyForge
|
279
|
+
was not being handled properly (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=3244&group_id=300&atid=1223" target="_top">RubyForge
|
279
280
|
Bug #3244</a>). There were also problems with the message data for
|
280
281
|
the <code class="constant">SEL_SELECTED</code> and
|
281
282
|
<code class="constant">SEL_DESELECTED</code> messages. Furthermore, the
|
@@ -283,33 +284,33 @@
|
|
283
284
|
RDoc documentation for the <code class="classname">FXTable</code> class. All
|
284
285
|
of these problems have been corrected. Thanks to _blackdog for
|
285
286
|
reporting this problem.</p></li><li style="list-style-type: disc"><p>The binary gem for Windows was built with FOX version 1.4.29 and
|
286
|
-
FXScintilla version 1.63.</p></li></ul></div></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="
|
287
|
+
FXScintilla version 1.63.</p></li></ul></div></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e3351"></a>Changes For Version 1.4.3 (November 7, 2005)</h2></div></div></div><div class="itemizedlist"><ul type="bullet"><li style="list-style-type: disc"><p>The <code class="constant">TOGGLEBUTTON_KEEPSTATE</code> option for the
|
287
288
|
<code class="classname">FXToggleButton</code> class was not documented (see
|
288
|
-
<a href="http://rubyforge.org/tracker/index.php?func=detail&aid=2286&group_id=300&atid=1223" target="_top">RubyForge
|
289
|
+
<a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=2286&group_id=300&atid=1223" target="_top">RubyForge
|
289
290
|
Bug #2286</a>). This oversight has been corrected. Thanks to Tim
|
290
291
|
Smith for reporting this problem.</p></li><li style="list-style-type: disc"><p>The <code class="filename">scintilla.rb</code> library file was not up to
|
291
292
|
date with the latest FXScintilla release, and as a result it was
|
292
|
-
missing some methods (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=2479&group_id=300&atid=1223" target="_top">RubyForge
|
293
|
+
missing some methods (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=2479&group_id=300&atid=1223" target="_top">RubyForge
|
293
294
|
Bug #2479</a>). This oversight has been corrected. Thanks to Maxim
|
294
295
|
Kulkin for reporting this problem.</p></li><li style="list-style-type: disc"><p>Due to changes in the APIs for timers and chores, the mechanisms
|
295
|
-
for removing chores and timeouts were broken (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=2563&group_id=300&atid=1223" target="_top">RubyForge
|
296
|
+
for removing chores and timeouts were broken (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=2563&group_id=300&atid=1223" target="_top">RubyForge
|
296
297
|
Bug #2563</a>). This bug has been fixed. Thanks to "moinker" for
|
297
298
|
reporting this problem.</p></li><li style="list-style-type: disc"><p>An error in the test setup caused all of the tests for the
|
298
|
-
<code class="classname">FXList</code> class to fail (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=2564&group_id=300&atid=1223" target="_top">RubyForge
|
299
|
+
<code class="classname">FXList</code> class to fail (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=2564&group_id=300&atid=1223" target="_top">RubyForge
|
299
300
|
Bug #2564</a>). This bug has been fixed. Thanks to Peter for
|
300
301
|
reporting this problem.</p></li><li style="list-style-type: disc"><p>Due to a bug in the test suite runner script, not all test cases
|
301
|
-
were being exercised (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=2565&group_id=300&atid=1223" target="_top">RubyForge
|
302
|
+
were being exercised (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=2565&group_id=300&atid=1223" target="_top">RubyForge
|
302
303
|
Bug #2565</a>). This bug has been fixed.</p></li><li style="list-style-type: disc"><p>Calling the <code class="methodname">getPixel</code> method for the
|
303
304
|
<code class="classname">FXImage</code> class when the client-side pixel buffer
|
304
305
|
for the image has already been released would cause a program to crash
|
305
|
-
(see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=2611&group_id=300&atid=1223" target="_top">RubyForge
|
306
|
+
(see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=2611&group_id=300&atid=1223" target="_top">RubyForge
|
306
307
|
Bug #2611</a>). Now, <code class="methodname">getPixel</code> will raise
|
307
308
|
an exception if it's called after the pixel buffer has been released.
|
308
309
|
The documentation for <code class="methodname">getPixel</code> has been
|
309
310
|
updated accordingly. Thanks to Gonzalo Garramuno for reporting this
|
310
311
|
problem.</p></li><li style="list-style-type: disc"><p>The <code class="methodname">makePositionVisible</code> method for the
|
311
312
|
<code class="classname">FXTable</code> class was raising an exception when
|
312
|
-
passed out-of-bounds values for the row or column index (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=2660&group_id=300&atid=1223" target="_top">RubyForge
|
313
|
+
passed out-of-bounds values for the row or column index (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=2660&group_id=300&atid=1223" target="_top">RubyForge
|
313
314
|
Bug #2660</a>). This could happen, for example, if you were to
|
314
315
|
click in a table area outside of the regular cells (which indirectly
|
315
316
|
triggers a call to <code class="methodname">makePositionVisible</code>). This
|
@@ -318,97 +319,97 @@
|
|
318
319
|
been fixed, and the documentation for
|
319
320
|
<code class="methodname">makePositionVisible</code> has been updated
|
320
321
|
accordingly. Thanks to Ralf Jonas for reporting this problem.</p></li><li style="list-style-type: disc"><p>The binary gem for Windows was built with FOX version 1.4.21 and
|
321
|
-
FXScintilla version 1.63.</p></li></ul></div></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="
|
322
|
+
FXScintilla version 1.63.</p></li></ul></div></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e3436"></a>Changes For Version 1.4.2 (August 22, 2005)</h2></div></div></div><div class="itemizedlist"><ul type="bullet"><li style="list-style-type: disc"><p>Due to a bug in the implementation, the
|
322
323
|
<code class="methodname">checked?</code> method for the
|
323
324
|
<code class="classname">FXCheckButton</code> class always returned
|
324
|
-
<code class="constant">false</code> (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1852&group_id=300&atid=1223" target="_top">RubyForge
|
325
|
+
<code class="constant">false</code> (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=1852&group_id=300&atid=1223" target="_top">RubyForge
|
325
326
|
Bug #1852</a>). This bug has been fixed. Thanks to Meinrad Recheis
|
326
327
|
for reporting this problem.</p></li><li style="list-style-type: disc"><p>The API documentation for the <code class="classname">FXTable</code>
|
327
|
-
class listed several obsolete attributes (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1928&group_id=300&atid=1223" target="_top">RubyForge
|
328
|
+
class listed several obsolete attributes (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=1928&group_id=300&atid=1223" target="_top">RubyForge
|
328
329
|
Bug #1928</a>). Those errors have been corrected. Thanks to Pavel
|
329
330
|
Sokolov for reporting these problems.</p></li><li style="list-style-type: disc"><p>There were a number of bugs in the
|
330
|
-
<code class="filename">textedit.rb</code> example program (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1979&group_id=300&atid=1223" target="_top">RubyForge
|
331
|
+
<code class="filename">textedit.rb</code> example program (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=1979&group_id=300&atid=1223" target="_top">RubyForge
|
331
332
|
Bug #1979</a>), and those bugs have been fixed. Thanks to Claude
|
332
333
|
Marinier for reporting these problems.</p></li><li style="list-style-type: disc"><p>The API documentation for the <code class="classname">FXTreeList</code>
|
333
334
|
class' <code class="methodname">new</code> method still showed the number of
|
334
335
|
visible items (<em class="parameter"><code>nvis</code></em>) as its second argument
|
335
|
-
(see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=2171&group_id=300&atid=1223" target="_top">RubyForge
|
336
|
+
(see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=2171&group_id=300&atid=1223" target="_top">RubyForge
|
336
337
|
Bug #2171</a>). This problem has been corrected. Thanks to Bill
|
337
338
|
Atkins for reporting this problem.</p></li><li style="list-style-type: disc"><p>The API documentation for the <code class="classname">FXTopWindow</code>
|
338
|
-
class had a number of errors (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=2269&group_id=300&atid=1223" target="_top">RubyForge
|
339
|
+
class had a number of errors (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=2269&group_id=300&atid=1223" target="_top">RubyForge
|
339
340
|
Bug #2269</a>). This problem has been corrected.</p></li><li style="list-style-type: disc"><p>The API documentation for the <code class="classname">FXTreeList</code>
|
340
341
|
class still listed the obsolete <code class="methodname">reparentItem</code>
|
341
|
-
method (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=2270&group_id=300&atid=1223" target="_top">RubyForge
|
342
|
+
method (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=2270&group_id=300&atid=1223" target="_top">RubyForge
|
342
343
|
Bug #2270</a>). This problem has been corrected. Thanks to Jacob
|
343
344
|
Hansen for reporting this problem.</p></li><li style="list-style-type: disc"><p>Due to a bug in how the SWIG typemaps for the
|
344
345
|
<span class="type">FXlong</span> type were defined, some methods for the
|
345
|
-
<code class="classname">FXFileStream</code> class were broken (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=2275&group_id=300&atid=1223" target="_top">RubyForge
|
346
|
+
<code class="classname">FXFileStream</code> class were broken (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=2275&group_id=300&atid=1223" target="_top">RubyForge
|
346
347
|
Bug #2275</a>). This problem has been corrected. Thanks to Gonzalo
|
347
348
|
Garramuno for reporting this problem.</p></li><li style="list-style-type: disc"><p>Merged in all of the fixes for FXRuby 1.2.6.</p></li><li style="list-style-type: disc"><p>The binary gem for Windows was built with FOX version 1.4.17 and
|
348
|
-
FXScintilla version 1.63.</p></li></ul></div></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="
|
349
|
+
FXScintilla version 1.63.</p></li></ul></div></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e3527"></a>Changes For Version 1.4.1 (August 20, 2005)</h2></div></div></div><div class="itemizedlist"><ul type="bullet"><li style="list-style-type: disc"><p>This is the second release of FXRuby which is compatible with
|
349
350
|
FOX 1.4, and as such should be considered an "unstable" release. For a
|
350
351
|
history of the changes made during the FOX 1.3 and 1.4 development,
|
351
|
-
see the <a href="http://www.fox-toolkit.com/news.html" target="_top">News</a>
|
352
|
+
see the <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.fox-toolkit.com/news.html" target="_top">News</a>
|
352
353
|
page at the FOX Web site.</p></li><li style="list-style-type: disc"><p>The unit tests (in the <code class="filename">tests</code> subdirectory)
|
353
354
|
had not been updated to require the <code class="constant">fox14</code>
|
354
355
|
feature, and were still looking at <code class="constant">fox12</code>. This
|
355
356
|
has been corrected.</p></li><li style="list-style-type: disc"><p>A number of minor problems were corrected for the Windows build
|
356
357
|
of FXRuby.</p></li><li style="list-style-type: disc"><p>The binary gem for Windows was built with FOX version 1.4.17 and
|
357
|
-
FXScintilla version 1.63.</p></li></ul></div></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="
|
358
|
+
FXScintilla version 1.63.</p></li></ul></div></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e3555"></a>Changes For Version 1.4.0 (August 19, 2005)</h2></div></div></div><div class="itemizedlist"><ul type="bullet"><li style="list-style-type: disc"><p>This is the first release of FXRuby which is compatible with FOX
|
358
359
|
1.4, and as such should be considered an "unstable" release. For a
|
359
360
|
history of the changes made during the FOX 1.3 and 1.4 development,
|
360
|
-
see the <a href="http://www.fox-toolkit.com/news.html" target="_top">News</a>
|
361
|
-
page at the FOX Web site.</p></li></ul></div></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="
|
361
|
+
see the <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.fox-toolkit.com/news.html" target="_top">News</a>
|
362
|
+
page at the FOX Web site.</p></li></ul></div></div><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e3565"></a>Changes For Version 1.2.6 (April 15, 2005)</h2></div></div></div><div class="itemizedlist"><ul type="bullet"><li style="list-style-type: disc"><p>Some additional problems related to calling the
|
362
363
|
<code class="methodname">setTableSize</code> method for an
|
363
|
-
<code class="classname">FXTable</code> were discovered (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1597&group_id=300&atid=1223" target="_top">RubyForge
|
364
|
+
<code class="classname">FXTable</code> were discovered (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=1597&group_id=300&atid=1223" target="_top">RubyForge
|
364
365
|
Bug #1597</a>). This problem has been corrected. Thanks to Joel
|
365
366
|
VanderWerf for reporting this problem.</p></li><li style="list-style-type: disc"><p>The <code class="filename">iconlist.rb</code> example program had a
|
366
367
|
"Sort" pulldown menu filled with a number of commands that didn't
|
367
|
-
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
|
368
|
+
really do anything, including sorting the items (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=1654&group_id=300&atid=1223" target="_top">RubyForge
|
368
369
|
Bug #1654</a>). This pulldown menu has been removed from that
|
369
370
|
example.</p></li><li style="list-style-type: disc"><p>The API documentation for the <code class="classname">FXDC</code> class
|
370
371
|
erroneously referred to the <code class="methodname">font</code> attribute as
|
371
|
-
<code class="methodname">textFont</code> (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1667&group_id=300&atid=1223" target="_top">RubyForge
|
372
|
+
<code class="methodname">textFont</code> (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=1667&group_id=300&atid=1223" target="_top">RubyForge
|
372
373
|
Bug #1667</a>). This problem has been corrected. Thanks to Meinrad
|
373
374
|
Recheis for reporting this problem.</p></li><li style="list-style-type: disc"><p>The <code class="methodname">checked?</code>,
|
374
375
|
<code class="methodname">unchecked?</code> and
|
375
376
|
<code class="methodname">maybe?</code> methods for the
|
376
|
-
<code class="classname">FXMenuCheck</code> class were missing (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1677&group_id=300&atid=1223" target="_top">RubyForge
|
377
|
+
<code class="classname">FXMenuCheck</code> class were missing (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=1677&group_id=300&atid=1223" target="_top">RubyForge
|
377
378
|
Bug #1677</a>). This problem has been corrected. Thanks to Oliver
|
378
379
|
Smith for reporting this problem.</p></li><li style="list-style-type: disc"><p>The API documentation for the
|
379
380
|
<code class="classname">FXScrollArea</code> class incorrectly spelled the
|
380
381
|
names of the <code class="methodname">horizontalScrollBar</code> and
|
381
382
|
<code class="methodname">verticalScrollBar</code> methods as
|
382
383
|
<code class="methodname">horizontalScrollbar</code> and
|
383
|
-
<code class="methodname">verticalScrollbar</code> (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1678&group_id=300&atid=1223" target="_top">RubyForge
|
384
|
+
<code class="methodname">verticalScrollbar</code> (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=1678&group_id=300&atid=1223" target="_top">RubyForge
|
384
385
|
Bug #1678</a>). The documentation has been corrected. Thanks to
|
385
386
|
Jannis Pohlmann for reporting this mistake.</p></li><li style="list-style-type: disc"><p>Some code in the <code class="filename">groupbox.rb</code> example
|
386
387
|
program was calling the <code class="methodname">getRootWindow</code> method,
|
387
388
|
but that method has been renamed to <code class="methodname">getRoot</code>
|
388
|
-
(see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1692&group_id=300&atid=1223" target="_top">RubyForge
|
389
|
+
(see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=1692&group_id=300&atid=1223" target="_top">RubyForge
|
389
390
|
Bug #1692</a>). This problem has been corrected. Thanks to
|
390
391
|
Jaroslav Stika for reporting this problem.</p></li><li style="list-style-type: disc"><p>The <code class="methodname">hasChar?</code> method for the
|
391
392
|
<code class="classname">FXFont</code> class was spelled without a trailing
|
392
393
|
question mark, but it seems more Ruby-like that it should, so we've
|
393
|
-
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
|
394
|
+
added an alias for that (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=1714&group_id=300&atid=1223" target="_top">RubyForge
|
394
395
|
Bug #1714</a>). This method also now accepts a string of size 1
|
395
396
|
(i.e. a single character) as its input, as an alternative to an
|
396
397
|
ordinal value. Thanks to Meinrad Recheis for these suggestions.</p></li><li style="list-style-type: disc"><p>The API documentation for the <code class="classname">FXImage</code>
|
397
398
|
class mistakenly listed <code class="constant">IMAGE_ALPHA</code> as a valid
|
398
399
|
image rendering hint, but this flag is no longer needed since FOX
|
399
|
-
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
|
400
|
+
images now always contain an alpha channel (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=1715&group_id=300&atid=1223" target="_top">RubyForge
|
400
401
|
Bug #1715</a>). The documentation has been corrected. Thanks to
|
401
402
|
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
|
402
403
|
<code class="methodname">data</code> method for the
|
403
404
|
<code class="classname">FXSettings</code> class was not being wrapped
|
404
405
|
properly. As a result, this method was unavailable and in turn led to
|
405
406
|
other dependent methods (like <code class="methodname">each_section</code>)
|
406
|
-
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
|
407
|
+
to be unavailable as well (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=1771&group_id=300&atid=1223" target="_top">RubyForge
|
407
408
|
Bug #1771</a>). This error has been corrected. Thanks to Jannis
|
408
409
|
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
|
409
|
-
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="
|
410
|
+
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="d0e3701"></a>Changes For Version 1.2.5 (March 1, 2005)</h2></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
|
410
411
|
collection for table items corrected only one of the problems
|
411
|
-
described in <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1445&group_id=300&atid=1223" target="_top">RubyForge
|
412
|
+
described in <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=1445&group_id=300&atid=1223" target="_top">RubyForge
|
412
413
|
Bug #1445</a>; There was still a problem related to the
|
413
414
|
"destructive" effects of the <code class="methodname">setTableSize</code>
|
414
415
|
method for the <code class="classname">FXTable</code> class. This problem has
|
@@ -428,24 +429,24 @@
|
|
428
429
|
<code class="classname">FXTable</code> class now raises
|
429
430
|
<code class="classname">ArgError</code> if either the number of rows or
|
430
431
|
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
|
431
|
-
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
|
432
|
+
when compiled against Ruby versions 1.8.1 or earlier (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=1551&group_id=300&atid=1223" target="_top">RubyForge
|
432
433
|
Bug #1551</a>). This error has been corrected. Thanks to Alex
|
433
434
|
McGuire for reporting this problem.</p></li><li style="list-style-type: disc"><p>The <code class="methodname">selectItem</code> method for the
|
434
435
|
<code class="classname">FXTable</code> class was removed in FOX 1.2, so we've
|
435
436
|
added a convenience method for this that just calls the
|
436
|
-
<code class="methodname">selectRange</code> 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
|
437
|
+
<code class="methodname">selectRange</code> method under the hood (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=1562&group_id=300&atid=1223" target="_top">RubyForge
|
437
438
|
Bug #1562</a>). Thanks to Joel VanderWerf for this
|
438
439
|
suggestion.</p></li><li style="list-style-type: disc"><p>The binary gem for Windows was built with FOX version 1.2.13 and
|
439
|
-
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="
|
440
|
+
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="d0e3786"></a>Changes For Version 1.2.4 (February 23, 2005)</h2></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
|
440
441
|
compile-time error for FXRuby was introduced in some of the Ruby 1.8.2
|
441
|
-
preview releases (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1039&group_id=300&atid=1223" target="_top">RubyForge
|
442
|
+
preview releases (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=1039&group_id=300&atid=1223" target="_top">RubyForge
|
442
443
|
Bug #1039</a>). One should not see any compile-time errors when
|
443
444
|
compiling FXRuby (versions 1.2.3 or later) against the Ruby 1.8.2
|
444
445
|
final release, but I've neverthless made a change to how those
|
445
446
|
internal APIs are used, to avoid any potential problems. Thanks to the
|
446
447
|
many users who pointed out this problem.</p></li><li style="list-style-type: disc"><p>Joel VanderWerf suggested some enhancements to the
|
447
448
|
<code class="filename">image.rb</code> example program in order to improve its
|
448
|
-
startup time (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1281&group_id=300&atid=1223" target="_top">RubyForge
|
449
|
+
startup time (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=1281&group_id=300&atid=1223" target="_top">RubyForge
|
449
450
|
Bug #1281</a>). Those changes have been incorporated. Thanks to
|
450
451
|
Joel for this suggestion.</p></li><li style="list-style-type: disc"><p>One change for the <code class="classname">FXImage</code> class between
|
451
452
|
FOX versions 1.0 and 1.2 is the nature of the pixel buffer that's
|
@@ -453,14 +454,14 @@
|
|
453
454
|
this pixel buffer was expected to be a string of bytes; now it's
|
454
455
|
expected to be an array of <span class="type">FXColor</span> values. This
|
455
456
|
modification was not implemented correctly for FXRuby versions 1.2.3
|
456
|
-
and earlier (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1427&group_id=300&atid=1223" target="_top">RubyForge
|
457
|
+
and earlier (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=1427&group_id=300&atid=1223" target="_top">RubyForge
|
457
458
|
Bug #1427</a>). This bug has been corrected, and the example
|
458
459
|
program (<code class="filename">image.rb</code>) and test cases have been
|
459
460
|
updated as well. Thanks to Oliver Smith and others for reporting this
|
460
461
|
problem.</p></li><li style="list-style-type: disc"><p>A couple of different problems, reported by Patrick Fernie and
|
461
462
|
David Peoples, exposed a flaw in how FXRuby manages the links between
|
462
463
|
FOX objects and their Ruby peers when the FOX objects are destroyed
|
463
|
-
(see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1445&group_id=300&atid=1223" target="_top">RubyForge
|
464
|
+
(see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=1445&group_id=300&atid=1223" target="_top">RubyForge
|
464
465
|
Bug #1445</a>). Without going into all the gory details, let's
|
465
466
|
just say that since we have no explicit control over when Ruby's
|
466
467
|
garbage collector decides to "collect" those Ruby peers that point to
|
@@ -472,49 +473,49 @@
|
|
472
473
|
to the old "spellings" of the <code class="methodname">fxparseAccel</code>
|
473
474
|
and <code class="methodname">fxparseHotKey</code> method names, which were
|
474
475
|
all lowercase (i.e. <code class="methodname">fxparseaccel</code> and
|
475
|
-
<code class="methodname">fxparsehotkey</code>). (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1470&group_id=300&atid=1223" target="_top">RubyForge
|
476
|
+
<code class="methodname">fxparsehotkey</code>). (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=1470&group_id=300&atid=1223" target="_top">RubyForge
|
476
477
|
Bug #1470</a>). These errors have been corrected.</p></li><li style="list-style-type: disc"><p>Added the <code class="methodname">FXScrollArea#scrollCorner</code>
|
477
478
|
method, which returns a reference to the scroll corner for any window
|
478
|
-
derived from <code class="classname">FXScrollArea</code> (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=843&group_id=300&atid=1226" target="_top">RubyForge
|
479
|
+
derived from <code class="classname">FXScrollArea</code> (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=843&group_id=300&atid=1226" target="_top">RubyForge
|
479
480
|
Feature Request #1226</a>). Thanks to Brian Sheehan for this
|
480
481
|
suggestion.</p></li><li style="list-style-type: disc"><p>Added the <code class="methodname">FXMemoryBuffer#to_a</code> method,
|
481
482
|
which is just an alias for the <code class="methodname">data</code> accessor
|
482
|
-
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
|
483
|
+
method that returns a copy of the data buffer as an array (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=1295&group_id=300&atid=1226" target="_top">RubyForge
|
483
484
|
Feature Request #1295</a>). Thanks to Meinrad Recheis for this
|
484
485
|
suggestion.</p></li><li style="list-style-type: disc"><p>Added the <code class="methodname">appendRows</code> and
|
485
486
|
<code class="methodname">appendColumns</code> methods to the
|
486
|
-
<code class="classname">FXTable</code> class (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1426&group_id=300&atid=1226" target="_top">RubyForge
|
487
|
+
<code class="classname">FXTable</code> class (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=1426&group_id=300&atid=1226" target="_top">RubyForge
|
487
488
|
Feature Request #1295</a>). Thanks to Brett Hallett for this
|
488
489
|
suggestion.</p></li><li style="list-style-type: disc"><p>The binary gem for Windows was built with FOX version 1.2.13 and
|
489
|
-
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="
|
490
|
+
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="d0e3889"></a>Changes For Version 1.2.3 (January 22, 2005)</h2></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
|
490
491
|
radio behavior of radio buttons (i.e. keeping only one radio button
|
491
492
|
selected at a time), some of the example programs were no longer
|
492
|
-
working as desired (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=751&group_id=300&atid=1223" target="_top">RubyForge
|
493
|
-
Bug #751</a> and <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1280&group_id=300&atid=1223" target="_top">RubyForge
|
493
|
+
working as desired (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=751&group_id=300&atid=1223" target="_top">RubyForge
|
494
|
+
Bug #751</a> and <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=1280&group_id=300&atid=1223" target="_top">RubyForge
|
494
495
|
Bug #1280</a>). This problem has been corrected. Thanks to Yuri
|
495
496
|
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
|
496
|
-
<code class="filename">table.rb</code> example program (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=990&group_id=300&atid=1223" target="_top">RubyForge
|
497
|
+
<code class="filename">table.rb</code> example program (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=990&group_id=300&atid=1223" target="_top">RubyForge
|
497
498
|
Bug #990</a>). This has been corrected.</p></li><li style="list-style-type: disc"><p>The API documentation for <code class="classname">FXList</code> did not
|
498
499
|
reflect the changes for FOX 1.2; the
|
499
500
|
<code class="methodname">retrieveItem()</code> has been renamed to
|
500
501
|
<code class="methodname">getItem()</code> and
|
501
502
|
<code class="methodname">insertItem()</code> has been renamed to
|
502
|
-
<code class="methodname">setItem()</code> (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1037&group_id=300&atid=1223" target="_top">RubyForge
|
503
|
-
Bug #1037</a> and <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1257&group_id=300&atid=1223" target="_top">RubyForge
|
503
|
+
<code class="methodname">setItem()</code> (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=1037&group_id=300&atid=1223" target="_top">RubyForge
|
504
|
+
Bug #1037</a> and <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=1257&group_id=300&atid=1223" target="_top">RubyForge
|
504
505
|
Bug #1257</a>). This has been corrected. Thanks to Remy Drouilhet
|
505
506
|
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
|
506
|
-
files (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1139&group_id=300&atid=1223" target="_top">RubyForge
|
507
|
+
files (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=1139&group_id=300&atid=1223" target="_top">RubyForge
|
507
508
|
Bug #1139</a>). This has been corrected. Thanks to Curt Hibbs and
|
508
509
|
Mark Smith for reporting this problem.</p></li><li style="list-style-type: disc"><p>The <code class="filename">browser.rb</code> example program was broken
|
509
|
-
(see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1146&group_id=300&atid=1223" target="_top">RubyForge
|
510
|
+
(see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=1146&group_id=300&atid=1223" target="_top">RubyForge
|
510
511
|
Bug #1146</a>). This has been corrected. Thanks to Stefan Lang for
|
511
512
|
reporting this problem.</p></li><li style="list-style-type: disc"><p>The attribute setter for
|
512
513
|
<code class="methodname">FXHeaderItem#justification</code> was defined
|
513
|
-
incorrectly (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1276&group_id=300&atid=1223" target="_top">RubyForge
|
514
|
+
incorrectly (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=1276&group_id=300&atid=1223" target="_top">RubyForge
|
514
515
|
Bug #1276</a>). This has been corrected. Thanks to Joel VanderWerf
|
515
516
|
for reporting this problem (and providing a patch to fix it).</p></li><li style="list-style-type: disc"><p>The <code class="methodname">filenames</code> alias for the
|
516
517
|
<code class="methodname">FXFileDialog#getFilenames()</code> instance method
|
517
|
-
was missing (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1277&group_id=300&atid=1223" target="_top">RubyForge
|
518
|
+
was missing (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=1277&group_id=300&atid=1223" target="_top">RubyForge
|
518
519
|
Bug #1277</a>). This error has been corrected. Thanks to Barry
|
519
520
|
DeZonia for reporting this problem.</p></li><li style="list-style-type: disc"><p>The API documentation for the
|
520
521
|
<code class="classname">FXFileDialog</code> class methods
|
@@ -522,34 +523,34 @@
|
|
522
523
|
<code class="methodname">getOpenDirectory()</code>,
|
523
524
|
<code class="methodname">getOpenFilename()</code> and
|
524
525
|
<code class="methodname">getSaveFilename()</code> was extremely inadequate
|
525
|
-
(see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1279&group_id=300&atid=1223" target="_top">RubyForge
|
526
|
+
(see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=1279&group_id=300&atid=1223" target="_top">RubyForge
|
526
527
|
Bug #1279</a>). This documentation has been improved. Thanks to
|
527
528
|
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
|
528
529
|
program from the regular FOX distribution, for demonstrating the use
|
529
|
-
of the new <code class="classname">FXSpring</code> layout manager (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1282&group_id=300&atid=1223" target="_top">RubyForge
|
530
|
+
of the new <code class="classname">FXSpring</code> layout manager (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=1282&group_id=300&atid=1223" target="_top">RubyForge
|
530
531
|
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
|
531
|
-
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
|
532
|
+
interact with modal and non-modal dialog boxes (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=1283&group_id=300&atid=1223" target="_top">RubyForge
|
532
533
|
Bug #1283</a>). See the API documentation for the new
|
533
534
|
<code class="methodname">FXDialogBox#execute_modal</code> and
|
534
535
|
<code class="methodname">FXDialogBox#execute_nonmodal</code> methods for
|
535
536
|
examples of their use.</p></li><li style="list-style-type: disc"><p>The attribute setters for
|
536
537
|
<code class="methodname">FXRealSpinner#selBackColor</code> and
|
537
538
|
<code class="methodname">FXSpinner#selBackColor</code> were defined
|
538
|
-
incorrectly (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1297&group_id=300&atid=1223" target="_top">RubyForge
|
539
|
+
incorrectly (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=1297&group_id=300&atid=1223" target="_top">RubyForge
|
539
540
|
Bug #1297</a>). These have been corrected. Thanks to Meinrad
|
540
541
|
Recheis for reporting this problem.</p></li><li style="list-style-type: disc"><p>The <code class="methodname">tooltipPause</code> attribute reader for
|
541
|
-
the <code class="classname">FXApp</code> class was missing (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1306&group_id=300&atid=1225" target="_top">RubyForge
|
542
|
+
the <code class="classname">FXApp</code> class was missing (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=1306&group_id=300&atid=1225" target="_top">RubyForge
|
542
543
|
Patch #1306</a>). Thanks to Joel VanderWerf for reporting this
|
543
544
|
omission and providing a patch to fix it.</p></li><li style="list-style-type: disc"><p>The API documentation for the
|
544
|
-
<code class="classname">FXToolBarTab</code> class was missing (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1322&group_id=300&atid=1223" target="_top">RubyForge
|
545
|
+
<code class="classname">FXToolBarTab</code> class was missing (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=1322&group_id=300&atid=1223" target="_top">RubyForge
|
545
546
|
Bug #1322</a>). Thanks to Joel VanderWerf for reporting this
|
546
547
|
omission.</p></li><li style="list-style-type: disc"><p>The attribute accessors for
|
547
548
|
<code class="methodname">FXText#visibleRows</code> and
|
548
549
|
<code class="methodname">FXText#visibleColumns</code> were defined and
|
549
|
-
documented incorrectly (see <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=1325&group_id=300&atid=1223" target="_top">RubyForge
|
550
|
+
documented incorrectly (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubyforge.org/tracker/index.php?func=detail&aid=1325&group_id=300&atid=1223" target="_top">RubyForge
|
550
551
|
Bug #1325</a>). These have been corrected. Thanks to Karl El-Koura
|
551
552
|
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
|
552
|
-
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="
|
553
|
+
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="d0e4061"></a>Changes For Version 1.2.2 (October 1, 2004)</h2></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
|
553
554
|
applications based on either FXRuby 1.0 or 1.2, the feature name for
|
554
555
|
FXRuby has been changed from "fox" to "fox12". For most application
|
555
556
|
developers, this means that you will need to modify the source code
|
@@ -557,7 +558,7 @@
|
|
557
558
|
changes should be required for legacy applications targeted at FXRuby
|
558
559
|
1.0.</p></li><li style="list-style-type: disc"><p>Made a number of updates to the documentation, to reflect API
|
559
560
|
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
|
560
|
-
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="
|
561
|
+
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="d0e4078"></a>Changes For Version 1.2a2 (July 10, 2004)</h2></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
|
561
562
|
should be compatible with any FOX library version 1.2; it is not
|
562
563
|
compatible with any previous FOX library versions. As this is an alpha
|
563
564
|
release, users should expect a certain amount of instability, bugs,
|
@@ -568,38 +569,38 @@
|
|
568
569
|
decide how best to resolve that problem. The goal is to have this
|
569
570
|
problem resolved by the next alpha release of FXRuby.</p></li><li style="list-style-type: disc"><p>For this release, all of the RDoc-based online documentation has
|
570
571
|
been brought up to date with the new APIs.</p></li><li style="list-style-type: disc"><p>Portions of the FXRuby User's Guide were still out of date with
|
571
|
-
respect to the new APIs (see <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=988623&group_id=20243&atid=120243" target="_top">SourceForge
|
572
|
+
respect to the new APIs (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://sourceforge.net/tracker/index.php?func=detail&aid=988623&group_id=20243&atid=120243" target="_top">SourceForge
|
572
573
|
Bug #988623</a>). This has been fixed.</p></li><li style="list-style-type: disc"><p>The <code class="filename">mditest.rb</code> example program was not up
|
573
574
|
to date with the new APIs. This has been fixed.</p></li><li style="list-style-type: disc"><p>The <code class="filename">glviewer.rb</code> example program was not up
|
574
|
-
to date with the new APIs (see <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=986479&group_id=20243&atid=120243" target="_top">SourceForge
|
575
|
+
to date with the new APIs (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://sourceforge.net/tracker/index.php?func=detail&aid=986479&group_id=20243&atid=120243" target="_top">SourceForge
|
575
576
|
Bug #986479</a>). This has been fixed. Thanks to Remy Drouilhet
|
576
577
|
for reporting this problem and suggesting the fixes.</p></li><li style="list-style-type: disc"><p>The <code class="methodname">FXGLGroup#bounds</code> method was defined
|
577
|
-
incorrectly (see <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=986476&group_id=20243&atid=120243" target="_top">SourceForge
|
578
|
+
incorrectly (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://sourceforge.net/tracker/index.php?func=detail&aid=986476&group_id=20243&atid=120243" target="_top">SourceForge
|
578
579
|
Bug #986476</a>). This has been fixed. Thanks to Remy Drouilhet
|
579
580
|
for reporting this problem and suggesting the fix.</p></li><li style="list-style-type: disc"><p>The <code class="filename">scintilla-test.rb</code> example program was
|
580
|
-
not up to date with the new APIs (see <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=986172&group_id=20243&atid=120243" target="_top">SourceForge
|
581
|
+
not up to date with the new APIs (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://sourceforge.net/tracker/index.php?func=detail&aid=986172&group_id=20243&atid=120243" target="_top">SourceForge
|
581
582
|
Bug #986172</a>). This has been fixed. Thanks to Peter Watkins for
|
582
583
|
reporting this problem and submitting a corrected version of the
|
583
584
|
program.</p></li><li style="list-style-type: disc"><p>There was a small typo in the table.rb example program (see
|
584
|
-
<a href="http://sourceforge.net/tracker/index.php?func=detail&aid=988152&group_id=20243&atid=120243" target="_top">SourceForge
|
585
|
+
<a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://sourceforge.net/tracker/index.php?func=detail&aid=988152&group_id=20243&atid=120243" target="_top">SourceForge
|
585
586
|
Bug #988152</a>). This has been fixed. Thanks to Jamey Cribbs for
|
586
587
|
reporting this problem and suggesting the fix.</p></li><li style="list-style-type: disc"><p>Due to an oversight on my part, one of the overloaded
|
587
588
|
constructors for the <code class="classname">FXRegion</code> class wasn't
|
588
|
-
wrapped properly (see <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=986181&group_id=20243&atid=120243" target="_top">SourceForge
|
589
|
+
wrapped properly (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://sourceforge.net/tracker/index.php?func=detail&aid=986181&group_id=20243&atid=120243" target="_top">SourceForge
|
589
590
|
Bug #986181</a>). This has been fixed. Thanks to Bil Bas for
|
590
591
|
reporting this problem.</p></li><li style="list-style-type: disc"><p>Removed some obsolete aliases for the old leading and trailing
|
591
592
|
rows and columns for the <code class="classname">FXTable</code> class (see
|
592
|
-
<a href="http://sourceforge.net/tracker/index.php?func=detail&aid=986181&group_id=20243&atid=120243" target="_top">SourceForge
|
593
|
+
<a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://sourceforge.net/tracker/index.php?func=detail&aid=986181&group_id=20243&atid=120243" target="_top">SourceForge
|
593
594
|
Bug #988038</a>). Thanks to Yuri Leikind for reporting this
|
594
595
|
problem.</p></li><li style="list-style-type: disc"><p>Added <code class="classname">FXTable</code> instance methods
|
595
596
|
<code class="methodname">horizontalGridShown=()</code> and
|
596
597
|
<code class="methodname">verticalGridShown=()</code> to complement the
|
597
598
|
already available <code class="methodname">horizontalGridShown?</code> and
|
598
599
|
<code class="methodname">verticalGridShown?</code> methods.</p></li><li style="list-style-type: disc"><p>The binary gem for the 1.2a1 release on Windows didn't have PNG
|
599
|
-
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
|
600
|
+
or JPEG image support built-in (see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://sourceforge.net/tracker/index.php?func=detail&aid=986180&group_id=20243&atid=120243" target="_top">SourceForge
|
600
601
|
Bug #986180</a>). This has been fixed. Thanks to Bil Bas for
|
601
602
|
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
|
602
|
-
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="
|
603
|
+
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="d0e4187"></a>Changes For Version 1.2a1 (June 28, 2004)</h2></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
|
603
604
|
should be compatible with any FOX library version 1.2; it is not
|
604
605
|
compatible with any previous FOX library versions. As this is an alpha
|
605
606
|
release, users should expect a certain amount of instability, bugs,
|
@@ -612,13 +613,13 @@
|
|
612
613
|
their applications forward now. Note that there have been a number of
|
613
614
|
changes for FOX 1.2 and FXRuby 1.2, both in terms of API changes and
|
614
615
|
less obvious "behavioral" changes. For a detailed summary of these
|
615
|
-
changes, please see <a href="http://www.knology.net/~lyle/fox/1.2/WhatsNew.html" target="_top">"What's New
|
616
|
-
in FOX 1.2"</a> (also available as a <a href="http://www.knology.net/~lyle/fox/1.2/WhatsNew.pdf" target="_top">PDF</a>).
|
616
|
+
changes, please see <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.knology.net/~lyle/fox/1.2/WhatsNew.html" target="_top">"What's New
|
617
|
+
in FOX 1.2"</a> (also available as a <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.knology.net/~lyle/fox/1.2/WhatsNew.pdf" target="_top">PDF</a>).
|
617
618
|
Note that few, if any, of the new classes introduced in FOX 1.2 are
|
618
619
|
available in this first alpha release of FXRuby 1.2. Support for those
|
619
620
|
new classes should come along quickly in subsequent alpha releases of
|
620
621
|
FXRuby 1.2.</p><p>The secondary intent of this first alpha release is to introduce
|
621
|
-
the new <a href="http://rubygems.rubyforge.org" target="_top">RubyGems</a>-based packaging
|
622
|
+
the new <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://rubygems.rubyforge.org" target="_top">RubyGems</a>-based packaging
|
622
623
|
of FXRuby and to begin to work out the inevitable kinks in that
|
623
624
|
system.</p></li><li style="list-style-type: disc"><p>The binary gem for Windows was built with FOX version 1.2.4 and
|
624
625
|
FXScintilla version 1.57.</p></li></ul></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="infosources.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="pt01.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="pt02.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 10. Other Sources of Information </td><td width="20%" align="center"><a accesskey="h" href="book.html">Home</a></td><td width="40%" align="right" valign="top"> Part II. Appendices</td></tr></table></div></body></html>
|