Re: PATCH for ticket 7026

2010-12-04 Thread Enrico Forestieri
On Sat, Dec 04, 2010 at 09:37:09PM +0100, Stephan Witt wrote: > I made another patch for the topic. > Enrico, Georg, do you have any plans yourself? I think you should also perform the substitution isDigit() -> isDigitASCII() as they are duplicates, and ditch the isDigit() implementation in lstr

Freezing trunk for beta 2

2010-12-04 Thread Pavel Sanda
hi, as announced we enter soft freeze of trunk at the deepest night sunday 7am CET (or in other words if you are still awake now feel free to finish stuff you are working on). sun/mon we should touch code only when some critical or embarrassing bug appears otherwise only doc/translations(po/ is

RE: #6918: Lyx 1.6.7 can't create pdf. pdfview crashes.

2010-12-04 Thread Vladimir Plackic
hi there thanks for your email. the new version seemed to have removed the problem and everything is working wellagain thanks for your time > From: t...@lyx.org > To: vladimirplac...@msn.com; uwesto...@web.de > Date: Thu, 2 Dec 2010 22:46:59 + > Subject: Re: #6918: Lyx 1.6.7 can't create pd

Re: r36731 - lyx-devel/trunk/src

2010-12-04 Thread Abdelrazak Younes
On 05/12/2010 00:21, you...@lyx.org wrote: Author: younes Date: Sun Dec 5 00:21:47 2010 New Revision: 36731 URL: http://www.lyx.org/trac/changeset/36731 Log: Fix bug #7071 in cutSelection: After a cut operation, we need to make sure that the Buffer is updated because some further operation will

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

2010-12-04 Thread Abdelrazak Younes
On 04/12/2010 23:55, Richard Heck wrote: On 12/04/2010 03:41 PM, Abdelrazak Younes wrote: On 04/12/2010 04:15, rgh...@lyx.org wrote: Author: rgheck Date: Sat Dec 4 04:15:53 2010 New Revision: 36710 URL: http://www.lyx.org/trac/changeset/36710 Log: Revert r36696: We can't collect BibTeX inform

Re: r36721 - lyx-devel/trunk/src/frontends/qt4

2010-12-04 Thread Abdelrazak Younes
On 04/12/2010 23:28, Pavel Sanda wrote: you...@lyx.org wrote: Author: younes Date: Sat Dec 4 23:07:39 2010 New Revision: 36721 URL: http://www.lyx.org/trac/changeset/36721 Log: Make sure the current view is set to busy in order to avoid a crash due to a screen redraw in the middle of a di

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

2010-12-04 Thread Richard Heck
On 12/04/2010 03:41 PM, Abdelrazak Younes wrote: On 04/12/2010 04:15, rgh...@lyx.org wrote: Author: rgheck Date: Sat Dec 4 04:15:53 2010 New Revision: 36710 URL: http://www.lyx.org/trac/changeset/36710 Log: Revert r36696: We can't collect BibTeX information during the updateBuffer() traversal.

Re: r36721 - lyx-devel/trunk/src/frontends/qt4

2010-12-04 Thread Pavel Sanda
you...@lyx.org wrote: > Author: younes > Date: Sat Dec 4 23:07:39 2010 > New Revision: 36721 > URL: http://www.lyx.org/trac/changeset/36721 > > Log: > Make sure the current view is set to busy in order to avoid a crash due to a > screen redraw in the middle of a dispatch operation just because a

Re: beta1: crashes when compiling Sweave docs (with error in R code)

2010-12-04 Thread Pavel Sanda
Liviu Andronic wrote: > > iirc we have in our sources still some #ifdef for using threads. > > if you switch it off and the crash disappears at least we know > > the area of origin. > > > How do I do so? Is there some ready config switch? grep gives me: GuiView.cpp:#define EXPORT_in_THREAD 1 GuiAl

Re: Towards beta2 [status #2]

2010-12-04 Thread Pavel Sanda
Stephan Witt wrote: > Am 03.12.2010 um 23:09 schrieb Pavel Sanda: > > > Pavel Sanda wrote: > >> Vincent van Ravesteijn wrote: > >>> I think we should do something about the large amount of critical > >>> bugs. I believe there are 12 that have a bug number of 7000 or higher. > >> > >> except #7026

Re: Towards beta2 [status #2]

2010-12-04 Thread Stephan Witt
Am 03.12.2010 um 23:09 schrieb Pavel Sanda: > Pavel Sanda wrote: >> Vincent van Ravesteijn wrote: >>> I think we should do something about the large amount of critical >>> bugs. I believe there are 12 that have a bug number of 7000 or higher. >> >> except #7026 which is already in pipe none of th

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

2010-12-04 Thread Abdelrazak Younes
On 04/12/2010 04:15, rgh...@lyx.org wrote: Author: rgheck Date: Sat Dec 4 04:15:53 2010 New Revision: 36710 URL: http://www.lyx.org/trac/changeset/36710 Log: Revert r36696: We can't collect BibTeX information during the updateBuffer() traversal. The reason is simple: InsetCitation needs access

Re: PATCH for ticket 7026

2010-12-04 Thread Stephan Witt
Am 03.12.2010 um 19:38 schrieb Enrico Forestieri: > On Fri, Dec 03, 2010 at 06:40:39PM +0100, Georg Baum wrote: > >> Stephan Witt wrote: >> >>> Am 03.12.2010 um 04:36 schrieb Enrico Forestieri: >>> 2) replace all occurrences of isDigit() with isDigitASCII() >> >> I don't know. Unless some

Re: [bug 6709] Why is "math-mode on" not disabled in math?

2010-12-04 Thread Georg Baum
Pavel Sanda wrote: > Georg Baum wrote: > >> - Having no shortcut for "math-mode on" is certainly not nice. I would >> suggest to transfer one of the three shortcuts for "math-mode" (C-M, M-C >> M, M-M M) to "math-mode on", but I don't know which one. > > no hard opinion. question is whether usin

Re: beta1: crashes when compiling Sweave docs (with error in R code)

2010-12-04 Thread Liviu Andronic
On Sat, Dec 4, 2010 at 6:15 PM, Pavel Sanda wrote: > it may be dependent on some timing synchrony which will change with > different speed under valgrind... i guess the crash happens during > some export? > Yes, export to pdflatex. > we switched to threads, you know :) > Intuitively I'm also susp

Re: r36687 - in lyx-devel/trunk/src: . frontends/qt4 support

2010-12-04 Thread Stephan Witt
Am 04.12.2010 um 17:09 schrieb Georg Baum: > Stephan Witt wrote: > >> Now I have a problem on Mac OS X. >> On Mac OS X ENABLE_NLS is false. > > Sorry for that. I oberlooked the ENABLE_NLS=false case. No problem. > Does that mean that LyX on Mac is not translated? No, I didn't say it as precis

Re: beta1: crashes when compiling Sweave docs (with error in R code)

2010-12-04 Thread Pavel Sanda
Liviu Andronic wrote: > On Sat, Dec 4, 2010 at 4:55 PM, Pavel Sanda wrote: > > most of them are not "ours"... anyway, we are havent moved a single > > step as far as crashes is concerned. > > > Is it normal that I cannot replicate any crashes under valgrind, even > though I can easily (within max

Re: [bug 6709] Why is "math-mode on" not disabled in math?

2010-12-04 Thread Pavel Sanda
Georg Baum wrote: > Ah, I see. So "previously" meant the use for the inline formula, all other > formulas still use "on". After thinking again about this I came to the > following conclusions: > > - Labeling the lfun "math-mode" as "Insert Math->Inline Formula" is wrong. > "math-mode" does not

Re: beta1: crashes when compiling Sweave docs (with error in R code)

2010-12-04 Thread Liviu Andronic
On Sat, Dec 4, 2010 at 4:55 PM, Pavel Sanda wrote: > most of them are not "ours"... anyway, we are havent moved a single > step as far as crashes is concerned. > Is it normal that I cannot replicate any crashes under valgrind, even though I can easily (within max 2 mins) replicate under gdb or sim

Re: [bug 6709] Why is "math-mode on" not disabled in math?

2010-12-04 Thread Georg Baum
Pavel Sanda wrote: > Georg Baum wrote: >> I see. That means that this code is unrelated. >> >> > the only exception is argument "on" (which was previously used in >> > menu) so insert was possible only from text mode. >> >> Why previously? It is still used. And why is insert nowadays also >> pos

Re: r36715 - lyx-devel/trunk/po

2010-12-04 Thread Jürgen Spitzmüller
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 old annoying problem that one has to

Re: r36715 - lyx-devel/trunk/po

2010-12-04 Thread Pavel Sanda
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. pavel

Re: r36715 - lyx-devel/trunk/po

2010-12-04 Thread Georg Baum
sp...@lyx.org wrote: > --- lyx-devel/trunk/po/de.po Sat Dec 4 15:29:25 2010 (r36714) > +++ lyx-devel/trunk/po/de.po Sat Dec 4 15:38:58 2010 (r36715) > werden" > @@ -24024,10 +24029,6 @@ > msgid "Debugging `%1$s' (%2$s)" > msgstr "Testen von `%1$s' (%2$s)" > > -#: src/suppo

Re: r36687 - in lyx-devel/trunk/src: . frontends/qt4 support

2010-12-04 Thread Pavel Sanda
Nikos Chantziaras wrote: > This commit breaks linking: > > make[4]: Entering directory `/var/tmp/portage/lyx-devel/src' > CXXLD lyx > liblyxcore.a(Language.o): In function `lyx::Language::read(lyx::Lexer&)': > Language.cpp:(.text+0x55a): undefined reference to > `lyx::Messages::available() cons

Re: [PATCH] Bug #6777

2010-12-04 Thread Jürgen Spitzmüller
Richard Heck wrote: > The attached patches implement handling of most of natbib's package > options, per #6777, which still has a 2.0 milestone, as I've been hoping > to get to it for a while: It allows choice of bracket(), [], {}, > <>---allows for "sort" and "sort&compress", and allows for ch

Re: Patch for rendering PSTricks and TikZ in instant-preview(#7042)

2010-12-04 Thread Pavel Sanda
Enrico Forestieri wrote: > On Sat, Dec 04, 2010 at 11:42:03AM +0100, veno...@arcadiaclub.com wrote: > > > > the movement shouldn't be as big as in normal traffic - but right - thats > > > possible... and its what we want - to focus on bugs and not on new > > > features. > > > > It's right. I'll

Re: r36687 - in lyx-devel/trunk/src: . frontends/qt4 support

2010-12-04 Thread Georg Baum
Stephan Witt wrote: > Now I have a problem on Mac OS X. > On Mac OS X ENABLE_NLS is false. Sorry for that. I oberlooked the ENABLE_NLS=false case. Does that mean that LyX on Mac is not translated? > Therefor Messages::available() is not compiled in and linking stage fails. > > Sorry, I cannot

[PATCH] Bug #6777

2010-12-04 Thread Richard Heck
The attached patches implement handling of most of natbib's package options, per #6777, which still has a 2.0 milestone, as I've been hoping to get to it for a while: It allows choice of bracket(), [], {}, <>---allows for "sort" and "sort&compress", and allows for choice of separator---co

Re: View>Source as XHTML?

2010-12-04 Thread Jürgen Spitzmüller
Richard Heck wrote: > My only question is one I think JMarc asked earlier, namely, whether we > want to provide some > mechanism for indicating flavor in some config file, rather than trying > to guess it. We do not guess it. I introduced a converter flag that defines the (latex) flavor, and we

Re: beta1: crashes when compiling Sweave docs (with error in R code)

2010-12-04 Thread Pavel Sanda
Liviu Andronic wrote: > A last debug for now. This time I tried to build the Sweave file only > once, and still got 112 errors. From what I understand beta1 > definitely leaks. most of them are not "ours"... anyway, we are havent moved a single step as far as crashes is concerned. pavel

Re: View>Source as XHTML?

2010-12-04 Thread Richard Heck
On 12/04/2010 09:54 AM, Jürgen Spitzmüller wrote: Jürgen Spitzmüller wrote: Jürgen Spitzmüller wrote: A patch along this line is attached. We still have to hardcode xhtml, since there's no dedicated converter where we could derive a xhtml flag from. I committed the backend=flavor part, since

LyX Leaks?

2010-12-04 Thread Richard Heck
On 12/04/2010 02:41 AM, Liviu Andronic wrote: On Sat, Dec 4, 2010 at 8:35 AM, Liviu Andronic wrote: I clearly cannot get lyx to crash under valgrind (for a Sat morning, I tried a lot of times), and I have a feeling that this is expected. I attach another session log with 115 errors. (Let me kn

Re: View>Source as XHTML?

2010-12-04 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote: > Jürgen Spitzmüller wrote: > > A patch along this line is attached. We still have to hardcode xhtml, > > since there's no dedicated converter where we could derive a xhtml flag > > from. > > I committed the backend=flavor part, since this is a step forward anyway > and

Re: Patch for rendering PSTricks and TikZ in instant-preview(#7042)

2010-12-04 Thread Enrico Forestieri
On Sat, Dec 04, 2010 at 11:42:03AM +0100, veno...@arcadiaclub.com wrote: > > the movement shouldn't be as big as in normal traffic - but right - thats > > possible... and its what we want - to focus on bugs and not on new features. > > It's right. I'll take a look at the ticket list if I can help

LyX 3 commandments

2010-12-04 Thread venom00
I am the Lord your God, who brought you up out of the land of Microsoft Word 95, out of the house of slavery; 1. Thou shalt always join the #LyX IRC channel on irc.debian.org [1] 2. Thou shalt always be active, present and give support for quick & easy questions 3. Thou shalt lose as much time a

RE: Patch for rendering PSTricks and TikZ in instant-preview(#7042)

2010-12-04 Thread venom00
@Pavel: > the movement shouldn't be as big as in normal traffic - but right - thats > possible... and its what we want - to focus on bugs and not on new features. It's right. I'll take a look at the ticket list if I can help in something. Another thing: why 2.1? It's a change so big that wouldn't

Re: r36687 - in lyx-devel/trunk/src: . frontends/qt4 support

2010-12-04 Thread Nikos Chantziaras
This commit breaks linking: make[4]: Entering directory `/var/tmp/portage/lyx-devel/src' CXXLD lyx liblyxcore.a(Language.o): In function `lyx::Language::read(lyx::Lexer&)': Language.cpp:(.text+0x55a): undefined reference to `lyx::Messages::available() const' collect2: ld returned 1 exit stat