mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-15 06:59:49 -05:00
doc: rename Procotol to ProtocolSpec and WaylandProtocol to Protocol
The former is the actual specification, the latter notes about the protocol. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
adf300dc13
commit
966e8ec9c0
4 changed files with 30 additions and 30 deletions
|
|
@ -8,7 +8,7 @@ publican_sources = \
|
||||||
$(srcdir)/en_US/Author_Group.xml \
|
$(srcdir)/en_US/Author_Group.xml \
|
||||||
$(srcdir)/en_US/Book_Info.xml \
|
$(srcdir)/en_US/Book_Info.xml \
|
||||||
$(srcdir)/en_US/Wayland.xml \
|
$(srcdir)/en_US/Wayland.xml \
|
||||||
$(srcdir)/en_US/WaylandProtocol.xml \
|
$(srcdir)/en_US/Protocol.xml \
|
||||||
$(srcdir)/en_US/Compositors.xml \
|
$(srcdir)/en_US/Compositors.xml \
|
||||||
$(srcdir)/en_US/Overview.xml \
|
$(srcdir)/en_US/Overview.xml \
|
||||||
$(srcdir)/en_US/images/icon.svg \
|
$(srcdir)/en_US/images/icon.svg \
|
||||||
|
|
@ -17,18 +17,18 @@ publican_sources = \
|
||||||
$(srcdir)/en_US/images/x-architecture.png
|
$(srcdir)/en_US/images/x-architecture.png
|
||||||
|
|
||||||
publican_targets = $(publican_sources:$(srcdir)/en_US%=$(builddir)/en-US%) \
|
publican_targets = $(publican_sources:$(srcdir)/en_US%=$(builddir)/en-US%) \
|
||||||
en-US/Protocol.xml
|
en-US/ProtocolSpec.xml
|
||||||
|
|
||||||
# The Protocol.xml is purely generated and required before running publican
|
# The Protocol.xml is purely generated and required before running publican
|
||||||
en-US/Protocol.xml: $(top_srcdir)/protocol/wayland.xml $(srcdir)/protocol-to-docbook.xsl
|
en-US/ProtocolSpec.xml: $(top_srcdir)/protocol/wayland.xml $(srcdir)/protocol-to-docbook.xsl
|
||||||
$(AM_V_GEN)$(MKDIR_P) en-US/images
|
$(AM_V_GEN)$(MKDIR_P) en-US/images
|
||||||
$(AM_V_GEN)$(XSLTPROC) $(srcdir)/protocol-to-docbook.xsl \
|
$(AM_V_GEN)$(XSLTPROC) $(srcdir)/protocol-to-docbook.xsl \
|
||||||
$(top_srcdir)/protocol/wayland.xml > en-US/Protocol.xml
|
$(top_srcdir)/protocol/wayland.xml > en-US/ProtocolSpec.xml
|
||||||
|
|
||||||
# Copy the en_US source files into en-US destination
|
# Copy the en_US source files into en-US destination
|
||||||
# This is required for out-of-source-tree build as publican does not allow us
|
# This is required for out-of-source-tree build as publican does not allow us
|
||||||
# to specify the location of the source code.
|
# to specify the location of the source code.
|
||||||
$(builddir)/en-US/%: $(srcdir)/en_US/% en-US/Protocol.xml $(publican_sources)
|
$(builddir)/en-US/%: $(srcdir)/en_US/% en-US/ProtocolSpec.xml $(publican_sources)
|
||||||
$(AM_V_GEN)cp -f $< $@
|
$(AM_V_GEN)cp -f $< $@
|
||||||
|
|
||||||
# Run publican for the builddir on the generated (or copied) source
|
# Run publican for the builddir on the generated (or copied) source
|
||||||
|
|
@ -37,7 +37,7 @@ Wayland: $(publican_targets)
|
||||||
$(AM_V_GEN)$(PUBLICAN) build --lang en-US --format html,pdf \
|
$(AM_V_GEN)$(PUBLICAN) build --lang en-US --format html,pdf \
|
||||||
--config $(srcdir)/publican.cfg
|
--config $(srcdir)/publican.cfg
|
||||||
|
|
||||||
CLEANFILES = en-US/Protocol.xml $(publican_targets)
|
CLEANFILES = en-US/ProtocolSpec.xml $(publican_targets)
|
||||||
|
|
||||||
clean-local:
|
clean-local:
|
||||||
$(AM_V_at)rm -fr en-US
|
$(AM_V_at)rm -fr en-US
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,9 @@
|
||||||
<!ENTITY % BOOK_ENTITIES SYSTEM "Wayland.ent">
|
<!ENTITY % BOOK_ENTITIES SYSTEM "Wayland.ent">
|
||||||
%BOOK_ENTITIES;
|
%BOOK_ENTITIES;
|
||||||
]>
|
]>
|
||||||
<chapter id="chap-Wayland-Protocol">
|
<chapter id="chap-Protocol">
|
||||||
<title>The Wayland Protocol</title>
|
<title>The Wayland Protocol</title>
|
||||||
<section id="sect-Wayland-Protocol-Basic-Principles">
|
<section id="sect-Protocol-Basic-Principles">
|
||||||
<title>Basic Principles</title>
|
<title>Basic Principles</title>
|
||||||
<para>
|
<para>
|
||||||
The wayland protocol is an asynchronous object oriented protocol. All
|
The wayland protocol is an asynchronous object oriented protocol. All
|
||||||
|
|
@ -41,7 +41,7 @@
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</para>
|
</para>
|
||||||
</section>
|
</section>
|
||||||
<section id="sect-Wayland-Protocol-Code-Generation">
|
<section id="sect-Protocol-Code-Generation">
|
||||||
<title>Code Generation</title>
|
<title>Code Generation</title>
|
||||||
<para>
|
<para>
|
||||||
The interfaces, requests and events are defined in
|
The interfaces, requests and events are defined in
|
||||||
|
|
@ -56,7 +56,7 @@
|
||||||
own stubs for the protocol entry points from the xml.
|
own stubs for the protocol entry points from the xml.
|
||||||
</para>
|
</para>
|
||||||
</section>
|
</section>
|
||||||
<section id="sect-Wayland-Protocol-Wire-Format">
|
<section id="sect-Protocol-Wire-Format">
|
||||||
<title>Wire Format</title>
|
<title>Wire Format</title>
|
||||||
<para>
|
<para>
|
||||||
The protocol is sent over a UNIX domain stream socket. Currently, the
|
The protocol is sent over a UNIX domain stream socket. Currently, the
|
||||||
|
|
@ -151,7 +151,7 @@
|
||||||
</variablelist>
|
</variablelist>
|
||||||
</para>
|
</para>
|
||||||
</section>
|
</section>
|
||||||
<section id="sect-Wayland-Protocol-Interfaces">
|
<section id="sect-Protocol-Interfaces">
|
||||||
<title>Interfaces</title>
|
<title>Interfaces</title>
|
||||||
<para>
|
<para>
|
||||||
The protocol includes several interfaces which are used for
|
The protocol includes several interfaces which are used for
|
||||||
|
|
@ -276,7 +276,7 @@
|
||||||
</variablelist>
|
</variablelist>
|
||||||
</para>
|
</para>
|
||||||
</section>
|
</section>
|
||||||
<section id="sect-Wayland-Protocol-Connect-Time">
|
<section id="sect-Protocol-Connect-Time">
|
||||||
<title>Connect Time</title>
|
<title>Connect Time</title>
|
||||||
<para>
|
<para>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
|
@ -295,7 +295,7 @@
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</para>
|
</para>
|
||||||
</section>
|
</section>
|
||||||
<section id="sect-Wayland-Protocol-Security-and-Authentication">
|
<section id="sect-Protocol-Security-and-Authentication">
|
||||||
<title>Security and Authentication</title>
|
<title>Security and Authentication</title>
|
||||||
<para>
|
<para>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
|
@ -316,7 +316,7 @@
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</para>
|
</para>
|
||||||
</section>
|
</section>
|
||||||
<section id="sect-Wayland-Protocol-Creating-Objects">
|
<section id="sect-Protocol-Creating-Objects">
|
||||||
<title>Creating Objects</title>
|
<title>Creating Objects</title>
|
||||||
<para>
|
<para>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
|
@ -334,7 +334,7 @@
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</para>
|
</para>
|
||||||
</section>
|
</section>
|
||||||
<section id="sect-Wayland-Protocol-Compositor">
|
<section id="sect-Protocol-Compositor">
|
||||||
<title>Compositor</title>
|
<title>Compositor</title>
|
||||||
<para>
|
<para>
|
||||||
The compositor is a global object, advertised at connect time.
|
The compositor is a global object, advertised at connect time.
|
||||||
|
|
@ -344,20 +344,20 @@
|
||||||
protocol description.
|
protocol description.
|
||||||
</para>
|
</para>
|
||||||
</section>
|
</section>
|
||||||
<section id="sect-Wayland-Protocol-Surface">
|
<section id="sect-Protocol-Surface">
|
||||||
<title>Surface</title>
|
<title>Surface</title>
|
||||||
<para>
|
<para>
|
||||||
Created by the client.
|
Created by the client.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
See <xref linkend="protocol-interface-wl_surface"/> for the protocol
|
See <xref linkend="protocol-spec-interface-wl_surface"/> for the protocol
|
||||||
description.
|
description.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
Needs a way to set input region, opaque region.
|
Needs a way to set input region, opaque region.
|
||||||
</para>
|
</para>
|
||||||
</section>
|
</section>
|
||||||
<section id="sect-Wayland-Protocol-Input">
|
<section id="sect-Protocol-Input">
|
||||||
<title>Input</title>
|
<title>Input</title>
|
||||||
<para>
|
<para>
|
||||||
Represents a group of input devices, including mice, keyboards. Has a
|
Represents a group of input devices, including mice, keyboards. Has a
|
||||||
|
|
@ -365,7 +365,7 @@
|
||||||
delivered in both screen coordinates and surface local coordinates.
|
delivered in both screen coordinates and surface local coordinates.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
See <xref linkend="protocol-interface-wl_input_device"/> for the
|
See <xref linkend="protocol-spec-interface-wl_input_device"/> for the
|
||||||
protocol description.
|
protocol description.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
|
|
@ -417,14 +417,14 @@
|
||||||
image, the image will flicker. Broken app, I suppose.
|
image, the image will flicker. Broken app, I suppose.
|
||||||
</para>
|
</para>
|
||||||
</section>
|
</section>
|
||||||
<section id="sect-Wayland-Protocol-Output">
|
<section id="sect-Protocol-Output">
|
||||||
<title>Output</title>
|
<title>Output</title>
|
||||||
<para>
|
<para>
|
||||||
A output is a global object, advertised at connect time or as they
|
A output is a global object, advertised at connect time or as they
|
||||||
come and go.
|
come and go.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
See <xref linkend="protocol-interface-wl_output"/> for the protocol
|
See <xref linkend="protocol-spec-interface-wl_output"/> for the protocol
|
||||||
description.
|
description.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
|
|
@ -453,7 +453,7 @@
|
||||||
</listitem>
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</section>
|
</section>
|
||||||
<section id="sect-Wayland-Protocol-Shared-Object-Cache">
|
<section id="sect-Protocol-Shared-Object-Cache">
|
||||||
<title>Shared Object Cache</title>
|
<title>Shared Object Cache</title>
|
||||||
<para>
|
<para>
|
||||||
Cache for sharing glyphs, icons, cursors across clients. Lets clients
|
Cache for sharing glyphs, icons, cursors across clients. Lets clients
|
||||||
|
|
@ -508,7 +508,7 @@
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</para>
|
</para>
|
||||||
</section>
|
</section>
|
||||||
<section id="sect-Wayland-Protocol-Drag-and-Drop">
|
<section id="sect-Protocol-Drag-and-Drop">
|
||||||
<title>Drag and Drop</title>
|
<title>Drag and Drop</title>
|
||||||
<para>
|
<para>
|
||||||
Multi-device aware. Orthogonal to rest of wayland, as it is its own
|
Multi-device aware. Orthogonal to rest of wayland, as it is its own
|
||||||
|
|
@ -517,9 +517,9 @@
|
||||||
expose mode, for example).
|
expose mode, for example).
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
See <xref linkend="protocol-interface-wl_data_offer"/>,
|
See <xref linkend="protocol-spec-interface-wl_data_offer"/>,
|
||||||
<xref linkend="protocol-interface-wl_data_source"/> and
|
<xref linkend="protocol-spec-interface-wl_data_source"/> and
|
||||||
<xref linkend="protocol-interface-wl_data_offer"/> for
|
<xref linkend="protocol-spec-interface-wl_data_offer"/> for
|
||||||
protocol descriptions.
|
protocol descriptions.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
|
|
@ -7,9 +7,9 @@
|
||||||
<xi:include href="Book_Info.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
<xi:include href="Book_Info.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
<xi:include href="Overview.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
<xi:include href="Overview.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
<xi:include href="Architecture.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
<xi:include href="Architecture.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
<xi:include href="WaylandProtocol.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
|
||||||
<xi:include href="Compositors.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
|
||||||
<xi:include href="Protocol.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
<xi:include href="Protocol.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
<xi:include href="Compositors.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
|
<xi:include href="ProtocolSpec.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
<index />
|
<index />
|
||||||
</book>
|
</book>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@
|
||||||
<!-- Interface descriptions -->
|
<!-- Interface descriptions -->
|
||||||
<xsl:template match="interface" >
|
<xsl:template match="interface" >
|
||||||
<section>
|
<section>
|
||||||
<xsl:attribute name="id">protocol-<xsl:value-of select="name()"/>-<xsl:value-of select="@name" />
|
<xsl:attribute name="id">protocol-spec-<xsl:value-of select="name()"/>-<xsl:value-of select="@name" />
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<title>
|
<title>
|
||||||
<xsl:value-of select="@name" />
|
<xsl:value-of select="@name" />
|
||||||
|
|
@ -86,7 +86,7 @@
|
||||||
<!-- Request/event list -->
|
<!-- Request/event list -->
|
||||||
<xsl:template match="request|event|enum">
|
<xsl:template match="request|event|enum">
|
||||||
<section>
|
<section>
|
||||||
<xsl:attribute name="id">protocol-interface-<xsl:value-of select="../@name"/>-<xsl:value-of select="name()"/>-<xsl:value-of select="@name"/></xsl:attribute>
|
<xsl:attribute name="id">protocol-spec-interface-<xsl:value-of select="../@name"/>-<xsl:value-of select="name()"/>-<xsl:value-of select="@name"/></xsl:attribute>
|
||||||
<title>
|
<title>
|
||||||
<xsl:value-of select="../@name"/>::<xsl:value-of select="@name" />
|
<xsl:value-of select="../@name"/>::<xsl:value-of select="@name" />
|
||||||
<xsl:if test="description/@summary">
|
<xsl:if test="description/@summary">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue