Re: [patch] correctly implement rule 18a

2007-03-23 Thread Andre Poenitz
On Fri, Mar 23, 2007 at 03:38:07AM +0100, Enrico Forestieri wrote: Thanks for your appreciation. However, I must say that mine are finishing touches to an already well thought architecture. I applied a slightly improved patch: http://www.lyx.org/trac/changeset/17518 Unless I overlooked

Re: Compile times

2007-03-23 Thread Peter Kümmel
Andre Poenitz wrote: On Fri, Mar 23, 2007 at 12:06:27AM +0100, Peter Kümmel wrote: Merging qt4 on linux does not work, because xlib.h defines some symbols There is no xlib.h on my system. and gcc couldn't resolve symbols, which looks like a gcc bug. I know you won't believe me, but gcc

Re: [patch] correctly implement rule 18a

2007-03-23 Thread José Matos
On Friday 23 March 2007 7:00:07 am Andre Poenitz wrote: Probably not. When we have an implementation for small gadgets it will be interesting to test it, until there let us focus on more pressing needs. :-) Andre' -- José Abílio

Re: Compile times

2007-03-23 Thread Georg Baum
Andre Poenitz wrote: I just ttried binutils from cvs and got: real0m58.744s user0m8.969s sys 0m2.604s 'top' shows a load of 1.3 (with nothing else reallyh running), at most 25% CPU and plenty of RAM free. So what happens there? Seems they did some optimization :-) I have

Re: r17508 - in /lyx-devel/branches/personal/baum/BRANCH_1_4_...

2007-03-23 Thread Jean-Marc Lasgouttes
Georg == Georg Baum [EMAIL PROTECTED] writes: Georg This did annoy me so much today that I fixed it. The same patch Georg should work in trunk, too. Shall I put it in? This looks like a good idea. JMarc

Re: r17498 - in /lyx-devel/trunk: boost/libs/filesystem/src/o...

2007-03-23 Thread Jean-Marc Lasgouttes
Peter == Peter Kümmel [EMAIL PROTECTED] writes: We are not supposed to change boost. This will lead to a maintenance nightmare (who will remember to redo these changes again when we update boost)? Please revert. The real solution for this problem is to fix cmake. Or don't concatenate boost,

Re: Getting citep etc. to work for egs.cls

2007-03-23 Thread Jean-Marc Lasgouttes
Martin == Martin Vermeer [EMAIL PROTECTED] writes: OK, here is the still untested second iteration. I introduce a helper isNeeded, which is equivalent to isRequired ! provided (if you have a better name, please tell). With this change, any feature known to LyX can be provided by a class.

Re: [patch] Bidi / RTL / Hebrew, r17354, and bug 3040

2007-03-23 Thread Guy Rutenberg
Dov Feldstern [EMAIL PROTECTED] writes: Hi! I think that I've finally tracked down the cause for a problem we've been having for a long time with RTL / Hebrew in LyX 1.5. Specifically, this is the problem described in bug 3040 (see links below), where in the frontend, Hebrew words are

Re: [patch] Bidi / RTL / Hebrew, r17354, and bug 3040

2007-03-23 Thread Georg Baum
Dov Feldstern wrote: So that explains the bug. Now, to the possible solutions: Dov, you are definitely a hero! The outcome of the analysis is simple (and does not surprise me), but it was probably a lot of work. (1) Paint Hebrew/Arabic characters one at a time, so that Qt's Bidi algorithm

Re: Java program for editing .layout files

2007-03-23 Thread Martin Vermeer
On Thu, 22 Mar 2007 22:10:45 + (UTC) Angus Leeming [EMAIL PROTECTED] wrote: Richard Heck [EMAIL PROTECTED] writes: Helge Hafting wrote: Two of my students, Inge Solvåg and Stian Schie Bergan have written a java program for editing lyx .layout files. Fabulous. This could address one

Re: Compile times

