On Monday 22 September 2003 8:01 pm, Martin Vermeer wrote:
> On Mon, Sep 22, 2003 at 08:18:08PM +, Angus Leeming spake thusly:
> > shrug. Fair enough. If the container is complaining that it needs
> > LyXFont, then maybe we should believe it. Perhaps paragraph_pimpl.h
> > itself is inconsistent
On Mon, Sep 22, 2003 at 08:18:08PM +, Angus Leeming spake thusly:
> shrug. Fair enough. If the container is complaining that it needs LyXFont,
> then maybe we should believe it. Perhaps paragraph_pimpl.h itself is
> inconsistent on your box. Ie, it wouldn't compile on its own.
>
> I attach
Martin Vermeer wrote:
> On Mon, Sep 22, 2003 at 07:07:53PM +, Angus Leeming spake thusly:
>
>> Martin Vermeer wrote:
>> > Attached my patch (did I get it right?) and the error output.
>>
>> Almost ;-)
>>
>> What I meant when I said the original was nasty was that it was a
>> fragile soluti
On Mon, Sep 22, 2003 at 07:07:53PM +, Angus Leeming spake thusly:
> Martin Vermeer wrote:
> > Attached my patch (did I get it right?) and the error output.
>
> Almost ;-)
>
> What I meant when I said the original was nasty was that it was a fragile
> solution. The code compiled if you pos
Martin Vermeer wrote:
> Attached my patch (did I get it right?) and the error output.
Almost ;-)
What I meant when I said the original was nasty was that it was a fragile
solution. The code compiled if you positioned #include "lyxfont.h" in
paragraph.C in one position and not if it were positi
On Mon, Sep 22, 2003 at 06:13:52PM +, Angus Leeming spake thusly:
...
> > Attached.
>
> Ahh. Then we need a destructor to Paragraph::Pimpl that is defined out of line
> I think. No need for Paragraph itself to know anything about this. Try:
>
> paragraph_pimpl.h:
> struct Paragraph::Pimpl
On Monday 22 September 2003 5:24 pm, Martin Vermeer wrote:
> On Mon, Sep 22, 2003 at 04:56:04PM +, Angus Leeming spake thusly:
> > On Monday 22 September 2003 3:36 pm, Martin Vermeer wrote:
> > > Angus, I still need lyxfont.h in paragraph and paragraph_pimpl as
> > > follows:
> >
> > The fix is
On Mon, Sep 22, 2003 at 04:56:04PM +, Angus Leeming spake thusly:
> On Monday 22 September 2003 3:36 pm, Martin Vermeer wrote:
> > Angus, I still need lyxfont.h in paragraph and paragraph_pimpl as
> > follows:
>
> The fix is really nasty (read fragile). Especially the position-dependence in
On Monday 22 September 2003 3:36 pm, Martin Vermeer wrote:
> Angus, I still need lyxfont.h in paragraph and paragraph_pimpl as
> follows:
The fix is really nasty (read fragile). Especially the position-dependence in
paragraph.C. Could we dig a little deeper first and ascertain what exactly is
go
On Wed, Mar 20, 2002 at 09:20:35AM +0100, Andre Poenitz wrote:
> Namespaces can be - as opposed to class definitions - distributed over
> several files. So simple things could be put into small headers, and more
ok so like I said, we can have a char_metrics.h if it's useful to
mathed.
john
--
On Wed, Mar 20, 2002 at 09:54:53AM +0100, Lars Gullik Bjønnes wrote:
> Did I ever say that?
I don't think so.
Andre'
--
André Pönitz .. [EMAIL PROTECTED]
Andre Poenitz <[EMAIL PROTECTED]> writes:
| Using a namespace instead of a class full of static function is certainly
| _not_ a hack.
Did I ever say that?
--
Lgb
On Wed, Mar 20, 2002 at 08:09:44AM +, John Levon wrote:
> I don't know how we can avoid using string in this interface anyway !
Namespaces can be - as opposed to class definitions - distributed over
several files. So simple things could be put into small headers, and more
complicated things t
On Wed, Mar 20, 2002 at 08:34:12AM +0100, Lars Gullik Bjønnes wrote:
> Yes, but IMHO the solution is not to avoid the include, but to
> restructure etc. (pimpl f.ex.) so that the include will only be needed
> in a very few places, never to use other types to avoid includes...
Pimpl is a cure for
On Wed, Mar 20, 2002 at 08:34:12AM +0100, Lars Gullik Bjønnes wrote:
> And I actually belive that we already now are more stable than 1.1.6
> were when it was released.
I agree, we are in good shape. Until we get all the bug reports from
pre1 that is :)
> in a very few places, never to use othe
Andre Poenitz <[EMAIL PROTECTED]> writes:
| On Tue, Mar 19, 2002 at 07:42:09PM +0100, Lars Gullik Bjønnes wrote:
>> | Not really. I am trying to get as close to the outer world as possible. And
>> | with the last commit today I can already get rid of most of the 'tweaking
>> | wrapper functions'.
On Tue, Mar 19, 2002 at 07:42:09PM +0100, Lars Gullik Bjønnes wrote:
> | Not really. I am trying to get as close to the outer world as possible. And
> | with the last commit today I can already get rid of most of the 'tweaking
> | wrapper functions'.
>
> Feel free to stop tweaking at mathed now.
Andre Poenitz <[EMAIL PROTECTED]> writes:
| Not really. I am trying to get as close to the outer world as possible. And
| with the last commit today I can already get rid of most of the 'tweaking
| wrapper functions'.
Feel free to stop tweaking at mathed now.
| But I won't do that if that mean
Andre Poenitz <[EMAIL PROTECTED]> writes:
| Couldn't we replace struct lyxfont and all of its static members by a
| proper namespace? This would be even transparent to 'user' code!
Not now.
--
Lgb
On Tue, Mar 19, 2002 at 07:13:21PM +0100, Andre Poenitz wrote:
> But I won't do that if that means having to pull in Lstring.h and X11.h
> in almost all insets...
frontends/font_metrics.h doesn't even know X11 exists. string is a
different matter...
Please, just leave this stuff alone till 1.3
On Tue, Mar 19, 2002 at 06:06:37PM +, John Levon wrote:
> > If we did that, we could split the file font.h into two, one completely
> > self-contained for the 'basic' stuff like ascend, and one that needs the
> > string and X11 headers. Then I could #include just the small one and scrap
> > mo
On Tue, Mar 19, 2002 at 06:59:08PM +0100, Andre Poenitz wrote:
> Couldn't we replace struct lyxfont and all of its static members by a
> proper namespace? This would be even transparent to 'user' code!
done in my GUII patch.
> If we did that, we could split the file font.h into two, one compl
22 matches
Mail list logo