[Wayland-bugs] [Bug 82126] New: protocol xml: align interface version number with it's factory counterpart
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Aug 4 04:28:55 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=82126
Priority: medium
Bug ID: 82126
Assignee: wayland-bugs at lists.freedesktop.org
Summary: protocol xml: align interface version number with it's
factory counterpart
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: derijcke.erik at gmail.com
Hardware: Other
Status: NEW
Version: unspecified
Component: wayland
Product: Wayland
Currently the xml defines factory interfaces with a version. Implicitly the
created object's interface should have the same version as the factory. However
the protocol xml does not align factory interface versions with the interfaces
of objects it creates.
This leads to confusing and cumbersome parsing because implicit rules and
restrictions have to be deduced from the protocol xml when generating bindings.
Example (1.5):
wl_compositor can be v3, has a create_region with new_id.
wl_region can be at most v1.
My suggestion is to align interface versions so that they match the interface
version of the factory that creates it.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20140804/d89665d1/attachment.html>
More information about the Wayland-bugs
mailing list