Re: [patch] Re: Mac speed, profiling

2005-12-12 Thread Jean-Marc Lasgouttes
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> It seems to be. (I'm swamped today, but I'll investigate more Bennett> carefully -- and provide a new Shark profile -- when I can.) Please provide a shark profile of a binary not configured with profiling enabled. (although I di

Re: [patch] Re: Mac speed, profiling

2005-12-12 Thread Bennett Helm
On Dec 9, 2005, at 5:25 PM, Martin Vermeer wrote: Quote: "Done. I opened lyx, opened a file with a long paragraph in an Bennett> inset, typed a sentence in the middle of that paragraph (and Bennett> waited until the screen caught up), and then quit." Is this what you did in all these tests?

Re: vector considered harmful.

2005-12-12 Thread Georg Baum
Jean-Marc Lasgouttes wrote: > What I do not understand is why we use std::swap. Is that some clever > C++ idiom? For example SwitchBetweenLayouts does > > InsetText in; > std::swap(in.paragraphs(), pars); > > // layouts > ParIterator end = par_iterator_end(in); > for (ParIterator it = par_iterat

Re: vector considered harmful.

2005-12-12 Thread Martin Vermeer
On Mon, 2005-12-12 at 14:57 +0100, Jean-Marc Lasgouttes wrote: ... > What I do not understand is why we use std::swap. Is that some clever > C++ idiom? For example SwitchBetweenLayouts does > > InsetText in; > std::swap(in.paragraphs(), pars); > > // layouts > ParIterato

Re: vector considered harmful.

2005-12-12 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> This is supposed to handle directly the case of insertion of a Andre> single paragraph far from the end of the document. Andre> While I cannot see anything getting worse, the par id still go Andre> up quickly. More precisely, the i

Re: [experimental patch] fix bug 1973

2005-12-12 Thread Helge Hafting
This patch seems to do the same as the previous one I tested. As expected, the comments didn't change anything Helge Hafting

[Bug] Tex2lyx produced file not readable

2005-12-12 Thread Abdel
Hello, I think I found a bug in the latest version of Tex2lyx for windows. I am using lyx-1.3.7pre5 for windows (XP). I can send you complete files if needed. Hope this helps, Abdel. lyx -dbg any gives : [~Local Settings/Temp/lyx_tmpdir1672a00960/1672a00960]-> >[~Local Settings\Temp\lyx

Re: [patch] Re: LyX startup times, was: Re: Forget Windows

2005-12-12 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > Andre> Do _we_ look at every font or is it Qt? > > Not sure. Anyway, it looks like we actually try to load the fonts, and > using QFontDatabase to look for availability seems more reasonable. Probably. Anyway, I think initMath() should be moved to math_hullinset none

Re: [patch] bug 2148: paper sizes in preferences

2005-12-12 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > Apply your patch then. done. Jürgen

Re: [experimental patch] fix bug 1973

2005-12-12 Thread Georg Baum
Jean-Marc Lasgouttes wrote: >> "Georg" == Georg Baum >> <[EMAIL PROTECTED]> >> writes: > > Georg> This is not how it works now (in 1.3 and 1.4), at least not for > Georg> tables. Assuming that the table cells have no explicit font > Georg> setting, we'll get > > Georg> \textbf{bla}\b

Re: [patch] bug 2148: paper sizes in preferences

2005-12-12 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> Jean-Marc Lasgouttes wrote: >> Could you explain what the actual problem was? Juergen> The problem was that there were off-by-x errors due to the Juergen> fact that the Prefs dialog only uses a subset of the Juergen> pap

Re: [patch] Re: Mac speed, profiling

2005-12-12 Thread Martin Vermeer
On Fri, 2005-12-09 at 16:07 -0500, Bennett Helm wrote: > On Dec 9, 2005, at 3:03 PM, Martin Vermeer wrote: > > > On Thu, Dec 08, 2005 at 12:31:40PM -0500, Bennett Helm wrote: ... > > Bennett, > > > > the attached should produce a noticable speedup. > > > > (Lars likes simple patches :) > > Well

Re: [patch] bug 2148: paper sizes in preferences

2005-12-12 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > Could you explain what the actual problem was? The problem was that there were off-by-x errors due to the fact that the Prefs dialog only uses a subset of the papersizes that are defined in paper.h. The helper functions translate the combo item id to the correspond

Re: Perhaps a bug on the preferences menu

2005-12-12 Thread Jean-Marc Lasgouttes
> "Giorgio" == Giorgio Zavarise <[EMAIL PROTECTED]> writes: Giorgio> If I don't have any "environment.plist file then I found the Giorgio> Lyx preferences as first choice under the LyX menu, BUT if I Giorgio> use the above environment. plist then the "preferences" menu Giorgio> under LyX simpl

Re: [patch] Re: LyX startup times, was: Re: Forget Windows

2005-12-12 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> Do _we_ look at every font or is it Qt? Not sure. Anyway, it looks like we actually try to load the fonts, and using QFontDatabase to look for availability seems more reasonable. John, is there a reason why this has not been done

Re: [patch] bug 2148: paper sizes in preferences

2005-12-12 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> Juergen Spitzmueller wrote: >> http://bugzilla.lyx.org/show_bug.cgi?id=2148 Juergen> Here's a stylistically slightly reworked version. The patch Juergen> has been tested and fixes the main problem (see bugzilla). Juergen

Re: [experimental patch] fix bug 1973

2005-12-12 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> This is not how it works now (in 1.3 and 1.4), at least not for Georg> tables. Assuming that the table cells have no explicit font Georg> setting, we'll get Georg> \textbf{bla}\begin{tabular}foo\end{tabular}\textbf{baz} In my view th