Re: libXaw/Viewport widget initialization

2005-09-14 Thread Marc Aurele La France

On Wed, 14 Sep 2005, Alexander Pohoyda wrote:


I do have one request though.  If you are to contune with more Xaw
work, please ensure you do not adversely affect Xaw6.



What do you mean?  How do I ensure this?


I mean that, even with your changes to xc/lib/Xaw, you should ensure 
xc/lib/Xaw6 is still buildable.


Marc.

+--+---+
|  Marc Aurele La France   |  work:   1-780-492-9310   |
|  Academic Information and|  fax:1-780-492-1729   |
|Communications Technologies   |  email:  [EMAIL PROTECTED]  |
|  352 General Services Building   +---+
|  University of Alberta   |   |
|  Edmonton, Alberta   | Standard disclaimers apply|
|  T6G 2H1 |   |
|  CANADA  |   |
+--+---+
XFree86 developer and VP.  ATI driver and X server internals.
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: libXaw/Viewport widget initialization

2005-09-14 Thread Alexander Pohoyda
> >> I do have one request though.  If you are to contune with more Xaw
> >> work, please ensure you do not adversely affect Xaw6.
> 
> > What do you mean?  How do I ensure this?
> 
> I mean that, even with your changes to xc/lib/Xaw, you should ensure
> xc/lib/Xaw6 is still buildable.

OK, I see.  I will provide patches to fix those build errors caused by
my changes.  Thanks a lot for pointing that out!

-- 
Alexander Pohoyda <[EMAIL PROTECTED]>
PGP Key fingerprint: 7F C9 CC 5A 75 CD 89 72  15 54 5F 62 20 23 C6 44
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: Moving XtWidth, XtHeight, XtX and XtY macroes from XmP.h to IntrinsicP.h

2005-09-14 Thread Alexander Pohoyda
> On Tue, 13 Sep 2005, Marc Aurele La France wrote:
> > On Tue, 13 Sep 2005, Alexander Pohoyda wrote:
> >> Don't you think it makes sense to move (some of) those macroes from
> >> Xm/XmP.h to X11/IntrinsicP.h file?  They seem to belong there.
> 
> > Given that what you actually mean is Xt/IntrinsicP.h, I'd tend to
> > agree with you.  Especially given that, in out source tree, only
> > Xaw references these anyway.
> 
> ... even though Xm/XmP.h is a Motif thing (i.e. not distributed with
> any XFree86 or X.Org server, per se).

You're right.  I should have checked first.

So, should I not use those macroes in libXaw at all, or should I bring
them to Xt headers files like this:

#ifndef XtWidth
#define XtWidth(w)   (((Widget)(w))->core.width)
#endif
...

Which solution do you prefer?


-- 
Alexander Pohoyda <[EMAIL PROTECTED]>
PGP Key fingerprint: 7F C9 CC 5A 75 CD 89 72  15 54 5F 62 20 23 C6 44
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


CAN-2005-2495

2005-09-14 Thread Matthias Scheler
Hello,

is there an XFree86 patch for CAN-2005-2495? The X.org patch from
https://bugs.freedesktop.org/attachment.cgi?id=3072 applies (except
of the non-existing file "programs/Xserver/hw/xfree86/exa/exa.c")
but I would like to avoid merge pains after the next XFree86 release.

URLs:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2495
http://secunia.com/advisories/16777/
https://bugs.freedesktop.org/show_bug.cgi?id=594

Kind regards

-- 
Matthias Scheler  http://scheler.de/~matthias/
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: CAN-2005-2495

2005-09-14 Thread Marc Aurele La France

On Wed, 14 Sep 2005, Matthias Scheler wrote:


is there an XFree86 patch for CAN-2005-2495? The X.org patch from
https://bugs.freedesktop.org/attachment.cgi?id=3072 applies (except
of the non-existing file "programs/Xserver/hw/xfree86/exa/exa.c")
but I would like to avoid merge pains after the next XFree86 release.



URLs:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2495
http://secunia.com/advisories/16777/
https://bugs.freedesktop.org/show_bug.cgi?id=594


Yes.  I committed something for this, this morning, to our HEAD branch.  I'm 
in the process of going through all builds I can do, before committing it to 
the 4.5 branch (and possibly previous branches).


The patch the advisory suggests is not correct, for a number of reasons, 
which is one reason why I'm going through the above process.


Please bear with me.

Marc.

+--+---+
|  Marc Aurele La France   |  work:   1-780-492-9310   |
|  Academic Information and|  fax:1-780-492-1729   |
|Communications Technologies   |  email:  [EMAIL PROTECTED]  |
|  352 General Services Building   +---+
|  University of Alberta   |   |
|  Edmonton, Alberta   | Standard disclaimers apply|
|  T6G 2H1 |   |
|  CANADA  |   |
+--+---+
XFree86 developer and VP.  ATI driver and X server internals.
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: Moving XtWidth, XtHeight, XtX and XtY macroes from XmP.h to IntrinsicP.h

2005-09-14 Thread Marc Aurele La France

On Wed, 14 Sep 2005, Alexander Pohoyda wrote:

On Tue, 13 Sep 2005, Marc Aurele La France wrote:

On Tue, 13 Sep 2005, Alexander Pohoyda wrote:

Don't you think it makes sense to move (some of) those macroes from
Xm/XmP.h to X11/IntrinsicP.h file?  They seem to belong there.



Given that what you actually mean is Xt/IntrinsicP.h, I'd tend to
agree with you.  Especially given that, in out source tree, only
Xaw references these anyway.



... even though Xm/XmP.h is a Motif thing (i.e. not distributed with
any XFree86 or X.Org server, per se).



You're right.  I should have checked first.

'

So, should I not use those macroes in libXaw at all, or should I bring
them to Xt headers files like this:



#ifndef XtWidth
#define XtWidth(w)   (((Widget)(w))->core.width)
#endif
...



Which solution do you prefer?


My preference is definitely "b", i.e. your second choice.  Mind you I've no 
idea how this would affect the various Xm/XmP.h's out there.


Marc.

+--+---+
|  Marc Aurele La France   |  work:   1-780-492-9310   |
|  Academic Information and|  fax:1-780-492-1729   |
|Communications Technologies   |  email:  [EMAIL PROTECTED]  |
|  352 General Services Building   +---+
|  University of Alberta   |   |
|  Edmonton, Alberta   | Standard disclaimers apply|
|  T6G 2H1 |   |
|  CANADA  |   |
+--+---+
XFree86 developer and VP.  ATI driver and X server internals.
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: CAN-2005-2495

2005-09-14 Thread Matthias Scheler
On Wed, Sep 14, 2005 at 02:52:16PM -0600, Marc Aurele La France wrote:
> The patch the advisory suggests is not correct, for a number of reasons, 
> which is one reason why I'm going through the above process.

Thanks a lot.

> Please bear with me.

Of course. Just tell me please when the patch is ready because I would
like to integrate into the NetBSD sources afterwards.

Kind regards

-- 
Matthias Scheler  http://scheler.de/~matthias/
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel