python hardcoded

2006-08-18 Thread Jeremy C. Reed
Various lyx code has "python" hardcoded. It may be good to take advantage of the PYTHON setting. Some systems do not have a "python" in the path, but may have python2.4 for example. Here is a list of files below. Some of these python scripts are fine at the top sh-bang #! line, but later insi

Re: Crash when BibTex Bibliography file not accessible

2006-08-18 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> Jean-Marc Lasgouttes wrote: >> You can apply, then. Juergen> After some more testing of the OP, it turned out that the Juergen> crash actually occurs if the directory where the bib file Juergen> lives is not readable. I

Re: LyX 1.4.2 on Intel

2006-08-18 Thread Jean-Marc Lasgouttes
> "Andreas" == Andreas Vox <[EMAIL PROTECTED]> writes: Andreas> I thought that was the purpose of this hack? What were you Andreas> trying to achieve in the first place? OK, in OSX there are three menu entries that are in an unconventional position: Quit, About and Preferences. Therefore Qt t

Re: Track change status Michael? (Re: [PATCH] small setBuffer cleanup)

2006-08-18 Thread Abdelrazak Younes
Lars Gullik Bjønnes wrote: Michael Gerz <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes schrieb: | > You mean it is wise to apply a possibly broken patch on top of | > something you aready know to be broken? | > | Lars, at the same time when I ask you to merge the code, the code will | be stab

Re: Track change status Michael? (Re: [PATCH] small setBuffer cleanup)

2006-08-18 Thread José Matos
On Friday 18 August 2006 16:39, Jean-Marc Lasgouttes wrote: > I think it will be much easier for Michael, in particular since we are > probably going to make syntax/types change for unicode which will > break merges. And remember also that we saw this branch be constructed > piece by pieces, along

Re: Track change status Michael? (Re: [PATCH] small setBuffer cleanup)

2006-08-18 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Let me rephraze then. Is it wise to merge another largish patch Lars> before we have worked the worst kinks out of the last one. I think it will be much easier for Michael, in particular since we are pr

Re: Crash when BibTex Bibliography file not accessible

2006-08-18 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > You can apply, then. After some more testing of the OP, it turned out that the crash actually occurs if the directory where the bib file lives is not readable. I can reproduce the crash, and the attached patch fixes it. OK? Jürgen Index: src/insets/insetcite.C ===

Re: LyX 1.4.2 on Intel

2006-08-18 Thread Andreas Vox
Am 18.08.2006 um 17:13 schrieb Jean-Marc Lasgouttes: "Andreas" == Andreas Vox <[EMAIL PROTECTED]> writes: Andreas> Georg Baum <[EMAIL PROTECTED]> writes: This may have something to do with some ugly tricks we are playing to stop qt to rearrange the menus. See src/frontends/qt2/QLMenubar.C a

Re: Track change status Michael? (Re: [PATCH] small setBuffer cleanup)

2006-08-18 Thread Michael Gerz
Lars Gullik Bjønnes wrote: Michael Gerz <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes schrieb: | > You mean it is wise to apply a possibly broken patch on top of | > something you aready know to be broken? | > | Lars, at the same time when I ask you to merge the code, the code will | be sta

Re: Lyx Menu under LyX-Mac

2006-08-18 Thread Jean-Marc Lasgouttes
> "Jens" == Jens Noeckel <[EMAIL PROTECTED]> writes: Jens> One more observation regarding the menu mix-up I'm seeing on LyX Jens> 1.4.2: While it's clearly the LyX menu that's giving me the Jens> wrong Lfunc for each menu entry, there's also something strange Jens> in the adjacent File menu: i

Re: Track change status Michael? (Re: [PATCH] small setBuffer cleanup)

2006-08-18 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Let me rephraze then. Is it wise to merge another largish patch Lars> before we have worked the worst kinks out of the last one. I think it will be much easier for Michael, in particular since we are probably going to make synt

Re: Track change status Michael? (Re: [PATCH] small setBuffer cleanup)

2006-08-18 Thread Lars Gullik Bjønnes
Michael Gerz <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes schrieb: | > You mean it is wise to apply a possibly broken patch on top of | > something you aready know to be broken? | > | Lars, at the same time when I ask you to merge the code, the code will | be stable! Of course, I cannot guara

Re: Math-intensive work in 1.4.x impossible.

2006-08-18 Thread Lars Gullik Bjønnes
"Michael Gerz" <[EMAIL PROTECTED]> writes: | Are there any reasons why we cannot update to boost 1.3.4 for 1.4.3? 1.34 is not released. Doesn't 1.33 work? -- Lgb

Re: Track change status Michael? (Re: [PATCH] small setBuffer cleanup)

2006-08-18 Thread Michael Gerz
Lars Gullik Bjønnes schrieb: You mean it is wise to apply a possibly broken patch on top of something you aready know to be broken? Lars, at the same time when I ask you to merge the code, the code will be stable! Of course, I cannot guarantee that it works under all circumstances. Michael

Re: Track change status Michael? (Re: [PATCH] small setBuffer cleanup)

2006-08-18 Thread Michael Gerz
Abdelrazak Younes schrieb: Also the track change dialog call should disappear from BufferView. Michael when are planning to merge your branch? I guess now is as good as ever as the trunk is broken with unicode anyway... I haven't worked on change tracking for quite some time. However, I think t

Re: LyX 1.4.2 on Intel

2006-08-18 Thread Jean-Marc Lasgouttes
> "A" == A S Hodel <[EMAIL PROTECTED]> writes: A> However, I have noticed that the problem doesn't seem to occur A> until after I export a document as a .pdf file. This behavior is A> consistent on the 3 mac's I use (G4 cube, G5 iMac, and macbook A> pro). Is it a matter of exporting or of ope

Re: LyX 1.4.2 on Intel

2006-08-18 Thread Jean-Marc Lasgouttes
> "Andreas" == Andreas Vox <[EMAIL PROTECTED]> writes: Andreas> Georg Baum <[EMAIL PROTECTED]> writes: >> This may have something to do with some ugly tricks we are playing >> to stop qt to rearrange the menus. See >> src/frontends/qt2/QLMenubar.C and src/frontends/qt2/lyx_gui.C >> (search fo

Re: Math-intensive work in 1.4.x impossible.

2006-08-18 Thread Jean-Marc Lasgouttes
> "Michael" == Michael Gerz <[EMAIL PROTECTED]> writes: Michael> Are there any reasons why we cannot update to boost 1.3.4 for Michael> 1.4.3? Michael Maybe Because it is not released yet? And what is it going to give us? Actually, in an ideal world, upgrading to 1.33.1 should not be needed

Re: Math-intensive work in 1.4.x impossible.

2006-08-18 Thread Michael Gerz
Are there any reasons why we cannot update to boost 1.3.4 for 1.4.3? Michael - Original Message - From: "Jean-Marc Lasgouttes" <[EMAIL PROTECTED]> To: Sent: Thursday, August 17, 2006 11:31 PM Subject: Re: Math-intensive work in 1.4.x impossible. "José" == José Matos <[EMAIL PROTECT

Re: Crash when BibTex Bibliography file not accessible

2006-08-18 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> Jean-Marc Lasgouttes wrote: >> Can I see the patch? From what you say it looks reasonable. Juergen> Certainly. Juergen> Perhaps we could spit out a message when a file is not found. >> Yes, but only once per file... If

Re: Crash when BibTex Bibliography file not accessible

2006-08-18 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > Can I see the patch? From what you say it looks reasonable. Certainly. > Juergen> Perhaps we could spit out a message when a file is not found. > > Yes, but only once per file... If this is too compilcated, I prefer no > message to too many messages. I think this is

Re: Crash when BibTex Bibliography file not accessible

2006-08-18 Thread Georg Baum
Jean-Marc Lasgouttes wrote: >> "Juergen" == Juergen Spitzmueller >> <[EMAIL PROTECTED]> writes: > > Juergen> Perhaps we could spit out a message when a file is not found. > > Yes, but only once per file... If this is too compilcated, I prefer no > message to too many messages. We have s

Re: LyX 1.4svn with MSVC 2005

2006-08-18 Thread Georg Baum
Joost Verburg wrote: > The qt3 frontend of 1.5 doesn't crash for me. Maybe the fix is already > there and should be copied to branch? Maybe. If you want to find out you have to compare... Georg

Re: Track change status Michael? (Re: [PATCH] small setBuffer cleanup)

2006-08-18 Thread Abdelrazak Younes
Lars Gullik Bjønnes wrote: Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Jean-Marc Lasgouttes wrote: | >> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: | > Abdelrazak> This patch moves the dialogs hidding/update from | > Abdelrazak> BufferView. Will commit soon. | > Looks g

Re: "Insert Note" menu is not in sync with the Note dialog

2006-08-18 Thread Abdelrazak Younes
Martin Vermeer wrote: On Thu, 2006-08-17 at 21:17 +0200, Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Abdelrazak Younes wrote: "Framed" and "Shaded" are missing. Is that on purpose? Abdelrazak> Anyone? Jean-Marc? I think the idea was t

Re: "Insert Note" menu is not in sync with the Note dialog

2006-08-18 Thread Martin Vermeer
On Thu, 2006-08-17 at 21:17 +0200, Jean-Marc Lasgouttes wrote: > > "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: > > Abdelrazak> Abdelrazak Younes wrote: > >> "Framed" and "Shaded" are missing. Is that on purpose? > > Abdelrazak> Anyone? Jean-Marc? > > I think the idea was to

Re: [patch] fix plain text output

2006-08-18 Thread Helge Hafting
Lars Gullik Bjønnes wrote: Helge Hafting <[EMAIL PROTECTED]> writes: | Angus Leeming wrote: | > UTF-8 is a multi-byte encoding. It's useful for output to file | > because the data are stored as characters (bytes). So, much of a | > UTF-8 encoded file will be human readable; only the multi-byte |

Re: Track change status Michael? (Re: [PATCH] small setBuffer cleanup)

2006-08-18 Thread Lars Gullik Bjønnes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Jean-Marc Lasgouttes wrote: | >> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: | > Abdelrazak> This patch moves the dialogs hidding/update from | > Abdelrazak> BufferView. Will commit soon. | > Looks good. Lots of small things to

Re: Crash when BibTex Bibliography file not accessible

2006-08-18 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> Juergen Spitzmueller wrote: >> It doesn't crash for me (SuSe 10.1, self-compiled), but I assume >> that the attached patch will help. Juergen> I think the patch should go in in any case, since Juergen> filesystem::last_w

[PATCH] remove unneeded Qt::KeyboardModifiers and add a FIXME

2006-08-18 Thread Abdelrazak Younes
Following discussion with Juergen... Comments? Index: GuiWorkArea.C === --- GuiWorkArea.C (revision 14787) +++ GuiWorkArea.C (working copy) @@ -571,8 +571,10 @@ // ideally, such special coding should not be

Re: Crash when BibTex Bibliography file not accessible

2006-08-18 Thread Juergen Spitzmueller
Juergen Spitzmueller wrote: > It doesn't crash for me (SuSe 10.1, self-compiled), but I assume that the > attached patch will help. I think the patch should go in in any case, since filesystem::last_write_time(f) throws if !filesystem::exists(f). I don't know why it doesn't for me (exceptions di

[PATCH] more spit & polish: math paste with button2

2006-08-18 Thread Jean-Marc Lasgouttes
http://bugzilla.lyx.org/show_bug.cgi?id=2779 This patch fixes button2 use in maths. It is now able to paste current in-lyx selection when it is present. Please test. JMarc Index: src/mathed/math_nestinset.C === --- src/mathed/math

Track change status Michael? (Re: [PATCH] small setBuffer cleanup)

2006-08-18 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> This patch moves the dialogs hidding/update from Abdelrazak> BufferView. Will commit soon. Looks good. Lots of small things to move around... Yes. Next target is the menuInsertLyXFile() whic

Re: [PATCH] Bug 2727: LyX crashes when undoing super/subscript deletion

2006-08-18 Thread Jean-Marc Lasgouttes
> "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: Enrico> On Thu, Aug 17, 2006 at 09:55:09PM +0200, Jean-Marc Lasgouttes Enrico> wrote: >> OK, this new patch fixes this problem too. Enrico> This is excellent, JMarc! Enrico> I was not able to trigger any weird behavior and I like a

Re: qt4 compile failure

2006-08-18 Thread Abdelrazak Younes
Juergen Spitzmueller wrote: Georg Baum wrote: It took me a while to tell pkg-config where all the qt4 stuff is... I'm recompiling tomorrow. So I did. It turned out that it compiled now without Abdel's fix. Sorry, Abdel! Don't be sorry. You compile problem indirectly told me that there was a

Re: Please confirm your message

2006-08-18 Thread Rainer M Krug
LyX Developers List wrote: > This message was created automatically by mail delivery software (TMDA). > > Your message attached below is being held because the address > <[EMAIL PROTECTED]> has not been verified. > > To release your message for delivery, please send an empty message > to the foll

Re: LyX 1.4svn with MSVC 2005

2006-08-18 Thread Joost Verburg
Georg Baum wrote: What I do remember is that the crash on exit problem on windows has not been finally fixed in trunk, we still have the workaround of a static Application object in qt4. That should not be needed, but we don't know why it crashes if the global application object is not static. Ma

Re: lyx150svn: compiling under kubuntu

2006-08-18 Thread Lars Gullik Bjønnes
José Matos <[EMAIL PROTECTED]> writes: | On Friday 18 August 2006 00:32, José Matos wrote: | >   I am waiting for the compilation to finish in the desktop, that presented | > the same problem as the laptop... | | Yes, the compilation works if I disable pch. | | What is wrong with it? gcc -

Re: LyX 1.4svn with MSVC 2005

2006-08-18 Thread Georg Baum
Bo Peng wrote: > I can not answer this question since I never touched the socket > code Georg, do you remember anything? What I do remember is that the crash on exit problem on windows has not been finally fixed in trunk, we still have the workaround of a static Application object in qt4. Tha

Re: Crash when BibTex Bibliography file not accessible

2006-08-18 Thread Juergen Spitzmueller
Rainer M Krug wrote: > Sorry - LyX 1.4.2, SuSe 10.1, installed from rpm via www.lyx.org. It doesn't crash for me (SuSe 10.1, self-compiled), but I assume that the attached patch will help. Jürgen Index: src/insets/insetcite.C === --

Re: Math-intensive work in 1.4.x impossible.

2006-08-18 Thread Georg Baum
Jean-Marc Lasgouttes wrote: > It is not to bad. Did you actually check that it fixes the gcc 4.1 > bug? If it does we should go this way. I did (only bug 2677), with system boost 1.33 and a snapshot of 1.34cvs, therefore the additional BOOST_VERSION stuff. This patch is the bare minimum needed fo