Re: [PATCH] blue line problem fix - compile error

2006-01-26 Thread Helge Hafting
Martin Vermeer wrote: So here it is, the complete patch, still a bit further polished. Sorry, this does not compile. Changes to paragraph.h seems to break other stuff: make[4]: Entering directory `/usr/src/lyx-devel/src/mathed' if /bin/sh ../../libtool --tag=CXX --mode=compile g++

RE: Renaming macros

2006-01-26 Thread Georg Baum
Beck, Andrew Thomas - BECAT001 wrote: Here is the patch as it stands. I'd be interested in comments. OK, here you get some. The next time you send a patch please create a unified diff with function names (write diff -up in your .cvsrc) One issue is that I've made cells_ mutable, which seems

Re: About bug 2169: Inserted \usepackage[usenames]{color} clashes with beamer/xcolor

2006-01-26 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: This is definitely the right solution. Getting rid of special casing is always better. Attached is the patch. Works like a charm. The second patch is an update to LaTeXConfig.lyx.in and chkconfig.ltx. OK to apply? Jürgen Index: src/buffer.C

Re: About bug 2169: Inserted \usepackage[usenames]{color} clashes with beamer/xcolor

2006-01-26 Thread Lars Gullik Bjønnes
Juergen Spitzmueller [EMAIL PROTECTED] writes: | Jean-Marc Lasgouttes wrote: | This is definitely the right solution. Getting rid of special casing | is always better. | | Attached is the patch. Works like a charm. | The second patch is an update to LaTeXConfig.lyx.in and chkconfig.ltx. | |

Re: About bug 2169: Inserted \usepackage[usenames]{color} clashes with beamer/xcolor

2006-01-26 Thread Juergen Spitzmueller
Lars Gullik Bjønnes wrote: | // color.sty | if (isRequired(color)) { | - if (params_.graphicsDriver == default) | - packages \\usepackage[usenames]{color}\n; | - else | - packages \\usepackage[ | + if

Re: About bug 2169: Inserted \usepackage[usenames]{color} clashes with beamer/xcolor

2006-01-26 Thread Lars Gullik Bjønnes
Juergen Spitzmueller [EMAIL PROTECTED] writes: | Lars Gullik Bjønnes wrote: | | // color.sty | | if (isRequired(color)) { | | - if (params_.graphicsDriver == default) | | - packages \\usepackage[usenames]{color}\n; | | - else | | -

Re: Renaming macros

2006-01-26 Thread Jean-Marc Lasgouttes
Andrew == Beck, Andrew Thomas - BECAT001 [EMAIL PROTECTED] writes: Andrew I agree metrics is not the place. However, at some point you Andrew need to go cycling through all insets to find the macro Andrew instantiations and call changeArgs(). You need to do this on Andrew the same kind of basis

Re: LyXWinInstaller - JMarc

2006-01-26 Thread Jean-Marc Lasgouttes
Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: | Lars, are you sure it works for you to login as larsbj? Lars I'll test again. Lars No... I get 530 Login incorrect I am relieved somehow. Lars I'll try to contact them tomorrow Thanks. JMarc

RE: Renaming macros

2006-01-26 Thread Beck, Andrew Thomas - BECAT001
Andrew I agree metrics is not the place. However, at some point you Andrew need to go cycling through all insets to find the macro Andrew instantiations and call changeArgs(). You need to do this on Andrew the same kind of basis as updating the expansion - since both Andrew reflect changes in the

Re: About bug 2169: Inserted \usepackage[usenames]{color} clashes with beamer/xcolor

2006-01-26 Thread Jean-Marc Lasgouttes
Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: Lars The added section on dvipost is good. Get OK from J-M before Lars removing the others from the doc. (I would have preferred two Lars different patches for this) All these changes are OK. JMarc

Re: About bug 2169: Inserted \usepackage[usenames]{color} clashes with beamer/xcolor

2006-01-26 Thread Juergen Spitzmueller
Lars Gullik Bjønnes wrote: | OK, but to resolve the bug we need at least the attached. Ok. Thanks. I'll apply this and wait with the LaTeXConfig stuff for Jean-Marcs approval. Jürgen

RE: Renaming macros

2006-01-26 Thread Georg Baum
Beck, Andrew Thomas - BECAT001 wrote: How do I know when these things have changed? I have essentially added more cells for the name number of args to the macrotemplate class, allowing them to be edited directly, just like the expansion or display fields of the macro. In my mind, changing

[GTK] bug when click on Tools:Preferences...

2006-01-26 Thread Frederic-Emmanuel PICCA
Hello It seems that a problemn is present with the Preferences. [EMAIL PROTECTED]:~/Projets/lyx-devel/src$ ./lyx lyx: SIGSEGV signal caught Sorry, you have found a bug in LyX. Please read the bug-reporting instructions in Help-Introduction and send us a bug report, if necessary. Thanks !

Re: [GTK] bug when click on Tools:Preferences...

2006-01-26 Thread Jean-Marc Lasgouttes
Frederic-Emmanuel == Frederic-Emmanuel PICCA [EMAIL PROTECTED] writes: Frederic-Emmanuel Hello It seems that a problemn is present with the Frederic-Emmanuel Preferences. It is not implemented yet. Of course, it would be better if it did not crash :) JMarc

Re: [GTK] bug when click on Tools:Preferences...

2006-01-26 Thread Frederic-Emmanuel PICCA
Jean-Marc Lasgouttes wrote: Frederic-Emmanuel == Frederic-Emmanuel PICCA [EMAIL PROTECTED] writes: Frederic-Emmanuel Hello It seems that a problemn is present with the Frederic-Emmanuel Preferences. It is not implemented yet. Of course, it would be better if it did not crash :) JMarc Ha

Re: [GTK] bug when click on Tools:Preferences...

2006-01-26 Thread Jean-Marc Lasgouttes
Frederic-Emmanuel == Frederic-Emmanuel PICCA [EMAIL PROTECTED] writes: Frederic-Emmanuel Jean-Marc Lasgouttes wrote: Frederic-Emmanuel == Frederic-Emmanuel PICCA writes: Frederic-Emmanuel Hello It seems that a problemn is present with the Frederic-Emmanuel Preferences. It is not implemented

Re: [GTK] bug when click on Tools:Preferences...

2006-01-26 Thread John C. Spray
On Thu, 2006-01-26 at 12:16 +0100, Frederic-Emmanuel PICCA wrote: Ha ok :) so it would be nice to pop up a windows with non already implemented :) The idea is to soon (er, probably Sunday, I am living in interesting times) put in some stubs for the unfinished dialogs, so that they can be worked

Re: [GTK] bug when click on Tools:Preferences...

2006-01-26 Thread Jean-Marc Lasgouttes
John == John C Spray [EMAIL PROTECTED] writes: John I think I left some time down the back of my sofa... come on John JMarc, is now not the best time for you to learn gtkmm? ;-) I have to admit I have not tried very hard yet to compile the gtk frontend. Most of my LyX time these days is

[patch] bug 2241: LyX crashes on cursor down

2006-01-26 Thread Juergen Spitzmueller
http://bugzilla.lyx.org/show_bug.cgi?id=2241 The crash (or assert, if compiled with --disable-stdlib-debug) happens only if the collapsable below the mathinset has not been opened before (cold cache) and if it contains a HIGHLY_EDITABLE (table, inlined ERT) or math inset. My analysis is as

Spell Checker on Lyx1.40pre3

2006-01-26 Thread samar j. singh
Hi Seems the spell check now does not work on the contents of a Lyx Table. I am beginning to wonder if it did on previous versions. Anyone else had this problem? samar

Re: [patch] bug 2241: LyX crashes on cursor down

2006-01-26 Thread Jean-Marc Lasgouttes
Juergen == Juergen Spitzmueller [EMAIL PROTECTED] writes: Juergen My analysis is as follows: The fix for bug 2094, which Juergen prevents coordOffset() from going into collapsed insets is Juergen not good enough, because it continues to descend down even in Juergen collapsed collapsables and

Re: [patch] bug 2241: LyX crashes on cursor down

2006-01-26 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: There is something I do not understand: if the code arrives there, it means that the cursor is already inside the inset, isn't it? How can this happen when it is collapsed? Isn't _this_ the real bug we want to fix? I'm not sure. Doesn't the DocIterator just iterate

Re: [patch] bug 2241: LyX crashes on cursor down

2006-01-26 Thread Jean-Marc Lasgouttes
Juergen == Juergen Spitzmueller [EMAIL PROTECTED] writes: Juergen Jean-Marc Lasgouttes wrote: There is something I do not understand: if the code arrives there, it means that the cursor is already inside the inset, isn't it? How can this happen when it is collapsed? Isn't _this_ the real bug

Re: Spell Checker on Lyx1.40pre3

2006-01-26 Thread Martin Vermeer
On Thu, 2006-01-26 at 19:39 +0530, samar j. singh wrote: Hi Seems the spell check now does not work on the contents of a Lyx Table. I am beginning to wonder if it did on previous versions. Anyone else had this problem? samar It seems that LyX table doesn't inherit the language of its

Re: [patch] bug 2241: LyX crashes on cursor down

2006-01-26 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: Could this be an artefact of the autoOpen feature (where insets are both open and closed at the same time)? Do you have an easy way to disable autoopen and see whether this helps? Yes (commenting out insetcollapsable.C: 132). This changes the situation insofar as

Re: [patch] bug 2241: LyX crashes on cursor down

2006-01-26 Thread Jean-Marc Lasgouttes
Juergen == Juergen Spitzmueller [EMAIL PROTECTED] writes: Juergen Jean-Marc Lasgouttes wrote: Could this be an artefact of the autoOpen feature (where insets are both open and closed at the same time)? Do you have an easy way to disable autoopen and see whether this helps? Juergen Yes

Bug 1934: the plot thickens

2006-01-26 Thread Jean-Marc Lasgouttes
I took a closer look at http://bugzilla.lyx.org/show_bug.cgi?id=1934 It turns out that the problem is not at all that we use the wrong font. What seems to happen is that two-stage drawing is going mad. Consider the attached instrumentation patch, together with the following textcase, which

Re: Bug 1934: the plot thickens

2006-01-26 Thread Jean-Marc Lasgouttes
Jean-Marc == Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: Jean-Marc I am not sure what to do at this point, since I have no Jean-Marc idea of how 2-stage drawing works. All I can say is that it Jean-Marc turns into 4-stage drawing in some cases :) I think I have another hint: void

On babel deactivation

2006-01-26 Thread Nicolás
Hei! Can I suggest that you guys change the option to activate/deactivate the use of the babel package from the Preferences menu to the Layout/Document menu? It would be nice to have it activeated/deactivated on a document basis and not for all documents. For me it is nice to use babel,

Re: Linking failure on Mac

2006-01-26 Thread Bennett Helm
Can you please check current cvs, I just added a path for darwin to ltmain.sh there. That works -- thanks! Bennett

Re: Bug 1934: the plot thickens

2006-01-26 Thread Georg Baum
Jean-Marc Lasgouttes wrote: Jean-Marc == Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: I think I have another hint: void MathNestInset::drawSelection(PainterInfo pi, int x, int y) const { // FIXME: hack to get position cache warm draw(pi, x, y); Since RowPainter::paintInset does:

Re: Screen update improvements

2006-01-26 Thread Bennett Helm
On Jan 11, 2006, at 4:29 AM, Jean-Marc Lasgouttes wrote: Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: Lars You have of course tested this on linux as well. Not just Lars windows. Martin did. What would be more interesting is OSX, but Bennett needs to be able to compile first. I'm

Re: lyx-1.4.0pre3, gcc-4.1.0 failure

2006-01-26 Thread Rex Dieter
Jose' Matos wrote: On Friday 20 January 2006 17:48, Rex Dieter wrote: gcc-4.1.0 (Fedora Core soon-to-be 5), lyx-1.3.7 ./configure --with-frontend=qt build fails (in this case on x86_64, but I don't think that's relavent). Details appended at end. Full build log available from:

Re: Screen update improvements

2006-01-26 Thread Martin Vermeer
On Thu, Jan 26, 2006 at 01:25:05PM -0500, Bennett Helm wrote: On Jan 11, 2006, at 4:29 AM, Jean-Marc Lasgouttes wrote: Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: Lars You have of course tested this on linux as well. Not just Lars windows. Martin did. What would be more

Re: [patch] bug 2241: LyX crashes on cursor down

2006-01-26 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: OK. So we have to find at which point the dociterator enters the inset. I think I found it: bruteFind in cursor.C. Consider this loop: for ( ; it != et; it.forwardPos()) { // avoid invalid nesting when selecting if

[Patch] bug 2019 fix

2006-01-26 Thread Martin Vermeer
Remember this was the bug you sort-of-promised to sort-of think about fixing in a better way than just disable font changes insite charstyle insets? Well, here is that fix. A fringe benefit of having to study the LyX font architecture in all its byzantine glory to help out with Helge's blue

Re: Renaming macros

2006-01-26 Thread Andre Poenitz
On Thu, Jan 26, 2006 at 07:10:00AM +1030, Beck, Andrew Thomas - BECAT001 wrote: Not in metrics. metrics is only there to compute and cache the size of an inset. Provide some 'changeArgs' function or something like that. Andre' I agree metrics is not the place. However, at some

Re: Three bugs in LyX math editor

2006-01-26 Thread Andre Poenitz
On Wed, Jan 25, 2006 at 09:33:10PM +0100, Georg Baum wrote: Am Mittwoch, 25. Januar 2006 15:50 schrieb Andre Poenitz: On Mon, Jan 23, 2006 at 10:56:55PM +0100, Georg Baum wrote: Unfortunately André removed xymatrix support in 1.4cvs (I don't know why). Because it was broken,

Gtk Branches Dialog

2006-01-26 Thread Bernhard Reiter
yet another (very small) one. this time no screenie attached. Bernhard GBranch.tgz Description: application/compressed-tar

RE: Renaming macros

2006-01-26 Thread Beck, Andrew Thomas - BECAT001
Title: RE: Renaming macros OK, here is a better formatted patch, preserving encoding etc. Thanks for the feedback. The update is still being done in metrics() in the same way that the macro expansion was being done previously. I have changed it to cast away the const-ness rather than make

Re: LyXWinInstaller - JMarc

2006-01-26 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: | Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: | | | Lars, are you sure it works for you to login as larsbj? | | Lars I'll test again. | | Lars No... I get 530 Login incorrect | | I am relieved somehow. | | Lars I'll try to contact

Re: [GTK] bug when click on Tools:Preferences...

2006-01-26 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: | John == John C Spray [EMAIL PROTECTED] writes: | | John I think I left some time down the back of my sofa... come on | John JMarc, is now not the best time for you to learn gtkmm? ;-) | | I have to admit I have not tried very hard yet to compile

Two cursor patches

2006-01-26 Thread Martin Vermeer
Attached two cursor movement patches (were posted already earlier). One of them makes motion within a math inset sensible again (by converting relative to absolute coordinates; fixes a bug), the other makes going up/down into a math inset more reasonable esp. for display style insets. Please

Re: [PATCH] blue line problem fix - compile error

2006-01-26 Thread Martin Vermeer
On Thu, Jan 26, 2006 at 09:11:25AM +0100, Helge Hafting wrote: Martin Vermeer wrote: So here it is, the complete patch, still a bit further polished. Sorry, this does not compile. Changes to paragraph.h seems to break other stuff: ... ../../src/paragraph.h:276: error: default

Re: [PATCH] blue line problem fix - compile error

2006-01-26 Thread Helge Hafting
Martin Vermeer wrote: So here it is, the complete patch, still a bit further polished. Sorry, this does not compile. Changes to paragraph.h seems to break other stuff: make[4]: Entering directory `/usr/src/lyx-devel/src/mathed' if /bin/sh ../../libtool --tag=CXX --mode=compile g++

