Re: plans for LyX, was: fourth release of the LyXWinInstaller

2005-11-24 Thread Angus Leeming
Michael Gerz wrote: > Angus Leeming wrote: >>>The menu entries are shown with bold font which looks pretty ugly. I >>>haven't tested the latest qtwin sources but the snapshot of 2005-10-31 >>>doesn't have this "bug" and, browsing through the recent patches, I see >>>no reason why it should have ch

Re: [Patch in bugzilla] for 1966, and others

2005-11-24 Thread Martin Vermeer
On Thu, Nov 24, 2005 at 04:54:23PM +0100, Jean-Marc Lasgouttes wrote: > > "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: > > Martin> Next is the bug that scrolling is irregular/too fast. If > Martin> bugzilla were working, I could tell you what number :-( > > If you know what you are

Re: [PATCH] bug 2096: LyX file inserting is broken

2005-11-24 Thread Georg Baum
Am Donnerstag, 24. November 2005 16:47 schrieb Jean-Marc Lasgouttes: > > After a lot of head scratching (a first patch with cut and paste, plus > many ruminations on code merging), I came up with the following > patch to fix LyX file insertion. As an added bonus, it fixes the > situation where inI

Re: [PATCH] bug 2089: Touching Navigate menu crashes Lyx when a TOC inset is in a section layout

2005-11-24 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > Do you feel like doing this tedious-but-trivial task? What do you think about the attached? There's also a plaintext member in formulamacro. Should this be considered, too? Jürgen Index: paragraph.C ===

Re: plans for LyX, was: fourth release of the LyXWinInstaller

2005-11-24 Thread Michael Gerz
Angus Leeming wrote: The menu entries are shown with bold font which looks pretty ugly. I haven't tested the latest qtwin sources but the snapshot of 2005-10-31 doesn't have this "bug" and, browsing through the recent patches, I see no reason why it should have changed since then. I am puz

Re: [PATCH] bug 2089: Touching Navigate menu crashes Lyx when a TOC inset is in a section layout

2005-11-24 Thread Juergen Spitzmueller
Georg Baum wrote: > Me neither. I have spent some time trying to find it out, but found > nothing. What I then did was to append this to InsetText::setAutoBreakRows: > >         // merge all paragraphs to one >         BufferParams const & bp = text_.buffer_owner->params(); >         while (paragra

Re: Missing latex classes in the lyx package

2005-11-24 Thread Edjard Mota
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> escreveu: > "Edjard" == Edjard Mota writes: Edjard> Could you, or someone, give the directions? I feel like Edjard> coding and would be more than pleased to help. JMarc> I do not really know, unfortunately. I guess a proposal of the JMarc> UI

Re: [PATCH] bug 2089: Touching Navigate menu crashes Lyx when a TOC inset is in a section layout

2005-11-24 Thread Georg Baum
Juergen Spitzmueller wrote: > I thought about calling mergeParagraphs for all paragraphs in the cell > somewhere. But first I'd like to understand what exactly happend in 1.3. I > still don't understand where the paragraphs are merged there. Me neither. I have spent some time trying to find it ou

Re: bug 1656

2005-11-24 Thread Stephan Witt
Jean-Marc Lasgouttes wrote: "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> http://bugzilla.lyx.org/show_bug.cgi?id=1656 Shouldn't this Juergen> patch be applied? Personally, I don't get the described Juergen> patch, but Martin has confirmed that the problem is solved by

Re: [PATCH] bug 2089: Touching Navigate menu crashes Lyx when a TOC inset is in a section layout

2005-11-24 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > Juergen> If you have a look at bug 1953. > > What about disabling changing to variable width cell if there are > several paragraphs? I think this is not very user-friendly. I thought about calling mergeParagraphs for all paragraphs in the cell somewhere. But first I'

Re: [PATCH] bug 2089: Touching Navigate menu crashes Lyx when a TOC inset is in a section layout

2005-11-24 Thread Georg Baum
Juergen Spitzmueller wrote: > I think it's ok, though I'd also prefer a virtual function. Me too. The disadvantage is of course that you need to touch more files, but I think that it is a safe change. I think we should create a prize for simple patches that fix several bugs at once :-) Georg

Re: [PATCH] bug 2089: Touching Navigate menu crashes Lyx when a TOC inset is in a section layout

2005-11-24 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> Jean-Marc Lasgouttes wrote: I think it's ok, though I'd also Juergen> prefer a virtual function. >> Do you feel like doing this tedious-but-trivial task? Juergen> If you have a look at bug 1953. What about disabling ch

