Hi Norbert,
I've applied manually your patch for the event-loop. One problem
that I have with it is that in absence of explicit input from the user
the timer does not fire and interpose_handler is not called. This is
not the right behavior since TeXmacs manages some internal timers and
sockets which need to be polled at least at regular intervals.
You have already a problem since the initial messages in the footer
(which are handled via TeXmacs internal timers) are frozen in your
patched version (the footer always show "Booting").
It is not clear to me how to handle this properly.
Best,
Massimiliano
On 11 juin 09, at 08:21, Norbert Nemec wrote:
Hi Massimiliano, hi everybody,
attached is a pile of patches to the Qt GUI. The Qt event-loop is
now used properly, properly hooking in the repaint and update
mechanisms via timers. As far as I can see, it covers everything
that the X11 GUI and the former hacked up Qt-solution did. It has
been working smoothly for me over the past few weeks, solves a few
quirks and uses far less CPU time when idle. (<0.1% compared to the
former 3% on my machine).
The other changes fix a number of issues that I encountered, most
notably the keymap. Please make sure that these changes also apply
to MacOSX, where everything seems to be somewhat different to my
Linux machine.
Greetings,
Norbert
_______________________________________________
Texmacs-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/texmacs-dev