Re: [patch] re-add bv::dispatch call

2004-02-03 Thread Andre Poenitz
On Mon, Feb 02, 2004 at 09:26:14PM +0100, Alfredo Braunstein wrote: it has been removed for some reason. Don't know if this is the correct place to put it though... Should be ok this way. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they

Re: [patch] trivial fix

2004-02-03 Thread Andre Poenitz
On Mon, Feb 02, 2004 at 09:46:24PM +0100, Alfredo Braunstein wrote: Index: lyxfind.C === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/lyxfind.C,v retrieving revision 1.72 diff -u -p -u -r1.72 lyxfind.C --- lyxfind.C 31 Jan

Re: [patch] trivial fix

2004-02-03 Thread Alfredo Braunstein
On Tuesday 03 February 2004 09:19, Andre Poenitz wrote: That was not my doing, was it? Easy: do you feel guilty? ;-) I would blame Angus for starting, but there's no friday nearly! Alfredo

Re: [patch] trivial fix

2004-02-03 Thread Andre Poenitz
On Tue, Feb 03, 2004 at 09:22:01AM +0100, Alfredo Braunstein wrote: On Tuesday 03 February 2004 09:19, Andre Poenitz wrote: That was not my doing, was it? Easy: do you feel guilty? ;-) Not really. I mean, I do randomly delete stuff, but swapping parameters would be a new dimension...

Re: [patch] remove math_cursor.[Ch]

2004-02-03 Thread Lars Gullik Bjønnes
Andre Poenitz [EMAIL PROTECTED] writes: | This removes the math cursor and makes the undo interface less dependend | on the LyXText. Use LCursor instead, as this can be used from both | mathed and texted. | I have disabled undo in math until we made out mind up how to store | mathed undo

Re: [patch] remove math_cursor.[Ch]

2004-02-03 Thread Andre Poenitz
On Tue, Feb 03, 2004 at 09:41:03AM +0100, Lars Gullik Bjønnes wrote: Andre Poenitz [EMAIL PROTECTED] writes: | This removes the math cursor and makes the undo interface less dependend | on the LyXText. Use LCursor instead, as this can be used from both | mathed and texted. | I have

Re: CVS lyx: insert math inset - crash

2004-02-03 Thread Andre Poenitz
On Mon, Feb 02, 2004 at 08:48:16PM -0800, Kayvan A. Sylvan wrote: Fresh CVS lyx compile. 1. Start lyx 2. C-n (New buffer) 3. C-m (Math inset) lyx crashes Worked around by temporarily disabling undo in math. Andre'

Re: [patch] remove math_cursor.[Ch]

