Commit graph

135 commits

Author SHA1 Message Date
Yong Bakos
aaafffe039 tablet: Hyphenate compound adjective surface-local
In addition, simplify relevant x/y coordinate parameter summaries.

See https://lists.freedesktop.org/archives/wayland-devel/2016-April/028249.html.

Signed-off-by: Yong Bakos <ybakos@humanoriented.com>
2016-04-29 16:35:24 -07:00
Yong Bakos
44d5da751f pointer-constraints: Use 'surface-local' in simplified parameter summary
See https://lists.freedesktop.org/archives/wayland-devel/2016-April/028249.html.

Signed-off-by: Yong Bakos <ybakos@humanoriented.com>
2016-04-29 16:35:18 -07:00
Yong Bakos
5eb2a8d45a fullscreen-shell: Correct spelling of parameter name
Signed-off-by: Yong Bakos <ybakos@humanoriented.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
2016-04-21 14:35:13 -07: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
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
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
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
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
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
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
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
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
6c3112e5dc Migrate xdg_shell protocol
This migration did not involve any renaming, xdg_shell already has its
own form of unstable protocol semantics. The next xdg_shell protocol
change will change to the new naming semantics, and not earlier in
order to minimize breakage.

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2015-10-30 15:20:47 +08:00
Jonas Ådahl
ab64cfa492 Add README files containing protocol maintainers
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2015-10-29 11:08:12 +08:00
Jonas Ådahl
567de8a8fa Migrate the input method protocol
Applied the unstable naming convention.

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2015-10-21 16:21:41 +08:00
Jonas Ådahl
e5fea4ed0b Migrate the text input protocol
Renamed from "text" to "text-input" and applied the unstable naming
convention.

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2015-10-21 16:20:52 +08:00
Jonas Ådahl
41ad165c40 Migrate presentation timing protocol
Applied unstable naming convention.

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2015-10-21 11:28:59 +08:00
Jonas Ådahl
0f3a723bc9 Migrate linux-dmabuf protocol
Version postfix added to interface names.

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2015-10-21 11:28:59 +08:00
Jonas Ådahl
cfa9171725 pointer-gestures: Use the new unstable naming schema
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2015-10-21 11:28:59 +08:00
Jonas Ådahl
a68a17ddc9 fullscreen-shell: Use the new unstable naming schema
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2015-10-20 09:30:02 +08:00
Jonas Ådahl
bce22b6708 Add fullscreen shell protocol
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2015-10-09 13:12:43 +08:00
Jonas Ådahl
a24f0ff63e Add unstable pointer gesture protocol
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2015-10-09 11:42:11 +08:00