Re: [PATCH] disable LFUN_PASTE when there is nothing in clipboard

2005-11-24 Thread Georg Baum
Jean-Marc Lasgouttes wrote: > This is a regression wrt 1.3.x. The patch is trivial, I am going to > commit soon unless someone complains. Very nice. I stumbled over this some days ago too, but was too busy to fix it. Georg

Re: [PATCH] bug 2089: Touching Navigate menu crashes Lyx when a TOC inset is in a section layout

2005-11-24 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > Juergen> I think it's ok, though I'd also prefer a virtual function. > > Do you feel like doing this tedious-but-trivial task? If you have a look at bug 1953. Jürgen

Re: [PATCH] bug 2089: Touching Navigate menu crashes Lyx when a TOC inset is in a section layout

2005-11-24 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> Jean-Marc Lasgouttes wrote: >> What about this? Of course, it would be better to add a virtual >> function to InsetBase like asString that either uses plaintext or >> does nothing, but I think this is good enough for now.

Re: [PATCH] bug 2089: Touching Navigate menu crashes Lyx when a TOC inset is in a section layout

2005-11-24 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > What about this? Of course, it would be better to add a virtual > function to InsetBase like asString that either uses plaintext or does > nothing, but I think this is good enough for now. > > What do you think? I think it's ok, though I'd also prefer a virtual functi

[PATCH] bug 2089: Touching Navigate menu crashes Lyx when a TOC inset is in a section layout

2005-11-24 Thread Jean-Marc Lasgouttes
What about this? Of course, it would be better to add a virtual function to InsetBase like asString that either uses plaintext or does nothing, but I think this is good enough for now. What do you think? BTW, this also fixes 2028. 617, which is related should be marked as fixedintrunk, I think.

[PATCH] disable LFUN_PASTE when there is nothing in clipboard

2005-11-24 Thread Jean-Marc Lasgouttes
This is a regression wrt 1.3.x. The patch is trivial, I am going to commit soon unless someone complains. JMarc Index: src/ChangeLog === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/ChangeLog,v retrieving revision 1.2326 diff -u -

Re: bug 1656

2005-11-24 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> http://bugzilla.lyx.org/show_bug.cgi?id=1656 Shouldn't this Juergen> patch be applied? Personally, I don't get the described Juergen> patch, but Martin has confirmed that the problem is solved by Juergen> the patch. The

Re: bug 1656

2005-11-24 Thread Stephan Witt
Juergen Spitzmueller wrote: http://bugzilla.lyx.org/show_bug.cgi?id=1656 Shouldn't this patch be applied? Personally, I don't get the described patch, but Martin has confirmed that the problem is solved by the patch. Jürgen Just in case nobody knows... I have no karma to apply it. Stephan

bug 1656

2005-11-24 Thread Juergen Spitzmueller
http://bugzilla.lyx.org/show_bug.cgi?id=1656 Shouldn't this patch be applied? Personally, I don't get the described patch, but Martin has confirmed that the problem is solved by the patch. Jürgen

Re: [PATCH] Re: bug 1952/1953

2005-11-24 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> Jean-Marc Lasgouttes wrote: >> I think I see what you mean. OK, so let it return an InsetBase, but >> rename the method to something like realInset(). Juergen> The attached patch works for me. Put it in, then. JMarc

Re: [PATCH] Re: bug 1952/1953

2005-11-24 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > I think I see what you mean. OK, so let it return an InsetBase, but > rename the method to something like realInset(). The attached patch works for me. Jürgen Index: dociterator.C === RCS file: /usr/loca

Re: [PATCH] Re: bug: indentation

2005-11-24 Thread Jean-Marc Lasgouttes
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: >> The following patch fixes the regression for me. I'd appreciate if >> someone could test too (especially since the code is slightly >> simpler than what it was in 1.3.x). Bennett> Works for me. Thanks. This got applied a few days ago

Re: Mac: LyX-1.3.x (gcc-4) crash on launch

2005-11-24 Thread Jean-Marc Lasgouttes
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> LyX-1.3.x refuses to compile on Mac with gcc < 4.0; with Bennett> gcc-4.0.1, it compiles but crashes on launch. Here's what gdb Bennett> says: A shot in the dark: what happens of you set #undef MODERN_STL_STREAMS in src/config.

Re: [Patch in bugzilla] for 1966, and others

