Re: Upgrade from 1.4 to 1.5

2007-07-06 Thread Abdelrazak Younes
Martin Vermeer wrote: On Fri, Jul 06, 2007 at 06:31:39PM +0200, Abdelrazak Younes wrote: Philippe Charpentier wrote: 2) Accept the layout field as is and do not try to translate them. Of course, accept Style names with non ASCII characters (like in the previous versions of ly

Re: [Updated PATCH] 3877:Highlighting text slows down LyX extremely

2007-07-06 Thread Abdelrazak Younes
Bo Peng wrote: Abdel: Attached are two patches. They all enable persistent selection and fixes 3877. 3877-Bo adds flag SaveSelection to all LFUN, and 3877-JM calls SaveSelection at selHandle, cutSelection, MOUSE_PRESS, and a few DELETE lfuncs. Both patches should have caught 99%, if not 100%, ca

Re: Upgrade from 1.4 to 1.5

2007-07-06 Thread Martin Vermeer
On Fri, Jul 06, 2007 at 06:31:39PM +0200, Abdelrazak Younes wrote: > Philippe Charpentier wrote: > >> 2) Accept the layout field as is and do not try to translate them. > > Of course, accept Style names with non ASCII characters (like in the > > previous versions of lyx) would be the simplest way

1.4.x vs. 1.5.x roadmap (Re: LyX-1.4.4 fails to build against boost-1.34)

2007-07-06 Thread Mikhail Teterin
On п'ятниця 06 липень 2007, you wrote: = = > You may wish to release a 1.4.5 or 1.4.4.1. Even if 1.5.0 is _ready_, it = > has = > too many invasive changes (such as removal of many front-ends) to be = > immediately adopted... = = I plan to release LyX 1.4.5 about at the same time as 1.5.0 (becaus

Re: LyX-1.4.4 fails to build against boost-1.34

2007-07-06 Thread Jean-Marc Lasgouttes
> You may wish to release a 1.4.5 or 1.4.4.1. Even if 1.5.0 is _ready_, it > has > too many invasive changes (such as removal of many front-ends) to be > immediately adopted... I plan to release LyX 1.4.5 about at the same time as 1.5.0 (because it will contain code to read LyX 1.5.0 files). I'l

Re: [Updated PATCH] 3877:Highlighting text slows down LyX extremely

2007-07-06 Thread Jean-Marc Lasgouttes
On Fri, 6 Jul 2007 15:41:45 -0500, "Bo Peng" <[EMAIL PROTECTED]> wrote: > Abdel: > > Attached are two patches. They all enable persistent selection and > fixes 3877. 3877-Bo adds flag SaveSelection to all LFUN, and 3877-JM > calls SaveSelection at selHandle, cutSelection, MOUSE_PRESS, and a few >

Fwd: Re: About LyX (Net|Open)BSD and wchar_t

2007-07-06 Thread Jean-Marc Lasgouttes
I received this from the NetBSD and OpenBSD maintainers. José, is there something we can do about python? JMarc Original Message Subject: Re: About LyX (Net|Open)BSD and wchar_t Date: Fri, 6 Jul 2007 18:15:15 -0400 From: Zvezdan Petkovic <[EMAIL PROTECTED]> To: Jean-Marc Lasgou

Re: Separate Environment translation

2007-07-06 Thread Bo Peng
On 7/6/07, Pavel Sanda <[EMAIL PROTECTED]> wrote: hi, translation of the following line of .po has no effect for me: #: lib/layouts/stdlayouts.inc:73 msgid "--- Separate Environment ---" If I am not mistaken, this is a known problem: http://bugzilla.lyx.org/show_bug.cgi?id=2992 Bo

Re: [patch] fix Bug 3983: system external_template file is ignored when user defined external_template file exists

2007-07-06 Thread Bernhard Roider
I'm on holiday for 10 days now, so decide what to do and commit the result. I would be happy if this patch could go in for 1.5 Bernhard

Separate Environment translation

2007-07-06 Thread Pavel Sanda
hi, translation of the following line of .po has no effect for me: #: lib/layouts/stdlayouts.inc:73 msgid "--- Separate Environment ---" can anybody confirm ? pavel

Re: [Updated PATCH] 3877:Highlighting text slows down LyX extremely

