Re: Inverting the dispatch execution order

2010-12-06 Thread Jean-Marc Lasgouttes
Le 05/12/2010 23:39, Pavel Sanda a écrit : Abdelrazak Younes wrote: Any reason why not doing so? yes sir :) because it can introduce new regressions? because you have generally almost no time to fix them when they appear? because we dont want to throw one month of users testing of beta1 for

Re: r36710 - in lyx-devel/trunk/src: . insets

2010-12-06 Thread Jean-Marc Lasgouttes
Le 04/12/2010 23:55, Richard Heck a écrit : How do we go back to the InsetCitation once we have already passed it? I mean, on that trip through? How do we know when all the bibliography information has been loaded? We can't until we are done. So the only thing I can see would be to collect

Re: 'click to type' template inset

2010-12-06 Thread Jean-Marc Lasgouttes
Le 06/12/2010 00:32, Liviu Andronic a écrit : Dear devels I've never been very happy with LyX templates. Take for example one that I've contributed: File New from template frletter.lyx. To use it, one needs to: - get over the disturbing presence of the '' and'' symbols, and understand what

Re: r36696 - in lyx-devel/trunk/src: . insets

2010-12-06 Thread Jean-Marc Lasgouttes
Le 03/12/2010 21:25, Abdelrazak Younes a écrit : Hum, I am sure JMarc had the same idea by himself but I certainly remember that I suggested exactly when you implemented this bib cache. At my age, credits is important you know? So now we have to settle whether it is the JMarc/Abdel idea of the

Re: Towards beta2 [status #2]

2010-12-06 Thread Jean-Marc Lasgouttes
Le 03/12/2010 00:55, Pavel Sanda a écrit : Pavel Sanda wrote: anything you want to have in before? 1) JMarc, there was some reminder in undo fix you committed. do you intend to push it in soon? I have been unable to work on it yet. Don't wait for me, I'll do my best. JMarc

Re: 'click to type' template inset

2010-12-06 Thread Liviu Andronic
On Mon, Dec 6, 2010 at 8:51 AM, Guenter Milde mi...@users.berlios.de wrote: In my view, the Note inset suits this case: it can serve as a placeholder, can contain explanations, and does not show up in the LaTeX source. I cannot argue with the usefulness of 'Note' insets as explanatory

Question about InsetParamsDialog::checkWidget (abdel?)

2010-12-06 Thread Jean-Marc Lasgouttes
In the aforementioned function, I read: bool const lfun_ok = lyx::getStatus(FuncRequest(code, argument)).enabled(); bool const read_only = buffer().isReadonly(); okPB-setEnabled(!synchronized_view widget_ok !read_only valid_argument); Question: why is it necessary to

Re: Inverting the dispatch execution order

2010-12-06 Thread Pavel Sanda
Abdelrazak Younes wrote: They enable me to fix 2 or 3 three important bugs. perfect then. pavel

Re: Question about InsetParamsDialog::checkWidget (abdel?)