RE: Renaming macros

2006-01-26 Thread Georg Baum
Beck, Andrew Thomas - BECAT001 wrote: > Here is the patch as it stands. I'd be interested in comments. OK, here you get some. The next time you send a patch please create a unified diff with function names (write diff -up in your .cvsrc) > One issue is that I've made cells_ mutable, which seems

Re: About bug 2169: Inserted \usepackage[usenames]{color} clashes with beamer/xcolor

2006-01-26 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > This is definitely the right solution. Getting rid of special casing > is always better. Attached is the patch. Works like a charm. The second patch is an update to LaTeXConfig.lyx.in and chkconfig.ltx. OK to apply? Jürgen Index: src/buffer.C

Re: About bug 2169: Inserted \usepackage[usenames]{color} clashes with beamer/xcolor

2006-01-26 Thread Lars Gullik Bjønnes
Juergen Spitzmueller <[EMAIL PROTECTED]> writes: | Jean-Marc Lasgouttes wrote: | > This is definitely the right solution. Getting rid of special casing | > is always better. | | Attached is the patch. Works like a charm. | The second patch is an update to LaTeXConfig.lyx.in and chkconfig.ltx. |

Re: About bug 2169: Inserted \usepackage[usenames]{color} clashes with beamer/xcolor

2006-01-26 Thread Juergen Spitzmueller
Lars Gullik Bjønnes wrote: > | // color.sty > | if (isRequired("color")) { > | - if (params_.graphicsDriver == "default") > | - packages << "\\usepackage[usenames]{color}\n"; > | - else > | - packages << "\\usepackage[" > | +

