| 1 |
<!DOCTYPE html> |
| 2 |
<html> |
| 3 |
<head> |
| 4 |
<meta charset="UTF-8"/> |
| 5 |
<title>dbus-deviation: Error codes</title> |
| 6 |
<style type="text/css"> |
| 7 |
.filename, .program-name, .command, .env-var, .function-name { |
| 8 |
font-family: monospace; |
| 9 |
} |
| 10 |
|
| 11 |
.replaceable { |
| 12 |
font-style: italic; |
| 13 |
} |
| 14 |
</style> |
| 15 |
</head> |
| 16 |
|
| 17 |
<body> |
| 18 |
<h1>dbus-deviation: Error codes</h1> |
| 19 |
|
| 20 |
<p>A list of all the possible error codes produced by dbus-deviation, along |
| 21 |
with potential causes, what problems result, and how to avoid them.</p> |
| 22 |
|
| 23 |
<h2 id="parser">Interface parser errors</h2><a id="interface-parser"></a> |
| 24 |
|
| 25 |
<table> |
| 26 |
<thead> |
| 27 |
<tr> |
| 28 |
<th>Error code</th> |
| 29 |
<th>Compatibility</th> |
| 30 |
<th>Description</th> |
| 31 |
</tr> |
| 32 |
</thead> |
| 33 |
<!-- Please keep this list alphabetically sorted. --> |
| 34 |
<tbody> |
| 35 |
<tr id="argument-type" class="compatibility-error"> |
| 36 |
<th>argument-type</th> |
| 37 |
<td>error</td> |
| 38 |
<td>The type of an argument to a method or signal was |
| 39 |
not a valid D-Bus type. Check the |
| 40 |
<a href="https://dbus.freedesktop.org/doc/dbus-specification.html#type-system">D-Bus type system</a>.</td> |
| 41 |
</tr> |
| 42 |
|
| 43 |
<tr id="duplicate-interface" class="compatibility-error"> |
| 44 |
<th>duplicate-interface</th> |
| 45 |
<td>error</td> |
| 46 |
<td>Two D-Bus interfaces with the same name were defined |
| 47 |
in a single API file. One of the interfaces may be |
| 48 |
misnamed.</td> |
| 49 |
</tr> |
| 50 |
|
| 51 |
<tr id="duplicate-method" class="compatibility-error"> |
| 52 |
<th>duplicate-method</th> |
| 53 |
<td>error</td> |
| 54 |
<td>Two methods with the same name were defined in a |
| 55 |
single D-Bus interface. One of the methods may be |
| 56 |
misnamed.</td> |
| 57 |
</tr> |
| 58 |
|
| 59 |
<tr id="duplicate-node" class="compatibility-error"> |
| 60 |
<th>duplicate-node</th> |
| 61 |
<td>error</td> |
| 62 |
<td>Two nodes with the same name were defined in a |
| 63 |
single D-Bus interface. One of the nodes may be |
| 64 |
misnamed.</td> |
| 65 |
</tr> |
| 66 |
|
| 67 |
<tr id="duplicate-property" class="compatibility-error"> |
| 68 |
<th>duplicate-property</th> |
| 69 |
<td>error</td> |
| 70 |
<td>Two properties with the same name were defined in a |
| 71 |
single D-Bus interface. One of the properties may be |
| 72 |
misnamed.</td> |
| 73 |
</tr> |
| 74 |
|
| 75 |
<tr id="duplicate-signal" class="compatibility-error"> |
| 76 |
<th>duplicate-signal</th> |
| 77 |
<td>error</td> |
| 78 |
<td>Two signals with the same name were defined in a |
| 79 |
single D-Bus interface. One of the signals may be |
| 80 |
misnamed.</td> |
| 81 |
</tr> |
| 82 |
|
| 83 |
<tr id="interface-name" class="compatibility-error"> |
| 84 |
<th>interface-name</th> |
| 85 |
<td>error</td> |
| 86 |
<td>The name of a D-Bus interface was not valid. Check the |
| 87 |
<a href="http://dbus.freedesktop.org/doc/dbus-specification.html#message-protocol-names-interface">D-Bus interface name documentation</a>.</td> |
| 88 |
</tr> |
| 89 |
|
| 90 |
<tr id="method-name" class="compatibility-error"> |
| 91 |
<th>method-name</th> |
| 92 |
<td>error</td> |
| 93 |
<td>The name of a D-Bus method was not valid. Check the |
| 94 |
<a href="https://dbus.freedesktop.org/doc/dbus-specification.html#message-protocol-names-member">D-Bus member name documentation</a>.</td> |
| 95 |
</tr> |
| 96 |
|
| 97 |
<tr id="missing-attribute" class="compatibility-error"> |
| 98 |
<th>missing-attribute</th> |
| 99 |
<td>error</td> |
| 100 |
<td>An XML node in the API file was missing a required |
| 101 |
attribute. Typically, a ‘name’ attribute is |
| 102 |
required — check the |
| 103 |
<a href="http://dbus.freedesktop.org/doc/dbus-specification.html#introspection-format">Introspection Data Format specification</a>.</td> |
| 104 |
</tr> |
| 105 |
|
| 106 |
<tr id="node-name" class="compatibility-error"> |
| 107 |
<th>node-name</th> |
| 108 |
<td>error</td> |
| 109 |
<td>The path (name) of a D-Bus node was not a valid |
| 110 |
relative path. The root node must have an absolute |
| 111 |
object path (if one is specified); child nodes must |
| 112 |
have relative object paths (if specified). Check the |
| 113 |
<a href="https://dbus.freedesktop.org/doc/dbus-specification.html#message-protocol-marshaling-object-path">D-Bus object path documentation</a>.</td> |
| 114 |
</tr> |
| 115 |
|
| 116 |
<tr id="property-type" class="compatibility-error"> |
| 117 |
<th>property-type</th> |
| 118 |
<td>error</td> |
| 119 |
<td>The type of a D-Bus property was |
| 120 |
not a valid D-Bus type. Check the |
| 121 |
<a href="https://dbus.freedesktop.org/doc/dbus-specification.html#type-system">D-Bus type system</a>.</td> |
| 122 |
</tr> |
| 123 |
|
| 124 |
<tr id="signal-name" class="compatibility-error"> |
| 125 |
<th>signal-name</th> |
| 126 |
<td>error</td> |
| 127 |
<td>The name of a D-Bus signal was not valid. Check the |
| 128 |
<a href="https://dbus.freedesktop.org/doc/dbus-specification.html#message-protocol-names-member">D-Bus member name documentation</a>.</td> |
| 129 |
</tr> |
| 130 |
|
| 131 |
<tr id="unknown-node" class="compatibility-error"> |
| 132 |
<th>unknown-node</th> |
| 133 |
<td>error</td> |
| 134 |
<td>An XML node in the API file was not recognized. |
| 135 |
Check the |
| 136 |
<a href="http://dbus.freedesktop.org/doc/dbus-specification.html#introspection-format">Introspection Data Format specification</a>.</td> |
| 137 |
</tr> |
| 138 |
</tbody> |
| 139 |
</table> |
| 140 |
|
| 141 |
<h2 id="type-parser">Type parser errors</h2> |
| 142 |
|
| 143 |
<table> |
| 144 |
<thead> |
| 145 |
<tr> |
| 146 |
<th>Error code</th> |
| 147 |
<th>Compatibility</th> |
| 148 |
<th>Description</th> |
| 149 |
</tr> |
| 150 |
</thead> |
| 151 |
<!-- Please keep this list alphabetically sorted. --> |
| 152 |
<tbody> |
| 153 |
<tr id="invalid-type" class="compatibility-error"> |
| 154 |
<th>invalid-type</th> |
| 155 |
<td>error</td> |
| 156 |
<td>A D-Bus type string is invalid, or represents an |
| 157 |
illegal D-Bus type. Check the |
| 158 |
<a href="https://dbus.freedesktop.org/doc/dbus-specification.html#type-system">D-Bus type system documentation</a>.</td> |
| 159 |
</tr> |
| 160 |
|
| 161 |
<tr id="reserved-type" class="compatibility-error"> |
| 162 |
<th>reserved-type</th> |
| 163 |
<td>error</td> |
| 164 |
<td>A D-Bus type string contains a reserved type |
| 165 |
character, such as <tt>m</tt>, <tt>*</tt>, |
| 166 |
<tt>?</tt>, <tt>@</tt>, <tt>&</tt> or |
| 167 |
<tt>^</tt>. These are not allowed in interface |
| 168 |
definitions; they’re reserved for binding |
| 169 |
implementations or future features. Check the |
| 170 |
<a href="https://dbus.freedesktop.org/doc/dbus-specification.html#type-system">D-Bus type system documentation</a>.</td> |
| 171 |
</tr> |
| 172 |
|
| 173 |
<tr id="unknown-type" class="compatibility-error"> |
| 174 |
<th>unknown-type</th> |
| 175 |
<td>error</td> |
| 176 |
<td>A D-Bus type string contains an unknown character |
| 177 |
which is not part of the language of D-Bus type |
| 178 |
strings. Check the |
| 179 |
<a href="https://dbus.freedesktop.org/doc/dbus-specification.html#type-system">D-Bus type system documentation</a>.</td> |
| 180 |
</tr> |
| 181 |
</tbody> |
| 182 |
</table> |
| 183 |
|
| 184 |
<h2 id="comparator">Comparator errors</h2> |
| 185 |
|
| 186 |
<table> |
| 187 |
<thead> |
| 188 |
<tr> |
| 189 |
<th>Error code</th> |
| 190 |
<th>Compatibility</th> |
| 191 |
<th>Description</th> |
| 192 |
</tr> |
| 193 |
</thead> |
| 194 |
<!-- Please keep this list alphabetically sorted. --> |
| 195 |
<tbody> |
| 196 |
<tr id="argument-added" class="compatibility-backwards-incompatible"> |
| 197 |
<th>argument-added</th> |
| 198 |
<td>backwards-incompatible</td> |
| 199 |
<td>A new argument was added to a method or signal. This |
| 200 |
is backwards incompatible as all existing call sites |
| 201 |
and signal handlers need to be changed to handle |
| 202 |
it.</td> |
| 203 |
</tr> |
| 204 |
|
| 205 |
<tr id="argument-direction-changed" class="compatibility-backwards-incompatible"> |
| 206 |
<th>argument-direction-changed-*-*</th> |
| 207 |
<!-- Other codes this goes by: --> |
| 208 |
<a id="argument-direction-changed-in-out"/> |
| 209 |
<a id="argument-direction-changed-out-in"/> |
| 210 |
<td>backwards-incompatible</td> |
| 211 |
<td>An argument’s direction was changed from ‘in’ to |
| 212 |
‘out’ or vice-versa. This is backwards incompatible |
| 213 |
as all existing call sites and signal handlers need |
| 214 |
to be changed to write the argument when they would |
| 215 |
have previously read it, or vice-versa.</td> |
| 216 |
</tr> |
| 217 |
|
| 218 |
<tr id="argument-name-changed" class="compatibility-info"> |
| 219 |
<th>argument-name-changed</th> |
| 220 |
<td>info</td> |
| 221 |
<td>An argument changed name. This is not an API break, |
| 222 |
as arguments are looked up by index. Note that it |
| 223 |
is an API break if two arguments have swapped places |
| 224 |
though. You should check that the name change is not |
| 225 |
accompanied by a change in the semantics of the |
| 226 |
argument.</td> |
| 227 |
</tr> |
| 228 |
|
| 229 |
<tr id="argument-removed" class="compatibility-backwards-incompatible"> |
| 230 |
<th>argument-removed</th> |
| 231 |
<td>backwards-incompatible</td> |
| 232 |
<td>An argument was removed from a method or signal. |
| 233 |
This is backwards incompatible as all existing call |
| 234 |
sites and signal handlers need to be changed to stop |
| 235 |
using it.</td> |
| 236 |
</tr> |
| 237 |
|
| 238 |
<tr id="argument-type-changed" class="compatibility-backwards-incompatible"> |
| 239 |
<th>argument-type-changed</th> |
| 240 |
<td>backwards-incompatible</td> |
| 241 |
<td>An argument changed type. This is backwards |
| 242 |
incompatible as all existing call sites and signal |
| 243 |
handlers need to be changed to use the new type. |
| 244 |
This might have been caused by another argument |
| 245 |
being added or removed; so check other error |
| 246 |
messages too.</td> |
| 247 |
</tr> |
| 248 |
|
| 249 |
<tr id="c-symbol-changed" class="compatibility-info"> |
| 250 |
<th>c-symbol-changed</th> |
| 251 |
<td>info</td> |
| 252 |
<td>The C symbol corresponding to a D-Bus API changed |
| 253 |
name. This does not affect stability of the D-Bus |
| 254 |
API, but may change the API of any generated C |
| 255 |
bindings. You should check whether that is the |
| 256 |
case.</td> |
| 257 |
</tr> |
| 258 |
|
| 259 |
<tr id="deprecated" class="compatibility-info"> |
| 260 |
<th>deprecated</th> |
| 261 |
<td>info</td> |
| 262 |
<td>A D-Bus API has been marked as deprecated using the |
| 263 |
<tt><a href="http://dbus.freedesktop.org/doc/dbus-specification.html#introspection-format">org.freedesktop.DBus.Deprecated</a></tt> annotation. |
| 264 |
The API can still be used, but you might want to |
| 265 |
port applications away from using it, to use the |
| 266 |
documented replacement instead.</td> |
| 267 |
</tr> |
| 268 |
|
| 269 |
<tr class="compatibility-forwards-incompatible"> |
| 270 |
<th>ecs-changed-true-false, |
| 271 |
ecs-changed-true-const, |
| 272 |
ecs-changed-invalidates-false, |
| 273 |
ecs-changed-invalidates-const</th> |
| 274 |
<!-- Other codes this goes by: --> |
| 275 |
<a id="ecs-changed-true-false"/> |
| 276 |
<a id="ecs-changed-true-const"/> |
| 277 |
<a id="ecs-changed-invalidates-false"/> |
| 278 |
<a id="ecs-changed-invalidates-const"/> |
| 279 |
<td>forwards-incompatible</td> |
| 280 |
<td>A D-Bus property which previously emitted the |
| 281 |
<tt><a href="http://dbus.freedesktop.org/doc/dbus-specification.html#introspection-format">org.freedesktop.DBus.Properties.PropertiesChanged</a></tt> |
| 282 |
signal when its value changed will no longer emit |
| 283 |
that signal. It either now has a constant value (for |
| 284 |
the lifetime of the D-Bus object containing the |
| 285 |
property), or simply is no longer guaranteed to emit |
| 286 |
the signal when its value changes. Applications |
| 287 |
which previously handled notifications for this |
| 288 |
property will no longer receive them, but will |
| 289 |
otherwise continue to function.</td> |
| 290 |
</tr> |
| 291 |
|
| 292 |
<tr class="compatibility-backwards-incompatible"> |
| 293 |
<th>ecs-changed-false-true, |
| 294 |
ecs-changed-false-invalidates, |
| 295 |
ecs-changed-const-true, |
| 296 |
ecs-changed-const-invalidates</th> |
| 297 |
<!-- Other codes this goes by: --> |
| 298 |
<a id="ecs-changed-false-true"/> |
| 299 |
<a id="ecs-changed-false-invalidates"/> |
| 300 |
<a id="ecs-changed-const-true"/> |
| 301 |
<a id="ecs-changed-const-invalidates"/> |
| 302 |
<td>backwards-incompatible</td> |
| 303 |
<td>A D-Bus property which previously did not emit the |
| 304 |
<tt><a href="http://dbus.freedesktop.org/doc/dbus-specification.html#introspection-format">org.freedesktop.DBus.Properties.PropertiesChanged</a></tt> |
| 305 |
signal will now emit that signal when its value |
| 306 |
changes. The signal may contain the updated value of |
| 307 |
the property, or may simply mark the property as |
| 308 |
‘invalidated’. Applications which previously assumed |
| 309 |
the property had a constant value should be changed |
| 310 |
to handle notifications for it.</td> |
| 311 |
</tr> |
| 312 |
|
| 313 |
<tr id="ecs-changed-true-invalidates" class="compatibility-backwards-incompatible"> |
| 314 |
<th>ecs-changed-true-invalidates</th> |
| 315 |
<td>backwards-incompatible</td> |
| 316 |
<td>A D-Bus property which previously emitted its |
| 317 |
updated value in the |
| 318 |
<tt><a href="http://dbus.freedesktop.org/doc/dbus-specification.html#introspection-format">org.freedesktop.DBus.Properties.PropertiesChanged</a></tt> |
| 319 |
signal when its value changed will no longer include |
| 320 |
the updated value, and will instead notify the |
| 321 |
property as ‘invalidated’. Applications which |
| 322 |
expected the property to be listed in the |
| 323 |
<tt>changed_properties</tt> argument of the |
| 324 |
<tt><a href="http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-properties">org.freedesktop.DBus.Properties.PropertiesChanged</a></tt> |
| 325 |
signal should be changed to look in the |
| 326 |
<tt>invalidated_properties</tt> argument — or to |
| 327 |
look in both, for maximum compatibility.</td> |
| 328 |
</tr> |
| 329 |
|
| 330 |
<tr id="ecs-changed-invalidates-true" class="compatibility-backwards-incompatible"> |
| 331 |
<th>ecs-changed-invalidates-true</th> |
| 332 |
<td>backwards-incompatible</td> |
| 333 |
<td>A D-Bus property which previously did not emit its |
| 334 |
updated value in the |
| 335 |
<tt><a href="http://dbus.freedesktop.org/doc/dbus-specification.html#introspection-format">org.freedesktop.DBus.Properties.PropertiesChanged</a></tt> |
| 336 |
signal when its value changed will now include |
| 337 |
the updated value, and will no longer notify the |
| 338 |
property as ‘invalidated’. Applications which |
| 339 |
expected the property to be listed in the |
| 340 |
<tt>invalidated_properties</tt> argument of the |
| 341 |
<tt><a href="http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-properties">org.freedesktop.DBus.Properties.PropertiesChanged</a></tt> |
| 342 |
signal should be changed to look in the |
| 343 |
<tt>changed_properties</tt> argument — or to |
| 344 |
look in both, for maximum compatibility.</td> |
| 345 |
</tr> |
| 346 |
|
| 347 |
<tr id="ecs-changed-const-false" class="compatibility-backwards-incompatible"> |
| 348 |
<th>ecs-changed-const-false</th> |
| 349 |
<td>backwards-incompatible</td> |
| 350 |
<td>A D-Bus property which was previously marked as |
| 351 |
constant, with a value which did not change |
| 352 |
throughout the lifetime of the containing D-Bus |
| 353 |
object, is now marked as non-constant. Its value may |
| 354 |
now change; however, such changes will not be |
| 355 |
notified using the |
| 356 |
<tt><a href="http://dbus.freedesktop.org/doc/dbus-specification.html#introspection-format">org.freedesktop.DBus.Properties.PropertiesChanged</a></tt> |
| 357 |
signal. Applications should be changed to re-query |
| 358 |
the property when appropriate, and to no longer |
| 359 |
assume that its value is constant.</td> |
| 360 |
</tr> |
| 361 |
|
| 362 |
<tr id="ecs-changed-false-const" class="compatibility-forwards-incompatible"> |
| 363 |
<th>ecs-changed-false-const</th> |
| 364 |
<td>forwards-incompatible</td> |
| 365 |
<td>A D-Bus property which was previously marked as |
| 366 |
non-constant, is now marked as constant, with a |
| 367 |
value which cannot change throughout the lifetime |
| 368 |
of the containing D-Bus object. The property will |
| 369 |
continue to <em>not</em> be notified through the |
| 370 |
<tt><a href="http://dbus.freedesktop.org/doc/dbus-specification.html#introspection-format">org.freedesktop.DBus.Properties.PropertiesChanged</a></tt> |
| 371 |
signal. Applications may be changed to assume the |
| 372 |
property’s value is constant, and hence no longer |
| 373 |
need to re-query its value after the initial |
| 374 |
query.</td> |
| 375 |
</tr> |
| 376 |
|
| 377 |
<tr id="interface-added" class="compatibility-forwards-incompatible"> |
| 378 |
<th>interface-added</th> |
| 379 |
<td>forwards-incompatible</td> |
| 380 |
<td>A new D-Bus interface was added to the API, and can |
| 381 |
now be used in applications. You must bump your |
| 382 |
application’s dependency on the D-Bus API version, |
| 383 |
or check that the new interface is implemented at |
| 384 |
runtime before using it, otherwise your application |
| 385 |
will not run correctly against older versions of the |
| 386 |
D-Bus service.</td> |
| 387 |
</tr> |
| 388 |
|
| 389 |
<tr id="interface-removed" class="compatibility-backwards-incompatible"> |
| 390 |
<th>interface-removed</th> |
| 391 |
<td>backwards-incompatible</td> |
| 392 |
<td>A D-Bus interface was removed from the API, and can |
| 393 |
no longer be used in applications. This is a |
| 394 |
backwards-incompatible change, and all applications |
| 395 |
which were using that interface must be ported away |
| 396 |
from it, or have runtime version checks added so |
| 397 |
they only use the interface when the D-Bus service |
| 398 |
implements it at runtime.</td> |
| 399 |
</tr> |
| 400 |
|
| 401 |
<tr id="method-added" class="compatibility-forwards-incompatible"> |
| 402 |
<th>method-added</th> |
| 403 |
<td>forwards-incompatible</td> |
| 404 |
<td>A new method was added to a D-Bus interface in the |
| 405 |
API, and can now be used in applications. You must |
| 406 |
bump your application’s dependency on the D-Bus API |
| 407 |
version, or check that the new method is available |
| 408 |
at runtime before using it, otherwise your |
| 409 |
application will not run correctly against older |
| 410 |
versions of the D-Bus service.</td> |
| 411 |
</tr> |
| 412 |
|
| 413 |
<tr id="method-removed" class="compatibility-backwards-incompatible"> |
| 414 |
<th>method-removed</th> |
| 415 |
<td>backwards-incompatible</td> |
| 416 |
<td>A method was removed from a D-Bus interface in the |
| 417 |
API, and can no longer be used in applications. This |
| 418 |
is a backwards-incompatible change, and all |
| 419 |
applications which were using that method must be |
| 420 |
ported away from it, or have runtime version checks |
| 421 |
added so they only use the method when the D-Bus |
| 422 |
service implements it at runtime.</td> |
| 423 |
</tr> |
| 424 |
|
| 425 |
<tr class="compatibility-forwards-incompatible"> |
| 426 |
<th>property-access-changed-read-readwrite, |
| 427 |
property-access-changed-write-readwrite</th> |
| 428 |
<!-- Other codes this goes by: --> |
| 429 |
<a id="property-access-changed-read-readwrite"/> |
| 430 |
<a id="property-access-changed-write-readwrite"/> |
| 431 |
<td>forwards-incompatible</td> |
| 432 |
<td>A property changed access flags from ‘read’ or |
| 433 |
‘write’ to ‘readwrite’, making it less restrictive. |
| 434 |
Applications may now get <em>and</em> set the |
| 435 |
property, which was not possible before. This is a |
| 436 |
forwards-incompatible change, so any applications |
| 437 |
which start using the lessened restrictions should |
| 438 |
gracefully handle failure to use them, so that |
| 439 |
they continue to work with older versions of the |
| 440 |
D-Bus service.</td> |
| 441 |
</tr> |
| 442 |
|
| 443 |
<tr class="compatibility-backwards-incompatible"> |
| 444 |
<th>property-access-changed-read-write, |
| 445 |
property-access-changed-write-read, |
| 446 |
property-access-changed-readwrite-read, |
| 447 |
property-access-changed-readwrite-write</th> |
| 448 |
<!-- Other codes this goes by: --> |
| 449 |
<a id="property-access-changed-read-write"/> |
| 450 |
<a id="property-access-changed-write-read"/> |
| 451 |
<a id="property-access-changed-readwrite-read"/> |
| 452 |
<a id="property-access-changed-readwrite-write"/> |
| 453 |
<td>backwards-incompatible</td> |
| 454 |
<td>A property changed access flags to be more |
| 455 |
restrictive. This is a backwards incompatible |
| 456 |
change, and applications will need to be changed to |
| 457 |
stop accessing the property how they were before, or |
| 458 |
to gracefully handle failure of set or get calls on |
| 459 |
the property.</td> |
| 460 |
</tr> |
| 461 |
|
| 462 |
<tr id="property-added" class="compatibility-forwards-incompatible"> |
| 463 |
<th>property-added</th> |
| 464 |
<td>forwards-incompatible</td> |
| 465 |
<td>A new property was added to a D-Bus interface in the |
| 466 |
API, and can now be used in applications. You must |
| 467 |
bump your application’s dependency on the D-Bus API |
| 468 |
version, or check that the new property is available |
| 469 |
at runtime before using it, otherwise your |
| 470 |
application will not run correctly against older |
| 471 |
versions of the D-Bus service.</td> |
| 472 |
</tr> |
| 473 |
|
| 474 |
<tr id="property-removed" class="compatibility-backwards-incompatible"> |
| 475 |
<th>property-removed</th> |
| 476 |
<td>backwards-incompatible</td> |
| 477 |
<td>A property was removed from a D-Bus interface in the |
| 478 |
API, and can no longer be used in applications. This |
| 479 |
is a backwards-incompatible change, and all |
| 480 |
applications which were using that property must be |
| 481 |
ported away from it, or have runtime version checks |
| 482 |
added so they only use the property when the D-Bus |
| 483 |
service implements it at runtime.</td> |
| 484 |
</tr> |
| 485 |
|
| 486 |
<tr id="property-type-changed" class="compatibility-backwards-incompatible"> |
| 487 |
<th>property-type-changed</th> |
| 488 |
<td>backwards-incompatible</td> |
| 489 |
<td>A property changed type. This is backwards |
| 490 |
incompatible as all existing set and get sites need |
| 491 |
to be changed to use the new type.</td> |
| 492 |
</tr> |
| 493 |
|
| 494 |
<tr id="reply-added" class="compatibility-backwards-incompatible"> |
| 495 |
<th>reply-added</th> |
| 496 |
<td>backwards-incompatible</td> |
| 497 |
<td>A D-Bus method which was previously marked as not |
| 498 |
returning a reply will now return a reply. All call |
| 499 |
sites using the method should be modified to |
| 500 |
asynchronously wait for a reply and handle any |
| 501 |
errors or return values it provides. This may be |
| 502 |
coupled with a change in the method’s type to add |
| 503 |
new ‘out’ arguments |
| 504 |
(<tt><a href="#argument-added">argument-added</a></tt>), |
| 505 |
which should be handled as appropriate.</td> |
| 506 |
</tr> |
| 507 |
|
| 508 |
<tr id="reply-removed" class="compatibility-backwards-incompatible"> |
| 509 |
<th>reply-removed</th> |
| 510 |
<td>backwards-incompatible</td> |
| 511 |
<td>A D-Bus method which was previously marked as |
| 512 |
returning a reply will now not return a reply. All |
| 513 |
call sites using the method should be modified to |
| 514 |
not wait for a reply, and any code which handles |
| 515 |
errors or return values can be removed. This may be |
| 516 |
coupled with a change in the method’s type to remove |
| 517 |
‘out’ arguments |
| 518 |
(<tt><a href="#argument-removed">argument-removed</a></tt>), |
| 519 |
support for which should be removed as |
| 520 |
appropriate.</td> |
| 521 |
</tr> |
| 522 |
|
| 523 |
<tr id="signal-added" class="compatibility-forwards-incompatible"> |
| 524 |
<th>signal-added</th> |
| 525 |
<td>forwards-incompatible</td> |
| 526 |
<td>A new signal was added to a D-Bus interface in the |
| 527 |
API, and can now be connected to in applications. |
| 528 |
You must bump your application’s dependency on the |
| 529 |
D-Bus API version, or check that the new signal is |
| 530 |
available at runtime before connecting to it, |
| 531 |
otherwise your application will not run correctly |
| 532 |
against older versions of the D-Bus service.</td> |
| 533 |
</tr> |
| 534 |
|
| 535 |
<tr id="signal-removed" class="compatibility-backwards-incompatible"> |
| 536 |
<th>signal-removed</th> |
| 537 |
<td>backwards-incompatible</td> |
| 538 |
<td>A signal was removed from a D-Bus interface in the |
| 539 |
API, and can no longer be used in applications. This |
| 540 |
is a backwards-incompatible change, and all |
| 541 |
applications which were connecting to that signal |
| 542 |
must be ported away from it, or have runtime version |
| 543 |
checks added so they only connect to the signal when |
| 544 |
the D-Bus service implements it at runtime.</td> |
| 545 |
</tr> |
| 546 |
|
| 547 |
<tr id="undeprecated" class="compatibility-info"> |
| 548 |
<th>undeprecated</th> |
| 549 |
<td>info</td> |
| 550 |
<td>A D-Bus API which was previously marked as |
| 551 |
deprecated using the |
| 552 |
<tt><a href="http://dbus.freedesktop.org/doc/dbus-specification.html#introspection-format">org.freedesktop.DBus.Deprecated</a></tt> annotation |
| 553 |
is no longer marked as deprecated. You may start |
| 554 |
using it in applications again, although you should |
| 555 |
check whether the un-deprecation was intentional |
| 556 |
first.</td> |
| 557 |
</tr> |
| 558 |
</tbody> |
| 559 |
</table> |
| 560 |
|
| 561 |
<h2 id="bugs">Bugs and problems</h2> |
| 562 |
|
| 563 |
<p>If you have found a bug on this page, have found missing documentation, or |
| 564 |
if some of the documentation is unclear, please |
| 565 |
<a href="./index.html#bugs">file a bug</a>.</p> |
| 566 |
|
| 567 |
</body> |
| 568 |
</html> |