dbus-python 0.82.2
Simon McVittie
simon.mcvittie at collabora.co.uk
Wed Aug 1 13:49:10 PDT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
(This version of dbus-python has a small incompatibility with 0.82.1, see
below. Anything which worked with 0.82.0 or earlier should be
unaffected. OLPC developers: please don't integrate this until after Trial-2.)
http://dbus.freedesktop.org/releases/dbus-python/dbus-python-0.82.2.tar.gz
http://dbus.freedesktop.org/releases/dbus-python/dbus-python-0.82.2.tar.gz.asc
D-Bus Python Bindings 0.82.2 (2007-08-01)
=========================================
Incompatibility with 0.82.1:
* 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.
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.
Features:
* @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)
* If you have epydoc version 3 (currently in beta), API documention is now
generated by default.
Fixes:
* 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.
* Introspect() now works on objects exported in more than one location.
(fd.o #11794)
* 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).
Complete git log since 0.82.1 follows.
Regards,
Simon
commit af16daa9ff5d7217f361d68ce2bfe405f2cbd412
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Wed Aug 1 21:37:02 2007 +0100
Release 0.82.2
NEWS | 2 +-
configure.ac | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
commit f27c16490c23df1b7700904ea20232ef3e4097ae
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Wed Aug 1 20:00:37 2007 +0100
Mention in NEWS that API docs are generated by default
NEWS | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
commit 44471aab0502cfccef6a4fb63f01feeb6bf8732e
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Wed Aug 1 19:59:19 2007 +0100
Reorganise README to reflect that API docs are generated by default
README | 31 +++++++++++--------------------
1 files changed, 11 insertions(+), 20 deletions(-)
commit d3208ff19c3b61ae006403a9096c7a7ac09d4f5f
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Wed Aug 1 19:58:59 2007 +0100
Mention incompatibility with 0.82.1 more prominently
NEWS | 18 ++++++++++++------
1 files changed, 12 insertions(+), 6 deletions(-)
commit 8a27b1d1164c6c63467d79c497330fefd7c6de6e
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Wed Aug 1 19:27:30 2007 +0100
Check for epydoc version >= 3, and default to building API docs if available
configure.ac | 17 +++++++++++++++--
1 files changed, 15 insertions(+), 2 deletions(-)
commit 44f7d60ff7ea038c2e314f05f1ccbc3a76f258d5
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Wed Aug 1 19:15:45 2007 +0100
Update NEWS to mention #11623 fix
NEWS | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
commit 5e6fa32bf95a0d17fe5ce6a4ecdcae5dd3f967d5
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Wed Aug 1 19:10:37 2007 +0100
Add rel_path_keyword to @method (fd.o #11623)
dbus/decorators.py | 18 +++++++++++++++++-
dbus/service.py | 25 ++++++++++++++++++++++++-
test/test-client.py | 23 +++++++++++++++++++----
test/test-service.py | 15 ++++++++-------
4 files changed, 68 insertions(+), 13 deletions(-)
commit 65680613473b7ca39f68d25010b6b17eda841f6a
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Wed Aug 1 19:08:48 2007 +0100
Avoid deprecated API in cross-test
test/cross-test-client.py | 5 ++---
test/cross-test-server.py | 14 ++++++++------
2 files changed, 10 insertions(+), 9 deletions(-)
commit cea890e5e98e1846c47b220b69ae00e843c695a1
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Wed Aug 1 18:36:37 2007 +0100
Update NEWS
NEWS | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
commit 159319390404ed58406dba5a42d931740660af78
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Wed Aug 1 18:34:38 2007 +0100
Fix introspection on objects with more than one connection or more than one object path (bugs.fd.o #11794)
dbus/service.py | 12 ++++++------
test/test-client.py | 11 +++++++++++
test/test-service.py | 8 ++++++++
3 files changed, 25 insertions(+), 6 deletions(-)
commit 5aef31b429ac0c14312265e166aeeeda91b3f8ac
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Tue Jul 31 19:01:11 2007 +0100
NEWS: mention the solved build problems related to python-config
NEWS | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
commit e821e102b2fa3baff4de719411b03385132dd0f4
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Tue Jul 31 18:49:43 2007 +0100
Re-fix checking for Python include paths. Use $PYTHON-config like in 0.82.1 if we can, use the hard-coded logic from versions prior to 0.82.0 if we can't.
m4/am-check-python-headers.m4 | 27 +++++++++++++++++++--------
1 files changed, 19 insertions(+), 8 deletions(-)
commit f0291410ce950913593d5ae6c9fd4fabd5eaaa3f
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Tue Jul 31 18:04:16 2007 +0100
Complete the .m4 renaming
m4/dbus-py-add-rst2htmlflag.m4 | 23 +++++++++++++++++++++++
m4/dbuspy-add-rst2htmlflag.m4 | 23 -----------------------
2 files changed, 23 insertions(+), 23 deletions(-)
commit 4764f07dfeee9a3baa90399f9f2a18d7d5175fd2
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Tue Jul 31 17:47:12 2007 +0100
Move dbus-py-add-rst2htmlflag.m4 to jh-add-cflag.m4 - the contents of two of the .m4 files were the opposite of what they should be
m4/dbus-py-add-rst2htmlflag.m4 | 20 --------------------
m4/jh-add-cflag.m4 | 20 ++++++++++++++++++++
2 files changed, 20 insertions(+), 20 deletions(-)
commit 3396bcbacfaaa4c2ad4ad1e9d627be8ce14a6d77
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Tue Jul 31 17:46:42 2007 +0100
Move jh-add-cflag.m4 to dbuspy-add-rst2htmlflag.m4 - the contents of two of the .m4 files were the opposite of what they should be
m4/dbuspy-add-rst2htmlflag.m4 | 23 +++++++++++++++++++++++
m4/jh-add-cflag.m4 | 23 -----------------------
2 files changed, 23 insertions(+), 23 deletions(-)
commit a7b73b44ca3b86a0ccf0a58e2c1fdee205633657
Author: Simon McVittie <smcv at carbon.pseudorandom.co.uk>
Date: Tue Jul 31 17:40:20 2007 +0100
Revert "Use python-config to get Python cppflags (patch from Ubuntu, fd.o #11282)."
Python < 2.5 didn't have python-config (although some distributions, e.g.
Debian and Ubuntu, shipped it as an add-on). Even for 2.5, some distributions
install it under gratuitously different names (hi, Gentoo). As a result,
this patch needs replacing with one that doesn't rely on having python-config.
This reverts commit 7c9d08d1ba7f5b0a9aa4a37118e56b1725cdaef9.
m4/am-check-python-headers.m4 | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
commit 66ebaa801a13be7403e6ec47de1f322ccf310346
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Tue Jul 31 13:01:04 2007 +0100
_dbus_bindings/mainloop.c: Remove Watch and Timeout.
They were never used, and didn't make a great deal of sense. I now believe the
right direction for pure-Python mainloop support is to define a Pythonic main
loop abstraction and coerce libdbus to fit into it, rather than pretending
the objects in libdbus' abstraction are Python objects.
_dbus_bindings/mainloop.c | 357 ---------------------------------------------
1 files changed, 0 insertions(+), 357 deletions(-)
commit 4856b6c485c430ac15d4a634b6958d5f6af89dfa
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Tue Jul 31 12:55:16 2007 +0100
NEWS: update with timeout fix
NEWS | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
commit 5ab6cdc200267095edd56645df536dac5d4dc986
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Tue Jul 31 12:38:02 2007 +0100
Measure async call timeout in seconds as intended, not in ms (blocking calls already used seconds). Add regression tests
dbus/connection.py | 2 +-
test/test-client.py | 40 ++++++++++++++++++++++++++++++++++++++++
test/test-service.py | 13 +++++++++++++
3 files changed, 54 insertions(+), 1 deletions(-)
commit 70f802152547898f225a0a675789fb923a5ea410
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Thu Jul 26 17:04:44 2007 +0100
test-client: Avoid deprecated usage - explicitly pass SessionBus() to BusName ctor
test/test-client.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit f5eb61dce982d6c51a78f5bb745ebd632ef1ad70
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Wed Jul 18 21:26:10 2007 +0100
Try to avoid importing things from _dbus_bindings when they could be imported from public API
dbus/_dbus.py | 6 ++----
dbus/bus.py | 2 +-
dbus/connection.py | 8 ++++----
dbus/decorators.py | 16 ++++++++--------
dbus/glib.py | 2 --
dbus/service.py | 28 ++++++++++++++--------------
6 files changed, 29 insertions(+), 33 deletions(-)
commit 4cab9350dda0b36446d7b2a935bd6451a38e67a2
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Thu Jul 12 16:26:05 2007 +0100
Bump version to 0.82.1.YYYYMMDD
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 07bb7f1de21c64ea1f19ff107910daa2a14ec4ba
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Thu Jul 12 13:13:13 2007 +0100
Avoid cpp directives inside macro calls, to be nice to old gcc versions
_dbus_bindings/containers.c | 6 +-----
_dbus_bindings/int.c | 14 --------------
2 files changed, 1 insertions(+), 19 deletions(-)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: OpenPGP key: http://www.pseudorandom.co.uk/2003/contact/ or pgp.net
iD8DBQFGsPHGWSc8zVUw7HYRAsnxAKCpGfiwY2rw5sWinXGZTyPulVwZ9QCeNTKW
edMyiQzVa/3dRgyqsr9qdAI=
=B2Fj
-----END PGP SIGNATURE-----
More information about the dbus
mailing list