fxruby 1.6.7 → 1.6.8

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.
Files changed (65) hide show
  1. data/doc/apes02.html +2 -2
  2. data/doc/apes03.html +1 -1
  3. data/doc/book.html +1 -1
  4. data/doc/build.html +24 -24
  5. data/doc/ch03s02.html +1 -1
  6. data/doc/ch03s03.html +1 -1
  7. data/doc/ch03s04.html +1 -1
  8. data/doc/ch03s05.html +1 -1
  9. data/doc/ch04s02.html +6 -7
  10. data/doc/ch04s03.html +1 -1
  11. data/doc/ch04s04.html +1 -1
  12. data/doc/ch05s02.html +44 -46
  13. data/doc/ch05s03.html +21 -22
  14. data/doc/changes.html +31 -24
  15. data/doc/clipboardtut.html +7 -8
  16. data/doc/differences.html +9 -9
  17. data/doc/dragdroptut.html +52 -55
  18. data/doc/events.html +7 -7
  19. data/doc/examples.html +24 -24
  20. data/doc/gems.html +10 -10
  21. data/doc/goals.html +8 -6
  22. data/doc/implementation.html +1 -1
  23. data/doc/infosources.html +5 -5
  24. data/doc/library.html +5 -5
  25. data/doc/opengl.html +5 -5
  26. data/doc/pt01.html +1 -1
  27. data/doc/pt02.html +1 -1
  28. data/doc/scintilla.html +8 -8
  29. data/doc/style.css +246 -2
  30. data/doc/subversion.html +1 -1
  31. data/doc/tutorial1.html +2 -2
  32. data/doc/unicode.html +2 -2
  33. data/examples/babelfish.rb +0 -1
  34. data/examples/bounce.rb +0 -1
  35. data/examples/button.rb +0 -1
  36. data/examples/datatarget.rb +0 -1
  37. data/examples/dialog.rb +0 -1
  38. data/examples/dilbert.rb +0 -1
  39. data/examples/dirlist.rb +0 -1
  40. data/examples/dragdrop.rb +0 -1
  41. data/examples/dragsource.rb +0 -1
  42. data/examples/dropsite.rb +1 -2
  43. data/examples/foursplit.rb +0 -1
  44. data/examples/gltest.rb +0 -1
  45. data/examples/glviewer.rb +0 -1
  46. data/examples/groupbox.rb +0 -1
  47. data/examples/header.rb +0 -1
  48. data/examples/iconlist.rb +0 -1
  49. data/examples/image.rb +0 -1
  50. data/examples/imageviewer.rb +0 -1
  51. data/examples/inputs.rb +0 -1
  52. data/examples/mditest.rb +0 -1
  53. data/examples/pig.rb +0 -1
  54. data/examples/raabrowser.rb +0 -1
  55. data/examples/ratio.rb +0 -1
  56. data/examples/rulerview.rb +0 -1
  57. data/examples/scribble.rb +0 -1
  58. data/examples/shutter.rb +0 -1
  59. data/examples/splitter.rb +0 -1
  60. data/examples/tabbook.rb +0 -1
  61. data/examples/table.rb +0 -1
  62. data/ext/fox16/FXRuby.cpp +3 -4
  63. data/lib/fox16/version.rb +1 -1
  64. metadata +2 -3
  65. data/doc/todo.html +0 -40
@@ -14,7 +14,7 @@
14
14
  <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://svnbook.red-bean.com/" target="_top">book</a>.</p><p>You're also going to need to have a working <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.swig.org/" target="_top">SWIG</a> installation so that you can
15
15
  generate the C++ source files from the SWIG interface files. As of this
16
16
  writing, FXRuby requires SWIG version 1.3.22; later versions of SWIG will
17
- not work, nor will versions earlier than about 1.3.15.</p><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e5444"></a>Checking out the code</h2></div></div></div><p>To check out the development version (i.e. the trunk) for FXRuby,
17
+ not work, nor will versions earlier than about 1.3.15.</p><div class="simplesect" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e5431"></a>Checking out the code</h2></div></div></div><p>To check out the development version (i.e. the trunk) for FXRuby,
18
18
  type the following command:</p><pre class="screen">svn checkout svn://rubyforge.org/var/svn/fxruby/trunk/FXRuby</pre><p>Next, you'll need to use SWIG to generate the C++ source code from
19
19
  the SWIG interface files. To do that, type:</p><pre class="screen">rake swig</pre><p>At this point, you should be ready to change to the top-level
20
20
  directory and go through the normal build and installation process, as
@@ -1,11 +1,11 @@
1
1
  <html><head>
2
2
  <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
3
- <title>Chapter&nbsp;3.&nbsp;Hello, World!</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&nbsp;I.&nbsp;The Basics"><link rel="prev" href="gems.html" title="Chapter&nbsp;2.&nbsp;Installing from Gems"><link rel="next" href="ch03s02.html" title="Better living through buttons"></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&nbsp;3.&nbsp;Hello, World!</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="gems.html">Prev</a>&nbsp;</td><th width="60%" align="center">Part&nbsp;I.&nbsp;The Basics</th><td width="20%" align="right">&nbsp;<a accesskey="n" href="ch03s02.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="tutorial1"></a>Chapter&nbsp;3.&nbsp;Hello, World!</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><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></div><p>There are a few things common to all programs that use FXRuby, and the
3
+ <title>Chapter&nbsp;3.&nbsp;Hello, World!</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&nbsp;I.&nbsp;The Basics"><link rel="prev" href="gems.html" title="Chapter&nbsp;2.&nbsp;Installing from Gems"><link rel="next" href="ch03s02.html" title="Better living through buttons"></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&nbsp;3.&nbsp;Hello, World!</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="gems.html">Prev</a>&nbsp;</td><th width="60%" align="center">Part&nbsp;I.&nbsp;The Basics</th><td width="20%" align="right">&nbsp;<a accesskey="n" href="ch03s02.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="tutorial1"></a>Chapter&nbsp;3.&nbsp;Hello, World!</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="tutorial1.html#d0e614">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></div><p>There are a few things common to all programs that use FXRuby, and the
4
4
  purpose of this chapter is to help you get familiar with those. We'll do
5
5
  this by developing a short program that simply displays a button containing
6
6
  the text, "Hello, World!". For reference, this program is included in the
7
7
  <code class="filename">examples</code> subdirectory of the standard FXRuby source
8
- code distribution.</p><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e597"></a>First Things First</h2></div></div></div><p>All of the code associated with the FXRuby extension is provided by
8
+ code distribution.</p><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e614"></a>First Things First</h2></div></div></div><p>All of the code associated with the FXRuby extension is provided by
9
9
  the <code class="classname">fox16 </code>gem, so we need to start by requiring
10
10
  this gem:</p><pre class="programlisting">require 'fox16'</pre><p>Since all of the FXRuby classes are defined under the
11
11
  <code class="classname">Fox</code> module, you'd normally need to refer to them
@@ -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&nbsp;6.&nbsp;Unicode and 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="up" href="pt01.html" title="Part&nbsp;I.&nbsp;The Basics"><link rel="prev" href="ch05s03.html" title="Putting It All Together"><link rel="next" href="examples.html" title="Chapter&nbsp;7.&nbsp;Examples"></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&nbsp;6.&nbsp;Unicode and FXRuby</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch05s03.html">Prev</a>&nbsp;</td><th width="60%" align="center">Part&nbsp;I.&nbsp;The Basics</th><td width="20%" align="right">&nbsp;<a accesskey="n" href="examples.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="unicode"></a>Chapter&nbsp;6.&nbsp;Unicode and FXRuby</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="unicode.html#d0e1608">Basic Application</a></span></dt></dl></div><p>Beginning with version 1.6, FOX and FXRuby provide support for the
3
+ <title>Chapter&nbsp;6.&nbsp;Unicode and 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="up" href="pt01.html" title="Part&nbsp;I.&nbsp;The Basics"><link rel="prev" href="ch05s03.html" title="Putting It All Together"><link rel="next" href="examples.html" title="Chapter&nbsp;7.&nbsp;Examples"></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&nbsp;6.&nbsp;Unicode and FXRuby</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch05s03.html">Prev</a>&nbsp;</td><th width="60%" align="center">Part&nbsp;I.&nbsp;The Basics</th><td width="20%" align="right">&nbsp;<a accesskey="n" href="examples.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="unicode"></a>Chapter&nbsp;6.&nbsp;Unicode and FXRuby</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="unicode.html#d0e1628">Basic Application</a></span></dt></dl></div><p>Beginning with version 1.6, FOX and FXRuby provide support for the
4
4
  display of Unicode strings in FOX widgets. For some excellent discussion
5
5
  about how to use Unicode in Ruby, I recommend Patrick Hall's article, <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://ruphus.com/blog/2005/06/11/ruby-and-unicode/" target="_top">"Ruby and
6
6
  Unicode"</a> and why the lucky stiff's follow-up article, <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://redhanded.hobix.com/inspect/closingInOnUnicodeWithJcode.html" target="_top">"Closing
