From MAILER-DAEMON Thu Feb 13 14:33:20 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18jP6l-00073w-00
	for mharc-wxruby-dev@gnu.org; Thu, 13 Feb 2003 14:33:19 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18jP3H-00066C-00
	for wxruby-dev@nongnu.org; Thu, 13 Feb 2003 14:29:43 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18jP2l-0005VA-00
	for wxruby-dev@nongnu.org; Thu, 13 Feb 2003 14:29:17 -0500
Received: from [196.2.48.35] (helo=smtp04.iafrica.com)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18jP2V-0004uh-00
	for wxruby-dev@nongnu.org; Thu, 13 Feb 2003 14:28:56 -0500
Received: from nld-dial-196-7-27-31.mweb.co.za ([196.7.27.31] helo=neo)
	by smtp04.iafrica.com with smtp (Exim 3.33 #1)
	id 18jP19-0001e9-00
	for wxruby-dev@nongnu.org; Thu, 13 Feb 2003 21:27:32 +0200
From: "repeater" <repeater@lucentprimate.cjb.net>
To: <wxruby-dev@nongnu.org>
Date: Thu, 13 Feb 2003 21:36:57 +0200
Message-ID: <AFEPKIEHDHMBGKFGPFLNIEKCELAA.repeater@lucentprimate.cjb.net>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Importance: Normal
Subject: [Wxruby-dev] wxruby compiled
X-BeenThere: wxruby-dev@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: repeater@lucentprimate.cjb.net, wxruby-dev@nongnu.org
List-Id: <wxruby-dev.nongnu.org>
List-Help: <mailto:wxruby-dev-request@nongnu.org?subject=help>
List-Post: <mailto:wxruby-dev@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/wxruby-dev>,
	<mailto:wxruby-dev-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/wxruby-dev>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/wxruby-dev>,
	<mailto:wxruby-dev-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 13 Feb 2003 19:33:18 -0000

greetings

i've finally managed to get the cvs sources going (a feat for me, a VC++
novice)
and i'm impressed by the example, the little closing error aside.

but as i am trying to port another example app, i get the impression that
there is still some way to go.
so i'd like to contribute a bit, if my skills don't prove to be too
primitive

a quick question session:

1. to what extent was the wxpy source modified/reduced? why is some stuff
missing, and what are the underlying problems about them.

a quick example:
the constant WxWhite is missing. searching wxpy sources, it seems it is
defined in gdi.i
adding the apparent necessary code to wxrb gdi.i didn't help much, which
just proves i don't know much about advanced swig and magic!

2. will it be necessary to modify the swig *.i files themselves, or rather
just the supporting infra

3. how are named parameters handled currently ?

that is it for now, i really hope we can get this project rolling.

regards
Peter "looking through the windows, i don't want to see foxes"




From MAILER-DAEMON Thu Feb 13 16:48:46 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18jRDq-0008Js-00
	for mharc-wxruby-dev@gnu.org; Thu, 13 Feb 2003 16:48:46 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18jRDo-0008IO-00
	for wxruby-dev@nongnu.org; Thu, 13 Feb 2003 16:48:44 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18jRDm-0008Gw-00
	for wxruby-dev@nongnu.org; Thu, 13 Feb 2003 16:48:43 -0500
Received: from h001.c000.snv.cp.net ([209.228.32.65] helo=c000.snv.cp.net)
	by monty-python.gnu.org with smtp (Exim 4.10.13)
	id 18jRA7-0006xF-00
	for wxruby-dev@nongnu.org; Thu, 13 Feb 2003 16:44:55 -0500
Received: (cpmta 10882 invoked from network); 13 Feb 2003 13:44:49 -0800
Received: from 148.63.129.187 (HELO l5)
  by smtp.hibbs.com (209.228.32.65) with SMTP; 13 Feb 2003 13:44:49 -0800
X-Sent: 13 Feb 2003 21:44:49 GMT
From: "Curt Hibbs" <curt@hibbs.com>
To: <repeater@lucentprimate.cjb.net>,
	<wxruby-dev@nongnu.org>
Subject: RE: [Wxruby-dev] wxruby compiled
Date: Thu, 13 Feb 2003 13:44:42 -0800
Message-ID: <INEGJNJOFAMNDPNEABNEOEPHFOAA.curt@hibbs.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
In-Reply-To: <AFEPKIEHDHMBGKFGPFLNIEKCELAA.repeater@lucentprimate.cjb.net>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Importance: Normal
X-BeenThere: wxruby-dev@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: wxruby-dev@nongnu.org
List-Id: <wxruby-dev.nongnu.org>
List-Help: <mailto:wxruby-dev-request@nongnu.org?subject=help>
List-Post: <mailto:wxruby-dev@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/wxruby-dev>,
	<mailto:wxruby-dev-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/wxruby-dev>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/wxruby-dev>,
	<mailto:wxruby-dev-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 13 Feb 2003 21:48:45 -0000

repeater wrote:
>
> greetings
>
> i've finally managed to get the cvs sources going (a feat for me, a VC++
> novice)
> and i'm impressed by the example, the little closing error aside.

Congratulations.

> but as i am trying to port another example app, i get the impression that
> there is still some way to go.

Oh, yes!

> so i'd like to contribute a bit, if my skills don't prove to be too
> primitive

We would love to have some extra help.

I'm afraid I can't answer your why-did-you-do-this type of question because
the initial port was donated to the wxRuby project by Park Heesob and
neither I nor Bob Calco sis the actual work. I have done a small amount of
work (mostly on the make system & VC++ project), but have not fully studied
Park's work.

Work on wxRuby has been on hold since October while I/we have focused on
getting the first release of FreeRIDE out the door. The original motivation
for starting wxRuby was and still is because we need it for FreeRIDE (unless
FOX somehow acquires the missing pieces of functionality that FreeRIDE
needs).

As you have discovered, we currently have a very basic version of wxRuby
working under Windows (but with bugs), and it has not yet been ported/tested
on any other platform. We also just discovered an alternative to SWIG called
Cable (http://public.kitware.com/Cable/HTML/Index.html) that looks like it
might be much better and less labor intensive than SWIG, so we are going to
evaluate the possibility of switching to Cable as an interface generation
tool. Doing so would set us back at first, but pay off down the road.

If you are interested in joining the project, perhaps you would be
interested in checking out Cable to see if we can use it in place of SWIG.

Curt

> a quick question session:
>
> 1. to what extent was the wxpy source modified/reduced? why is some stuff
> missing, and what are the underlying problems about them.
>
> a quick example:
> the constant WxWhite is missing. searching wxpy sources, it seems it is
> defined in gdi.i
> adding the apparent necessary code to wxrb gdi.i didn't help much, which
> just proves i don't know much about advanced swig and magic!
>
> 2. will it be necessary to modify the swig *.i files themselves, or rather
> just the supporting infra
>
> 3. how are named parameters handled currently ?
>
> that is it for now, i really hope we can get this project rolling.
>
> regards
> Peter "looking through the windows, i don't want to see foxes"
>
>
>
> _______________________________________________
> Wxruby-dev mailing list
> Wxruby-dev@nongnu.org
> http://mail.nongnu.org/mailman/listinfo/wxruby-dev
>




From MAILER-DAEMON Sat Feb 15 06:37:00 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18k0ch-0002vr-00
	for mharc-wxruby-dev@gnu.org; Sat, 15 Feb 2003 06:36:47 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18k0cc-0002nJ-00
	for wxruby-dev@nongnu.org; Sat, 15 Feb 2003 06:36:42 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18k0cB-0002bL-00
	for wxruby-dev@nongnu.org; Sat, 15 Feb 2003 06:36:20 -0500
Received: from [196.2.48.35] (helo=smtp04.iafrica.com)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18k0ZZ-00020U-00
	for wxruby-dev@nongnu.org; Sat, 15 Feb 2003 06:33:34 -0500
Received: from nld-dial-196-7-27-176.mweb.co.za ([196.7.27.176] helo=neo)
	by smtp04.iafrica.com with smtp (Exim 3.33 #1)
	id 18k0Y8-0000oJ-00; Sat, 15 Feb 2003 13:32:05 +0200
From: "repeater" <repeater@lucentprimate.cjb.net>
To: <wxruby-dev@nongnu.org>
Date: Sat, 15 Feb 2003 13:33:00 +0200
Message-ID: <AFEPKIEHDHMBGKFGPFLNEEMCELAA.repeater@lucentprimate.cjb.net>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
In-reply-to: <INEGJNJOFAMNDPNEABNEOEPHFOAA.curt@hibbs.com>
Importance: Normal
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
cc: Curt Hibbs <curt@hibbs.com>
Subject: [Wxruby-dev] Cable ties
X-BeenThere: wxruby-dev@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: repeater@lucentprimate.cjb.net, wxruby-dev@nongnu.org
List-Id: <wxruby-dev.nongnu.org>
List-Help: <mailto:wxruby-dev-request@nongnu.org?subject=help>
List-Post: <mailto:wxruby-dev@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/wxruby-dev>,
	<mailto:wxruby-dev-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/wxruby-dev>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/wxruby-dev>,
	<mailto:wxruby-dev-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 15 Feb 2003 11:36:45 -0000

curt wrote:
<..>
> We also just discovered an alternative to
> SWIG called
> Cable (http://public.kitware.com/Cable/HTML/Index.html) that looks like it
> might be much better and less labor intensive than SWIG, so we
> are going to
> evaluate the possibility of switching to Cable as an interface generation
> tool. Doing so would set us back at first, but pay off down the road.
>
> If you are interested in joining the project, perhaps you would be
> interested in checking out Cable to see if we can use it in place of SWIG.

hmm this is interesting. i'd like to test it out, but at first sight it
seems to be only supporting tcl right now.

i suggest our modus operandi with Cable:
a) wait until perl/python hordes releases a binding. there are many more of
them, and the path to ruby is better from there, so we can easily create a
binding based on their attempts. (better than being the 2nd non-tcl
interpreted lang)
b) as the p-language bindings realize, and if Cable is as amazing as they
claim, surely some projects will start to utilize it. it is best to make a
judgement call about the amount of effort and functionality needed by
looking at a working large example.

i'd consider the Cable route a wait-and-see don't you think.
overdepending right now could damage the progress of the swig route.

and about the swig sentiment, the main critique seems to be too much
micro-management, but i think if we are clever we could avoid it in this
project. but ho! the best way to regain my sanity, is to dive into swig-land
a bit and see for myself

cya <dives>
Peter




From MAILER-DAEMON Sun Feb 16 14:08:15 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18kU99-0007vO-00
	for mharc-wxruby-dev@gnu.org; Sun, 16 Feb 2003 14:08:15 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18kU96-0007sb-00
	for wxruby-dev@nongnu.org; Sun, 16 Feb 2003 14:08:12 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18kU94-0007mq-00
	for wxruby-dev@nongnu.org; Sun, 16 Feb 2003 14:08:11 -0500
Received: from h007.c000.snv.cp.net ([209.228.32.71] helo=c000.snv.cp.net)
	by monty-python.gnu.org with smtp (Exim 4.10.13)
	id 18kU93-0007mF-00
	for wxruby-dev@nongnu.org; Sun, 16 Feb 2003 14:08:09 -0500
Received: (cpmta 11731 invoked from network); 16 Feb 2003 11:08:05 -0800
Received: from 148.63.129.187 (HELO l5)
  by smtp.hibbs.com (209.228.32.71) with SMTP; 16 Feb 2003 11:08:05 -0800
X-Sent: 16 Feb 2003 19:08:05 GMT
From: "Curt Hibbs" <curt@hibbs.com>
To: <repeater@lucentprimate.cjb.net>,
	<wxruby-dev@nongnu.org>
Subject: RE: [Wxruby-dev] Cable ties
Date: Sun, 16 Feb 2003 11:07:55 -0800
Message-ID: <INEGJNJOFAMNDPNEABNEIEDOFPAA.curt@hibbs.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
In-Reply-To: <AFEPKIEHDHMBGKFGPFLNEEMCELAA.repeater@lucentprimate.cjb.net>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-BeenThere: wxruby-dev@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: wxruby-dev@nongnu.org
List-Id: <wxruby-dev.nongnu.org>
List-Help: <mailto:wxruby-dev-request@nongnu.org?subject=help>
List-Post: <mailto:wxruby-dev@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/wxruby-dev>,
	<mailto:wxruby-dev-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/wxruby-dev>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/wxruby-dev>,
	<mailto:wxruby-dev-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Sun, 16 Feb 2003 19:08:13 -0000

repeater wrote:
> curt wrote:
> > If you are interested in joining the project, perhaps you would be
> > interested in checking out Cable to see if we can use it in
> place of SWIG.
>
> hmm this is interesting. i'd like to test it out, but at first sight it
> seems to be only supporting tcl right now.

A ruby emitter would need to be created, so the question is how
easy/difficult does this appear to be, and the next question would be
whether the payoff would be worth the effort.

The problem with SWIG is that it isn't sophisticated enough about processing
C++ header files, so it becomes necessary to write interface files, and
these interface files require ongoing maintenance to stay in sync with the
underlying C++ source code. This is probably an acceptable "evil" if there
is no other choice. However being able to process C++ header files directly
(without the need to interface files) would be preferable.

I'm trying to take a long-term view here. I'm (slightly) more concerned
about the long-term maintenance costs than the initial development costs.

> i suggest our modus operandi with Cable:
> a) wait until perl/python hordes releases a binding. there are
> many more of
> them, and the path to ruby is better from there, so we can easily create a
> binding based on their attempts. (better than being the 2nd non-tcl
> interpreted lang)
> b) as the p-language bindings realize, and if Cable is as amazing as they
> claim, surely some projects will start to utilize it. it is best to make a
> judgement call about the amount of effort and functionality needed by
> looking at a working large example.
>
> i'd consider the Cable route a wait-and-see don't you think.
> overdepending right now could damage the progress of the swig route.

I think we would probably pick one route (SWIG or Cable) and stick with it.
I wouldn't see us changing later on.

> and about the swig sentiment, the main critique seems to be too much
> micro-management, but i think if we are clever we could avoid it in this
> project. but ho! the best way to regain my sanity, is to dive
> into swig-land
> a bit and see for myself

Sure, I just want to avoid, if possible, being in the position of having to
manually synchronize a bunch of interface files with a large set of C++
header files. I initially tried to use SWIG without interface files
(theoretically possible) but gave up because SWIG couldn't properly parse
all of wxWinbdow's C++ header files.

Curt




From MAILER-DAEMON Sun Feb 16 15:22:03 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18kVIX-0002qd-00
	for mharc-wxruby-dev@gnu.org; Sun, 16 Feb 2003 15:22:01 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18kVIO-0002gl-00
	for wxruby-dev@nongnu.org; Sun, 16 Feb 2003 15:21:52 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18kVID-0002OB-00
	for wxruby-dev@nongnu.org; Sun, 16 Feb 2003 15:21:44 -0500
Received: from [196.2.48.35] (helo=smtp04.iafrica.com)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18kVHj-0001wq-00
	for wxruby-dev@nongnu.org; Sun, 16 Feb 2003 15:21:12 -0500
Received: from nld-dial-196-7-201-51.mweb.co.za ([196.7.201.51] helo=neo)
	by smtp04.iafrica.com with smtp (Exim 3.33 #1)
	id 18kVG6-0001dM-00
	for wxruby-dev@nongnu.org; Sun, 16 Feb 2003 22:19:31 +0200
From: "repeater" <repeater@lucentprimate.cjb.net>
To: <wxruby-dev@nongnu.org>
Date: Sun, 16 Feb 2003 22:20:44 +0200
Message-ID: <AFEPKIEHDHMBGKFGPFLNAENOELAA.repeater@lucentprimate.cjb.net>
MIME-Version: 1.0
Content-Type: multipart/mixed;
	boundary="----=_NextPart_000_0006_01C2D609.A5C2EC20"
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Importance: Normal
Subject: [Wxruby-dev] analysis of current code
X-BeenThere: wxruby-dev@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: repeater@lucentprimate.cjb.net, wxruby-dev@nongnu.org
List-Id: <wxruby-dev.nongnu.org>
List-Help: <mailto:wxruby-dev-request@nongnu.org?subject=help>
List-Post: <mailto:wxruby-dev@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/wxruby-dev>,
	<mailto:wxruby-dev-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/wxruby-dev>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/wxruby-dev>,
	<mailto:wxruby-dev-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Sun, 16 Feb 2003 20:21:54 -0000

This is a multi-part message in MIME format.

------=_NextPart_000_0006_01C2D609.A5C2EC20
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

hello
so i've had some time and made a little study of Park's wxRuby
implementation, and it looks a bit better than i've suspected. mostly i read
through the source, comparing wxPy with wxRb side by side.

notes about the differences:
----------------------------
(disclaimer: sources casually browsed, no guarantee of accuracy)

1.) all classes starting with "wxPy" were removed. this usually indicates a
python aware class, thus a wxwindows class modified with python constructs.
if we use a Cable-like system, we will not get this either, and if you look
at the src from this perspective it seems rather comprehensive.


2.)	%addmethods {} modifying existing wxWindows classes with Python API code
example:
wxListBox.GetSelections
	-probably converts selected items to python tuples
wxCommandEvent.GetClientData
	-something to do with python reference counting, perhaps ignore worthy
wxDropFilesEvent.GetFiles
	-probably converts list of files to python list
...
pretty much %addmethods{} with "PyObject" or "Py_" mentioned within the wxPy
source

btw, %addmethods is deprecated, we should use %extend


3.)	a lot of pragma(python) code that defines custom class specific events
(thus like the methods in _extras.rb)
e.g "def EVT_XXX()". easy to convert to ruby


4.)	files like helpers.h are completely removed, and in wxPy there is an
amount of "noise" that seems to link python comfortably into the wxWindows
world (think coexistence with threads for example). so it is not just the
definition of the components.

another example: %pragma(python) addtomethod =
"__init__:self._setOORInfo(self)"
there are may of those. the only reference to "OOR" i found in wxPy
CHANGES.txt
"
   Implemented the first phase of OOR (Original Object Return).  See
   the text in the demo for more details of what this means, but in a
   nutshell methods such as wxWindow.GetParent or FindWindowById will
   now return a shadow object of the proper type if it can.  By
   "proper type" I mean that if the wxWindow pointer returned from
   FindWindowById really points to a wxButton then the Python object
   constructed will be of a wxButtonPtr class instead of wxWindowPtr
   as before.  This should reduce or eliminiate the need for
   wxPyTypeCast.  (Woo Hoo!)  The objects returned are still not the
   original Python object, but that is the next step.  (Although it
   will probably only work on Python 2.1 and beyond because it will
   use weak references.)
"
this is an example of a thing i do not know if we'd need, hopefully owning
to ruby's C api superiority or an improved SWIG

well the demo runs doesn't it <worried smiley>


5.)	little apparently harmless optimisations (better swig version or ruby),
e.g:
%name(wxPreListBox)wxListBox();	->  wxListBox();


6.)	this is my main observation and change to the code
there is "%addmethods {void Connect ...}" snippets in wxTextCtrl and wxFrame
(the two classes used in the cvs demo). i don't know why these are there,
but if you move both to wxEvtHandler like it should according to wxPy, it
makes other classes functional too.

in this %addmethods block, that is now under wxEvtHandler, there should also
be Disconnect declarations as i glance at wxPy.

======================

well, i do not know how many people are subscribed and whether they are
willing to help out, but i've made a list of possible things to do now.

i know the main developers are keeping this a bit on a hold, but if they or
others wish to help push this project into existence it would be great for
the ruby community. else i guess we'll have to wait until freeRIDE really
needs it (if indeed ever), and see what happens from there.

todo:
-----
1.)	we need tons of examples and tests, so i recommend that we port some of
the examples/demo provided with wxPython. that could be a cool thing to do
for people that want to make a contribution without much effort or
experience needed.

2.)	people with ruby c api knowledge can try to port wxPyXXX classes. these
are classes that are not provided with wxWindows, but that are probably
designed according to a dynamic lang's requirements. so it seems like a good
idea

(note that above two items are independent of whether Cable will be used or
not)

3.)	solving the bug as the app exits, encapsulated by:

require 'wx'
include Wx

app = WxRbApp.new
frame = WxFrame.new(nil, -1, "test frame")
frame.Show
app.MainLoop
#crash!

it seems that ruby's garbage collector doesn't play nice with wxWindows (add
"frame = nil", "GC.start" and "frame.Destroy" at appropiate places). well it
is not really very clear

4.)	a new little event error, demonstrated by a new ported example app
(attached)
	-draw a bit
	-move the window outside the screen to activate redraw, causing OnPaint to
be called ad infinitum.
	whoops, watch that cpu meter go !

======================

<phew> i hope this project will benefit from this input, if it indeed
continues on the SWIG path.

regards
Peter

PS, i wanted to add it on the wiki, but couldn't find an appropriate spot.
not well versed in wiki lore, i am

------=_NextPart_000_0006_01C2D609.A5C2EC20
Content-Type: application/octet-stream;
	name="doodle.rb"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="doodle.rb"

require 'wx'
include Wx
#----------------------------------------------------------------------

class DoodleWindow < WxWindow
    def initialize(parent, id)
        super(parent, id)
        @menuColours =3D { 100 =3D> 'Black',
                    101 =3D> 'Yellow',
                    102 =3D> 'Red',
                    103 =3D> 'Green',
                    104 =3D> 'Blue',
                    105 =3D> 'Purple',
                    106 =3D> 'Brown',
                    107 =3D> 'Aquamarine',
                    108 =3D> 'Forest Green',
                    109 =3D> 'Light Blue',
                    110 =3D> 'Goldenrod',
                    111 =3D> 'Cyan',
                    112 =3D> 'Orange',
                    113 =3D> 'Navy',
                    114 =3D> 'Dark Grey',
                    115 =3D> 'Light Grey',
                    }
        @maxThickness =3D 16
        self.SetBackgroundColour(Wx::wxWHITE)
        @listeners =3D []
        @thickness =3D 1
        self.SetColour("Black")
        @lines =3D []
        @x =3D @y =3D 0
        self.MakeMenu()
       =20
        # hook some mouse events
        EVT_LEFT_DOWN(self, "OnLeftDown")
        EVT_LEFT_UP(self, "OnLeftUp")
        EVT_RIGHT_UP(self, "OnRightUp")
        EVT_MOTION(self, "OnMotion")
       =20
        # and the refresh event
        EVT_PAINT(self, "OnPaint")
    end
   =20
    def __del__
        self.menu.Destroy()
    end

    def SetColour(colour)
        #Set a new colour and make a matching pen
        @colour =3D colour
        @pen =3D WxPen.new(Wx.wxNamedColour(@colour), @thickness, =
Wx::WxSOLID)
      #  @pen =3D WxPen.new(WxColour.new(5), @thickness, 3)
        self.Notify()
    end

    def SetThickness(num)
        #Set a new line thickness and make a matching pen
        @thickness =3D num
        @pen =3D WxPen.new(Wx.wxNamedColour(@colour), @thickness, =
Wx::WxSOLID)
        self.Notify()
    end


    def GetLinesData
        return @lines.dup
    end

    def SetLinesData(lines)
        @lines =3D lines.dup
        self.Refresh()
    end

    def MakeMenu
        #Make a menu that can be popped up later
        menu =3D WxMenu.new()
        keys =3D @menuColours.keys()
        keys.sort()
        keys.each do |k|
            text =3D @menuColours[k]
            menu.Append(k, text)
        end
        EVT_MENU_RANGE(self, 100, 200, "OnMenuSetColour")
        EVT_UPDATE_UI_RANGE(self, 100, 200, "OnCheckMenuColours")
        menu.Break()
        (1...@maxThickness).each do |x|
            menu.Append(x, x.to_s)
        end
        EVT_MENU_RANGE(self, 1, @maxThickness, "OnMenuSetThickness")
        EVT_UPDATE_UI_RANGE(self, 1, @maxThickness, =
"OnCheckMenuThickness")
        @menu =3D menu
    end
   =20
    # These two event handlers are called before the menu is displayed
    # to determine which items should be checked.
    def OnCheckMenuColours(event)
        text =3D @menuColours[event.GetId()]
        if text =3D=3D @colour
            event.Check(true)
        else
            event.Check(false)
        end
    end
   =20
    def OnCheckMenuThickness(event)
        if event.GetId() =3D=3D @thickness
            event.Check(true)
        else
            event.Check(false)
        end
    end
    def OnLeftDown(event)
        #called when the left mouse button is pressed
        @curLine =3D []
        point =3D event.GetPosition()
        @x, @y =3D point.x, point.y
        self.CaptureMouse()
    end

    def OnLeftUp(event)
        #called when the left mouse button is released
        @lines << [@colour, @thickness, @curLine]
        @curLine =3D []
        self.ReleaseMouse()
    end

    def OnRightUp(event)
        #called when the right mouse button is released, will popup the =