2010-12-06 Thread Abdelrazak Younes
On 12/06/2010 12:39 PM, Jean-Marc Lasgouttes wrote: In the aforementioned function, I read: bool const lfun_ok = lyx::getStatus(FuncRequest(code, argument)).enabled(); bool const read_only = buffer().isReadonly(); okPB-setEnabled(!synchronized_view widget_ok !read_only

Re: [patch] unable to find textclass error on windows

2010-12-06 Thread RGH
On 12/05/2010 07:33 PM, Julien Rioux wrote: Hi, Here's a patch to fix a bug when no tex installation is found on windows. The patch is for trunk. The bug is also in branch. Can someone on Windows verify this? I can't rh

Re: r36710 - in lyx-devel/trunk/src: . insets

2010-12-06 Thread RGH
On 12/06/2010 04:34 AM, Jean-Marc Lasgouttes wrote: Le 04/12/2010 23:55, Richard Heck a écrit : How do we go back to the InsetCitation once we have already passed it? I mean, on that trip through? How do we know when all the bibliography information has been loaded? We can't until we are done.

Re: r36710 - in lyx-devel/trunk/src: . insets

2010-12-06 Thread Jean-Marc Lasgouttes
Le 06/12/2010 14:01, RGH a écrit : So the existing situation is very close to this, except inverted: If we notice that the cache needs updating, then we run a special routine to update the cache (not a full buffer update), and then run the buffer update. So if we go this way, then we have no

Re: r36715 - lyx-devel/trunk/po

2010-12-06 Thread Jean-Marc Lasgouttes
Le 04/12/2010 17:31, Jürgen Spitzmüller a écrit : Pavel Sanda wrote: Georg Baum wrote: Did I break something again? This string should still be translated (but coming from lstrings.cpp now), and on my machine it stays in the po file after a remerge. here too, so it will be there. It is the

Re: LyX 2.0beta1 crashes if Xref inserted into eqnarray

2010-12-06 Thread John McCabe-Dansted
On Mon, Dec 6, 2010 at 7:37 AM, Christopher Menzel cmen...@tamu.edu wrote: LyX 2.0beta1 (dated 10 Nov) crashes consistently when I try to insert a cross reference to a labeled lemma, theorem or corollary into a cell of an eqnarray. If I try to copy and paste a cross-ref to the relevant

Question for ticket 7026 + PATCH

2010-12-06 Thread Stephan Witt
Anfang der weitergeleiteten E-Mail: Von: Enrico Forestieri for...@lyx.org Datum: 5. Dezember 2010 01:49:25 MEZ An: lyx-devel@lists.lyx.org Betreff: Re: PATCH for ticket 7026 On Sat, Dec 04, 2010 at 09:37:09PM +0100, Stephan Witt wrote: I made another patch for the topic. Enrico,

Re: Question for ticket 7026 + PATCH

2010-12-06 Thread Georg Baum
Stephan Witt wrote: Anfang der weitergeleiteten E-Mail: Von: Enrico Forestieri for...@lyx.org Datum: 5. Dezember 2010 01:49:25 MEZ An: lyx-devel@lists.lyx.org Betreff: Re: PATCH for ticket 7026 On Sat, Dec 04, 2010 at 09:37:09PM +0100, Stephan Witt wrote: I made another patch for the

[patch] #7044 module dependencies

2010-12-06 Thread Julien Rioux
Hi, A patch to give a more elaborate error message for missing module dependencies. Regarding converter dependencies, I don't treat them specially for now; missing converters simply get listed together with missing latex packages. But that's already an improvement. -- Julien Index:

Re: [patch] #7044 module dependencies

2010-12-06 Thread Julien Rioux
On 06/12/2010 3:02 PM, Julien Rioux wrote: Hi, A patch ... Also, please kindly consider the attached patch for the doc regarding availability of layouts and modules. Regards, Julien Index: lib/doc/UserGuide.lyx === ---

Re: LyX 2.0beta1 crashes if Xref inserted into eqnarray

2010-12-06 Thread Christopher Menzel
On Dec 6, 2010, at 11:46 AM, John McCabe-Dansted wrote: On Mon, Dec 6, 2010 at 7:37 AM, Christopher Menzel cmen...@tamu.edu wrote: LyX 2.0beta1 (dated 10 Nov) crashes consistently when I try to insert a cross reference to a labeled lemma, theorem or corollary into a cell of an eqnarray. If I

Re: [patch] #7044 module dependencies

2010-12-06 Thread Richard Heck
On 12/06/2010 03:06 PM, Julien Rioux wrote: On 06/12/2010 3:02 PM, Julien Rioux wrote: Hi, A patch ... Also, please kindly consider the attached patch for the doc regarding availability of layouts and modules. Can you post the complete manual with your changes? Then it will be easy to

Trunk is frozen

2010-12-06 Thread Pavel Sanda
trunk is completely frozen, please no commits. pavel

Re: Trunk is frozen

2010-12-06 Thread Vincent van Ravesteijn
On Tue, Dec 7, 2010 at 12:07 AM, Pavel Sanda sa...@lyx.org wrote: trunk is completely frozen, please no commits. pavel Pavel, Can I commit this fix / workaround for bug 7149 ? It prevents LyX from crashing when a file is opened from the file manager and for some reason there is no

Re: Trunk is frozen

2010-12-06 Thread Pavel Sanda
Vincent van Ravesteijn wrote: On Tue, Dec 7, 2010 at 12:07 AM, Pavel Sanda sa...@lyx.org wrote: trunk is completely frozen, please no commits. pavel Pavel, Can I commit this fix / workaround for bug 7149 ? please no, tarballs are already on ftp, i'm just finishing all checks, this

Re: Trunk is frozen

2010-12-06 Thread Vincent van Ravesteijn
On Tue, Dec 7, 2010 at 12:54 AM, Pavel Sanda sa...@lyx.org wrote: Vincent van Ravesteijn wrote: On Tue, Dec 7, 2010 at 12:07 AM, Pavel Sanda sa...@lyx.org wrote: trunk is completely frozen, please no commits. pavel Pavel, Can I commit this fix / workaround for bug 7149 ? please no,

Re: Trunk is frozen

2010-12-06 Thread Pavel Sanda
Vincent van Ravesteijn wrote: Ok.. but you owe me a beer for every report of this crash ;). i see, we have to release beta3 very soon otherwise my budget collapses. pavel

Re: Trunk is frozen

2010-12-06 Thread Pavel Sanda
Pavel Sanda wrote: trunk is completely frozen, please no commits. the lock is released, trunk is free for commits again. beta2 tarbals are on ftp server. i plan to announce it tomorrow to give some time for generating binaries and guard against showstoppers. pavel

Re: Inverting the dispatch execution order

2010-12-06 Thread Jean-Marc Lasgouttes
Le 05/12/2010 23:39, Pavel Sanda a écrit : Abdelrazak Younes wrote: Any reason why not doing so? yes sir :) because it can introduce new regressions? because you have generally almost no time to fix them when they appear? because we dont want to throw one month of users testing of beta1 for

Re: r36710 - in lyx-devel/trunk/src: . insets

2010-12-06 Thread Jean-Marc Lasgouttes
Le 04/12/2010 23:55, Richard Heck a écrit : How do we go back to the InsetCitation once we have already passed it? I mean, on that trip through? How do we know when all the bibliography information has been loaded? We can't until we are done. So the only thing I can see would be to collect

Re: 'click to type' template inset

2010-12-06 Thread Jean-Marc Lasgouttes
Le 06/12/2010 00:32, Liviu Andronic a écrit : Dear devels I've never been very happy with LyX templates. Take for example one that I've contributed: File> New from template> frletter.lyx. To use it, one needs to: - get over the disturbing presence of the '<' and'>' symbols, and understand what

Re: r36696 - in lyx-devel/trunk/src: . insets

2010-12-06 Thread Jean-Marc Lasgouttes
Le 03/12/2010 21:25, Abdelrazak Younes a écrit : Hum, I am sure JMarc had the same idea by himself but I certainly remember that I suggested exactly when you implemented this bib cache. At my age, credits is important you know? So now we have to settle whether it is the JMarc/Abdel idea of the

Re: Towards beta2 [status #2]

2010-12-06 Thread Jean-Marc Lasgouttes
Le 03/12/2010 00:55, Pavel Sanda a écrit : Pavel Sanda wrote: anything you want to have in before? 1) JMarc, there was some reminder in undo fix you committed. do you intend to push it in soon? I have been unable to work on it yet. Don't wait for me, I'll do my best. JMarc

