Re: controllers

2007-10-07 Thread Andre Poenitz
On Sun, Oct 07, 2007 at 02:04:10AM -0700, Angus Leeming wrote: > Andre Poenitz wrote: > >On Sat, Oct 06, 2007 at 10:13:58PM -0700, Angus Leeming wrote: > >>Abdelrazak Younes wrote: > >>>I think that what we call "controllers" are really just abstraction > >>>layers created for the benefit of code

Re: controllers

2007-10-07 Thread Angus Leeming
Andre Poenitz wrote: On Sat, Oct 06, 2007 at 10:13:58PM -0700, Angus Leeming wrote: Abdelrazak Younes wrote: I think that what we call "controllers" are really just abstraction layers created for the benefit of code sharing between multiple frontends. That's exactly what they are. But that

Re: controllers

2007-10-07 Thread Andre Poenitz
On Sat, Oct 06, 2007 at 10:13:58PM -0700, Angus Leeming wrote: > Abdelrazak Younes wrote: > >I think that what we call "controllers" are really just abstraction > >layers created for the benefit of code sharing between multiple > >frontends. > > That's exactly what they are. But that mean they

Re: controllers

2007-10-06 Thread Angus Leeming
Abdelrazak Younes wrote: I think that what we call "controllers" are really just abstraction layers created for the benefit of code sharing between multiple frontends. That's exactly what they are. Now that only Qt4 survives, there's no reason for their continued existence in their present fo

Re: controllers

2007-10-05 Thread Abdelrazak Younes
Andre Poenitz wrote: On Fri, Oct 05, 2007 at 08:48:59AM +0200, Abdelrazak Younes wrote: I am still in the opinion that non obvious algorithms should be kept outside the frontends and I hope that you won't transfer everything to qt4/. I am personally perfectly fine with the idea of removing t

Re: controllers

2007-10-05 Thread Andre Poenitz
On Fri, Oct 05, 2007 at 11:04:33AM +0200, Jean-Marc Lasgouttes wrote: > Abdelrazak Younes <[EMAIL PROTECTED]> writes: > > > Basically, frontends/qt4 should contain everything about > > _visualisation_ on screen and frontends/helpers/ should contain > > advanced algorithms like data searching, etc.

Re: controllers

2007-10-05 Thread Andre Poenitz
On Fri, Oct 05, 2007 at 08:48:59AM +0200, Abdelrazak Younes wrote: > Andre Poenitz wrote: > >On Thu, Oct 04, 2007 at 09:19:04PM +0200, Andre Poenitz wrote: > >>I am looking for a way to solve the "controller problem". > >>[...] > > > >Hm, with all the fuss about insets and ranges, any comment on th

Re: controllers

2007-10-05 Thread Richard Heck
Abdelrazak Younes wrote: Andre Poenitz wrote: On Thu, Oct 04, 2007 at 09:19:04PM +0200, Andre Poenitz wrote: I am looking for a way to solve the "controller problem". [...] Hm, with all the fuss about insets and ranges, any comment on that? I think that what we call "controllers" are really

Re: controllers

2007-10-05 Thread Helge Hafting
Andre Poenitz wrote: On Thu, Oct 04, 2007 at 09:19:04PM +0200, Andre Poenitz wrote: I am looking for a way to solve the "controller problem". [...] Hm, with all the fuss about insets and ranges, any comment on that? Less code gives faster compiles. And then it becomes more interest

Re: controllers

2007-10-05 Thread Jean-Marc Lasgouttes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: > Basically, frontends/qt4 should contain everything about > _visualisation_ on screen and frontends/helpers/ should contain > advanced algorithms like data searching, etc. +1. JMarc

Re: controllers

2007-10-04 Thread Abdelrazak Younes
Andre Poenitz wrote: On Thu, Oct 04, 2007 at 09:19:04PM +0200, Andre Poenitz wrote: I am looking for a way to solve the "controller problem". [...] Hm, with all the fuss about insets and ranges, any comment on that? I think that what we call "controllers" are really just abstraction layers

