Re: Math-intensive work in 1.4.x impossible.

2006-08-24 Thread Georg Baum
Lars Gullik Bjønnes wrote: > Georg Baum <[EMAIL PROTECTED]> > writes: > > | For trunk I propose to update the included boost to 1.34cvs, since boost > | is in freeze and boost 1.34 will probably be released before LyX 1.5.0. > | Lars wanted to do that last month, but then came unicode ;-) > > Ju

Re: LFUN questions

2006-08-24 Thread Georg Baum
Michael Gerz wrote: > Hi, > > I have a few LFUN-related questions: > > * Is LFUN_ERROR_NEXT still needed or can we remove it? http://bugzilla.lyx.org/show_bug.cgi?id=2775 > * Does anybody know why we have word-find-backward, word-find-forward, > and word-find (3 instead of 2 functions)? I d

standalone lyx2tex

2006-08-24 Thread Luis Rivera
Hello, I don't know if a standalone console lyx2tex (maybe with lyx2lyx) is too farfetched... I can imagine (myself, for instance) trying to convert a lyx document to latex, withouth having to install/execute a full-fledged LyX. Maybe stripping down all the display code is too much, but having t

CygLyX-QtX11 on Win98 (and Win95)

2006-08-24 Thread Luis Rivera
Hello, I just want to report that CygLyX-QtX11 1.4.2 runs perfectly fine on Win98, save for the required xorg-x11-fscl package, overlooked by the Wiki page on Cygwin. Without this package the program displays blank squares; in fact, this package alone guarantees the installation of Cygwin's X11 se

intl header problem

