Errors building 1.4.0 (?)

2005-09-13 Thread Mike Meyer
I'm trying to build the CVS version for the first time. I used the page that google had cached from www.devel.lyx.org on getting LyX sources from CVS to get started. That page talks about building "the development module" but doesn't talk about what that is. The difference is that you run the auto

Re: Errors building 1.4.0 (?)

2005-09-13 Thread Georg Baum
Mike Meyer wrote: > Looking over this, it's a link command - except that I don't see a qt > library being linked in. Grovelling through config.status finds: > "s,@QT_LIB@,,;t t", which sure looks like it didn't set the QT library > properlty. It looks like configure does not find the qt libary (b

Re: byte compilation of lyx2lyx files

2005-09-13 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: | | > Angus Leeming <[EMAIL PROTECTED]> writes: | > | > | Luis Rivera reports that "make install" is failing for him because he | > | doesn't have python installed. Could someone sort this out please. | > | > Hmm... we kindo

Re: byte compilation of lyx2lyx files

2005-09-13 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: | Angus Leeming <[EMAIL PROTECTED]> writes: | | | Lars Gullik Bjønnes wrote: | | | | > Angus Leeming <[EMAIL PROTECTED]> writes: | | > | | > | Luis Rivera reports that "make install" is failing for him because he | | > | doesn't have python instal

Re: large executable

2005-09-13 Thread Jean-Marc Lasgouttes
> "Pol" == Pol <[EMAIL PROTECTED]> writes: Pol> Jean-Marc Lasgouttes wrote: >> that i am compiling lyx 1.4 Paolo> The compiled lyx 1.4 executable from cvs, last april, was 4.2 Paolo> megabytes; but in that case compilation had been accoplished on Paolo> ordinary intel desktop workstation. Tha

Re: LyX 140 configure problem with awk

2005-09-13 Thread Jean-Marc Lasgouttes
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> That seems to work for me. The important question is whether the information in lyx.pot is reasonable. You should see entries like: msgid "\\arabic{enumi}." msgstr "" (what is important here is the double backslash). JMarc

Re: byte compilation of lyx2lyx files

2005-09-13 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Luis Rivera reports that "make install" is failing for him Angus> because he doesn't have python installed. Could someone sort Angus> this out please. I need more details, could you point me to the relevant thread? Basically, this

Re: [PATCH] bug 1941: toolbars disabled after dialog action

2005-09-13 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> I tried to understand where in the code that happens, but Georg> failed. Could you please tell me the place where the main Georg> window without focus prevents the icons from being enabled? In LyXFunc::getStatus, you will find:

Re: byte compilation of lyx2lyx files