menu
        pt =3D event.GetPosition()
        self.PopupMenu(@menu, pt)
    end


    def OnMotion(event)
#        Called when the mouse is in motion.  If the left button is
#        dragging then draw a line from the last event position to the
#        current one.  Save the coordinants for redraws.
        if event.Dragging() and event.LeftIsDown()
            dc =3D WxClientDC.new(self)
            dc.BeginDrawing()
            dc.SetPen(@pen)
            pos =3D event.GetPosition()
            coords =3D [@x, @y, pos.x, pos.y]
            @curLine << coords
            dc.DrawLine(@x, @y, pos.x, pos.y)
            @x, @y =3D pos.x, pos.y
            dc.EndDrawing()
        end
    end

    def OnPaint(event)
#        Called when the window is exposed.  Redraws all the lines that =
have
#        been drawn already.
        dc =3D WxPaintDC.new(self)
        dc.BeginDrawing()
        @lines.each do |item|
            colour, thickness, line =3D item
            pen =3D WxPen.new(Wx.wxNamedColour(colour), thickness, =
Wx::WxSOLID)
            dc.SetPen(pen)
            line.each do |coords|
                dc.DrawLine(*coords)
            end
        end
        dc.EndDrawing()
    end
    # Event handlers for the popup menu, uses the event ID to determine
    # the colour or the thickness to set.
    def OnMenuSetColour(event)
        self.SetColour(@menuColours[event.GetId()])
    end

    def OnMenuSetThickness(event)
        self.SetThickness(event.GetId())
    end


    # Observer pattern.  Listeners are registered and then notified
    # whenever doodle settings change.
    def AddListener(listener)
        @listeners.append(listener)
    end

    def Notify
        for other in @listeners
            other.Update(@colour, @thickness)
        end
    end
end
#----------------------------------------------------------------------

class DoodleFrame < WxFrame
    attr_accessor :doodle
    def initialize(parent)
        super(parent, -1, "Doodle Frame")
        @doodle =3D DoodleWindow.new(self,-1)
    end
end


#----------------------------------------------------------------------


app =3D WxRbApp.new
frame =3D DoodleFrame.new(nil)
frame.Show
app.MainLoop()

exit!

------=_NextPart_000_0006_01C2D609.A5C2EC20--




From MAILER-DAEMON Sun Feb 16 18:46:57 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18kYUk-0006N2-00
	for mharc-wxruby-dev@gnu.org; Sun, 16 Feb 2003 18:46:50 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18kYUc-00060h-00
	for wxruby-dev@nongnu.org; Sun, 16 Feb 2003 18:46:42 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18kYUY-0005tA-00
	for wxruby-dev@nongnu.org; Sun, 16 Feb 2003 18:46:38 -0500
Received: from out004pub.verizon.net ([206.46.170.142]
	helo=out004.verizon.net)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)	id 18kYUW-0005mm-00
	for wxruby-dev@nongnu.org; Sun, 16 Feb 2003 18:46:36 -0500
Received: from [127.0.0.1] by out004.verizon.net
          (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP
          id <20030216234635.SMA2505.out004.verizon.net@[127.0.0.1]>;
          Sun, 16 Feb 2003 17:46:35 -0600
From: Bob Calco <robert.calco@verizon.net>
To: <wxruby-dev@nongnu.org>,<repeater@lucentprimate.cjb.net>,<wxruby-dev@nongnu.org>
Subject: Re: RE: [Wxruby-dev] Cable ties
Date: Sun, 16 Feb 2003 17:46:34 -0600
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Authentication-Info: Submitted using SMTP AUTH at out004.verizon.net from
	[127.0.0.1] at Sun, 16 Feb 2003 17:46:34 -0600
Message-Id: <20030216234635.SMA2505.out004.verizon.net@[127.0.0.1]>
X-BeenThere: wxruby-dev@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: robert.calco@verizon.net, wxruby-dev@nongnu.org
List-Id: <wxruby-dev.nongnu.org>
List-Help: <mailto:wxruby-dev-request@nongnu.org?subject=help>
List-Post: <mailto:wxruby-dev@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/wxruby-dev>,
	<mailto:wxruby-dev-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/wxruby-dev>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/wxruby-dev>,
	<mailto:wxruby-dev-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Sun, 16 Feb 2003 23:46:49 -0000

I vote for Cable - I have a design plan for creating the Ruby emitter, which I will attempt to make public this week so we can collaborate on it.

Sorry for my long silence; my wife has been in the hospital on bedrest (32 weeks pregnant) for the last four weeks, and will be in another 4-8 weeks, and I've been doing a lot of Mr. Mom lately.

- Bob Calco
> 
> From: "Curt Hibbs" <curt@hibbs.com>
> Date: 2003/02/16 Sun PM 01:07:55 CST
> To: <repeater@lucentprimate.cjb.net>, 
> 	<wxruby-dev@nongnu.org>
> Subject: RE: [Wxruby-dev] Cable ties
> 
> repeater wrote:
> > curt wrote:
> > > If you are interested in joining the project, perhaps you would be
> > > interested in checking out Cable to see if we can use it in
> > place of SWIG.
> >
> > hmm this is interesting. i'd like to test it out, but at first sight it
> > seems to be only supporting tcl right now.
> 
> A ruby emitter would need to be created, so the question is how
> easy/difficult does this appear to be, and the next question would be
> whether the payoff would be worth the effort.
> 
> The problem with SWIG is that it isn't sophisticated enough about processing
> C++ header files, so it becomes necessary to write interface files, and
> these interface files require ongoing maintenance to stay in sync with the
> underlying C++ source code. This is probably an acceptable "evil" if there
> is no other choice. However being able to process C++ header files directly
> (without the need to interface files) would be preferable.
> 
> I'm trying to take a long-term view here. I'm (slightly) more concerned
> about the long-term maintenance costs than the initial development costs.
> 
> > i suggest our modus operandi with Cable:
> > a) wait until perl/python hordes releases a binding. there are
> > many more of
> > them, and the path to ruby is better from there, so we can easily create a
> > binding based on their attempts. (better than being the 2nd non-tcl
> > interpreted lang)
> > b) as the p-language bindings realize, and if Cable is as amazing as they
> > claim, surely some projects will start to utilize it. it is best to make a
> > judgement call about the amount of effort and functionality needed by
> > looking at a working large example.
> >
> > i'd consider the Cable route a wait-and-see don't you think.
> > overdepending right now could damage the progress of the swig route.
> 
> I think we would probably pick one route (SWIG or Cable) and stick with it.
> I wouldn't see us changing later on.
> 
> > and about the swig sentiment, the main critique seems to be too much
> > micro-management, but i think if we are clever we could avoid it in this
> > project. but ho! the best way to regain my sanity, is to dive
> > into swig-land
> > a bit and see for myself
> 
> Sure, I just want to avoid, if possible, being in the position of having to
> manually synchronize a bunch of interface files with a large set of C++
> header files. I initially tried to use SWIG without interface files
> (theoretically possible) but gave up because SWIG couldn't properly parse
> all of wxWinbdow's C++ header files.
> 
> Curt
> 
> 
> 
> _______________________________________________
> Wxruby-dev mailing list
> Wxruby-dev@nongnu.org
> http://mail.nongnu.org/mailman/listinfo/wxruby-dev
> 




