Re: [patch] globalize anchor
On Wed, Jan 14, 2004 at 07:29:56PM +0100, Alfredo Braunstein wrote: Andre Poenitz wrote: We just dump the shiny global cursor (without that inset caching bit). cell0/par0/pos0 cell1/par1/pos1 cell2/par2/pos2 cell3/par2/pos3 Alternatively a simple ParIterator offset + pos would do it. Oh. Yes. Andre' -- 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...)
Re: [patch] move Selection
On Wed, Jan 14, 2004 at 08:38:01PM +0100, Christian Ridderström wrote: On Wed, 14 Jan 2004, Andre Poenitz wrote: Btw, I always found it a bit stange to have both (e.g.) 'word-left' and 'word-left-select' as separate LFUNs. Some 'selection-on, word-left' combo should have done as well... It saves some typing in command sequences. I am more concerned about implementation. Not having a 'native' LFUN_WORD_LEFT_SELECT does not mean we can't have an 'word-left-select' 'alias'. Andre'
Re: [patch] move Selection
On Thu, 15 Jan 2004, Andre Poenitz wrote: On Wed, Jan 14, 2004 at 08:38:01PM +0100, Christian Ridderström wrote: On Wed, 14 Jan 2004, Andre Poenitz wrote: Btw, I always found it a bit stange to have both (e.g.) 'word-left' and 'word-left-select' as separate LFUNs. Some 'selection-on, word-left' combo should have done as well... It saves some typing in command sequences. I am more concerned about implementation. Not having a 'native' LFUN_WORD_LEFT_SELECT does not mean we can't have an 'word-left-select' 'alias'. I was actually trying to agree with you... ;-) /Christian -- Dr. Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
Re: [patch] move Selection
On Thu, Jan 15, 2004 at 10:38:59AM +0100, Christian Ridderström wrote: I am more concerned about implementation. Not having a 'native' LFUN_WORD_LEFT_SELECT does not mean we can't have an 'word-left-select' 'alias'. I was actually trying to agree with you... ;-) That's notoriously hard. Andre'
Re: meeting 2004
Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: Lars Andre Poenitz [EMAIL PROTECTED] writes: | Do we have any ideas Lars so far (where when)? Lars I thought we decided where to go :-) (not sure that he agreed Lars though ;-) ) Huh? JMarc
[patch] some intermediate sanitiztion
mainly renaming mathed stuff and a safer way to decide whether a cursor slice belongs to math or text. -- 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: cursor_slice.C === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/cursor_slice.C,v retrieving revision 1.6 diff -u -p -r1.6 cursor_slice.C --- cursor_slice.C 14 Jan 2004 18:17:01 - 1.6 +++ cursor_slice.C 15 Jan 2004 11:16:24 - @@ -89,41 +89,34 @@ bool CursorSlice::boundary() const MathInset * CursorSlice::asMathInset() const { - return static_castMathInset *(const_castInsetBase *(inset_)); + return inset_-asMathInset(); } UpdatableInset * CursorSlice::asUpdatableInset() const { - return static_castUpdatableInset *(const_castInsetBase *(inset_)); + return inset_-asUpdatableInset(); } -MathArray CursorSlice::cell(CursorSlice::idx_type idx) const +void CursorSlice::cell(CursorSlice::idx_type idx) const { - BOOST_ASSERT(inset_); BOOST_ASSERT(asMathInset()); - return asMathInset()-cell(idx); + asMathInset()-cell(idx); } MathArray CursorSlice::cell() const { - BOOST_ASSERT(inset_); + BOOST_ASSERT(asMathInset()); return asMathInset()-cell(idx_); } -void CursorSlice::getPos(int x, int y) const -{ - BOOST_ASSERT(inset_); - asMathInset()-getPos(idx_, pos_, x, y); -} - - -void CursorSlice::setPos(int pos) +void CursorSlice::getScreenPos(int x, int y) const { - pos_ = pos; + BOOST_ASSERT(asMathInset()); + asMathInset()-getScreenPos(idx_, pos_, x, y); } Index: cursor_slice.h === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/cursor_slice.h,v retrieving revision 1.4 diff -u -p -r1.4 cursor_slice.h --- cursor_slice.h 14 Jan 2004 18:17:01 - 1.4 +++ cursor_slice.h 15 Jan 2004 11:16:24 - @@ -80,12 +80,10 @@ public: /// /// returns cell corresponding to this position MathArray cell() const; - /// returns cell corresponding to this position - MathArray cell(idx_type idx) const; + /// set cell corresponding to this position + void cell(idx_type idx) const; /// gets screen position of the thing - void getPos(int x, int y) const; - /// set position - void setPos(int pos); + void getScreenPos(int x, int y) const; /// MathInset * asMathInset() const; Index: insets/insetbase.h === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/insets/insetbase.h,v retrieving revision 1.20 diff -u -p -r1.20 insetbase.h --- insets/insetbase.h 13 Jan 2004 12:28:35 - 1.20 +++ insets/insetbase.h 15 Jan 2004 11:16:25 - @@ -18,12 +18,14 @@ class Buffer; class BufferView; +class DispatchResult; class FuncRequest; +class LaTeXFeatures; +class MathInset; class MetricsInfo; class Dimension; class PainterInfo; -class LaTeXFeatures; -class DispatchResult; +class UpdatableInset; /// Common base class to all insets class InsetBase { @@ -45,6 +47,11 @@ public: virtual ~InsetBase() {} /// replicate ourselves virtual std::auto_ptrInsetBase clone() const = 0; + + /// identification as math inset + virtual MathInset * asMathInset() { return 0; } + /// identification as non-math inset + virtual UpdatableInset * asUpdatableInset() { return 0; } // the real dispatcher DispatchResult Index: insets/updatableinset.h === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/insets/updatableinset.h,v retrieving revision 1.29 diff -u -p -r1.29 updatableinset.h --- insets/updatableinset.h 8 Jan 2004 18:30:13 - 1.29 +++ insets/updatableinset.h 15 Jan 2004 11:16:25 - @@ -25,6 +25,8 @@ class UpdatableInset : public InsetOld { public: /// virtual EDITABLE editable() const; + /// identification as math inset + UpdatableInset * asUpdatableInset() { return this; } /// return the cursor pos, relative to the inset pos virtual void getCursorPos(int, int , int ) const {} Index: mathed/formulabase.C === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/formulabase.C,v retrieving revision 1.321 diff -u -p -r1.321 formulabase.C --- mathed/formulabase.C14 Jan 2004 18:17:01 - 1.321 +++ mathed/formulabase.C15 Jan 2004 11:16:25 - @@ -166,33 +166,33 @@ void InsetFormulaBase::insetUnlock(Buffe void InsetFormulaBase::getCursor(BufferView , int x, int y) const { - mathcursor-getPos(x, y); + mathcursor-getScreenPos(x, y); }
Re: meeting 2004
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: | Lars Andre Poenitz [EMAIL PROTECTED] writes: | Do we have any ideas | Lars so far (where when)? | Lars I thought we decided where to go :-) (not sure that he agreed | Lars though ;-) ) | Huh? So you are afraid now? evil grin -- Lgb
Re: meeting 2004
Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: Lars | Huh? Lars So you are afraid now? evil grin Afraid to spend a few days at Angus' home? Why? I can handle british food reasonably well. JMarc
Re: meeting 2004
Jean-Marc Lasgouttes wrote: Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: Lars | Huh? Lars So you are afraid now? evil grin Afraid to spend a few days at Angus' home? Why? I can handle british food reasonably well. wot, wot, wot? -- Angus
Re: [patch] some intermediate sanitiztion
On Thu, Jan 15, 2004 at 12:23:06PM +0100, Andre Poenitz wrote: + /// identification as math inset + UpdatableInset * asUpdatableInset() { return this; } Typo regards john
Re: [patch] some intermediate sanitiztion
On Thu, Jan 15, 2004 at 12:02:02PM +, John Levon wrote: On Thu, Jan 15, 2004 at 12:23:06PM +0100, Andre Poenitz wrote: + /// identification as math inset + UpdatableInset * asUpdatableInset() { return this; } Typo Indeed. Thanks. Andre'
Re: meeting 2004
Angus == Angus Leeming [EMAIL PROTECTED] writes: Afraid to spend a few days at Angus' home? Why? I can handle british food reasonably well. Angus wot, wot, wot? Hello! It seems you are faster to answer here than on the xforms mailing list, where I posted a message to your intention earlier today. JMarc
Re: Cannot commit?
Andre == Andre Poenitz [EMAIL PROTECTED] writes: Andre Uh... I did a line count on 'cvs blame' yesterday or the day Andre before directly on the server, but I thought I logged off Andre properly... I found in the server a file belonging to you in lyx-devel, with a strange name begining with #. I just deleted it, and my problems are gone. So it seems I have the rights to hack directly the cvs repository. Interesting! Lars, do you have a backup? BTW, there are several files in the repository which do not have the right access permission. I was told I can just change the permissions on the server to fix this. Lars, can I do it? The files are lib/layouts/elsart.layout, lib/template/elsart.lyx JMarc
Re: meeting 2004
On Thu, Jan 15, 2004 at 04:34:07PM +0100, Jean-Marc Lasgouttes wrote: Angus == Angus Leeming [EMAIL PROTECTED] writes: Afraid to spend a few days at Angus' home? Why? I can handle british food reasonably well. Angus wot, wot, wot? Hello! It seems you are faster to answer here than on the xforms mailing list, where I posted a message to your intention earlier today. Maybe it depends on the means used to get his intention. Andre' -- 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...)
The Last Monster
Now, that's a big (the last big one...) step towards IU. Unfortunately it blew up a bit more than I liked. Main changes: Signature of priv_dispatch is now priv_dispatch(BufferView bv, FuncRequest const cmd), i.e. there's now an explicit BufferView argument there. [I should have sticked to BufferView * for the time being as this pointer - reference changes triggered quite a bit additional changes. Bad luck...] Now that we always have the BufferView present, the view_ member could be dropped from FuncRequest. About half of the patch handles idxFoo(idx_type idx, pos_type pos) - idxFoo(BufferView bv) changes. idx and pos are obtained indirectly from the top slice of the bv's cursor. This has two advantages: 1. we do not have to play dirty games to get hold of the BufferView anymore and 2, the signature is nicer (we'd have had to extend that by a third parameter (par) otherwise. Andre' -- 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...) 1.diff.gz Description: application/gunzip
Re: Cannot commit?
On Thu, Jan 15, 2004 at 04:45:20PM +0100, Jean-Marc Lasgouttes wrote: Andre == Andre Poenitz [EMAIL PROTECTED] writes: Andre Uh... I did a line count on 'cvs blame' yesterday or the day Andre before directly on the server, but I thought I logged off Andre properly... I found in the server a file belonging to you in lyx-devel, with a strange name begining with #. I just deleted it, and my problems are gone. Can't remember commiting such a thing, but my tree is usually full of this stuff. I suspect its some cvs mechanism that does not clean up properly... Andre'
Re: The Last Monster
On Thu, Jan 15, 2004 at 04:59:54PM +0100, Andre' Poenitz wrote: About half of the patch handles idxFoo(idx_type idx, pos_type pos) - idxFoo(BufferView bv) changes. That's 'private' to mathed, so does not hurt the core at all. Andre'
Re: Cannot commit?
Andre == Andre Poenitz [EMAIL PROTECTED] writes: Andre On Thu, Jan 15, 2004 at 04:45:20PM +0100, Jean-Marc Lasgouttes Andre wrote: Andre == Andre Poenitz [EMAIL PROTECTED] writes: Andre Uh... I did a line count on 'cvs blame' yesterday or the day Andre before directly on the server, but I thought I logged off Andre properly... I found in the server a file belonging to you in lyx-devel, with a strange name begining with #. I just deleted it, and my problems are gone. Andre Can't remember commiting such a thing, but my tree is usually Andre full of this stuff. I suspect its some cvs mechanism that does Andre not clean up properly... Probably cvs uses such files as locks while it is updating a directory. And for some reason it died before releasing the lock. JMarc
Re: meeting 2004
Jean-Marc Lasgouttes wrote: Hello! It seems you are faster to answer here than on the xforms mailing list, where I posted a message to your intention earlier today. I read the xforms list as email and I'm subscribed with my home email address. I read lyx through gmane. I'll going home soon... -- Angus
Crash with mathed
Hi, Current CVS with xforms crashes as follows: Start LyX File-New Insert Math lyx: SIGSEGV signal caught (Sorry can't make a backtrace at this stage). Regards, Rob.
Re: [patch] globalize anchor
On Wed, Jan 14, 2004 at 07:29:56PM +0100, Alfredo Braunstein wrote: > Andre Poenitz wrote: > > > We just dump the shiny global cursor (without that inset caching bit). > > > > cell0/par0/pos0 > > cell1/par1/pos1 > > cell2/par2/pos2 > > cell3/par2/pos3 > > Alternatively a simple ParIterator offset + pos would do it. Oh. Yes. Andre' -- 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...)
Re: [patch] move Selection
On Wed, Jan 14, 2004 at 08:38:01PM +0100, Christian Ridderström wrote: > On Wed, 14 Jan 2004, Andre Poenitz wrote: > > > > > Btw, I always found it a bit stange to have both (e.g.) 'word-left' > > > > and 'word-left-select' as separate LFUNs. Some 'selection-on, word-left' > > > > combo should have done as well... > > > > > It saves some typing in command sequences. I am more concerned about implementation. Not having a 'native' LFUN_WORD_LEFT_SELECT does not mean we can't have an 'word-left-select' 'alias'. Andre'
Re: [patch] move Selection
On Thu, 15 Jan 2004, Andre Poenitz wrote: > On Wed, Jan 14, 2004 at 08:38:01PM +0100, Christian Ridderström wrote: > > On Wed, 14 Jan 2004, Andre Poenitz wrote: > > > > > > > Btw, I always found it a bit stange to have both (e.g.) 'word-left' > > > > > and 'word-left-select' as separate LFUNs. Some 'selection-on, word-left' > > > > > combo should have done as well... > > > > > > > > It saves some typing in command sequences. > > I am more concerned about implementation. Not having a 'native' > LFUN_WORD_LEFT_SELECT does not mean we can't have an > 'word-left-select' 'alias'. > I was actually trying to agree with you... ;-) /Christian -- Dr. Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
Re: [patch] move Selection
On Thu, Jan 15, 2004 at 10:38:59AM +0100, Christian Ridderström wrote: > > I am more concerned about implementation. Not having a 'native' > > LFUN_WORD_LEFT_SELECT does not mean we can't have an > > 'word-left-select' 'alias'. > > > I was actually trying to agree with you... ;-) That's notoriously hard. Andre'
Re: meeting 2004
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Andre Poenitz <[EMAIL PROTECTED]> writes: | Do we have any ideas Lars> so far (where & when)? Lars> I thought we decided where to go :-) (not sure that he agreed Lars> though ;-) ) Huh? JMarc
[patch] some intermediate sanitiztion
mainly renaming mathed stuff and a safer way to decide whether a cursor slice belongs to math or text. -- 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: cursor_slice.C === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/cursor_slice.C,v retrieving revision 1.6 diff -u -p -r1.6 cursor_slice.C --- cursor_slice.C 14 Jan 2004 18:17:01 - 1.6 +++ cursor_slice.C 15 Jan 2004 11:16:24 - @@ -89,41 +89,34 @@ bool CursorSlice::boundary() const MathInset * CursorSlice::asMathInset() const { - return static_cast(const_cast(inset_)); + return inset_->asMathInset(); } UpdatableInset * CursorSlice::asUpdatableInset() const { - return static_cast(const_cast(inset_)); + return inset_->asUpdatableInset(); } -MathArray & CursorSlice::cell(CursorSlice::idx_type idx) const +void CursorSlice::cell(CursorSlice::idx_type idx) const { - BOOST_ASSERT(inset_); BOOST_ASSERT(asMathInset()); - return asMathInset()->cell(idx); + asMathInset()->cell(idx); } MathArray & CursorSlice::cell() const { - BOOST_ASSERT(inset_); + BOOST_ASSERT(asMathInset()); return asMathInset()->cell(idx_); } -void CursorSlice::getPos(int & x, int & y) const -{ - BOOST_ASSERT(inset_); - asMathInset()->getPos(idx_, pos_, x, y); -} - - -void CursorSlice::setPos(int pos) +void CursorSlice::getScreenPos(int & x, int & y) const { - pos_ = pos; + BOOST_ASSERT(asMathInset()); + asMathInset()->getScreenPos(idx_, pos_, x, y); } Index: cursor_slice.h === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/cursor_slice.h,v retrieving revision 1.4 diff -u -p -r1.4 cursor_slice.h --- cursor_slice.h 14 Jan 2004 18:17:01 - 1.4 +++ cursor_slice.h 15 Jan 2004 11:16:24 - @@ -80,12 +80,10 @@ public: /// /// returns cell corresponding to this position MathArray & cell() const; - /// returns cell corresponding to this position - MathArray & cell(idx_type idx) const; + /// set cell corresponding to this position + void cell(idx_type idx) const; /// gets screen position of the thing - void getPos(int & x, int & y) const; - /// set position - void setPos(int pos); + void getScreenPos(int & x, int & y) const; /// MathInset * asMathInset() const; Index: insets/insetbase.h === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/insets/insetbase.h,v retrieving revision 1.20 diff -u -p -r1.20 insetbase.h --- insets/insetbase.h 13 Jan 2004 12:28:35 - 1.20 +++ insets/insetbase.h 15 Jan 2004 11:16:25 - @@ -18,12 +18,14 @@ class Buffer; class BufferView; +class DispatchResult; class FuncRequest; +class LaTeXFeatures; +class MathInset; class MetricsInfo; class Dimension; class PainterInfo; -class LaTeXFeatures; -class DispatchResult; +class UpdatableInset; /// Common base class to all insets class InsetBase { @@ -45,6 +47,11 @@ public: virtual ~InsetBase() {} /// replicate ourselves virtual std::auto_ptr clone() const = 0; + + /// identification as math inset + virtual MathInset * asMathInset() { return 0; } + /// identification as non-math inset + virtual UpdatableInset * asUpdatableInset() { return 0; } // the real dispatcher DispatchResult Index: insets/updatableinset.h === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/insets/updatableinset.h,v retrieving revision 1.29 diff -u -p -r1.29 updatableinset.h --- insets/updatableinset.h 8 Jan 2004 18:30:13 - 1.29 +++ insets/updatableinset.h 15 Jan 2004 11:16:25 - @@ -25,6 +25,8 @@ class UpdatableInset : public InsetOld { public: /// virtual EDITABLE editable() const; + /// identification as math inset + UpdatableInset * asUpdatableInset() { return this; } /// return the cursor pos, relative to the inset pos virtual void getCursorPos(int, int &, int &) const {} Index: mathed/formulabase.C === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/formulabase.C,v retrieving revision 1.321 diff -u -p -r1.321 formulabase.C --- mathed/formulabase.C14 Jan 2004 18:17:01 - 1.321 +++ mathed/formulabase.C15 Jan 2004 11:16:25 - @@ -166,33 +166,33 @@ void InsetFormulaBase::insetUnlock(Buffe void InsetFormulaBase::getCursor(BufferView &, int & x, int & y) const { - mathcursor->getPos(x, y); + mathcursor->getScreenPos(x, y); } void
Re: meeting 2004
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: >> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: > | Lars> Andre Poenitz <[EMAIL PROTECTED]> writes: | Do we have any ideas | Lars> so far (where & when)? > | Lars> I thought we decided where to go :-) (not sure that he agreed | Lars> though ;-) ) > | Huh? So you are afraid now? -- Lgb
Re: meeting 2004
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> | Huh? Lars> So you are afraid now? Afraid to spend a few days at Angus' home? Why? I can handle british food reasonably well. JMarc
Re: meeting 2004
Jean-Marc Lasgouttes wrote: >> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: > > Lars> | Huh? > > Lars> So you are afraid now? > > Afraid to spend a few days at Angus' home? Why? I can handle british > food reasonably well. wot, wot, wot? -- Angus
Re: [patch] some intermediate sanitiztion
On Thu, Jan 15, 2004 at 12:23:06PM +0100, Andre Poenitz wrote: > + /// identification as math inset > + UpdatableInset * asUpdatableInset() { return this; } Typo regards john
Re: [patch] some intermediate sanitiztion
On Thu, Jan 15, 2004 at 12:02:02PM +, John Levon wrote: > On Thu, Jan 15, 2004 at 12:23:06PM +0100, Andre Poenitz wrote: > > > + /// identification as math inset > > + UpdatableInset * asUpdatableInset() { return this; } > > Typo Indeed. Thanks. Andre'
Re: meeting 2004
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: >> Afraid to spend a few days at Angus' home? Why? I can handle >> british food reasonably well. Angus> wot, wot, wot? Hello! It seems you are faster to answer here than on the xforms mailing list, where I posted a message to your intention earlier today. JMarc
Re: Cannot commit?
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> Uh... I did a line count on 'cvs blame' yesterday or the day Andre> before directly on the server, but I thought I logged off Andre> properly... I found in the server a file belonging to you in lyx-devel, with a strange name begining with #. I just deleted it, and my problems are gone. So it seems I have the rights to hack directly the cvs repository. Interesting! Lars, do you have a backup? BTW, there are several files in the repository which do not have the right access permission. I was told I can just change the permissions on the server to fix this. Lars, can I do it? The files are lib/layouts/elsart.layout, lib/template/elsart.lyx JMarc
Re: meeting 2004
On Thu, Jan 15, 2004 at 04:34:07PM +0100, Jean-Marc Lasgouttes wrote: > > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > >> Afraid to spend a few days at Angus' home? Why? I can handle > >> british food reasonably well. > > Angus> wot, wot, wot? > > Hello! It seems you are faster to answer here than on the xforms > mailing list, where I posted a message to your intention earlier > today. Maybe it depends on the means used to get his intention. Andre' -- 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...)
The Last Monster
Now, that's a big (the last big one...) step towards IU. Unfortunately it blew up a bit more than I liked. Main changes: Signature of priv_dispatch is now priv_dispatch(BufferView & bv, FuncRequest const & cmd), i.e. there's now an explicit BufferView & argument there. [I should have sticked to BufferView * for the time being as this pointer -> reference changes triggered quite a bit additional changes. Bad luck...] Now that we always have the BufferView present, the view_ member could be dropped from FuncRequest. About half of the patch handles idxFoo(idx_type & idx, pos_type & pos) -> idxFoo(BufferView & bv) changes. idx and pos are obtained indirectly from the top slice of the bv's cursor. This has two advantages: 1. we do not have to play dirty games to get hold of the BufferView anymore and 2, the signature is nicer (we'd have had to extend that by a third parameter (par) otherwise. Andre' -- 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...) 1.diff.gz Description: application/gunzip
Re: Cannot commit?
On Thu, Jan 15, 2004 at 04:45:20PM +0100, Jean-Marc Lasgouttes wrote: > > "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: > > Andre> Uh... I did a line count on 'cvs blame' yesterday or the day > Andre> before directly on the server, but I thought I logged off > Andre> properly... > > I found in the server a file belonging to you in lyx-devel, with a > strange name begining with #. I just deleted it, and my problems are > gone. Can't remember commiting such a thing, but my tree is usually full of this stuff. I suspect its some cvs mechanism that does not clean up properly... Andre'
Re: The Last Monster
On Thu, Jan 15, 2004 at 04:59:54PM +0100, Andre' Poenitz wrote: > About half of the patch handles > > idxFoo(idx_type & idx, pos_type & pos) -> idxFoo(BufferView & bv) > > changes. That's 'private' to mathed, so does not hurt the core at all. Andre'
Re: Cannot commit?
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> On Thu, Jan 15, 2004 at 04:45:20PM +0100, Jean-Marc Lasgouttes Andre> wrote: >> > "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: >> Andre> Uh... I did a line count on 'cvs blame' yesterday or the day Andre> before directly on the server, but I thought I logged off Andre> properly... >> I found in the server a file belonging to you in lyx-devel, with a >> strange name begining with #. I just deleted it, and my problems >> are gone. Andre> Can't remember commiting such a thing, but my tree is usually Andre> full of this stuff. I suspect its some cvs mechanism that does Andre> not clean up properly... Probably cvs uses such files as locks while it is updating a directory. And for some reason it died before releasing the lock. JMarc
Re: meeting 2004
Jean-Marc Lasgouttes wrote: > Hello! It seems you are faster to answer here than on the xforms > mailing list, where I posted a message to your intention earlier > today. I read the xforms list as email and I'm subscribed with my home email address. I read lyx through gmane. I'll going home soon... -- Angus
Crash with mathed
Hi, Current CVS with xforms crashes as follows: Start LyX File->New Insert Math lyx: SIGSEGV signal caught (Sorry can't make a backtrace at this stage). Regards, Rob.