2005-11-24 Thread Jean-Marc Lasgouttes
> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: Martin> Next is the bug that scrolling is irregular/too fast. If Martin> bugzilla were working, I could tell you what number :-( If you know what you are doing, I guess this can go in. JMarc

Re: Missing latex classes in the lyx package

2005-11-24 Thread Jean-Marc Lasgouttes
> "Edjard" == Edjard Mota <[EMAIL PROTECTED]> writes: Edjard> Could you, or someone, give the directions? I feel like Edjard> coding and would be more than pleased to help. I do not really know, unfortunately. I guess a proposal of the UI we want would be the first thing to do. Do people u

[PATCH] bug 2096: LyX file inserting is broken

2005-11-24 Thread Jean-Marc Lasgouttes
After a lot of head scratching (a first patch with cut and paste, plus many ruminations on code merging), I came up with the following patch to fix LyX file insertion. As an added bonus, it fixes the situation where inInset could be NULL. I'd appreciate if someone could give it a good testing. J

Re: [PATCH] Re: bug 1952/1953

2005-11-24 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> Jean-Marc Lasgouttes wrote: Then I have to convert it back to Juergen> InsetBase in undo.C to pass it to setInsetOwner. How can I do Juergen> this? >> Why do you need that? Doesn't InsetText derive from InsetBase? Juerg

Re: [PATCH] Re: bug 1952/1953

2005-11-24 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > Juergen> Then I have to convert it back to InsetBase in undo.C to pass > Juergen> it to setInsetOwner. How can I do this? > > Why do you need that? Doesn't InsetText derive from InsetBase? I just can't get it to compile. Attached is what I have now. Or do you mean I s

Re: [PATCH] Re: bug 1952/1953

2005-11-24 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> Jean-Marc Lasgouttes wrote: >> 1/ make textInset return an InsetText object; Assert on inTexted() Juergen> Then I have to convert it back to InsetBase in undo.C to pass Juergen> it to setInsetOwner. How can I do this? W

Re: [PATCH] Re: bug 1952/1953

2005-11-24 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > 1/ make textInset return an InsetText object; Assert on inTexted() Then I have to convert it back to InsetBase in undo.C to pass it to setInsetOwner. How can I do this? > 2/ the loop in undo.C should use normal iterators instead of > const_iterators, so that the con

amsart.layout (convertion from 1.3 to 1.4)

2005-11-24 Thread Jose' Matos
Hi, while search for those cursed files without layout (the modern version of headless knights), I found bug 666: http://bugzilla.lyx.org/show_bug.cgi?id=666 There you can find a file from David that uses amsart layout. After my latest fixes that involved to support older tabu

Re: plans for LyX, was: fourth release of the LyXWinInstaller

2005-11-24 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: >> "Angus" == Angus Leeming <[EMAIL PROTECTED]> >> writes: > > Angus> Hm. The problem here is the LyX User directory only, no? > Angus> Why don't we use > [...] > Angus> which would give us C:\Documents and Settings\Angus\Application > Angus> Data\LyX_1.3.7

Re: plans for LyX, was: fourth release of the LyXWinInstaller

2005-11-24 Thread Angus Leeming
Angus Leeming wrote: >> It would also be nice if you compiled the sources with >> --with-version-suffix (which helps people who switch between 1.4 and >> 1.3). > > Hm. The problem here is the LyX User directory only, no? > C:\Documents and Settings\Angus\Application Data\LyX > Why don't we

Re: plans for LyX, was: fourth release of the LyXWinInstaller

2005-11-24 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Hm. The problem here is the LyX User directory only, no? Angus> Why don't we use [...] Angus> which would give us C:\Documents and Settings\Angus\Application Angus> Data\LyX_1.3.7 First, the '_' is very un-windows-ish, it shoul

Re: plans for LyX, was: fourth release of the LyXWinInstaller

2005-11-24 Thread Angus Leeming
[EMAIL PROTECTED] wrote: > Hi Angus, > >>In fact, I've just done this ;-) Uwe, feel free to grab the updated >>binaries and libraries for your installer. > > Thanks for the new installer! > > Have you included the latest qtwin library? Yes. > The menu entries are shown with bold font which l

AW: Re: plans for LyX, was: fourth release of the LyXWinInstaller

2005-11-24 Thread michael . gerz
Hi Angus, >In fact, I've just done this ;-) Uwe, feel free to grab the updated >binaries and libraries for your installer. Thanks for the new installer! Have you included the latest qtwin library? The menu entries are shown with bold font which looks pretty ugly. I haven't tested the latest q