Update certificates to include localhost and 127.0.0.1
[AGL/meta-agl-demo.git] / recipes-qt / qt / qtwayland / 0020-Add-IVI-Shell-protocol-file-version-patch-v6.patch
1 From b4f032b13338ad6c21024177b031c75063ef7493 Mon Sep 17 00:00:00 2001
2 From: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
3 Date: Sun, 7 Sep 2014 08:19:30 +0200
4 Subject: [PATCH 20/21] Add IVI-Shell protocol file version patch v6
5
6 Source : http://lists.freedesktop.org/archives/wayland-devel/2014-June/015617.html
7
8 This file comes from the last proposed definition of the IVI-Shell protocol,
9 and will need to be refreshed on protocol update.
10
11 Task-number: QTBUG-XXXXX/part/1of2
12
13 Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
14 ---
15  src/3rdparty/protocol/ivi-application.xml | 101 ++++++++++++++++++++++++++++++
16  1 file changed, 101 insertions(+)
17  create mode 100644 src/3rdparty/protocol/ivi-application.xml
18
19 diff --git a/src/3rdparty/protocol/ivi-application.xml b/src/3rdparty/protocol/ivi-application.xml
20 new file mode 100644
21 index 0000000..833fd38
22 --- /dev/null
23 +++ b/src/3rdparty/protocol/ivi-application.xml
24 @@ -0,0 +1,101 @@
25 +<?xml version="1.0" encoding="UTF-8"?>
26 +<protocol name="ivi_application">
27 +
28 +    <copyright>
29 +    Copyright (C) 2013 DENSO CORPORATION
30 +    Copyright (c) 2013 BMW Car IT GmbH
31 +
32 +    Permission is hereby granted, free of charge, to any person obtaining a copy
33 +    of this software and associated documentation files (the "Software"), to deal
34 +    in the Software without restriction, including without limitation the rights
35 +    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
36 +    copies of the Software, and to permit persons to whom the Software is
37 +    furnished to do so, subject to the following conditions:
38 +
39 +    The above copyright notice and this permission notice shall be included in
40 +    all copies or substantial portions of the Software.
41 +
42 +    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
43 +    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
44 +    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
45 +    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
46 +    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
47 +    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
48 +    THE SOFTWARE.
49 +    </copyright>
50 +
51 +    <interface name="ivi_surface" version="1">
52 +        <description summary="application interface to surface in ivi compositor"/>
53 +
54 +        <request name="destroy" type="destructor">
55 +            <description summary="destroy ivi_surface">
56 +                This removes link from ivi_id to wl_surface and destroys ivi_surface.
57 +            </description>
58 +        </request>
59 +
60 +        <event name="visibility">
61 +            <description summary="visibility of surface in ivi compositor has changed">
62 +                The new visibility state is provided in argument visibility.
63 +                If visibility is 0, the surface has become invisible.
64 +                If visibility is not 0, the surface has become visible.
65 +            </description>
66 +            <arg name="visibility" type="int"/>
67 +        </event>
68 +
69 +        <enum name="warning_code">
70 +            <description summary="possible warning codes returned by ivi compositor">
71 +                These define all possible warning codes returned by ivi compositor on server-side warnings.
72 +                invalid_wl_surface:
73 +                    - wl_surface already has a another role.
74 +                   - wl_surface is destroyed before the ivi_surface is destroyed.
75 +                ivi_id_in_use: ivi_id is already assigned by another application.
76 +            </description>
77 +            <entry name="invalid_wl_surface" value="1" summary="wl_surface is invalid"/>
78 +            <entry name="ivi_id_in_use" value="2" summary="ivi_id is in use and can not be shared"/>
79 +        </enum>
80 +
81 +        <event name="warning">
82 +            <description summary="server-side warning detected">
83 +                The ivi compositor encountered warning while processing a request by this
84 +                application. The warning is defined by argument warning_code and optional
85 +                warning_text. If the warning is detected, client shall destroy the ivi_surface
86 +                object.
87 +
88 +               When a warning event is sent, the compositor turns the ivi_surface object inert.
89 +               The ivi_surface will not deliver further events, all requests on it are ignored
90 +               except 'destroy', and the association to the ivi_id is removed. The client
91 +               should destroy the ivi_surface object. If an inert ivi_surface object is used as
92 +               an argument to any other object's request, that request will [produce a fatal
93 +               error / produce a warning / be ignored].
94 +            </description>
95 +            <arg name="warning_code" type="int"/>
96 +            <arg name="warning_text" type="string" allow-null="true"/>
97 +        </event>
98 +
99 +    </interface>
100 +
101 +    <interface name="ivi_application" version="1">
102 +        <description summary="create ivi-style surfaces">
103 +           This interface is implemented by servers that provide desktop-style user interfaces.
104 +           It allows clients to associate a ivi_surface with a basic surface.
105 +       </description>
106 +
107 +        <request name="surface_create">
108 +            <description summary="create ivi_surface with numeric ID in ivi compositor">
109 +                surface_create will create a interface:ivi_surface with numeric ID; ivi_id in
110 +                ivi compositor. These ivi_ids are defined as unique in the system to identify
111 +                it inside of ivi compositor. The ivi compositor implements business logic how to
112 +                set properties of the surface with ivi_id according to status of the system.
113 +                E.g. a unique ID for Car Navigation application is used for implementing special
114 +                logic of the application about where it shall be located.
115 +               if a wl_surface which already has another role is set, the server regards this as
116 +               error and disconnects the client.
117 +            </description>
118 +            <arg name="ivi_id" type="uint"/>
119 +            <arg name="surface" type="object" interface="wl_surface"/>
120 +            <arg name="id" type="new_id" interface="ivi_surface"/>
121 +        </request>
122 +
123 +    </interface>
124 +
125 +</protocol>
126 -- 
127 1.9.1
128