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

2005-12-14 Thread Juergen Spitzmueller
Georg Baum wrote: > Jean-Marc Lasgouttes wrote: > > I think that this patch always makes sense, irrespectively of whether > > we manage to improve this font querying later... > > > > I'd propose to apply it. > > Me too. Lars? Jürgen

Re: lyx137pre5 native on win95, and lyx140pre2 cygwin on win95

2005-12-14 Thread Angus Leeming
Luis Rivera wrote: > LyX 137pre5 crashes badly again on Win95, unlike > its predecessor. I am posting screens of crash cries on Win95. H. C:/WINDOWS/TEMPlyx_tempdir-425411a44659 C:/WINDOWS/Application Data/LyXlastfiles These "feel" like someone is making paths as string my_path = fo

Re: plans to integrate lyx to cygwin?

2005-12-14 Thread Angus Leeming
Luis Rivera wrote: > Are there plans to integrate LyX to the cygwin distribution? There are no plans here to do so. Of course, if someone wishes to do so then that's great! -- Angus

plans to integrate lyx to cygwin?

2005-12-14 Thread Luis Rivera
Hello, Are there plans to integrate LyX to the cygwin distribution? AFAIK, this compile is the only one that works on every known flavor of Win32. 1.3.7 xforms dependencies: X11, perl, python, ghostscript, imagemagick... 1.4.0 xforms dependencies: X11, python, ghostscript, imagemagick... Qt co

lyx137pre5 native on win95, and lyx140pre2 cygwin on win95

2005-12-14 Thread Luis Rivera
Hello! I have very bad news. LyX 137pre5 crashes badly again on Win95, unlike its predecessor. I am posting screens of crash cries on Win95. However, this build works fine, apparently, on Win98. Save for a few glitches, due to some basic inability to cope with menu icons, it works pretty much

Re: [patch] Re: Mac speed, profiling

2005-12-14 Thread Martin Vermeer
On Wed, Dec 14, 2005 at 05:03:12PM +0100, Jean-Marc Lasgouttes wrote: > > "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: > > Bennett> On Dec 14, 2005, at 10:51 AM, Jean-Marc Lasgouttes wrote: > >>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > >> > Angus> Do I read top-down

Re: vector considered harmful.

2005-12-14 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> Btw, I noticed an unrelated redrawing bug (unchanged by this Andre> patch): Andre> New doc a a a a a a Andre> Andre> Andre> The lower paragraphs do not get redrawn correctly. I cannot reproduce this. Did someone else succee

Re: [patch] Re: Mac speed, profiling

2005-12-14 Thread Jean-Marc Lasgouttes
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> On Dec 14, 2005, at 10:51 AM, Jean-Marc Lasgouttes wrote: >>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: >> Angus> Do I read top-down correctly as saying that one half of all Angus> LyX's processing time is spent in

Re: [patch] Re: Mac speed, profiling

2005-12-14 Thread Bennett Helm
On Dec 14, 2005, at 10:51 AM, Jean-Marc Lasgouttes wrote: "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Do I read top-down correctly as saying that one half of all Angus> LyX's processing time is spent in doTextTask? Yes, drawing seems to be very slow with Qt/Mac. But this doe

Re: [patch] Re: Mac speed, profiling

2005-12-14 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Do I read top-down correctly as saying that one half of all Angus> LyX's processing time is spent in doTextTask? Yes, drawing seems to be very slow with Qt/Mac. JMarc

Re: [patch] Re: Mac speed, profiling

2005-12-14 Thread Jean-Marc Lasgouttes
> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: Martin> And you say nothing while I make a fool of myself? Nice. :) At that time Bennett felt removing the cache was slightly slower, so I wondered whether the Qt/Mac cache was efficient enough. JMarc

Re: [patch] Re: Mac speed, profiling

2005-12-14 Thread Jean-Marc Lasgouttes
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> I've posted a new profile Bennett> () Bennett> that took longer: I typed for about 1 minute, waited for LyX Bennett> to catch up, and stopped profiling. The drawin

Re: [patch] Re: Mac speed, profiling

2005-12-14 Thread Angus Leeming
Bennett Helm wrote: > On Dec 14, 2005, at 6:26 AM, Jean-Marc Lasgouttes wrote: > >> BTW Bennett, for the next Shark profile, it would be nice to have >> counts in addition to time %. > > I don't see how to get both counts and time %, but I've posted a new > profile with counts. Just in case it's

Re: [patch] Re: Mac speed, profiling

2005-12-14 Thread Jean-Marc Lasgouttes
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: >> The bottom up version is intriguing. I am not sure I know how to >> use it. Bennett> I take it you mean "top down": I've been giving you bottom-up Bennett> previously (since that's Shark's default). Hmm, shark-profile-2.txt looks top

Re: [patch] Re: Mac speed, profiling

2005-12-14 Thread Martin Vermeer
On Wed, 2005-12-14 at 15:26 +0100, Jean-Marc Lasgouttes wrote: > > "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: > > Bennett> On Dec 14, 2005, at 6:26 AM, Jean-Marc Lasgouttes wrote: > >> BTW Bennett, for the next Shark profile, it would be nice to have > >> counts in addition to time

Re: [patch] Re: Mac speed, profiling

2005-12-14 Thread Martin Vermeer
On Wed, 2005-12-14 at 15:54 +0100, Jean-Marc Lasgouttes wrote: > > "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: > > >> That seems to be within margin of error. > > Martin> What this means is that the Mac Qt version does internal > Martin> caching as well. As it should. Doesn't expla

Re: [patch] Re: Mac speed, profiling

