Re: The latest patches break cygwin again

2005-02-01 Thread Kayvan A. Sylvan
On Wed, Feb 02, 2005 at 08:30:25AM +0100, Lars Gullik Bjønnes wrote: > "Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes: > > | On Wed, Feb 02, 2005 at 08:23:00AM +0100, Lars Gullik Bjønnes wrote: > >> [EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: > >> > >> > > >> | Then we have to decide on the be

Re: The latest patches break cygwin again

2005-02-01 Thread Lars Gullik Bjønnes
"Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes: | On Wed, Feb 02, 2005 at 08:23:00AM +0100, Lars Gullik Bjønnes wrote: >> [EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: >> >> > >> | Then we have to decide on the best way to handle this. >> > >> | If we just make BOOST_POSIX be set for cygwin, the

Re: The latest patches break cygwin again

2005-02-01 Thread Kayvan A. Sylvan
On Wed, Feb 02, 2005 at 08:23:00AM +0100, Lars Gullik Bjønnes wrote: > [EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: > > > > | Then we have to decide on the best way to handle this. > > > | If we just make BOOST_POSIX be set for cygwin, then it works for you. > | But for the next guy using cygwi

Re: The latest patches break cygwin again

2005-02-01 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: > | Then we have to decide on the best way to handle this. > | If we just make BOOST_POSIX be set for cygwin, then it works for you. | But for the next guy using cygwin it will break. > | So are there any kindo of configure tests we can use to discov

Re: The latest patches break cygwin again

2005-02-01 Thread Lars Gullik Bjønnes
"Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes: | On Tue, Feb 01, 2005 at 07:08:14PM +0100, Lars Gullik Bjønnes wrote: >> >> boost/libs/filesystem/src: >> exception.cpp >> operations_posix_windows.cpp >> path_posix_windows.cpp >> >> Actually... easy solution... make sure that BOOST_POSIX is defin

Beautiful software

2005-02-01 Thread Daniel Zollinger
I just thought I would take the time to thank everyone who has made Lyx such a great application. I have had nothing but delight while using it, and intend to continue using it for as long as I continue to write documents. In particular, I am grateful for the amazing documentation provided. This is

Re: The latest patches break cygwin again

2005-02-01 Thread Kayvan A. Sylvan
On Tue, Feb 01, 2005 at 07:08:14PM +0100, Lars Gullik Bjønnes wrote: > > boost/libs/filesystem/src: > exception.cpp > operations_posix_windows.cpp > path_posix_windows.cpp > > Actually... easy solution... make sure that BOOST_POSIX is defined. > f.ex in our config.h. > > put > > #define BOOST_P

Re: JMarc's configure changes

2005-02-01 Thread Andreas Vox
Angus writes: So all that is good. However, we still have the spurious LyX/man and LyX/share directories containing reLyX stuff. So maybe this is the time I should complain about the place of "/Applications/LyX.app/lib/charset.alias" on Mac? :-) What is it good for, anyhow? Cheers /Andreas

Re: MSVC patch

2005-02-01 Thread John Levon
On Tue, Feb 01, 2005 at 11:46:17PM +0100, Lars Gullik Bj?nnes wrote: > We shouldn't have to call readonly a lot anyway. The only place where > I think it is "needed" is for informing the user that the loaded file > is read only. For writing, we should just try to write.. and fail if > we cannot do

Re: MSVC patch

2005-02-01 Thread Lars Gullik Bjønnes
John Levon <[EMAIL PROTECTED]> writes: | On Mon, Jan 31, 2005 at 02:23:54PM +0100, Lars Gullik Bj?nnes wrote: > >> This version of is_readonly is racy. So for win32 we should try > | All versions of is_readonly() are racy, it's implicit in the API. Not if checking readonly is the only thing you

Re: Updated de.po for LyX 1.3.6cvs

2005-02-01 Thread Angus Leeming
Michael Schmitt wrote: > And then there is a very small patch that fixes a typo. Please commit it > at the same time... I have committed this. I won't touch the po stuff as I know next to nothing about it. JMarc, it's all yours. -- Angus

Re: JMarc's configure changes

