Re: Error compiling LyX 1.4.1 on Debian Unstable g++ 4.0.3 or g++ 4.1

2006-04-13 Thread Lars Gullik Bjønnes
Charles de Miramon <[EMAIL PROTECTED]> writes: | Hello, | | I'm trying to create packakes of LyX 1.4.1 for Debian Unstable using Georg | Baum recip without any success. | | Whatever version of g++ I'm using, the 4.0.3 (standard in Debian Unstable) | or the experimental 4.1, I get compilation err

Is this cursor reset necessary?

2006-04-13 Thread Bo Peng
Dear list, 1. Open a document, edit the first paragraph 2. Scroll down a few pages, using mouse or page down key 3. File->save 4. Lyx will scroll back to the beginning of the document. Since I use Alt-F,S very often (a psychological result of previous disastrous data loss, not caused by lyx) this

Error compiling LyX 1.4.1 on Debian Unstable g++ 4.0.3 or g++ 4.1

2006-04-13 Thread Charles de Miramon
Hello, I'm trying to create packakes of LyX 1.4.1 for Debian Unstable using Georg Baum recip without any success. Whatever version of g++ I'm using, the 4.0.3 (standard in Debian Unstable) or the experimental 4.1, I get compilation errors in some boost code. See below. Using g++ 3.3 is not an op

Re: [patch] require tipa

2006-04-13 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> at the moment tipa has to be loaded manually. OK for trunk? Seems reasonable. JMarc

Re: r13672 - /lyx-devel/trunk/src/frontends/qt4/QWorkArea.C

2006-04-13 Thread Lars Gullik Bjønnes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes a écrit : | > [EMAIL PROTECTED] writes: | > | Author: younes | > | Date: Thu Apr 13 22:39:42 2006 | > | New Revision: 13672 | > | | Log: | > | compilation fixes following rev 13671 | > Please act on my C-style comment. | | Done a

Re: r13672 - /lyx-devel/trunk/src/frontends/qt4/QWorkArea.C

2006-04-13 Thread Abdelrazak Younes
Lars Gullik Bjønnes a écrit : [EMAIL PROTECTED] writes: | Author: younes | Date: Thu Apr 13 22:39:42 2006 | New Revision: 13672 | | Log: | compilation fixes following rev 13671 Please act on my C-style comment. Done already. I move faster than you react ;-)

Re: [patch] Change dependency direction for some workarea actions

2006-04-13 Thread Lars Gullik Bjønnes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: | > | + wa_ptr = (QWorkArea*)(this); | > No C-syle casts please. | > Use | > wa_ptr = const_cast(this); | | Right, I forgot about that, I'll fix it. Thanks a lot. -- Lgb

Re: r13672 - /lyx-devel/trunk/src/frontends/qt4/QWorkArea.C

2006-04-13 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] writes: | Author: younes | Date: Thu Apr 13 22:39:42 2006 | New Revision: 13672 | | Log: | compilation fixes following rev 13671 Please act on my C-style comment. -- Lgb

Re: [patch] Change dependency direction for some workarea actions

2006-04-13 Thread Abdelrazak Younes
Lars Gullik Bjønnes a écrit : Abdelrazak Younes <[EMAIL PROTECTED]> writes: | > NB: Qt4 files have been updated, but not tested. So changes might be | > needed. | | This patch goes in to fix compilation of Qt4. | | Abdel | Index: QWorkArea.C | =

Re: LyX 1.4.1 is released

2006-04-13 Thread Paul A. Rubin
Enrico Forestieri wrote: On Thu, Apr 13, 2006 at 03:34:12PM -0400, Paul A. Rubin wrote: Well, the good news is that it no longer trips over a space. The bad news is that I get the following output: checking for a LaTeX -> LyX converter... +checking for "tex2lyx"... no +checking for "tex2ly

Re: [patch] Change dependency direction for some workarea actions

2006-04-13 Thread Lars Gullik Bjønnes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: | > NB: Qt4 files have been updated, but not tested. So changes might be | > needed. | | This patch goes in to fix compilation of Qt4. | | Abdel | Index: QWorkArea.C | === | --- QWorkAre

Re: [patch] Change dependency direction for some workarea actions

2006-04-13 Thread Abdelrazak Younes
Lars Gullik Bjønnes a écrit : This patch replaces several of workarea signals with direct function calls into BufferView. This means that the dependency direction is changed, now the frontend depend on the core and not the other way around. (IMO more correct) As a added bonues this should be a

Re: [patch] Change dependency direction for some workarea actions

2006-04-13 Thread Lars Gullik Bjønnes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Yep, I never understood the reason for this wa_ptr... If someone coud | explain me a bit about that I will certainly remove it. It seems it is used as a trick to get a pointer to the WorkArea usable from some C callback function(s). | Then, in this

Re: [patch] Change dependency direction for some workarea actions