Re: About bug 2169: Inserted \usepackage[usenames]{color} clashes with beamer/xcolor

2006-01-26 Thread Lars Gullik Bjønnes
Juergen Spitzmueller <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: | > | // color.sty | > | if (isRequired("color")) { | > | - if (params_.graphicsDriver == "default") | > | - packages << "\\usepackage[usenames]{color}\n"; | > | - else | > | -

Re: Renaming macros

2006-01-26 Thread Jean-Marc Lasgouttes
> "Andrew" == "Beck, Andrew Thomas <- BECAT001" <[EMAIL PROTECTED]>> writes: Andrew> I agree metrics is not the place. However, at some point you Andrew> need to go cycling through all insets to find the macro Andrew> instantiations and call changeArgs(). You need to do this on Andrew> the

Re: LyXWinInstaller - JMarc

2006-01-26 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | Lars, are you sure it works for you to login as larsbj? Lars> I'll test again. Lars> No... I get "530 Login incorrect" I am relieved somehow. Lars> I'll try to contact them tomorrow Thanks. JMarc

RE: Renaming macros

2006-01-26 Thread Beck, Andrew Thomas - BECAT001
Andrew> I agree metrics is not the place. However, at some point you Andrew> need to go cycling through all insets to find the macro Andrew> instantiations and call changeArgs(). You need to do this on Andrew> the same kind of basis as updating the expansion - since both Andrew> reflect changes