2005-02-01 Thread Angus Leeming
Angus Leeming wrote: Jean-Marc Lasgouttes wrote: Shall I apply it, or do you want to test it first? Angus> I'll try and test it over the w/e if you like. Thanks. JMarc JMarc, I haven't forgotten, but I haven't tested this yet. One thing I noticed last night when trying to put together a tex2lyx s

Re: MSVC patch

2005-02-01 Thread John Levon
On Mon, Jan 31, 2005 at 02:23:54PM +0100, Lars Gullik Bj?nnes wrote: > This version of is_readonly is racy. So for win32 we should try All versions of is_readonly() are racy, it's implicit in the API. regards john

Re: Bug in os_win32.C

2005-02-01 Thread Angus Leeming
Michael Schmitt wrote: The child process fixes have not been committed to LyX 1.3.6cvs yet. I still have to apply a subset of your "win32_10jan05.diff" patch Indeed. And having applied this subset, you find that LyX blocks until your graphics images are converted and loaded onto the screen, no?

Re: Bug in os_win32.C

2005-02-01 Thread Michael Schmitt
The child process fixes have not been committed to LyX 1.3.6cvs yet. I still have to apply a subset of your "win32_10jan05.diff" patch Indeed. And having applied this subset, you find that LyX blocks until your graphics images are converted and loaded onto the screen, no? Who cares? If we don't te

Re: Is this too cute?

2005-02-01 Thread Angus Leeming
Andreas Vox wrote: > Wouldn't just > > if (gv -help 2>&1 | grep -e --swap) > then echo "--swap" > else echo "-swap" > fi > > work? Yes. Sometimes I just make life too complicated. -- Angus

Re: View->DVI of XFig external insets is broken

2005-02-01 Thread Angus Leeming
Angus Leeming wrote: > sh: fig_copy.sh: No such file or directory > sh: fig_copy.sh: No such file or directory > > More FileInfo horkage I guess. I'll try and find some time. I had a stale lyxrc.defaults in my .lyx directory. All is now Ok. -- Angus

Re: Is this too cute?

2005-02-01 Thread Andreas Vox
Angus Leeming <[EMAIL PROTECTED]> writes: > > gv changed its command line options in version 3.6.1 so that it no longer > recognizes `gv -swap`. Instead we need `gv --swap`. (An extra '-'). > > The function GV_SWAP below outputs '-swap' or '--swap' to stdout, > depending. I use this to initial

Re: lyx->tex->lyx round trip problems

2005-02-01 Thread Angus Leeming
Georg Baum wrote: > BTW, Angus: Did you see my message on the docs list about documentation > of the external inset? I'D value any comment you might have. I have now ;-) -- Angus

Re: lyx->tex->lyx round trip problems

2005-02-01 Thread Georg Baum
Am Montag, 31. Januar 2005 20:58 schrieb Angus Leeming: > Trying a round trip on the user guide doesn't work ATM. Log file attached. I introduced this bug when I changed the handling {\small bla} in tex2lyx. tex2lyx could write something like \end_layout \size normal \begin_layout Standard whi

Directions needed: Preview and Exportdata

2005-02-01 Thread Andreas Vox
Hi! In order to further improve my latest patch I'd like to ask for some directions: Exportdata: Is it ok if I add another member "snippets" to this structure? How do I create external files in a new subdirectory? Previews: AFAIK I know this is used for maths, insetexternal and inset

Is this too cute?

2005-02-01 Thread Angus Leeming
gv changed its command line options in version 3.6.1 so that it no longer recognizes `gv -swap`. Instead we need `gv --swap`. (An extra '-'). The function GV_SWAP below outputs '-swap' or '--swap' to stdout, depending. I use this to initialize the PS_VIEWER variable. It works perfectly here, bu

RE: Windows build problem

2005-02-01 Thread Angus Leeming
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. > > Thanks > Rob Thank *you*. -- Angus

Re: The latest patches break cygwin again

2005-02-01 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: >> | Either the above enables the file to compile or it doesn't, no? Not >> | even Windows would use WIN32_LEAN_AND_MEAN to change the meaning of >> | DWORD. It exists solely to enable the developer to not drag in every >> | si

Re: The latest patches break cygwin again

