Re: [patch] fix bug 2060

2005-10-02 Thread Angus Leeming
Daniel Watkins wrote: > I can't tell whether this is to do with 2050 or 2060 (I can't get any > useful CLI output, no matter how hard I try (but that's probably me)), > but I can still get a crash. I was hesitant to add it on Bugzilla, > because I'm not sure if it is part of either or a bug in itse

Problem with Navigation menu when using Hollywood document class

2005-10-02 Thread Daniel Watkins
Hi list, I've got an issue with the Hollywood document class (or possibly LyX's interpretation of it). I'm not entirely sure whether or not that comes under the jurisdiction of the LyX Bugzilla, so I thought I'd post up the problem and you can tell me where I need to go if this is, indeed, the wron

Re: [patch] fix bug 2060

2005-10-02 Thread Daniel Watkins
On Sat, 2005-10-01 at 18:58 +0100, Georg Baum wrote: > See http://bugzilla.lyx.org/show_bug.cgi?id=2060. The problem is that > macros with no arguments are stored as a MathNestInset with 0 cells, > and > that MathNestInset::editXY() assumes at least one cell. > I fixed that and added two more check

Re: [patch] fix bug 2060

2005-10-02 Thread Andre Poenitz
On Sat, Oct 01, 2005 at 07:58:00PM +0200, Georg Baum wrote: > See http://bugzilla.lyx.org/show_bug.cgi?id=2060. The problem is that > macros with no arguments are stored as a MathNestInset with 0 cells, and > that MathNestInset::editXY() assumes at least one cell. > I fixed that and added two mor

Re: Bug 2058: LyX crashes when attempting to undo matrix deletion

