On Wed, May 04, 2011 at 07:45:44PM +0200, Peter Kümmel wrote: > On 04.05.2011 14:26, Abdelrazak Younes wrote: > >On 04/05/2011 00:50, Vincent van Ravesteijn wrote: > >>Hi everyone, > >>As a typical start of a new release cycle I want to poll > >>- what features are a must in the next release; > > > >Features: > >* Git based Embedded LyX. > > Couldn't we "somehow" re-use QtCreators plugins? They have > a nice plugin-system. Looks a bit inspired by OSGi. Maybe > Andre is willed and allowed to talk about it.
I can certainly talk about it, and it would be hard to hide anything anyway. It's Open Source after all ;-} I think it is conceptually possible to re-use the plugin loader (just a few hundred lines of code after all), but I would not recommend it in general, and certainly not for LyX, mainly for two reason: - LyX architecture is still a bit unusual, insofar as the core drives the gui, not the other way round, so it does not fit too well into "alien" MVC setups. - I don't think there is any need to split LyX into plugins. "Reusing" the git plugin code on a conceptual level might be in possible in theory, but given that the implementation only calls the command line tool, I am fairly sure there won't be much more practical "reuse" than the lines containing the opening and closing braces of function bodies in the end ;-} Sorry to spoil the fun here. Andre'