<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wayland/tests/data/example-server.h, branch 1.23.0</title>
<subtitle>[no description]</subtitle>
<id>http://git.sudomsg.com/mirror/wayland/atom/tests/data/example-server.h?h=1.23.0</id>
<link rel='self' href='http://git.sudomsg.com/mirror/wayland/atom/tests/data/example-server.h?h=1.23.0'/>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/wayland/'/>
<updated>2024-04-23T09:17:02Z</updated>
<entry>
<title>scanner: add validators for enums</title>
<updated>2024-04-23T09:17:02Z</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2022-09-17T08:53:56Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/wayland/commit/?id=b258d5f36137088e5cb5ae097db7964290da7d55'/>
<id>urn:sha1:b258d5f36137088e5cb5ae097db7964290da7d55</id>
<content type='text'>
Right now compositors need to manually check that enum values sent
by the client are valid. In particular:

- Check that the value sent by the client is not outside of the enum.
- Check that the version of the enum entry is consistent with the
  object version.

Automatically generate validator functions to perform these tasks.

Signed-off-by: Simon Ser &lt;contact@emersion.fr&gt;
Closes: https://gitlab.freedesktop.org/wayland/wayland/-/issues/104
</content>
</entry>
<entry>
<title>tests: Test wayland-scanner with a description in an entry</title>
<updated>2021-07-07T12:11:42Z</updated>
<author>
<name>James Legg</name>
<email>lankyleggy@gmail.com</email>
</author>
<published>2021-06-02T23:10:22Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/wayland/commit/?id=b7153f2273d076adfdaaf6717cde1aca69da5f04'/>
<id>urn:sha1:b7153f2273d076adfdaaf6717cde1aca69da5f04</id>
<content type='text'>
This previously would have caused a memory leak and incorrect
comments.

Signed-off-by: James Legg &lt;lankyleggy@gmail.com&gt;
Signed-off-by: Pekka Paalanen &lt;pekka.paalanen@collabora.com&gt;

</content>
</entry>
<entry>
<title>scanner: Guard interface declarations</title>
<updated>2020-04-23T08:17:18Z</updated>
<author>
<name>Guido Günther</name>
<email>agx@sigxcpu.org</email>
</author>
<published>2020-04-21T10:47:56Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/wayland/commit/?id=cc8b6aa3d937dda055cb25fdbec55d0afb6be2a0'/>
<id>urn:sha1:cc8b6aa3d937dda055cb25fdbec55d0afb6be2a0</id>
<content type='text'>
This allows to include client and server headers in the same file
fixing warnings like

In file included from ../subprojects/wlroots/include/wlr/types/wlr_layer_shell_v1.h:16,
                 from ../src/desktop.h:16,
                 from ../src/server.h:13,
                 from ../tests/testlib.c:8:
tests/59830eb@@footest@sta/wlr-layer-shell-unstable-v1-protocol.h:80:34: warning: redundant redeclaration of ‘zwlr_layer_shell_v1_interface’ [-Wredundant-decls]
   80 | extern const struct wl_interface zwlr_layer_shell_v1_interface;
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../tests/testlib.h:8,
                 from ../tests/testlib.c:7:
tests/59830eb@@footest@sta/wlr-layer-shell-unstable-v1-client-protocol.h:77:34: note: previous declaration of ‘zwlr_layer_shell_v1_interface’ was here
   77 | extern const struct wl_interface zwlr_layer_shell_v1_interface;
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../subprojects/wlroots/include/wlr/types/wlr_layer_shell_v1.h:16,
                 from ../src/desktop.h:16,
                 from ../src/server.h:13,
                 from ../tests/testlib.c:8:
tests/59830eb@@footest@sta/wlr-layer-shell-unstable-v1-protocol.h:106:34: warning: redundant redeclaration of ‘zwlr_layer_surface_v1_interface’ [-Wredundant-decls]
  106 | extern const struct wl_interface zwlr_layer_surface_v1_interface;
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../tests/testlib.h:8,
                 from ../tests/testlib.c:7:
