Re: lyx-devel src/frontends/: ChangeLog screen.C src/frontends/xfo ...

2002-06-26 Thread Angus Leeming
On Wednesday 26 June 2002 6:16 pm, Andre Poenitz wrote: > On Wed, Jun 26, 2002 at 05:59:24PM +0100, Angus Leeming wrote: > > > I have a cached 'BufferView *' already anyway. > > > > Which becomes unsafe as soon as we start creating and destroying multiple > > buferviews? > > Probably. > > > Hence

Re: lyx-devel src/frontends/: ChangeLog screen.C src/frontends/xfo ...

2002-06-26 Thread Andre Poenitz
On Wed, Jun 26, 2002 at 05:59:24PM +0100, Angus Leeming wrote: > > I have a cached 'BufferView *' already anyway. > > Which becomes unsafe as soon as we start creating and destroying multiple > buferviews? Probably. > Hence my thoughts on using a signal to invoke the update... And I still hav

Re: lyx-devel src/frontends/: ChangeLog screen.C src/frontends/xfo ...

2002-06-26 Thread Angus Leeming
On Wednesday 26 June 2002 5:47 pm, Andre Poenitz wrote: > > See my mail to the lyx-devel list: > > "Getting rid of BufferView * current_view from InsetGraphics" > > for some thoughts on getting rid of current_view in such a context. > > I have a cached 'BufferView *' already anyway. Which bec

Re: lyx-devel src/frontends/: ChangeLog screen.C src/frontends/xfo ...

2002-06-26 Thread Andre Poenitz
On Wed, Jun 26, 2002 at 05:41:23PM +0100, Angus Leeming wrote: > As soon as the formula changes though you should generate a new graphics > file... Sure. Thanks for your help. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either

Re: lyx-devel src/frontends/: ChangeLog screen.C src/frontends/xfo ...

2002-06-26 Thread Angus Leeming
On Wednesday 26 June 2002 5:47 pm, Andre Poenitz wrote: > as this tries to copy-construct the Loader member which is > boost::non_copy_something. You're just ahead of me that's all. Why not define FormulaInset::FormulaInset(FormulaInset: const & other) : loader(other.loader.filename()) {

Re: lyx-devel src/frontends/: ChangeLog screen.C src/frontends/xfo ...

2002-06-26 Thread Andre Poenitz
On Wed, Jun 26, 2002 at 05:29:27PM +0100, Angus Leeming wrote: > Each FormulaInset will generate one graphic file I guess, right? One graphic > file, one grfx::Loader, so yes, I think that you should have a grfx::Loader > member variable in FormulaInset. But that's not possible in the presense

Re: lyx-devel src/frontends/: ChangeLog screen.C src/frontends/xfo ...

2002-06-26 Thread Angus Leeming
On Wednesday 26 June 2002 5:12 pm, Andre Poenitz wrote: > On Wed, Jun 26, 2002 at 04:53:59PM +0100, Angus Leeming wrote: > > Does this compile? > > Not tried but I am sure it does. > > I've currently f*ed up my source tree... Ok, I'll try and replace those auto_ptr<> const pimpl_ instances with

Re: lyx-devel src/frontends/: ChangeLog screen.C src/frontends/xfo ...

2002-06-26 Thread Andre Poenitz
On Wed, Jun 26, 2002 at 04:53:59PM +0100, Angus Leeming wrote: > Does this compile? Not tried but I am sure it does. I've currently f*ed up my source tree... And I can't see how to use the loader. Do I have to make a Loader member for FormulaInset? If so, how does (FormulaInset's) clone work wi