diff options
| author | Simon Ser <contact@emersion.fr> | 2023-07-19 12:50:34 +0200 |
|---|---|---|
| committer | Simon Ser <contact@emersion.fr> | 2024-04-24 16:18:28 +0000 |
| commit | ee12e69b8fb8c55460126e4e527eb4f7fee5526e (patch) | |
| tree | 0d7f5623b20883658b23b2d8cca12c26ff531be4 /protocol/wayland.dtd | |
| parent | xcursor: catch theme inheritance loops (diff) | |
| download | wayland-ee12e69b8fb8c55460126e4e527eb4f7fee5526e.tar wayland-ee12e69b8fb8c55460126e4e527eb4f7fee5526e.tar.gz wayland-ee12e69b8fb8c55460126e4e527eb4f7fee5526e.tar.bz2 wayland-ee12e69b8fb8c55460126e4e527eb4f7fee5526e.tar.lz wayland-ee12e69b8fb8c55460126e4e527eb4f7fee5526e.tar.xz wayland-ee12e69b8fb8c55460126e4e527eb4f7fee5526e.tar.zst wayland-ee12e69b8fb8c55460126e4e527eb4f7fee5526e.zip | |
Add support for the deprecated-since XML attribute
This marks a request, event or enum entry as deprecated since a
given version.
Note that it's not clear what it means if an entry is deprecated
at some version, and the enum is used from some completely different
interface than where it was defined. However, that's a more general
issue with enums, see:
https://gitlab.freedesktop.org/wayland/wayland/-/issues/435
Signed-off-by: Simon Ser <contact@emersion.fr>
References: https://gitlab.freedesktop.org/wayland/wayland/-/issues/89
Diffstat (limited to 'protocol/wayland.dtd')
| -rw-r--r-- | protocol/wayland.dtd | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/protocol/wayland.dtd b/protocol/wayland.dtd index ee062ee..b97372c 100644 --- a/protocol/wayland.dtd +++ b/protocol/wayland.dtd @@ -8,10 +8,12 @@ <!ATTLIST request name CDATA #REQUIRED> <!ATTLIST request type CDATA #IMPLIED> <!ATTLIST request since CDATA #IMPLIED> + <!ATTLIST request deprecated-since CDATA #IMPLIED> <!ELEMENT event (description?,arg*)> <!ATTLIST event name CDATA #REQUIRED> <!ATTLIST event type CDATA #IMPLIED> <!ATTLIST event since CDATA #IMPLIED> + <!ATTLIST event deprecated-since CDATA #IMPLIED> <!ELEMENT enum (description?,entry*)> <!ATTLIST enum name CDATA #REQUIRED> <!ATTLIST enum since CDATA #IMPLIED> @@ -21,6 +23,7 @@ <!ATTLIST entry value CDATA #REQUIRED> <!ATTLIST entry summary CDATA #IMPLIED> <!ATTLIST entry since CDATA #IMPLIED> + <!ATTLIST entry deprecated-since CDATA #IMPLIED> <!ELEMENT arg (description?)> <!ATTLIST arg name CDATA #REQUIRED> <!ATTLIST arg type CDATA #REQUIRED> |
