Re: Latest patch (Re: Mac speed, profiling)

2005-12-30 Thread Martin Vermeer
On Fri, Dec 30, 2005 at 12:00:13AM +0100, Lars Gullik Bjønnes wrote: Martin Vermeer [EMAIL PROTECTED] writes: | Attached, finally, the corrected version of the patch using crc32. Turns | out y isn't needed here after all. Any noticble speed difference? Not for me... Bennett? I would be

Re: [patch] Packaging of LyX

2005-12-30 Thread Juergen Spitzmueller
Georg Baum wrote: On Friday 30 December 2005 00:02, Lars Gullik Bjønnes wrote: Ah... can you also try to move the LYX_USE_PACKAGING after the AM_INIT_AUTOMAKE? Seems to work for me. This works partially. The files dir now has the suffix (/usr/local/lyx-cvs), but the personal dir still is

Re: Latest patch (Re: Mac speed, profiling)

2005-12-30 Thread Lars Gullik Bjønnes
Martin Vermeer [EMAIL PROTECTED] writes: | lyx::size_type calculateRowSignature(Row const row) | { | boost::crc_32_type crc; | for (lyx::pos_type i = row.pos(); i row.endpos(); ++i) { | const unsigned char b[] = { par.getChar(i) }; | crc.process_bytes(b,

Re: [patch] Packaging of LyX

2005-12-30 Thread Lars Gullik Bjønnes
Juergen Spitzmueller [EMAIL PROTECTED] writes: | Georg Baum wrote: | On Friday 30 December 2005 00:02, Lars Gullik Bjønnes wrote: | Ah... can you also try to move the LYX_USE_PACKAGING after the | AM_INIT_AUTOMAKE? | | Seems to work for me. | | This works partially. The files dir now has

Re: [patch] Packaging of LyX

2005-12-30 Thread Juergen Spitzmueller
Lars Gullik Bjønnes wrote: A bit strange... what is PACKAGE defined as? In config.h f.ex.? #define PACKAGE lyx Jürgen

Re: [patch] Packaging of LyX

2005-12-30 Thread Lars Gullik Bjønnes
Juergen Spitzmueller [EMAIL PROTECTED] writes: | Lars Gullik Bjønnes wrote: | A bit strange... what is PACKAGE defined as? In config.h f.ex.? | | #define PACKAGE lyx And you are of course configuring with --with-version-suffix=cvs? -- Lgb

Re: [patch] Packaging of LyX

2005-12-30 Thread Juergen Spitzmueller
Lars Gullik Bjønnes wrote: | #define PACKAGE lyx And you are of course configuring with --with-version-suffix=cvs? --with-version-suffix=-cvs Jürgen

Re: [patch] Packaging of LyX

2005-12-30 Thread Lars Gullik Bjønnes
Juergen Spitzmueller [EMAIL PROTECTED] writes: | Lars Gullik Bjønnes wrote: | A bit strange... what is PACKAGE defined as? In config.h f.ex.? | | #define PACKAGE lyx And with the reordeing of the configure.ac macros patch? -- Lgb

Re: [patch] Packaging of LyX

2005-12-30 Thread Juergen Spitzmueller
Lars Gullik Bjønnes wrote: | #define PACKAGE lyx And with the reordeing of the configure.ac macros patch? with Georg's second patch, yes. Note that things improved with the patch: the files dir is correct, so in configure.ac:310, where real_datadir is defined as real_datadir=`eval

Re: [patch] Packaging of LyX

2005-12-30 Thread Georg Baum
On Friday 30 December 2005 10:51, Juergen Spitzmueller wrote: Georg Baum wrote: On Friday 30 December 2005 00:02, Lars Gullik Bjønnes wrote: Ah... can you also try to move the LYX_USE_PACKAGING after the AM_INIT_AUTOMAKE? Seems to work for me. This works partially. The files dir now

Re: [patch] Packaging of LyX

2005-12-30 Thread Lars Gullik Bjønnes
Juergen Spitzmueller [EMAIL PROTECTED] writes: | Lars Gullik Bjønnes wrote: | | #define PACKAGE lyx | | And with the reordeing of the configure.ac macros patch? | | with Georg's second patch, yes. Note that things improved with the patch: the | files dir is correct, so in configure.ac:310,

Re: [patch] Packaging of LyX

2005-12-30 Thread Georg Baum
On Friday 30 December 2005 11:42, Juergen Spitzmueller wrote: with Georg's second patch, yes. Note that things improved with the patch: the files dir is correct, so in configure.ac:310, where real_datadir is defined as real_datadir=`eval echo \`eval \echo ${datadir}/${PACKAGE}\\``

Re: [patch] Packaging of LyX

2005-12-30 Thread Juergen Spitzmueller
Lars Gullik Bjønnes wrote: Ok, now do me a favour. In the automake options (in configure.ac) add 'no-define' there. Does that make a defference? (it wond't work since VERSION will be undefined, but PACKAGE should hopefully end up being set to lyx-cvs. (I'll handle the VERSION after that) I'm

Re: [patch] Packaging of LyX

2005-12-30 Thread Lars Gullik Bjønnes
Georg Baum [EMAIL PROTECTED] writes: | Index: ChangeLog | === | RCS file: /usr/local/lyx/cvsroot/lyx-devel/ChangeLog,v | retrieving revision 1.1040 | diff -u -p -r1.1040 ChangeLog | --- ChangeLog 28 Dec 2005 10:47:00 -

Re: [patch] Packaging of LyX

2005-12-30 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: | Ok not bad. (tiny bit ugly, but we can live with it.) | I'd like to get rid of the VERSOIN variable though, and use | PACKAGE_VERSION instead. (what AC_INIT defines) | | VERSION should not be used in a lot of places... My cursory glance say that

Re: [patch] Packaging of LyX

2005-12-30 Thread Georg Baum
On Friday 30 December 2005 12:29, Lars Gullik Bjønnes wrote: [EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: | Ok not bad. (tiny bit ugly, but we can live with it.) | I'd like to get rid of the VERSOIN variable though, and use | PACKAGE_VERSION instead. (what AC_INIT defines) | | VERSION

Re: [patch] Packaging of LyX

2005-12-30 Thread Lars Gullik Bjønnes
Georg Baum [EMAIL PROTECTED] writes: | On Friday 30 December 2005 12:29, Lars Gullik Bjønnes wrote: | [EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: | | Ok not bad. (tiny bit ugly, but we can live with it.) | | I'd like to get rid of the VERSOIN variable though, and use | | PACKAGE_VERSION

Re: Latest patch (Re: Mac speed, profiling)

2005-12-30 Thread Michael Gerz
Martin Vermeer wrote: Attached, finally, the corrected version of the patch using crc32. Turns out y isn't needed here after all. Just wondering: Is crc32 a suitable algorithm to build a signature (aka hash value). Why don't we use one of famous hash algorithms? Michael

Re: Latest patch (Re: Mac speed, profiling)

2005-12-30 Thread Martin Vermeer
On Fri, Dec 30, 2005 at 03:55:58PM +0100, Michael Gerz wrote: Martin Vermeer wrote: Attached, finally, the corrected version of the patch using crc32. Turns out y isn't needed here after all. Just wondering: Is crc32 a suitable algorithm to build a signature (aka hash value). Why

Re: Latest patch (Re: Mac speed, profiling)

2005-12-30 Thread Martin Vermeer
On Fri, Dec 30, 2005 at 10:59:11AM +0100, Lars Gullik Bjønnes wrote: ... So leave the bad ugly for now. Here's the result. I also put in Jean-Marc's request to make the rowpainter construction conditional, although I don't expect any noticable speed gain. But it's better practice. Attached.

Re: [patch] Packaging of LyX

2005-12-30 Thread Juergen Spitzmueller
Georg Baum wrote: I did this and it works now perfetcly :-) This is going in now. It compiled for ages, but now it's finished. Just for the record: works for me as well. Jürgen

Re: Latest patch (Re: Mac speed, profiling)

2005-12-30 Thread Martin Vermeer
On Fri, Dec 30, 2005 at 06:05:09PM +0200, Martin Vermeer wrote: On Fri, Dec 30, 2005 at 10:59:11AM +0100, Lars Gullik Bjønnes wrote: ... So leave the bad ugly for now. Here's the result. I also put in Jean-Marc's request to make the rowpainter construction conditional, although I

Stange appearance for xform in linux

2005-12-30 Thread theblond
Dear list, I have a fresh suse 10.0 (32bit) install. I have compiled LyX 1.3.7cvs with XForms and I started it. I am using hungarian gui (.po) with accented characters. Instead of the accented letters I get two strange symbols per caracter as you can see on the attached picture. What is the

Re: [announce] sixth release of LyXWinInstaller

2005-12-30 Thread Bo Peng
Dear list, Under linux, I can put a customized .bst file with the lyx file and use it in the 'bibtex bibliography dialog. This does not work under windows. Is it because bibtex can not find the .bst file? Bo

Re: Latest patch (Re: Mac speed, profiling)

2005-12-30 Thread Bennett Helm
On Dec 30, 2005, at 3:52 AM, Martin Vermeer wrote: Any noticble speed difference? Not for me... Bennett? I would be surprised if there were. Sorry ... I've been out of town and won't be able to get back to testing until Monday at the earliest. (But I see the issue is probably moot at

Re: Latest patch (Re: Mac speed, profiling)

2005-12-30 Thread Martin Vermeer
On Fri, Dec 30, 2005 at 12:00:13AM +0100, Lars Gullik Bjønnes wrote: > Martin Vermeer <[EMAIL PROTECTED]> writes: > > | Attached, finally, the corrected version of the patch using crc32. Turns > | out y isn't needed here after all. > > Any noticble speed difference? Not for me... Bennett? I

Re: [patch] Packaging of LyX

2005-12-30 Thread Juergen Spitzmueller
Georg Baum wrote: > On Friday 30 December 2005 00:02, Lars Gullik Bjønnes wrote: > > Ah... can you also try to move the LYX_USE_PACKAGING after the > > AM_INIT_AUTOMAKE? > > Seems to work for me. This works partially. The files dir now has the suffix (/usr/local/lyx-cvs), but the personal dir

Re: Latest patch (Re: Mac speed, profiling)

2005-12-30 Thread Lars Gullik Bjønnes
Martin Vermeer <[EMAIL PROTECTED]> writes: | > lyx::size_type calculateRowSignature(Row const & row) | > { | > boost::crc_32_type crc; | > for (lyx::pos_type i = row.pos(); i < row.endpos(); ++i) { | > const unsigned char b[] = { par.getChar(i) }; | >

Re: [patch] Packaging of LyX

2005-12-30 Thread Lars Gullik Bjønnes
Juergen Spitzmueller <[EMAIL PROTECTED]> writes: | Georg Baum wrote: | > On Friday 30 December 2005 00:02, Lars Gullik Bjønnes wrote: | > > Ah... can you also try to move the LYX_USE_PACKAGING after the | > > AM_INIT_AUTOMAKE? | > | > Seems to work for me. | | This works partially. The files dir

Re: [patch] Packaging of LyX

2005-12-30 Thread Juergen Spitzmueller
Lars Gullik Bjønnes wrote: > A bit strange... what is "PACKAGE" defined as? In config.h f.ex.? #define PACKAGE "lyx" Jürgen

Re: [patch] Packaging of LyX

2005-12-30 Thread Lars Gullik Bjønnes
Juergen Spitzmueller <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: | > A bit strange... what is "PACKAGE" defined as? In config.h f.ex.? | | #define PACKAGE "lyx" And you are of course configuring with --with-version-suffix=cvs? -- Lgb

Re: [patch] Packaging of LyX

2005-12-30 Thread Juergen Spitzmueller
Lars Gullik Bjønnes wrote: > | #define PACKAGE "lyx" > > And you are of course configuring with --with-version-suffix=cvs? --with-version-suffix=-cvs Jürgen

Re: [patch] Packaging of LyX

2005-12-30 Thread Lars Gullik Bjønnes
Juergen Spitzmueller <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: | > A bit strange... what is "PACKAGE" defined as? In config.h f.ex.? | | #define PACKAGE "lyx" And with the "reordeing" of the configure.ac macros patch? -- Lgb

Re: [patch] Packaging of LyX

2005-12-30 Thread Juergen Spitzmueller
Lars Gullik Bjønnes wrote: > | #define PACKAGE "lyx" > > And with the "reordeing" of the configure.ac macros patch? with Georg's second patch, yes. Note that things improved with the patch: the files dir is correct, so in configure.ac:310, where real_datadir is defined as

Re: [patch] Packaging of LyX

2005-12-30 Thread Georg Baum
On Friday 30 December 2005 10:51, Juergen Spitzmueller wrote: > Georg Baum wrote: > > On Friday 30 December 2005 00:02, Lars Gullik Bjønnes wrote: > > > Ah... can you also try to move the LYX_USE_PACKAGING after the > > > AM_INIT_AUTOMAKE? > > > > Seems to work for me. > > This works partially.

Re: [patch] Packaging of LyX

2005-12-30 Thread Lars Gullik Bjønnes
Juergen Spitzmueller <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: | > | #define PACKAGE "lyx" | > | > And with the "reordeing" of the configure.ac macros patch? | | with Georg's second patch, yes. Note that things improved with the patch: the | files dir is correct, so in

Re: [patch] Packaging of LyX

2005-12-30 Thread Georg Baum
On Friday 30 December 2005 11:42, Juergen Spitzmueller wrote: > with Georg's second patch, yes. Note that things improved with the patch: > the files dir is correct, so in configure.ac:310, where real_datadir is > defined as > real_datadir=`eval "echo \`eval \"echo

Re: [patch] Packaging of LyX

2005-12-30 Thread Juergen Spitzmueller
Lars Gullik Bjønnes wrote: > Ok, now do me a favour. In the automake options (in configure.ac) add > 'no-define' there. Does that make a defference? (it wond't work since > VERSION will be undefined, but PACKAGE should hopefully end up being > set to lyx-cvs. (I'll handle the VERSION after that)

Re: [patch] Packaging of LyX

2005-12-30 Thread Lars Gullik Bjønnes
Georg Baum <[EMAIL PROTECTED]> writes: | Index: ChangeLog | === | RCS file: /usr/local/lyx/cvsroot/lyx-devel/ChangeLog,v | retrieving revision 1.1040 | diff -u -p -r1.1040 ChangeLog | --- ChangeLog 28 Dec 2005 10:47:00 -

Re: [patch] Packaging of LyX

2005-12-30 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: | Ok not bad. (tiny bit ugly, but we can live with it.) | I'd like to get rid of the VERSOIN variable though, and use | PACKAGE_VERSION instead. (what AC_INIT defines) | | VERSION should not be used in a lot of places... My cursory glance say that

Re: [patch] Packaging of LyX

2005-12-30 Thread Georg Baum
On Friday 30 December 2005 12:29, Lars Gullik Bjønnes wrote: > [EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: > | Ok not bad. (tiny bit ugly, but we can live with it.) > | I'd like to get rid of the VERSOIN variable though, and use > | PACKAGE_VERSION instead. (what AC_INIT defines) > | > |

Re: [patch] Packaging of LyX

2005-12-30 Thread Lars Gullik Bjønnes
Georg Baum <[EMAIL PROTECTED]> writes: | On Friday 30 December 2005 12:29, Lars Gullik Bjønnes wrote: | > [EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: | > | Ok not bad. (tiny bit ugly, but we can live with it.) | > | I'd like to get rid of the VERSOIN variable though, and use | > |

Re: Latest patch (Re: Mac speed, profiling)

2005-12-30 Thread Michael Gerz
Martin Vermeer wrote: Attached, finally, the corrected version of the patch using crc32. Turns out y isn't needed here after all. Just wondering: Is crc32 a suitable algorithm to build a signature (aka hash value). Why don't we use one of famous hash algorithms? Michael

Re: Latest patch (Re: Mac speed, profiling)

2005-12-30 Thread Martin Vermeer
On Fri, Dec 30, 2005 at 03:55:58PM +0100, Michael Gerz wrote: > Martin Vermeer wrote: > > >Attached, finally, the corrected version of the patch using crc32. Turns > >out y isn't needed here after all. > > > > > Just wondering: Is crc32 a suitable algorithm to build a signature (aka > hash

Re: Latest patch (Re: Mac speed, profiling)

2005-12-30 Thread Martin Vermeer
On Fri, Dec 30, 2005 at 10:59:11AM +0100, Lars Gullik Bjønnes wrote: ... > So leave the bad ugly for now. Here's the result. I also put in Jean-Marc's request to make the rowpainter construction conditional, although I don't expect any noticable speed gain. But it's better practice. Attached.

Re: [patch] Packaging of LyX

2005-12-30 Thread Juergen Spitzmueller
Georg Baum wrote: > I did this and it works now perfetcly :-) > > This is going in now. It compiled for ages, but now it's finished. Just for the record: works for me as well. Jürgen

Re: Latest patch (Re: Mac speed, profiling)

2005-12-30 Thread Martin Vermeer
On Fri, Dec 30, 2005 at 06:05:09PM +0200, Martin Vermeer wrote: > On Fri, Dec 30, 2005 at 10:59:11AM +0100, Lars Gullik Bjønnes wrote: > > ... > > > So leave the bad ugly for now. > > Here's the result. I also put in Jean-Marc's request to make the > rowpainter construction conditional,

Stange appearance for xform in linux

2005-12-30 Thread theblond
Dear list, I have a fresh suse 10.0 (32bit) install. I have compiled LyX 1.3.7cvs with XForms and I started it. I am using hungarian gui (.po) with accented characters. Instead of the accented letters I get two strange symbols per caracter as you can see on the attached picture. What is the

Re: [announce] sixth release of LyXWinInstaller

2005-12-30 Thread Bo Peng
Dear list, Under linux, I can put a customized .bst file with the lyx file and use it in the 'bibtex bibliography" dialog. This does not work under windows. Is it because bibtex can not find the .bst file? Bo

Re: Latest patch (Re: Mac speed, profiling)

2005-12-30 Thread Bennett Helm
On Dec 30, 2005, at 3:52 AM, Martin Vermeer wrote: Any noticble speed difference? Not for me... Bennett? I would be surprised if there were. Sorry ... I've been out of town and won't be able to get back to testing until Monday at the earliest. (But I see the issue is probably moot at