2005-09-13 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> [EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: | Angus Leeming Lars> <[EMAIL PROTECTED]> writes: Lars> | Lars> | | Lars Gullik Bjønnes wrote: Lars> | | Lars> | | > Angus Leeming <[EMAIL PROTECTED]> writes: Lars> | | > Lars>

Re: byte compilation of lyx2lyx files

2005-09-13 Thread Jose' Matos
On Tuesday 13 September 2005 10:44, Jean-Marc Lasgouttes wrote: > Actually, I do not see why it should not work when PYTHON=:. That's > why I'd like to see the error first. I am puzzled as well. We made the support for python conditional, it should not fail if python is not present. > JMarc -

Re: byte compilation of lyx2lyx files

2005-09-13 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > Angus> Luis Rivera reports that "make install" is failing for him > Angus> because he doesn't have python installed. Could someone sort > Angus> this out please. > I need more details, could you point me to the relevant thread? > Basically, this is supposed to work pr

Re: byte compilation of lyx2lyx files

2005-09-13 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Luis didn't provide much information. Just the second paragraph Angus> here, IIRC: Angus> http://article.gmane.org/gmane.editors.lyx.devel:47931 Yes, I saw that. Angus> I'll drop him a line. Thanks. JMarc

Safer Win32 get_temp_path, os::internal_path

2005-09-13 Thread Angus Leeming
Jean-Marc, all, following our earlier discussion, I attach a little test code to show what I think we need to produce robust code on Windows. The attached code should compile on all flavours of Windows >= Win95 and should behave gracefully on older versions for which GetLongPathName is just a

Re: large executable

2005-09-13 Thread Pol
Jean-Marc Lasgouttes wrote: what does "size ./lyx" day? Here (gcc 3.4.1) I get: fantomas: size src/lyx textdata bss dec hex filename 6083056 17680 35060 6135796 5d9ff4 src/lyx % size /usr/local/bin/lyx textdata bss dec hex filename 1113489

Re: gcc4 prevents some languages from working - still stuck :-(

2005-09-13 Thread Helge Hafting
Martin Vermeer wrote: On Wed, Aug 17, 2005 at 04:31:07PM +0100, Angus Leeming wrote: Martin Vermeer wrote: On Tue, 2005-08-16 at 12:59, Helge Hafting wrote: I noticed something very strange today. I could not get lyx-1.4cvs to display norwegian text at all. no_NO, no_NO.iso885

Re: gcc4 prevents some languages from working - still stuck :-(

2005-09-13 Thread Martin Vermeer
On Tue, 2005-09-13 at 13:26 +0200, Helge Hafting wrote: ... > I am still stuck on this. I can't get no_NO to work for > the no.po in cvs. There are no error messages (or any message different > from when trying other working languages, like nn_NO). I simply > get english when LANG=no_NO (or no

Re: Safer Win32 get_temp_path, os::internal_path

2005-09-13 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Jean-Marc, all, following our earlier discussion, I attach a Angus> little test code to show what I think we need to produce robust Angus> code on Windows. The attached code should compile on all Angus> flavours of Windows >= Win95

Re: Errors building 1.4.0 (?)

2005-09-13 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Georg Baum <[EMAIL PROTECTED]> typed: > Mike Meyer wrote: > > Looking over this, it's a link command - except that I don't see a qt > > library being linked in. Grovelling through config.status finds: > > "s,@QT_LIB@,,;t t", which sure looks like it didn't set the QT library

Re: Safer Win32 get_temp_path, os::internal_path

2005-09-13 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: Angus> Jean-Marc, all, following our earlier discussion, I attach a Angus> little test code to show what I think we need to produce robust Angus> code on Windows. The attached code should compile on all Angus> flavours of Windows >= Win95 and should behave gracefully o

Re: Errors building 1.4.0 (?)

2005-09-13 Thread John Levon
On Tue, Sep 13, 2005 at 09:24:07AM +0200, Georg Baum wrote: > It looks like configure does not find the qt libary (but it seems to find > the headers). This looks like a configure bug: It should stop with an error > message if the library cannot be found. IIRC Lars changed this. regards john

Re: Errors building 1.4.0 (?)

2005-09-13 Thread Georg Baum
Mike Meyer wrote: > I can tell you what went wrong with the first command: it needs the > FreeBSDism "-pthread" to link with the threaded version of libc. That means we'll need to fix the configure script. Thanks for debugging! Can you test the attached (untested) patch? Don't forget to run autog

Replacing SHGetFolderPath

2005-09-13 Thread Angus Leeming
As older flavours of Windows don't support SHGetFolderPath out of the box, Jean-Marc has suggested that we use the more cumbersome but also more portable SHGetSpecialFolderLocation. I propose the attached code as a replacement for the existing win32_folder_path in src/support/package.C. $ g+

Re: Safer Win32 get_temp_path, os::internal_path

2005-09-13 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: >> To tell, the truth, I suspected it already, and was rather relieved >> not to have you in my house last July. I do not know what my >> neighbours would have thought. Angus> Funny. I had you down as bohémien rather than a member of the

Re: LyX 140 configure problem with awk

2005-09-13 Thread Bennett Helm
On Sep 13, 2005, at 5:16 AM, Jean-Marc Lasgouttes wrote: The important question is whether the information in lyx.pot is reasonable. You should see entries like: msgid "\\arabic{enumi}." msgstr "" (what is important here is the double backslash). I don't get \\arabic{enumi} in particular. I

Re: Replacing SHGetFolderPath

2005-09-13 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> As older flavours of Windows don't support SHGetFolderPath out Angus> of the box, Jean-Marc has suggested that we use the more Angus> cumbersome but also more portable SHGetSpecialFolderLocation. Angus> I propose the attached code

Re: Safer Win32 get_temp_path, os::internal_path

2005-09-13 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > Angus> Anyway, wasn't it your parents' neighbours rather than your > Angus> own? > God forbid! I would not even have thought about inviting strangers in > this case! We are now in our own appartment, so I only have to care > about my reputation, which is nevertheless

Re: LyX 140 configure problem with awk

2005-09-13 Thread Jean-Marc Lasgouttes
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> On Sep 13, 2005, at 5:16 AM, Jean-Marc Lasgouttes wrote: >> The important question is whether the information in lyx.pot is >> reasonable. You should see entries like: >> >> msgid "\\arabic{enumi}." msgstr "" >> >> (what is imp

Re: Replacing SHGetFolderPath

2005-09-13 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > Angus> As older flavours of Windows don't support SHGetFolderPath out > Angus> of the box, Jean-Marc has suggested that we use the more > Angus> cumbersome but also more portable SHGetSpecialFolderLocation. > > Angus> I propose the attached code as a replacement for t

Re: LyX 140 configure problem with awk

2005-09-13 Thread Bennett Helm
On Sep 13, 2005, at 8:56 AM, Jean-Marc Lasgouttes wrote: What I am interested in are entries related to LabelString in layout files, so my enumi example was not very well chosen. Actually, it was my fault: I was stupidly looking at lyx.pot from the wrong build. For example, numarticle.inc

Re: Replacing SHGetFolderPath

2005-09-13 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> One thing I note from the MSDN website is: Angus> = Angus> http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/reference/functions/shgetmalloc.asp Angu

[PATCH] bug 2010: Entering/leaving text inset requires two cursor left/right keystrokes

2005-09-13 Thread Jean-Marc Lasgouttes
The following patch fixes bug 2010: http://bugzilla.lyx.org/show_bug.cgi?id=2010 This was an unintended consequence of the work Juergen V. did to allow placing the cursor in front of a displayed inset. Please test. JMarc Index: src/ChangeLog

Re: LyX 140 configure problem with awk

2005-09-13 Thread Jean-Marc Lasgouttes
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: >> so you should find the strings "\\arabic{section}" and >> "\\Alph{section}" in the .pot file. Bennett> Yes -- they're all there (at least every one I checked!). Very good. I'll apply the patch. JMarc

Re: [PATCH] bug 1941: toolbars disabled after dialog action

2005-09-13 Thread Georg Baum
Jean-Marc Lasgouttes wrote: >> "Georg" == Georg Baum >> <[EMAIL PROTECTED]> >> writes: > > Georg> I tried to understand where in the code that happens, but > Georg> failed. Could you please tell me the place where the main > Georg> window without focus prevents the icons from being en

Re: [PATCH] bug 1941: toolbars disabled after dialog action

2005-09-13 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> The problem is that the main window still has no focus when Georg> Dialog::hide is called. I tried to activate it with Georg> QMainWindow::setFocus() and QMainWindow::show(), but neither Georg> worked. I'll investigate further. Thanks

Re: Errors building 1.4.0 (?)

2005-09-13 Thread Georg Baum
Am Dienstag, 13. September 2005 14:30 schrieb John Levon: > On Tue, Sep 13, 2005 at 09:24:07AM +0200, Georg Baum wrote: > > It looks like configure does not find the qt libary (but it seems to find > > the headers). This looks like a configure bug: It should stop with an > > error message if the li

Re: Errors building 1.4.0 (?)

2005-09-13 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Am Dienstag, 13. September 2005 14:30 schrieb John Levon: >> On Tue, Sep 13, 2005 at 09:24:07AM +0200, Georg Baum wrote: > It >> looks like configure does not find the qt libary (but it seems to >> find > the headers). This looks like

Re: [PATCH] bug 2010: Entering/leaving text inset requires two cursor left/right keystrokes

2005-09-13 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > The following patch fixes bug 2010: > http://bugzilla.lyx.org/show_bug.cgi?id=2010 > > This was an unintended consequence of the work Juergen V. did to allow > placing the cursor in front of a displayed inset. > > Please test. > > JMarc why not + cur.lastpos() !

Re: [PATCH] bug 2010: Entering/leaving text inset requires two cursor left/right keystrokes

2005-09-13 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> why not + cur.lastpos() != (cur.pos() + 1) && ? Oops. I am not even sure that the test meant what I thought it meant. What about the following? JMarc Index: src/ChangeLog =

[PATCH] bug 1926: Paragraph& DocIterator::paragraph() by failing check "inTexted()" in file dociterator.C:144

2005-09-13 Thread Jean-Marc Lasgouttes
This patch fixes the crash described in http://bugzilla.lyx.org/show_bug.cgi?id=1926 ``Start a new doc, and start a math formula. Enter it, and leaving the cursor inside the formula, start another new doc. Move back to the old doc via the View menu and: Assertion triggered in Paragraph&

Re: large executable

2005-09-13 Thread Lars Gullik Bjønnes
Pol <[EMAIL PROTECTED]> writes: | Jean-Marc Lasgouttes wrote: | > what does "size ./lyx" day? Here (gcc 3.4.1) I get: | > fantomas: size src/lyx | >textdata bss dec hex filename | > 6083056 17680 35060 6135796 5d9ff4 src/lyx | > | | % size /usr/local/bin/lyx | textd

Re: Errors building 1.4.0 (?)

2005-09-13 Thread Lars Gullik Bjønnes
John Levon <[EMAIL PROTECTED]> writes: | On Tue, Sep 13, 2005 at 09:24:07AM +0200, Georg Baum wrote: | | > It looks like configure does not find the qt libary (but it seems to find | > the headers). This looks like a configure bug: It should stop with an error | > message if the library cannot be

Re: bug in tex2lyx windows

2005-09-13 Thread Lars Gullik Bjønnes
Luis Rivera <[EMAIL PROTECTED]> writes: | Hello, | | I tried to run tex2lyx on win95/98, without success. The programs | crashed crying as follows: | | On win95 | | The TEX2LYX.EXE file is linked to missing export | KERNEL32.DLL:GetFileAttributesExA Can't we just declare that we do not suppor

Re: Errors building 1.4.0 (?)

2005-09-13 Thread Lars Gullik Bjønnes
Georg Baum <[EMAIL PROTECTED]> writes: | Am Dienstag, 13. September 2005 14:30 schrieb John Levon: | > On Tue, Sep 13, 2005 at 09:24:07AM +0200, Georg Baum wrote: | > > It looks like configure does not find the qt libary (but it seems to find | > > the headers). This looks like a configure bug: It

Re: [PATCH] bug 2010: Entering/leaving text inset requires two cursor left/right keystrokes

2005-09-13 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > Angus> why not + cur.lastpos() != (cur.pos() + 1) && ? > > Oops. I am not even sure that the test meant what I thought it meant. > > What about the following? Isn't that semantically the same as: @@ -1020,7 +1021,8 @@ bool LyXText::cursorRight(LCursor & cur)

Re: request for help with CVS access to LyX sources

2005-09-13 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | | Lars> We should take the oppurtunito to move the devel www-site into | Lars> the user one. So that we only have one... | | Do you want to keep the web sites separates from the u

Re: Errors building 1.4.0 (?)

2005-09-13 Thread Angus Leeming
Lars Gullik Bjønnes wrote: > John Levon writes: > | On Tue, Sep 13, 2005 at 09:24:07AM +0200, Georg Baum wrote: > | > | > It looks like configure does not find the qt libary (but it seems to > | > find the headers). This looks like a configure bug: It should stop > | > with an error message if the

Re: bug in tex2lyx windows

2005-09-13 Thread Angus Leeming
Lars Gullik Bjønnes wrote: > Luis Rivera writes: > | Hello, > | > | I tried to run tex2lyx on win95/98, without success. The programs > | crashed crying as follows: > | > | On win95 > | > | The TEX2LYX.EXE file is linked to missing export > | KERNEL32.DLL:GetFileAttributesExA > Can't we just decl

Re: request for help with CVS access to LyX sources

2005-09-13 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> We can keep them separate from the users pov, but have them in Lars> the same cvs module, and in the same virtual host on the web Lars> server. That would be OK. JMarc

Re: Errors building 1.4.0 (?)

2005-09-13 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> I hate configures that aborts. IMHO it should run to completion Lars> and tell me about all important stuff that went wrong. Georg's patch calls LYX_ERROR, so it should be OK. JMarc

Re: [PATCH] bug 2010: Entering/leaving text inset requires two cursor left/right keystrokes

2005-09-13 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Jean-Marc Lasgouttes wrote: why not + cur.lastpos() != Angus> (cur.pos() + 1) && ? >> Oops. I am not even sure that the test meant what I thought it >> meant. >> >> What about the following? Angus> Isn't that semantically the sam

Re: large executable

2005-09-13 Thread Pol
Lars Gullik Bjønnes wrote: > | > | % size /usr/local/bin/lyx > | textdata bss dec hex filename > |11134899 394540 35332 11564771b076e3 /usr/local/bin/lyx > Remind me on the platform again please. > It is debian/unstable + tetex ver. 3.0 packages from t

Re: large executable

2005-09-13 Thread Pol
Lars Gullik Bjønnes wrote: | | % size /usr/local/bin/lyx | textdata bss dec hex filename |11134899 394540 35332 11564771b076e3 /usr/local/bin/lyx Remind me on the platform again please. It is debian/unstable + tetex ver. 3.0 packages from the debian

Re: large executable

2005-09-13 Thread Michael Gerz
Pol wrote: -- pol Pol, could you please change the default settings of your email client? Everytime I receive an email from you, Thunderbird asks me to confirm the reception :-( Michael

Re: Errors building 1.4.0 (?)

2005-09-13 Thread Mike Meyer
[Apologies to George, who's seeing this twice.] In <[EMAIL PROTECTED]>, Bennett Helm <[EMAIL PROTECTED]> typed: > On Sep 13, 2005, at 10:03 AM, Mike Meyer wrote: > > the configure script walks your $PATH looking for sgmltools and/or > > db2dvi to decide whether or not to configure docbook support.

Re: byte compilation of lyx2lyx files

2005-09-13 Thread Luis Rivera
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > > > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > Angus> Luis didn't provide much information. Just the second paragraph > Angus> here, IIRC: > Angus> http://article.gmane.org/gmane.editors.lyx.devel:47931 > > Yes, I saw that. >

Daily lyx builds are now set up on ftp.sylvan.com

2005-09-13 Thread Kayvan A. Sylvan
Hi folks, I fixed up the FTP site now. The latest builds for Redhat Fedora Core 4 (x86_64) are at: ftp://ftp.sylvan.com/pub/lyx/devel/RHFC4 Best regards, ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc.

Re: Errors building 1.4.0 (?)

2005-09-13 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Georg Baum <[EMAIL PROTECTED]> typed: > Am Dienstag, 13. September 2005 14:30 schrieb John Levon: > > On Tue, Sep 13, 2005 at 09:24:07AM +0200, Georg Baum wrote: > > > It looks like configure does not find the qt libary (but it seems to find > > > the headers). This looks li

Re: Errors building 1.4.0 (?)

2005-09-13 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Jean-Marc Lasgouttes <[EMAIL PROTECTED]> typed: > > "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: > > Georg> Am Dienstag, 13. September 2005 14:30 schrieb John Levon: > >> On Tue, Sep 13, 2005 at 09:24:07AM +0200, Georg Baum wrote: > It > >> looks like configure doe

Re: large executable

2005-09-13 Thread Pol
Michael Gerz wrote: Pol, could you please change the default settings of your email client? Everytime I receive an email from you, Thunderbird asks me to confirm the reception :-( sorry, i have been trying to disable such feature, but it appears it is already off. On my account settings (moz

Re: Errors building 1.4.0 (?)

2005-09-13 Thread Georg Baum
Angus Leeming wrote: > Can you run to completion but then not generate either the Makefiles or > config.h? That would appear to be the best of both worlds. > > Ie LYX_ERROR sets a boolean flag that is queried before config.h, > Makefiles are generated and the configure script exits then. That is

Fwd: Re: Errors building 1.4.0 (?)

2005-09-13 Thread Georg Baum
This mail went wrong by accident. -- Weitergeleitete Nachricht -- Subject: Re: Errors building 1.4.0 (?) Date: Mittwoch, 14. September 2005 03:41 From: Mike Meyer <[EMAIL PROTECTED]> To: Georg Baum <[EMAIL PROTECTED]> In <[EMAIL PROTECTED]>, Georg Baum <[EMAIL PROTECTED]> type