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:

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 give

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 ye

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

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 cel

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: 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

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

[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 under

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 (b

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. W

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: http://buildsys.

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: 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 RowP

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

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, howev

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

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 conta

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 >> help

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: 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

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

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 iter

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 collapsa

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

[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 foll

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

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 worke

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

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> 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

[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 ! By

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, changin

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: 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: 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

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 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 sam

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: 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: | 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
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: 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: [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++ -DHAVE_C