2006-04-13 Thread Abdelrazak Younes
Lars Gullik Bjønnes a écrit : Andre Poenitz <[EMAIL PROTECTED]> writes: | On Thu, Apr 13, 2006 at 08:03:23PM +0200, Lars Gullik Bjønnes wrote: | > Will go in shortly, but comments are appreciated. | | case SelectionClear: | lyxerr[Debug::GUI] << "Lost selection." << endl; |

Re: LyX 1.4.1 is released

2006-04-13 Thread Enrico Forestieri
On Thu, Apr 13, 2006 at 03:34:12PM -0400, Paul A. Rubin wrote: > Well, the good news is that it no longer trips over a space. The bad > news is that I get the following output: > > >checking for a LaTeX -> LyX converter... > >+checking for "tex2lyx"... no > >+checking for "tex2lyx"... no > >

Re: [patch] Change dependency direction for some workarea actions

2006-04-13 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | On Thu, Apr 13, 2006 at 08:03:23PM +0200, Lars Gullik Bjønnes wrote: | > Will go in shortly, but comments are appreciated. | | case SelectionClear: | lyxerr[Debug::GUI] << "Lost selection." << endl; | if (wa_ptr) | -

Re: linker error

2006-04-13 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | In a clean revision 13655 I get the following linker error: Clean revision perhaps, but autogen.sh and configure has not been run. We don't use -fno-exceptions any more. -- Lgb

Re: LyX 1.4.1 is released

2006-04-13 Thread Paul A. Rubin
Angus Leeming wrote: Guys, the test will need to be rewritten as: PATHORIG="$PATH" PATH="$PWD/../src/tex2lyx:$PATH" export PATH for ac_prog in 'tex2lyx -f $$i $$o' \ 'tex2lyx'"$version_suffix"' -f $$i $$o' do ... done PATH="$PATHORIG" export PATH unset PATHORIG Paul, could y

Re: [patch] Change dependency direction for some workarea actions

2006-04-13 Thread Andre Poenitz
On Thu, Apr 13, 2006 at 08:03:23PM +0200, Lars Gullik Bjønnes wrote: > Will go in shortly, but comments are appreciated. case SelectionClear: lyxerr[Debug::GUI] << "Lost selection." << endl; if (wa_ptr) - wa_ptr->selectionLost(); +

Re: Re: [Patch] reduce linking time under windows (was Re: Question about C++ warning ...)

2006-04-13 Thread Enrico Forestieri
On Thu, Apr 13, 2006 at 11:05:36AM -0700, Stephen Harris wrote: > Enrico Forestieri wrote: > >The point is that LyX substantially is a *nix application and cygwin > >offers all the needed infrastructure. So, you already have libiconv, > >libaspell, python and so on. So why do not require installin

Re: [patch] Change dependency direction for some workarea actions

