<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wayland/tests/data/small-private-code.c, branch 1.23</title>
<subtitle>[no description]</subtitle>
<id>http://git.sudomsg.com/mirror/wayland/atom/tests/data/small-private-code.c?h=1.23</id>
<link rel='self' href='http://git.sudomsg.com/mirror/wayland/atom/tests/data/small-private-code.c?h=1.23'/>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/wayland/'/>
<updated>2024-04-24T16:18:28Z</updated>
<entry>
<title>tests: add deprecated-since attributes</title>
<updated>2024-04-24T16:18:28Z</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2024-04-08T11:32:31Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/wayland/commit/?id=80c65f862f7919691d3b0d31810f5a40f8675f37'/>
<id>urn:sha1:80c65f862f7919691d3b0d31810f5a40f8675f37</id>
<content type='text'>
Add a new event and enum entry to small.xml with a deprecated-since
attribute to exercise the scanner code generation.

Signed-off-by: Simon Ser &lt;contact@emersion.fr&gt;
</content>
</entry>
<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>scanner: prepend protocol name to types symbol</title>
<updated>2019-09-11T18:27:03Z</updated>
<author>
<name>Marty E. Plummer</name>
<email>hanetzer@startmail.com</email>
</author>
<published>2019-05-11T14:53:01Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/wayland/commit/?id=9f004d8b0fa37787fe96662cf5ff414e8d6ef5e4'/>
<id>urn:sha1:9f004d8b0fa37787fe96662cf5ff414e8d6ef5e4</id>
<content type='text'>
When doing unity builds via meson (example project:
https://github.com/swaywm/sway) multiple source files are glued together
via #include directives. Having every wayland-scanner generated source
file have an identifier named '*types[]' will lead to errors in these
unity builds if two or more of these are joined.

Signed-off-by: Marty E. Plummer &lt;hanetzer@startmail.com&gt;
</content>
</entry>
<entry>
<title>tests: fix scanner private-code test reference data</title>
<updated>2018-02-26T13:35:04Z</updated>
<author>
<name>Pekka Paalanen</name>
<email>pekka.paalanen@collabora.co.uk</email>
</author>
<published>2018-02-26T09:44:25Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/wayland/commit/?id=400df40dfa8ec9095b0614a0be45dbea3f2a5895'/>
<id>urn:sha1:400df40dfa8ec9095b0614a0be45dbea3f2a5895</id>
<content type='text'>
Commit e501230d1dc8a5015616e104ec0e08886a0b88df "scanner: Fix broken
private-code generation" changed the scanner output without updating the
reference output for scanner tests.

Update the reference data. This fixes 'make check'.

Signed-off-by: Pekka Paalanen &lt;pekka.paalanen@collabora.co.uk&gt;
Reviewed-by: Derek Foreman &lt;derekf@osg.samsung.com&gt;
</content>
</entry>
<entry>
<title>tests: add code, public-code and private-code tests</title>
<updated>2018-02-22T11:51:50Z</updated>
<author>
<name>Emil Velikov</name>
<email>emil.velikov@collabora.com</email>
</author>
<published>2018-02-22T11:23:39Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/wayland/commit/?id=b02c4013e3c10d26c6afae675eec77a97c4c10ab'/>
<id>urn:sha1:b02c4013e3c10d26c6afae675eec77a97c4c10ab</id>
<content type='text'>
First one is deprecated in favour of the second option.

The latter is newly introduced and annotates the generated symbols
accordingly.

v2: Don't introduce small-public-code.c - reuse small-code.c (Pekka)

Cc: Pekka Paalanen &lt;ppaalanen@gmail.com&gt;
Signed-off-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
Reviewed-by: Pekka Paalanen &lt;pekka.paalanen@collabora.co.uk&gt;
Reviewed-by: Derek Foreman &lt;derekf@osg.samsung.com&gt;
</content>
</entry>
</feed>