2005-10-02 Thread Andre Poenitz
On Sun, Oct 02, 2005 at 11:42:14AM +0200, Juergen Spitzmueller wrote: > Daniel Watkins wrote: > > Bug 2058 (http://bugzilla.lyx.org/show_bug.cgi?id=2058): LyX crashes > > when attempting to undo matrix deletion > > Description: > > When I attempt to undo (using Ctrl-Z) the deletion of a matrix (del

Re: LyX speedup patch

2005-10-02 Thread Andre Poenitz
On Thu, Sep 29, 2005 at 07:59:33PM +0300, Martin Vermeer wrote: > On Thu, 2005-09-29 at 14:09 +0200, Jean-Marc Lasgouttes wrote: > > > "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: > > > > Martin> Here's a better one even. Now also delete and backspace are > > Martin> treated in the s

Re: [patch] fix bug 2050

2005-10-02 Thread Andre Poenitz
On Sat, Oct 01, 2005 at 09:47:13PM +0200, Georg Baum wrote: > See http://bugzilla.lyx.org/show_bug.cgi?id=2050. Math mcros that contain > \kern are misrendered on screen. The fix is obvious, and I could not > reproduce the crash. > I propose to put this in. If the crash reappears we may find out

Re: [patches 13x, 14x] wrappers for ShGetFolderPath, GetLongPathName

2005-10-02 Thread Angus Leeming
Andre Poenitz wrote: >> Right, but we'll need to patch our qt frontend source code to use Qt4, >> no? > 'patch' would be a proper British understatement. > 'rework' would be closer in a continental climate. Really? I've been playing with the KDVI sources recently and there the initial migration t

Re: LyX speedup patch

2005-10-02 Thread Martin Vermeer
On Sun, Oct 02, 2005 at 06:33:56PM +0300, Martin Vermeer wrote: > On Fri, Sep 30, 2005 at 10:00:22AM +0200, Jean-Marc Lasgouttes wrote: > > I'll try it out. Note though that the patches to ChangeLogs do not > > apply because of a unicode<=>latin1 conversion. > > I suspect I found the reason for

Re: Latest patch for 2038

2005-10-02 Thread Martin Vermeer
On Fri, Sep 30, 2005 at 10:03:50AM +0200, Jean-Marc Lasgouttes wrote: > > "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: > > Martin> OK, done, attached. Only I don't get it compiled because of > Martin> some missing library, which I am not really in the mood to > Martin> hunt down :-(

Re: LyX speedup patch

2005-10-02 Thread Martin Vermeer
On Fri, Sep 30, 2005 at 10:00:22AM +0200, Jean-Marc Lasgouttes wrote: > > "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: > > Martin> On Thu, Sep 29, 2005 at 09:00:47PM +0200, Helge Hafting wrote: > >> The patch did not apply well to todays CVS. > >> > >> Helge Hafting > > Martin> OK,

Re: Bug 2058: LyX crashes when attempting to undo matrix deletion

2005-10-02 Thread Juergen Spitzmueller
Georg Baum wrote: > Why don't you put the code in MathNestInset? Since backspace at the first > position deletes the containing inset in every math inset I think that > recordUndoInset should also be called in general. Yes, why not (I was not aware of that feature, knowing mathed basically from b

Re: LyX speedup patch

2005-10-02 Thread Martin Vermeer
On Sun, Oct 02, 2005 at 01:26:06PM +0200, Andre Poenitz wrote: ... > So we should try hard to pass through the critical path just once. I'll > send later today a preliminary patch that folds rowBreakPoint() and > setRowWidth(), i.e. reduces this by a factor of two and gives an overall > gain of

Re: Bug 2058: LyX crashes when attempting to undo matrix deletion

2005-10-02 Thread Georg Baum
Am Sonntag, 2. Oktober 2005 11:42 schrieb Juergen Spitzmueller: > The attached patch fixes it for me. Why don't you put the code in MathNestInset? Since backspace at the first position deletes the containing inset in every math inset I think that recordUndoInset should also be called in general

Re: LyX speedup patch

2005-10-02 Thread Andre Poenitz
On Sun, Oct 02, 2005 at 01:26:06PM +0200, Andre' Poenitz wrote: > So we should try hard to pass through the critical path just once. I'll > send later today a preliminary patch that folds rowBreakPoint() and > setRowWidth(), i.e. reduces this by a factor of two and gives an overall > gain of 8-12%

Re: [Patch] Re: Scroll wheel etc. with this doc

2005-10-02 Thread Andre Poenitz
On Tue, Sep 27, 2005 at 07:51:05AM +0200, Juergen Spitzmueller wrote: > Martin Vermeer wrote: > > -       // display style insets are always centered, omit indentation > > -       && !(!par.empty() > > -       && par.isInset(pos) > > -       && par.getInset(pos)->dis

Re: [patches 13x, 14x] wrappers for ShGetFolderPath, GetLongPathName

2005-10-02 Thread Andre Poenitz
On Mon, Sep 26, 2005 at 08:01:10PM +0100, Angus Leeming wrote: > Andre Poenitz wrote: > > > On Mon, Sep 26, 2005 at 03:51:00PM +0100, Angus Leeming wrote: > >> Just for completeness, here are patches that I believe will allow > >> tex2lyx to run successfully on Win95 and Win98 and will allow both

Re: LyX speedup patch

2005-10-02 Thread Andre Poenitz
On Tue, Sep 27, 2005 at 05:51:47PM +0300, Martin Vermeer wrote: > Sort of. But how would you do that? And how would you achieve this while > preserving one-paragraph update where that is what you want? I sort of > see what you are hinting at, but I have no idea how to do it. The whole update mac

Re: Bug 2058: LyX crashes when attempting to undo matrix deletion

2005-10-02 Thread Juergen Spitzmueller
Daniel Watkins wrote: > Bug 2058 (http://bugzilla.lyx.org/show_bug.cgi?id=2058): LyX crashes > when attempting to undo matrix deletion > Description: > When I attempt to undo (using Ctrl-Z) the deletion of a matrix (deleted > by pressing Backspace at the start of the top-left box), LyX crashes > wi