Re: [Update Patch] Workarea/Clipboard splitup and Qt4 support

2006-06-06 Thread Abdelrazak Younes
Lars Gullik Bjønnes wrote: Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Given the fact that there is presently _no_ support for multiple work | areas it would be a progress anyway to modularize that. Remember that | a clipboard is unique per application not per WorkArea. Then it should be a

Re: [Update Patch] Workarea/Clipboard splitup and Qt4 support

2006-06-05 Thread Lars Gullik Bjønnes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Given the fact that there is presently _no_ support for multiple work | areas it would be a progress anyway to modularize that. Remember that | a clipboard is unique per application not per WorkArea. Then it should be a singleton living somewhere. (

Re: [Update Patch] Workarea/Clipboard splitup and Qt4 support

2006-06-05 Thread Abdelrazak Younes
Angus Leeming wrote: The gmane interface remains down. Sorry about the mess I'm making of message threading... Abdelrazak Younes wrote: Angus Leeming wrote: However, what happens when we have multiple views onto a document? AFAIU, views and workarea are not the same. views are handled by th

Re: [Update Patch] Workarea/Clipboard splitup and Qt4 support

2006-06-05 Thread Angus Leeming
The gmane interface remains down. Sorry about the mess I'm making of message threading... Abdelrazak Younes wrote: > Angus Leeming wrote: >> However, what happens when we have multiple >> views onto a document? > AFAIU, views and workarea are not the same. > views are handled by the core and work

Re: [Update Patch] Workarea/Clipboard splitup and Qt4 support

2006-06-05 Thread Abdelrazak Younes
Edwin Leuven wrote: Abdelrazak Younes wrote: Edwin Leuven wrote: start lyx, buffer-new, close Thanks. I guess you didn't compile "BufferView_pimpl.C" with debug info, did you? i passed --enable-debug to configure so i guess i must have... Weird...

Re: [Update Patch] Workarea/Clipboard splitup and Qt4 support

2006-06-05 Thread Edwin Leuven
Abdelrazak Younes wrote: Edwin Leuven wrote: start lyx, buffer-new, close Thanks. I guess you didn't compile "BufferView_pimpl.C" with debug info, did you? i passed --enable-debug to configure so i guess i must have...

Re: [Update Patch] Workarea/Clipboard splitup and Qt4 support

2006-06-05 Thread Abdelrazak Younes
Edwin Leuven wrote: start lyx, buffer-new, close Thanks. I guess you didn't compile "BufferView_pimpl.C" with debug info, did you? Abdel.

Re: [Update Patch] Workarea/Clipboard splitup and Qt4 support

2006-06-05 Thread Abdelrazak Younes
Georg Baum wrote: Am Montag, 5. Juni 2006 13:50 schrieb Abdelrazak Younes: Except for the crash on exit problem, could you confirm me that the clipboard functionality remains the same for linux/X11/qt3/xforms/gtk? I did not try, and would rather not like to test this obsolete patch further,

Re: [Update Patch] Workarea/Clipboard splitup and Qt4 support

2006-06-05 Thread Abdelrazak Younes
Angus Leeming wrote: Abdelrazak Younes wrote: I will propose a solution that will work in the same way for all frontends: a base class that will _the_ official interface to the frontend, something like this: class frontend { virtual ~frontend() {} Clipboard * clipboard() = 0;

Re: [Update Patch] Workarea/Clipboard splitup and Qt4 support

2006-06-05 Thread Edwin Leuven
start lyx, buffer-new, close bt xforms: Program received signal SIGSEGV, Segmentation fault. ~basic_oaltstringstream (this=0x86e5f28) at format_implementation.hpp:216 216 return sz; (gdb) bt #0 ~basic_oaltstringstream (this=0x86e5f28) at format_implementation.hpp:216 #1 0x080556ce

Re: [Update Patch] Workarea/Clipboard splitup and Qt4 support

2006-06-05 Thread Georg Baum
Am Montag, 5. Juni 2006 13:50 schrieb Abdelrazak Younes: > Except for the crash on exit problem, could you confirm me that the > clipboard functionality remains the same for linux/X11/qt3/xforms/gtk? I did not try, and would rather not like to test this obsolete patch further, but a future one

Re: [Update Patch] Workarea/Clipboard splitup and Qt4 support

2006-06-05 Thread Angus Leeming
Abdelrazak Younes wrote: > I will propose a solution that will work in the > same way for all frontends: a base class that > will _the_ official interface to the frontend, > something like this: > >class frontend >{ >virtual ~frontend() {} > >Clipboard * clipboard() = 0; >Wo

Re: [Update Patch] Workarea/Clipboard splitup and Qt4 support

2006-06-05 Thread Abdelrazak Younes
Georg Baum wrote: Abdel, I compiled your patch and had to make some adjustments to make it compile. After that, I get a segfault with xforms and gtk on termination that was not there before. I spent far too much time with this already, so I did neither run gdb nor valgrind, but I am sure it is

Re: [Update Patch] Workarea/Clipboard splitup and Qt4 support

2006-06-05 Thread Edwin Leuven
Georg Baum wrote: so I did neither run gdb nor valgrind, some valgrind output below (i opened new doc, typed a bit of text cut n paste once and closed) i don't know anything about this stuff but perhaps it's useful: ==28267== ERROR SUMMARY: 3383 errors from 102 contexts (suppressed: 71 f

Re: [Update Patch] Workarea/Clipboard splitup and Qt4 support

2006-06-05 Thread Abdelrazak Younes
Georg Baum wrote: Abdel, I compiled your patch and had to make some adjustments to make it compile. After that, I get a segfault with xforms and gtk on termination that was not there before. I spent far too much time with this already, so I did neither run gdb nor valgrind, but I am sure it is

Re: [Update Patch] Workarea/Clipboard splitup and Qt4 support

2006-06-05 Thread Georg Baum
Abdel, I compiled your patch and had to make some adjustments to make it compile. After that, I get a segfault with xforms and gtk on termination that was not there before. I spent far too much time with this already, so I did neither run gdb nor valgrind, but I am sure it is related to the sco

Re: [Update Patch] Workarea/Clipboard splitup and Qt4 support

2006-06-04 Thread Abdelrazak Younes
Abdelrazak Younes wrote: And yet another one updated from latest SVN that contained some qt4 changes. And the patch... Index: src/BufferView.C === --- src/BufferView.C(revision 14001) +++ src/BufferView.C(working copy) @@

[Update Patch] Workarea/Clipboard splitup and Qt4 support

2006-06-04 Thread Abdelrazak Younes
And yet another one updated from latest SVN that contained some qt4 changes. Abdel _ Log: This patch split introduce a new Clipboard class that contains the clipboard related methods of WorkArea. The effective splitup has only be done for qt4. Once the xforms,