From MAILER-DAEMON Mon Feb 17 13:47:28 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18kqFq-000374-00
	for mharc-wxruby-dev@gnu.org; Mon, 17 Feb 2003 13:44:38 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18kqE7-0001pZ-00
	for wxruby-dev@nongnu.org; Mon, 17 Feb 2003 13:42:51 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18kq9o-0008FR-00
	for wxruby-dev@nongnu.org; Mon, 17 Feb 2003 13:38:25 -0500
Received: from [196.2.48.35] (helo=smtp04.iafrica.com)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18kq9J-0007xT-00
	for wxruby-dev@nongnu.org; Mon, 17 Feb 2003 13:37:54 -0500
Received: from nld-dial-196-7-200-91.mweb.co.za ([196.7.200.91] helo=neo)
	by smtp04.iafrica.com with smtp (Exim 3.33 #1)
	id 18kq7l-0006XQ-00
	for wxruby-dev@nongnu.org; Mon, 17 Feb 2003 20:36:17 +0200
From: "repeater" <repeater@lucentprimate.cjb.net>
To: <wxruby-dev@nongnu.org>
Subject: RE: [Wxruby-dev] Cable ties
Date: Mon, 17 Feb 2003 20:37:43 +0200
Message-ID: <AFEPKIEHDHMBGKFGPFLNIEONELAA.repeater@lucentprimate.cjb.net>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Importance: Normal
In-reply-to: <INEGJNJOFAMNDPNEABNEIEDOFPAA.curt@hibbs.com>
X-BeenThere: wxruby-dev@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: repeater@lucentprimate.cjb.net, wxruby-dev@nongnu.org
List-Id: <wxruby-dev.nongnu.org>
List-Help: <mailto:wxruby-dev-request@nongnu.org?subject=help>
List-Post: <mailto:wxruby-dev@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/wxruby-dev>,
	<mailto:wxruby-dev-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/wxruby-dev>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/wxruby-dev>,
	<mailto:wxruby-dev-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 17 Feb 2003 18:44:36 -0000

curt replied:
<..>
> The problem with SWIG is that it isn't sophisticated enough about
> processing
> C++ header files, so it becomes necessary to write interface files, and
> these interface files require ongoing maintenance to stay in sync with the
> underlying C++ source code. This is probably an acceptable "evil" if there
> is no other choice. However being able to process C++ header
> files directly
> (without the need to interface files) would be preferable.
>
> I'm trying to take a long-term view here. I'm (slightly) more concerned
> about the long-term maintenance costs than the initial development costs.

a wise consideration, it seems like a full time job (ask lyle ;-)

firstly i do not think that the wxWindows components themselves would change
often or be crucial (e.g adding important things to wxButton would be
unlikely). so our basic collection of components is basically complete

i think more wxWindows components would be released though, and those will
have to be added manually.
but consider this, if we can take wxRuby to a point where it mirrors
wxPython to a certain extent, we can link it with the project and update as
it updates. the feeling of "chasing" is reduced dramatically, leaving just a
bit of easy conversion and ruby c api application.

you can even get a semi-automated conversion app going, i say with the aid
of hand waving ;-)

i think that following wxPython would be very wise, especially since it
seems at inspection to have well considered original material (little
platform specific things, handy wxPyXXXX class derivations) that we wouldn't
get from Cable

>
> > i suggest our modus operandi with Cable:
> > a) wait until perl/python hordes releases a binding. there are
> > many more of
> > them, and the path to ruby is better from there, so we can
> easily create a
> > binding based on their attempts. (better than being the 2nd non-tcl
> > interpreted lang)
> > b) as the p-language bindings realize, and if Cable is as
> amazing as they
> > claim, surely some projects will start to utilize it. it is
> best to make a
> > judgement call about the amount of effort and functionality needed by
> > looking at a working large example.
> >
> > i'd consider the Cable route a wait-and-see don't you think.
> > overdepending right now could damage the progress of the swig route.
>
> I think we would probably pick one route (SWIG or Cable) and
> stick with it.
> I wouldn't see us changing later on.

perhaps, if we had to write SWIG from scratch, but i think we've got a
pretty ok thing going already.
i recommend we go on with swig a bit, see how much effort it turns out to
require and go from there.

regards
Peter




From MAILER-DAEMON Tue Feb 18 01:09:00 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18l0vz-00021n-00
	for mharc-wxruby-dev@gnu.org; Tue, 18 Feb 2003 01:08:51 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18l0vg-0001HS-00
	for wxruby-dev@nongnu.org; Tue, 18 Feb 2003 01:08:32 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18l0vO-0000iF-00
	for wxruby-dev@nongnu.org; Tue, 18 Feb 2003 01:08:16 -0500
Received: from h002.c000.snv.cp.net ([209.228.32.66] helo=c000.snv.cp.net)
	by monty-python.gnu.org with smtp (Exim 4.10.13)
	id 18l0t7-0008N3-00
	for wxruby-dev@nongnu.org; Tue, 18 Feb 2003 01:05:53 -0500
Received: (cpmta 27286 invoked from network); 17 Feb 2003 22:05:30 -0800
Received: from 148.63.129.187 (HELO l5)
  by smtp.hibbs.com (209.228.32.66) with SMTP; 17 Feb 2003 22:05:30 -0800
X-Sent: 18 Feb 2003 06:05:30 GMT
From: "Curt Hibbs" <curt@hibbs.com>
To: <robert.calco@verizon.net>,
	<wxruby-dev@nongnu.org>,
	<repeater@lucentprimate.cjb.net>
Subject: RE: RE: [Wxruby-dev] Cable ties
Date: Mon, 17 Feb 2003 22:05:14 -0800
Message-ID: <INEGJNJOFAMNDPNEABNEEEGEFPAA.curt@hibbs.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
In-Reply-To: <20030216234635.SMA2505.out004.verizon.net@[127.0.0.1]>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
cc: Curt Hibbs <curt@hibbs.com>
X-BeenThere: wxruby-dev@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: wxruby-dev@nongnu.org
List-Id: <wxruby-dev.nongnu.org>
List-Help: <mailto:wxruby-dev-request@nongnu.org?subject=help>
List-Post: <mailto:wxruby-dev@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/wxruby-dev>,
	<mailto:wxruby-dev-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/wxruby-dev>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/wxruby-dev>,
	<mailto:wxruby-dev-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 18 Feb 2003 06:08:49 -0000

Bob Calco wrote:
>
> I vote for Cable - I have a design plan for creating the Ruby
> emitter, which I will attempt to make public this week so we can
> collaborate on it.
>
> Sorry for my long silence; my wife has been in the hospital on
> bedrest (32 weeks pregnant) for the last four weeks, and will be
> in another 4-8 weeks, and I've been doing a lot of Mr. Mom lately.
>
> - Bob Calco

Bob, on a pure development design basis I would side with you and push for
the Cable route. But the pragmatic side of me wants to be sure we actually
get results. Neither your nor I have had the recent time or bandwidth to
push forward. It doesn't really sound like that is going to be changing for
you any time soon and, given a choice, I would rather be working on my
growing FreeRIDE wishlist (which includes the i18n support the wxRuby would
give us).