7
7
  in on Unicode with Jcode"</a>. Here, we're going to make use of the
8
8
  ideas in those articles to give a quick demonstration of how to use FXRuby's
9
- support for Unicode.</p><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e1608"></a>Basic Application</h2></div></div></div><p>Here's the original version of our "Hello, World!" program:</p><pre class="programlisting">require 'fox16'
9
+ support for Unicode.</p><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e1628"></a>Basic Application</h2></div></div></div><p>Here's the original version of our "Hello, World!" program:</p><pre class="programlisting">require 'fox16'
10
10
 
11
11
  include Fox
12
12
 
@@ -1,7 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require 'fox16'
4
- require 'fox16/kwargs'
5
4
  require 'soap/rpc/driver'
6
5
 
7
6
  include Fox
@@ -1,5 +1,4 @@
1
1
  require 'fox16'
2
- require 'fox16/kwargs'
3
2
 
4
3
  include Fox
5
4
 
@@ -1,7 +1,6 @@
1
1
  #/usr/bin/env ruby
2
2
 
3
3
  require 'fox16'
4
- require 'fox16/kwargs'
5
4
 
6
5
  include Fox
7
6
 
@@ -2,7 +2,6 @@
2
2
 
3
3
  require 'fox16'
4
4
  require 'fox16/colors'
5
- require 'fox16/kwargs'
6
5
 
7
6
  include Fox
8
7
 
@@ -1,7 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require 'fox16'
4
- require 'fox16/kwargs'
5
4
 
6
5
  include Fox
7
6
 
@@ -1,7 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require 'fox16'
4
- require 'fox16/kwargs'
5
4
  require 'open-uri'
6
5
  begin
7
6
  require 'rubyful_soup'
@@ -1,7 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require 'fox16'
4
- require 'fox16/kwargs'
5
4
 
6
5
  include Fox
7
6
 
@@ -1,5 +1,4 @@
1
1
  require 'fox16'
2
- require 'fox16/kwargs'
3
2
 
4
3
  include Fox
5
4
 
@@ -1,5 +1,4 @@
1
1
  require 'fox16'
2
- require 'fox16/kwargs'
3
2
 
4
3
  include Fox
5
4
 
@@ -1,5 +1,4 @@
1
1
  require 'fox16'
2
- require 'fox16/kwargs'
3
2
 
4
3
  include Fox
5
4
 
@@ -7,7 +6,7 @@ class DropSite < FXMainWindow
7
6
 
8
7
  def initialize(anApp)
9
8
  # Initialize base class
10
- super(anApp, "Drop Site",:opts => DECOR_ALL, :width => 400, :height => 300)
9
+ super(anApp, "Drop Site", :opts => DECOR_ALL, :width => 400, :height => 300)
11
10
 
12
11
  # Fill main window with canvas
13
12
  @canvas = FXCanvas.new(self, :opts => LAYOUT_FILL_X|LAYOUT_FILL_Y)
@@ -1,7 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require 'fox16'
4
- require 'fox16/kwargs'
5
4
 
6
5
  include Fox
7
6
 
@@ -1,7 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require 'fox16'
4
- require 'fox16/kwargs'
5
4
  begin
6
5
  require 'opengl'
7
6
  rescue LoadError
@@ -2,7 +2,6 @@
2
2
 
3
3
  require 'fox16'
4
4
  require 'fox16/responder'
5
- require 'fox16/kwargs'
6
5
  begin
7
6
  require 'fox16/glshapes'
8
7
  rescue LoadError
@@ -1,7 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require 'fox16'
4
- require 'fox16/kwargs'
5
4
 
6
5
  include Fox
7
6
 
@@ -1,7 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require 'fox16'
4
- require 'fox16/kwargs'
5
4
 
6
5
  include Fox
7
6
 
@@ -1,5 +1,4 @@
1
1
  require 'fox16'
2
- require 'fox16/kwargs'
3
2
 
4
3
  include Fox
5
4
 
@@ -2,7 +2,6 @@
2
2
 
3
3
  require 'fox16'
4
4
  require 'fox16/colors'
5
- require 'fox16/kwargs'
6
5
 
7
6
  include Fox
8
7
 
@@ -1,7 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require 'fox16'
4
- require 'fox16/kwargs'
5
4
 
6
5
  include Fox
7
6
 
@@ -1,7 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require 'fox16'
4
- require 'fox16/kwargs'
5
4
 
6
5
  include Fox
7
6
 
@@ -2,7 +2,6 @@
2
2
 