Re: controllers

2007-10-04 Thread Andre Poenitz
On Thu, Oct 04, 2007 at 09:19:04PM +0200, Andre Poenitz wrote: > I am looking for a way to solve the "controller problem". > [...] Hm, with all the fuss about insets and ranges, any comment on that? Andre'

Re: controllers ready for prime time (just about ;-)

2003-02-25 Thread John Levon
On Tue, Feb 25, 2003 at 01:56:58PM +, Angus Leeming wrote: > ControlButtons.[Ch] ControlConnections.[Ch] ControlDialog.h > ControlDialog_impl.[Ch] ControlDialog.tmpl ControlInset.h ControlInset.tmpl > GUI.h ViewBase.h Cool ! > I would love to. But several of them have subtle differences. I

Re: controllers ready for prime time (just about ;-)

2003-02-25 Thread Andre Poenitz
On Tue, Feb 25, 2003 at 01:56:58PM +, Angus Leeming wrote: > Shall I just commit it and let people try it out. What's the consensus on > this? Commit. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)

Re: controllers ready for prime time (just about ;-)

2003-02-25 Thread Angus Leeming
On Tuesday 25 February 2003 1:39 pm, John Levon wrote: > On Fri, Feb 21, 2003 at 04:56:55PM +, Angus Leeming wrote: > > until that is done. However, the attached patch is the Brave New World of > > controllers and I'd value your considered perusal. > > Hrm, it's not very Linus friendly is it :

Re: controllers ready for prime time (just about ;-)

2003-02-25 Thread John Levon
On Fri, Feb 21, 2003 at 04:56:55PM +, Angus Leeming wrote: > until that is done. However, the attached patch is the Brave New World of > controllers and I'd value your considered perusal. Hrm, it's not very Linus friendly is it : 95 files changed, 2471 insertions(+), 881 deletions(-) Oh

Re: controllers ready for prime time (just about ;-)

2003-02-24 Thread Angus Leeming
Christian Ridderström wrote: > Thanks for the explanation. I did a search for "Model-Controller-View"... > would you say this: > http://cpptips.hyperformix.com/cpptips/mvc > is an accurate description of what you mean? Yes. > Or perhaps you have another URI for MVC... sorry MCV http://marc.the

Re: controllers ready for prime time (just about ;-)