2007-07-06 Thread Bo Peng
Abdel: Attached are two patches. They all enable persistent selection and fixes 3877. 3877-Bo adds flag SaveSelection to all LFUN, and 3877-JM calls SaveSelection at selHandle, cutSelection, MOUSE_PRESS, and a few DELETE lfuncs. Both patches should have caught 99%, if not 100%, cases when selecti

LyX-1.4.4 fails to build against boost-1.34

2007-07-06 Thread Mikhail Teterin
Hello! Boost-1.34 is not only released now, it is also _required_ for the upcoming LyX-1.5.0. Unfortunately, the current release of LyX (1.4.4) fails to build against it. I'm attaching the patch I plan to add to FreeBSD's print/lyx port to make the source compatible with both Boost-1.33.1 and 1.3

Re: [patch] fix Bug 3983: system external_template file is ignored when user defined external_template file exists

2007-07-06 Thread Bernhard Roider
Jean-Marc Lasgouttes schrieb: "Bernhard" == Bernhard Roider <[EMAIL PROTECTED]> writes: Bernhard> Hello, with the attached patch lyx loads all Bernhard> external_template definitions from 1. user_lyxdir 2. Bernhard> build_lyxdir 3. system_lyxdir I'd rather not do it right now. We have to decid

Re: [Updated PATCH] accept utf8 in layout files (was Re: Upgrade from 1.4 to 1.5)

2007-07-06 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Charpentier Philippe wrote: I would like to try your patch but I dont know how to apply it Can you tell me? You'll need to retrieve the latest version of the code with svn (look at http://www.lyx.org/devel/cvs.php for more details). Then something like "svn apply xx

[Updated PATCH] accept utf8 in layout files (was Re: Upgrade from 1.4 to 1.5)

2007-07-06 Thread Philippe Charpentier
I would like to test your patch, but I don't understand how to apply it Can you tell me? Thanks PhC

Re: [Updated PATCH] 3877:Highlighting text slows down LyX extremely

2007-07-06 Thread Bo Peng
OK, here is my own version of Bo's patch. I removed the ClearSelection flag, and did the call to haveSelection in LyXFunc::dispatch (it seems to me that this does not cost much, right). This allows to remove a lot of code. I applied 90% of your patch, which clears all saveSelection calls. On the

Re: [Updated PATCH] accept utf8 in layout files (was Re: Upgrade from 1.4 to 1.5)

2007-07-06 Thread Pavel Sanda
> Can you tell me? http://en.wikipedia.org/wiki/Patch_%28Unix%29#Usage_examples pavel

Re: [Updated PATCH] accept utf8 in layout files (was Re: Upgrade from 1.4 to 1.5)

2007-07-06 Thread Abdelrazak Younes
Charpentier Philippe wrote: I would like to try your patch but I dont know how to apply it Can you tell me? You'll need to retrieve the latest version of the code with svn (look at http://www.lyx.org/devel/cvs.php for more details). Then something like "svn apply xxx.patch" should do the tri

[Updated PATCH] accept utf8 in layout files (was Re: Upgrade from 1.4 to 1.5)

2007-07-06 Thread Charpentier Philippe
I would like to try your patch but I dont know how to apply it Can you tell me? PhC

Re: Upgrade from 1.4 to 1.5

2007-07-06 Thread Abdelrazak Younes
Philippe Charpentier wrote: 2) Accept the layout field as is and do not try to translate them. Of course, accept Style names with non ASCII characters (like in the previous versions of lyx) would be the simplest way for me. But in that case if the layout in UTF-8 probably the document has to be

Re: Upgrade from 1.4 to 1.5

2007-07-06 Thread Philippe Charpentier
> 1) provide a python script that converts the layout as good as possible: > Théorème -> Theoreme > Liste_à_puce -> Liste_a_puce This seems difficult: first such a script may give the same name to two different Styles second this conversion has to be done also in the documents > 2) Accept the l

Re: r19001 - in /lyx-devel/trunk/src/support: lstrings.cpp ls...

