[Preview-PATCH] Remove sh dependency

2006-06-24 Thread Bo Peng
Hi, Attached is our long-waited patch that replaces sh by python so that lyx/win does not have to be bundled with sh, sed etc. I plan to test and apply this patch (without changes to configure.py) and then translate shell scripts in lib/scripts one by one (and change configure.py accordingly). Q

Re: Non-working xforms patch for younes branch

2006-06-24 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: | This patch even makes it run, albeit with a grabled screen. The gui | operations (adding objects and such) are done in the wrong order. No changes to xforms, but changes so that qt compiles. (patch at bottom) Qt4 and gtk has some failures unrelat

Re: Non-working xforms patch for younes branch

2006-06-24 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: | This patch makes it compile (and probably breaks qt), but xforms fails | brutally upon start up. This patch even makes it run, albeit with a grabled screen. The gui operations (adding objects and such) are done in the wrong order. Index: src/fron

Non-working xforms patch for younes branch

2006-06-24 Thread Lars Gullik Bjønnes
This patch makes it compile (and probably breaks qt), but xforms fails brutally upon start up. IMHO there are too many different changes in the younes branch now. Index: src/frontends/WorkArea.h === --- src/frontends/WorkArea.h (rev

Re: Comments on younes branch

2006-06-24 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: Why this change? Index: src/frontends/qt4/GuiView.h === --- src/frontends/qt4/GuiView.h (.../svn+ssh://svn.lyx.org/lyx/lyx-devel/trunk/s rc) (revision 14200) +++ src/frontends/qt4/G

Re: Comments on younes branch

2006-06-24 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: Index: src/frontends/qt3/QtView.h === --- src/frontends/qt3/QtView.h (.../svn+ssh://svn.lyx.org/lyx/lyx-devel/trunk/s rc) (revision 14200) +++ src/frontends/qt3/QtView.h (.../src)

Comments on younes branch

2006-06-24 Thread Lars Gullik Bjønnes
Why is the assert commented out? @@ -1949,8 +1948,8 @@ BufferView * LyXFunc::view() const { - BOOST_ASSERT(owner); - return owner->view().get(); +// BOOST_ASSERT(owner); + return owner->view(); } -- Lgb

Re: r14166 - in /lyx-devel/trunk/src: frontends/qt3/QtView.C ...

2006-06-24 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | On Fri, Jun 23, 2006 at 05:59:14PM +0100, Jose' Matos wrote: | > On Friday 23 June 2006 17:43, Andre Poenitz wrote: | > > No. But xforms could be removed right away. | > | > Is there any reason for it to here? | > What is the reason for not removing

Re: [PATCH] GUI API Cleanup Merge patch

2006-06-24 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | On Sat, Jun 24, 2006 at 02:50:54PM +0200, Lars Gullik Bjønnes wrote: | > Andre Poenitz <[EMAIL PROTECTED]> writes: | > | > | Depends on the phase of the moon. Just committing stuff without asking | > | too much and not wondering too much about the discr

Re: [Patch] preliminar gtk and xforms support (was Re: [Patch] qt3 support for new GUI API)

2006-06-24 Thread Lars Gullik Bjønnes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: | > Abdelrazak Younes <[EMAIL PROTECTED]> writes: | > | Lars Gullik Bjønnes wrote: | > | > Abdelrazak Younes <[EMAIL PROTECTED]> writes: | > | > | | I am doing that right now... difficult. | > | > No it is dead easy if you

Re: qt4

2006-06-24 Thread Jose' Matos
OK, trying to compile your branch for qt4 only I get two errors: Application.C: In member function 'virtual bool lyx::frontend::Application::x11EventFilter(XEvent*)': Application.C:77: error: 'class lyx::frontend::GuiWorkArea' has no member named 'view' Application.C:82: error: 'class lyx::

qt4

2006-06-24 Thread Jose' Matos
Hi, this is another subjective report so please take it with a grain of salt. :-) I have updated qt4 to the latest 4.1.4 and I perceive it as faster, I can certainly notice the difference from the first version I tried (4.1.2). FWIW I have lyx configure with: ./configur

Re: [PATCH] GUI API Cleanup Merge patch

2006-06-24 Thread Andre Poenitz
On Sat, Jun 24, 2006 at 02:50:54PM +0200, Lars Gullik Bjønnes wrote: > Andre Poenitz <[EMAIL PROTECTED]> writes: > > | Depends on the phase of the moon. Just committing stuff without asking > | too much and not wondering too much about the discrepancy of what people > | do themselves and what they

Re: r14166 - in /lyx-devel/trunk/src: frontends/qt3/QtView.C ...

2006-06-24 Thread Andre Poenitz
On Fri, Jun 23, 2006 at 05:59:14PM +0100, Jose' Matos wrote: > On Friday 23 June 2006 17:43, Andre Poenitz wrote: > > No. But xforms could be removed right away. > > Is there any reason for it to here? > What is the reason for not removing it now? > > As a compromise I propose to mark it in

Re: r14166 - in /lyx-devel/trunk/src: frontends/qt3/QtView.C ...

2006-06-24 Thread Andre Poenitz
On Fri, Jun 23, 2006 at 06:31:40PM +0200, Peter Kümmel wrote: > I have no idea why most people here think it is a good idea to > support more than one frontend when there is one which fits all needs. I am not in that camp (anymore). Originally, having support for multiple frontends was a really g

Re: r14166 - in /lyx-devel/trunk/src: frontends/qt3/QtView.C ...

2006-06-24 Thread Andre Poenitz
On Fri, Jun 23, 2006 at 06:12:32PM +0200, Lars Gullik Bjønnes wrote: > Peter Kümmel <[EMAIL PROTECTED]> writes: > > | Juergen Spitzmueller wrote: > | > Jean-Marc Lasgouttes wrote: > | >> 1.6: qt4, gtk and maybe qt3. > | > > | > And qt5. > | > | And the old story goes on: lyx supports too much fr

Re: r14166 - in /lyx-devel/trunk/src: frontends/qt3/QtView.C ...

2006-06-24 Thread Andre Poenitz
On Fri, Jun 23, 2006 at 06:52:56PM +0200, Peter Kümmel wrote: > Not bad as theoretical exercises, but good for real world application? LyX has been always a playground for theoretical exercises. [Just stating a fact, not a judgment] Andre'

Re: r14166 - in /lyx-devel/trunk/src: frontends/qt3/QtView.C ...

2006-06-24 Thread Andre Poenitz
On Fri, Jun 23, 2006 at 07:06:49PM +0200, Enrico Forestieri wrote: > On Fri, Jun 23, 2006 at 06:33:03PM +0200, Peter Kümmel wrote: > > > Lars Gullik Bjønnes wrote: > > > Peter Kümmel <[EMAIL PROTECTED]> writes: > > > > > > | Juergen Spitzmueller wrote: > > > | > Jean-Marc Lasgouttes wrote: > > >

Re: r14166 - in /lyx-devel/trunk/src: frontends/qt3/QtView.C ...

2006-06-24 Thread Andre Poenitz
On Fri, Jun 23, 2006 at 06:40:13PM +0200, Jean-Marc Lasgouttes wrote: > .. in part because it forces one to think how a features should be > implemented. Not bad, IMO. One could think about things without implementing it four times. > Something that is more boring for me is being forced to update

Re: [Patch] preliminar gtk and xforms support (was Re: [Patch] qt3 support for new GUI API)

2006-06-24 Thread Abdelrazak Younes
Lars Gullik Bjønnes wrote: Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: | > Abdelrazak Younes <[EMAIL PROTECTED]> writes: | > | | I am doing that right now... difficult. | > No it is dead easy if you followe the 3 step rebase procedure that I | > have posted ealier.

Re: [Patch] preliminar gtk and xforms support (was Re: [Patch] qt3 support for new GUI API)

2006-06-24 Thread Lars Gullik Bjønnes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: | > Abdelrazak Younes <[EMAIL PROTECTED]> writes: | > | | I am doing that right now... difficult. | > No it is dead easy if you followe the 3 step rebase procedure that I | > have posted ealier. | | Svn rebase is dead easy

Re: [PATCH] GUI API Cleanup step 2 Merge patch (was Re: [Patch] preliminar gtk and ...)

2006-06-24 Thread Abdelrazak Younes
Lars Gullik Bjønnes wrote: Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: | > Abdelrazak Younes <[EMAIL PROTECTED]> writes: | > | | Once I have sync my tree with trunk, I will be ready to merge. | > Can you please do a full rebase of the branch, it is currently | > im

Re: [Patch] preliminar gtk and xforms support (was Re: [Patch] qt3 support for new GUI API)

2006-06-24 Thread Abdelrazak Younes
Lars Gullik Bjønnes wrote: Abdelrazak Younes <[EMAIL PROTECTED]> writes: | | I am doing that right now... difficult. No it is dead easy if you followe the 3 step rebase procedure that I have posted ealier. Svn rebase is dead easy with my procedure also. The problem was in the conflict betwe

Re: [PATCH] GUI API Cleanup step 2 Merge patch (was Re: [Patch] preliminar gtk and ...)

2006-06-24 Thread Lars Gullik Bjønnes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: | > Abdelrazak Younes <[EMAIL PROTECTED]> writes: | > | | Once I have sync my tree with trunk, I will be ready to merge. | > Can you please do a full rebase of the branch, it is currently | > impossible to see from the log

Re: [Patch] preliminar gtk and xforms support (was Re: [Patch] qt3 support for new GUI API)

2006-06-24 Thread Lars Gullik Bjønnes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: | > Abdelrazak Younes <[EMAIL PROTECTED]> writes: | > | Abdelrazak Younes wrote: | > | > Hello, | > | > This patch make the qt3 frontend compile in the "younes" branches. | > | > It also update th scrollbar in the QContent:

Re: [Patch] preliminar gtk and xforms support (was Re: [Patch] qt3 support for new GUI API)

2006-06-24 Thread Abdelrazak Younes
Lars Gullik Bjønnes wrote: Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Abdelrazak Younes wrote: | > Hello, | > This patch make the qt3 frontend compile in the "younes" branches. | > It also update th scrollbar in the QContent::paintEvent(). I still | > have to read the Qt3 doc to see how to

Re: [Patch] preliminar gtk and xforms support (was Re: [Patch] qt3 support for new GUI API)

2006-06-24 Thread Lars Gullik Bjønnes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Abdelrazak Younes wrote: | > Hello, | > This patch make the qt3 frontend compile in the "younes" branches. | > It also update th scrollbar in the QContent::paintEvent(). I still | > have to read the Qt3 doc to see how to disable tracking in the | > s

wp2latex feature request

2006-06-24 Thread Garst R. Reese
http://www.penguin.cz/~fojtik/wp2latex/wp2latex.htm Converts wordperfect.wpd files to .tex It would be nice to have this in converters if installed. Thanks, Garst

[Patch] preliminar gtk and xforms support (was Re: [Patch] qt3 support for new GUI API)

2006-06-24 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Hello, This patch make the qt3 frontend compile in the "younes" branches. It also update th scrollbar in the QContent::paintEvent(). I still have to read the Qt3 doc to see how to disable tracking in the scrollbar. Once the qt3 support is in and works, it should be r

Re: [PATCH] GUI API Cleanup Merge patch

2006-06-24 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | Depends on the phase of the moon. Just committing stuff without asking | too much and not wondering too much about the discrepancy of what people | do themselves and what they require from others helped me for quite a | while. I would be surprised if tha

[Patch] qt3 support for new GUI API

2006-06-24 Thread Abdelrazak Younes
Hello, This patch make the qt3 frontend compile in the "younes" branches. It also update th scrollbar in the QContent::paintEvent(). I still have to read the Qt3 doc to see how to disable tracking in the scrollbar. Once the qt3 support is in and works, it should be reasonably easy to complet