Screenshots not working

2006-05-19 Thread Derek B. Cornish
Hello Webmaster, I thought you ought to know that the screenshots on http://www.lyx.org/about/screenshots.php do not seem to be working. Using Windows XP and FireFox or IE6 I get the message that the images cannot be displayed because they contain errors. Also on http://www.lyx.org/ the two gifs

Re: LyX150Experimental Updated!

2006-05-19 Thread Enrico Forestieri
On Thu, May 18, 2006 at 12:30:34PM +0200, Abdelrazak Younes wrote: > For those who want to try latest and greatest Lyx-Qt4 for windows, point > your browser to: > > http://wiki.lyx.org/Windows/LyX150Experimental No more crashes on Win2k when using the file-dialog ;-) One minor glitch is t

LyX Website

2006-05-19 Thread Joost Verburg
Hi, The current LyX website looks outdated, both in terms of design and content. Especially now LyX is available for Windows users as well, a modern and easy-to-use website is an important thing. Is there any reason why the website has not had any major updates during the last years? I'd lik

Re: [patch] Windows: Improved Font Loading

2006-05-19 Thread Joost Verburg
+FontLoader::~FontLoader() { +#ifdef Q_WS_WIN + // Windows only: Remove BaKoMa TrueType font resources + string const fonts_dir = AddPath(package().system_support(), "fonts"); + + for(int i = 0 ; i < num_fonts_truetype ; ++i) { + string const font_current = + AddName(f

Re: [patch] Windows: Improved Font Loading

2006-05-19 Thread Abdelrazak Younes
Jean-Marc Lasgouttes a écrit : "Joost" == Joost Verburg <[EMAIL PROTECTED]> writes: Joost> Let's not make things too complicated and go for Joost> AddFontResource and RemoveFontResource. The attached patch now Joost> also includes the second part. I tested it, the fonts are Joost> loaded correc

Re: LyX/Mac-Qt4 Profile

2006-05-19 Thread Abdelrazak Younes
Bennett Helm a écrit : generate a report with those data.) Nonetheless, what's obvious from that is the amount of time spent in QPainter (see, e.g., near the top and near the bottom; for the latter, the 1710.0 ms is for the whole tree, but of that QPainter takes up 1695.7 ms), font_metrics::wid

Re: [Patch] Re: Fix for 2516

2006-05-19 Thread Jean-Marc Lasgouttes
> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: >> Now the next problem (with or without the patch). Load attached >> file, select part of 1st par and part of 2nd, Delete ==> crash! Martin> Jean-Marc, I owe you a beer for this one. Or several. Martin> Non-virtual ones. You still hav

Re: [patch] Windows: Improved Font Loading

2006-05-19 Thread Jean-Marc Lasgouttes
> "Joost" == Joost Verburg <[EMAIL PROTECTED]> writes: Joost> Let's not make things too complicated and go for Joost> AddFontResource and RemoveFontResource. The attached patch now Joost> also includes the second part. I tested it, the fonts are Joost> loaded correctly and the files are not lo

Re: Qt4 on Mac: success ... and problems

2006-05-19 Thread Abdelrazak Younes
Abdelrazak Younes a écrit : Martin Vermeer a écrit : On Thu, May 18, 2006 at 10:42:49AM -0400, Bennett Helm wrote: I finally managed to get a version of LyX with Qt4 to compile on Mac using gcc-4.1.0. ... The good news is that it works. The bad news is that it is S L O W -- much slower than

Re: Fix for 2516

2006-05-19 Thread Jean-Marc Lasgouttes
> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: Martin> On Fri, May 19, 2006 at 12:17:19AM +0200, Jean-Marc Lasgouttes Martin> wrote: >> > "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: >> Martin> This appears to fix the bug in my limited testing (I couldn't Martin> repro

Re: LyX/Mac-Qt4 Profile

2006-05-19 Thread Bennett Helm
On May 19, 2006, at 2:36 PM, Abdelrazak Younes wrote: Bennett Helm a écrit : On May 19, 2006, at 12:13 PM, Abdelrazak Younes wrote: I can do that too. There are 2 options for sorting the report -- via a column labeled "Self" and one labeled "Total". This (as my others have been) is sorted b

Re: LyX/Mac-Qt4 Profile

2006-05-19 Thread Abdelrazak Younes
Bennett Helm a écrit : On May 19, 2006, at 12:13 PM, Abdelrazak Younes wrote: I can do that too. There are 2 options for sorting the report -- via a column labeled "Self" and one labeled "Total". This (as my others have been) is sorted by "Total", again arbitrarily cut near the top. Let me kn

Re: Qt4 on Mac: success ... and problems