2004-02-03 Thread Alfredo Braunstein
Andre Poenitz wrote: 1. an additional std::string field in class Undo plus a math/non-math flag telling us whether the ParagraphList (for texted) or the string (LaTeX'd math) is valid, or Why a string instead of a math inset? Alfredo

Re: [patch] remove math_cursor.[Ch]

2004-02-03 Thread Alfredo Braunstein
Andre Poenitz wrote: That's the goal (and that's why I want to drop that current 'math undo works only on the containing text paragraph and makes the cursor always leave the inset - which is a pain to use). You could also store an LCursor with every undo instance Alfredo

Re: [patch] remove math_cursor.[Ch]

2004-02-03 Thread Andre Poenitz
On Tue, Feb 03, 2004 at 10:05:02AM +0100, Alfredo Braunstein wrote: Andre Poenitz wrote: 1. an additional std::string field in class Undo plus a math/non-math flag telling us whether the ParagraphList (for texted) or the string (LaTeX'd math) is valid, or Why a string

Re: [patch] remove math_cursor.[Ch]

2004-02-03 Thread Andre Poenitz
On Tue, Feb 03, 2004 at 10:16:37AM +0100, Alfredo Braunstein wrote: Andre Poenitz wrote: That's the goal (and that's why I want to drop that current 'math undo works only on the containing text paragraph and makes the cursor always leave the inset - which is a pain to use). You could

Re: [patch] remove math_cursor.[Ch]

2004-02-03 Thread Alfredo Braunstein
Andre Poenitz wrote: On Tue, Feb 03, 2004 at 10:16:37AM +0100, Alfredo Braunstein wrote: Andre Poenitz wrote: That's the goal (and that's why I want to drop that current 'math undo works only on the containing text paragraph and makes the cursor always leave the inset - which is a pain

Re: [patch] remove math_cursor.[Ch]

2004-02-03 Thread Andre Poenitz
On Tue, Feb 03, 2004 at 10:31:08AM +0100, Alfredo Braunstein wrote: Andre Poenitz wrote: On Tue, Feb 03, 2004 at 10:16:37AM +0100, Alfredo Braunstein wrote: Andre Poenitz wrote: That's the goal (and that's why I want to drop that current 'math undo works only on the containing text

Current mathed regressions

2004-02-03 Thread Angus Leeming
I've just had a play with the current cvs version of lyx. Mathed is currently having problems with * basic on-screen positioning. * things like \partial and \sigma which appear in blue in 13x are now rendered in black. Does this indicate an underlying problem? * macros are broken. Floats are

Re: Current mathed regressions

2004-02-03 Thread Andre Poenitz
On Tue, Feb 03, 2004 at 10:55:57AM +, Angus Leeming wrote: I've just had a play with the current cvs version of lyx. Mathed is currently having problems with * basic on-screen positioning. * macros are broken. I know of these and I am a bit puzzled by the first one. The position

[13x]: Re: Compile Errors on Itanium

2004-02-03 Thread Angus Leeming
Jean-Marc, I propose modifying the 13x version of boost/detail/limits.hpp to this (this is what the next boost version, 1.31.0 will have). It will resolve Jeremy's problem and enable us to support Itanium machines. Ok? Angus #if defined(__sparc) || defined(__sparc__) || defined(__powerpc__)

Re: Current mathed regressions

2004-02-03 Thread Angus Leeming
Andre Poenitz wrote: Ah... looks like MathSymbolInset have not yet regained its width cache after it disappeared from MathAtom... I think you're missing something from your just-now update... Angus ../../../src/mathed/math_hullinset.C:775:2: warning: #warning temporarily disabled

Re: [PATCH] lyx2lyx encoding warnings

2004-02-03 Thread Jean-Marc Lasgouttes
Georg == Georg Baum [EMAIL PROTECTED] writes: Georg José, some time ago you fixed some python encoding warnings in Georg lyx2lyx. However, it seems that the encoding needs to be Georg specified not only in the main file, but also in the imported Georg modules. The attached patch adds the

Re: Current mathed regressions

2004-02-03 Thread Andre Poenitz
On Tue, Feb 03, 2004 at 11:30:48AM +, Angus Leeming wrote: Andre Poenitz wrote: Ah... looks like MathSymbolInset have not yet regained its width cache after it disappeared from MathAtom... I think you're missing something from your just-now update... Oehm. Yes. Attached (fix three

Re: Lyx is overrideing Layout-Preferences

2004-02-03 Thread Jean-Marc Lasgouttes
Juergen == Juergen Spitzmueller [EMAIL PROTECTED] writes: Juergen Juergen Spitzmueller wrote: I saw it too late! Could you experiment with those variables (also LC_MONETARY, maybe)? I cannot find any reference about what LC_MEASUREMENT does... Not very much ATM. Juergen Well I did it

Re: Current mathed regressions

2004-02-03 Thread Angus Leeming
Andre Poenitz wrote: I think you're missing something from your just-now update... Oehm. Yes. Attached (fix three FIXMEs) Thanks. I've just finished compiling and have posted the updated snapshot to http://www.devel.lyx.org/~leeming/snap-cvs.png Summary: the positioning is back. The other

Re: Current mathed regressions

2004-02-03 Thread Andre Poenitz
On Tue, Feb 03, 2004 at 12:06:40PM +, Angus Leeming wrote: ps Looking at the patch, I think that you need _(Mark off) rather than N_(Mark off) etc. Use N_() for static constants that are not in the execution path. Not my doing, just code shifted around. Andre'

Re: Lyx is overrideing Layout-Preferences

2004-02-03 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: Juergen == Juergen Spitzmueller [EMAIL PROTECTED] writes: | Juergen Juergen Spitzmueller wrote: I saw it too late! Could you experiment with those variables (also LC_MONETARY, maybe)? I cannot find any reference about what LC_MEASUREMENT

Re: [13x]: Re: Compile Errors on Itanium

2004-02-03 Thread Jean-Marc Lasgouttes
Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus Jean-Marc, I propose modifying the 13x version of Angus boost/detail/limits.hpp to this (this is what the next boost Angus version, 1.31.0 will have). Angus It will resolve Jeremy's problem and enable us to support Angus Itanium machines.

[PATCH 13x]: add support for autoconf 2.59

2004-02-03 Thread Angus Leeming
Works fine on my Debian unstable machine. Ok to apply? -- AngusIndex: ChangeLog === RCS file: /usr/local/lyx/cvsroot/lyx-devel/ChangeLog,v retrieving revision 1.906.2.29 diff -u -p -r1.906.2.29 ChangeLog --- ChangeLog 15 Jan 2004

Re: Lyx is overrideing Layout-Preferences

2004-02-03 Thread Jean-Marc Lasgouttes
Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: Lars I thought 'C' was requried to exits by the standard. I thought so too, but I do not have a better guess currently. JMarc

Re: [PATCH 13x]: add support for autoconf 2.59

2004-02-03 Thread Jean-Marc Lasgouttes
Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus Works fine on my Debian unstable machine. Ok to apply? -- Angus Yes. JMarc

Compile failure

2004-02-03 Thread Martin Vermeer
This should work shouldn't it... the types derive from each other. Current CVS, gcc 2.95 with stlport. Georg Baum reported something similar earlier on. What's up? math_nestinset.C: In method `void MathNestInset::getCursorPos(const CursorSlice , int , int ) const': math_nestinset.C:75:

Re: Compile failure

2004-02-03 Thread Andre Poenitz
On Tue, Feb 03, 2004 at 04:12:09PM +0200, Martin Vermeer wrote: This should work shouldn't it... the types derive from each other. Current CVS, gcc 2.95 with stlport. Georg Baum reported something similar earlier on. What's up? Maybe a const_cast helps. Andre'

[patch] the sub/superscript crashs

2004-02-03 Thread Andre Poenitz
My fault. Essentially: Index: cursor.C === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/cursor.C,v retrieving revision 1.45 diff -u -p -r1.45 cursor.C --- cursor.C3 Feb 2004 11:49:05 - 1.45 +++ cursor.C3 Feb

Re: Compile failure

2004-02-03 Thread Martin Vermeer
On Tue, Feb 03, 2004 at 03:21:19PM +0100, Andre Poenitz spake thusly: On Tue, Feb 03, 2004 at 04:12:09PM +0200, Martin Vermeer wrote: This should work shouldn't it... the types derive from each other. Current CVS, gcc 2.95 with stlport. Georg Baum reported something similar earlier on.

Re: Compile failure

2004-02-03 Thread Andre Poenitz
On Tue, Feb 03, 2004 at 05:14:58PM +0200, Martin Vermeer wrote: It sure does help... pretty it is not. Does it make sense to check this in (attached)? Well, I certainly don't like it, but if it is the only way to get this code past 2.95, just do it. - BOOST_ASSERT(cur.inset() == this);

[patch] fix click on inset buttons

2004-02-03 Thread Andre Poenitz
Should be a bit better now. -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...) Index: BufferView_pimpl.C === RCS file:

Re: [patch] fix click on inset buttons

2004-02-03 Thread John Levon
On Tue, Feb 03, 2004 at 05:46:44PM +0100, Andre Poenitz wrote: // remove one level of cursor switch (res.val()) { case FINISHED: - pop(i); cmd = FuncRequest(LFUN_FINISHED_LEFT); Do

Re: [patch] fix click on inset buttons

2004-02-03 Thread Andre Poenitz
On Tue, Feb 03, 2004 at 04:47:46PM +, John Levon wrote: On Tue, Feb 03, 2004 at 05:46:44PM +0100, Andre Poenitz wrote: // remove one level of cursor switch (res.val()) { case FINISHED: - pop(i);

Re: Compile failure

2004-02-03 Thread Martin Vermeer
On Tue, Feb 03, 2004 at 04:12:13PM +0100, Andre Poenitz spake thusly: On Tue, Feb 03, 2004 at 05:14:58PM +0200, Martin Vermeer wrote: It sure does help... pretty it is not. Does it make sense to check this in (attached)? Well, I certainly don't like it, but if it is the only way to

Re: Compile failure

2004-02-03 Thread Andre Poenitz
On Tue, Feb 03, 2004 at 07:03:09PM +0200, Martin Vermeer wrote: Some further compile fixes attached... OK to go in? (As you see this includes the Baum fix) Ok. Andre'

[patch] more LCursor::dispatch

2004-02-03 Thread Andre Poenitz
Ok, I think the system should be sane enough now to be usable. Some comments adjusted. It still feels somewhat hackish, so if someone sees some obvious improvement... Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one.

Re: [patch] more LCursor::dispatch

2004-02-03 Thread Andre Poenitz
On Tue, Feb 03, 2004 at 06:08:55PM +0100, Andre' Poenitz wrote: + // Note that the 'current_' index can be changed by some + // inset::dispatch by e.g. calling 'pop'. This is e.g. + // necessary for moving the cursor out of some deeply nested + // inset in a collapsable inset

Latest CVS Lyx: Much better!

2004-02-03 Thread Kayvan A. Sylvan
The math mode seems to work again (no superscript crash) --- I have not tested extensively. I noticed the following: 1) selection does not seem to be giving visual feedback (i.e. I can position the cursor and then do SHIFT-down-arrow and BACKSPACE to delete some text, but the selection is

Re: Fix bugs 605, 1231, and 1244

2004-02-03 Thread Jose' Matos
On Monday 02 February 2004 21:14, Georg Baum wrote: This is certainly too brutal. How can I make sure that no files can be loaded, but for example the temp path setting can be corrected? Just a wild guess: to have some kind of dirty flag in the LyX singleton... I'm not helping, I know,

Re: Latest CVS Lyx: Much better!

2004-02-03 Thread Alfredo Braunstein
Kayvan A. Sylvan wrote: The math mode seems to work again (no superscript crash) --- I have not tested extensively. I noticed the following: 1) selection does not seem to be giving visual feedback (i.e. I can position the cursor and then do SHIFT-down-arrow and BACKSPACE to delete

Re: Latest CVS Lyx: Much better!

2004-02-03 Thread Alfredo Braunstein
Alfredo Braunstein wrote: The following patch should fix the crash. The culprit is that Upmh old patch. See this one instead. Alfredo? PosIterator.C-save ? PosIterator.h-save ? all.diff ? bfs.cpp ? files ? save ? frontends/screen.C-save Index: insets/insetcollapsable.C

Re: Compile failure

2004-02-03 Thread Lars Gullik Bjønnes
Martin Vermeer [EMAIL PROTECTED] writes: | On Tue, Feb 03, 2004 at 04:12:13PM +0100, Andre Poenitz spake thusly: On Tue, Feb 03, 2004 at 05:14:58PM +0200, Martin Vermeer wrote: It sure does help... pretty it is not. Does it make sense to check this in (attached)? Well, I certainly

Re: [patch] re-add bv::dispatch call

2004-02-03 Thread Andre Poenitz
On Mon, Feb 02, 2004 at 09:26:14PM +0100, Alfredo Braunstein wrote: > it has been removed for some reason. > > Don't know if this is the correct place to put it though... Should be ok this way. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they

Re: [patch] trivial fix

2004-02-03 Thread Andre Poenitz
On Mon, Feb 02, 2004 at 09:46:24PM +0100, Alfredo Braunstein wrote: > Index: lyxfind.C > === > RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/lyxfind.C,v > retrieving revision 1.72 > diff -u -p -u -r1.72 lyxfind.C > --- lyxfind.C 31

Re: [patch] trivial fix

2004-02-03 Thread Alfredo Braunstein
On Tuesday 03 February 2004 09:19, Andre Poenitz wrote: > That was not my doing, was it? Easy: do you feel guilty? ;-) I would blame Angus for starting, but there's no friday nearly! Alfredo

Re: [patch] trivial fix

2004-02-03 Thread Andre Poenitz
On Tue, Feb 03, 2004 at 09:22:01AM +0100, Alfredo Braunstein wrote: > On Tuesday 03 February 2004 09:19, Andre Poenitz wrote: > > > That was not my doing, was it? > > Easy: do you feel guilty? ;-) Not really. I mean, I do randomly delete stuff, but swapping parameters would be a new

Re: [patch] remove math_cursor.[Ch]

2004-02-03 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | This removes the math cursor and makes the undo interface less dependend | on the LyXText. Use LCursor instead, as this can be used from both | mathed and texted. > | I have disabled undo in math until we made out mind up how to store | mathed undo

Re: [patch] remove math_cursor.[Ch]

2004-02-03 Thread Andre Poenitz
On Tue, Feb 03, 2004 at 09:41:03AM +0100, Lars Gullik Bjønnes wrote: > Andre Poenitz <[EMAIL PROTECTED]> writes: > > | This removes the math cursor and makes the undo interface less dependend > | on the LyXText. Use LCursor instead, as this can be used from both > | mathed and texted. > > > | I

Re: CVS lyx: insert math inset -> crash

2004-02-03 Thread Andre Poenitz
On Mon, Feb 02, 2004 at 08:48:16PM -0800, Kayvan A. Sylvan wrote: > Fresh CVS lyx compile. > 1. Start lyx > 2. C-n (New buffer) > 3. C-m (Math inset) > lyx crashes Worked around by temporarily disabling undo in math. Andre'

Re: [patch] remove math_cursor.[Ch]

2004-02-03 Thread Alfredo Braunstein
Andre Poenitz wrote: > 1. an additional std::string field in class Undo plus a math/non-math > flag telling us whether the ParagraphList (for texted) or the > string (LaTeX'd math) is valid, or Why a string instead of a math inset? Alfredo

Re: [patch] remove math_cursor.[Ch]

2004-02-03 Thread Alfredo Braunstein
Andre Poenitz wrote: > That's the goal (and that's why I want to drop that current 'math undo > works only on the containing text paragraph and makes the cursor always > leave the inset - which is a pain to use). You could also store an LCursor with every undo instance Alfredo

Re: [patch] remove math_cursor.[Ch]

2004-02-03 Thread Andre Poenitz
On Tue, Feb 03, 2004 at 10:05:02AM +0100, Alfredo Braunstein wrote: > Andre Poenitz wrote: > > > 1. an additional std::string field in class Undo plus a math/non-math > > flag telling us whether the ParagraphList (for texted) or the > > string (LaTeX'd math) is valid, or > > Why a

Re: [patch] remove math_cursor.[Ch]

2004-02-03 Thread Andre Poenitz
On Tue, Feb 03, 2004 at 10:16:37AM +0100, Alfredo Braunstein wrote: > Andre Poenitz wrote: > > > That's the goal (and that's why I want to drop that current 'math undo > > works only on the containing text paragraph and makes the cursor always > > leave the inset - which is a pain to use). > >

Re: [patch] remove math_cursor.[Ch]

2004-02-03 Thread Alfredo Braunstein
Andre Poenitz wrote: > On Tue, Feb 03, 2004 at 10:16:37AM +0100, Alfredo Braunstein wrote: >> Andre Poenitz wrote: >> >> > That's the goal (and that's why I want to drop that current 'math undo >> > works only on the containing text paragraph and makes the cursor always >> > leave the inset -

Re: [patch] remove math_cursor.[Ch]

2004-02-03 Thread Andre Poenitz
On Tue, Feb 03, 2004 at 10:31:08AM +0100, Alfredo Braunstein wrote: > Andre Poenitz wrote: > > > On Tue, Feb 03, 2004 at 10:16:37AM +0100, Alfredo Braunstein wrote: > >> Andre Poenitz wrote: > >> > >> > That's the goal (and that's why I want to drop that current 'math undo > >> > works only on

Current mathed regressions

2004-02-03 Thread Angus Leeming
I've just had a play with the current cvs version of lyx. Mathed is currently having problems with * basic on-screen positioning. * things like \partial and \sigma which appear in blue in 13x are now rendered in black. Does this indicate an underlying problem? * macros are broken. Floats are

Re: Current mathed regressions

2004-02-03 Thread Andre Poenitz
On Tue, Feb 03, 2004 at 10:55:57AM +, Angus Leeming wrote: > I've just had a play with the current cvs version of lyx. > > Mathed is currently having problems with > * basic on-screen positioning. > * macros are broken. I know of these and I am a bit puzzled by the first one. The position

[13x]: Re: Compile Errors on Itanium

2004-02-03 Thread Angus Leeming
Jean-Marc, I propose modifying the 13x version of boost/detail/limits.hpp to this (this is what the next boost version, 1.31.0 will have). It will resolve Jeremy's problem and enable us to support Itanium machines. Ok? Angus #if defined(__sparc) || defined(__sparc__) || defined(__powerpc__)

Re: Current mathed regressions

2004-02-03 Thread Angus Leeming
Andre Poenitz wrote: > Ah... looks like MathSymbolInset have not yet regained its width > cache after it disappeared from MathAtom... I think you're missing something from your just-now update... Angus ../../../src/mathed/math_hullinset.C:775:2: warning: #warning temporarily disabled

Re: [PATCH] lyx2lyx encoding warnings

2004-02-03 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> José, some time ago you fixed some python encoding warnings in Georg> lyx2lyx. However, it seems that the encoding needs to be Georg> specified not only in the main file, but also in the imported Georg> modules. The attached patch

Re: Current mathed regressions

2004-02-03 Thread Andre Poenitz
On Tue, Feb 03, 2004 at 11:30:48AM +, Angus Leeming wrote: > Andre Poenitz wrote: > > Ah... looks like MathSymbolInset have not yet regained its width > > cache after it disappeared from MathAtom... > > > I think you're missing something from your just-now update... Oehm. Yes. Attached (fix

Re: Lyx is overrideing Layout-Preferences

2004-02-03 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> Juergen Spitzmueller wrote: >> > I saw it too late! Could you experiment with those variables >> (also > LC_MONETARY, maybe)? I cannot find any reference about what >> > LC_MEASUREMENT does... >> >> Not very much ATM.

Re: Current mathed regressions

2004-02-03 Thread Angus Leeming
Andre Poenitz wrote: >> I think you're missing something from your just-now update... > Oehm. Yes. Attached (fix three FIXMEs) Thanks. I've just finished compiling and have posted the updated snapshot to http://www.devel.lyx.org/~leeming/snap-cvs.png Summary: the positioning is back. The other

Re: Current mathed regressions

2004-02-03 Thread Andre Poenitz
On Tue, Feb 03, 2004 at 12:06:40PM +, Angus Leeming wrote: > ps Looking at the patch, I think that you need _("Mark off") rather > than N_("Mark off") etc. Use N_() for static constants that are not > in the execution path. Not my doing, just code shifted around. Andre'

Re: Lyx is overrideing Layout-Preferences

2004-02-03 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: >> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: > | Juergen> Juergen Spitzmueller wrote: >>> > I saw it too late! Could you experiment with those variables >>> (also > LC_MONETARY, maybe)? I cannot find any reference about what

Re: [13x]: Re: Compile Errors on Itanium

2004-02-03 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Jean-Marc, I propose modifying the 13x version of Angus> boost/detail/limits.hpp to this (this is what the next boost Angus> version, 1.31.0 will have). Angus> It will resolve Jeremy's problem and enable us to support Angus>

[PATCH 13x]: add support for autoconf 2.59

2004-02-03 Thread Angus Leeming
Works fine on my Debian unstable machine. Ok to apply? -- AngusIndex: ChangeLog === RCS file: /usr/local/lyx/cvsroot/lyx-devel/ChangeLog,v retrieving revision 1.906.2.29 diff -u -p -r1.906.2.29 ChangeLog --- ChangeLog 15 Jan 2004

Re: Lyx is overrideing Layout-Preferences

2004-02-03 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> I thought 'C' was requried to exits by the standard. I thought so too, but I do not have a better guess currently. JMarc

Re: [PATCH 13x]: add support for autoconf 2.59

2004-02-03 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Works fine on my Debian unstable machine. Ok to apply? -- Angus Yes. JMarc

Compile failure

2004-02-03 Thread Martin Vermeer
This should work shouldn't it... the types derive from each other. Current CVS, gcc 2.95 with stlport. Georg Baum reported something similar earlier on. What's up? math_nestinset.C: In method `void MathNestInset::getCursorPos(const CursorSlice &, int &, int &) const': math_nestinset.C:75:

Re: Compile failure

2004-02-03 Thread Andre Poenitz
On Tue, Feb 03, 2004 at 04:12:09PM +0200, Martin Vermeer wrote: > > This should work shouldn't it... the types derive from each other. > Current CVS, gcc 2.95 with stlport. Georg Baum reported something > similar earlier on. > > What's up? Maybe a const_cast helps. Andre'

[patch] the sub/superscript crashs

2004-02-03 Thread Andre Poenitz
My fault. Essentially: Index: cursor.C === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/cursor.C,v retrieving revision 1.45 diff -u -p -r1.45 cursor.C --- cursor.C3 Feb 2004 11:49:05 - 1.45 +++ cursor.C3 Feb

Re: Compile failure

2004-02-03 Thread Martin Vermeer
On Tue, Feb 03, 2004 at 03:21:19PM +0100, Andre Poenitz spake thusly: > > On Tue, Feb 03, 2004 at 04:12:09PM +0200, Martin Vermeer wrote: > > > > This should work shouldn't it... the types derive from each other. > > Current CVS, gcc 2.95 with stlport. Georg Baum reported something > > similar

Re: Compile failure

2004-02-03 Thread Andre Poenitz
On Tue, Feb 03, 2004 at 05:14:58PM +0200, Martin Vermeer wrote: > It sure does help... pretty it is not. > > Does it make sense to check this in (attached)? Well, I certainly don't like it, but if it is the only way to get this code past 2.95, just do it. > - BOOST_ASSERT(cur.inset() ==

[patch] fix click on inset buttons

2004-02-03 Thread Andre Poenitz
Should be a bit better now. -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...) Index: BufferView_pimpl.C === RCS file:

Re: [patch] fix click on inset buttons

2004-02-03 Thread John Levon
On Tue, Feb 03, 2004 at 05:46:44PM +0100, Andre Poenitz wrote: > // remove one level of cursor > switch (res.val()) { > case FINISHED: > - pop(i); > cmd = FuncRequest(LFUN_FINISHED_LEFT);

Re: [patch] fix click on inset buttons

2004-02-03 Thread Andre Poenitz
On Tue, Feb 03, 2004 at 04:47:46PM +, John Levon wrote: > On Tue, Feb 03, 2004 at 05:46:44PM +0100, Andre Poenitz wrote: > > > // remove one level of cursor > > switch (res.val()) { > > case FINISHED: > > - pop(i); > >

Re: Compile failure

2004-02-03 Thread Martin Vermeer
On Tue, Feb 03, 2004 at 04:12:13PM +0100, Andre Poenitz spake thusly: > > On Tue, Feb 03, 2004 at 05:14:58PM +0200, Martin Vermeer wrote: > > It sure does help... pretty it is not. > > > > Does it make sense to check this in (attached)? > > Well, I certainly don't like it, but if it is the only

Re: Compile failure

2004-02-03 Thread Andre Poenitz
On Tue, Feb 03, 2004 at 07:03:09PM +0200, Martin Vermeer wrote: > Some further compile fixes attached... OK to go in? (As you see this > includes the Baum fix) Ok. Andre'

[patch] more LCursor::dispatch

2004-02-03 Thread Andre Poenitz
Ok, I think the system should be sane enough now to be usable. Some comments adjusted. It still feels somewhat hackish, so if someone sees some obvious improvement... Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one.

Re: [patch] more LCursor::dispatch

2004-02-03 Thread Andre Poenitz
On Tue, Feb 03, 2004 at 06:08:55PM +0100, Andre' Poenitz wrote: > + // Note that the 'current_' index can be changed by some > + // inset::dispatch by e.g. calling 'pop'. This is e.g. > + // necessary for moving the cursor out of some deeply nested > + // inset in a collapsable

Latest CVS Lyx: Much better!

2004-02-03 Thread Kayvan A. Sylvan
The math mode seems to work again (no superscript crash) --- I have not tested extensively. I noticed the following: 1) selection does not seem to be giving visual feedback (i.e. I can position the cursor and then do SHIFT-down-arrow and BACKSPACE to delete some text, but the selection is

Re: Fix bugs 605, 1231, and 1244

2004-02-03 Thread Jose' Matos
On Monday 02 February 2004 21:14, Georg Baum wrote: > > This is certainly too brutal. How can I make sure that no files can be > loaded, but for example the temp path setting can be corrected? Just a wild guess: to have some kind of dirty flag in the LyX singleton... I'm not helping, I know,

Re: Latest CVS Lyx: Much better!

2004-02-03 Thread Alfredo Braunstein
Kayvan A. Sylvan wrote: > The math mode seems to work again (no superscript crash) --- I have > not tested extensively. > > I noticed the following: > > 1) selection does not seem to be giving visual feedback (i.e. I can > position >the cursor and then do SHIFT-down-arrow and BACKSPACE to

Re: Latest CVS Lyx: Much better!

2004-02-03 Thread Alfredo Braunstein
Alfredo Braunstein wrote: > The following patch should fix the crash. The culprit is that Upmh old patch. See this one instead. Alfredo? PosIterator.C-save ? PosIterator.h-save ? all.diff ? bfs.cpp ? files ? save ? frontends/screen.C-save Index: insets/insetcollapsable.C

Re: Compile failure

2004-02-03 Thread Lars Gullik Bjønnes
Martin Vermeer <[EMAIL PROTECTED]> writes: | On Tue, Feb 03, 2004 at 04:12:13PM +0100, Andre Poenitz spake thusly: >> >> On Tue, Feb 03, 2004 at 05:14:58PM +0200, Martin Vermeer wrote: >> > It sure does help... pretty it is not. >> > >> > Does it make sense to check this in (attached)? >> >>