Commit graph

67 commits

Author SHA1 Message Date
Pekka Paalanen
4f87fcf3a0 stable/presentation-time: swap two paragraphs in 'presented'
Associates better with the surrounding paragraphs by not jumping topics
back and forth.

Suggested-by: Bill Spitzak <spitzak@gmail.com>
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
2016-04-14 11:30:16 +03:00
Yong Bakos
cec64ada95 fullscreen-shell: Add missing xml declaration
Signed-off-by: Yong Bakos <ybakos@humanoriented.com>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
2016-04-13 12:35:22 -07:00
Yong Bakos
1dd63b1d3b pointer-gestures: Add missing xml declaration
Signed-off-by: Yong Bakos <ybakos@humanoriented.com>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
2016-04-13 12:35:19 -07:00
Yong Bakos
6c6e646a48 fullscreen-shell: Correct grammar, punctuation, minor naming and space
Add missing periods that terminate sentences.
Correct ARBITRARY_MODE to match the actual enum value name.
Adjust one post-period space to match the rest of the content.
Downcase summary description to match the rest of the document.
Add line breaks between sequential enum elements to match conventions
in this, and other, protocol xml docs.

Signed-off-by: Yong Bakos <ybakos@humanoriented.com>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
2016-04-13 12:35:15 -07:00
Yong Bakos
ae55234c53 input-method: Correct grammar, add missing line break
Adds one line between two sequential request elements, to match conventions
within this, and other, protocol xml docs.

Signed-off-by: Yong Bakos <ybakos@humanoriented.com>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
2016-04-13 12:35:14 -07:00
Yong Bakos
c9a8cec816 linux-dmabuf: Add missing articles and punctuation, adjust minor whitespace
Remove line breaks preceding closing interface tags, to match conventions
in this, and other, protocol xml docs.

Signed-off-by: Yong Bakos <ybakos@humanoriented.com>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
2016-04-13 12:35:13 -07:00
Yong Bakos
0197adb355 pointer-constraints: Correct spelling, grammar and consistency
Downcase the protocol summary description to match other protocols.
Replace 'surface-relative' with 'surface local' for consistency and clarity.

Signed-off-by: Yong Bakos <ybakos@humanoriented.com>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
2016-04-13 12:35:10 -07:00
Yong Bakos
09a654e93c pointer-gestures: Correct pluralization, one space, minor vertical whitespace
Adjust double-space after period to be consistent with all content.
Adjust vertical whitespace surrounding first and last protocol tag to
match conventions in this, and other, protocol xml docs.

Signed-off-by: Yong Bakos <ybakos@humanoriented.com>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
2016-04-13 12:35:09 -07:00
Yong Bakos
fc2889ba01 relative-pointer: Correct spelling error, one capitalization, and minor space
Downcase the protocol description summary.
Adjust two double-spaces to one, like the rest of the content.

Signed-off-by: Yong Bakos <ybakos@humanoriented.com>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
2016-04-13 12:35:08 -07:00
Yong Bakos
4e7b2fb4da tablet: Correct grammar and punctuation
Correcting minor grammar and punctuation affords clarity.
Standardize the use of 'surface local coordinates' in lieu of 'surface relative'.
Capitalize Wayland where appropriate, similar to other occurences.

Signed-off-by: Yong Bakos <ybakos@humanoriented.com>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
2016-04-13 12:35:04 -07:00
Yong Bakos
7d21c6387f tablet: Adjust vertical whitespace for consistency
Add/remove vertial whitespace between xml elements
according to conventions elsewhere within this, and other,
protocol xml docs.

Signed-off-by: Yong Bakos <ybakos@humanoriented.com>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
2016-04-13 12:35:02 -07:00
Yong Bakos
8dab46ab53 presentation-time: Correct minor grammar errors
Signed-off-by: Yong Bakos <ybakos@humanoriented.com>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
2016-04-13 12:35:02 -07:00
Yong Bakos
a50668559c readme: Correct spelling and grammar
Signed-off-by: Yong Bakos <ybakos@humanoriented.com>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
2016-04-13 12:35:00 -07:00
Jonas Ådahl
82bb922f5b configure.ac: Bump version to 1.3
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2016-03-10 15:02:29 +08:00
Jonas Ådahl
418915eeba Revert "xdg-shell: clarify xdg_surface creation semantics regarding buffers"
This patch was intended to be part of the coming v6 version of the
xdg_shell protocol. It is an semantically backward incompatible change,
so it cannot be implemented in xdg_shell v5 without breaking
compatibility with available clients.