2006-05-19 Thread Abdelrazak Younes
Martin Vermeer a écrit : On Thu, May 18, 2006 at 10:42:49AM -0400, Bennett Helm wrote: I finally managed to get a version of LyX with Qt4 to compile on Mac using gcc-4.1.0. ... The good news is that it works. The bad news is that it is S L O W -- much slower than LyX-1.4.0 (Qt3) ever was.

Re: Qt4 on Mac: success ... and problems

2006-05-19 Thread Bennett Helm
On May 19, 2006, at 2:07 PM, Martin Vermeer wrote: On Thu, May 18, 2006 at 10:42:49AM -0400, Bennett Helm wrote: I finally managed to get a version of LyX with Qt4 to compile on Mac using gcc-4.1.0. ... The good news is that it works. The bad news is that it is S L O W -- much slower than LyX

Re: Qt4 on Mac: success ... and problems

2006-05-19 Thread Martin Vermeer
On Thu, May 18, 2006 at 10:42:49AM -0400, Bennett Helm wrote: > I finally managed to get a version of LyX with Qt4 to compile on Mac > using gcc-4.1.0. ... > > The good news is that it works. > > The bad news is that it is S L O W -- much slower than LyX-1.4.0 > (Qt3) ever was. And it's slow

Re: LyX/Mac-Qt4 Profile

2006-05-19 Thread Bennett Helm
On May 19, 2006, at 12:13 PM, Abdelrazak Younes wrote: Bennett Helm a écrit : On May 19, 2006, at 11:34 AM, Abdelrazak Younes wrote: No, I think it would be better if you pass --disable-debug --disable-stdlib-debug instead of: --enable-debug --enable-stdlib-debug Without --enable-debug

Re: Fix for 2516

2006-05-19 Thread Martin Vermeer
On Fri, May 19, 2006 at 12:17:19AM +0200, Jean-Marc Lasgouttes wrote: > > "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: > > Martin> This appears to fix the bug in my limited testing (I couldn't > Martin> reproduce the bug in the test file, only in the enum example) > > Yes, it looks

Re: auto-view logic problem

2006-05-19 Thread Bo Peng
Georg> I think that configure.py should write "auto" if no Georg> viewer/editor was found and it was not explicitly requested Georg> that it should be empty (as needed for the lyx13x format). Georg> "none" should be equivalent to "" as it was, and "auto" should Georg> be replaced in fixCommand() b

Re: More scons fixes/improvements

2006-05-19 Thread Bo Peng
It now fails when linking lyxclient. I think it is due to missing -lintl and -lshlwapi. Then there is a problem with libraries ordering (I think -lsupports should come before -lboost_*). Updated patch is attached, this time tested under cygwin. Bo Index: development/scons/SConscript ===

Re: LyX/Mac-Qt4 Profile

2006-05-19 Thread Abdelrazak Younes
Bennett Helm a écrit : On May 19, 2006, at 11:34 AM, Abdelrazak Younes wrote: No, I think it would be better if you pass --disable-debug --disable-stdlib-debug instead of: --enable-debug --enable-stdlib-debug Without --enable-debug, at least, I can't get function names in the profile

Re: LyX/Mac-Qt4 Profile

2006-05-19 Thread Bennett Helm
On May 19, 2006, at 11:34 AM, Abdelrazak Younes wrote: No, I think it would be better if you pass --disable-debug --disable-stdlib-debug instead of: --enable-debug --enable-stdlib-debug Without --enable-debug, at least, I can't get function names in the profile. You use cas

Re: LyX/Mac-Qt4 Profile

2006-05-19 Thread Abdelrazak Younes
Bennett Helm a écrit : Well, here is the beginning of the profile report -- arbitrarily cut off near the top. As I have done with previous profiles, this is produced with: tree view; system libraries charged to callers; 30-second sample, with me typing constantly during the sampling. LyX was

LyX/Mac-Qt4 Profile

2006-05-19 Thread Bennett Helm
Well, here is the beginning of the profile report -- arbitrarily cut off near the top. As I have done with previous profiles, this is produced with: tree view; system libraries charged to callers; 30- second sample, with me typing constantly during the sampling. LyX was compiled with gcc-4.1