2003-02-23 Thread Christian Ridderström
On Sun, 23 Feb 2003, Angus Leeming wrote: > Christian Ridderström wrote: > > But in brief: > > We have tried to implement what is known as a Model-Controller-View split of > the code in LyX. The LyX core is the Model. It defines everything needed to > manipulate your document (what LyX calls

Re: controllers ready for prime time (just about ;-)

2003-02-23 Thread Kornel Benko
-BEGIN PGP SIGNED MESSAGE- On Sonntag, 23. Februar 2003 21:15, Angus Leeming wrote: ... > I'll make a fresh patch against current cvs when all is well with baywatch > again and post it on www.lyx.devel.lyx/~leeming. That makes my testing easier. Thanks. Kornel - -- Kornel Benko

Re: controllers ready for prime time (just about ;-)

2003-02-23 Thread Angus Leeming
Kornel Benko wrote: >> What I meant by all this was that to test the Qt implementation you >> should apply the Qt patch which implements the necessary changes to the >> files in frontends/qt2 only. The bulk of the work, however, is not in the >> GUI-specific code but in the controllers. Specificall

Re: controllers ready for prime time (just about ;-)

2003-02-23 Thread Angus Leeming
Christian Ridderström wrote: > What is this controller you're talking about all the time... my > controllers usually stay in the robot.. not the document processing > software :-) > > Seriously.. could someone (please) write a few lines explaining what > it's about, and point me to the relevant s

Re: controllers ready for prime time (just about ;-)

2003-02-23 Thread Kornel Benko
-BEGIN PGP SIGNED MESSAGE- On Sonntag, 23. Februar 2003 20:17, Angus Leeming wrote: ... > What I meant by all this was that to test the Qt implementation you should > apply the Qt patch which implements the necessary changes to the files in > frontends/qt2 only. The bulk of the work, howev

Re: controllers ready for prime time (just about ;-)

2003-02-23 Thread Christian Ridderström
What is this controller you're talking about all the time... my controllers usually stay in the robot.. not the document processing software :-) Seriously.. could someone (please) write a few lines explaining what it's about, and point me to the relevant source? About the source code... is rea

Re: controllers ready for prime time (just about ;-)

2003-02-23 Thread Angus Leeming
Kornel Benko wrote: > On Samstag, 22. Februar 2003 18:19, Angus Leeming wrote: >> > locate claims, there be no "Dialog.h" on my system. >> >> It's in the patch. (I just checked.) 'patch' should install it in >> src/frontends/controllers. > > Which line in qt.diff? I checked also. > At least I did

Re: controllers ready for prime time (just about ;-)

2003-02-23 Thread Kornel Benko
-BEGIN PGP SIGNED MESSAGE- On Samstag, 22. Februar 2003 18:19, Angus Leeming wrote: > > locate claims, there be no "Dialog.h" on my system. > > It's in the patch. (I just checked.) 'patch' should install it in > src/frontends/controllers. Which line in qt.diff? I checked also. At least I

Re: controllers ready for prime time (just about ;-)

2003-02-22 Thread Angus Leeming
Kornel Benko wrote: >> Hello Kornel. I think you have to run autogen.sh to actually build the >> Makefile correctly. There's some magic going on in the Qt Makefiles that >> I'm not au fait with, but it worked for me thereafter. > > OK. But it still resists my compile-attempts. > locate claims, th

Re: controllers ready for prime time (just about ;-)

2003-02-22 Thread Kornel Benko
-BEGIN PGP SIGNED MESSAGE- On Freitag, 21. Februar 2003 21:16, Angus Leeming wrote: > Kornel Benko wrote: > > On Freitag, 21. Februar 2003 19:26, Angus Leeming wrote: > >> Qt patch attached. I'll let you all examine at your leisure but would > >> like to apply on Monday or so... > > > > No

Re: controllers ready for prime time (just about ;-)

2003-02-21 Thread Angus Leeming
Angus Leeming wrote: > I guess that I should be nice to the Qt frontend too, so I'll hang back > until that is done. However, the attached patch is the Brave New World of > controllers and I'd value your considered perusal. > > The new frontends/controllers/Dialogs.[Ch] is a full Model-Controller

Re: controllers ready for prime time (just about ;-)

2003-02-21 Thread Angus Leeming
Kornel Benko wrote: > On Freitag, 21. Februar 2003 19:26, Angus Leeming wrote: >> Qt patch attached. I'll let you all examine at your leisure but would >> like to apply on Monday or so... > > Not compilable? Hello Kornel. I think you have to run autogen.sh to actually build the Makefile correctl

Re: controllers ready for prime time (just about ;-)

2003-02-21 Thread Kornel Benko
-BEGIN PGP SIGNED MESSAGE- On Freitag, 21. Februar 2003 19:26, Angus Leeming wrote: > Qt patch attached. I'll let you all examine at your leisure but would like > to apply on Monday or so... Not compilable? ... Making all in moc make[5]: Entering directory `/usr2/src/lyx/qt/lyx-1.4.0cvs/

Re: controllers ready for prime time (just about ;-)

2003-02-21 Thread Angus Leeming
Angus Leeming wrote: > I guess that I should be nice to the Qt frontend too, so I'll hang back > until that is done. However, the attached patch is the Brave New World of > controllers and I'd value your considered perusal. Qt patch attached. I'll let you all examine at your leisure but would lik