[PATCH] Don't create buffer from NULL pointer

2011-01-26 Thread Tim Wiederhake
Fixes regression introduced in f58d8ca1bd20180bfae3a3a047e8098e0b22b5aa. --- compositor/compositor.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/compositor/compositor.c b/compositor/compositor.c index 746a729..a0cd0d4 100644 --- a/compositor/compositor.c +++ b/composi

Re: wayland implementation conformance

2011-01-26 Thread Jeremy Volkman
Here's my stab at a Wayland schema written in RELAX NG. It can be converted to a W3C schema if preferred, but RELAX NG provides more functionality. For example, the schema is able to require an "interface" attribute for an argument only if the argument type is "object" or "new_id". -Jeremy 2011/1

Re: wayland implementation conformance

2011-01-26 Thread Kristian Høgsberg
2011/1/26 Casey Dahlin : > On Wed, Jan 26, 2011 at 01:40:25PM -0500, Kristian Høgsberg wrote: >> 2011/1/26 Josh Leverette : >> > I'm not certain, but I think there could eventually be enough variation >> > for that to be needed. However, even if there isn't, parsing an XML file >> > might be a be

Re: wayland implementation conformance

2011-01-26 Thread Casey Dahlin
On Wed, Jan 26, 2011 at 01:40:25PM -0500, Kristian Høgsberg wrote: > 2011/1/26 Josh Leverette : > > I'm not certain, but I think there could eventually be enough variation for > > that to be needed. However, even if there isn't, parsing an XML file might > > be a better long term solution that we

Re: wayland implementation conformance

2011-01-26 Thread Kristian Høgsberg
2011/1/26 Josh Leverette : > I'm not certain, but I think there could eventually be enough variation for > that to be needed. However, even if there isn't, parsing an XML file might be > a better long term solution that weakly linked functions and things like > that. Perhaps we could modify his

Re: wayland implementation conformance

2011-01-26 Thread Josh Leverette
I'm not certain, but I think there could eventually be enough variation for that to be needed. However, even if there isn't, parsing an XML file might be a better long term solution that weakly linked functions and things like that. Perhaps we could modify his idea about an XML profile structure

Re: wayland implementation conformance

2011-01-26 Thread Kristian Høgsberg
On Wed, Jan 26, 2011 at 12:15 PM, Marcus Lorentzon wrote: > On 01/26/2011 03:57 PM, Kristian Høgsberg wrote: >> >> On Wed, Jan 26, 2011 at 8:22 AM, Tiago Vignatti >>  wrote: >> >>> >>> Hi, >>> >>> I hijacked this comment which Kristian made in the other email thread; my >>> comments are inline. >

Re: wayland implementation conformance

2011-01-26 Thread Marcus Lorentzon
On 01/26/2011 03:57 PM, Kristian Høgsberg wrote: On Wed, Jan 26, 2011 at 8:22 AM, Tiago Vignatti wrote: Hi, I hijacked this comment which Kristian made in the other email thread; my comments are inline. On 01/24/2011 09:30 PM, ext Kristian Høgsberg wrote: Once of the things that X

Re: wayland implementation conformance

2011-01-26 Thread Kristian Høgsberg
On Wed, Jan 26, 2011 at 8:22 AM, Tiago Vignatti wrote: > Hi, > > I hijacked this comment which Kristian made in the other email thread; my > comments are inline. > > On 01/24/2011 09:30 PM, ext Kristian Høgsberg wrote: >> >> Once of the things that X got right was the extension model.  Wayland >>

wayland implementation conformance

2011-01-26 Thread Tiago Vignatti
Hi, I hijacked this comment which Kristian made in the other email thread; my comments are inline. On 01/24/2011 09:30 PM, ext Kristian Høgsberg wrote: > > Once of the things that X got right was the extension model. Wayland > takes it one step further by making everything an extension: the o