[patch] text2lyx Makefile.am (was: FYI: make -j 5 fails)

2003-10-17 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: | | Sure... 'make -j 5 || make -j 5' works since there seems to be only at | | tex2lyx where this fails. Just wanted to let you know where the problem | | is. > | I just had a look at the Makefile... no wonder it fails. It is only | FloatList.C th

Re: FYI: make -j 5 fails

2003-10-17 Thread Lars Gullik Bjønnes
Christian Ridderström <[EMAIL PROTECTED]> writes: | On Fri, 17 Oct 2003, Lars Gullik Bjønnes wrote: > >> Christian Ridderström <[EMAIL PROTECTED]> writes: >> >> | Not being able to use even 'make -j 2' is kind of annyoing when you're >> | compiling on a dual-processor machine :-( On the bright

Re: FYI: make -j 5 fails

2003-10-17 Thread Christian Ridderström
On Fri, 17 Oct 2003, Lars Gullik Bjønnes wrote: > Christian Ridderström <[EMAIL PROTECTED]> writes: > > | Not being able to use even 'make -j 2' is kind of annyoing when you're > | compiling on a dual-processor machine :-( On the bright side, just doing > | 'make' again finishes the built ok.

Re: FYI: make -j 5 fails

2003-10-17 Thread Lars Gullik Bjønnes
Christian Ridderström <[EMAIL PROTECTED]> writes: | Not being able to use even 'make -j 2' is kind of annyoing when you're | compiling on a dual-processor machine :-( On the bright side, just doing | 'make' again finishes the built ok. Until this get fixed use make -j 5 -k make or something

Re: FYI: make -j 5 fails

2003-10-17 Thread Christian Ridderström
On Fri, 17 Oct 2003, Jose' Matos wrote: > Christian, sometimes even make -j3 fails. As an example, yesterday that > happened to me in tex2lyx directory. > > Given the number of times I compile lyx one more doesn't deserve the time to > report it. :-) > > But I think that your report make

Re: Stlport+gcc-2.96 builds but does not run

2003-10-17 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> does the link also link witht he STLposrt io lib? I guess that if it did not, I would have had a few missing symbols. The command line is gcc-2.96 -fno-exceptions -ftemplate-depth-30 -Wno-non-template-friend -W -Wall -o lyx-x

Re: [PATCH] alignment stuff : 1rst patch

2003-10-17 Thread Alain Castera
On Fri, 17 Oct 2003, Jean-Marc Lasgouttes wrote: > Alain> At the user level, my slant is somewhat different. I can change > Alain> the layout of a whole block (even by mistake), then change my > Alain> mind and go back to the original. With your approach, this will > Alain> imply to set back each

Re: Stlport+gcc-2.96 builds but does not run

2003-10-17 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: >> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: > | Lars> You are sure there are not mixing of io libs? > | OK, I changed my script to use gcc-2.96 instead of g++-2.96, to avoid | the extra -lstdc++. > | Nevertheless, ldd tells me t

Re: Stlport+gcc-2.96 builds but does not run

2003-10-17 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> You are sure there are not mixing of io libs? OK, I changed my script to use gcc-2.96 instead of g++-2.96, to avoid the extra -lstdc++. Nevertheless, ldd tells me that lyx-qt is linked against libstdc++. It seems that I cannot

Re: [PATCH] alignment stuff : 1rst patch

