wayland/tests/data
Dudemanguy ab4c580480 scanner: add defines for wayland interface versions
Currently, it is cumbersome for clients that want to know what version of an
interface is supported at compile time. This can especially matter in cases
where the compositor and client aren't neccesarily compiled against the same
wayland and wayland protocol versions. Provide more information by adding a
simple int define for all interfaces that give the version that is already
defined in the source xml file.

Signed-off-by: Dudemanguy <random342@airmail.cc>
2025-04-03 23:19:34 -05:00
..
bad-identifier-arg.xml tests: Verify that wayland_scanner can catch bad identifiers 2019-05-02 17:42:59 +00:00
bad-identifier-entry.xml tests: Verify that wayland_scanner can catch bad identifiers 2019-05-02 17:42:59 +00:00
bad-identifier-enum.xml tests: Verify that wayland_scanner can catch bad identifiers 2019-05-02 17:42:59 +00:00
bad-identifier-event.xml tests: Verify that wayland_scanner can catch bad identifiers 2019-05-02 17:42:59 +00:00
bad-identifier-interface.xml tests: Verify that wayland_scanner can catch bad identifiers 2019-05-02 17:42:59 +00:00
bad-identifier-protocol.xml tests: Verify that wayland_scanner can catch bad identifiers 2019-05-02 17:42:59 +00:00
bad-identifier-request.xml tests: Verify that wayland_scanner can catch bad identifiers 2019-05-02 17:42:59 +00:00
empty-client.h scanner: add defines for wayland interface versions 2025-04-03 23:19:34 -05:00
empty-code.c scanner: add validators for enums 2024-04-23 09:17:02 +00:00
empty-server.h scanner: add defines for wayland interface versions 2025-04-03 23:19:34 -05:00
empty.xml util: fix undefined behavior in wl_array_for_each 2024-03-24 20:00:01 -04:00
example-client.h scanner: add defines for wayland interface versions 2025-04-03 23:19:34 -05:00
example-code.c scanner: add validators for enums 2024-04-23 09:17:02 +00:00
example-enum.h tests: add scanner test for enum-header 2024-03-28 13:21:28 +00:00
example-server.h scanner: add defines for wayland interface versions 2025-04-03 23:19:34 -05:00
example.xml doc: fix typo in wl_data_device.data_offer 2022-01-10 10:07:22 +00:00
README.md build: add a gen-scanner-test target 2024-01-15 14:29:10 +01:00
small-client-core.h scanner: add defines for wayland interface versions 2025-04-03 23:19:34 -05:00
small-client.h scanner: add defines for wayland interface versions 2025-04-03 23:19:34 -05:00
small-code-core.c tests: add deprecated-since attributes 2024-04-24 16:18:28 +00:00
small-code.c tests: add deprecated-since attributes 2024-04-24 16:18:28 +00:00
small-private-code.c tests: add deprecated-since attributes 2024-04-24 16:18:28 +00:00
small-server-core.h scanner: add defines for wayland interface versions 2025-04-03 23:19:34 -05:00
small-server.h scanner: add defines for wayland interface versions 2025-04-03 23:19:34 -05:00
small.xml tests: add enum bitfield test 2024-07-09 18:22:10 +02:00

To re-generate the test data, run:

ninja -C build/ gen-scanner-test