3
3
  require 'fox16'
4
4
  require 'fox16/colors'
5
- require 'fox16/kwargs'
6
5
 
7
6
  include Fox
8
7
 
@@ -5,7 +5,6 @@
5
5
  #
6
6
 
7
7
  require 'fox16'
8
- require 'fox16/kwargs'
9
8
 
10
9
  include Fox
11
10
 
@@ -1,5 +1,4 @@
1
1
  require 'fox16'
2
- require 'fox16/kwargs'
3
2
  require 'cgi'
4
3
  require 'soap/wsdlDriver'
5
4
 
@@ -6,7 +6,6 @@
6
6
 
7
7
  require 'fox16'
8
8
  require 'fox16/colors'
9
- require 'fox16/kwargs'
10
9
 
11
10
  include Fox
12
11
 
@@ -1,5 +1,4 @@
1
1
  require 'fox16'
2
- require 'fox16/kwargs'
3
2
 
4
3
  include Fox
5
4
 
@@ -1,7 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require 'fox16'
4
- require 'fox16/kwargs'
5
4
 
6
5
  include Fox
7
6
 
@@ -1,7 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require 'fox16'
4
- require 'fox16/kwargs'
5
4
 
6
5
  include Fox
7
6
 
@@ -1,7 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require 'fox16'
4
- require 'fox16/kwargs'
5
4
 
6
5
  include Fox
7
6
 
@@ -1,7 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require 'fox16'
4
- require 'fox16/kwargs'
5
4
 
6
5
  include Fox
7
6
 
@@ -1,7 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require 'fox16'
4
- require 'fox16/kwargs'
5
4
  require 'date'
6
5
 
7
6
  include Fox
@@ -21,7 +21,7 @@
21
21
  ***********************************************************************/
22
22
 
23
23
  /***********************************************************************
24
- * $Id: FXRuby.cpp 2608 2007-02-09 20:34:16Z lyle $
24
+ * $Id: FXRuby.cpp 2643 2007-04-05 03:22:03Z lyle $
25
25
  ***********************************************************************/
26
26
 
27
27
  #ifdef _MSC_VER
