/usr/share/doc/python-dbus-doc/NEWS.html is in python-dbus-doc 1.2.6-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 | <?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.14: http://docutils.sourceforge.net/" />
<title>NEWS</title>
<style type="text/css">
/*
:Author: David Goodger (goodger@python.org)
:Id: $Id: html4css1.css 7952 2016-07-26 18:15:59Z milde $
:Copyright: This stylesheet has been placed in the public domain.
Default cascading style sheet for the HTML output of Docutils.
See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
customize this style sheet.
*/
/* used to remove borders from tables and images */
.borderless, table.borderless td, table.borderless th {
border: 0 }
table.borderless td, table.borderless th {
/* Override padding for "table.docutils td" with "! important".
The right padding separates the table cells. */
padding: 0 0.5em 0 0 ! important }
.first {
/* Override more specific margin styles with "! important". */
margin-top: 0 ! important }
.last, .with-subtitle {
margin-bottom: 0 ! important }
.hidden {
display: none }
.subscript {
vertical-align: sub;
font-size: smaller }
.superscript {
vertical-align: super;
font-size: smaller }
a.toc-backref {
text-decoration: none ;
color: black }
blockquote.epigraph {
margin: 2em 5em ; }
dl.docutils dd {
margin-bottom: 0.5em }
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
overflow: hidden;
}
/* Uncomment (and remove this text!) to get bold-faced definition list terms
dl.docutils dt {
font-weight: bold }
*/
div.abstract {
margin: 2em 5em }
div.abstract p.topic-title {
font-weight: bold ;
text-align: center }
div.admonition, div.attention, div.caution, div.danger, div.error,
div.hint, div.important, div.note, div.tip, div.warning {
margin: 2em ;
border: medium outset ;
padding: 1em }
div.admonition p.admonition-title, div.hint p.admonition-title,
div.important p.admonition-title, div.note p.admonition-title,
div.tip p.admonition-title {
font-weight: bold ;
font-family: sans-serif }
div.attention p.admonition-title, div.caution p.admonition-title,
div.danger p.admonition-title, div.error p.admonition-title,
div.warning p.admonition-title, .code .error {
color: red ;
font-weight: bold ;
font-family: sans-serif }
/* Uncomment (and remove this text!) to get reduced vertical space in
compound paragraphs.
div.compound .compound-first, div.compound .compound-middle {
margin-bottom: 0.5em }
div.compound .compound-last, div.compound .compound-middle {
margin-top: 0.5em }
*/
div.dedication {
margin: 2em 5em ;
text-align: center ;
font-style: italic }
div.dedication p.topic-title {
font-weight: bold ;
font-style: normal }
div.figure {
margin-left: 2em ;
margin-right: 2em }
div.footer, div.header {
clear: both;
font-size: smaller }
div.line-block {
display: block ;
margin-top: 1em ;
margin-bottom: 1em }
div.line-block div.line-block {
margin-top: 0 ;
margin-bottom: 0 ;
margin-left: 1.5em }
div.sidebar {
margin: 0 0 0.5em 1em ;
border: medium outset ;
padding: 1em ;
background-color: #ffffee ;
width: 40% ;
float: right ;
clear: right }
div.sidebar p.rubric {
font-family: sans-serif ;
font-size: medium }
div.system-messages {
margin: 5em }
div.system-messages h1 {
color: red }
div.system-message {
border: medium outset ;
padding: 1em }
div.system-message p.system-message-title {
color: red ;
font-weight: bold }
div.topic {
margin: 2em }
h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
margin-top: 0.4em }
h1.title {
text-align: center }
h2.subtitle {
text-align: center }
hr.docutils {
width: 75% }
img.align-left, .figure.align-left, object.align-left, table.align-left {
clear: left ;
float: left ;
margin-right: 1em }
img.align-right, .figure.align-right, object.align-right, table.align-right {
clear: right ;
float: right ;
margin-left: 1em }
img.align-center, .figure.align-center, object.align-center {
display: block;
margin-left: auto;
margin-right: auto;
}
table.align-center {
margin-left: auto;
margin-right: auto;
}
.align-left {
text-align: left }
.align-center {
clear: both ;
text-align: center }
.align-right {
text-align: right }
/* reset inner alignment in figures */
div.align-right {
text-align: inherit }
/* div.align-center * { */
/* text-align: left } */
.align-top {
vertical-align: top }
.align-middle {
vertical-align: middle }
.align-bottom {
vertical-align: bottom }
ol.simple, ul.simple {
margin-bottom: 1em }
ol.arabic {
list-style: decimal }
ol.loweralpha {
list-style: lower-alpha }
ol.upperalpha {
list-style: upper-alpha }
ol.lowerroman {
list-style: lower-roman }
ol.upperroman {
list-style: upper-roman }
p.attribution {
text-align: right ;
margin-left: 50% }
p.caption {
font-style: italic }
p.credits {
font-style: italic ;
font-size: smaller }
p.label {
white-space: nowrap }
p.rubric {
font-weight: bold ;
font-size: larger ;
color: maroon ;
text-align: center }
p.sidebar-title {
font-family: sans-serif ;
font-weight: bold ;
font-size: larger }
p.sidebar-subtitle {
font-family: sans-serif ;
font-weight: bold }
p.topic-title {
font-weight: bold }
pre.address {
margin-bottom: 0 ;
margin-top: 0 ;
font: inherit }
pre.literal-block, pre.doctest-block, pre.math, pre.code {
margin-left: 2em ;
margin-right: 2em }
pre.code .ln { color: grey; } /* line numbers */
pre.code, code { background-color: #eeeeee }
pre.code .comment, code .comment { color: #5C6576 }
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
pre.code .literal.string, code .literal.string { color: #0C5404 }
pre.code .name.builtin, code .name.builtin { color: #352B84 }
pre.code .deleted, code .deleted { background-color: #DEB0A1}
pre.code .inserted, code .inserted { background-color: #A3D289}
span.classifier {
font-family: sans-serif ;
font-style: oblique }
span.classifier-delimiter {
font-family: sans-serif ;
font-weight: bold }
span.interpreted {
font-family: sans-serif }
span.option {
white-space: nowrap }
span.pre {
white-space: pre }
span.problematic {
color: red }
span.section-subtitle {
/* font-size relative to parent (h1..h6 element) */
font-size: 80% }
table.citation {
border-left: solid 1px gray;
margin-left: 1px }
table.docinfo {
margin: 2em 4em }
table.docutils {
margin-top: 0.5em ;
margin-bottom: 0.5em }
table.footnote {
border-left: solid 1px black;
margin-left: 1px }
table.docutils td, table.docutils th,
table.docinfo td, table.docinfo th {
padding-left: 0.5em ;
padding-right: 0.5em ;
vertical-align: top }
table.docutils th.field-name, table.docinfo th.docinfo-name {
font-weight: bold ;
text-align: left ;
white-space: nowrap ;
padding-left: 0 }
/* "booktabs" style (no vertical lines) */
table.docutils.booktabs {
border: 0px;
border-top: 2px solid;
border-bottom: 2px solid;
border-collapse: collapse;
}
table.docutils.booktabs * {
border: 0px;
}
table.docutils.booktabs th {
border-bottom: thin solid;
text-align: left;
}
h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
font-size: 100% }
ul.auto-toc {
list-style-type: none }
</style>
</head>
<body>
<div class="document">
<div class="section" id="d-bus-python-bindings-1-2-6-2018-01-29">
<h1>D-Bus Python Bindings 1.2.6 (2018-01-29)</h1>
<p>The “doppler radar” release.</p>
<p>Dependencies:</p>
<ul class="simple">
<li>When using Python 2, version 2.7 is now required. Python 2.6 security
support ended in 2013.</li>
<li>When using Python 3, version 3.4 or later is now required.
Python 3.2 security support ended in 2016, and Python 3.3 security
support ended in 2017.</li>
<li>Most unit tests now require the tap.py module from PyPI.</li>
<li>The deprecated dbus-glib library is no longer required. A bundled copy
of its main loop integration code is included instead.</li>
<li>GLib version 2.40 or later is required.</li>
<li>libdbus version 1.8 or later is required.</li>
</ul>
<p>Enhancements:</p>
<ul class="simple">
<li>AX_PYTHON_DEVEL is now used to find the CPPFLAGS, LDFLAGS and libraries
needed to link test-import-repeatedly to libpython, which should reduce
the number of wheels reinvented here.</li>
<li>Remove workarounds for Python 2.6 limitations</li>
<li>All unit tests now produce structured output (TAP)</li>
</ul>
<p>Fixes:</p>
<ul class="simple">
<li>Fix a NULL dereference in constructing a Server if the underlying C
function fails</li>
<li>Silence compiler warnings triggered by the Python headers under gcc 7</li>
<li>Avoid __gtype__ appearing in documentation, for reproducible builds</li>
<li>Rename _dbus_bindings/ and _dbus_glib_bindings/ source directories to
dbus_bindings/ and dbus_glib_bindings/ to avoid an ImportWarning
appearing in the API documentation, which made the documentation build
non-reproducible</li>
</ul>
</div>
<div class="section" id="d-bus-python-bindings-1-2-4-2016-03-06">
<h1>D-Bus Python Bindings 1.2.4 (2016-03-06)</h1>
<p>The “75,000 microchips” release.</p>
<p>Enhancements:</p>
<ul class="simple">
<li>Continous integration metadata for travis-ci.org is now available.
Similar to dbus, this is split into .travis.yml (Travis-specifics)
and tools/ci-build.sh (intended to be useful for any CI framework,
although it does include various workarounds for travis-ci oddities).
(Simon McVittie)</li>
</ul>
<p>Fixes:</p>
<ul class="simple">
<li>Make dbus.version a tuple again, not a list, for consistent sorting.
This was a regression in 1.2.2. (Debian #816729, Simon McVittie)</li>
<li>Use inspect.signature() instead of inspect.getargspec() on Python
versions that have it. inspect.getargspec() is deprecated in recent
Python 3 and seems to have disappeared from 3.6 nightly builds.
(Simon McVittie)</li>
<li>Make the tests pass in "narrow" Python builds where unicode objects
are UTF-16, rather than the UCS-4 used in Linux distributions.
(fd.o #57140, Simon McVittie)</li>
<li>Always include headers in a consistent order (Debian #749133, Simon McVittie)</li>
<li>Include config.h in all C code that we compile. This is necessary
on platforms where it might contain something like "#define _GNU_SOURCE"
or "#define inline __inline".
(Simon McVittie)</li>
</ul>
</div>
<div class="section" id="d-bus-python-bindings-1-2-2-2016-02-22">
<h1>D-Bus Python Bindings 1.2.2 (2016-02-22)</h1>
<p>The “mind fray” release.</p>
<p>Versioning changes:</p>
<ul class="simple">
<li>dbus-python releases now have an even micro version (1.2.0, 1.2.2),
and snapshots from git have an odd micro version (1.2.1).</li>
</ul>
<p>Dependencies:</p>
<ul class="simple">
<li>Building from git (but not from tarballs) now requires
macros from the GNU Autoconf Archive, for example the autoconf-archive
package in Debian or Fedora derivatives.</li>
<li>Building from git (but not from tarballs) now requires Automake 1.13
or later.</li>
<li>The automated tests and some examples now require PyGI (the gi module),
not PyGObject 2 (the deprecated glib and gobject modules).</li>
</ul>
<p>Enhancements:</p>
<ul class="simple">
<li>There is now a setuptools setup.py, allowing dbus-python to be installed
into a virtualenv using pip from a standard Automake source release. This
requires pre-existing system-wide installations of the normal build
dependencies (pkg-config, libdbus, dbus-glib, a C compiler) and has
some limitations. For system-wide installations and development,
please use the Autoconf/Automake build system directly.
(fd.o #55439; Simon McVittie)</li>
<li>dbus-python now uses the common compiler warnings from AX_COMPILER_FLAGS
(Simon McVittie)</li>
<li>The automated tests can now be installed as GNOME-style "installed tests",
and should be somewhat more reliable (Simon McVittie)</li>
</ul>
<p>Fixes:</p>
<ul class="simple">
<li><tt class="docutils literal">from dbus.service import *</tt> now imports FallbackObject
(fd.o #85720; Ben Longbons)</li>
<li>The GConf-related examples work again (fd.o #85720; Ben Longbons)</li>
<li>Consistently make examples executable, and install them all
(fd.o #85720; Ben Longbons)</li>
<li>Search PATH for an appropriately-versioned pythonX.Y-config, or as a last
resort python-config, if there isn't a ${PYTHON}-config in the
same directory as ${PYTHON} (fd.o #92085; Yamashita, Yuu)</li>
<li>Add support for the Automake 1.13 parallel test driver (Simon McVittie)</li>
<li>Skip building API documentation if "import epydoc" fails (Simon McVittie)</li>
</ul>
</div>
<div class="section" id="d-bus-python-bindings-1-2-0-2013-05-07">
<h1>D-Bus Python Bindings 1.2.0 (2013-05-07)</h1>
<p>The "compile like it's 1998" release.</p>
<p>Dependencies:</p>
<ul class="simple">
<li>libdbus 1.6 or later is now required.</li>
</ul>
<p>Enhancements:</p>
<ul class="simple">
<li>Unicode Corrigendum 9: when used with a suitable version of libdbus
(1.6.10 or later, or 1.7.2 or later), noncharacters in strings are
now accepted</li>
</ul>
<p>Fixes:</p>
<ul class="simple">
<li>Support DBusException('something with non—ASCII') under Python 2
(Michael Vogt, smcv; fd.o #55899)</li>
<li>Correct some misleading wording in COPYING which was written under the
assumption that libdbus could actually be relicensed to MIT/X11
(Thiago Macieira)</li>
<li>Avoid variable-length arrays, because MSVC++ is still stuck in 1998
(based on patches from Christoph Höger, fd.o #51725)</li>
<li>Remove unnecessary uses of stdint.h (fd.o #51725)</li>
<li>Add support for Unix compilers not supporting 'inline', for completeness</li>
<li>Use GObject.__class__ instead of GObjectMeta, which can no longer be
imported from gi.repository.GObject in pygobject 3.8</li>
<li>Fix autoreconfiscation on Automake 1.13 (Marko Lindqvist, fd.o #59006)</li>
</ul>
</div>
<div class="section" id="d-bus-python-bindings-1-1-1-2012-06-25">
<h1>D-Bus Python Bindings 1.1.1 (2012-06-25)</h1>
<p>The "Lemonade Sky" release.</p>
<p>Dependencies:</p>
<ul class="simple">
<li>libdbus 1.6 or later is now recommended. It is not strictly required yet.</li>
</ul>
<p>Fixes:</p>
<ul class="simple">
<li>Validate UTF-8 according to the rules libdbus uses, falling back to our
own (inefficient) implementation if not compiled against dbus >= 1.6
(fd.o #40817)</li>
<li>Under Python 3, in the absence of introspection or signature='...',
pass dbus.ObjectPath or dbus.Signature arguments with the obvious
signature 'o' or 'g', not 's'. This previously only worked in Python 2.
(fd.o #50740)</li>
</ul>
</div>
<div class="section" id="d-bus-python-bindings-1-1-0-2012-05-09">
<h1>D-Bus Python Bindings 1.1.0 (2012-05-09)</h1>
<p>The “eaten by spiders” release.</p>
<p>Deprecations:</p>
<ul class="simple">
<li>dbus.gobject_service is deprecated. Use dbus.gi_service and PyGI in new code.</li>
</ul>
<p>API changes:</p>
<ul class="simple">
<li>dbus.gobject_service works in legacy PyGObject 2 applications again,
like it did before 1.0. The down side is that it doesn't work in all PyGI
applications any more, unlike 1.0. In PyGI applications, depend on
dbus-python >= 1.1 and use dbus.gi_service instead - its API is the same.
(fd.o #48904, Debian #670516)</li>
<li>dbus.gobject_service has been removed from Python 3 builds altogether.</li>
</ul>
<p>Enhancements:</p>
<ul class="simple">
<li>Use DBusBasicValue from libdbus 1.5, if available, rather than reinventing it</li>
</ul>
<p>Fixes:</p>
<ul class="simple">
<li>Put sockets for the regression tests in /tmp, not the builddir, fixing
test failures in a really long builddir (fd.o #46747)</li>
<li>Fix a reference leak in dbus_py_variant_level_set (fd.o #47108)</li>
<li>Modify AM_CHECK_PYTHON_HEADERS so the "another way" works with Python 3</li>
</ul>
</div>
<div class="section" id="d-bus-python-bindings-1-0-0-2012-01-24">
<h1>D-Bus Python Bindings 1.0.0 (2012-01-24)</h1>
<p>The "never trust a .0 release?" release.</p>
<p>Dependencies:</p>
<ul class="simple">
<li>libdbus 1.4 or later is now required.</li>
<li>Python 2.6 or later is now required. If Python 3 is used, it must be
version 3.2 or later.</li>
<li>GNU make (or, at your own risk, another make with the GNU $(patsubst)
extension) is now required.</li>
</ul>
<p>API changes:</p>
<ul class="simple">
<li>dbus_bindings, which was never meant to be public API and has been
deprecated for nearly 5 years, has finally been removed.</li>
<li>The repr() of every dbus-python object is now unicode.</li>
<li>The Python 3 API is not the same as the Python 2 API; see PY3PORT.rst
for details.</li>
</ul>
<ul class="simple">
<li>dbus.gobject_service uses PyGI, not PyGObject. (This was not meant to be
an incompatible change, but unfortunately, it was. It was reverted in 1.1.0.)</li>
</ul>
<p>Enhancements:</p>
<ul class="simple">
<li>Python 3 compatibility (fd.o #26420, Barry Warsaw)</li>
<li>MethodCallMessage and SignalMessage now have a more useful repr()
(Barry Warsaw)</li>
</ul>
<p>Fixes:</p>
<ul class="simple">
<li>OOM while appending a unicode object to a message no longer leaks a string
(Barry Warsaw)</li>
<li>If libdbus somehow gives us invalid UTF-8, don't crash (Barry Warsaw)</li>
<li>Fix rst2html failure in non-UTF-8 locales (Alexandre Rostovtsev)</li>
</ul>
</div>
<div class="section" id="d-bus-python-bindings-0-84-0-2011-05-25">
<h1>D-Bus Python Bindings 0.84.0 (2011-05-25)</h1>
<p>The "Comrade Bill Bartram's Egalitarian Anti-Imperialist Soviet Stout" release.</p>
<p>Enhancements:</p>
<ul class="simple">
<li>fd.o #30812: add the UnixFd type, and support Unix fd passing if
compiled against a new enough libdbus (Elvis Pfützenreuter)</li>
<li>fd.o #34342: add Connection.set_allow_anonymous(bool) (Scott Tsai)</li>
<li>fd.o #21017: add configure arguments PYTHON_INCLUDES and PYTHON_LIBS which
can be used to override $PYTHON-config (Simon McVittie, based on a patch from
Robert Schwebel)</li>
</ul>
<p>Fixes:</p>
<ul class="simple">
<li>fd.o #35626: clear ProxyObject's pending introspection queue after
execution (Scott Tsai)</li>
<li>fd.o #22560: remove duplicate code from example-async-client (Simon McVittie)</li>
<li>fd.o #36206: allow signature='x' among ProxyObject method arguments
(Simon McVittie)</li>
</ul>
</div>
<div class="section" id="d-bus-python-bindings-0-83-2-2010-12-02">
<h1>D-Bus Python Bindings 0.83.2 (2010-12-02)</h1>
<p>Dependencies:</p>
<ul class="simple">
<li>libdbus 1.2 is still supported, but libdbus >= 1.4 is recommended.</li>
</ul>
<p>Fixes:</p>
<ul class="simple">
<li>Make BusConnection.list_activatable_names actually call ListActivatableNames,
not ListNames (Johan Sandelin)</li>
<li>Don't override CFLAGS when adding compiler warnings
(Louis-Francis Ratté-Boulianne)</li>
<li>Fix compilation on platforms where Py_ssize_t is larger than int, like x86-64
(Elvis Pfützenreuter)</li>
<li>fd.o #21831: deserialize empty byte arrays with byte_arrays=True as
ByteArray(''), not ByteArray('None') (Simon McVittie)</li>
<li>fd.o #23278, #25105: fix crashes when trying to append more struct entries
than the signature allows with libdbus 1.4 (Simon McVittie)</li>
<li>fd.o #23831: fix crashes when an embedded Python interpreter imports dbus,
is finalized, is re-initialized, and re-imports dbus (Simon McVittie)</li>
</ul>
</div>
<div class="section" id="d-bus-python-bindings-0-83-1-2010-02-18">
<h1>D-Bus Python Bindings 0.83.1 (2010-02-18)</h1>
<p>Fixes:</p>
<ul class="simple">
<li>fd.o #21172: avoid some deprecation warnings in Python 2.6</li>
<li>fd.o #15013: add dbus.lowlevel.MESSAGE_TYPE_SIGNAL etc., for those who care
about message types at a low level</li>
<li>When removing signal matches, clean up internal state, avoiding a memory
leak in long-lived Python processes that connect to signals from arbitrarily
many object paths (fd.o #17551, thanks to Marco Pesenti Gritti)</li>
<li>When setting the sender of a message, allow it to be org.freedesktop.DBus
so you can implement a D-Bus daemon in pure Python (patch from Huang Peng)</li>
</ul>
</div>
<div class="section" id="d-bus-python-bindings-0-83-0-2008-07-23">
<h1>D-Bus Python Bindings 0.83.0 (2008-07-23)</h1>
<p>Features:</p>
<ul class="simple">
<li>Add bindings for DBusServer (thanks to Mathias Hasselmann, Huang Peng;
fd.o #14322, #15514).</li>
<li>Omit the service's traceback from certain D-Bus errors: specifically, those
that were probably deliberately raised as part of an API. Subclasses
of DBusException that indicate programmer error can turn the traceback
back on if it seems likely to be useful.</li>
</ul>
<p>Fixes:</p>
<ul class="simple">
<li>Don't emit spurious Error messages if libdbus gives object-path handlers
a message that isn't a method call (most likely because of binding to a
locally emitted signal, as in fd.o #14199).</li>
<li>Make multiple filters added by Connection.add_message_filter work
(fd.o #15547, thanks to Huang Peng).</li>
<li>Make the API docs build correctly when out-of-tree</li>
<li>Require dbus 1.0 so we can get rid of DBUS_API_SUBJECT_TO_CHANGE</li>
</ul>
</div>
<div class="section" id="d-bus-python-bindings-0-82-4-2007-12-10">
<h1>D-Bus Python Bindings 0.82.4 (2007-12-10)</h1>
<p>Fixes:</p>
<ul class="simple">
<li>supplying reply_handler but not error_handler raises
MissingReplyHandlerException instead of MissingErrorHandlerException,
and vice versa (fd.o #12304, patch from René Neumann)</li>
<li>Using non-recursive make for dbus/ directory should fix builds in some
environments (fd.o #12741)</li>
</ul>
<p>Licensing:</p>
<ul class="simple">
<li>Everything is now under the same MIT/X11 license used for Collabora code in
the previous release</li>
<li>Added copyright headers to some files that were still missing them</li>
</ul>
</div>
<div class="section" id="d-bus-python-bindings-0-82-3-2007-09-27">
<h1>D-Bus Python Bindings 0.82.3 (2007-09-27)</h1>
<p>Fixes:</p>
<ul class="simple">
<li>Out-of-tree builds with an absolute $(srcdir) can now build docs and run tests</li>
<li>Closing private dbus.Bus no longer raises KeyError (fd.o #12096)</li>
<li>async_err_cb(MyException()) now works (fd.o #12403)</li>
<li>dbus.service.Object.remove_from_connection no longer claims that multiple
exports aren't possible (fd.o #12432)</li>
<li>Setting _dbus_error_name as a class attribute of DBusException subclasses
works again</li>
</ul>
<p>Deprecations:</p>
<ul class="simple">
<li>dbus.Bus(private=True) (use dbus.bus.BusConnection in new code, dbus.Bus
basically just adds the shared-connection behaviour)</li>
</ul>
<p>Licensing:</p>
<ul class="simple">
<li>Code for which Collabora is the only copyright holder is now under the
same permissive MIT/X11 license under which dbus core is being relicensed
(this allows everything the old license would have allowed, and more)</li>
</ul>
</div>
<div class="section" id="d-bus-python-bindings-0-82-2-2007-08-01">
<h1>D-Bus Python Bindings 0.82.2 (2007-08-01)</h1>
<p>Incompatibility with 0.82.1:</p>
<ul>
<li><p class="first">If you pass the timeout argument to call_async or an asynchronous proxy
method call and expect it to be in milliseconds, you should change the
argument to be in seconds, and require dbus-python >= 0.82.2.</p>
<p>This feature didn't work at all in versions prior to 0.82.1, so any code
that works with 0.82.0 or earlier is unaffected.</p>
</li>
</ul>
<p>Features:</p>
<ul class="simple">
<li>@dbus.service.method supports a rel_path_keyword argument for the benefit
of fallback objects, which provides the method implementation with the path
of the object within the exported subtree. For instance, if you have a
fallback object exported at /Fallback, and you call a method that has
rel_path_keyword='rel_path' on /Fallback and on /Fallback/Some/Where, the
method implementation will be called with rel_path='/' and with
rel_path='/Some/Where' respectively. (fd.o #11623)</li>
<li>If you have epydoc version 3 (currently in beta), API documention is now
generated by default.</li>
</ul>
<p>Fixes:</p>
<ul class="simple">
<li>As mentioned under "Incompatibilities" above, Connection.call_async()
measures timeouts in seconds, as was always intended.
This means that calls through a proxy object with a reply_handler and
error_handler will measure the timeout in seconds too.</li>
<li>Introspect() now works on objects exported in more than one location.
(fd.o #11794)</li>
<li>Building against Python 2.4 on non-Debian-derived distributions, or a
non-default Python version on Gentoo, should work again (revenge
of fd.o #11282, thanks Eyal Ben David).</li>
</ul>
</div>
<div class="section" id="d-bus-python-bindings-0-82-1-2007-07-11">
<h1>D-Bus Python Bindings 0.82.1 (2007-07-11)</h1>
<p>The "double precision" release.</p>
<p>Fixes:</p>
<ul class="simple">
<li>Parse the timeout correctly in send_message_with_reply() and
send_message_with_reply_and_block(), fixing the use of non-default timeouts
(bugs.fd.o #11489)</li>
<li>The tutorial no longer uses interactive-Python syntax, as it confused users.
(bugs.fd.o #11209)</li>
<li>When making a call via a proxy object with ignore_reply=True, also get the
necessary introspection data asynchronously. This can avoid deadlocks in
some cases, such as calling methods in the same process (though this is not
recommended, for efficiency and sanity reasons).</li>
<li>dbus.lowlevel exposes enough constants to write correct filter functions.</li>
<li>We don't use dbus_watch_get_fd() (deprecated in libdbus) unless our libdbus
is too old to have the modern replacement, dbus_watch_get_unix_fd().</li>
</ul>
<p>Deprecations:</p>
<ul class="simple">
<li>Omitting the bus argument in the BusName constructor is deprecated.
The fact that it uses the globally shared connection to the session bus by
default is uncomfortably subtle.</li>
</ul>
</div>
<div class="section" id="d-bus-python-bindings-0-82-0-2007-06-19">
<h1>D-Bus Python Bindings 0.82.0 (2007-06-19)</h1>
<p>Features:</p>
<ul class="simple">
<li>dbus.service.Object can start off with no Connection or object path, and
become exported later. If suitable class attributes are set, objects can
even be exported on multiple connections, or with multiple object-paths,
or both.</li>
<li>dbus.service.FallbackObject implements a whole subtree of object-path space
(fd.o #9295).</li>
<li><tt class="docutils literal">@method</tt> accepts a parameter <tt class="docutils literal">connection_keyword</tt> so methods can find
out which connection to use for any follow-up actions.</li>
<li><tt class="docutils literal">@signal</tt> has a new parameter <tt class="docutils literal">rel_path_keyword</tt> which gets the path at
which to emit the signal, relative to the path of the FallbackObject.
<tt class="docutils literal">path_keyword</tt> is now deprecated, and will raise an exception if used
on an object with <tt class="docutils literal">SUPPORTS_MULTIPLE_OBJECT_PATHS</tt>, including any
<tt class="docutils literal">FallbackObject</tt>.</li>
</ul>
<p>Fixes:</p>
<ul class="simple">
<li>In watch_name_owner, only the desired name is watched!</li>
<li>When cleaning up signal matches, errors are ignored. This avoids using up
scarce pending-call allowance on dbus-daemon < 1.1, and emitting error
messages if we get disconnected.</li>
<li>Signal handlers which are bound to a unique name are automatically
disconnected when the unique name goes away, reducing the likelihood that
applications will leak signal matches.</li>
<li>Some corrections were made to the tutorial (@service and @method take a
parameter dbus_interface, not just interface; fd.o #11209).</li>
<li>${PYTHON}-config is used to get the Python include path (patch from
Sebastien Bacher/Ubuntu, fd.o #11282).</li>
</ul>
</div>
<div class="section" id="d-bus-python-bindings-0-81-1-4-june-2007">
<h1>D-Bus Python Bindings 0.81.1 (4 June 2007)</h1>
<p>Features:</p>
<ul class="simple">
<li>When an Error message on the bus is represented as a DBusException, the
error name is copied into the exception and can be retrieved by
get_dbus_name(). Exception handlers should use this instead of looking at
the stringified form of the exception, unless backwards compatibility
is needed.</li>
<li>DBusException objects now get all arguments from the Error message, not
just the first (although there will usually only be one). Use the 'args'
attribute if you need to retrieve them.</li>
<li>The Connection, BusConnection and Bus classes have a method
list_exported_child_objects(path: str) -> list of str, which wraps
dbus_connection_list_registered()</li>
<li>You can remove objects from D-Bus before they become unreferenced, by
using dbus.service.Object.remove_from_connection()
(<a class="reference external" href="https://bugs.freedesktop.org/show_bug.cgi?id=10457">https://bugs.freedesktop.org/show_bug.cgi?id=10457</a>)</li>
</ul>
<p>Bug fixes:</p>
<ul class="simple">
<li>Don't deadlock when removing a signal match that tracks name-owner changes.
(<a class="reference external" href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=426412">http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=426412</a>)</li>
<li>Include child nodes in introspection using list_exported_child_objects()</li>
</ul>
</div>
<div class="section" id="d-bus-python-bindings-0-81-0-9-may-2007">
<h1>D-Bus Python Bindings 0.81.0 (9 May 2007)</h1>
<div class="section" id="the-series-of-tubes-release">
<h2>The 'series of tubes' release</h2>
<p>This is a feature release with support for non-bus-daemon connections
and improved GObject integration.</p>
<p>Features:</p>
<ul class="simple">
<li>Bus has a superclass dbus.bus.BusConnection (a connection to a bus daemon,
but without the shared-connection semantics or any deprecated API)
for the benefit of those wanting to subclass bus daemon connections</li>
<li>BusConnection has a superclass dbus.connection.Connection (a
connection without a bus daemon) for use in peer-to-peer situations,
or distributed pseudo-bus situations without a bus daemon such as
Telepathy's Tubes API</li>
<li>dbus.gobject_service.ExportedGObject is like dbus.service.Object, but
is also a subclass of GObject (with the necessary metaclass magic to
make this work). Until someone has verified that the GObject side of
things works as expected too, I consider this API to be potentially
subject to change!</li>
<li>Connection and BusConnection have gained a number of useful methods,
including watch_name_owner (track name owner changes asynchronously,
avoiding race conditions), call_blocking and call_async (blocking and
asynchronous method calls without going via a proxy - note that these
are semi-low-level interfaces which don't do introspection), and
list_names, list_activatable_names and get_name_owner which are
simple wrappers for the corresponding org.freedesktop.DBus methods</li>
<li>dbus.Interface (now also available at dbus.proxies.Interface)
and dbus.proxies.ProxyObject now have some reasonably obvious properties.</li>
</ul>
<p>Deprecations:</p>
<ul class="simple">
<li>All keyword arguments called named_service are deprecated in favour of an
argument called bus_name (to be compatible with both older and newer
dbus-python, you should pass these positional arguments).</li>
<li>The bus keyword argument to dbus.proxies.ProxyObject is deprecated in
favour of an argument called conn, because proxies will work on non-bus
connections now (again, for maximum compatibility you should use a
positional argument for this).</li>
<li>No warning is raised for this, but I consider calling any remote method
on a ProxyObject or Interface whose name is either alllowercase or
lower_case_with_underscores to be deprecated, and reserve the right
to add properties or methods of this form in future releases - use
ProxyObject.get_dbus_method if you must call a remote method named in
this way. Methods named following TheUsualDBusConvention or
theJavaConvention are safe.</li>
</ul>
<p>Bugfixes:</p>
<ul class="simple">
<li>Exceptions in signal handlers print a stack trace to stderr (this can
be redirected elsewhere with Python's logging framework). Partially
addresses fd.o #9980.</li>
<li>The reserved local interface and object path are properly checked for.</li>
<li>When you return a tuple that is not a Struct from a method with no
out_signature, it's interpreted as multiple return values, not a
single Struct (closes fd.o #10174).</li>
<li>If send_with_reply() returns TRUE but with pending call NULL, dbus-python
no longer crashes. This can happen when unexpectedly disconnected.</li>
<li>Arguments are not examined for functions declared METH_NOARGS (this is
unnecessary and can cause a crash).</li>
</ul>
<p>Other notable changes:</p>
<ul class="simple">
<li>dbus-python uses the standard Python logging framework throughout.
The first time a WARNING or ERROR is generated, it will configure the
logging framework to output to stderr, unless you have already
configured logging in your application.</li>
<li>The tutorial now advocates the use of add_signal_receiver if all you
want to do is listen for signals: this avoids undesired activation,
e.g. of Listen or Rhythmbox (!). Addresses fd.o #10743, fd.o #10568.</li>
</ul>
</div>
</div>
<div class="section" id="d-bus-python-bindings-0-80-2-13-february-2007">
<h1>D-Bus Python Bindings 0.80.2 (13 February 2007)</h1>
<ul class="simple">
<li>Fix numerous memory and reference leaks</li>
<li>Only use -Werror if the user specifically asks for it</li>
<li>Audit tp_dealloc callbacks to make sure they correctly preserve the
exception state</li>
<li>Relicense files solely owned by Collabora Ltd. more permissively (LGPL/AFL
rather than GPL/AFL) - this includes the tutorial and all the C code</li>
</ul>
</div>
<div class="section" id="d-bus-python-bindings-0-80-1-24-january-2007">
<h1>D-Bus Python Bindings 0.80.1 (24 January 2007)</h1>
<ul class="simple">
<li>The "oops" release</li>
<li>Install dbus/_version.py, so dbus.__version__ exists again</li>
</ul>
</div>
<div class="section" id="d-bus-python-bindings-0-80-0-24-january-2007">
<h1>D-Bus Python Bindings 0.80.0 (24 January 2007)</h1>
<ul class="simple">
<li>The "everything changes" release</li>
<li>Rewrite dbus_bindings (Pyrex) as _dbus_bindings (C) - API changes!</li>
<li>Define what's public API</li>
<li>Move low-level but still public API to dbus.lowlevel</li>
<li>Remove Variant class, add variant_level property on all D-Bus types</li>
<li>Make signal matching keep working as expected when name ownership changes</li>
<li>Use unambiguous D-Bus types when transferring from D-Bus to Python</li>
<li>Follow well-defined rules when transferring from Python to D-Bus</li>
<li>Add utf8_strings and byte_arrays options in various places, so a user
can tweak the calling conventions to be more efficient</li>
<li>Raise RuntimeError if user tries to use a connection with no main loop
to do something that won't work without one</li>
<li>Make asynchronous method calls actually asynchronous when made before
introspection results come back</li>
<li>Redo main loop machinery so we can add pure-Python main loops later without
API breakage</li>
<li>Allow construction of a dbus.service.Object if you don't have a BusName
(or even a Bus)</li>
<li>Port introspection XML parser from libxml2 (external package) to expat
(included with Python)</li>
<li>Port build system from distutils to autoconf/automake/libtool</li>
<li>Install a header file for third-party main loop integration</li>
<li>Make compatible with Python 2.5, including on 64-bit platforms</li>
<li>Add docstrings throughout</li>
<li>Add more tests and examples</li>
<li>Add interoperability tests (which interoperate with Java)</li>
<li>Add copyright notices!</li>
</ul>
</div>
<div class="section" id="d-bus-python-bindings-0-71-24-july-2006">
<h1>D-Bus Python Bindings 0.71 (24 July 2006)</h1>
<ul class="simple">
<li>Binary modules are now installed in the correct directory</li>
<li>Distutils exports the dbus and dbus-glib cflags</li>
</ul>
</div>
<div class="section" id="d-bus-python-bindings-0-70-17-july-2006">
<h1>D-Bus Python Bindings 0.70 (17 July 2006)</h1>
<ul class="simple">
<li>First release of bindings split</li>
<li>Move to a distutils build enviornment</li>
<li>It is possible to now specify sender_keyword="foo", path_keyword="bar" when
adding a signal listener</li>
</ul>
</div>
</div>
</body>
</html>
|