2005-02-01 Thread Angus Leeming
Lars Gullik Bjønnes wrote: > | Either the above enables the file to compile or it doesn't, no? Not > | even Windows would use WIN32_LEAN_AND_MEAN to change the meaning of > | DWORD. It exists solely to enable the developer to not drag in every > | single header file in the entire machine. What's th

RE: Windows build problem

2005-02-01 Thread Rob Bearman
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. Thanks Rob buildlog.htm.bz2 Description: buildlog.htm.bz2

Re: [PATCH]: small bits

2005-02-01 Thread Angus Leeming
Lars Gullik Bjønnes wrote: > You are grumpy, go buy a beer. I've got one thanks. Less grumpy now. -- Angus

Re: The latest patches break cygwin again

2005-02-01 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: >> | Lars Gullik Bjønnes wrote: | +#if defined (BOOST_WINDOWS) | +# define WIN32_LEAN_AND_MEAN | +# include | +#endif If that is what is used in boost them ok. Else please use the same as bo

Re: The latest patches break cygwin again

2005-02-01 Thread Lars Gullik Bjønnes
"Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes: | Regardless of whether it is run in place or installed, I get the same | message: > | "Unable to determine the path to the LyX binary from the command line [...]" > | If I give the full path to the binary, then I get: > | "Unable to determine the sys

Re: The latest patches break cygwin again

2005-02-01 Thread Angus Leeming
Lars Gullik Bjønnes wrote: > | Lars Gullik Bjønnes wrote: >>> | +#if defined (BOOST_WINDOWS) >>> | +# define WIN32_LEAN_AND_MEAN >>> | +# include >>> | +#endif >>> >>> If that is what is used in boost them ok. Else please use the same as >>> boost uses. >> > | Lars, get a grip please. Your commit

Re: The latest patches break cygwin again

2005-02-01 Thread Kayvan A. Sylvan
On Tue, Feb 01, 2005 at 04:53:50PM +, Angus Leeming wrote: > Lars Gullik Bjønnes wrote: > > | +#if defined (BOOST_WINDOWS) > > | +# define WIN32_LEAN_AND_MEAN > > | +# include > > | +#endif > > > > If that is what is used in boost them ok. Else please use the same as > > boost uses. > > Lars

Re: [PATCH]: small bits

2005-02-01 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: >> | Enable LyX to start up if the user support dir does not exists (protect >> | all calls to fs::is_directory with a call to fs::exists). >> >> Note that this is racy... and will stay like that until we turn on >> exceptions

Re: The latest patches break cygwin again

2005-02-01 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: >> | +#if defined (BOOST_WINDOWS) >> | +# define WIN32_LEAN_AND_MEAN >> | +# include >> | +#endif >> >> If that is what is used in boost them ok. Else please use the same as >> boost uses. > | Lars, get a grip please. Your co

Re: [PATCH]: small bits

2005-02-01 Thread Angus Leeming
Lars Gullik Bjønnes wrote: > | Enable LyX to start up if the user support dir does not exists (protect > | all calls to fs::is_directory with a call to fs::exists). > > Note that this is racy... and will stay like that until we turn on > exceptions. Note also that LyX now fires up... -- Angus

Re: The latest patches break cygwin again

2005-02-01 Thread Angus Leeming
Lars Gullik Bjønnes wrote: > | +#if defined (BOOST_WINDOWS) > | +# define WIN32_LEAN_AND_MEAN > | +# include > | +#endif > > If that is what is used in boost them ok. Else please use the same as > boost uses. Lars, get a grip please. Your commit was broken. It now works. The code is clean. So w

Re: [PATCH]: small bits

2005-02-01 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Enable LyX to start up if the user support dir does not exists (protect | all calls to fs::is_directory with a call to fs::exists). Note that this is racy... and will stay like that until we turn on exceptions. -- Lgb

Re: The latest patches break cygwin again

2005-02-01 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | I'm about to commit the equivalent: > | @@ -22,6 +22,11 @@ | # endif | # endif > | +#if defined (BOOST_WINDOWS) | +# define WIN32_LEAN_AND_MEAN | +# include | +#endif If that is what is used in boost them ok. Else please use the same as boost uses.