And here we have Peter who has actually taken the time to do an assessment,
who was the energy, interest, and (at least some) time to spend on it -- not
to mention the fact that we actually have a working version of wxRuby using
SWIG. Because of this I really have to support Peter in his desire to push
forward with SWIG.

I see a couple possibilities for you...

1) You could continue to work on a Cable path for wxRuby (while Peter works
on the SWIG path). If it turns out that you are able to make significant
progress and the results look compelling, then I think it is a slam-dunk
that we would switch to the Cable path.

2) You could decide, instead, to shelve the Cable path (at least
temporarily) and assist with the SWIG effort. One thing that I know would be
of tremendous value is a test harness that would allow us to create a suite
of platform-independent unit tests for wxRuby. This would really help us in
porting and testing on multiple platforms. I know that GUI unit testing is
particularly difficult, but I also know you have some special expertise in
test harnesses.

As for me, I could act as the first real-world customer by implementing the
plugin that uses wxRuby as FreeRIDE's GUI renderer.

I can see good reasons for you to choose either path, and I will respect
your choice. But until there is a compelling reason to the contrary, I will
support Peter in pushing forward with the SWIG path.

Curt


PS to Richard Lin (and others),

Do you still have the interest, desire, and time to spend on wxRuby? If so,
this would be the time to join in.





From MAILER-DAEMON Tue Feb 18 07:29:50 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18l6sa-00059c-00
	for mharc-wxruby-dev@gnu.org; Tue, 18 Feb 2003 07:29:44 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18l6sX-00055m-00
	for wxruby-dev@nongnu.org; Tue, 18 Feb 2003 07:29:41 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18l6sV-00053x-00
	for wxruby-dev@nongnu.org; Tue, 18 Feb 2003 07:29:40 -0500
Received: from amer-mta01.csc.com ([20.137.2.247])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18l6rY-0004Ld-00
	for wxruby-dev@nongnu.org; Tue, 18 Feb 2003 07:28:40 -0500
Received: from amer-mta01.csc.com (localhost [127.0.0.1])
	h1ICTJh06478;	Tue, 18 Feb 2003 07:29:19 -0500 (EST)
Received: from csc.com (va-fch34.csc.com [20.6.39.227])h1ICTIh06440;
	Tue, 18 Feb 2003 07:29:18 -0500 (EST)
Received: from AMMLP5.AMER.CSC.COM ([20.6.40.130])
          by csc.com (Lotus Domino Release 5.0.11)
          with SMTP id 2003021807284753:10867 ;
          Tue, 18 Feb 2003 07:28:47 -0500 
Received: from CALCOLAPTOP (20.4.201.68) by AMMLP5.AMER.CSC.COM
   (IBM MVS SMTP CS V2R10) with TCP; Tue, 18 Feb 03 07:26:12 EDT
From: "Bob Calco" <robert.calco@verizon.net>
To: "Curt Hibbs" <curt@hibbs.com>, <wxruby-dev@nongnu.org>,
   <repeater@lucentprimate.cjb.net>
Subject: RE: RE: [Wxruby-dev] Cable ties
Date: Tue, 18 Feb 2003 07:26:40 -0500
Message-ID: <NCEJJNLDMEJLEJHKNGNHOEAEHOAA.robert.calco@verizon.net>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
In-Reply-To: <INEGJNJOFAMNDPNEABNEEEGEFPAA.curt@hibbs.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Importance: Normal
X-MIMETrack: Itemize by SMTP Server on VA-FCH34/SRV/CSC(Release 5.0.11  |July
	24, 2002) at 02/18/2003 07:28:48 AM,2002) at 02/18/2003 07:29:42 AM,
	Serialize complete at 02/18/2003 07:29:42 AM
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset="iso-8859-1"
X-BeenThere: wxruby-dev@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: robert.calco@verizon.net, wxruby-dev@nongnu.org
List-Id: <wxruby-dev.nongnu.org>
List-Help: <mailto:wxruby-dev-request@nongnu.org?subject=help>
List-Post: <mailto:wxruby-dev@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/wxruby-dev>,
	<mailto:wxruby-dev-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/wxruby-dev>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/wxruby-dev>,
	<mailto:wxruby-dev-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 18 Feb 2003 12:29:42 -0000

Curt et al.

My interest in Cable goes beyond wxRuby. My interest in wxRuby, however,
does not abate if SWIG, and not Cable, is used to make wxRuby operational
"sooner rather than later."

I will continue to push forward with Cable-R, but also support using SWIG to
create wxRuby for now. Anything I can do to support and otherwise assist, I
will do my best to do.

This last year has been very difficult - and I am no longer so naive to
think next year will be any different. That having been said I do intend to
renew my commitment to Ruby development, and will strive to make time
whenever possible for the many projects I have - so far unsuccessfully -
dedicated myself.

Thanks, Curt, for your thoughts; as usual they are cogent and wise.

- Bob

%% -----Original Message-----
%% From: Curt Hibbs [mailto:curt@hibbs.com]
%% Sent: Tuesday, February 18, 2003 1:05 AM
%% To: robert.calco@verizon.net; wxruby-dev@nongnu.org;
%% repeater@lucentprimate.cjb.net
%% Cc: Curt Hibbs; chaokuo@iname.com
%% Subject: RE: RE: [Wxruby-dev] Cable ties
%%
%%
%% Bob Calco wrote:
%% >
%% > I vote for Cable - I have a design plan for creating the Ruby
%% > emitter, which I will attempt to make public this week so we can
%% > collaborate on it.
%% >
%% > Sorry for my long silence; my wife has been in the hospital on
%% > bedrest (32 weeks pregnant) for the last four weeks, and will be
%% > in another 4-8 weeks, and I've been doing a lot of Mr. Mom lately.
%% >
%% > - Bob Calco
%%
%% Bob, on a pure development design basis I would side with you
%% and push for
%% the Cable route. But the pragmatic side of me wants to be sure
%% we actually
%% get results. Neither your nor I have had the recent time or bandwidth to
%% push forward. It doesn't really sound like that is going to be
%% changing for
%% you any time soon and, given a choice, I would rather be working on my
%% growing FreeRIDE wishlist (which includes the i18n support the
%% wxRuby would
%% give us).
%%
%% And here we have Peter who has actually taken the time to do an
%% assessment,
%% who was the energy, interest, and (at least some) time to spend
%% on it -- not
%% to mention the fact that we actually have a working version of
%% wxRuby using
%% SWIG. Because of this I really have to support Peter in his
%% desire to push
%% forward with SWIG.
%%
%% I see a couple possibilities for you...
%%
%% 1) You could continue to work on a Cable path for wxRuby (while
%% Peter works
%% on the SWIG path). If it turns out that you are able to make significant
%% progress and the results look compelling, then I think it is a slam-dunk
%% that we would switch to the Cable path.
%%
%% 2) You could decide, instead, to shelve the Cable path (at least
%% temporarily) and assist with the SWIG effort. One thing that I
%% know would be
%% of tremendous value is a test harness that would allow us to
%% create a suite
%% of platform-independent unit tests for wxRuby. This would really
%% help us in
%% porting and testing on multiple platforms. I know that GUI unit
%% testing is
%% particularly difficult, but I also know you have some special
%% expertise in
%% test harnesses.
%%
%% As for me, I could act as the first real-world customer by
%% implementing the
%% plugin that uses wxRuby as FreeRIDE's GUI renderer.
%%
%% I can see good reasons for you to choose either path, and I will respect
%% your choice. But until there is a compelling reason to the
%% contrary, I will
%% support Peter in pushing forward with the SWIG path.
%%
%% Curt
%%
%%
%% PS to Richard Lin (and others),
%%
%% Do you still have the interest, desire, and time to spend on
%% wxRuby? If so,
%% this would be the time to join in.
%%
%%
%%





From MAILER-DAEMON Mon Feb 24 15:21:33 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18nP6S-00059O-00
	for mharc-wxruby-dev@gnu.org; Mon, 24 Feb 2003 15:21:32 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18nP6Q-00058y-00	for wxruby-dev@mail.freesoftware.fsf.org;
	Mon, 24 Feb 2003 15:21:30 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18nP5u-0004H4-00	for wxruby-dev@mail.freesoftware.fsf.org;
	Mon, 24 Feb 2003 15:21:29 -0500