2006-04-13 Thread Andre Poenitz
On Thu, Apr 13, 2006 at 08:03:23PM +0200, Lars Gullik Bjønnes wrote: > This patch replaces several of workarea signals with direct function > calls into BufferView. > > This means that the dependency direction is changed, now the frontend > depend on the core and not the other way around. (IMO more

Re: [PATCH] bug 2149: require AMS-math for \xrightarrow and \xleftarrow

2006-04-13 Thread Andre Poenitz
On Thu, Apr 13, 2006 at 11:10:16AM +0200, Jean-Marc Lasgouttes wrote: > > http://bugzilla.lyx.org/show_bug.cgi?id=2149 > > The fix (add validate() methods) looks straightforward and I plan to > apply to branch+trunk. > > Comments? Straightforward, indeed. Andre'

Re: feature request

2006-04-13 Thread Andre Poenitz
On Wed, Apr 12, 2006 at 10:13:21PM +0200, Abdelrazak Younes wrote: > Excuse me if I am saying something obvious here but his patch move the > full paragraph that contains the selection anchor and maybe Andre didn't > realize that. I unser stood that. I was/am concerned about anchors that are ne

Re: lyx140[cvs]: documentation: AMS mathe

2006-04-13 Thread Andre Poenitz
On Thu, Apr 13, 2006 at 03:22:43PM +0200, Hartmut Haase wrote: > What is the difference between "&Use AMS math package automatically" and "Use > AMS &math package" The latter forces the use of AMS, the former lets LyX make an educated guess (which might be wrong). The basic idea is to use the fo

linker error

2006-04-13 Thread Andre Poenitz
In a clean revision 13655 I get the following linker error: make all-recursive [...] make[2]: Entering directory `/usr/src/lyx/lyx-build/src' /bin/sh ../libtool --tag=CXX --mode=link g++ -fno-exceptions -g -O -o lyx-qt main.o Bidi.o BufferView.o BufferView_pimpl.o Bullet.o BranchList.o Chkt

Re: [Patch] reduce linking time under windows (was Re: Question about C++ warning ...)

2006-04-13 Thread Andre Poenitz
On Thu, Apr 13, 2006 at 12:12:13PM +0200, Abdelrazak Younes wrote: > Am I discussing with myself? Could well be. But be assured that even for talking to one self one needs an intelligent partner... Andre'

Re: feature request

2006-04-13 Thread Andre Poenitz
On Wed, Apr 12, 2006 at 10:50:12PM +0200, Edwin Leuven wrote: > Georg Baum wrote: > >Did you see Andrés message about the anchor and cursor depth? I think he > >is right with his concern, and you should only act on single paragraphs. > > as abdel wrote, i intend to move the full paragraphs, not t

Re: [Patch] reduce linking time under windows (was Re: Question about C++ warning ...)

2006-04-13 Thread Enrico Forestieri
On Thu, Apr 13, 2006 at 02:27:50PM +0200, Abdelrazak Younes wrote: > Enrico Forestieri a écrit : > >The qt3-win32.patch also contains my patches to Qt aimed at a > >cygwin executable, but they do not harm a native build. > >Although the patch may seem big, it does nothing more of what > >you find

[patch] require tipa

2006-04-13 Thread Juergen Spitzmueller
at the moment tipa has to be loaded manually. OK for trunk? Jürgen Index: src/LaTeXFeatures.C === --- src/LaTeXFeatures.C (Revision 13664) +++ src/LaTeXFeatures.C (Arbeitskopie) @@ -243,6 +243,7 @@ char const * simplefeatures[] = {

Re: Re: [Patch] reduce linking time under windows (was Re: Question about C++ warning ...)

2006-04-13 Thread Stephen Harris
Enrico Forestieri wrote: On Thu, Apr 13, 2006 at 02:27:50PM +0200, Abdelrazak Younes wrote: Enrico Forestieri a écrit : I am more radical than Abdel and use all cygwin tools to build a native win32 version of LyX. I may well join you in the revolution Enrico ;-) And I may go even further, ju

[patch] Change dependency direction for some workarea actions

2006-04-13 Thread Lars Gullik Bjønnes
This patch replaces several of workarea signals with direct function calls into BufferView. This means that the dependency direction is changed, now the frontend depend on the core and not the other way around. (IMO more correct) As a added bonues this should be a bit faster as well... Will go

Re: [patch] bug 2460: unbrake natbib

2006-04-13 Thread Juergen Spitzmueller
Juergen Spitzmueller wrote: > What it does is: > - store the timestamp of any bibfile in the buffer > - in insetcite, store the timestamp of the files at the time when the > bibliographies were scanned for the last time > - now only scan the files again if the timestamp of a file has changed or > i

Re: r13663 - in /lyx-devel/trunk/src: BufferView_pimpl.h fron...

2006-04-13 Thread Lars Gullik Bjønnes
Georg Baum <[EMAIL PROTECTED]> writes: | I now get: | | In file included from ../../src/BufferView.C:22: | ../../src/BufferView_pimpl.h:79: error: `LyXKeySymPtr' was not declared in | this scope | ../../src/BufferView_pimpl.h:79: error: syntax error before `,' token Hmm... I thought I got all of

Re: r13663 - in /lyx-devel/trunk/src: BufferView_pimpl.h fron...

2006-04-13 Thread Juergen Spitzmueller
Georg Baum wrote: > I now get: > > In file included from ../../src/BufferView.C:22: > ../../src/BufferView_pimpl.h:79: error: `LyXKeySymPtr' was not declared in > this scope > ../../src/BufferView_pimpl.h:79: error: syntax error before `,' token missing include. The attached goes in now. Jürgen I

Re: [patch] fix bug 2476

2006-04-13 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> We tried hard to make sure that text pasted into ERT has the Georg> right pseudo-language, but we forgot to reset the language of Georg> text pasted from ERT to normal text. The attached patch fixes Georg> that, but I am not entirely l

Re: r13663 - in /lyx-devel/trunk/src: BufferView_pimpl.h fron...

2006-04-13 Thread Georg Baum
I now get: In file included from ../../src/BufferView.C:22: ../../src/BufferView_pimpl.h:79: error: `LyXKeySymPtr' was not declared in this scope ../../src/BufferView_pimpl.h:79: error: syntax error before `,' token Georg

Re: [Patch] reduce linking time under windows (was Re: Question about C++ warning ...)

2006-04-13 Thread Enrico Forestieri
On Thu, Apr 13, 2006 at 05:28:39PM +0200, Georg Baum wrote: > Abdelrazak Younes wrote: > > > Enrico Forestieri a écrit : > >> On Thu, Apr 13, 2006 at 02:27:50PM +0200, Abdelrazak Younes wrote: > >>> Enrico Forestieri a écrit : > > > > [Lots of very good reasons to use Cygwin] > > > > You don't h

Re: Towards LyX 1.4.1 [status update #2]

2006-04-13 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > Juergen> Fine with me. Can I apply the attached? > > OK for me. I'll apply to branch and trunk then. Jürgen

[patch] bug 2460: unbrake natbib

2006-04-13 Thread Juergen Spitzmueller
After some time of investigation and thanks to two delayed flights I came up with the following solution that fixes the natbib slowness problem for me and makes LyX 1.4 usable again. What it does is: - store the timestamp of any bibfile in the buffer - in insetcite, store the timestamp of the fi

Re: [Patch] reduce linking time under windows (was Re: Question about C++ warning ...)

2006-04-13 Thread Georg Baum
Abdelrazak Younes wrote: > Enrico Forestieri a écrit : >> On Thu, Apr 13, 2006 at 02:27:50PM +0200, Abdelrazak Younes wrote: >>> Enrico Forestieri a écrit : > > [Lots of very good reasons to use Cygwin] > > You don't have to convince me Enrico I am already on your side ;-) > My question was abou

[patch] fix bug 2476

2006-04-13 Thread Georg Baum
We tried hard to make sure that text pasted into ERT has the right pseudo-language, but we forgot to reset the language of text pasted from ERT to normal text. The attached patch fixes that, but I am not entirely lucky with it. I would like to explicitly handle LFUN_COPY and LFUN_PASTE in InsetERT,

Re: [Patch] reduce linking time under windows (was Re: Question about C++ warning ...)

2006-04-13 Thread Enrico Forestieri
On Thu, Apr 13, 2006 at 04:14:24PM +0200, Abdelrazak Younes wrote: > Enrico Forestieri a écrit : > >Please, don't think to distribute the cygwin dll outside of a cygwin > >installation as you would be classified as 3PPP (third party perverse) > >and they would deny any support. > > Well, we do th

away until Apr 24

2006-04-13 Thread Jean-Marc Lasgouttes
I will be away until April 24. I may be able to read some mail until then, though. JMarc

Re: Towards LyX 1.4.1 [status update #2]

2006-04-13 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> Lars Gullik Bjønnes wrote: >> I am still looking at those enum names. >> >> I have a strong dislike for cryptic abbreviations. >> >> trackingOn, trackingOff, trackingUnknown would suit me better I >> think. Juergen> Fi

Re: [Patch] reduce linking time under windows (was Re: Question about C++ warning ...)

2006-04-13 Thread Enrico Forestieri
On Thu, Apr 13, 2006 at 03:06:43PM +0200, Abdelrazak Younes wrote: > Angus Leeming a écrit : > >Abdelrazak Younes <[EMAIL PROTECTED]> writes: > >>Wait I see that "-I/cygdrive/d/program/Aspell-60-4/include" is passed to > >>g++. So configure in this case doesn't translate anything and g++ is > >>a

Re: [Patch] reduce linking time under windows (was Re: Question about C++ warning ...)

2006-04-13 Thread Enrico Forestieri
On Thu, Apr 13, 2006 at 12:43:56PM +, Angus Leeming wrote: > A question for you: If I were to fo the -mno-cygwin route and build LyX using > the Cygwin environment, then I'll also have to continue to build the external > libraries that LyX links against (aspell, iconv, gettext). Ie, I won't be

Re: [Patch] reduce linking time under windows (was Re: Question about C++ warning ...)

2006-04-13 Thread Abdelrazak Younes
Enrico Forestieri a écrit : On Thu, Apr 13, 2006 at 02:27:50PM +0200, Abdelrazak Younes wrote: Enrico Forestieri a écrit : [Lots of very good reasons to use Cygwin] You don't have to convince me Enrico I am already on your side ;-) My question was about the general windows user. For this kind

Re: Towards LyX 1.4.1 [status update #2]

2006-04-13 Thread Juergen Spitzmueller
Lars Gullik Bjønnes wrote: > I am still looking at those enum names. > > I have a strong dislike for cryptic abbreviations. > > trackingOn, trackingOff, trackingUnknown would suit me better I think. Fine with me. Can I apply the attached? Jürgen Index: src/paragraph.h

Re: [Patch] reduce linking time under windows (was Re: Question about C++ warning ...)

2006-04-13 Thread Enrico Forestieri
On Thu, Apr 13, 2006 at 02:27:50PM +0200, Abdelrazak Younes wrote: > Enrico Forestieri a écrit : > >I am more radical than Abdel and use all cygwin tools to build > >a native win32 version of LyX. > > I may well join you in the revolution Enrico ;-) And I may go even > further, just use the cygw

RE: lyx140[cvs]: Math Panel

2006-04-13 Thread Leuven, E.
? think it's called "style.xpm" and can be found in lib\images in HEAD From: Hartmut Haase [mailto:[EMAIL PROTECTED] Sent: Tue 4/11/06 14:41 To: LyX Developers Subject: lyx140[cvs]: Math Panel What is the name of the third icon in the Math Panel? It looks li

Re: lyx140[cvs]: documentation: AMS mathe

2006-04-13 Thread Georg Baum
Hartmut Haase wrote: > What is the difference between "&Use AMS math package automatically" Let LyX decide if it is needed. > and > "Use AMS &math package" Use it always. Georg

lyx140[cvs]: documentation: AMS mathe

2006-04-13 Thread Hartmut Haase
What is the difference between "&Use AMS math package automatically" and "Use AMS &math package" -- Viele Grüße, Hartmut Hungerhilfe: http://www.thehungersite.com Das heutige Motto: Every purchase has its price.

lyx140[cvs]: hyperlink

2006-04-13 Thread Hartmut Haase
What effect has "Generate hyperlink" in Insert->URL? -- Viele Grüße, Hartmut Hungerhilfe: http://www.thehungersite.com Das heutige Motto: Ich bin bekannt für meine Ironie. Aber auf den Gedanken, im Hafen von New York eine Freiheitsstatue zu errichten, wäre selbst ich nicht gekommen. (Georg Bern

lyx140[cvs]: spellchecker

2006-04-13 Thread Hartmut Haase
What does "Alternative language:" and "Use input encoding" in Document->Preferences->Language mean, and how are they used? -- Viele Grüße, Hartmut Hungerhilfe: http://www.thehungersite.com Das heutige Motto: You will be successful in love.

lyx140[cvs]: references

2006-04-13 Thread Hartmut Haase
Either "Formatted reference" is not implemented, then it should be deleted from the list of possible references (Insert->Cross-reference...) or prettyref.sty should be installed automatically. -- Viele Grüße, Hartmut Hungerhilfe: http://www.thehungersite.com Das heutige Motto: You like to f

lyx140[cvs]: Math Panel

2006-04-13 Thread Hartmut Haase
What is the name of the third icon in the Math Panel? It looks like a sum symbol with two squares at the side and the tooltip "Set limits style"? And where can i find it? -- Viele Grüße, Hartmut Hungerhilfe: http://www.thehungersite.com Das heutige Motto: Null problemo !!!

Re: [Patch] reduce linking time under windows (was Re: Question about C++ warning ...)

2006-04-13 Thread Abdelrazak Younes
Angus Leeming a écrit : Abdelrazak Younes <[EMAIL PROTECTED]> writes: Wait I see that "-I/cygdrive/d/program/Aspell-60-4/include" is passed to g++. So configure in this case doesn't translate anything and g++ is able to cope with this path. But it can't cope with "/usr/lib/libiconv.dll.a", thi

Re: [Patch] reduce linking time under windows (was Re: Question about C++ warning ...)

2006-04-13 Thread Angus Leeming
Abdelrazak Younes <[EMAIL PROTECTED]> writes: > Wait I see that "-I/cygdrive/d/program/Aspell-60-4/include" is passed to > g++. So configure in this case doesn't translate anything and g++ is > able to cope with this path. But it can't cope with > "/usr/lib/libiconv.dll.a", this is really weird.

Re: [Patch] reduce linking time under windows (was Re: Question about C++ warning ...)

2006-04-13 Thread Abdelrazak Younes
Enrico Forestieri a écrit : On Thu, Apr 13, 2006 at 02:18:48PM +0200, Abdelrazak Younes wrote: Enrico Forestieri a écrit : On Thu, Apr 13, 2006 at 01:48:19PM +0200, Abdelrazak Younes wrote: Angus Leeming a écrit : [...] Yes, that's my understanding also. But then I don't understand why g++

Re: [Patch] reduce linking time under windows (was Re: Question about C++ warning ...)

2006-04-13 Thread Angus Leeming
Enrico Forestieri <[EMAIL PROTECTED]> writes: > I am more radical than Abdel and use all cygwin tools to build > a native win32 version of LyX. > Please attached find all the material I use to this end. Thanks, Enrico. I'll try and find some time next week to have a go. > Be warned that, as I am

Re: [Patch] reduce linking time under windows (was Re: Question about C++ warning ...)

2006-04-13 Thread Abdelrazak Younes
Enrico Forestieri a écrit : On Thu, Apr 13, 2006 at 10:47:40AM +, Angus Leeming wrote: If it's any consolation, I too am rather frustrated by mingw/msys. Packages get out of date and there's no equivalent of the cygwin package manager (which is excellent). And, frankly, I've never had much

Re: [Patch] reduce linking time under windows (was Re: Question about C++ warning ...)

2006-04-13 Thread Enrico Forestieri
On Thu, Apr 13, 2006 at 02:18:48PM +0200, Abdelrazak Younes wrote: > Enrico Forestieri a écrit : > >On Thu, Apr 13, 2006 at 01:48:19PM +0200, Abdelrazak Younes wrote: > >>Angus Leeming a écrit : > > [...] > > >>Yes, that's my understanding also. But then I don't understand why g++ > >>complains

Re: [Patch] reduce linking time under windows (was Re: Question about C++ warning ...)

2006-04-13 Thread Abdelrazak Younes
Enrico Forestieri a écrit : On Thu, Apr 13, 2006 at 01:48:19PM +0200, Abdelrazak Younes wrote: Angus Leeming a écrit : [...] Yes, that's my understanding also. But then I don't understand why g++ complains about not finding "/usr/lib/libiconv.dll.a". Maybe this linking command is too long f

Re: [Patch] reduce linking time under windows (was Re: Question about C++ warning ...)

2006-04-13 Thread Enrico Forestieri
On Thu, Apr 13, 2006 at 01:48:19PM +0200, Abdelrazak Younes wrote: > Angus Leeming a écrit : > >Abdelrazak Younes <[EMAIL PROTECTED]> writes: > >>>/usr/lib/ exists on mingw > >>Are you sure? I mean MSys has it but I don't think mingw understand it. > >>I may be wrong though. > > > >You may well be

Re: [Patch] reduce linking time under windows (was Re: Question about C++ warning ...)

2006-04-13 Thread Enrico Forestieri
On Thu, Apr 13, 2006 at 11:39:05AM +, Angus Leeming wrote: > Shrug. Mingw is a spin off from Cygwin. I'm no expert here but Enrico appears > quite knowledgable; try asking him what the difference is between an > executable > compiled with the mingw compiler and one compiled with the cygwin co

[patch] typedef LyXKeySymPtr removal

2006-04-13 Thread Lars Gullik Bjønnes
We had this typedef in several places. That is messy. This patch moves the typedef to LyXKeySym.h, we loose some forward declarations, but that cannot be helped. Index: src/BufferView_pimpl.h === --- src/BufferView_pimpl.h (revision

Re: [Patch] reduce linking time under windows (was Re: Question about C++ warning ...)

2006-04-13 Thread Abdelrazak Younes
Angus Leeming a écrit : Abdelrazak Younes <[EMAIL PROTECTED]> writes: /usr/lib/ exists on mingw Are you sure? I mean MSys has it but I don't think mingw understand it. I may be wrong though. You may well be right. Here's my understanding of how the different pieces of the jigsaw fit together

Re: [Patch] reduce linking time under windows (was Re: Question about C++ warning ...)

2006-04-13 Thread Enrico Forestieri
On Thu, Apr 13, 2006 at 11:40:26AM +0200, Abdelrazak Younes wrote: > Abdelrazak Younes a écrit : > >Abdelrazak Younes a écrit : > [...] > > >It seems to :-) > >ar+ranlib libqt2 was done in 10 minutes and less than 400 Megs. > >final exe linking took less than 10 minutes and less than 400 Megs > >

Re: [Patch] reduce linking time under windows (was Re: Question about C++ warning ...)

2006-04-13 Thread Angus Leeming
Abdelrazak Younes <[EMAIL PROTECTED]> writes: > > /usr/lib/ exists on mingw > > Are you sure? I mean MSys has it but I don't think mingw understand it. > I may be wrong though. You may well be right. Here's my understanding of how the different pieces of the jigsaw fit together: msys does litt

Re: Towards LyX 1.4.1 [status update #2]

2006-04-13 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | | Lars> I am still looking at those enum names. | | Lars> I have a strong dislike for cryptic abbreviations. | | Lars> trackingOn, trackingOff, trackingUnknown would suit me bett

Re: [Patch] reduce linking time under windows (was Re: Question about C++ warning ...)

2006-04-13 Thread Abdelrazak Younes
Angus Leeming a écrit : Abdelrazak Younes <[EMAIL PROTECTED]> writes: Jose' Matos a écrit : On Thursday 13 April 2006 11:12, Abdelrazak Younes wrote: Am I discussing with myself? Probably not, but it is an interesting monologue in any case. Ahh... at least I have one reader . I hope other

Re: Towards LyX 1.4.1 [status update #2]

2006-04-13 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> I am still looking at those enum names. Lars> I have a strong dislike for cryptic abbreviations. Lars> trackingOn, trackingOff, trackingUnknown would suit me better I Lars> think. There is also Changes::On/Off/Unknown (which

Re: Towards LyX 1.4.1 [status update #2]

2006-04-13 Thread Lars Gullik Bjønnes
Juergen Spitzmueller <[EMAIL PROTECTED]> writes: | Jean-Marc Lasgouttes wrote: | > Actually, with this enum and maybe a few comment, I am OK with this | > patch in 1.4.2. | | What about the attached? | | Jürgen | | Index: src/paragraph.h | ===

Re: [Patch] reduce linking time under windows (was Re: Question about C++ warning ...)

2006-04-13 Thread Abdelrazak Younes
Abdelrazak Younes a écrit : Abdelrazak Younes a écrit : Abdelrazak Younes a écrit : Abdelrazak Younes a écrit : [...] It seems to :-) ar+ranlib libqt2 was done in 10 minutes and less than 400 Megs. final exe linking took less than 10 minutes and less than 400 Megs With the qt4 frontend, li

Re: Towards LyX 1.4.1 [status update #2]

2006-04-13 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> Jean-Marc Lasgouttes wrote: >> Actually, with this enum and maybe a few comment, I am OK with this >> patch in 1.4.2. Juergen> What about the attached? It looks OK to me, except - void cleanChanges(); + void

Re: [patch] fix bug 2380 (Pasting external material into table causes seg fault)

2006-04-13 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> Jean-Marc Lasgouttes wrote: >> Oh. I thought it was in already. Could you repost the patch? Juergen> Here it is. Please apply to trunk and branch. JMarc

Re: [Patch] reduce linking time under windows (was Re: Question about C++ warning ...)

2006-04-13 Thread Angus Leeming
Abdelrazak Younes <[EMAIL PROTECTED]> writes: > Jose' Matos a écrit : >> On Thursday 13 April 2006 11:12, Abdelrazak Younes wrote: >>> Am I discussing with myself? >> Probably not, but it is an interesting monologue in any case. > Ahh... at least I have one reader . I hope others don't mind my

Re: Towards LyX 1.4.1 [status update #2]

2006-04-13 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > Actually, with this enum and maybe a few comment, I am OK with this > patch in 1.4.2. What about the attached? Jürgen Index: src/paragraph.h === --- src/paragraph.h (Revision 13648) +++ src/paragraph.h (

Re: LyX 1.4.1 is released

2006-04-13 Thread Jean-Marc Lasgouttes
> "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: Enrico> I have uploaded it at Enrico> ftp.devel.lyx.org/pub/incoming/lyx-1.4.1-cygwin.tar.gz Thanks, I put it online. JMarc

Re: [Patch] reduce linking time under windows

2006-04-13 Thread Abdelrazak Younes
Jean-Marc Lasgouttes a écrit : "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Am I discussing with myself? :-) Personally, I do not have windows here and I don't undertand much about libtool. This was not meant as a critic, don't worry. I am just discussing with m

Re: [PATCH] bug 2149: require AMS-math for \xrightarrow and \xleftarrow

2006-04-13 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Jean-Marc Lasgouttes wrote: >> http://bugzilla.lyx.org/show_bug.cgi?id=2149 >> >> The fix (add validate() methods) looks straightforward and I plan >> to apply to branch+trunk. >> >> Comments? Georg> Not really :-) It is obviously c

Re: [patch] fix bug 2380 (Pasting external material into table causes seg fault)

2006-04-13 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > Oh. I thought it was in already. Could you repost the patch? Here it is. Jürgen Index: src/insets/insettabular.C === --- src/insets/insettabular.C (Revision 13660) +++ src/insets/insettabular.C (Arbeitsk

Re: LyX 1.4.1 is released

2006-04-13 Thread Enrico Forestieri
On Thu, Apr 13, 2006 at 09:58:56AM +0200, Jean-Marc Lasgouttes wrote: > > "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: > > Enrico> I have placed a cygwin binary at > Enrico> ftp.lyx.org/incoming/lyx-1.4.1-cygwin.tar.gz > > We cannot read there, sorry. Could you upload to ftp.deve

Re: [Patch] reduce linking time under windows (was Re: Question about C++ warning ...)

2006-04-13 Thread Abdelrazak Younes
Jose' Matos a écrit : On Thursday 13 April 2006 11:12, Abdelrazak Younes wrote: Am I discussing with myself? :-) Probably not, but it is an interesting monologue in any case. ;-) Ahh... at least I have one reader ;-). I hope others don't mind my frequent monologues in this list though...

Re: [patch] fix bug 2380 (Pasting external material into table causes seg fault)

2006-04-13 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: >> Good question. I just used what was there. However, the attached >> patch seems to work fine for me, and I like it a lot. Juergen> So what shall we do with this? Oh. I thought it was in already. Could you repost the patch? J

Re: [Patch] reduce linking time under windows

2006-04-13 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Am I discussing with myself? :-) Personally, I do not have windows here and I don't undertand much about libtool. JMarc

Re: [Patch] reduce linking time under windows (was Re: Question about C++ warning ...)

2006-04-13 Thread Jose' Matos
On Thursday 13 April 2006 11:12, Abdelrazak Younes wrote: > Am I discussing with myself? > > :-) Probably not, but it is an interesting monologue in any case. ;-) -- José Abílio

Re: [patch] fix bug 2380 (Pasting external material into table causes seg fault)

2006-04-13 Thread Juergen Spitzmueller
Juergen Spitzmueller wrote: > Jean-Marc Lasgouttes wrote: > > How come you cannot use InsetTabular::insertAsciiString() directly? > > Good question. I just used what was there. > However, the attached patch seems to work fine for me, and I like it a lot. So what shall we do with this? Jürgen

Re: [Patch] reduce linking time under windows (was Re: Question about C++ warning ...)

2006-04-13 Thread Abdelrazak Younes
Abdelrazak Younes a écrit : Abdelrazak Younes a écrit : Abdelrazak Younes a écrit : [...] It seems to :-) ar+ranlib libqt2 was done in 10 minutes and less than 400 Megs. final exe linking took less than 10 minutes and less than 400 Megs With the qt4 frontend, libqt4 and lyx-qt4 linking are

Re: Question about C++ warning (was Re: [Patch] Paragrah creation/deletion optimisation)

2006-04-13 Thread Abdelrazak Younes
Abdelrazak Younes a écrit : Now that -Wl is passed to g++ (shouldn't it be -Wall by the way?) I have an awful lot of warnings. As I don't want Marchall Lastgouttes to catch me on that, here is my first report :-), Most of them are: d:/mingw/bin/../lib/gcc/mingw32/3.4.4/../../../../include/c++/

Re: [Patch] reduce linking time under windows (was Re: Question about C++ warning ...)

2006-04-13 Thread Abdelrazak Younes
Abdelrazak Younes a écrit : Abdelrazak Younes a écrit : [...] It seems to :-) ar+ranlib libqt2 was done in 10 minutes and less than 400 Megs. final exe linking took less than 10 minutes and less than 400 Megs With the qt4 frontend, libqt4 and lyx-qt4 linking are done in less than 30 seconds

Re: multiple definition of `(anonymous namespace)::_9'

2006-04-13 Thread Martin Vermeer
On Thu, 2006-04-13 at 11:51 +0300, Martin Vermeer wrote: > Rejoice! > > I am getting these now too, after upgrading my hard disc + distro. > > Distro: FC4 > > gcc-4.0.2-8.fc4 > libgcc-4.0.2-8.fc4 > gcc-c++-4.0.2-8.fc4 > libstdc++-4.0.2-8.fc4 The good news is, it seems fixed in 4.0.3. (But when

[PATCH] bug 2509: last horizontal fill is not drawn correctly

2006-04-13 Thread Jean-Marc Lasgouttes
http://bugzilla.lyx.org/show_bug.cgi?id=2509 This fix seems trivial, although I could not reproduce the original report. BTW, how come in a float inset all my hfills have zero width? JMarc Index: src/text.C === --- src/text.C (revi

Re: [PATCH] bug 2149: require AMS-math for \xrightarrow and \xleftarrow

2006-04-13 Thread Georg Baum
Jean-Marc Lasgouttes wrote: > http://bugzilla.lyx.org/show_bug.cgi?id=2149 > > The fix (add validate() methods) looks straightforward and I plan to > apply to branch+trunk. > > Comments? Not really :-) It is obviously correct, and off the top of my head I don't know any other AMS inset that is

[PATCH] bug 2149: require AMS-math for \xrightarrow and \xleftarrow

2006-04-13 Thread Jean-Marc Lasgouttes
http://bugzilla.lyx.org/show_bug.cgi?id=2149 The fix (add validate() methods) looks straightforward and I plan to apply to branch+trunk. Comments? JMarc Index: src/mathed/math_splitinset.h === --- src/mathed/math_splitinset.h (rev

Re: Another beamer layout problem

2006-04-13 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> I assume tht it is also OK for 1.4.2? Yes. JMarc

Re: Another beamer layout problem

2006-04-13 Thread Georg Baum
Jean-Marc Lasgouttes wrote: > Looks OK to me. Then it is going in. Log: * lib/scripts/layout2layout.py (convert): Change "LabelType Static" to "LabelType Itemize" for itemize environments (convert): Change "LabelType Counter_EnumI" to "LabelType Enumerate"

multiple definition of `(anonymous namespace)::_9'

2006-04-13 Thread Martin Vermeer
Rejoice! I am getting these now too, after upgrading my hard disc + distro. Distro: FC4 gcc-4.0.2-8.fc4 libgcc-4.0.2-8.fc4 gcc-c++-4.0.2-8.fc4 libstdc++-4.0.2-8.fc4 qt-3.3.4-15.4 qt-devel-3.3.4-15.4 ...and LyX's own boost. autogen.sh configure --with-frontend=qt --disable-debug --disable-std

Re: [Patch] Re: Undo/math debugging

2006-04-13 Thread Martin Vermeer
On Thu, 2006-04-13 at 10:04 +0200, Georg Baum wrote: > Martin Vermeer wrote: > > > I haven't been able to crash LyX due to this... just fixIfBroken cursor > > errors. > > And of course wrong state after undo. Yes... but only missing empty cells IIUC. Wrong, but not disastrous. Committed to trun

Re: [Patch] Re: Undo/math debugging

2006-04-13 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Martin Vermeer wrote: >> I haven't been able to crash LyX due to this... just fixIfBroken >> cursor errors. Georg> And of course wrong state after undo. Then it should go in. JMarc

  1   2   >