2006-08-24 Thread Enrico Forestieri
When starting a fresh build (i.e., just after running configure with an initially empty build dir) I am getting the following error from make: cp libgnuintl.h libintl.h cp: cannot stat `libgnuintl.h': No such file or directory make[1]: *** [libintl.h] Error 1 and I have to manually cp /intl/libg

Re: Chinese LyX

2006-08-24 Thread Enrico Forestieri
On Thu, Aug 24, 2006 at 06:47:22PM +0200, Abdelrazak Younes wrote: > Enrico Forestieri wrote: > > I have compiled a Cygwin version of LyX/Qt4 using the native GUI (no X11) > > and now I see the chinese characters mentioned by Abdel when I load > > an old document. I also get a lot of messages on t

Re: build problem

2006-08-24 Thread Félix-Antoine Bourbonnais
Le jeudi 24 août 2006 16:57, Lars Gullik Bjønnes a écrit : > Félix-Antoine Bourbonnais <[EMAIL PROTECTED]> writes: > | > No, that is not the problem. I found it out now: It is again the > | > pollution of the global namespace in qt3 with the signals keyword. The > | > attached patch (including m

Re: build problem

2006-08-24 Thread Angus Leeming
Lars Gullik Bjønnes wrote: | But now, I have an error on the final linking. | The complete trace is attached. ./configure --disable-pch This is biting people quite regularly. I think you should disable PCH by default and enable it only for certain, known to work compilers. Like yours ;-)

Re: build problem

2006-08-24 Thread Lars Gullik Bjønnes
Félix-Antoine Bourbonnais <[EMAIL PROTECTED]> writes: | > No, that is not the problem. I found it out now: It is again the pollution | > of the global namespace in qt3 with the signals keyword. The attached | > patch (including more cleanup) goes in now. | | Yes, the WorkArea problem seems to

Re: Math-intensive work in 1.4.x impossible.

2006-08-24 Thread Lars Gullik Bjønnes
Georg Baum <[EMAIL PROTECTED]> writes: | For trunk I propose to update the included boost to 1.34cvs, since boost is | in freeze and boost 1.34 will probably be released before LyX 1.5.0. Lars | wanted to do that last month, but then came unicode ;-) Just give me the "Go!" and I'll update boost

Re: build problem

2006-08-24 Thread Félix-Antoine Bourbonnais
> So there's no compile error for qt4? The bug report seemed to imply > otherwise... That's why I didn't think that was the reason. Maybe I was wrong and that two problems were not linked. -- Félix-Antoine Bourbonnais http://www.rubico.info/ .

Re: build problem

2006-08-24 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: | > | But now, I have an error on the final linking. | > | The complete trace is attached. | | > ./configure --disable-pch | | This is biting people quite regularly. I think you should disable PCH | by default and enable it o

Re: build problem

2006-08-24 Thread Georg Baum
Am Donnerstag, 24. August 2006 21:53 schrieb Abdelrazak Younes: > So there's no compile error for qt4? No. gtk works fine, too. > The bug report seemed to imply > otherwise... I don't see that. Maybe it is time to go to bed ;-) Georg

LFUN questions

2006-08-24 Thread Michael Gerz
Hi, I have a few LFUN-related questions: * Is LFUN_ERROR_NEXT still needed or can we remove it? * Does anybody know why we have word-find-backward, word-find-forward, and word-find (3 instead of 2 functions)? * What is the purpose of paragraph-move-down and paragraph-move-up? Thanks in ad

Re: build problem

2006-08-24 Thread Abdelrazak Younes
Georg Baum wrote: Am Donnerstag, 24. August 2006 21:17 schrieb Abdelrazak Younes: Georg Baum wrote: Abdel, this problem in trunk appeared after your last commit: http://bugzilla.lyx.org/show_bug.cgi?id=2792 I see it, too (with gcc 3.3.5 and 4.1, external boost 1.34cvs). Any idea what goes wr

Re: build problem

2006-08-24 Thread Georg Baum
Am Donnerstag, 24. August 2006 21:17 schrieb Abdelrazak Younes: > Georg Baum wrote: > > Abdel, this problem in trunk appeared after your last commit: > > http://bugzilla.lyx.org/show_bug.cgi?id=2792 > > I see it, too (with gcc 3.3.5 and 4.1, external boost 1.34cvs). Any idea > > what goes wrong?

[Patch] Last Q3 reference in the qt4 frontend (hopefully) (was Re: Is really Qt3Support gone?)

2006-08-24 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Georg Baum wrote: Abdelrazak Younes wrote: Enrico Forestieri wrote: I think this not a big deal, but LyX/Qt4 is not really Qt3Support free ;-) On my system it really is... Grepping for Q3 and Qt3 gives absolutely nothing: Enrico is right, it is not. Grep the build

Re: build problem

2006-08-24 Thread Abdelrazak Younes
Georg Baum wrote: Abdel, this problem in trunk appeared after your last commit: http://bugzilla.lyx.org/show_bug.cgi?id=2792 I see it, too (with gcc 3.3.5 and 4.1, external boost 1.34cvs). Any idea what goes wrong? Maybe a header include is missing, could you try to add this to WorkArea.h: #i

Re: build problem

2006-08-24 Thread Abdelrazak Younes
Georg Baum wrote: Abdel, this problem in trunk appeared after your last commit: http://bugzilla.lyx.org/show_bug.cgi?id=2792 I see it, too (with gcc 3.3.5 and 4.1, external boost 1.34cvs). Any idea what goes wrong? I guess it's related to WorkArea now deriving from boost::signals::trackable a

Re: Is really Qt3Support gone?

2006-08-24 Thread Abdelrazak Younes
Georg Baum wrote: Abdelrazak Younes wrote: Enrico Forestieri wrote: I think this not a big deal, but LyX/Qt4 is not really Qt3Support free ;-) On my system it really is... Grepping for Q3 and Qt3 gives absolutely nothing: Enrico is right, it is not. Grep the build dir, and you will see it.

build problem

2006-08-24 Thread Georg Baum
Abdel, this problem in trunk appeared after your last commit: http://bugzilla.lyx.org/show_bug.cgi?id=2792 I see it, too (with gcc 3.3.5 and 4.1, external boost 1.34cvs). Any idea what goes wrong? Georg

Re: [PATCH] fix bug 2786

2006-08-24 Thread Georg Baum
Am Donnerstag, 24. August 2006 18:08 schrieb Jean-Marc Lasgouttes: > > "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: > > >> I do not think we should skip braces and spaces depending on what > >> LyX outputs. > > Georg> Why not? My goal was to translate all spaces in such a way that > Geo

Re: [PATCH] delete BufferView::firstLayout()

2006-08-24 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Abdelrazak Younes wrote: You may be right indeed. But it seems that updateLayoutChoice does a setLayout. Is it necessary to do another one? Maybe not. Actually it may well be that the Buffer

Designing a book with LyX (link)

2006-08-24 Thread José Matos
Hi all, I found this link in Linux Weekly News: Designing a book with LyX - http://software.newsforge.com/article.pl?sid=06/08/15/1859251 It should be interesting to add to wiki. It is a good promotion of LyX's abilities. :-) Thanks to the authors for the text. -- José Abílio

Re: Chinese LyX

2006-08-24 Thread Abdelrazak Younes
Enrico Forestieri wrote: I have compiled a Cygwin version of LyX/Qt4 using the native GUI (no X11) and now I see the chinese characters mentioned by Abdel when I load an old document. I also get a lot of messages on the console: Error returned from iconv EILSEQ An invalid multibyte sequence has

Re: Is really Qt3Support gone?

2006-08-24 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Abdelrazak Younes wrote: >> Indeed and I am absolutely sure that the .h generated from .ui in >> my system are completely free of Q3support. Abdelrazak> I am absolutely sure that I was wrong! After looking at the so

Re: [PATCH] fix bug 2786

2006-08-24 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: >> I do not think we should skip braces and spaces depending on what >> LyX outputs. Georg> Why not? My goal was to translate all spaces in such a way that Georg> the resulting DVI of the original .tex file and that of the Georg> generated

Chinese LyX

2006-08-24 Thread Enrico Forestieri
I have compiled a Cygwin version of LyX/Qt4 using the native GUI (no X11) and now I see the chinese characters mentioned by Abdel when I load an old document. I also get a lot of messages on the console: Error returned from iconv EILSEQ An invalid multibyte sequence has been encountered in the inp

Re: Is really Qt3Support gone?

2006-08-24 Thread Lars Gullik Bjønnes
Enrico Forestieri <[EMAIL PROTECTED]> writes: | I think this not a big deal, but LyX/Qt4 is not really Qt3Support free ;-) Actually it seems that it is... could also be that we should change to the qt4 resource stuff... perhaps that is why we get the qt3 header in the .ui->.h file. --

Re: [PATCH] fix bug 2786

2006-08-24 Thread Georg Baum
Jean-Marc Lasgouttes wrote: >> "Georg" == Georg Baum >> <[EMAIL PROTECTED]> >> writes: > > Georg> This patch fixes bug 2786: tex2lyx does not know any of the > Georg> spaces supported by InsetSpace except ~. The attached LyX file > Georg> shows that the roundtrip LyX-> LaTeX->LyX->LaT

Re: Is really Qt3Support gone?

2006-08-24 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Angus Leeming wrote: Abdelrazak Younes wrote: Maybe the ui files have something specific to qt3? Maybe... I don't know if my local Qt4 was compiled with -no-qt3support, I guess not. Maybe the .ui -> .[hC] generator has a -no-qt3support flag that you aren't using?

Re: Is really Qt3Support gone?

2006-08-24 Thread Abdelrazak Younes
Enrico Forestieri wrote: On Thu, Aug 24, 2006 at 04:47:25PM +0200, Abdelrazak Younes wrote: Enrico Forestieri wrote: [...] I think this not a big deal, but LyX/Qt4 is not really Qt3Support free ;-) On my system it really is... Grepping for Q3 and Qt3 gives absolutely nothing: [EMAIL PROTEC

Re: Is really Qt3Support gone?

2006-08-24 Thread Abdelrazak Younes
Angus Leeming wrote: Abdelrazak Younes wrote: Maybe the ui files have something specific to qt3? Maybe... I don't know if my local Qt4 was compiled with -no-qt3support, I guess not. Maybe the .ui -> .[hC] generator has a -no-qt3support flag that you aren't using? It would be strange to be

Re: Is really Qt3Support gone?

2006-08-24 Thread Georg Baum
Abdelrazak Younes wrote: > Enrico Forestieri wrote: >> I think this not a big deal, but LyX/Qt4 is not really Qt3Support free >> ;-) > > On my system it really is... Grepping for Q3 and Qt3 gives absolutely > nothing: Enrico is right, it is not. Grep the build dir, and you will see it. For examp

Re: Is really Qt3Support gone?

2006-08-24 Thread Enrico Forestieri
On Thu, Aug 24, 2006 at 04:47:25PM +0200, Abdelrazak Younes wrote: > Enrico Forestieri wrote: [...] > > I think this not a big deal, but LyX/Qt4 is not really Qt3Support free ;-) > > On my system it really is... Grepping for Q3 and Qt3 gives absolutely > nothing: > > [EMAIL PROTECTED] /cygdrive

Re: Is really Qt3Support gone?

2006-08-24 Thread Abdelrazak Younes
Enrico Forestieri wrote: On Thu, Aug 24, 2006 at 04:28:04PM +0200, Abdelrazak Younes wrote: Enrico Forestieri wrote: [...] In the meantime I simply copied the Qt3Support header files to the installation dir and reissued "make". Compilation is going on smoothly until now. Ah... then it was a

Re: Is really Qt3Support gone?

2006-08-24 Thread Enrico Forestieri
On Thu, Aug 24, 2006 at 04:28:04PM +0200, Abdelrazak Younes wrote: > Enrico Forestieri wrote: [...] > > In the meantime I simply copied the Qt3Support header files to > > the installation dir and reissued "make". Compilation is going > > on smoothly until now. > > Ah... then it was a Qt4 installa

Re: [PATCH] delete BufferView::firstLayout()

2006-08-24 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> That's because I created it :-). It was cut&paste from the Abdelrazak> second part of the former BufferView::pimpl::setBuffer(). So it is not that I am getting old, then. JMarc

Re: Is really Qt3Support gone?

2006-08-24 Thread Angus Leeming
Abdelrazak Younes wrote: Maybe the ui files have something specific to qt3? Maybe... I don't know if my local Qt4 was compiled with -no-qt3support, I guess not. Maybe the .ui -> .[hC] generator has a -no-qt3support flag that you aren't using? It would be strange to be able to compile the Qt

Re: [PATCH] delete BufferView::firstLayout()

2006-08-24 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Abdelrazak Younes wrote: You may be right indeed. But it seems that updateLayoutChoice does a setLayout. Is it necessary to do another one? Maybe not. Actually it may well be that the Buffer

Re: Is really Qt3Support gone?

2006-08-24 Thread Abdelrazak Younes
Enrico Forestieri wrote: On Thu, Aug 24, 2006 at 04:04:25PM +0200, Abdelrazak Younes wrote: Does it suffice that I manually copy the Qt3Support files (which are present in the the qt4 build dir, but do not get installed) to the qt4 installation dir, or should I enable support for qt3 when build

Re: [PATCH] delete BufferView::firstLayout()

2006-08-24 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Abdelrazak Younes wrote: You may be right indeed. But it seems that updateLayoutChoice does a setLayout. Is it necessary to do another one? >>> Maybe not. Actually it may well be that the >>> BufferView::Pim

Re: Is really Qt3Support gone?

2006-08-24 Thread Enrico Forestieri
On Thu, Aug 24, 2006 at 04:04:25PM +0200, Abdelrazak Younes wrote: > > Does it suffice that I manually copy the Qt3Support files (which are > > present in the the qt4 build dir, but do not get installed) to the > > qt4 installation dir, or should I enable support for qt3 when building qt4? > > No

[PATCH] delete BufferView::firstLayout() (was Re: [PATCH] update layout lists before setting layout

2006-08-24 Thread Abdelrazak Younes
Abdelrazak Younes wrote: You may be right indeed. But it seems that updateLayoutChoice does a setLayout. Is it necessary to do another one? Maybe not. Actually it may well be that the BufferView::Pimpl::firstLayout() method can go altogether. updateLayoutChoice() will set the layout that matc

Re: Is really Qt3Support gone?

2006-08-24 Thread Abdelrazak Younes
Enrico Forestieri wrote: I tried building qt4 with -no-qt3support, but when trying to build LyX compilation fails as follows: g++ -DHAVE_CONFIG_H -I. -I../../../../src/frontends/qt4 -I../../../src -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_STL -DQT_NO_KEYWORDS -DQ_CYGWIN_WIN -I../../../../s

Re: Is really Qt3Support gone?

2006-08-24 Thread Enrico Forestieri
On Thu, Aug 24, 2006 at 03:41:20PM +0200, Lars Gullik Bjønnes wrote: > Enrico Forestieri <[EMAIL PROTECTED]> writes: [...] > | A quick check reveals that Qt3Support is seemingly still needed for > | compiling LyX: > | > | $ grep -rl Qt3Support build/src/frontends/qt4 > | src/frontends/qt4/ui/Bibl

Re: [PATCH] transfer message signal from Buffer to BufferView (was Re: [Patch] replace LyXView...)

2006-08-24 Thread Abdelrazak Younes
Lars Gullik Bjønnes wrote: Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Angus Leeming wrote: | > Abdelrazak Younes wrote: | >>> I don't really get why you need a signal. Why can't a | >>> BufferView.message function not call a WorkArea.message function? | >>> There's a one-to-one corresponden

Re: [PATCH] transfer message signal from Buffer to BufferView (was Re: [Patch] replace LyXView...)

2006-08-24 Thread Abdelrazak Younes
Angus Leeming wrote: Abdelrazak Younes wrote: So I'd rather do the other way around and switch back to function calls if it turns out to be too heavy (which I don't think it will ;-)). Agreed? You're doing the work. I can only give you the "benefit" of my advice. Either way, it's not a big

Re: Is really Qt3Support gone?

2006-08-24 Thread Lars Gullik Bjønnes
Enrico Forestieri <[EMAIL PROTECTED]> writes: | I tried building qt4 with -no-qt3support, but when trying to build LyX | compilation fails as follows: | | g++ -DHAVE_CONFIG_H -I. -I../../../../src/frontends/qt4 -I../../../src -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_STL -DQT_NO_KEYWORDS -D

Is really Qt3Support gone?

2006-08-24 Thread Enrico Forestieri
I tried building qt4 with -no-qt3support, but when trying to build LyX compilation fails as follows: g++ -DHAVE_CONFIG_H -I. -I../../../../src/frontends/qt4 -I../../../src -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_STL -DQT_NO_KEYWORDS -DQ_CYGWIN_WIN -I../../../../src -I../../../../src/fronte

Re: [PATCH] fix bug 2786

2006-08-24 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> This patch fixes bug 2786: tex2lyx does not know any of the Georg> spaces supported by InsetSpace except ~. The attached LyX file Georg> shows that the roundtrip LyX-> LaTeX->LyX->LaTeX is perfect. I do not think we should skip braces

Re: [PATCH] transfer message signal from Buffer to BufferView (was Re: [Patch] replace LyXView...)

2006-08-24 Thread Lars Gullik Bjønnes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Angus Leeming wrote: | > Abdelrazak Younes wrote: | >>> I don't really get why you need a signal. Why can't a | >>> BufferView.message function not call a WorkArea.message function? | >>> There's a one-to-one correspondence, no? | >> | >> For now yes

[PATCH] fix bug 2786

2006-08-24 Thread Georg Baum
This patch fixes bug 2786: tex2lyx does not know any of the spaces supported by InsetSpace except ~. The attached LyX file shows that the roundtrip LyX->LaTeX->LyX->LaTeX is perfect. This goes in tonight unless somebody objects. Jean-Marc, also for 1.4.3? Georg insetspace-test.lyx Description:

Re: [PATCH] transfer message signal from Buffer to BufferView (was Re: [Patch] replace LyXView...)

2006-08-24 Thread Angus Leeming
Abdelrazak Younes wrote: So I'd rather do the other way around and switch back to function calls if it turns out to be too heavy (which I don't think it will ;-)). Agreed? You're doing the work. I can only give you the "benefit" of my advice. Either way, it's not a big deal. Angus

Re: [PATCH] transfer message signal from Buffer to BufferView (was Re: [Patch] replace LyXView...)

2006-08-24 Thread Abdelrazak Younes
Angus Leeming wrote: Abdelrazak Younes wrote: I don't really get why you need a signal. Why can't a BufferView.message function not call a WorkArea.message function? There's a one-to-one correspondence, no? For now yes but I can very well imagine multiple WorkArea using the same BufferView.

Re: [PATCH] transfer message signal from Buffer to BufferView (was Re: [Patch] replace LyXView...)

2006-08-24 Thread Angus Leeming
Abdelrazak Younes wrote: I don't really get why you need a signal. Why can't a BufferView.message function not call a WorkArea.message function? There's a one-to-one correspondence, no? For now yes but I can very well imagine multiple WorkArea using the same BufferView. Use-case: a teacher

Re: [PATCH] update layout lists before setting layout

2006-08-24 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Jean-Marc Lasgouttes wrote: When creating a new document, I see: Trying to select non existent layout type Standard This is because LyXView::setBuffer sets the layou

Re: [PATCH] transfer message signal from Buffer to BufferView (was Re: [Patch] replace LyXView...)

2006-08-24 Thread Abdelrazak Younes
Angus Leeming wrote: Abdelrazak Younes wrote: Abdelrazak Younes wrote: The following messages are really Buffer dependant and not BufferView dependant and should stay so IMHO: lyx_cb.C(289): bv_.buffer()->message(_("Autosave failed!")); lyx_cb.C(316): bv->buffer()->message(_("Autosaving curre

Re: [PATCH] transfer message signal from Buffer to BufferView (was Re: [Patch] replace LyXView...)

2006-08-24 Thread Angus Leeming
Abdelrazak Younes wrote: Abdelrazak Younes wrote: The following messages are really Buffer dependant and not BufferView dependant and should stay so IMHO: lyx_cb.C(289): bv_.buffer()->message(_("Autosave failed!")); lyx_cb.C(316): bv->buffer()->message(_("Autosaving current document...")); l

Re: [PATCH] update layout lists before setting layout

2006-08-24 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Jean-Marc Lasgouttes wrote: When creating a new document, I see: Trying to select non existent layout type Standard This is because LyXView::setBuffer sets the layout before updating layout l

Re: [PATCH] update layout lists before setting layout

2006-08-24 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Jean-Marc Lasgouttes wrote: >> When creating a new document, I see: Trying to select non existent >> layout type Standard >> >> This is because LyXView::setBuffer sets the layout before updating >> layout list. >> >>

Re: [PATCH] update layout lists before setting layout

2006-08-24 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: >> This is because LyXView::setBuffer sets the layout before updating >> layout list. >> >> Abdel, is the following patch OK? Abdelrazak> This seems fine. OK, I applied it. JMarc

Re: [PATCH] update layout lists before setting layout

2006-08-24 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: When creating a new document, I see: Trying to select non existent layout type Standard This is because LyXView::setBuffer sets the layout before updating layout list. Abdel, is the following patch OK? Hum I atalked too fast, sorry. updateLayoutChoice() is doing d

Re: [PATCH] update layout lists before setting layout

2006-08-24 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: When creating a new document, I see: Trying to select non existent layout type Standard This is because LyXView::setBuffer sets the layout before updating layout list. Abdel, is the following patch OK? This seems fine. Abdel.

Re: [PATCH] Let pkg-config-based configure use --with-qt4-dir

2006-08-24 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | Lars, OK? Lars> Yes, why not. Applied. JMarc

[PATCH] update layout lists before setting layout

2006-08-24 Thread Jean-Marc Lasgouttes
When creating a new document, I see: Trying to select non existent layout type Standard This is because LyXView::setBuffer sets the layout before updating layout list. Abdel, is the following patch OK? JMarc Index: src/frontends/LyXView.C ===

Re: [Patch] Fix crash when loading an empty corrupted document.

2006-08-24 Thread Abdelrazak Younes
José Matos wrote: On Wednesday 23 August 2006 23:17, Abdelrazak Younes wrote: This patch fixes the crash caused by loading the attached empty corrupted document. Comments? The patch looks sane but the lyx file is empty. :-) Year, an empty document that crashed lyx... Abdel.

Re: [Patch] Fix crash when loading an empty corrupted document.

2006-08-24 Thread José Matos
On Wednesday 23 August 2006 23:17, Abdelrazak Younes wrote: > This patch fixes the crash caused by loading the attached empty > corrupted document. > > Comments? The patch looks sane but the lyx file is empty. :-) > Abdel. -- José Abílio

Re: [Patch] Fix crash when loading an empty corrupted document.

2006-08-24 Thread Abdelrazak Younes
Abdelrazak Younes wrote: This patch fixes the crash caused by loading the attached empty corrupted document. Committed.

Re: [PATCH] transfer message signal from Buffer to BufferView (was Re: [Patch] replace LyXView...)

2006-08-24 Thread Abdelrazak Younes
Abdelrazak Younes wrote: The following messages are really Buffer dependant and not BufferView dependant and should stay so IMHO: lyx_cb.C(289): bv_.buffer()->message(_("Autosave failed!")); lyx_cb.C(316): bv->buffer()->message(_("Autosaving current document...")); lyx_cb.C(442): bv->buffer()->

[PATCH] transfer message signal from Buffer to BufferView (was Re: [Patch] replace LyXView...)

2006-08-24 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Angus Leeming wrote: Abdelrazak Younes wrote: Hello, The subject says it all. This patch is obviously the right thing to do so I will commit soon. Is it really the right thing to do? Imagine that you have multiple bufferviews on a buffer. If you perform some action