Re: About bug 2169: Inserted \usepackage[usenames]{color} clashes with beamer/xcolor

2006-01-26 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> The added section on dvipost is good. Get OK from J-M before Lars> removing the others from the doc. (I would have preferred two Lars> different patches for this) All these changes are OK. JMarc

Re: About bug 2169: Inserted \usepackage[usenames]{color} clashes with beamer/xcolor

2006-01-26 Thread Juergen Spitzmueller
Lars Gullik Bjønnes wrote: > | OK, but to resolve the bug we need at least the attached. > > Ok. Thanks. I'll apply this and wait with the LaTeXConfig stuff for Jean-Marcs approval. Jürgen

RE: Renaming macros

2006-01-26 Thread Georg Baum
Beck, Andrew Thomas - BECAT001 wrote: > How do I know when these things have changed? I have essentially added > more cells for the name & number of args to the macrotemplate class, > allowing them to be edited directly, just like the expansion or display > fields of the macro. In my mind,

[GTK] bug when click on Tools:Preferences...

2006-01-26 Thread Frederic-Emmanuel PICCA
Hello It seems that a problemn is present with the Preferences. [EMAIL PROTECTED]:~/Projets/lyx-devel/src$ ./lyx lyx: SIGSEGV signal caught Sorry, you have found a bug in LyX. Please read the bug-reporting instructions in Help->Introduction and send us a bug report, if necessary. Thanks !

