[Gtk-sharp-list] bonobo-sharp

Mikkel Kruse Johnsen mikkel@linet.dk
Thu, 28 Oct 2004 09:35:06 +0200


--=-6P6ZvZ4ZkpLEMATc0GWw
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi Daniel

Yes I am aware of Remoting.Corba. But that would imply that a big part
(if not all) og Bonobo had to be rewritten. I have talked to a few
people and as Miguel pointet out, ORBit2 has som cool features like in-
proc communication, wich Remoting.Corba don't have (as far I know).

So I think a wrap of Bonobo and what ever i nessecary to wrap of ORBit2
(not much is needed) is the best solution.

/Mikkel

On Wed, 2004-10-27 at 18:05 -0400, Daniel Morgan wrote:

> Could Remoting.Corba help you?  It works with Mono.
> 
>  
> 
> http://remoting-corba.sourceforge.net/
> 
>  
> 
> -----Original Message-----
> From: gtk-sharp-list-admin@lists.ximian.com [mailto:gtk-sharp-list-
> admin@lists.ximian.com] On Behalf Of Mikkel Kruse Johnsen
> Sent: Wednesday, October 27, 2004 8:55 AM
> To: gtk-sharp-list@lists.ximian.com
> Subject: [Gtk-sharp-list] bonobo-sharp
> 
>  
> 
> Hi All.
> 
> I have for a long time been thinking (working) on wrapping Bonobo in
> C# (Mono) and have been using a manually wrapped bonobo, so I could
> embed Bonobo C# components into my C program.
> 
> I have resently changed to use gtk-sharp's automatically wrapper and
> it kind of work. There is still a lot to do and changes to gapi-parser
> and gapi-codegen needs to be made. fx.
> 
>     * In the bonoboui-source.xml namespace is "BonoboUI" and should be
> "Bonobo.UI" but gapi-parser don't get that.
>     * Interfaces can't implement interfaces. (gapi-codegen don't
> create the right code) "interface IContainer : GLib.IWrapper,
> Bonobo.IUnknown".
>     * gapi-parser needs to pick up bonobo interfaces, fx: in headers
> "POA_Bonobo_Container__epv" could indicate that it implements
> IContainer.
>     * a way to specify for a function that it should not use "Handle"
> but fx. "ObjRef()" instead.
> 
> So for now "sed" is used alot in Makefile's 
> 
> The most seriously thing missing from the curret code is that
> bonobo_object_ref and bonobo_object_unref is not used. GLib.Object
> needs to be able to use these functions or a way to override it in fx.
> Bonobo.Object.
> 
> Exsposing your own interfaces and accessing non bonobo interfaces is
> not implementet at all. "sharp-idl" is started but is not working at
> all. Must wrap libIDL or make our own parser is needed. And how to
> expose a C# interface (IDL) in ORBit2 I don't know. Mayby using
> imodule or something.
> 
> I could really use some help, so please do "svn co
> http://svn.linet.dk/bonobo-sharp/trunk bonobo-sharp" and start hacking
> and sending patches or ask for commit login.
> 
> /Mikkel 
> 
> 