2007-03-23 Thread Enrico Forestieri
On Fri, Mar 23, 2007 at 08:51:57AM +0100, Peter Kümmel wrote: Andre Poenitz wrote: On Fri, Mar 23, 2007 at 12:06:27AM +0100, Peter Kümmel wrote: Merging qt4 on linux does not work, because xlib.h defines some symbols There is no xlib.h on my system. and gcc couldn't resolve symbols,

Re: [patch] Bidi / RTL / Hebrew, r17354, and bug 3040

2007-03-23 Thread Dov Feldstern
Georg Baum wrote: Dov Feldstern wrote: So that explains the bug. Now, to the possible solutions: Dov, you are definitely a hero! The outcome of the analysis is simple (and does not surprise me), but it was probably a lot of work. Thanks... Yeah, it took a while, since the changes that

Re: Replace awk scripts in po/Makefile.in.in with a Python version.

2007-03-23 Thread Jean-Marc Lasgouttes
Bo == Bo Peng [EMAIL PROTECTED] writes: Bo, would it be possible to put all the code to generate pot files in python script(s) that could be used by both autotools and scons? Bo I have just done that. Please test it by Bo 1. cp po/Makefile to po/Makefile.old 2. svn up; ./configure 3. Bo

Re: Replace awk scripts in po/Makefile.in.in with a Python version.

2007-03-23 Thread Bo Peng
You need to make sure that the script works even that $srcdir is not the current directory. You might be able to rely on the location of lyx_pot.py itself (or add a -s switch to tell what the base sourcedir is). I doubt that make update-po can be run in VPATH. I have made changes so that .pot

[wish] Vowels (nikud) in Hebrew (and Arabic?)

2007-03-23 Thread Dov Feldstern
Dov Feldstern wrote: I can tell you that isComposeChar_arabic and isComposeChar_hebrew are definitely wrong. They still assume the old encodings. Fixing them is easy, but tedious: You have to translate each explicit codepoint in src/encoding.C from the old encoding to ucs4. The old encodings

Re: r17508 - in /lyx-devel/branches/personal/baum/BRANCH_1_4_...

2007-03-23 Thread José Matos
On Friday 23 March 2007 8:35:25 am Jean-Marc Lasgouttes wrote: This looks like a good idea. I agree. JMarc -- José Abílio

Re: [patch] Bidi / RTL / Hebrew, r17354, and bug 3040

2007-03-23 Thread Georg Baum
Dov Feldstern wrote: I'll try to look at it at some point. Note, however, that in Hebrew (and also in Arabic, I believe), the compose characters are only used for points (nikud in Hebrew), which are the equivalent of vowels, and are expressed by dots or lines printed above, below, or inside

Re: Java program for editing .layout files

2007-03-23 Thread Georg Baum
Martin Vermeer wrote: On Thu, 22 Mar 2007 22:10:45 + (UTC) Angus Leeming [EMAIL PROTECTED] wrote: Is the plan to integrate this into LyX itself? I'd imagine that it would become a dialog in the Qt frontend, no? Would require that it be re-written in C++ of course, but that's probably

Re: Java program for editing .layout files

2007-03-23 Thread Bo Peng
Python! Python!! Of course you all know that the correct punishment for using java in the first place is to reimplement it in python _and_ C++ :-) Seriously, this looks really good. This is something we have always wanted but we need to look ahead and see if we need to integrate this to

Re: Compile times

2007-03-23 Thread Andre Poenitz
On Fri, Mar 23, 2007 at 08:51:57AM +0100, Peter Kümmel wrote: Andre Poenitz wrote: On Fri, Mar 23, 2007 at 12:06:27AM +0100, Peter Kümmel wrote: Merging qt4 on linux does not work, because xlib.h defines some symbols There is no xlib.h on my system. and gcc couldn't resolve symbols,

Re: Compile times

2007-03-23 Thread Andre Poenitz
On Fri, Mar 23, 2007 at 09:28:24AM +0100, Georg Baum wrote: Andre Poenitz wrote: I just ttried binutils from cvs and got: real0m58.744s user0m8.969s sys 0m2.604s 'top' shows a load of 1.3 (with nothing else reallyh running), at most 25% CPU and plenty of RAM free.

