win32 lyx and paths with ~

2004-01-27 Thread Sivan Toledo
Ruurd, Since TeX cannot cope with file names with spaces in them, I tried to give the path to my files as c:\docume~1\stoledo\desktop instead of c:\Documents and Settings. This was supposed to work, but it didn't. After a while I figured that it is because lyx inserts a [EMAIL PROTECTED]

Re: win32 lyx and paths with ~

2004-01-27 Thread Georg Baum
Sivan Toledo wrote: Ruurd, Since TeX cannot cope with file names with spaces in them, I tried to give the path to my files as c:\docume~1\stoledo\desktop instead of c:\Documents and Settings. This was supposed to work, but it didn't. After a while I figured that it is because lyx inserts a

Re: [patch] Use std:: versions of distance and advance

2004-01-27 Thread Alfredo Braunstein
Lars Gullik Bjnnes wrote: Like so. Objections? 1) What happened to PosIterator::operator* ? http://marc.theaimsgroup.com/?l=lyx-develm=107312950232196w=2 2) What happened with PosIterator::value_type ? http://marc.theaimsgroup.com/?l=lyx-develm=107313504903526w=2 Alfredo

Re: Another LyX programming assignment

2004-01-27 Thread Helge Hafting
Andre Poenitz wrote: Just tell us once you are ready. Focus might shift a bit in three months... I've got three students that want to work on lyx. They have ca. 439 hours each, for programming as well as documentation and writing their reports. Their plan is to start with bugfixing so they can

Re: [patch] Use std:: versions of distance and advance

2004-01-27 Thread Lars Gullik Bjønnes
Alfredo Braunstein [EMAIL PROTECTED] writes: | Lars Gullik Bjønnes wrote: Like so. Objections? | 1) What happened to PosIterator::operator* ? | http://marc.theaimsgroup.com/?l=lyx-develm=107312950232196w=2 I'll go over our iterators later and try to make them fill the iterator

[patch] Positer and Pariter changes

2004-01-27 Thread Lars Gullik Bjønnes
I have this patch... IMHO cleans up a bit. Objections? ? Config ? advdist.diff ? positer.diff Index: src/PosIterator.C === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/PosIterator.C,v retrieving revision 1.10 diff -u -p -b -r1.10

Re: [patch] Positer and Pariter changes

2004-01-27 Thread Alfredo Braunstein
Lars Gullik Bjnnes wrote: I have this patch... IMHO cleans up a bit. Objections? None. Alfredo

CVS lyx crash

2004-01-27 Thread Kayvan A. Sylvan
Latest lyx crash: C-N (new document) C-M (insert math inset) lyx crashes -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | crown of her husband | Robin Gregory

[patch] some usign std:: stuff

2004-01-27 Thread Lars Gullik Bjønnes
Objections? ? Config ? advdist.diff ? positer.diff ? usingstd.diff Index: src/BufferView.C === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/BufferView.C,v retrieving revision 1.223 diff -u -p -b -r1.223 BufferView.C ---

Re: [patch] some usign std:: stuff

