<p dir="ltr"><br>
On Aug 17, 2013 11:32 PM, "Jason Ekstrand" <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>> wrote:<br>
><br>
> The method described of alocation IDs has been wrong at least since version<br>
> 1.0. This commit updates it to correspond to the way IDs are chosen in<br>
> versions >= 1.0.<br>
><br>
> Signed-off-by: Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>><br>
> ---<br>
> doc/publican/sources/Protocol.xml | 14 ++++++++++----<br>
> 1 file changed, 10 insertions(+), 4 deletions(-)<br>
><br>
> diff --git a/doc/publican/sources/Protocol.xml b/doc/publican/sources/Protocol.xml<br>
> index 1a7a7da..759aba5 100644<br>
> --- a/doc/publican/sources/Protocol.xml<br>
> +++ b/doc/publican/sources/Protocol.xml<br>
> @@ -196,10 +196,16 @@<br>
> <section id="sect-Protocol-Creating-Objects"><br>
> <title>Creating Objects</title><br>
> <para><br>
> - Each object has a unique ID. The IDs are allocated by the<br>
> - client, from a range of IDs. The server tracks how many<br>
> - IDs are left in the current range and sends a new range<br>
> - when the client is about to run out.<br>
> + Each object has a unique ID. The IDs are allocated by the entity<br>
> + creating the object (either client or server). IDs allocated by the<br>
> + client are in the range [1, 0xff000000) while IDs allocated by the<br>
> + server are in the range [0xff000000, 0xffffffff]. The 0 ID is<br>
> + reserved to represent a null or non-existant object.<br>
> +<br>
> + For efficiency purposes, the IDs are densely packed in the sense that<br>
> + the ID N will not be used until N-1 has been used. Any ID allocation<br>
> + algorithm that does not maintain this property is incompatable with</p>
<p dir="ltr">Typo: incompatible.</p>
<p dir="ltr">> + the implementation in libwayland.<br>
> </para><br>
> </section><br>
> <section id="sect-Protocol-Compositor"><br>
> --<br>
> 1.8.3.1<br>
><br>
> _______________________________________________<br>
> wayland-devel mailing list<br>
> <a href="mailto:wayland-devel@lists.freedesktop.org">wayland-devel@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/wayland-devel">http://lists.freedesktop.org/mailman/listinfo/wayland-devel</a><br>
</p>