This reverts commit 275fd34023.
2016-03-09 15:49:51 +08:00
Peter Hutterer
ca86a592c2 Add the tablet protocol
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Jonas Ådahl <jadahl@gmail.com>
2016-03-08 23:40:43 -08:00
Mike Blumenkrantz
275fd34023 xdg-shell: clarify xdg_surface creation semantics regarding buffers
this change ensures that the client will set its initial state
before performing any drawing, ensuring that there is no mismatch
when creating a surface with a non-default state
(eg. maximize, fullscreen, ...)

looking at the following event flows:
1) wl_surface.attach, wl_surface.commit, xdg_shell.get_xdg_surface

2) wl_surface.attach, xdg_shell.get_xdg_surface, wl_surface.commit

3) xdg_shell.get_xdg_surface, wl_surface.commit, xdg_surface.configure,
   wl_surface.attach, wl_surface.commit

only 3) is now valid, while 1) and 2) will trigger errors as a result
of handling buffers prior to creating the xdg surface

Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
2016-03-08 23:32:51 -08:00
Jonas Ådahl
22a9cd8a25 configure.ac: Bump version to 1.2
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2016-03-07 17:09:30 +08:00
Pekka Paalanen
62468ffc9a Makefile: install and dist stable protocols
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
Reviewed-by: Jonas Ådahl <jadahl@gmail.com>
2016-03-01 11:19:24 +02:00
Pekka Paalanen
f4e9da8363 Makefile: add presentation-time to stable protocols
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
Reviewed-by: Jonas Ådahl <jadahl@gmail.com>
2016-03-01 11:19:16 +02:00
Pekka Paalanen
10ae82c41a presentation-time: finish stabilization
Rename interfaces and the protocol to follow the policy.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
Reviewed-by: Jonas Ådahl <jadahl@gmail.com>
2016-03-01 11:19:10 +02:00
Pekka Paalanen
95e7f445ed stable: add presentation-time draft
This XML file has been copied verbatim from Weston 1.10.0 release,
protocol/presentation_timing.xml. The last behavioral change to that
file was in December 2014, so the behaviour is considered stable.

Interfaces still need to be renamed according wayland-protocols policy.
That will be done in a follow-up patch to clearly show the changes.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
Reviewed-by: Jonas Ådahl <jadahl@gmail.com>
2016-03-01 11:18:35 +02:00
Carlos Olmedo Escobar
2deda62a9e Remove 'is'.
Signed-off-by: Carlos Olmedo Escobar <carlos.olmedo.e@gmail.com>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
2016-02-29 15:26:53 -08:00
Jonas Ådahl
596dfda882 configure.ac: Bump version to 1.1
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2016-02-16 17:17:49 +08:00
Jonas Ådahl
162619d605 Introduce pointer locking and confinement protocol
This patch introduces a new protocol for locking and confining a
pointer. It consists of a new global object with two requests; one for
locking the surface to a position, one for confining the pointer to a
given region.

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
Reviewed-by: Reviewed-by: Daniel Stone <daniels@collabora.com>
2016-02-16 17:17:49 +08:00
Jonas Ådahl
a956c73e4e Introduce wp_relative_pointer interface
The wp_relative_pointer interface is an extension to the wl_pointer
interface created from wl_seat. It has the same focus, but adds the
functionality of sending relative pointer motions unhindered by
constraints such as monitor edges or other barriers. It also contains
unaccelerated pointer motion information.

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
Reviewed-by: Reviewed-by: Daniel Stone <daniels@collabora.com>
2016-02-16 17:00:15 +08:00
Derek Foreman
0b05b70f9d ignore: ignore config.sub and config.guess
Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
2016-01-14 13:46:19 -08:00
Derek Foreman
d8cb9c2a8b test: add make check
We can now test all the protocol files by running make check (or distcheck)
which will pass them through the scanner.

Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Jonas Ådahl <jadahl@gmail.com>
2016-01-14 15:49:00 +08:00
Mike Blumenkrantz
a5585f3de3 xdg-shell: add state range reservation for EFL
Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
2015-12-07 10:18:05 +08:00
Bryce Harrington
da33164726 configure.ac: Fix compatibility for older pkg-config versions
noarch_pkgconfigdir is not available on oldish pkg-config's.  Among
other things this affects Wayland's nightly auto-build Ubuntu 14.04
PPAs.

Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
Cc: Pekka Paalanen <ppaalanen@gmail.com>
Cc: Quentin Glidic <sardemff7+wayland@sardemff7.net>
Cc: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2015-12-04 17:46:19 +08:00
Jonas Ådahl
3543bb755c configure.ac: Bump version to 1.0
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2015-11-25 10:05:47 +08:00
Jonas Ådahl
1e5e96f4b0 configure.ac: Fix bugzilla link
File bugs to the 'unspecified' version of the 'wayland' component. We
currently don't have a 'wayland-protocols' component, and 'wayland' is
the closest there is right now.

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2015-11-25 10:04:43 +08:00
Jonas Ådahl
543f0609b9 configure.ac: Remove micro version from version number
Just use two numbers, major and minor. There is no practical use for
a micro version number.

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2015-11-25 10:04:00 +08:00
Jonas Ådahl
03742cb72e configure.ac: Remove unused output variables
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2015-11-23 10:19:00 +08:00
Jonas Ådahl
6f8b4d2191 configure.ac: Print version when done configuring
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2015-11-23 10:18:19 +08:00
Igor Gnatenko
25c60496e8 install pkg-config file to arch-independent location
It is arch-independent, so no need to install it to /usr/lib*

Cc: Jonas Ådahl <jadahl@gmail.com>
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2015-11-23 09:39:35 +08:00
Peter Hutterer
5315fdabd4 xdg_shell: add missing <description> tags to the 'state' enum entries
The scanner parses CDATA in <entry> but lets it disappear otherwise. To have
descriptive text associated with the <entry>, we need a <description> tag -
and that must have a summary attribute. The current scanner doesn't handle
<description> however, so to get the summary printed in the output file we
still need the summary attribute in the entry tag too.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
Reviewed-by: Jonas Ådahl <jadahl@gmail.com>
2015-11-20 17:26:15 +08:00
Jonas Ådahl
f828a4381e COPYING: Update copyrights
I went through all of the protocols and used the copyright hints in
them and used the result of that to put in the COPYING file. One
exception was the fullscreen shell which was missing the copyright
details. As per direct contact with the original author, copyright of
fullscreen shell should be attributed to the author himself and was
therefore added to COPYING.

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2015-11-20 15:02:19 +08:00
Jonas Ådahl
67cd84ca01 Makefile.am: Include protocol README files in tarball
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2015-11-18 13:24:32 +08:00
Jonas Ådahl
7c671d7967 README: postfix -> suffix
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2015-11-17 15:31:43 +08:00
Jonas Ådahl
f4346218f2 README: Use the word 'deprecated' instead of 'obsolete'
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2015-11-17 15:31:43 +08:00
Jonas Ådahl
c1b9900ae4 Remove presentation timing protocol
The presentation timing protocol is already ready for being declared
stable and given this we can skip having it going through the unstable
naming procedures. Lets remove it for now, and re-introduce in stable/
when declaring it stable.

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2015-11-17 11:47:57 +08:00
Jonas Ådahl
98ccc10879 README: Add note about CC:ing maintainers
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2015-11-16 16:51:53 +08:00
Jonas Ådahl
6cd28662aa linux-dmabuf: Change the zlinux_prefix to zwp_linux
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2015-11-09 15:04:24 +08:00
Jonas Ådahl
a776e94477 Apply the new version suffix convention to the protocols
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2015-11-09 15:04:24 +08:00
Jonas Ådahl
f7d16f7983 README: Make the interface major version suffix more clear
Append _vN instead of just N where N is the major version.

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2015-11-09 15:04:24 +08:00
Jonas Ådahl
a01435ea22 README: Some clarifications regarding major vs minor versions
Was missing that the major version is also part of the interface names.

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2015-11-09 15:04:24 +08:00
Jonas Ådahl
06fc2c1e57 Change all of the zwl_ prefixed protocols to use the zwp_ prefix
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2015-11-09 15:04:24 +08:00
Jonas Ådahl
a3023a86ab README: Document interface naming convention
Document that what different types of protocols should prefix their
interfaces with.

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2015-11-09 15:04:24 +08:00
Jonas Ådahl
0c7973d72b README: Change the examples from wl_ to wp_
It was decided that the wl_ prefixed used by protocols and the
wayland-client and wayland-server API should only be used by those two
libraries.

Instead, invent a new prefix for protocols in wayland-protocols: wp_,
which stands for Wayland Protocol.

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2015-11-09 15:04:24 +08:00