Re: [GTK] bug when click on Tools:Preferences...

2006-01-26 Thread Jean-Marc Lasgouttes
> "Frederic-Emmanuel" == Frederic-Emmanuel PICCA <[EMAIL PROTECTED]> writes: Frederic-Emmanuel> Hello It seems that a problemn is present with the Frederic-Emmanuel> Preferences. It is not implemented yet. Of course, it would be better if it did not crash :) JMarc

Re: [GTK] bug when click on Tools:Preferences...

2006-01-26 Thread Frederic-Emmanuel PICCA
Jean-Marc Lasgouttes wrote: "Frederic-Emmanuel" == Frederic-Emmanuel PICCA <[EMAIL PROTECTED]> writes: Frederic-Emmanuel> Hello It seems that a problemn is present with the Frederic-Emmanuel> Preferences. It is not implemented yet. Of course, it would be better if it did not crash :) JMarc

Re: [GTK] bug when click on Tools:Preferences...

2006-01-26 Thread Jean-Marc Lasgouttes
> "Frederic-Emmanuel" == Frederic-Emmanuel PICCA <[EMAIL PROTECTED]> writes: Frederic-Emmanuel> Jean-Marc Lasgouttes wrote: >>> "Frederic-Emmanuel" == Frederic-Emmanuel PICCA writes: Frederic-Emmanuel> Hello It seems that a problemn is present with the Frederic-Emmanuel> Preferences. >>