Re: 'click to type' template inset

2010-12-06 Thread Liviu Andronic
On Mon, Dec 6, 2010 at 8:51 AM, Guenter Milde wrote: > In my view, the "Note" inset suits this case: it can serve as a > placeholder, can contain explanations, and does not show up in the LaTeX > source. > I cannot argue with the usefulness of 'Note' insets as explanatory

Question about InsetParamsDialog::checkWidget (abdel?)

2010-12-06 Thread Jean-Marc Lasgouttes
In the aforementioned function, I read: bool const lfun_ok = lyx::getStatus(FuncRequest(code, argument)).enabled(); bool const read_only = buffer().isReadonly(); okPB->setEnabled(!synchronized_view && widget_ok && !read_only && valid_argument); Question: why is it necessary

Re: Inverting the dispatch execution order

2010-12-06 Thread Pavel Sanda
Abdelrazak Younes wrote: > They enable me to fix 2 or 3 three important bugs. perfect then. pavel

Re: Question about InsetParamsDialog::checkWidget (abdel?)

2010-12-06 Thread Abdelrazak Younes
On 12/06/2010 12:39 PM, Jean-Marc Lasgouttes wrote: In the aforementioned function, I read: bool const lfun_ok = lyx::getStatus(FuncRequest(code, argument)).enabled(); bool const read_only = buffer().isReadonly(); okPB->setEnabled(!synchronized_view && widget_ok && !read_only &&

Re: [patch] unable to find textclass error on windows

2010-12-06 Thread RGH
On 12/05/2010 07:33 PM, Julien Rioux wrote: Hi, Here's a patch to fix a bug when no tex installation is found on windows. The patch is for trunk. The bug is also in branch. Can someone on Windows verify this? I can't rh

Re: r36710 - in lyx-devel/trunk/src: . insets

2010-12-06 Thread RGH
On 12/06/2010 04:34 AM, Jean-Marc Lasgouttes wrote: Le 04/12/2010 23:55, Richard Heck a écrit : How do we go back to the InsetCitation once we have already passed it? I mean, on that trip through? How do we know when all the bibliography information has been loaded? We can't until we are done.

Re: r36710 - in lyx-devel/trunk/src: . insets

2010-12-06 Thread Jean-Marc Lasgouttes
Le 06/12/2010 14:01, RGH a écrit : So the existing situation is very close to this, except inverted: If we notice that the cache needs updating, then we run a special routine to update the cache (not a full buffer update), and then run the buffer update. So if we go this way, then we have no

Re: r36715 - lyx-devel/trunk/po

2010-12-06 Thread Jean-Marc Lasgouttes
Le 04/12/2010 17:31, Jürgen Spitzmüller a écrit : Pavel Sanda wrote: Georg Baum wrote: Did I break something again? This string should still be translated (but coming from lstrings.cpp now), and on my machine it stays in the po file after a remerge. here too, so it will be there. It is the

Re: LyX 2.0beta1 crashes if Xref inserted into eqnarray

2010-12-06 Thread John McCabe-Dansted
On Mon, Dec 6, 2010 at 7:37 AM, Christopher Menzel wrote: > LyX 2.0beta1 (dated 10 Nov) crashes consistently when I try to insert a cross > reference to a labeled lemma, theorem or corollary into a cell of an > eqnarray. If I try to copy and paste a cross-ref to the relevant

Question for ticket 7026 + PATCH

2010-12-06 Thread Stephan Witt
Anfang der weitergeleiteten E-Mail: > Von: Enrico Forestieri > Datum: 5. Dezember 2010 01:49:25 MEZ > An: lyx-devel@lists.lyx.org > Betreff: Re: PATCH for ticket 7026 > > On Sat, Dec 04, 2010 at 09:37:09PM +0100, Stephan Witt wrote: > >> I made another patch for the topic. >>

Re: Question for ticket 7026 + PATCH

2010-12-06 Thread Georg Baum
Stephan Witt wrote: > Anfang der weitergeleiteten E-Mail: > >> Von: Enrico Forestieri >> Datum: 5. Dezember 2010 01:49:25 MEZ >> An: lyx-devel@lists.lyx.org >> Betreff: Re: PATCH for ticket 7026 >> >> On Sat, Dec 04, 2010 at 09:37:09PM +0100, Stephan Witt wrote: >> >>> I made

[patch] #7044 module dependencies

2010-12-06 Thread Julien Rioux
Hi, A patch to give a more elaborate error message for missing module dependencies. Regarding converter dependencies, I don't treat them specially for now; missing converters simply get listed together with missing latex packages. But that's already an improvement. -- Julien Index:

Re: [patch] #7044 module dependencies

2010-12-06 Thread Julien Rioux
On 06/12/2010 3:02 PM, Julien Rioux wrote: Hi, A patch ... Also, please kindly consider the attached patch for the doc regarding availability of layouts and modules. Regards, Julien Index: lib/doc/UserGuide.lyx === ---

Re: LyX 2.0beta1 crashes if Xref inserted into eqnarray

2010-12-06 Thread Christopher Menzel
On Dec 6, 2010, at 11:46 AM, John McCabe-Dansted wrote: > On Mon, Dec 6, 2010 at 7:37 AM, Christopher Menzel wrote: >> LyX 2.0beta1 (dated 10 Nov) crashes consistently when I try to insert a >> cross reference to a labeled lemma, theorem or corollary into a cell of an >>

Re: [patch] #7044 module dependencies

2010-12-06 Thread Richard Heck
On 12/06/2010 03:06 PM, Julien Rioux wrote: On 06/12/2010 3:02 PM, Julien Rioux wrote: Hi, A patch ... Also, please kindly consider the attached patch for the doc regarding availability of layouts and modules. Can you post the complete manual with your changes? Then it will be easy to

Trunk is frozen

2010-12-06 Thread Pavel Sanda
trunk is completely frozen, please no commits. pavel

Re: Trunk is frozen

2010-12-06 Thread Vincent van Ravesteijn
On Tue, Dec 7, 2010 at 12:07 AM, Pavel Sanda wrote: > trunk is completely frozen, please no commits. > pavel > > Pavel, Can I commit this fix / workaround for bug 7149 ? It prevents LyX from crashing when a file is opened from the file manager and for some reason there is no

Re: Trunk is frozen

2010-12-06 Thread Pavel Sanda
Vincent van Ravesteijn wrote: > On Tue, Dec 7, 2010 at 12:07 AM, Pavel Sanda wrote: > > trunk is completely frozen, please no commits. > > pavel > > > > > > Pavel, > > Can I commit this fix / workaround for bug 7149 ? please no, tarballs are already on ftp, i'm just finishing

Re: Trunk is frozen

2010-12-06 Thread Vincent van Ravesteijn
On Tue, Dec 7, 2010 at 12:54 AM, Pavel Sanda wrote: > Vincent van Ravesteijn wrote: >> On Tue, Dec 7, 2010 at 12:07 AM, Pavel Sanda wrote: >> > trunk is completely frozen, please no commits. >> > pavel >> > >> > >> >> Pavel, >> >> Can I commit this fix / workaround

Re: Trunk is frozen

2010-12-06 Thread Pavel Sanda
Vincent van Ravesteijn wrote: > Ok.. but you owe me a beer for every report of this crash ;). i see, we have to release beta3 very soon otherwise my budget collapses. pavel

Re: Trunk is frozen

2010-12-06 Thread Pavel Sanda
Pavel Sanda wrote: > trunk is completely frozen, please no commits. the lock is released, trunk is free for commits again. beta2 tarbals are on ftp server. i plan to announce it tomorrow to give some time for generating binaries and guard against showstoppers. pavel