2004-01-27 Thread Angus Leeming
Lars Gullik Bjønnes wrote: Objections? Why not add a using std::vector here too? Index: src/frontends/qt2/QPrefs.C === @@ -323,11 +324,12 @@ templateclass A typename std::vectorA::size_type findPos(std::vectorA const vec, A

Re: [patch] some usign std:: stuff

2004-01-27 Thread Lars Gullik Bjønnes
Angus Leeming [EMAIL PROTECTED] writes: | Lars Gullik Bjønnes wrote: Objections? | Why not add a using std::vector here too? I didn't want to muck with the findPos function (same exact function exists more than one place.) | It's not really taking us anywhere exciting though, is it? It

Compile error

2004-01-27 Thread Georg Baum
I get this error when compiling latest CVS with gcc 2.95 + stlport: g++ -DHAVE_CONFIG_H -I. -I../../src -I. -I../../boost -I/usr/include/stlport-I/usr/X11R6/include -DCXX_GLOBAL_CSTD -ftemplate-depth-30 -nostdinc++ -g -W -Wall -c -o cursor.o `test -f '../../src/cursor.C' || echo

Re: Compile error

2004-01-27 Thread Angus Leeming
Georg Baum wrote: It compiles if I change line 838 of src/Cursor.C from if (t.operator-() != anchor_[depth()].inset()) to if (t.operator-() != const_castInsetBase const *(anchor_[depth()].inset())) Is this expected? Don't think so. The two functions in question are: MathInset

win32 lyx and paths with ~

2004-01-27 Thread Sivan Toledo
Ruurd, Since TeX cannot cope with file names with spaces in them, I tried to give the path to my files as c:\docume~1\stoledo\desktop instead of c:\Documents and Settings. This was supposed to work, but it didn't. After a while I figured that it is because lyx inserts a [EMAIL PROTECTED]

Re: win32 lyx and paths with ~

2004-01-27 Thread Georg Baum
Sivan Toledo wrote: > Ruurd, > > Since TeX cannot cope with file names with spaces in them, I tried to > give the path to my files as c:\docume~1\stoledo\desktop instead of > c:\Documents and Settings. This was supposed to work, but it didn't. > After a while I figured that it is because lyx

Re: [patch] Use std:: versions of distance and advance

2004-01-27 Thread Alfredo Braunstein
Lars Gullik BjÃnnes wrote: > Like so. > > Objections? 1) What happened to PosIterator::operator* ? http://marc.theaimsgroup.com/?l=lyx-devel=107312950232196=2 2) What happened with PosIterator::value_type ? http://marc.theaimsgroup.com/?l=lyx-devel=107313504903526=2 Alfredo

Re: Another LyX programming assignment

2004-01-27 Thread Helge Hafting
Andre Poenitz wrote: Just tell us once you are ready. Focus might shift a bit in three months... I've got three students that want to work on lyx. They have ca. 439 hours each, for programming as well as documentation and writing their reports. Their plan is to start with bugfixing so they can

Re: [patch] Use std:: versions of distance and advance

2004-01-27 Thread Lars Gullik Bjønnes
Alfredo Braunstein <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: > >> Like so. >> >> Objections? > | 1) What happened to PosIterator::operator* ? > | http://marc.theaimsgroup.com/?l=lyx-devel=107312950232196=2 I'll go over our iterators later and try to make them fill the iterator

[patch] Positer and Pariter changes

2004-01-27 Thread Lars Gullik Bjønnes
I have this patch... IMHO cleans up a bit. Objections? ? Config ? advdist.diff ? positer.diff Index: src/PosIterator.C === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/PosIterator.C,v retrieving revision 1.10 diff -u -p -b -r1.10

Re: [patch] Positer and Pariter changes

2004-01-27 Thread Alfredo Braunstein
Lars Gullik BjÃnnes wrote: > I have this patch... IMHO cleans up a bit. > > Objections? None. Alfredo

CVS lyx crash

2004-01-27 Thread Kayvan A. Sylvan
Latest lyx crash: C-N (new document) C-M (insert math inset) lyx crashes -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory

[patch] some usign std:: stuff

2004-01-27 Thread Lars Gullik Bjønnes
Objections? ? Config ? advdist.diff ? positer.diff ? usingstd.diff Index: src/BufferView.C === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/BufferView.C,v retrieving revision 1.223 diff -u -p -b -r1.223 BufferView.C ---

Re: [patch] some usign std:: stuff

2004-01-27 Thread Angus Leeming
Lars Gullik Bjønnes wrote: > Objections? Why not add a using std::vector here too? Index: src/frontends/qt2/QPrefs.C === @@ -323,11 +324,12 @@ template typename std::vector::size_type findPos(std::vector const & vec, A const &

Re: [patch] some usign std:: stuff

2004-01-27 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: > >> Objections? > | Why not add a using std::vector here too? I didn't want to muck with the findPos function (same exact function exists more than one place.) | It's not really taking us anywhere exciting though, is it?

Compile error

2004-01-27 Thread Georg Baum
I get this error when compiling latest CVS with gcc 2.95 + stlport: g++ -DHAVE_CONFIG_H -I. -I../../src -I. -I../../boost -I/usr/include/stlport-I/usr/X11R6/include -DCXX_GLOBAL_CSTD -ftemplate-depth-30 -nostdinc++ -g -W -Wall -c -o cursor.o `test -f '../../src/cursor.C' || echo

Re: Compile error

2004-01-27 Thread Angus Leeming
Georg Baum wrote: > It compiles if I change line 838 of src/Cursor.C from > > if (t.operator->() != anchor_[depth()].inset()) > > to > > if (t.operator->() != > const_cast(anchor_[depth()].inset())) > > Is this expected? Don't think so. The two functions in question are: MathInset