Re: history/semantics of uint32_t name

2016-04-04 Thread Bill Spitzak
The word "name" strongly implies that the data is a string. It does not help that right next to it is "interface" which *is* a string. Some variation of "server's id" would be clearer. On Fri, Apr 1, 2016 at 12:59 AM, Pekka Paalanen wrote: > On Fri, 1 Apr 2016 09:44:07 +0800 > Jonas Ådahl wrot

Re: history/semantics of uint32_t name

2016-04-01 Thread Yong Bakos
> On Apr 1, 2016, at 12:41 PM, Bill Spitzak wrote: > > On Fri, Apr 1, 2016 at 12:59 AM, Pekka Paalanen wrote: >> On Fri, 1 Apr 2016 09:44:07 +0800 >> Jonas Ådahl wrote: >> >> > On Thu, Mar 31, 2016 at 06:48:06PM -0500, Yong Bakos wrote: >> > > Hi, >> > > I've been investigating the semantics o

Re: history/semantics of uint32_t name

2016-04-01 Thread Pekka Paalanen
On Fri, 1 Apr 2016 09:44:07 +0800 Jonas Ådahl wrote: > On Thu, Mar 31, 2016 at 06:48:06PM -0500, Yong Bakos wrote: > > Hi, > > I've been investigating the semantics of the name parameter within > > the wl_registry interface, prompted by a recent dialog regarding my > > patch of arg summary attrib

Re: history/semantics of uint32_t name

2016-04-01 Thread Pekka Paalanen
On Thu, 31 Mar 2016 17:00:37 -0700 "Jasper St. Pierre" wrote: > wl_registry and wl_registry.bind are about globals and creating new > instances of globals. > > A compositor can opt to provide a new global interface by using the > wl_global_create API. Immediately, an event is broadcasted to all

Re: history/semantics of uint32_t name

2016-03-31 Thread Jonas Ådahl
On Thu, Mar 31, 2016 at 06:48:06PM -0500, Yong Bakos wrote: > Hi, > I've been investigating the semantics of the name parameter within the > wl_registry interface, prompted by a recent dialog regarding my patch of arg > summary attributes in wayland.xml. > > I've dug around the Weston source to

Re: history/semantics of uint32_t name

2016-03-31 Thread Jasper St. Pierre
wl_registry and wl_registry.bind are about globals and creating new instances of globals. A compositor can opt to provide a new global interface by using the wl_global_create API. Immediately, an event is broadcasted to all clients: the wl_registry.global event, which contains a name (the uint32_t

history/semantics of uint32_t name

2016-03-31 Thread Yong Bakos
Hi, I've been investigating the semantics of the name parameter within the wl_registry interface, prompted by a recent dialog regarding my patch of arg summary attributes in wayland.xml. I've dug around the Weston source to see what values are passed as the name argument, and where it goes... a