2007-07-06 Thread Abdelrazak Younes
Enrico Forestieri wrote: On Fri, Jul 06, 2007 at 04:50:17PM +0200, Abdelrazak Younes wrote: [EMAIL PROTECTED] wrote: Author: younes Date: Fri Jul 6 16:43:18 2007 New Revision: 19001 URL: http://www.lyx.org/trac/changeset/19001 Log: * lstring.cpp: - isAscii(): char is signed with MSVC so th

Re: r19001 - in /lyx-devel/trunk/src/support: lstrings.cpp ls...

2007-07-06 Thread Enrico Forestieri
On Fri, Jul 06, 2007 at 04:50:17PM +0200, Abdelrazak Younes wrote: > [EMAIL PROTECTED] wrote: > > Author: younes > > Date: Fri Jul 6 16:43:18 2007 > > New Revision: 19001 > > > > URL: http://www.lyx.org/trac/changeset/19001 > > Log: > > * lstring.cpp: > > - isAscii(): char is signed with MSVC

[Updated PATCH] accept utf8 in layout files (was Re: Upgrade from 1.4 to 1.5)

2007-07-06 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Abdelrazak Younes wrote: Charpentier Philippe wrote: This was working perfectly until 1.4.x. But now the 1.5 version crash if I want to use one of my layouts (independently of the encoding): non ASCII characters seems forbidden now for the Style name. As these names app

Re: r19001 - in /lyx-devel/trunk/src/support: lstrings.cpp ls...

2007-07-06 Thread Abdelrazak Younes
[EMAIL PROTECTED] wrote: Author: younes Date: Fri Jul 6 16:43:18 2007 New Revision: 19001 URL: http://www.lyx.org/trac/changeset/19001 Log: * lstring.cpp: - isAscii(): char is signed with MSVC so the comparison was not correct. Add a static_cast to "unsigned char" as per the other methods.

Re: [Updated PATCH] 3877:Highlighting text slows down LyX extremely

2007-07-06 Thread Bo Peng
Does it make sense? Yes. I have not looked closely at selHandle but if it can catch many cases, it is good. I also agree that it should be moved to bufferview. The only problem is that I am not sure if I can finish JMarc's idea and finish the patch before 1.5.0 You know, my ClearSelection (