Received: from h007.c000.snv.cp.net ([209.228.32.71] helo=c000.snv.cp.net)
	by monty-python.gnu.org with smtp (Exim 4.10.13)	id 18nP5t-00041p-00
	for wxruby-dev@mail.freesoftware.fsf.org;
	Mon, 24 Feb 2003 15:20:57 -0500
Received: (cpmta 19084 invoked from network); 24 Feb 2003 12:20:51 -0800
Received: from 148.63.129.187 (HELO l5)
  by smtp.hibbs.com (209.228.32.71) with SMTP; 24 Feb 2003 12:20:51 -0800
X-Sent: 24 Feb 2003 20:20:51 GMT
From: "Curt Hibbs" <curt@hibbs.com>
To: <freeride-devel@nongnu.org>
Date: Mon, 24 Feb 2003 12:20:43 -0800
Message-ID: <INEGJNJOFAMNDPNEABNEMEDNGAAA.curt@hibbs.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
In-Reply-To: <3466EAF4-4820-11D7-860C-000A95765742@infoether.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Importance: Normal
cc: wxRuby <wxruby-dev@mail.freesoftware.fsf.org>
Subject: [Wxruby-dev] RE: [FR-devel] FreeRIDE presentation accepted at OSCON.
X-BeenThere: wxruby-dev@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: wxruby-dev@nongnu.org
List-Id: <wxruby-dev.nongnu.org>
List-Help: <mailto:wxruby-dev-request@nongnu.org?subject=help>
List-Post: <mailto:wxruby-dev@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/wxruby-dev>,
	<mailto:wxruby-dev-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/wxruby-dev>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/wxruby-dev>,
	<mailto:wxruby-dev-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 24 Feb 2003 20:21:30 -0000

Richard Kilmer wrote:
>
> O'Reilly's 2003 Open Source Convention (OSCON) has accepted my proposal
> to present FreeRIDE.  This is cool news for both Ruby and our project.
> Its not until July so we have time (but we must keep moving forward...I
> know, I know...that includes me too ;-)
>
> I get a 45 minute slot to present.  The conference dates are the
> 7th-11th of July in Portland OR.
>
> I will keep the list informed as I hear more about the day of the
> presentation.

This is great Rich!

Here's a decision I have been hinting at, but I think I will make it
official -- I'm going to (continue to) drop out of wxRuby development so
that I can devote my energies to FreeRIDE (at least between now and OSCON).
There are a number of high priority things that I want to get into FreeRIDE
by that time.

To Bob Calco: there was no response from Peter about picking up the ball for
moving forward with the SWIG version of wxRuby, so feel free to pursue you
original plan with Cable.

Curt




From MAILER-DAEMON Mon Feb 24 17:12:33 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18nQpt-0001kV-00
	for mharc-wxruby-dev@gnu.org; Mon, 24 Feb 2003 17:12:33 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18nQpq-0001jG-00
	for wxruby-dev@nongnu.org; Mon, 24 Feb 2003 17:12:30 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18nQpf-0001gc-00
	for wxruby-dev@nongnu.org; Mon, 24 Feb 2003 17:12:30 -0500
Received: from [196.2.48.34] (helo=smtp03.iafrica.com)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18nQne-0001T6-00
	for wxruby-dev@nongnu.org; Mon, 24 Feb 2003 17:10:14 -0500
Received: from nld-dial-196-7-202-98.mweb.co.za ([196.7.202.98] helo=neo)
	by smtp03.iafrica.com with smtp (Exim 3.33 #1)
	id 18nQmH-0006pa-00
	for wxruby-dev@nongnu.org; Tue, 25 Feb 2003 00:08:49 +0200
From: "repeater" <repeater@lucentprimate.cjb.net>
To: <wxruby-dev@nongnu.org>
Date: Tue, 25 Feb 2003 00:10:37 +0200
Message-ID: <AFEPKIEHDHMBGKFGPFLNCEKAEMAA.repeater@lucentprimate.cjb.net>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
Importance: Normal
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Subject: [Wxruby-dev] a quick swig
X-BeenThere: wxruby-dev@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: repeater@lucentprimate.cjb.net, wxruby-dev@nongnu.org
List-Id: <wxruby-dev.nongnu.org>
List-Help: <mailto:wxruby-dev-request@nongnu.org?subject=help>
List-Post: <mailto:wxruby-dev@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/wxruby-dev>,
	<mailto:wxruby-dev-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/wxruby-dev>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/wxruby-dev>,
	<mailto:wxruby-dev-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 24 Feb 2003 22:12:31 -0000

hmm could any resident swig wizard give me a clue:

#my_typemaps.i
%typemap(python,build) int LCOUNT {
    if (_in_choices) {
        $target = PyList_Size(_in_choices);
    }
    else {
        $target = 0;
    }
}

what does this "build" kind of typemap (no where mentioned in swigdocs) mean
? (and why can't i get it to work)
i do know this is part of multi-argument typemapping, to eliminate redundant
specification of a list's size, and i know how to do it with swig, but the
above would make the current code more simple.

oh well, i've implemented a seemingly redundant collection of typemaps to
mimic this effect (there are quite a few types). so much for pretty code...

regards
Peter




From MAILER-DAEMON Mon Feb 24 17:13:09 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18nQqS-0001wo-00
	for mharc-wxruby-dev@gnu.org; Mon, 24 Feb 2003 17:13:08 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18nQqQ-0001w3-00
	for wxruby-dev@nongnu.org; Mon, 24 Feb 2003 17:13:06 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18nQoN-0001Vc-00
	for wxruby-dev@nongnu.org; Mon, 24 Feb 2003 17:11:30 -0500
Received: from [196.2.48.34] (helo=smtp03.iafrica.com)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18nQng-0001TF-00
	for wxruby-dev@nongnu.org; Mon, 24 Feb 2003 17:10:17 -0500
Received: from nld-dial-196-7-202-98.mweb.co.za ([196.7.202.98] helo=neo)
	by smtp03.iafrica.com with smtp (Exim 3.33 #1)
	id 18nQmI-0006pa-00
	for wxruby-dev@nongnu.org; Tue, 25 Feb 2003 00:08:51 +0200
From: "repeater" <repeater@lucentprimate.cjb.net>
To: <wxruby-dev@nongnu.org>
Subject: RE: [Wxruby-dev] RE: [FR-devel] FreeRIDE presentation accepted at
	OSCON.
Date: Tue, 25 Feb 2003 00:10:42 +0200
Message-ID: <AFEPKIEHDHMBGKFGPFLNEEKAEMAA.repeater@lucentprimate.cjb.net>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
In-reply-to: <INEGJNJOFAMNDPNEABNEMEDNGAAA.curt@hibbs.com>
Importance: Normal
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-BeenThere: wxruby-dev@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: repeater@lucentprimate.cjb.net, wxruby-dev@nongnu.org
List-Id: <wxruby-dev.nongnu.org>
List-Help: <mailto:wxruby-dev-request@nongnu.org?subject=help>
List-Post: <mailto:wxruby-dev@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/wxruby-dev>,
	<mailto:wxruby-dev-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/wxruby-dev>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/wxruby-dev>,
	<mailto:wxruby-dev-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 24 Feb 2003 22:13:07 -0000

curt wrote:
>
> Here's a decision I have been hinting at, but I think I will make it
> official -- I'm going to (continue to) drop out of wxRuby development so
> that I can devote my energies to FreeRIDE (at least between now
> and OSCON).
> There are a number of high priority things that I want to get
> into FreeRIDE
> by that time.
>
> To Bob Calco: there was no response from Peter about picking up
> the ball for
> moving forward with the SWIG version of wxRuby, so feel free to pursue you
> original plan with Cable.

hi Curt, great news about your IDE, congrats !

hmm it seems i've missed my cue in responding, i hope you took no offense.
you see, i was inspired by your message, took it as thumbs up go ahead and
continued working until i have something worth talking about :-) i'll post a
little issue now that have puzzled me a bit.

so if you are in doubt of my status:
i am going to continue to work on wxRuby and incrementally port the python
demos. my hope is that we will be capable of getting a co-operative
structure going here on this list. alone, my knowledge may not be
sufficient, and it would be great if we can start throwing questions and
issues at one another.

about Cable:
i still think that Cable wouldn't deliver us a working wxRuby any quicker.
currently the problems we face seems to be the efficient integration of
wxwindows into the ruby world, and i am not sure Cable would resolve that.
the interface files are written, a done deal.


please reconsider dropping out completely would you ? although what we
really need is people that commit themselves into learning the internals (as
is my intention), just giving it your attention now and then would be
appreciated.

if i can ask a favour, could you at least stay and help to troubleshoot the
crash as the app exits ? i suspect it is caused by the garbage collector
(will start a new topic about it soon)

regards
Peter




From MAILER-DAEMON Mon Feb 24 23:20:26 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18nWZt-0007Xu-00
	for mharc-wxruby-dev@gnu.org; Mon, 24 Feb 2003 23:20:25 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18nWZr-0007Nc-00
	for wxruby-dev@nongnu.org; Mon, 24 Feb 2003 23:20:23 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18nWZK-0006Uh-00
	for wxruby-dev@nongnu.org; Mon, 24 Feb 2003 23:20:21 -0500
Received: from h000.c000.snv.cp.net ([209.228.32.64] helo=c000.snv.cp.net)
	by monty-python.gnu.org with smtp (Exim 4.10.13)
	id 18nWZK-0006Ud-00
	for wxruby-dev@nongnu.org; Mon, 24 Feb 2003 23:19:50 -0500
Received: (cpmta 25251 invoked from network); 24 Feb 2003 20:19:45 -0800
Received: from 148.63.129.187 (HELO l5)
  by smtp.hibbs.com (209.228.32.64) with SMTP; 24 Feb 2003 20:19:45 -0800
X-Sent: 25 Feb 2003 04:19:45 GMT
From: "Curt Hibbs" <curt@hibbs.com>
To: <repeater@lucentprimate.cjb.net>,
	<wxruby-dev@nongnu.org>
Subject: RE: [Wxruby-dev] RE: [FR-devel] FreeRIDE presentation accepted
	atOSCON.
Date: Mon, 24 Feb 2003 20:19:24 -0800
Message-ID: <INEGJNJOFAMNDPNEABNEKEEOGAAA.curt@hibbs.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
In-Reply-To: <AFEPKIEHDHMBGKFGPFLNEEKAEMAA.repeater@lucentprimate.cjb.net>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Importance: Normal
cc: Curt Hibbs <curt@hibbs.com>
X-BeenThere: wxruby-dev@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: wxruby-dev@nongnu.org
List-Id: <wxruby-dev.nongnu.org>
List-Help: <mailto:wxruby-dev-request@nongnu.org?subject=help>
List-Post: <mailto:wxruby-dev@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/wxruby-dev>,
	<mailto:wxruby-dev-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/wxruby-dev>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/wxruby-dev>,
	<mailto:wxruby-dev-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 25 Feb 2003 04:20:24 -0000

repeater wrote:
>
> curt wrote:
> >
> > Here's a decision I have been hinting at, but I think I will make it
> > official -- I'm going to (continue to) drop out of wxRuby development so
> > that I can devote my energies to FreeRIDE (at least between now
> > and OSCON).
> > There are a number of high priority things that I want to get
> > into FreeRIDE
> > by that time.
> >
> > To Bob Calco: there was no response from Peter about picking up
> > the ball for
> > moving forward with the SWIG version of wxRuby, so feel free to
> pursue you
> > original plan with Cable.
>
> hi Curt, great news about your IDE, congrats !
>
> hmm it seems i've missed my cue in responding, i hope you took no offense.
> you see, i was inspired by your message, took it as thumbs up go ahead and
> continued working until i have something worth talking about :-)
> i'll post a
> little issue now that have puzzled me a bit.

Gee, my apologies for jumping to the conclusion.

> so if you are in doubt of my status:
> i am going to continue to work on wxRuby and incrementally port the python
> demos. my hope is that we will be capable of getting a co-operative
> structure going here on this list. alone, my knowledge may not be
> sufficient, and it would be great if we can start throwing questions and
> issues at one another.
>
> about Cable:
> i still think that Cable wouldn't deliver us a working wxRuby any quicker.
> currently the problems we face seems to be the efficient integration of
> wxwindows into the ruby world, and i am not sure Cable would resolve that.
> the interface files are written, a done deal.
>
>
> please reconsider dropping out completely would you ? although what we
> really need is people that commit themselves into learning the
> internals (as
> is my intention), just giving it your attention now and then would be
> appreciated.

Absolutely! I just won't be able to do any primary development on wxRuby. I
still want to create a wxRuby renderer plugin for FreeRIDE. This will be a
good real-world test case for wxRuby that will help shake out any problems.

> if i can ask a favour, could you at least stay and help to
> troubleshoot the
> crash as the app exits ? i suspect it is caused by the garbage collector
> (will start a new topic about it soon)

Sure. I'm aware of this problem (and I also think its a GC related problem)
but had not looked into it.

Anyway... sorry I jumped to the conclusion that you weren't interested, and
I am ecstatic that you are willing to be the primary mover at this point in
time.

Curt




From MAILER-DAEMON Tue Feb 25 15:09:03 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18nlNv-0008HV-00
	for mharc-wxruby-dev@gnu.org; Tue, 25 Feb 2003 15:09:03 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18nlKT-0007ba-00
	for wxruby-dev@nongnu.org; Tue, 25 Feb 2003 15:05:29 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18nlJf-0006y4-00
	for wxruby-dev@nongnu.org; Tue, 25 Feb 2003 15:05:10 -0500
Received: from [196.2.48.35] (helo=smtp04.iafrica.com)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18nlJd-0006sN-00
	for wxruby-dev@nongnu.org; Tue, 25 Feb 2003 15:04:38 -0500
Received: from nld-dial-196-7-201-129.mweb.co.za ([196.7.201.129] helo=neo)
	by smtp04.iafrica.com with smtp (Exim 3.33 #1)
	id 18nlHq-0001Ym-00
	for wxruby-dev@nongnu.org; Tue, 25 Feb 2003 22:02:47 +0200
From: "repeater" <repeater@lucentprimate.cjb.net>
To: <wxruby-dev@nongnu.org>
Date: Tue, 25 Feb 2003 22:04:56 +0200
Message-ID: <AFEPKIEHDHMBGKFGPFLNGELJEMAA.repeater@lucentprimate.cjb.net>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Importance: Normal
Subject: [Wxruby-dev] exit crash
X-BeenThere: wxruby-dev@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: repeater@lucentprimate.cjb.net, wxruby-dev@nongnu.org
List-Id: <wxruby-dev.nongnu.org>
List-Help: <mailto:wxruby-dev-request@nongnu.org?subject=help>
List-Post: <mailto:wxruby-dev@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/wxruby-dev>,
	<mailto:wxruby-dev-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/wxruby-dev>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/wxruby-dev>,
	<mailto:wxruby-dev-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 25 Feb 2003 20:09:02 -0000

right, first things first. currently, before any more effort is invested we
should focus on the thing that may pose the greatest challenge: fixing the
crash at exit.

as i mused before, it is most probably a GC error. now python uses reference
counting system, so unfortunately we cannot emulate wxpython in this regard
since we are living in mark and sweep world.

a possibility at how to attempt a solution, is to see if we can learn
anything from how fxruby tries to remedy this (see mainly markfuncs.cpp in
fxruby source). i am not certain if this applies 1:1 to our scenario, but
the more i look at it the more it seems like an answer.

related info:
http://www.fxruby.org/doc/apes02.html

regards
Peter




