GDL port

Hi all,

Is there any intrest in a port of libgdl (the gnome development library)
it has a very very cool docking widget.
(it is also the dock widget used in monodevelop but they reimplemented
it in C#; I just used libgdl and wrote the bindings)

I already did 60% of the port ; the demo program already works in its
ruby version.

It will be the start of a new pluggable ruby IDE I will be making.

What do I have to do to get it into CVS ; if it is allowed.

regards,

Bart


This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding
territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

Hi Bart,

Sorry for late.

On Wed, 01 Mar 2006 10:11:33 +0100
Bart D. [email protected] wrote:

Hi all,

Is there any intrest in a port of libgdl (the gnome development library)
it has a very very cool docking widget.
(it is also the dock widget used in monodevelop but they reimplemented
it in C#; I just used libgdl and wrote the bindings)

I already did 60% of the port ; the demo program already works in its
ruby version.

Good job!

It will be the start of a new pluggable ruby IDE I will be making.

What do I have to do to get it into CVS ; if it is allowed.

Great!

But I don’t know libgdl well. Could you tell me the website of libgdl?

And also, please send me your source code first.
I need to check your binding is suitable for our policy
before including it to our CVS.


.:% Masao M.[email protected]


This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding
territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

Hi Bart,

On Thu, 02 Mar 2006 15:38:07 +0100
Bart D. [email protected] wrote:

Is there any intrest in a port of libgdl (the gnome development library)
it has a very very cool docking widget.
(it is also the dock widget used in monodevelop but they reimplemented
it in C#; I just used libgdl and wrote the bindings)

I already did 60% of the port ; the demo program already works in its
ruby version.

I attached my bindings so far ; please have a look at the code and advise.
I need to create bindings for other function but the sample/test-dock.rb
already works (ported from test-dock.c)

OK. Seems nice.

Here is 2 my comments:

  1. Should GDL module be Gdl module?

    e.g.) GtkWidget → Gtk::Widget, GdlDock → Gdl::Dock not GDL::Dock.

  2. test-dock.rb occurs error messages below:
    % ruby test-dock.rb
    test-dock.rb: line 2
    GLib-GObject-WARNING **:invalid cast from GdlDockLayout' to GtkObject’
    test-dock.rb: line 2
    Gtk-CRITICAL **:gtk_object_sink: assertion `GTK_IS_OBJECT (object)’
    failed

    The patch below fix this problem. (I test gdl-0.6.0 not CVS version)


— rbgdldocklayout.c.old 2006-03-04 20:58:21.000000000 +0900
+++ rbgdldocklayout.c 2006-03-04 20:55:04.000000000 +0900
@@ -8,7 +8,7 @@
rbgdl_dock_layout_initialize(self,object)
VALUE self,object;
{

  •   RBGTK_INITIALIZE(self,gdl_dock_layout_new(
    
  •   G_INITIALIZE(self,gdl_dock_layout_new(
              GDL_DOCK(RVAL2GOBJ(object))
      ));
      return self;
    

I agree ruby-gnome2 includes ruby-gdl.
But before including it, I need to confirm below:

  1. Could you keep to develop ruby-gdl by yourself?
    libgdl seems unstable, we need to keep the latest version of libgdl.
    But at least, I don’t have the time to spend libgdl now.

  2. Could you release it sometimes by yourself?
    I think ruby-gdl should be follow ruby-gtkmozembed way.
    It means, 1 or 2, 3 times you release it as ruby-gdl-0.x.x by
    yourself.
    If it becomes stable, merge it ruby-gnome2 tree, then next time,
    it will be released a part of ruby-gnome2.

    Because, ruby-gnome2 is released once a half of a year now.
    If we include a library to ruby-gnome2, you can’t release it
    by yourself. So you need to wait for it.

    So I recommand you release ruby-gdl by yourself.

  3. Could you write API reference to our website?
    This is very important … we’ve been distressed lack of API
    documentations for a long time.

If you have no problem above question, tell me your SF account.
I’ll give you the privillige to access our CVS.

Thanks in advance.

.:% Masao M.[email protected]


This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding
territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

Masao M. wrote:

it in C#; I just used libgdl and wrote the bindings)
already works (ported from test-dock.c)

— rbgdldocklayout.c.old 2006-03-04 20:58:21.000000000 +0900

I can and am certainly willing to do that.

But I will first check with the gdl developers to see how they see the
future of the gdl library; if they are not intrested (or supporting)
then I think I can better do it the monodevelop way and develop the GDL
library completely in ruby itself; then libgdl is not necessary anymore.

regards

Bart


This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding
territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

Masao M. wrote:

Good job!

But I don’t know libgdl well. Could you tell me the website of libgdl?

GDL is gnome-development-library; it contains some widgets that can be
used; one of them is a dock widget (used in anjuta2 and in monodevelop).
You can have widgets docked to the edges of another widget or next to
another.
Try the demo.

The library can be checked out from the gnome CVS server:

cvs -d :pserver:[email protected]:/cvs/gnome login
cvs -d :pserver:[email protected]:/cvs/gnome co gdl

./configure
./make
./make install

./test-dock

and you’ll see what I mean;

I attached my bindings so far ; please have a look at the code and
advise.
I need to create bindings for other function but the sample/test-dock.rb
already works (ported from test-dock.c)

BTW You did a GREAT job with ruby-gnome2 it is awsome !

regards,

Bart