[PATCH]: small bits

2005-02-01 Thread Angus Leeming
Enable LyX to start up if the user support dir does not exists (protect all calls to fs::is_directory with a call to fs::exists). Enable fs_extras.C to compile on a Windows box. Committing now... -- AngusIndex: src/ChangeLog === RC

Re: The latest patches break cygwin again

2005-02-01 Thread Angus Leeming
Kayvan A. Sylvan wrote: > Index: src/support/fs_extras.C > === > RCS file: /cvs/lyx/lyx-devel/src/support/fs_extras.C,v > retrieving revision 1.2 > diff -u -r1.2 fs_extras.C > --- src/support/fs_extras.C 2005/01/31 19:31:11 1.2

Re: The latest patches break cygwin again

2005-02-01 Thread Kayvan A. Sylvan
On Tue, Feb 01, 2005 at 10:59:47AM +0100, Lars Gullik Bjønnes wrote: > "Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes: > > | I just tried compiling latest CVS again. Here is what happens: > > > | g++ -DHAVE_CONFIG_H -I. -I../../../lyx/src/support -I../../src > | -I../../../lyx/src/support/.. -I../.

Re: scripting support via lyxserver

2005-02-01 Thread G. Milde
On 27.01.05, Jose' Matos wrote: > This is something that I wanted to do for quite some time. :-) So did I. That's why I'm glad I did it finally. > PS: In another movement (no pun John ;-) to help python scripting for lyx > the lyx2lyx program has become only a interface to the new LyX.py modu

Re: Clean URI for wiki

2005-02-01 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] writes: | On Tue, 1 Feb 2005, Lars Gullik Bjønnes wrote: > >> This is the aliases I ended up using: >> >> AliasMatch ^/([?A-Z].*) /home/lyx/www/pmwiki/pmwiki.php/$1 >> Alias /pub/ /home/lyx/www/pmwiki/pub/ >> Alias /uploads/ /home/lyx/www/pmwiki/uploads/

Re: Clean URI for wiki

2005-02-01 Thread chr
On Tue, 1 Feb 2005, Lars Gullik Bjønnes wrote: > This is the aliases I ended up using: > > AliasMatch ^/([?A-Z].*) /home/lyx/www/pmwiki/pmwiki.php/$1 > Alias /pub/ /home/lyx/www/pmwiki/pub/ > Alias /uploads/ /home/lyx/www/pmwiki/uploads/ > Alias /beta/ /home/lyx/ww

View->DVI of XFig external insets is broken

2005-02-01 Thread Angus Leeming
sh: fig_copy.sh: No such file or directory sh: fig_copy.sh: No such file or directory More FileInfo horkage I guess. I'll try and find some time. -- Angus

Re: Connecting to lyx.org ?

2005-02-01 Thread Angus Leeming
Lars Gullik Bjønnes wrote: > I have both cvs.lyx.org _and_ baywatch.lyx.org in my file > (known_hosts2) > (all my boxes has the same public key for ssh) > (are you sure CVS/Root is the same for all your repositories?) Yes, they're the same. $ cd ../13x $ ROOTS="" $ for cvsdir in `find . -name C

Re: lyxserver bug

2005-02-01 Thread G. Milde
On 1.02.05, Jean-Marc Lasgouttes wrote: > > G> Dear developers, trying to use the lyxserver for a kind of > G> scripting support, I came accross some troublespots. > > I did not have time to look seriously at all the report, but I believe > that many of them can be trivially fixed. Nice to hea

Re: Connecting to lyx.org ?

2005-02-01 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Further info. I've had only this lyx entry in my known_hosts file for | ever. But then, cvs has contacted cvs.lyx.org for ever too. > | $ grep lyx ~/.ssh/known_hosts | baywatch.lyx.org,80.232.38.163 ssh-dss ... (and because of the ip here you don't nee

Re: Connecting to lyx.org ?

2005-02-01 Thread Angus Leeming
Angus Leeming wrote: >> This isn't just a new box or a new user that does not have cvs.lyx.org >> in .ssh/known_hosts yet? > > No. I updated the 1.4.x tree an hour ago without problems. Repeating the > exercise just now on the 1.3.x tree and I get this message. I have > changed absolutely nothing