Re: Towards LyX 1.4.5 [status update #1]

2007-07-06 Thread Enrico Forestieri
On Fri, Jul 06, 2007 at 01:23:48PM +0200, Jean-Marc Lasgouttes wrote: > > Hello, > > Since Jose' plans to release 1.5.0 next week, we'd better be ready > with 1.4.5 too. I append the ANNOUNCE file that I just updated. > > Jose', I would appreciate if you could upgrade lyx2lyx in branch to > han

Re: Towards LyX 1.4.5 [status update #1]

2007-07-06 Thread Bo Peng
On 7/6/07, Jean-Marc Lasgouttes <[EMAIL PROTECTED]> wrote: Hello, Since Jose' plans to release 1.5.0 next week, we'd better be ready with 1.4.5 too. I append the ANNOUNCE file that I just updated. Jose', I would appreciate if you could upgrade lyx2lyx in branch to handle the 1.5 final format.

[PATCH] accept utf8 in layout files (was Re: Upgrade from 1.4 to 1.5)

2007-07-06 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Charpentier Philippe wrote: This was working perfectly until 1.4.x. But now the 1.5 version crash if I want to use one of my layouts (independently of the encoding): non ASCII characters seems forbidden now for the Style name. As these names appear in the layout and in t

Re: Towards LyX 1.4.5 [status update #1]

2007-07-06 Thread christian . ridderstrom
On Fri, 6 Jul 2007, Jean-Marc Lasgouttes wrote: Since Jose' plans to release 1.5.0 next week, we'd better be ready with 1.4.5 too. I append the ANNOUNCE file that I just updated. Looks good to me. I thought some of the lines were justified a bit funny, so here's an adjusted version (I didn't h

Re: [Updated PATCH] 3877:Highlighting text slows down LyX extremely

2007-07-06 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: >> To continue the selHandle idea, with the following patch (I did not >> move yet to bufferview), we would avoid most of the explicit calls >> to haveSelection in Bo's patch. Abdelrazak> All I can say is that it needs careful te

Re: Upgrade from 1.4 to 1.5

2007-07-06 Thread Abdelrazak Younes
Charpentier Philippe wrote: My problem is not the encoding of the layout. It is that, since 1.2 version of lyx I used layouts I wrote and they contain definition of styles with non ASCII characters like this: Style Théorème ... Style Énumère ... Style Liste_à_puce ... etc... and I did it bec

Re: Upgrade from 1.4 to 1.5

2007-07-06 Thread Charpentier Philippe
a écrit : Charpentier Philippe <[EMAIL PROTECTED]> writes: Hi, I had in last November a discussion on this list about the encoding of the layouts. As I said that time I use layouts containing non ASCII characters in the definition of the Styles and they crash lyx-1.5 (every versions until no

Re: [patch] fix Bug 3983: system external_template file is ignored when user defined external_template file exists

2007-07-06 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: >> What I mean is that we should not change that 4 days before >> releasing 1.5.0. I do not understand how the same people who urge >> at releasing fast at the same time want to do far reaching changes >> now for problems nobody c

Re: [Updated PATCH] 3877:Highlighting text slows down LyX extremely

2007-07-06 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: then I guess selHandle could be moved to BufferView (or bufferview_funcs). Abdelrazak> Could work. One way of interpreting me discussion about selHandle is that we may be able to remove it and replace

Re: [Updated PATCH] 3877:Highlighting text slows down LyX extremely

2007-07-06 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: >> then I guess selHandle could be moved to BufferView (or >> bufferview_funcs). Abdelrazak> Could work. One way of interpreting me discussion about selHandle is that we may be able to remove it and replace by ClearSelection/Sta

Re: [Updated PATCH] 3877:Highlighting text slows down LyX extremely

2007-07-06 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Jean-Marc Lasgouttes wrote: selHandle is not the same as clearing selection on a cursor. It is a tool used in Text3.cpp for lfuns that may begin a selection or terminate one (does that ring a

Re: [patch] fix Bug 3983: system external_template file is ignored when user defined external_template file exists

2007-07-06 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: I do not think we shall warn about duplicated entries. Abdelrazak> I think we should: I personally prefer different names for Abdelrazak> different things so I'd be glad if LyX warns me that a Abdelraza

Re: [Updated PATCH] 3877:Highlighting text slows down LyX extremely

2007-07-06 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Jean-Marc Lasgouttes wrote: >> selHandle is not the same as clearing selection on a cursor. It is >> a tool used in Text3.cpp for lfuns that may begin a selection or >> terminate one (does that ring a bell?). Abdelraz

Re: [Updated PATCH] 3877:Highlighting text slows down LyX extremely

2007-07-06 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: A question though: how does this relates to selHandle? Abdelrazak> selHandle() is a member of Cursor and we need something Abdelrazak> BufferView dependent. If what you mean is that there is a risk of

Re: [Updated PATCH] 3877:Highlighting text slows down LyX extremely

2007-07-06 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: >> A question though: how does this relates to selHandle? Abdelrazak> selHandle() is a member of Cursor and we need something Abdelrazak> BufferView dependent. If what you mean is that there is a risk of calling selHandle on a c

Re: [Updated PATCH] 3877:Highlighting text slows down LyX extremely

2007-07-06 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: selHandle is not the same as clearing selection on a cursor. It is a tool used in Text3.cpp for lfuns that may begin a selection or terminate one (does that ring a bell?). Yes but I am afraid of consecutive call from different Cursors in different LFUNs. The Cursor

Towards LyX 1.4.5 [status update #1]

2007-07-06 Thread Jean-Marc Lasgouttes
Hello, Since Jose' plans to release 1.5.0 next week, we'd better be ready with 1.4.5 too. I append the ANNOUNCE file that I just updated. Jose', I would appreciate if you could upgrade lyx2lyx in branch to handle the 1.5 final format. Other things? JMarc Public release of LyX version 1.4.5 ==

Re: UI Bug: Shortcut missing in Caption menu item

2007-07-06 Thread Jean-Marc Lasgouttes
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> The problem is that all letters in Caption are already Abdelrazak> taken by other shortcuts. Abdelrazak> Any idea someone? Jean-Marc> Remove the C

Selection in math mode with mouse is difficult

2007-07-06 Thread Neal Becker
1.5rc2. Trying to adjust selection with mouse is very difficult in math. We can fine position cursor with arrow keys when not doing selection. It would be helpful if the selection could be adjusted using the arrow keys.

Re: UI Bug: Shortcut missing in Caption menu item

2007-07-06 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> The problem is that all letters in Caption are already Abdelrazak> taken by other shortcuts. Abdelrazak> Any idea someone? Remove the Caption inset? JMarc

Re: [patch] fix Bug 3983: system external_template file is ignored when user defined external_template file exists

2007-07-06 Thread Jean-Marc Lasgouttes
> "Bernhard" == Bernhard Roider <[EMAIL PROTECTED]> writes: Bernhard> Hello, with the attached patch lyx loads all Bernhard> external_template definitions from 1. user_lyxdir 2. Bernhard> build_lyxdir 3. system_lyxdir I'd rather not do it right now. We have to decide what is our policy for ha

Re: Upgrade from 1.4 to 1.5

2007-07-06 Thread Jean-Pierre Chrétien
Charpentier Philippe <[EMAIL PROTECTED]> writes: > > Hi, > I had in last November a discussion on this list about the encoding of > the layouts. As I said that time I use layouts containing non ASCII > characters in the definition of the Styles and they crash lyx-1.5 > (every versions until now,

Re: [patch] fix Bug 3983: system external_template file is ignored when user defined external_template file exists

2007-07-06 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: >> I do not think we shall warn about duplicated entries. Abdelrazak> I think we should: I personally prefer different names for Abdelrazak> different things so I'd be glad if LyX warns me that a Abdelrazak> global (maybe updated

Re: [Updated PATCH] 3877:Highlighting text slows down LyX extremely

2007-07-06 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: >> This is not a bad idea indeed. Abdelrazak> Translation for non-native French speakers: this is a Abdelrazak> _good_ idea ;-) Yes, but I think that it double with selHandle. >> A question though: how does this relates to selH

UI Bug: Shortcut missing in Caption menu item

2007-07-06 Thread Abdelrazak Younes
The problem is that all letters in Caption are already taken by other shortcuts. Any idea someone? Abdel.

Re: [patch] fix Bug 3983: system external_template file is ignored when user defined external_template file exists

2007-07-06 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> I think the choice of template is an important one to the Abdelrazak> user and deserves a full warning dialog. Otherwise I have Abdelrazak> no objection to your patch, seems clean. I do not th

Re: [Updated PATCH] 3877:Highlighting text slows down LyX extremely

2007-07-06 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Bo" == Bo Peng <[EMAIL PROTECTED]> writes: Bo> The attached patch is a much improved version of my previous Bo> patch. The biggest change is that I add a ClearSelection flag to Bo> each LFUN and call saveSelection accordingly. This version also Bo> has Abdel's fix f

Re: [patch] fix Bug 3983: system external_template file is ignored when user defined external_template file exists

2007-07-06 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> I think the choice of template is an important one to the Abdelrazak> user and deserves a full warning dialog. Otherwise I have Abdelrazak> no objection to your patch, seems clean. I do not think we shall warn about d

Re: compliation problems on mac osx with 1.5rc2

2007-07-06 Thread Jean-Marc Lasgouttes
> "Roger" == Roger Mc Murtrie <[EMAIL PROTECTED]> writes: Roger> I'm wondering if the undefined libiconv symbols occur as the Roger> expected result of the failure of the conftest test program Roger> that is run to check for the Qt 4 library name? The iconv test is done, but too late. Does t

Re: [Updated PATCH] 3877:Highlighting text slows down LyX extremely

2007-07-06 Thread Jean-Marc Lasgouttes
> "Bo" == Bo Peng <[EMAIL PROTECTED]> writes: Bo> The attached patch is a much improved version of my previous Bo> patch. The biggest change is that I add a ClearSelection flag to Bo> each LFUN and call saveSelection accordingly. This version also Bo> has Abdel's fix for mathed, table, window

Re: Configure problem with Mac OS

2007-07-06 Thread Jean-Marc Lasgouttes
> "Roger" == Roger Mc Murtrie <[EMAIL PROTECTED]> writes: Roger> make failed with many undefined symbols so it looks like the Roger> LDFLAGS declaration is still needed for the frameworks etc. Can I see the errors (and the config.log)? JMarc