Re: Windows build problem

2005-02-05 Thread Andre Poenitz
On Tue, Feb 01, 2005 at 01:16:58PM -0500, Rob Bearman wrote: I was able to complete a fresh vcproj build for the first time after the latest commits. Thank you for the fixes. I've attached the build log in case anyone's interested in the 30 warnings. I am interested to a certain degree.

Re: Is this too cute?

2005-02-05 Thread Andre Poenitz
On Wed, Feb 02, 2005 at 02:15:26PM +0100, Andreas Vox wrote: Jean-Marc wrote: The fact that it requires an X server is enough to avoid running gv in configure at all (well actually, we could launch an X server just for the purpose of running the check, but something tells me it is a bad

Re: Is this too cute?

2005-02-05 Thread Andre Poenitz
On Wed, Feb 02, 2005 at 11:41:47AM +0100, Jean-Marc Lasgouttes wrote: The fact that it requires an X server is enough to avoid running gv in configure at all (well actually, we could launch an X server just for the purpose of running the check, but something tells me it is a bad idea :) Xvfb

Re: [PATCH]: small bits

2005-02-05 Thread Andre Poenitz
On Tue, Feb 01, 2005 at 06:02:59PM +, Angus Leeming wrote: Lars Gullik Bjønnes wrote: You are grumpy, go buy a beer. I've got one thanks. Less grumpy now. Immer wenn ich traurig bin, dann hol' ich mir 'n Bier. Und wenn ich dann noch traurig bin, hol' ich noch 'n Bier. Und wenn...

Re: [PATCHes 13x, 14x]

2005-02-05 Thread Andre Poenitz
On Wed, Feb 02, 2005 at 01:19:26PM +, Angus Leeming wrote: However, if we're going to stick our heads up above the parapet and say, Look! LyX works on Windows too!, then we'd better make sure it works well. Would be enough it it worked like the other first class Windows citizens. No need

Re: The latest patches break cygwin again

2005-02-05 Thread Andre Poenitz
On Wed, Feb 02, 2005 at 09:55:53AM +, Angus Leeming wrote: to constuct these paths because, as we've just found out, Boost.Filesystem expects a particular OS to use either Windows or Posix-style paths and Cygwin can use BOTH. ... even within the same file name. I.e. 'C:Programs\LyX/lib'

Buffer mbox

2005-02-05 Thread Andre Poenitz
I just noticed that 1.4cvs mbox is defunct and there is no easy way to revive it, at least not using LyXText as main container and the math factory as creator as the former requires a BufferView for construction whereas the latter one has none available. The real problem is a more general one:

Re: Is this too cute?

2005-02-05 Thread Andreas Vox
Am 04.02.2005 um 22:19 schrieb Andre Poenitz: On Wed, Feb 02, 2005 at 02:15:26PM +0100, Andreas Vox wrote: Jean-Marc wrote: The fact that it requires an X server is enough to avoid running gv in configure at all (well actually, we could launch an X server just for the purpose of running the

Yet another update to de.po for LyX 1.3

2005-02-05 Thread Michael Schmitt
Jean-Marc, here comes yet another update to de.po for LyX 1.3. Sorry, I am a perfectionist who hates fuzzy messages :-) This is hopefully the very last update to the 1.3 branch... Regards, Michael patch-de.po-1.3 Description: Binary data

Comments on LyX 1.3 on Windows

2005-02-05 Thread Michael Schmitt
Dear Angus, here are some initial comments on LyX/Win: 1. The fact that paths to documents are not allowed to contain spaces is a big problem on the Windows platform. This restriction implies that all Non-Administrators (i.e., users that cannot escape from their Documents and Settings

Re: Is this too cute?

2005-02-05 Thread Kayvan A. Sylvan
On Sat, Feb 05, 2005 at 03:12:16PM +0100, Andreas Vox wrote: grep -- --swap $(which gv) probably does not count as competitor in this area, does it? Of, course, even a strong one, since it doesn't need a correct MANPATH :-) I'd throw in an extra -q switch for grep. Under cygwin,

passing down buffer

2005-02-05 Thread Andre Poenitz
mbox needs access to a buffer pretty much the same way as LyXText does. So do some preparation. The patch itself does not change anything yet as (a) the 'wrong case' buf==0 is explicitly checked for in math_mboxinset.C and (b) currently no mboxes are produced anyway (factory code is dead...)

Re: passing down buffer

2005-02-05 Thread Lars Gullik Bjønnes
Andre Poenitz [EMAIL PROTECTED] writes: | @@ -1132,7 +1132,7 @@ | bv().buffer()-params(), | sl.pos(), | outerFont(sl.pit(), text.paragraphs())); | - for (; s size(); ++s) | + for (; s int(size()); ++s) | ; Are you sure that 's'

[Patch] Make sure double space is fixed on cursor movement

2005-02-05 Thread Lars Gullik Bjønnes
This patch tries to fix deletion of double space upon cursor movement. There also was a problem where a updateNeeded was not handled if you moved out of a inset (or into) since updateNeeded was reset on each call to dispatch. (LFUN_FINISHED_XX etc) I also introduced a NoUpdate modifer to lfuns,

Re: [Patch] Make sure double space is fixed on cursor movement

2005-02-05 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: Just some comments on the real changes. | Index: LyXAction.C | === | RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/LyXAction.C,v | retrieving revision 1.204 | diff -u -p -B -b -w

LCursor::resize - what is the intention of this?

2005-02-05 Thread Lars Gullik Bjønnes
void leaveInset(LCursor cur, InsetBase const in) { for (size_t i = 0; i != cur.depth(); ++i) { if (cur[i].inset() == in) { cur.resize(i); return; } } } Used here f.ex. And LCursor::resize really

Re: Windows build problem

2005-02-05 Thread Andre Poenitz
On Tue, Feb 01, 2005 at 01:16:58PM -0500, Rob Bearman wrote: > I was able to complete a fresh vcproj build for the first time after the > latest commits. Thank you for the fixes. I've attached the build log in > case anyone's interested in the 30 warnings. I am interested to a certain degree.

Re: Is this too cute?

2005-02-05 Thread Andre Poenitz
On Wed, Feb 02, 2005 at 02:15:26PM +0100, Andreas Vox wrote: > Jean-Marc wrote: > > >The fact that it requires an X server is enough to avoid running gv in > >configure at all (well actually, we could launch an X server just for > >the purpose of running the check, but something tells me it is a

Re: Is this too cute?

2005-02-05 Thread Andre Poenitz
On Wed, Feb 02, 2005 at 11:41:47AM +0100, Jean-Marc Lasgouttes wrote: > The fact that it requires an X server is enough to avoid running gv in > configure at all (well actually, we could launch an X server just for > the purpose of running the check, but something tells me it is a bad > idea :)

Re: [PATCH]: small bits

2005-02-05 Thread Andre Poenitz
On Tue, Feb 01, 2005 at 06:02:59PM +, Angus Leeming wrote: > Lars Gullik Bjønnes wrote: > > You are grumpy, go buy a beer. > > I've got one thanks. Less grumpy now. Immer wenn ich traurig bin, dann hol' ich mir 'n Bier. Und wenn ich dann noch traurig bin, hol' ich noch 'n Bier. Und wenn...

Re: [PATCHes 13x, 14x]

2005-02-05 Thread Andre Poenitz
On Wed, Feb 02, 2005 at 01:19:26PM +, Angus Leeming wrote: > However, if we're going to stick our heads up above the parapet and > say, "Look! LyX works on Windows too!", then we'd better make sure it > works well. Would be enough it it worked like the other first class Windows citizens. No

Re: The latest patches break cygwin again

2005-02-05 Thread Andre Poenitz
On Wed, Feb 02, 2005 at 09:55:53AM +, Angus Leeming wrote: > to constuct these paths because, as we've just found out, Boost.Filesystem > expects a particular OS to use either Windows or Posix-style paths and > Cygwin can use BOTH. ... even within the same file name. I.e. 'C:Programs\LyX/lib'

Buffer & mbox

2005-02-05 Thread Andre Poenitz
I just noticed that 1.4cvs mbox is defunct and there is no easy way to revive it, at least not using LyXText as main container and the math factory as creator as the former requires a BufferView for construction whereas the latter one has none available. The real problem is a more general one:

Re: Is this too cute?

2005-02-05 Thread Andreas Vox
Am 04.02.2005 um 22:19 schrieb Andre Poenitz: On Wed, Feb 02, 2005 at 02:15:26PM +0100, Andreas Vox wrote: Jean-Marc wrote: The fact that it requires an X server is enough to avoid running gv in configure at all (well actually, we could launch an X server just for the purpose of running the

Yet another update to de.po for LyX 1.3

2005-02-05 Thread Michael Schmitt
Jean-Marc, here comes yet another update to de.po for LyX 1.3. Sorry, I am a perfectionist who hates fuzzy messages :-) This is hopefully the very last update to the 1.3 branch... Regards, Michael patch-de.po-1.3 Description: Binary data

Comments on LyX 1.3 on Windows

2005-02-05 Thread Michael Schmitt
Dear Angus, here are some initial comments on LyX/Win: 1. The fact that paths to documents are not allowed to contain spaces is a big problem on the Windows platform. This restriction implies that all Non-Administrators (i.e., users that cannot escape from their "Documents and Settings"

Re: Is this too cute?

2005-02-05 Thread Kayvan A. Sylvan
On Sat, Feb 05, 2005 at 03:12:16PM +0100, Andreas Vox wrote: > > > >grep -- --swap $(which gv) probably does not count as competitor in > >this area, does it? > > Of, course, even a strong one, since it doesn't need a correct MANPATH > :-) > > I'd throw in an extra "-q" switch for grep.

passing down buffer

2005-02-05 Thread Andre Poenitz
mbox needs access to a buffer pretty much the same way as LyXText does. So do some preparation. The patch itself does not change anything yet as (a) the 'wrong case' buf==0 is explicitly checked for in math_mboxinset.C and (b) currently no mboxes are produced anyway (factory code is dead...)

Re: passing down buffer

2005-02-05 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | @@ -1132,7 +1132,7 @@ | bv().buffer()->params(), | sl.pos(), | outerFont(sl.pit(), text.paragraphs())); | - for (; s < size(); ++s) | + for (; s < int(size()); ++s) | ; Are you sure that

[Patch] Make sure double space is fixed on cursor movement

2005-02-05 Thread Lars Gullik Bjønnes
This patch tries to fix deletion of double space upon cursor movement. There also was a problem where a updateNeeded was not handled if you moved out of a inset (or into) since updateNeeded was reset on each call to dispatch. (LFUN_FINISHED_XX etc) I also introduced a NoUpdate modifer to lfuns,

Re: [Patch] Make sure double space is fixed on cursor movement

2005-02-05 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: Just some comments on the real changes. | Index: LyXAction.C | === | RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/LyXAction.C,v | retrieving revision 1.204 | diff -u -p -B -b -w

LCursor::resize - what is the intention of this?

2005-02-05 Thread Lars Gullik Bjønnes
void leaveInset(LCursor & cur, InsetBase const & in) { for (size_t i = 0; i != cur.depth(); ++i) { if ([i].inset() == ) { cur.resize(i); return; } } } Used here f.ex. And LCursor::resize really is