Re: Compile times

2007-03-23 Thread Andre Poenitz
On Fri, Mar 23, 2007 at 12:28:20PM +0100, Enrico Forestieri wrote: On Fri, Mar 23, 2007 at 08:51:57AM +0100, Peter Kümmel wrote: Andre Poenitz wrote: On Fri, Mar 23, 2007 at 12:06:27AM +0100, Peter Kümmel wrote: Merging qt4 on linux does not work, because xlib.h defines some symbols

Re: r17498 - in /lyx-devel/trunk: boost/libs/filesystem/src/o...

2007-03-23 Thread Peter Kümmel
Jean-Marc Lasgouttes wrote: Peter == Peter Kümmel [EMAIL PROTECTED] writes: We are not supposed to change boost. This will lead to a maintenance nightmare (who will remember to redo these changes again when we update boost)? Please revert. The real solution for this problem is to fix

Re: Compile times

2007-03-23 Thread Peter Kümmel
Enrico Forestieri wrote: On Fri, Mar 23, 2007 at 08:51:57AM +0100, Peter Kümmel wrote: Andre Poenitz wrote: On Fri, Mar 23, 2007 at 12:06:27AM +0100, Peter Kümmel wrote: Merging qt4 on linux does not work, because xlib.h defines some symbols There is no xlib.h on my system. and gcc couldn't

Re: Compile times

2007-03-23 Thread Enrico Forestieri
On Fri, Mar 23, 2007 at 06:22:57PM +0100, Andre Poenitz wrote: On Fri, Mar 23, 2007 at 12:28:20PM +0100, Enrico Forestieri wrote: BTW, I think that Xlib.h must be present on Andre's system... Urm. yes. But not xlib.h... I had got the the sarcasm in your answer and was provoking you. After

Re: [Cvslog] r17528 - in /lyx-devel/trunk/src/mathed: InsetMathFontOld...

2007-03-23 Thread Enrico Forestieri
On Fri, Mar 23, 2007 at 06:55:51PM -, [EMAIL PROTECTED] wrote: Author: forenr Date: Fri Mar 23 19:55:50 2007 New Revision: 17528 URL: http://www.lyx.org/trac/changeset/17528 Log: Account for kerning when positioning scripts in the MathFontOld and MathUnknown insets. *

Re: [patch] correctly implement rule 18a

2007-03-23 Thread Enrico Forestieri
On Fri, Mar 23, 2007 at 08:13:38AM +, José Matos wrote: On Friday 23 March 2007 7:00:07 am Andre Poenitz wrote: Probably not. When we have an implementation for small gadgets it will be interesting to test it, until there let us focus on more pressing needs. :-) Ok. I just committed

1.5: make install failure

2007-03-23 Thread Bennett Helm
When running make install, I run into the following error: make install-data-hook PYTHONPATH=../../lib/lyx2lyx python -tt ./doc_toc.py Traceback (most recent call last): File ./doc_toc.py, line 148, in ? main(sys.argv) File ./doc_toc.py, line 127, in main usage() TypeError: usage()

Re: 1.5: make install failure

2007-03-23 Thread Bo Peng
When running make install, I run into the following error: make install-data-hook PYTHONPATH=../../lib/lyx2lyx python -tt ./doc_toc.py Traceback (most recent call last): File ./doc_toc.py, line 148, in ? main(sys.argv) File ./doc_toc.py, line 127, in main usage() TypeError:

Re: Compile times

2007-03-23 Thread Peter Kümmel
Enrico Forestieri wrote: On Fri, Mar 23, 2007 at 06:22:57PM +0100, Andre Poenitz wrote: On Fri, Mar 23, 2007 at 12:28:20PM +0100, Enrico Forestieri wrote: BTW, I think that Xlib.h must be present on Andre's system... Urm. yes. But not xlib.h... I had got the the sarcasm in your answer and

fix for bug 3258