@@ -136,13 +136,11 @@ VALUE FXRbNewPointerObj(void *ptr,swig_type_info* ty){
136
136
  FXASSERT(ty!=0);
137
137
  VALUE obj;
138
138
  FXRubyObjDesc *desc;
139
- int result;
140
139
  if(FXMALLOC(&desc,FXRubyObjDesc,1)){
141
140
  obj=SWIG_Ruby_NewPointerObj(ptr,ty,1);
142
141
  desc->obj=obj;
143
142
  desc->borrowed=true;
144
- result=st_insert(FXRuby_Objects,reinterpret_cast<st_data_t>(ptr),reinterpret_cast<st_data_t>(desc));
145
- FXASSERT(result==0);
143
+ st_insert(FXRuby_Objects,reinterpret_cast<st_data_t>(ptr),reinterpret_cast<st_data_t>(desc));
146
144
  return obj;
147
145
  }
148
146
  else{
@@ -2011,6 +2009,7 @@ extern "C" void Init_fox16(void) {
2011
2009
  REQUIRE("fox16/glgroup");
2012
2010
  REQUIRE("fox16/execute_nonmodal");
2013
2011
  REQUIRE("fox16/version");
2012
+ REQUIRE("fox16/kwargs");
2014
2013
 
2015
2014
  id_assocs=rb_intern("@assocs");
2016
2015
  id_backtrace=rb_intern("backtrace");
@@ -3,7 +3,7 @@ module Fox
3
3
  # Returns the FXRuby version number as a string, e.g. "1.0.19".
4
4
  #
5
5
  def Fox.fxrubyversion
6
- "1.6.7"
6
+ "1.6.8"
7
7
  end
8
8
  end
9
9
 
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: fxruby
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.6.7
7
- date: 2007-03-31 00:00:00 -05:00
6
+ version: 1.6.8
7
+ date: 2007-04-04 00:00:00 -05:00
8
8
  summary: FXRuby is the Ruby binding to the FOX GUI toolkit.
9
9
  require_paths:
10
10
  - ext/fox16
@@ -63,7 +63,6 @@ files:
63
63
  - doc/pt02.html
64
64
  - doc/scintilla.html
65
65
  - doc/subversion.html
66
- - doc/todo.html
67
66
  - doc/tutorial1.html
68
67
  - doc/unicode.html
69
68
  - doc/images/babelfish.png
@@ -1,40 +0,0 @@
1
- <html><head>
2
- <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
3
- <title>Chapter&nbsp;9.&nbsp;To-do list</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&nbsp;I.&nbsp;The Basics"><link rel="prev" href="events.html" title="Chapter&nbsp;8.&nbsp;FXRuby's Message-Target System"><link rel="next" href="infosources.html" title="Chapter&nbsp;10.&nbsp;Other Sources of Information"></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&nbsp;9.&nbsp;To-do list</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="events.html">Prev</a>&nbsp;</td><th width="60%" align="center">Part&nbsp;I.&nbsp;The Basics</th><td width="20%" align="right">&nbsp;<a accesskey="n" href="infosources.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="todo"></a>Chapter&nbsp;9.&nbsp;To-do list</h2></div></div></div><div class="itemizedlist"><ul type="bullet"><li style="list-style-type: disc"><p>I haven't yet paid much attention to some of the more esoteric
4
- issues such as multithreaded applications, or interactions with other
5
- popular Ruby extensions. FXRuby seems to cooperate well with Ruby's
6
- thread scheduler on all platforms, although threading support for the
7
- mswin32 build of Ruby was broken for Ruby versions 1.6.7 and earlier.
8
- For best results, use Ruby versions 1.6.8 or later.</p></li><li style="list-style-type: disc"><p>More examples are always good. Instead of (or in addition to)
9
- merely cloning the C++ examples from the standard FOX distribution, it
10
- would be nice to have original example programs that demonstrate
11
- Ruby's special strengths.</p></li><li style="list-style-type: disc"><p>Documentation is of course a big weakness at this point. I am
12
- slowly building up a set of "pseudo-sources" with RDoc-style
13
- comments that can be used to generate API documentation but this is far
14
- from complete (see the <code class="filename">rdoc-sources</code>
15
- directory in the standard source distribution).</p></li><li style="list-style-type: disc"><p>Many people have expressed interest in a framework similar to
16
- Tk's <code class="classname">Canvas</code> widget that allows you to draw
17
- and drag 2-D shapes around, etc. Should be able to implement this kind
18
- of thing directly in Ruby code (i.e. no need to write it in C++ first
19
- and then "wrap" it).</p></li><li style="list-style-type: disc"><p>There is no native Mac OS X port of FOX, but many people are
20
- successfully building and running FOX and FXRuby applications on Mac OS
21
- X using Apple's X11 server implementation. For more information,
22
- please see the <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.fox-toolkit.net/cgi-bin/wiki.pl?Mac_OS_X" target="_top">Mac OS X</a>
23
- page at the <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.fox-toolkit.net" target="_top">FOX Community Wiki</a>
24
- site.</p></li><li style="list-style-type: disc"><p>Need to investigate how well FXRuby-based applications work with
25
- <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://exerb.sourceforge.jp/index.en.html" target="_top">exerb</a>,
26
- and perhaps add a section to the documentation about how to do this.</p></li><li style="list-style-type: disc"><p>As of this writing, FOX doesn't provide any support for
27
- internationalization (I18N) or Unicode text and so FXRuby doesn't
28
- either. It is possible that FOX 1.2 will include some I18N support (see
29
- the <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.fox-toolkit.net/cgi-bin/wiki.pl?FAQ" target="_top">FAQ</a>
30
- at the <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.fox-toolkit.net" target="_top">FOX Community Wiki</a>
31
- site), and if so, appropriate changes will be made to FXRuby at that
32
- time.</p></li><li style="list-style-type: disc"><p>FOX's list-like widgets (such as <code class="classname">FXList</code>)
33
- behave differently from Ruby container objects (such as
34
- <code class="classname">Array</code>) in the sense that when a list widget is
35
- destroyed, it typically destroys all of its contained items at the same
36
- time. One consequence of this behavior is that you can end up with Ruby
37
- objects that refer to dead C++ objects (a variation of the dangling
38
- pointer problem familiar to C/C++ programmers). I would like to see if
39
- this behavior can be modified for FXRuby so that it's impossible to
40
- end up with these "dangling references".</p></li></ul></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="events.html">Prev</a>&nbsp;</td><td width="20%" align="center"><a accesskey="u" href="pt01.html">Up</a></td><td width="40%" align="right">&nbsp;<a accesskey="n" href="infosources.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter&nbsp;8.&nbsp;FXRuby's Message-Target System&nbsp;</td><td width="20%" align="center"><a accesskey="h" href="book.html">Home</a></td><td width="40%" align="right" valign="top">&nbsp;Chapter&nbsp;10.&nbsp;Other Sources of Information</td></tr></table></div></body></html>