Re: [PATCH] frontends/qt4/*.C contains *_moc.cpp

2006-05-19 Thread Abdelrazak Younes
Helge Hafting a écrit : Abdelrazak Younes wrote: If you mean keyboard scrolling, part of the slowness is because I disabled the key buffering. I want to see profiling statistics without it. On due time, if it is still needed I will re-enable it. Key buffering is not the root of this problem.

Re: Qt widget to display LaTeX

2006-05-19 Thread Helge Hafting
Gunnar G wrote: Hi. Since you are using Qt for LyX, I wonder, is there an easy way of using a (hopefully small) part of the LyX code to display LaTeX math formulas nicely in a ordinary Qt program? Something like: QLyXWidget* myWidget = new QLyXWidget("\\frac{3+x}{xy}); would be great. Have

Re: [PATCH] frontends/qt4/*.C contains *_moc.cpp

2006-05-19 Thread Helge Hafting
Abdelrazak Younes wrote: Jose' Matos a écrit : On Friday 19 May 2006 10:10, Abdelrazak Younes wrote: So, what is your impression of the qt4 frontend? Is it slow as hell as some other reported? It is slow, more than 1.4 ever was for me. I can notice it scrolling the User Guide. If yo

Re: [PATCH] frontends/qt4/*.C contains *_moc.cpp

2006-05-19 Thread Abdelrazak Younes
Jose' Matos a écrit : On Friday 19 May 2006 12:05, Abdelrazak Younes wrote: The first time I tried to drag one chapter, lyx crashed. You mean clicked right? Dragging is not supported. I know dragging is not supported, nevertheless it should not crash. Right, I'll have a look. It almo

Re: auto-view logic problem

2006-05-19 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> I think that configure.py should write "auto" if no Georg> viewer/editor was found and it was not explicitly requested Georg> that it should be empty (as needed for the lyx13x format). Georg> "none" should be equivalent to "" as it was

Re: [patch] prevent automatic loading of child documents for natbib labels

2006-05-19 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> It is in now. I did not change status.14x because this should Georg> be conssidered as part of the natbib speedup patch. Very good. JMarc

[Patch] Re: Fix for 2516

2006-05-19 Thread Martin Vermeer
On Fri, 2006-05-19 at 00:17 +0200, Jean-Marc Lasgouttes wrote: > > "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: > > Martin> This appears to fix the bug in my limited testing (I couldn't > Martin> reproduce the bug in the test file, only in the enum example) > > Yes, it looks reasona

CT Status Update

2006-05-19 Thread Michael Gerz
Hello everybody, unfortunately, my spare time was restricted this week which means that I couldn't work on change tracking as fast as I intended to. Expect the next CT cleanup by Monday. I promise, it will be very cool :-) Michael

Re: More scons fixes/improvements

2006-05-19 Thread Enrico Forestieri
On Fri, May 19, 2006 at 12:08:06AM -0500, Bo Peng wrote: > Updated patch attached. It now fails when linking lyxclient. I think it is due to missing -lintl and -lshlwapi. Then there is a problem with libraries ordering (I think -lsupports should come before -lboost_*). g++ -o release/common/clie

Re: [PATCH] frontends/qt4/*.C contains *_moc.cpp

2006-05-19 Thread Jose' Matos
On Friday 19 May 2006 12:05, Abdelrazak Younes wrote: > >   The first time I tried to drag one chapter, lyx crashed. > > You mean clicked right? Dragging is not supported. I know dragging is not supported, nevertheless it should not crash. It almost seem natural try to drag the chapter, it sh

Re: [PATCH] frontends/qt4/*.C contains *_moc.cpp

2006-05-19 Thread Abdelrazak Younes
Jose' Matos a écrit : On Friday 19 May 2006 10:46, Abdelrazak Younes wrote: It is slow, more than 1.4 ever was for me. I can notice it scrolling the User Guide. If you mean keyboard scrolling, part of the slowness is because I disabled the key buffering. I want to see profiling statistics wit

Qt widget to display LaTeX

2006-05-19 Thread Gunnar G
Hi. Since you are using Qt for LyX, I wonder, is there an easy way of using a (hopefully small) part of the LyX code to display LaTeX math formulas nicely in a ordinary Qt program? Something like: QLyXWidget* myWidget = new QLyXWidget("\\frac{3+x}{xy}); would be great.

Re: [PATCH] frontends/qt4/*.C contains *_moc.cpp

2006-05-19 Thread Jose' Matos
On Friday 19 May 2006 10:46, Abdelrazak Younes wrote: > > > > It is slow, more than 1.4 ever was for me. I can notice it scrolling > > the User Guide. > > If you mean keyboard scrolling, part of the slowness is because I > disabled the key buffering. I want to see profiling statistics without > i

Re: [PATCH] frontends/qt4/*.C contains *_moc.cpp

2006-05-19 Thread Abdelrazak Younes
Jose' Matos a écrit : On Friday 19 May 2006 10:10, Abdelrazak Younes wrote: So, what is your impression of the qt4 frontend? Is it slow as hell as some other reported? It is slow, more than 1.4 ever was for me. I can notice it scrolling the User Guide. If you mean keyboard scrolling, part

[Patch] Add document flag to formats and remove hardcoding in src/MenuBackend.C

2006-05-19 Thread Georg Baum
This is my updated patch to introduce the document format flag. This version does not touch the autoview feature at all. If I don't get objections I will put it in tomorrow. Georg Log: * src/format.[Ch] (document_): new flag, telling whether this is a document format and

Re: [PATCH] frontends/qt4/*.C contains *_moc.cpp

2006-05-19 Thread Jose' Matos
On Friday 19 May 2006 10:10, Abdelrazak Younes wrote: > So, what is your impression of the qt4 frontend? Is it slow as hell as > some other reported? It is slow, more than 1.4 ever was for me. I can notice it scrolling the User Guide. First the good news, I like it, it is slick. I noticed

auto-view logic problem

2006-05-19 Thread Georg Baum
When I was updating my patch to add a 'document' flag to the formats in order to get rid of the hardcoding in MenuBackend.C, I also wrote the documentation for it and for the autoview feature in Customization.lyx. I had a closer look at the autoview logic in configure.py and format.C, and it is

Re: Qt4 on Mac: success ... and problems

2006-05-19 Thread Abdelrazak Younes
Bennett Helm a écrit : I finally managed to get a version of LyX with Qt4 to compile on Mac using gcc-4.1.0. ... The good news is that it works. This is great news, thanks for doing this effort Bennett. The bad news is that it is S L O W -- much slower than LyX-1.4.0 (Qt3) ever was. And it'

Re: [PATCH] frontends/qt4/*.C contains *_moc.cpp

2006-05-19 Thread Abdelrazak Younes
Jose' Matos a écrit : On Friday 19 May 2006 09:41, Abdelrazak Younes wrote: This is weird... Is it a specificity of the Qt4 Fedora package? Qt4 claims that they don't use QTDIR at all. I am sorry, what I meant was that I have used: QT4DIR=/usr/lib/qt4 ./configure ... So I have used QT4DI

Re: qt4: popup widget for insert tabular

2006-05-19 Thread Abdelrazak Younes
Edwin Leuven a écrit : Abdelrazak Younes wrote: (talking to myself guys, don't pay attention...) I am listening Edwin :-) great! (ready for abuse? ;-) to put this in the toolbar we need to initialize the widget with the proper button as a parent and then connect some signals (or so i think

Bug 2179 (re: TeXErrors&par_id) now fixable

2006-05-19 Thread John McCabe-Dansted
If anyone is looking for a bug to fix, I understand that bug 2179 is fixable now that RandomAccessList has gone into LyX. This bug makes it hard to use the new "latex errors" dialog box. http://bugzilla.lyx.org/show_bug.cgi?id=2179 -- John C. McCabe-Dansted PhD Student University of Western Aust

Re: [PATCH] frontends/qt4/*.C contains *_moc.cpp

2006-05-19 Thread Jose' Matos
On Friday 19 May 2006 09:41, Abdelrazak Younes wrote: > This is weird... Is it a specificity of the Qt4 Fedora package? Qt4 > claims that they don't use QTDIR at all. I am sorry, what I meant was that I have used: QT4DIR=/usr/lib/qt4 ./configure ... So I have used QT4DIR for configure to kno

Re: [PATCH] frontends/qt4/*.C contains *_moc.cpp

2006-05-19 Thread Abdelrazak Younes
Jose' Matos a écrit : On Friday 19 May 2006 07:08, Lars Gullik Bjønnes wrote: A pity then that the most popular Linux distributions does not bring Qt4 to the table yet. That will only happen when kde4 shows. There are not many applications now using qt4, kde4 is (will be) the driving force

Re: [patch] prevent automatic loading of child documents for natbib labels

2006-05-19 Thread Georg Baum
Am Donnerstag, 18. Mai 2006 23:01 schrieb Jean-Marc Lasgouttes: > > "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: > > Georg> Here comes the long promised patch as discussed with Jean-Marc > Georg> and Jürgen. Jürgen, if that is OK with you I'll commit it. > > And if Jürgen is OK with it,

Re: [PATCH] frontends/qt4/*.C contains *_moc.cpp

2006-05-19 Thread Jose' Matos
On Friday 19 May 2006 07:08, Lars Gullik Bjønnes wrote: > > A pity then that the most popular Linux distributions does not bring > Qt4 to the table yet. That will only happen when kde4 shows. There are not many applications now using qt4, kde4 is (will be) the driving force for it. I am usin

Re: [PATCH] frontends/qt4/*.C contains *_moc.cpp

2006-05-19 Thread Georg Baum
Am Donnerstag, 18. Mai 2006 23:01 schrieb Abdelrazak Younes: > So, do you notice a nice improvement for compilation under Linux? I > would be interested to have comparison figures for qt3, qt4 and xforms. It is difficult to tell. I use ccache. Georg

Re: Ctl-M Issue on windows port

2006-05-19 Thread Georg Baum
Am Donnerstag, 18. Mai 2006 23:54 schrieb Rainer Dorsch: > Hello, > > we are working on a large LyX document and use CVS as a version control > system. One of the authors uses LyX on windows. His LyX files contain an > additional ^M on each line break. This is fine as long as nobody needs to >