Re: [GTK] bug when click on Tools:Preferences...

2006-01-26 Thread John C. Spray
On Thu, 2006-01-26 at 12:16 +0100, Frederic-Emmanuel PICCA wrote: > Ha ok :) > so it would be nice to pop up a windows with non already implemented :) The idea is to soon (er, probably Sunday, I am living in interesting times) put in some stubs for the unfinished dialogs, so that they can be

Re: [GTK] bug when click on Tools:Preferences...

2006-01-26 Thread Jean-Marc Lasgouttes
> "John" == John C Spray <[EMAIL PROTECTED]> writes: John> I think I left some time down the back of my sofa... come on John> JMarc, is now not the best time for you to learn gtkmm? ;-) I have to admit I have not tried very hard yet to compile the gtk frontend. Most of my LyX time these days

[patch] bug 2241: LyX crashes on cursor down

2006-01-26 Thread Juergen Spitzmueller
http://bugzilla.lyx.org/show_bug.cgi?id=2241 The crash (or assert, if compiled with --disable-stdlib-debug) happens only if the collapsable below the mathinset has not been opened before (cold cache) and if it contains a HIGHLY_EDITABLE (table, inlined ERT) or math inset. My analysis is as

Spell Checker on Lyx1.40pre3

2006-01-26 Thread samar j. singh
Hi Seems the spell check now does not work on the contents of a Lyx Table. I am beginning to wonder if it did on previous versions. Anyone else had this problem? samar

Re: [patch] bug 2241: LyX crashes on cursor down