2003-10-17 Thread John Levon
On Fri, Oct 17, 2003 at 04:42:46PM +0200, Jean-Marc Lasgouttes wrote: > Yes, I can see that. John, would you think that adding this 'default' > alignment specifier is a good idea UI-wise? It may be, after all... (Warning: I haven't been reading this thread) On the one hand, "default" is not ver

lyx-devel@lists.lyx.org

2003-10-17 Thread John Levon
On Fri, Oct 17, 2003 at 09:40:10AM +0200, Andre Poenitz wrote: > I'd think we should simply store a copy of the font used in the > surrounding paragraph in each LyXText in the metrics phase and drop all > this 'go ask my parent' business. This technique got broken by rowlist anyway - so the previ

Re: [patch] textcache

2003-10-17 Thread John Levon
On Fri, Oct 17, 2003 at 12:07:18PM +0200, Andre Poenitz wrote: > Most notably, the 'fill' computation could be merged with the > 'rowBreakPoint' stuff as it alomost does the same thing. This way > only half of the width() calls would be needed... If you go anywhere near row-breaking please make

Re: [PATCH] alignment stuff : 1rst patch

2003-10-17 Thread Jean-Marc Lasgouttes
> "Alain" == Alain Castera <[EMAIL PROTECTED]> writes: Alain> On Wed, 15 Oct 2003, Jean-Marc Lasgouttes wrote: >> So the question is: ``do we really want to do that?''. What I mean >> is that nobody has complained yet that we lack an option to set >> alignment to default. Alain> I should have

Re: Stlport+gcc-2.96 builds but does not run

2003-10-17 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | I finally managed to compile cvs on gcc 2.96 using stlport. I used an | approach slightly different from Martin's, that is a small shell | wrapper around gcc. This allows to use this as your compiler. The | script is attached. > | I needed also th

Stlport+gcc-2.96 builds but does not run

2003-10-17 Thread Jean-Marc Lasgouttes
I finally managed to compile cvs on gcc 2.96 using stlport. I used an approach slightly different from Martin's, that is a small shell wrapper around gcc. This allows to use this as your compiler. The script is attached. I needed also the attached trivial patch to compile (which I am going to com

Re: FYI: make -j 5 fails

2003-10-17 Thread Jose' Matos
On Friday 17 October 2003 14:55, Christian Ridderström wrote: > Just wanted to let you know that building the xforms version fails when > using 'make -j 5'. Plain 'make' works however. Right now I'm testing if > 'make -j 3' works. Christian, sometimes even make -j3 fails. As an example, yesterda

FYI: make -j 5 fails

2003-10-17 Thread Christian Ridderström
Just wanted to let you know that building the xforms version fails when using 'make -j 5'. Plain 'make' works however. Right now I'm testing if 'make -j 3' works. In case anyone wants to look at this, I attached the some of the messages I got below. /Christian echo timestamp > Timeout.lo g++

Re: [patch] dispatch patch

2003-10-17 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> | What is this priv_dispatch thingy, actually? Lars> for me to have a place to put stuff I want executed for all Lars> inset::dispatch. OK, I see now. Thanks. JMarc

Re: [patch] dispatch patch

2003-10-17 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: >> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: > | Lars> [EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: | I'd like to | Lars> commit this. WIP towards clearer/saner dispatch structure. >>> | Lars> | Objections? > | Lars> and now t

Re: [patch] dispatch patch

2003-10-17 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> [EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: | I'd like to Lars> commit this. WIP towards clearer/saner dispatch structure. >> Lars> | Objections? Lars> and now the patch... What is this priv_dispatch thingy, actually? +pr

Script that times the execution of lyx

2003-10-17 Thread Christian Ridderström
Hi While waiting for my compilations to fail I've played with bash, writing a script that basically runs: lyx -c 'command-sequence ...' Anyway, the script can be used like this: euler:test-scripts>./time-lyx.sh Syntax: time-lyx.sh [options] command-sequence Example: $ time-lyx.sh "lyx

[patch] dispatch patch

2003-10-17 Thread Lars Gullik Bjønnes
I'd like to commit this. WIP towards clearer/saner dispatch structure. Objections? -- Lgb

Re: suggestion for timing events

2003-10-17 Thread Lars Gullik Bjønnes
Christian Ridderström <[EMAIL PROTECTED]> writes: | I've got a suggestion for timing events in lyx. > | How about adding an LFUN that starts/stops/shows a timer? Then timing | something could be as simple as this: > | lyx -x 'command-sequence 'timer reset; file-open UserGuide.lyx; timer stop; |

Re: error again...

2003-10-17 Thread Lars Gullik Bjønnes
Christian Ridderström <[EMAIL PROTECTED]> writes: | On Fri, 17 Oct 2003, Lars Gullik Bjønnes wrote: > >> Christian Ridderström <[EMAIL PROTECTED]> writes: >> >> | On Thu, 16 Oct 2003, Christian Ridderström wrote: >> > >> | bläh... I've gotten loads of link errors now that I'm back. To be on the

suggestion for timing events

2003-10-17 Thread Christian Ridderström
I've got a suggestion for timing events in lyx. How about adding an LFUN that starts/stops/shows a timer? Then timing something could be as simple as this: lyx -x 'command-sequence 'timer reset; file-open UserGuide.lyx; timer stop; timer show; lyx-quit;' /Christian -- Christian Ridder

Re: error again...

2003-10-17 Thread Lars Gullik Bjønnes
Christian Ridderström <[EMAIL PROTECTED]> writes: | On Fri, 17 Oct 2003, Lars Gullik Bjønnes wrote: > >> Christian Ridderström <[EMAIL PROTECTED]> writes: >> >> Are you qt3 compiled with the same compiler that you use to compile >> LyX? > | I'll just skip the qt frontend for now and try compiling

Re: error again...

2003-10-17 Thread Christian Ridderström
On Fri, 17 Oct 2003, Lars Gullik Bjønnes wrote: > Christian Ridderström <[EMAIL PROTECTED]> writes: > > Are you qt3 compiled with the same compiler that you use to compile > LyX? I'll just skip the qt frontend for now and try compiling for xforms instead. /Christian -- Christian Ridderström

Re: error again...

2003-10-17 Thread Christian Ridderström
On Fri, 17 Oct 2003, Lars Gullik Bjønnes wrote: > Christian Ridderström <[EMAIL PROTECTED]> writes: > > | On Thu, 16 Oct 2003, Christian Ridderström wrote: > > > | bläh... I've gotten loads of link errors now that I'm back. To be on the > | safe side I erased *everything* and started over. > >

Re: [patch] textcache

2003-10-17 Thread Andre Poenitz
On Fri, Oct 17, 2003 at 11:27:03AM +0200, Lars Gullik Bjønnes wrote: > | Switching between two UserGuides is a bit slow, but acceptable. > | However on a P-III 500 (f.ex.) the switching would be really anoying. > | (I wouldn't think about a P-II...) > > Switching seems better (tiny bit) as well. p

lyx-devel@lists.lyx.org

2003-10-17 Thread Andre Poenitz
On Fri, Oct 17, 2003 at 09:52:53AM +0200, Lars Gullik Bjønnes wrote: > Andre Poenitz <[EMAIL PROTECTED]> writes: > > | This replaces quite a few occurences of RowList::iterator by simple Row > | (const) & and ParagraphList::iterator by Paragraph const &. > > > | The worst remaining offender is get

Re: [patch] textcache

2003-10-17 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: | This is with a P-III 1000Mhz. (lot of memory, but a laptop so the | io-subsystem is really bad..) > | time ./src/lyx -x 'lyx-quit ;' > | real0m0.853s | user0m0.460s | sys 0m0.020s current CVS: real0m0.590s user0m0.220s sys

Re: profile

2003-10-17 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | Note that this 2.1% should even be useless, since all the FileSearch | calls seem to use paths that should not contain environment variables | as far as I can see. We could probably just make sure in | path_defines.C that variables are replaced in

Re: profile

2003-10-17 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: >> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: > | Lars> Right. The regex machinery is compiling the regex stirng into a | Lars> state machine, so this should only be done once (static). > | So we should do that for all regex uses,

lyx-devel@lists.lyx.org

2003-10-17 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | This replaces quite a few occurences of RowList::iterator by simple Row | (const) & and ParagraphList::iterator by Paragraph const &. > | The worst remaining offender is getChar which 'needs' a | ParagraphList::iterator because of the 'outer' font magic.

Re: profile

2003-10-17 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> On Thu, Oct 16, 2003 at 06:34:54PM +0200, Jean-Marc Lasgouttes Andre> wrote: >> > "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: >> Andre> So 'lyx::support::ReplaceEnvironmentPath' curently wastes about Andre> 20% of the

Re: profile

2003-10-17 Thread Andre Poenitz
On Fri, Oct 17, 2003 at 09:37:04AM +0200, Asger Kunuk Alstrup wrote: > To profile scrolling speed, I usually just open the user guide, hold page > down until the end of the document, and then end. > Or, if it is mouse scrolling, then just do that. But it's hard to get the same numbers for two diff

Re: profile

2003-10-17 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Right. The regex machinery is compiling the regex stirng into a Lars> state machine, so this should only be done once (static). So we should do that for all regex uses, right? JMarc

Re: textcache

2003-10-17 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | Could we please commit the textcache removal or deactivation patch | please? I'll do it right after I have tested my laptop again. two hours max. -- Lgb

lyx-devel@lists.lyx.org

2003-10-17 Thread Andre Poenitz
This replaces quite a few occurences of RowList::iterator by simple Row (const) & and ParagraphList::iterator by Paragraph const &. The worst remaining offender is getChar which 'needs' a ParagraphList::iterator because of the 'outer' font magic. I'd think we should simply store a copy of the fo

Re: [PATCH] Inverse search update.

2003-10-17 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Undesirability? I get lots of warning messages when generating Angus> previews for a file with \usepackage{srcltx} in the preamble. Angus> Dunno if that's something to bear in mind or not. Warnings about specials can usually be sup

Re: profile

2003-10-17 Thread Asger Kunuk Alstrup
To profile scrolling speed, I usually just open the user guide, hold page down until the end of the document, and then end. Or, if it is mouse scrolling, then just do that. It's not completely accurate, but it is good enough to find the bottlenecks. Regards, ASger

Re: error again...

2003-10-17 Thread Lars Gullik Bjønnes
Christian Ridderström <[EMAIL PROTECTED]> writes: | On Thu, 16 Oct 2003, Christian Ridderström wrote: > | bläh... I've gotten loads of link errors now that I'm back. To be on the | safe side I erased *everything* and started over. Are you qt3 compiled with the same compiler that you use to comp

textcache

2003-10-17 Thread Andre Poenitz
Could we please commit the textcache removal or deactivation patch please? Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)