2005-12-14 Thread Bennett Helm
On Dec 14, 2005, at 9:26 AM, Jean-Marc Lasgouttes wrote: "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> On Dec 14, 2005, at 6:26 AM, Jean-Marc Lasgouttes wrote: BTW Bennett, for the next Shark profile, it would be nice to have counts in addition to time %. Bennett> I don't s

Re: The userguide is wrong about un-nestable sectioning commands

2005-12-14 Thread Jean-Marc Lasgouttes
> "Helge" == Helge Hafting <[EMAIL PROTECTED]> writes: Helge> The userguide claims that you can't nest "section", Helge> "subsection", "subsection*" or "section*" into other Helge> environments. Helge> What do you want? * A bugzilla entry? * A patch to Helge> UserGuide.lyx? If so, is the one

Re: QPrefLatexModule.ui

2005-12-14 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> Hartmut Haase wrote: >> Here is a patch so that the papersize choices in >> tools->preferences->latex and document->preferences->page format >> are the same. Juergen> Fine with me, except for the addition of B3 and B4. A

Re: [patch] Re: Mac speed, profiling

2005-12-14 Thread Jean-Marc Lasgouttes
> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: >> That seems to be within margin of error. Martin> What this means is that the Mac Qt version does internal Martin> caching as well. As it should. Doesn't explain the slowness. Mind you, I actually read the Qt/Mac code before deciding

Re: [patch] Re: Mac speed, profiling

2005-12-14 Thread Martin Vermeer
On Wed, 2005-12-14 at 09:27 -0500, Bennett Helm wrote: > On Dec 14, 2005, at 8:42 AM, Jean-Marc Lasgouttes wrote: > > >> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: > > > > Martin> Looking at qfont_loader.C, I see that there was font width > > Martin> caching for, as it says, > > >

Re: [patch] Re: Mac speed, profiling

2005-12-14 Thread Bennett Helm
On Dec 14, 2005, at 8:42 AM, Jean-Marc Lasgouttes wrote: "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: Martin> Looking at qfont_loader.C, I see that there was font width Martin> caching for, as it says, Martin> "// Starting with version 3.1.0, Qt/X11 does its own caching Martin> of /

Re: [patch] Re: Mac speed, profiling

2005-12-14 Thread Jean-Marc Lasgouttes
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> On Dec 14, 2005, at 6:26 AM, Jean-Marc Lasgouttes wrote: >> BTW Bennett, for the next Shark profile, it would be nice to have >> counts in addition to time %. Bennett> I don't see how to get both counts and time %, but I've Benn

Re: Contribution to LyX

2005-12-14 Thread Jean-Marc Lasgouttes
> "Alex" == Alex <[EMAIL PROTECTED]> writes: Alex> Dear Community, My contributions to LyX should be licensed under Alex> the terms of the: Gnu General Public License (GPL) version 2 or Alex> later. Alex> Please use them accordingly. Thanks, I updated the credits info accordingly. JMarc

Re: [patch] Re: Mac speed, profiling

2005-12-14 Thread Jean-Marc Lasgouttes
> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: Martin> Looking at qfont_loader.C, I see that there was font width Martin> caching for, as it says, Martin> "// Starting with version 3.1.0, Qt/X11 does its own caching Martin> of // character width, so it is not necessary to provide Ma

Re: [patch] Re: Mac speed, profiling

2005-12-14 Thread Bennett Helm
On Dec 14, 2005, at 6:26 AM, Jean-Marc Lasgouttes wrote: BTW Bennett, for the next Shark profile, it would be nice to have counts in addition to time %. I don't see how to get both counts and time %, but I've posted a new profile with counts. Just in case it's helpful, I posted both a bott

[Patch] lib/doc/Makefile.depend missed the no->nb language transition in 1.4cvs

2005-12-14 Thread Helge Hafting
lib/doc/Makefile.depend still tried to make "no_TOC.lyx", when it was supposed to be "nb_TOC.lyx". Attached a patch that fixes this, including a Changelog entry. You won't see this on a normal build if you have an old "no_TOC.lyx" lying around from earlier builds, but it broke "make install" aft

Re: OT: Emacs formatting question

2005-12-14 Thread Angus Leeming
[EMAIL PROTECTED] wrote: > On Wed, 14 Dec 2005, Angus Leeming wrote: > >> Guys, I find that I can tell emacs how to format individual source files >> explicitly, overriding the contents of my .emacs file. > > What happens if you manually set your mode formatting variables and then > reformat the

Re: OT: Emacs formatting question

2005-12-14 Thread chr
On Wed, 14 Dec 2005, Angus Leeming wrote: > Guys, I find that I can tell emacs how to format individual source files > explicitly, overriding the contents of my .emacs file. What happens if you manually set your mode formatting variables and then reformat the text? > Does anyone know the comma

Re: [patch] Re: Mac speed, profiling

2005-12-14 Thread Jean-Marc Lasgouttes
> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: >> It is done in setCursor, maybe Alfredo knows why? Martin> First off, I commented out the redoParagraph statement in Martin> setTargetX, and LyX started crashing on backspace. It seems to Martin> be needed... Too bad :) Martin> Do

OT: Emacs formatting question

2005-12-14 Thread Angus Leeming
Guys, I find that I can tell emacs how to format individual source files explicitly, overriding the contents of my .emacs file. For example, in one project where I'm using this I have as the first line of each *.{h,cpp} file: // -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; -*- That'

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

2005-12-14 Thread Georg Baum
Jean-Marc Lasgouttes wrote: >> "Lars" == Lars Gullik Bjønnes >> <[EMAIL PROTECTED]> writes: > > Lars> But what is the delay caused by. Not everyone sees it. Is it the > Lars> sheer number of fonts, or is it that some fonts are missing? It seems that a noticeable part of the delay happens