From: Darrin T. <dth...@ch...> - 2002-08-07 17:04:17
|
Did your decision to not use SWIG take into consideration the recent developments there? From what I've read on the english ruby-talk list, SWIG 1.3 is turning into a really excellent tool and the ruby to c code generator is excellent. Perhaps you all should reconsider? http://swig-jp.dyndns.org/ <- Japanese. I don't know what it actually says. :-) Darrin Masao Mutoh wrote: >Hi, > >On Tue, 06 Aug 2002 15:17:52 -0500 >Darrin Thompson <dth...@ch...> wrote: > > > >>I have a few questions. Wish I knew Japanese. >> >> > >OK, How I wish I knew English well;->. > > > >>Does anyone have a ballpark idea of when ruby-gnome2 will be stable >>enough for general use? >> >> > >Sorry, but NO, though we make efforts. > >Now we are implementing common parts like glib and gobject, >Ruby object <-> GTK object and others. >Especially, Ruby Object <-> GTK Object converting algorithm was improved >much better than Ruby-GNOME. > >And then, I am going to improve APIs and constants. >#This is just an idea. I want any ideas/comments. > >(1) Setter/Getter >In Ruby-GNOME, as there are no rule, we got confused sometimes. >So I decide to make rules as follows: > > * Method has An argument > setter: hoge= > set_hoge(a) > getter: hoge > * Method has more than 2 arguments > setter: set_fuga(a, b) > getter: fuga #Have no arguments. > get_fuga(a, b) #Have arguments. > >(2) Constants > * Abolish Constants module. e.g. Gtk::ItemFactory::Constants. > * Make rules for constants. > Now I think as follows: > - If the constants belong an object(class or module) obiviouly, > include the constants among members of the object. > e.g.)In the case of GtkDialog > GtkDialogFlags > GTK_DIALOG_MODAL -> Gtk::Dialog::MODAL > GTK_DIALOG_DESTROY_WITH_PARENT -> Gtk::Dialog::DESTROY_WITH_PARENT > GTK_DIALOG_NO_SEPARATOR -> Gtk::Dialog::NO_SEPARATOR > > GtkResponseType > GTK_RESPONSE_NONE -> Gtk::Dialog::RESPONSE_NONE > GTK_RESPONSE_REJECT -> Gtk::Dialog::RESPONSE_REJECT > GTK_RESPONSE_ACCEPT -> Gtk::Dialog::RESPONSE_ACCEPT > > - The constants is independant from objects > (though I don't know whether such constants exists). > GTK_FOO_BAR -> Gtk::FOO_BAR > > > >>Will it be easy to integrate the appropriate parts of ruby-gnome2 with >>the one-click windows installer from rubycentral.com? >> >> > >It is good idea. But now, I don't have any idea, because I don't have any >knowhows/skills both Win32 and Installer of Win32. > >If you have any idea/knowhow/skills about it, I would like to start sub >project such as installer_win32 under ruby-gnome2 >#Though I may not be able to help you.... > > > >>Thanks to all who are working on it. I've played with a cvs checkout and >>was able to pop up a dialog from irb. Fun. :-) >> >> > >Yeah! >Especialy, Sakai-san who is also maintainer of Gimp-Ruby, wrote almost >of all Ruby/GLib and improved many parts of Ruby-GNOME2. In addition, >he is still continuing to write more cool source codes for Ruby-GNOME2. >He is so cool hacker. Thanks! > > > |