tests/59830eb@@footest@sta/wlr-layer-shell-unstable-v1-client-protocol.h:103:34: note: previous declaration of ‘zwlr_layer_surface_v1_interface’ was here
  103 | extern const struct wl_interface zwlr_layer_surface_v1_interface;

Signed-off-by: Guido Günther &lt;agx@sigxcpu.org&gt;
Closes: #158
</content>
</entry>
<entry>
<title>protocol: add axis_source.wheel_tilt</title>
<updated>2017-01-24T10:00:19Z</updated>
<author>
<name>Peter Hutterer</name>
<email>peter.hutterer@who-t.net</email>
</author>
<published>2017-01-23T23:56:39Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/wayland/commit/?id=2f72d0a8a82dac8c961cb9b4b509208b84322937'/>
<id>urn:sha1:2f72d0a8a82dac8c961cb9b4b509208b84322937</id>
<content type='text'>
Unlike a wheel rotation, a wheel tilt is a discrete-only axis. Wheel rotations
are mapped to degrees in libinput but that that does not apply to wheel tilt
axes where there is no physical equivalent.

Signed-off-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
Reviewed-by: Jonas Ådahl &lt;jadahl@gmail.com&gt;
Acked-by: Daniel Stone &lt;daniels@collabora.com&gt;
Reviewed-by: Daniel Stone &lt;daniels@collabora.com&gt;
Reviewed-by: Yong Bakos &lt;ybakos@humanoriented.com&gt;
</content>
</entry>
<entry>
<title>tests: sync example.xml with wayland.xml</title>
<updated>2017-01-24T09:48:46Z</updated>
<author>
<name>Peter Hutterer</name>
<email>peter.hutterer@who-t.net</email>
</author>
<published>2017-01-23T23:56:36Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/wayland/commit/?id=493eda337ae7cc5530c23833f91f1738690d7ba3'/>
<id>urn:sha1:493eda337ae7cc5530c23833f91f1738690d7ba3</id>
<content type='text'>
These are the protocol.xml changes from:
66a26aeb2a: protocol: Remove inconsistent line breaks
a26ed0949e: protocol: indentation fixes
6a18a87727: protocol: Extend wl_touch with touchpoint shape and orientation

and a few other, smaller ones.

Signed-off-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
Reviewed-by: Daniel Stone &lt;daniels@collabora.com&gt;
Reviewed-by: Yong Bakos &lt;ybakos@humanoriented.com&gt;
Tested-by: Yong Bakos &lt;ybakos@humanoriented.com&gt;
Reviewed-by: Pekka Paalanen &lt;pekka.paalanen@collabora.co.uk&gt;
</content>
</entry>
<entry>
<title>tests: add data files for future wayland-scanner test</title>
<updated>2016-11-23T08:18:29Z</updated>
<author>
<name>Pekka Paalanen</name>
<email>pekka.paalanen@collabora.co.uk</email>
</author>
<published>2016-10-04T14:26:40Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/wayland/commit/?id=992b451dc44389e56913e3e57681aec00ee6bffc'/>
<id>urn:sha1:992b451dc44389e56913e3e57681aec00ee6bffc</id>
<content type='text'>
This patch adds the input and reference output data files for the
wayland-scanner tests to be added by the following patch.

The data files are split into their own patch because they are extremely
uninteresting to review:
- example.xml is just a copy wayland.xml from 1.12.0
- small.xml is a tiny dummy definition used for testing scanner
  variations without causing lots of big output files
- the other files are wayland-scanner products from the xml files

Signed-off-by: Pekka Paalanen &lt;pekka.paalanen@collabora.co.uk&gt;
Reviewed-by: Emilio Pozuelo Monfort &lt;emilio.pozuelo@collabora.co.uk&gt;
v2: update output due to 2c6350beb92816eb9213c4944d197485e788ef6d
Acked-by: Yong Bakos &lt;ybakos@humanoriented.com&gt;
</content>
</entry>
</feed>
