new GTK event loop, part 2

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

new GTK event loop, part 2

Paolo Bonzini-2
These are the changes needed to make the debugger work with the new GTK
event loop.  Gwen confirmed that Iliad works under VisualGST with the
first patch I posted, but the debugger was broken (he also had hacks in
his patch to fix this).

In the old event loop, the debugger worked more or less by chance
because it went into a busy wait processing GTK events.  Now instead we
must return from whatever GTK event we were processing (returning nil
seems to work) so that g_main_context_dispatch can keep running.  Doing
this requires implementing a nice CallinProcess>>#detach method that
changes the CallinProcess into a Process and continues the work there.

In the meanwhile, I fixed a few bugs in UnhandledException that popped
up while testing.  We are very very close to removing the old
instance-based (VisualAge-inspired) exception handling system.

All that's missing is GtkDialog>>#run, then we're good to go.  Gwen,
would you take a look at that?

Paolo

_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

event-loop-p2.patch (11K) Download Attachment