Re: Connecting to lyx.org ?

2005-02-01 Thread Angus Leeming
Lars Gullik Bjønnes wrote: > Angus Leeming <[EMAIL PROTECTED]> writes: > > | Is something strange happening to lyx.org? >> > | $ cvs -q up > | The authenticity of host 'cvs.lyx.org (80.232.38.163)' can't be > | established. > | DSA key fingerprint is 8b:31:cd:02:8e:d5:c5:b9:b1:10:5b:d1:f5:ad:6f:d

Re: Connecting to lyx.org ?

2005-02-01 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Is something strange happening to lyx.org? > | $ cvs -q up | The authenticity of host 'cvs.lyx.org (80.232.38.163)' can't be | established. | DSA key fingerprint is 8b:31:cd:02:8e:d5:c5:b9:b1:10:5b:d1:f5:ad:6f:da. | Are you sure you want to continue con

Re: Clean URI for wiki

2005-02-01 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] writes: | On Sun, 30 Jan 2005, Lars Gullik Bjønnes wrote: > >> Added two aliases: >> >> Alias /pub/ /home/lyx/www/pmwiki/pub/ >> Alias / /home/lyx/www/pmwiki/pmwiki.php/ >> >> And modified the $PubDirUrl in pmwiki.php from: >> >> $PubDirUrl = preg_replace("#/[^

Connecting to lyx.org ?

2005-02-01 Thread Angus Leeming
Is something strange happening to lyx.org? $ cvs -q up The authenticity of host 'cvs.lyx.org (80.232.38.163)' can't be established. DSA key fingerprint is 8b:31:cd:02:8e:d5:c5:b9:b1:10:5b:d1:f5:ad:6f:da. Are you sure you want to continue connecting (yes/no)? I'm refraining from connecting for no

Re: JMarc's configure changes

2005-02-01 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: >>> Shall I apply it, or do you want to test it first? > > Angus> I'll try and test it over the w/e if you like. > > Thanks. > JMarc JMarc, I haven't forgotten, but I haven't tested this yet. One thing I noticed last night when trying to put together a tex2lyx shapsh

LyX aborts loading the User's Guide.

2005-02-01 Thread Jose' Matos
Hi, using the latest cvs when I load the User's Guide I get this: $ src/lyx BufferView::Pimpl::update(fc=0, fu=1) buffer: 0 BufferView::Pimpl::update(fc=0, fu=1) buffer: 0 lyx: /usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/basic_string.h:622: typename _Alloc:

Re: The latest patches break cygwin again

2005-02-01 Thread Lars Gullik Bjønnes
"Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes: | I just tried compiling latest CVS again. Here is what happens: > | g++ -DHAVE_CONFIG_H -I. -I../../../lyx/src/support -I../../src | -I../../../lyx/src/support/.. -I../../../lyx/boost -I/usr/local/include | -W -Wall -I/usr/X11R6/include -O2 -fno-exce

Re: lyx->tex->lyx round trip problems

2005-02-01 Thread Georg Baum
Angus Leeming wrote: > Trying a round trip on the user guide doesn't work ATM. Log file attached. > Angus I can confirm that (even with my hacked tex2lyx). What works for me is to export UserGuide_14x.lyx with LyX 1.4. Either we have a lyx2lyx problem here, or tex2lyx writes illegal .lyx files. I

Re: lyxserver bug

2005-02-01 Thread Jean-Marc Lasgouttes
> "G" == G Milde <[EMAIL PROTECTED]> writes: G> Dear developers, trying to use the lyxserver for a kind of G> scripting support, I came accross some troublespots. Hello Günter, I did not have time to look seriously at all the report, but I believe that many of them can be trivially fixed. Bu

Re: Link on WiKi corrupted by spam

2005-02-01 Thread chr
On Mon, 31 Jan 2005, Lars Gullik Bjønnes wrote: > | > > I prefere links like this yes. Since then it is how the server that > was accessed that determines the resulting url. (done by the browser) > > | If so, I could bring it up with the author of PmWiki. > > Would at least be nice to know