2007-03-23 Thread Edwin Leuven
the attached patch avoids this crash: http://bugzilla.lyx.org/show_bug.cgi?id=3258 the problem (if i understand it well) is that the backspace is dispatched to the cell: cell(cur.idx())-dispatch(cur, cmd); which i think deletes the last insettext in the tabular (and the tabular inset?)

Re: [Cvslog] r17528 - in /lyx-devel/trunk/src/mathed: InsetMathFontOld...

2007-03-23 Thread Andre Poenitz
On Fri, Mar 23, 2007 at 08:00:11PM +0100, Enrico Forestieri wrote: --- lyx-devel/trunk/src/mathed/InsetMathUnknown.C (original) +++ lyx-devel/trunk/src/mathed/InsetMathUnknown.C Fri Mar 23 19:55:50 2007 @@ -56,6 +56,8 @@ bool InsetMathUnknown::metrics(MetricsInfo mi, Dimension dim)

Re: [Cvslog] r17528 - in /lyx-devel/trunk/src/mathed: InsetMathFontOld...

2007-03-23 Thread Enrico Forestieri
On Fri, Mar 23, 2007 at 11:58:23PM +0100, Andre Poenitz wrote: On Fri, Mar 23, 2007 at 08:00:11PM +0100, Enrico Forestieri wrote: --- lyx-devel/trunk/src/mathed/InsetMathUnknown.C (original) +++ lyx-devel/trunk/src/mathed/InsetMathUnknown.C Fri Mar 23 19:55:50 2007 @@ -56,6 +56,8 @@

Re: Compile times

2007-03-23 Thread Enrico Forestieri
On Fri, Mar 23, 2007 at 11:48:21PM +0100, Peter Kümmel wrote: Is the something like configure --enable-final for the auto tools? This is what I've reinvented for cmake. What do you mean? Something like --release, perhaps? In this case, I don't think so, but --disable-debug,

Re: Compile times

2007-03-23 Thread Peter Kümmel
Enrico Forestieri wrote: On Fri, Mar 23, 2007 at 11:48:21PM +0100, Peter Kümmel wrote: Is the something like configure --enable-final for the auto tools? This is what I've reinvented for cmake. What do you mean? Something like --release, perhaps? In this case, I don't think so, but

Re: Compile times

2007-03-23 Thread Enrico Forestieri
On Sat, Mar 24, 2007 at 12:54:33AM +0100, Peter Kümmel wrote: Enrico Forestieri wrote: On Fri, Mar 23, 2007 at 11:48:21PM +0100, Peter Kümmel wrote: Is the something like configure --enable-final for the auto tools? This is what I've reinvented for cmake. What do you mean?

Re: Compile times

2007-03-23 Thread Peter Kümmel
Enrico Forestieri wrote: On Sat, Mar 24, 2007 at 12:54:33AM +0100, Peter Kümmel wrote: Enrico Forestieri wrote: On Fri, Mar 23, 2007 at 11:48:21PM +0100, Peter Kümmel wrote: Is the something like configure --enable-final for the auto tools? This is what I've reinvented for cmake. What do

Re: Compile times

2007-03-23 Thread Peter Kümmel
Peter Kümmel wrote: Enrico Forestieri wrote: I assume building would also be -at least two times- faster with cygwin. ;) I feel like crying when I hear about full compile times below the hour ;) The fastest full compile takes here (2GHz, 1core, 512MB) 3 min 40 sec ;) cygwin also ships

Re: Compile times

2007-03-23 Thread Andre Poenitz
On Sat, Mar 24, 2007 at 12:54:33AM +0100, Peter Kümmel wrote: Enrico Forestieri wrote: On Fri, Mar 23, 2007 at 11:48:21PM +0100, Peter Kümmel wrote: Is the something like configure --enable-final for the auto tools? This is what I've reinvented for cmake. What do you mean? Something

Re: [patch] correctly implement rule 18a