2006-01-26 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> My analysis is as follows: The fix for bug 2094, which Juergen> prevents coordOffset() from going into collapsed insets is Juergen> not good enough, because it continues to descend down even in Juergen> collapsed

Re: [patch] bug 2241: LyX crashes on cursor down

2006-01-26 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > There is something I do not understand: if the code arrives there, it > means that the cursor is already inside the inset, isn't it? How can > this happen when it is collapsed? Isn't _this_ the real bug we want to > fix? I'm not sure. Doesn't the DocIterator just

Re: [patch] bug 2241: LyX crashes on cursor down

2006-01-26 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> Jean-Marc Lasgouttes wrote: >> There is something I do not understand: if the code arrives there, >> it means that the cursor is already inside the inset, isn't it? How >> can this happen when it is collapsed? Isn't

Re: Spell Checker on Lyx1.40pre3

2006-01-26 Thread Martin Vermeer
On Thu, 2006-01-26 at 19:39 +0530, samar j. singh wrote: > Hi > > Seems the spell check now does not work on the contents of a Lyx Table. I am > beginning to wonder if it did on previous versions. Anyone else had this > problem? > > samar It seems that LyX table doesn't inherit the language

Re: [patch] bug 2241: LyX crashes on cursor down

2006-01-26 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > Could this be an artefact of the autoOpen feature (where insets are > both open and closed at the same time)? > > Do you have an easy way to disable autoopen and see whether this helps? Yes (commenting out insetcollapsable.C: 132). This changes the situation insofar

Re: [patch] bug 2241: LyX crashes on cursor down

2006-01-26 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> Jean-Marc Lasgouttes wrote: >> Could this be an artefact of the autoOpen feature (where insets are >> both open and closed at the same time)? >> >> Do you have an easy way to disable autoopen and see whether this >>

Bug 1934: the plot thickens

2006-01-26 Thread Jean-Marc Lasgouttes
I took a closer look at http://bugzilla.lyx.org/show_bug.cgi?id=1934 It turns out that the problem is not at all that we use the wrong font. What seems to happen is that two-stage drawing is going mad. Consider the attached instrumentation patch, together with the following textcase, which

Re: Bug 1934: the plot thickens

2006-01-26 Thread Jean-Marc Lasgouttes
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: Jean-Marc> I am not sure what to do at this point, since I have no Jean-Marc> idea of how 2-stage drawing works. All I can say is that it Jean-Marc> turns into 4-stage drawing in some cases :) I think I have another hint:

On babel deactivation

2006-01-26 Thread Nicolás
Hei! Can I suggest that you guys change the option to activate/deactivate the use of the babel package from the Preferences menu to the Layout/Document menu? It would be nice to have it activeated/deactivated on a document basis and not for all documents. For me it is nice to use babel,

Re: Linking failure on Mac

2006-01-26 Thread Bennett Helm
Can you please check current cvs, I just added a path for darwin to ltmain.sh there. That works -- thanks! Bennett

Re: Bug 1934: the plot thickens