--=-6P6ZvZ4ZkpLEMATc0GWw
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.3.2">
</HEAD>
<BODY LINK="#0000ff">
Hi Daniel<BR>
<BR>
Yes I am aware of Remoting.Corba. But that would imply that a big part (if not all) og Bonobo had to be rewritten. I have talked to a few people and as Miguel pointet out, ORBit2 has som cool features like in-proc communication, wich Remoting.Corba don't have (as far I know).<BR>
<BR>
So I think a wrap of Bonobo and what ever i nessecary to wrap of ORBit2 (not much is needed) is the best solution.<BR>
<BR>
/Mikkel<BR>
<BR>
On Wed, 2004-10-27 at 18:05 -0400, Daniel Morgan wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
    <FONT SIZE="2"><FONT COLOR="#000080">Could Remoting.Corba help you?&nbsp; It works with Mono.</FONT></FONT><BR>
    <BR>
    <FONT SIZE="2"><FONT COLOR="#000080">&nbsp;</FONT></FONT><BR>
    <BR>
    <FONT SIZE="2"><FONT COLOR="#000080">http://remoting-corba.sourceforge.net/</FONT></FONT><BR>
    <BR>
    <FONT SIZE="2"><FONT COLOR="#000080">&nbsp;</FONT></FONT><BR>
    <BR>
    <FONT SIZE="2"><FONT COLOR="#000000">-----Original Message-----</FONT></FONT><BR>
    <B><FONT SIZE="2"><FONT COLOR="#000000">From:</FONT></FONT></B><FONT COLOR="#000000"><FONT SIZE="2"> gtk-sharp-list-admin@lists.ximian.com [mailto:gtk-sharp-list-admin@lists.ximian.com] </FONT></FONT><FONT COLOR="#000000"><B><FONT SIZE="2">On Behalf Of </FONT></B></FONT><FONT COLOR="#000000"><FONT SIZE="2">Mikkel Kruse Johnsen</FONT></FONT><BR>
    <B><FONT SIZE="2"><FONT COLOR="#000000">Sent:</FONT></FONT></B><FONT COLOR="#000000"><FONT SIZE="2"> Wednesday, October 27, 2004 8:55 AM</FONT></FONT><BR>
    <B><FONT SIZE="2"><FONT COLOR="#000000">To:</FONT></FONT></B><FONT COLOR="#000000"><FONT SIZE="2"> gtk-sharp-list@lists.ximian.com</FONT></FONT><BR>
    <B><FONT SIZE="2"><FONT COLOR="#000000">Subject:</FONT></FONT></B><FONT COLOR="#000000"><FONT SIZE="2"> [Gtk-sharp-list] bonobo-sharp</FONT></FONT><BR>
    <BR>
    <FONT COLOR="#000000">&nbsp;</FONT><BR>
    <BR>
    <FONT COLOR="#000000">Hi All.</FONT><BR>
    <BR>
    <FONT COLOR="#000000">I have for a long time been thinking (working) on wrapping Bonobo in C# (Mono) and have been using a manually wrapped bonobo, so I could embed Bonobo C# components into my C program.</FONT><BR>
    <BR>
    <FONT COLOR="#000000">I have resently changed to use gtk-sharp's automatically wrapper and it kind of work. There is still a lot to do and changes to gapi-parser and gapi-codegen needs to be made. fx.</FONT><BR>
    <BR>
    <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp; * In the bonoboui-source.xml namespace is &quot;BonoboUI&quot; and should be &quot;Bonobo.UI&quot; but gapi-parser don't get that.</FONT><BR>
    <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp; * Interfaces can't implement interfaces. (gapi-codegen don't create the right code) &quot;interface IContainer : GLib.IWrapper, Bonobo.IUnknown&quot;.</FONT><BR>
    <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp; * gapi-parser needs to pick up bonobo interfaces, fx: in headers &quot;POA_Bonobo_Container__epv&quot; could indicate that it implements IContainer.</FONT><BR>
    <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp; * a way to specify for a function that it should not use &quot;Handle&quot; but fx. &quot;ObjRef()&quot; instead.</FONT><BR>
    <BR>
    <FONT COLOR="#000000">So for now &quot;sed&quot; is used alot in Makefile's </FONT><BR>
    <BR>
    <FONT COLOR="#000000">The most seriously thing missing from the curret code is that bonobo_object_ref and bonobo_object_unref is not used. GLib.Object needs to be able to use these functions or a way to override it in fx. Bonobo.Object.</FONT><BR>
    <BR>
    <FONT COLOR="#000000">Exsposing your own interfaces and accessing non bonobo interfaces is not implementet at all. &quot;sharp-idl&quot; is started but is not working at all. Must wrap libIDL or make our own parser is needed. And how to expose a C# interface (IDL) in ORBit2 I don't know. Mayby using imodule or something.</FONT><BR>
    <BR>
    <FONT COLOR="#000000">I could really use some help, so please do &quot;svn co <A HREF="http://svn.linet.dk/bonobo-sharp/trunk">http://svn.linet.dk/bonobo-sharp/trunk</A> bonobo-sharp&quot; and start hacking and sending patches or ask for commit login.</FONT><BR>
    <BR>
    <FONT COLOR="#000000">/Mikkel </FONT><BR>
    <BR>
    <BR>
</BLOCKQUOTE>
</BODY>
</HTML>

--=-6P6ZvZ4ZkpLEMATc0GWw--