2007-03-23 Thread Andre Poenitz
On Fri, Mar 23, 2007 at 03:38:07AM +0100, Enrico Forestieri wrote: > Thanks for your appreciation. However, I must say that mine are finishing > touches to an already well thought architecture. > > I applied a slightly improved patch: http://www.lyx.org/trac/changeset/17518 > > Unless I

Re: Compile times

2007-03-23 Thread Peter Kümmel
Andre Poenitz wrote: > On Fri, Mar 23, 2007 at 12:06:27AM +0100, Peter Kümmel wrote: >> Merging qt4 on linux does not work, because xlib.h defines some symbols > > There is no xlib.h on my system. > >> and gcc couldn't resolve symbols, which looks like a gcc bug. > > I know you won't believe

Re: [patch] correctly implement rule 18a

2007-03-23 Thread José Matos
On Friday 23 March 2007 7:00:07 am Andre Poenitz wrote: > Probably not. When we have an implementation for small gadgets it will be interesting to test it, until there let us focus on more pressing needs. :-) > Andre' -- José Abílio

Re: Compile times

2007-03-23 Thread Georg Baum
Andre Poenitz wrote: > I just ttried binutils from cvs and got: > > real0m58.744s > user0m8.969s > sys 0m2.604s > > 'top' shows a load of 1.3 (with nothing else reallyh running), at most > 25% CPU and plenty of RAM free. So what happens there? Seems they did some optimization :-) I

Re: r17508 - in /lyx-devel/branches/personal/baum/BRANCH_1_4_...

2007-03-23 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> This did annoy me so much today that I fixed it. The same patch Georg> should work in trunk, too. Shall I put it in? This looks like a good idea. JMarc

Re: r17498 - in /lyx-devel/trunk: boost/libs/filesystem/src/o...

2007-03-23 Thread Jean-Marc Lasgouttes
> "Peter" == Peter Kümmel <[EMAIL PROTECTED]> writes: >> We are not supposed to change boost. This will lead to a >> maintenance nightmare (who will remember to redo these changes >> again when we update boost)? Please revert. The real solution for >> this problem is to fix cmake. Or don't

Re: Getting citep etc. to work for egs.cls

2007-03-23 Thread Jean-Marc Lasgouttes
> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: >> OK, here is the still untested second iteration. I introduce a >> helper isNeeded, which is equivalent to "isRequired && ! provided" >> (if you have a better name, please tell). With this change, any >> feature known to LyX can be

Re: [patch] Bidi / RTL / Hebrew, r17354, and bug 3040

2007-03-23 Thread Guy Rutenberg
Dov Feldstern <[EMAIL PROTECTED]> writes: > > Hi! > > I think that I've finally tracked down the cause for a problem we've > been having for a long time with RTL / Hebrew in LyX 1.5. Specifically, > this is the problem described in bug 3040 (see links below), where in > the frontend, Hebrew

Re: [patch] Bidi / RTL / Hebrew, r17354, and bug 3040

2007-03-23 Thread Georg Baum
Dov Feldstern wrote: > So that explains the bug. Now, to the possible solutions: Dov, you are definitely a hero! The outcome of the analysis is simple (and does not surprise me), but it was probably a lot of work. > (1) Paint Hebrew/Arabic characters one at a time, so that Qt's Bidi >

Re: Java program for editing .layout files

2007-03-23 Thread Martin Vermeer
On Thu, 22 Mar 2007 22:10:45 + (UTC) Angus Leeming <[EMAIL PROTECTED]> wrote: > Richard Heck <[EMAIL PROTECTED]> writes: > > Helge Hafting wrote: > > > Two of my students, Inge Solvåg and Stian Schie Bergan have written a > > > java program for editing lyx .layout files. > > Fabulous. This

Re: Compile times

2007-03-23 Thread Enrico Forestieri
On Fri, Mar 23, 2007 at 08:51:57AM +0100, Peter Kümmel wrote: > Andre Poenitz wrote: > > On Fri, Mar 23, 2007 at 12:06:27AM +0100, Peter Kümmel wrote: > >> Merging qt4 on linux does not work, because xlib.h defines some symbols > > > > There is no xlib.h on my system. > > > >> and gcc couldn't