2006-01-26 Thread Georg Baum
Jean-Marc Lasgouttes wrote: >> "Jean-Marc" == Jean-Marc Lasgouttes >> <[EMAIL PROTECTED]> writes: > > I think I have another hint: > > void MathNestInset::drawSelection(PainterInfo & pi, int x, int y) const > { > // FIXME: hack to get position cache warm > draw(pi, x, y); > > Since

Re: Screen update improvements

2006-01-26 Thread Bennett Helm
On Jan 11, 2006, at 4:29 AM, Jean-Marc Lasgouttes wrote: "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> You have of course tested this on linux as well. Not just Lars> windows. Martin did. What would be more interesting is OSX, but Bennett needs to be able to compile first.

Re: lyx-1.4.0pre3, gcc-4.1.0 failure

2006-01-26 Thread Rex Dieter
Jose' Matos wrote: On Friday 20 January 2006 17:48, Rex Dieter wrote: gcc-4.1.0 (Fedora Core soon-to-be 5), lyx-1.3.7 ./configure --with-frontend=qt build fails (in this case on x86_64, but I don't think that's relavent). Details appended at end. Full build log available from:

Re: Screen update improvements

2006-01-26 Thread Martin Vermeer
On Thu, Jan 26, 2006 at 01:25:05PM -0500, Bennett Helm wrote: > On Jan 11, 2006, at 4:29 AM, Jean-Marc Lasgouttes wrote: > > >>"Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: > > > >Lars> You have of course tested this on linux as well. Not just > >Lars> windows. > > > >Martin did.

Re: [patch] bug 2241: LyX crashes on cursor down

2006-01-26 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > OK. So we have to find at which point the dociterator enters the > inset. I think I found it: bruteFind in cursor.C. Consider this loop: for ( ; it != et; it.forwardPos()) { // avoid invalid nesting when selecting if

[Patch] bug 2019 fix

2006-01-26 Thread Martin Vermeer
Remember this was the bug you sort-of-promised to sort-of think about fixing in a better way than just disable font changes insite charstyle insets? Well, here is that fix. A fringe benefit of having to study the LyX font architecture in all its byzantine glory to help out with Helge's blue

Re: Renaming macros

2006-01-26 Thread Andre Poenitz
On Thu, Jan 26, 2006 at 07:10:00AM +1030, Beck, Andrew Thomas - BECAT001 wrote: > > Not in metrics. metrics is only there to compute and cache the size of > > an inset. > > > > Provide some 'changeArgs' function or something like that. > > > > Andre' > > I agree metrics is not the place.

Re: Three bugs in LyX math editor

2006-01-26 Thread Andre Poenitz
On Wed, Jan 25, 2006 at 09:33:10PM +0100, Georg Baum wrote: > Am Mittwoch, 25. Januar 2006 15:50 schrieb Andre Poenitz: > > On Mon, Jan 23, 2006 at 10:56:55PM +0100, Georg Baum wrote: > > > Unfortunately André removed xymatrix support in 1.4cvs (I don't know > why). > > > > Because it was

Gtk Branches Dialog

2006-01-26 Thread Bernhard Reiter
yet another (very small) one. this time no screenie attached. Bernhard GBranch.tgz Description: application/compressed-tar

RE: Renaming macros

2006-01-26 Thread Beck, Andrew Thomas - BECAT001
Title: RE: Renaming macros OK, here is a better formatted patch, preserving encoding etc. Thanks for the feedback. The update is still being done in metrics() in the same way that the macro expansion was being done previously. I have changed it to cast away the const-ness rather than make

Re: LyXWinInstaller - JMarc

2006-01-26 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | | | Lars, are you sure it works for you to login as larsbj? | | Lars> I'll test again. | | Lars> No... I get "530 Login incorrect" | | I am relieved somehow. | | Lars> I'll

Re: [GTK] bug when click on Tools:Preferences...

2006-01-26 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "John" == John C Spray <[EMAIL PROTECTED]> writes: | | John> I think I left some time down the back of my sofa... come on | John> JMarc, is now not the best time for you to learn gtkmm? ;-) | | I have to admit I have not tried very hard

Two cursor patches

2006-01-26 Thread Martin Vermeer
Attached two cursor movement patches (were posted already earlier). One of them makes motion within a math inset sensible again (by converting relative to absolute coordinates; fixes a bug), the other makes going up/down into a math inset more reasonable esp. for display style insets. Please

Re: [PATCH] blue line problem fix - compile error

2006-01-26 Thread Martin Vermeer
On Thu, Jan 26, 2006 at 09:11:25AM +0100, Helge Hafting wrote: > Martin Vermeer wrote: > > > > >So here it is, the complete patch, still a bit further polished. > > > > > Sorry, this does not compile. > Changes to paragraph.h seems to break other stuff: ... > ../../src/paragraph.h:276: error: