Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Ruby
Ruby 1.9.0: Gnome bindings broken
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Carlo E. Prelz, post: 4590152"] I am glad to see that ruby 1.9 is a reality, with great work done in the performance department. Thanks to all the fine brains that were involved. It is now difficult for me to test the new version because most of what I do uses GTK. And ruby-gnome2 does not compile with ruby 1.9.0. Most of the changes that are needed are trivial, but there is one big problem in glib, where the main loop is defined (rbglib_mainloop.c). This code does low-level manipulation of rb_thread_t structures, which are not public anymore. I posted a message on the ruby-gnome2-devel-en mailing list three days ago, but I saw no echo to it. I tried to put my hands into the code but it is a bit mysterious to me (why add a g_source? sources are supposed to monitor open files...). I was also encountering crashes where the C code of ruby-gnome2 did things like: proc_mod_eval = rb_eval_string("lambda{|obj,proc| obj.module_eval(&proc)}"); (two instances in rbgobj_object.c, one in rbgtkcontainer.c). I can provide my current patchset (from the latest svn source), with which I can successfully compile the whole code, but with it, timeout or idle functions to be ran within the main GTK loop do not work, and the screen is not refreshed... Also, some changes are wild guesses. Carlo [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Ruby
Ruby 1.9.0: Gnome bindings broken
Top