Re: [patch] Bidi / RTL / Hebrew, r17354, and bug 3040

2007-03-23 Thread Dov Feldstern
Georg Baum wrote: Dov Feldstern wrote: So that explains the bug. Now, to the possible solutions: Dov, you are definitely a hero! The outcome of the analysis is simple (and does not surprise me), but it was probably a lot of work. Thanks... Yeah, it took a while, since the changes that

Re: Replace awk scripts in po/Makefile.in.in with a Python version.

2007-03-23 Thread Jean-Marc Lasgouttes
> "Bo" == Bo Peng <[EMAIL PROTECTED]> writes: >> > Bo, would it be possible to put all the code to generate pot >> files in > python script(s) that could be used by both autotools >> and scons? Bo> I have just done that. Please test it by Bo> 1. cp po/Makefile to po/Makefile.old 2. svn up;

Re: Replace awk scripts in po/Makefile.in.in with a Python version.

2007-03-23 Thread Bo Peng
You need to make sure that the script works even that $srcdir is not the current directory. You might be able to rely on the location of lyx_pot.py itself (or add a -s switch to tell what the base sourcedir is). I doubt that make update-po can be run in VPATH. I have made changes so that .pot

[wish] Vowels (nikud) in Hebrew (and Arabic?)

2007-03-23 Thread Dov Feldstern
Dov Feldstern wrote: I can tell you that isComposeChar_arabic and isComposeChar_hebrew are definitely wrong. They still assume the old encodings. Fixing them is easy, but tedious: You have to translate each explicit codepoint in src/encoding.C from the old encoding to ucs4. The old encodings

Re: r17508 - in /lyx-devel/branches/personal/baum/BRANCH_1_4_...

2007-03-23 Thread José Matos
On Friday 23 March 2007 8:35:25 am Jean-Marc Lasgouttes wrote: > This looks like a good idea. I agree. > JMarc -- José Abílio

Re: [patch] Bidi / RTL / Hebrew, r17354, and bug 3040

2007-03-23 Thread Georg Baum
Dov Feldstern wrote: > I'll try to look at it at some point. Note, however, that in Hebrew (and > also in Arabic, I believe), the compose characters are only used for > "points" ("nikud" in Hebrew), which are the equivalent of vowels, and > are expressed by dots or lines printed above, below, or

Re: Java program for editing .layout files

2007-03-23 Thread Georg Baum
Martin Vermeer wrote: > On Thu, 22 Mar 2007 22:10:45 + (UTC) > Angus Leeming <[EMAIL PROTECTED]> wrote: > >> Is the plan to integrate this into LyX itself? I'd imagine that it would >> become a dialog in the Qt frontend, no? Would require that it be >> re-written in C++ of course, but that's

Re: Java program for editing .layout files

2007-03-23 Thread Bo Peng
> Python! Python!! Of course you all know that the correct punishment for using java in the first place is to reimplement it in python _and_ C++ :-) Seriously, this looks really good. This is something we have always wanted but we need to look ahead and see if we need to integrate this to

Re: Compile times

2007-03-23 Thread Andre Poenitz
On Fri, Mar 23, 2007 at 08:51:57AM +0100, Peter Kümmel wrote: > Andre Poenitz wrote: > > On Fri, Mar 23, 2007 at 12:06:27AM +0100, Peter Kümmel wrote: > >> Merging qt4 on linux does not work, because xlib.h defines some symbols > > > > There is no xlib.h on my system. > > > >> and gcc couldn't

Re: Compile times

2007-03-23 Thread Andre Poenitz
On Fri, Mar 23, 2007 at 09:28:24AM +0100, Georg Baum wrote: > Andre Poenitz wrote: > > > I just ttried binutils from cvs and got: > > > > real0m58.744s > > user0m8.969s > > sys 0m2.604s > > > > 'top' shows a load of 1.3 (with nothing else reallyh running), at most > > 25% CPU and

Re: Compile times

2007-03-23 Thread Andre Poenitz
On Fri, Mar 23, 2007 at 12:28:20PM +0100, Enrico Forestieri wrote: > On Fri, Mar 23, 2007 at 08:51:57AM +0100, Peter Kümmel wrote: > > Andre Poenitz wrote: > > > On Fri, Mar 23, 2007 at 12:06:27AM +0100, Peter Kümmel wrote: > > >> Merging qt4 on linux does not work, because xlib.h defines some

Re: r17498 - in /lyx-devel/trunk: boost/libs/filesystem/src/o...

2007-03-23 Thread Peter Kümmel
Jean-Marc Lasgouttes wrote: >> "Peter" == Peter Kümmel <[EMAIL PROTECTED]> writes: > >>> We are not supposed to change boost. This will lead to a >>> maintenance nightmare (who will remember to redo these changes >>> again when we update boost)? Please revert. The real solution for >>> this

Re: Compile times

2007-03-23 Thread Peter Kümmel
Enrico Forestieri wrote: > On Fri, Mar 23, 2007 at 08:51:57AM +0100, Peter Kümmel wrote: >> Andre Poenitz wrote: >>> On Fri, Mar 23, 2007 at 12:06:27AM +0100, Peter Kümmel wrote: Merging qt4 on linux does not work, because xlib.h defines some symbols >>> There is no xlib.h on my system. >>>

Re: Compile times

2007-03-23 Thread Enrico Forestieri
On Fri, Mar 23, 2007 at 06:22:57PM +0100, Andre Poenitz wrote: > On Fri, Mar 23, 2007 at 12:28:20PM +0100, Enrico Forestieri wrote: > > BTW, I think that Xlib.h must be present on Andre's system... > > Urm. yes. But not xlib.h... I had got the the sarcasm in your answer and was provoking you.

Re: [Cvslog] r17528 - in /lyx-devel/trunk/src/mathed: InsetMathFontOld...

2007-03-23 Thread Enrico Forestieri
On Fri, Mar 23, 2007 at 06:55:51PM -, [EMAIL PROTECTED] wrote: > Author: forenr > Date: Fri Mar 23 19:55:50 2007 > New Revision: 17528 > > URL: http://www.lyx.org/trac/changeset/17528 > Log: > Account for kerning when positioning scripts in the MathFontOld and > MathUnknown insets. > >

Re: [patch] correctly implement rule 18a

2007-03-23 Thread Enrico Forestieri
On Fri, Mar 23, 2007 at 08:13:38AM +, José Matos wrote: > On Friday 23 March 2007 7:00:07 am Andre Poenitz wrote: > > Probably not. > > When we have an implementation for small gadgets it will be interesting to > test it, until there let us focus on more pressing needs. :-) Ok. I just

1.5: make install failure

2007-03-23 Thread Bennett Helm
When running make install, I run into the following error: make install-data-hook PYTHONPATH=../../lib/lyx2lyx python -tt ./doc_toc.py Traceback (most recent call last): File "./doc_toc.py", line 148, in ? main(sys.argv) File "./doc_toc.py", line 127, in main usage() TypeError:

Re: 1.5: make install failure

2007-03-23 Thread Bo Peng
When running make install, I run into the following error: make install-data-hook PYTHONPATH=../../lib/lyx2lyx python -tt ./doc_toc.py Traceback (most recent call last): File "./doc_toc.py", line 148, in ? main(sys.argv) File "./doc_toc.py", line 127, in main usage() TypeError:

Re: Compile times

2007-03-23 Thread Peter Kümmel
Enrico Forestieri wrote: > On Fri, Mar 23, 2007 at 06:22:57PM +0100, Andre Poenitz wrote: >> On Fri, Mar 23, 2007 at 12:28:20PM +0100, Enrico Forestieri wrote: > >>> BTW, I think that Xlib.h must be present on Andre's system... >> Urm. yes. But not xlib.h... > > I had got the the sarcasm in your

"fix" for bug 3258

2007-03-23 Thread Edwin Leuven
the attached patch avoids this crash: http://bugzilla.lyx.org/show_bug.cgi?id=3258 the problem (if i understand it well) is that the backspace is dispatched to the cell: cell(cur.idx())->dispatch(cur, cmd); which i think deletes the last insettext in the tabular (and the tabular inset?)

Re: [Cvslog] r17528 - in /lyx-devel/trunk/src/mathed: InsetMathFontOld...

2007-03-23 Thread Andre Poenitz
On Fri, Mar 23, 2007 at 08:00:11PM +0100, Enrico Forestieri wrote: > > --- lyx-devel/trunk/src/mathed/InsetMathUnknown.C (original) > > +++ lyx-devel/trunk/src/mathed/InsetMathUnknown.C Fri Mar 23 19:55:50 2007 > > @@ -56,6 +56,8 @@ > > bool InsetMathUnknown::metrics(MetricsInfo & mi, Dimension &

Re: [Cvslog] r17528 - in /lyx-devel/trunk/src/mathed: InsetMathFontOld...

2007-03-23 Thread Enrico Forestieri
On Fri, Mar 23, 2007 at 11:58:23PM +0100, Andre Poenitz wrote: > On Fri, Mar 23, 2007 at 08:00:11PM +0100, Enrico Forestieri wrote: > > > --- lyx-devel/trunk/src/mathed/InsetMathUnknown.C (original) > > > +++ lyx-devel/trunk/src/mathed/InsetMathUnknown.C Fri Mar 23 19:55:50 2007 > > > @@ -56,6

Re: Compile times

2007-03-23 Thread Enrico Forestieri
On Fri, Mar 23, 2007 at 11:48:21PM +0100, Peter Kümmel wrote: > Is the something like "configure --enable-final" for the auto tools? > This is what I've "reinvented" for cmake. What do you mean? Something like --release, perhaps? In this case, I don't think so, but --disable-debug,

Re: Compile times

2007-03-23 Thread Peter Kümmel
Enrico Forestieri wrote: > On Fri, Mar 23, 2007 at 11:48:21PM +0100, Peter Kümmel wrote: > >> Is the something like "configure --enable-final" for the auto tools? >> This is what I've "reinvented" for cmake. > > What do you mean? Something like --release, perhaps? In this case, > I don't think

Re: Compile times

2007-03-23 Thread Enrico Forestieri
On Sat, Mar 24, 2007 at 12:54:33AM +0100, Peter Kümmel wrote: > Enrico Forestieri wrote: > > On Fri, Mar 23, 2007 at 11:48:21PM +0100, Peter Kümmel wrote: > > > >> Is the something like "configure --enable-final" for the auto tools? > >> This is what I've "reinvented" for cmake. > > > > What do

Re: Compile times

2007-03-23 Thread Peter Kümmel
Enrico Forestieri wrote: > On Sat, Mar 24, 2007 at 12:54:33AM +0100, Peter Kümmel wrote: > >> Enrico Forestieri wrote: >>> On Fri, Mar 23, 2007 at 11:48:21PM +0100, Peter Kümmel wrote: >>> Is the something like "configure --enable-final" for the auto tools? This is what I've

Re: Compile times

2007-03-23 Thread Peter Kümmel
Peter Kümmel wrote: > Enrico Forestieri wrote: >>> I assume building would also be -at least two times- >>> faster with cygwin. ;) >> I feel like crying when I hear about full compile times below >> the hour ;) >> > > The fastest full compile takes here (2GHz, 1core, 512MB) > 3 min 40 sec ;)

Re: Compile times

2007-03-23 Thread Andre Poenitz
On Sat, Mar 24, 2007 at 12:54:33AM +0100, Peter Kümmel wrote: > Enrico Forestieri wrote: > > On Fri, Mar 23, 2007 at 11:48:21PM +0100, Peter Kümmel wrote: > > > >> Is the something like "configure --enable-final" for the auto tools? > >> This is what I've "reinvented" for cmake. > > > > What do