commit 81d0dcd79e1bc6187faa2f6a2f6d4d821f879a0e
Author: Simon McVittie
Date: Wed Jul 23 17:45:07 2008 +0100
Release version 0.83.0
NEWS | 2 +-
configure.ac | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
commit d634b018107c5aaeaeca704c14b9e853b9d52bfd
Author: Simon McVittie
Date: Wed Jul 23 17:36:41 2008 +0100
Avoid some compiler warnings
_dbus_bindings/dbus_bindings-internal.h | 1 +
_dbus_glib_bindings/module.c | 2 ++
test/dbus_py_test.c | 2 ++
3 files changed, 5 insertions(+), 0 deletions(-)
commit fe5981ca2b90978c75d3308b0f58844fabf8ea4d
Author: Simon McVittie
Date: Wed Jul 23 17:36:24 2008 +0100
Make the API docs build correctly when out-of-tree
Makefile.am | 5 ++++-
NEWS | 2 ++
2 files changed, 6 insertions(+), 1 deletions(-)
commit 7ef26213b5b3b46444f87a603ee3bb5c6381a56a
Author: Simon McVittie
Date: Wed Jul 23 17:16:43 2008 +0100
Require dbus 1.0.
It's been out for ages, and we can finally drop DBUS_API_SUBJECT_TO_CHANGE if we do.
NEWS | 2 ++
configure.ac | 2 +-
dbus-python.pc.in | 2 +-
include/dbus-python.h | 1 -
4 files changed, 4 insertions(+), 3 deletions(-)
commit 8c2ef87d94525af4b1e7f21e18b0a07b30ab425b
Author: Simon McVittie
Date: Thu Jul 17 13:06:06 2008 +0100
Update NEWS again
NEWS | 15 ++++++++++-----
1 files changed, 10 insertions(+), 5 deletions(-)
commit d1ded84e774c4aaad9bf02842e1898580dd599ea
Author: Simon McVittie
Date: Thu Jul 17 13:00:15 2008 +0100
Omit the remote traceback from certain D-Bus errors
Specifically, DBusException and its subclasses no longer have the remote
traceback by default (although subclasses can turn it back on again
by setting include_traceback = True, and the various "programmer error"
subclasses of DBusException do have this set).
Hopefully this will stop people thinking it's a dbus-python or
telepathy-python bug when a D-Bus API like Telepathy deliberately raises an
error (and so dbus-python or telepathy-python is visible in the traceback).
dbus/exceptions.py | 33 +++++++++++++++++++++++++++++++++
dbus/service.py | 5 ++++-
test/test-client.py | 37 +++++++++++++++++++++++++++++++++++++
test/test-service.py | 22 ++++++++++++++++++++++
4 files changed, 96 insertions(+), 1 deletions(-)
commit b962965f8c30d785ade69dd6a60924b42d6a1c8d
Author: Simon McVittie
Date: Thu Jul 17 12:17:31 2008 +0100
Update NEWS. Let's call the next release 0.83 since it's a feature release
NEWS | 8 +++++++-
dbus/server.py | 2 +-
2 files changed, 8 insertions(+), 2 deletions(-)
commit 90c84c2cbe826e8aa4a4a4d8c4f4926c77590f25
Merge: a7725c9... b5aa7ce...
Author: Simon McVittie
Date: Tue Jul 15 19:38:08 2008 +0100
Merge branch 'master' into server
commit b5aa7ce1baa7628c883982f6dde9ca32958db857
Author: Huang Peng
Date: Tue Jul 15 19:37:00 2008 +0100
Bugfix for: if using Connection.add_message_filter, only the last filter will be called
_dbus_bindings/conn-methods.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit a7725c9d7589773de7c068f11ca63b95f99ccfcc
Author: Simon McVittie
Date: Tue Jul 15 19:33:01 2008 +0100
Alter dbus.server.Server API to have pseudo-signals
By either appending to a list of callbacks, or subclassing and providing a
method, you can be notified when connections are added or removed.
Inspired by the DBusServer patch from Huang Peng.
dbus/server.py | 48 ++++++++++++++++++++++++++++++++++++++++++++----
test/test-server.py | 24 +++++++++++++-----------
2 files changed, 57 insertions(+), 15 deletions(-)
commit 810b67cd6d30e4af73067090c7fe1ae14952ce00
Author: Simon McVittie
Date: Tue Jul 15 19:30:33 2008 +0100
Initialize LibDBusConnection correctly
_dbus_bindings/module.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
commit 07196538f58c069313eeda2c496278f8289b9437
Author: Simon McVittie
Date: Tue Jul 15 19:22:33 2008 +0100
Add some more compiler warning flags if supported
configure.ac | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
commit 88a08077393d4c6f091109ccc819c6ec4664ba71
Author: Simon McVittie
Date: Tue Jul 15 19:22:21 2008 +0100
Make DBusPyConnection_NewConsumingDBusConnection static now nobody else needs to call it
_dbus_bindings/conn.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 2f7e3865c5cae60769b98dac163802e224345fb9
Author: Simon McVittie
Date: Tue Jul 15 19:21:51 2008 +0100
DbusPyServer: construct connections by calling the type, so the object will be fully initialized
_dbus_bindings/server.c | 28 ++++++++++++++++++++--------
1 files changed, 20 insertions(+), 8 deletions(-)
commit bdc76e63da5ca9e017cfbea6c1ce1b0e21ebf706
Author: Simon McVittie
Date: Tue Jul 15 19:15:42 2008 +0100
Refactor DBusPyConnection_NewForBus and make it go via DbusPyConnection_Type.tp_new
Now that we have the LibDBusConnection temporary objects, we don't have
to do strange sideways inheritance, we can just chain up to the superclass
constructor.
_dbus_bindings/bus.c | 85 ++++++++++++++++++++++++++++++++++---------------
1 files changed, 59 insertions(+), 26 deletions(-)
commit 0f0193180b7853cfea486d0aef1b60d4fa067ed2
Author: Simon McVittie
Date: Tue Jul 15 19:13:55 2008 +0100
_dbus_bindings._Connection: sort out constructor
Accept a LibDBusConnection for the address (sic) parameter,
so we can construct a Connection for a DBusConnection that already
exists.
The way all this works right now is a bit unfortunate, with hindsight,
but most of it is fixable like this.
_dbus_bindings/conn.c | 40 +++++++++++++++++++++++++++-------------
1 files changed, 27 insertions(+), 13 deletions(-)
commit 9d53f6c5179c590089bd6560e266dda538202f93
Author: Simon McVittie
Date: Tue Jul 15 18:59:33 2008 +0100
[trivial] un-extern Struct_tp_getattro
_dbus_bindings/containers.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 9d9322f9faf49f7ac8b4c3048f1333a9d7cabb48
Author: Simon McVittie
Date: Tue Jul 15 18:54:54 2008 +0100
Add LibDBusConnection in _dbus_bindings
_dbus_bindings/Makefile.am | 1 +
_dbus_bindings/conn-internal.h | 5 +
_dbus_bindings/dbus_bindings-internal.h | 16 +++-
_dbus_bindings/libdbusconn.c | 124 +++++++++++++++++++++++++++++++
4 files changed, 143 insertions(+), 3 deletions(-)
commit 565d2e88c54d3f2e6dab4ae0ed3202d3a26bfd2c
Author: Simon McVittie
Date: Mon Jul 14 18:44:15 2008 +0100
Add Connection.call_on_disconnection
dbus/connection.py | 24 ++++++++++++++++++++++++
1 files changed, 24 insertions(+), 0 deletions(-)
commit a7e29e3dbab9651761fc9a7c3ec7fbc27c711286
Author: Simon McVittie
Date: Mon Jul 14 17:30:43 2008 +0100
Actually create objects of class Server->conn_class
_dbus_bindings/server.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
commit ee4c9f80cd6a6e839eeebd2e592e4793e9bb61a8
Author: Simon McVittie
Date: Mon Jul 14 17:24:35 2008 +0100
dbus.server.Server: implement a stub version of _on_new_connection
dbus/server.py | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
commit 689e366ec0192920bcc961a0c44e89898d9bd8b1
Author: Simon McVittie
Date: Mon Jul 14 17:19:56 2008 +0100
Fix *another* thinko in dbus.server
dbus/server.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 2a646b1a5ac0ac15923e657058703f146f12a452
Author: Simon McVittie
Date: Mon Jul 14 17:18:45 2008 +0100
Fix thinko in dbus.server: actually instantiate a _Server
dbus/server.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
commit b9925dc51a1fe6d07c263f7f956005b44ca95b29
Author: Simon McVittie
Date: Mon Jul 14 16:56:02 2008 +0100
Add some whitespace to make reStructuredText happy
dbus/_dbus.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
commit c731758bd9d5dfcfe2a9e3176596bb43777ea334
Author: Simon McVittie
Date: Mon Jul 14 16:54:16 2008 +0100
Hook DBusServer into the build system.
Based on parts of the patch by Huang Peng
Makefile.am | 1 +
_dbus_bindings/Makefile.am | 1 +
_dbus_bindings/dbus_bindings-internal.h | 8 ++++++++
_dbus_bindings/mainloop.c | 19 +++++++++++++++++++
_dbus_bindings/module.c | 2 ++
5 files changed, 31 insertions(+), 0 deletions(-)
commit 6dcd530f0b6aa158330726d7a5cca9d6dd96eafb
Author: Simon McVittie
Date: Mon Jul 14 16:43:15 2008 +0100
Rename _dbus_bindings.Server to _dbus_bindings._Server
_dbus_bindings/server.c | 9 +++++----
dbus/server.py | 2 +-
2 files changed, 6 insertions(+), 5 deletions(-)
commit 87a86d7d6033cbb61271a84f20d5d25c4b4182c0
Author: Simon McVittie
Date: Mon Jul 14 16:41:28 2008 +0100
DBusPyServer: construct a user-specified subtype of Connection
_dbus_bindings/server.c | 32 +++++++++++++++++++++++++-------
dbus/server.py | 20 ++++++++++++++++++++
2 files changed, 45 insertions(+), 7 deletions(-)
commit 8e213001de0523bd7971fc9251c56635a9e943db
Author: Simon McVittie
Date: Mon Jul 14 16:40:32 2008 +0100
test-server: import Connection from the right place
test/test-server.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit 54a64a6571a6de18b87177ff1410e5d57f574463
Author: Simon McVittie
Date: Mon Jul 14 16:16:22 2008 +0100
DBusPyServer initialization: remove some debugging printfs
_dbus_bindings/server.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
commit 05c19f23c63246322e4c9dfed2af47aaf77f7619
Author: Simon McVittie
Date: Mon Jul 14 16:15:43 2008 +0100
DBusPyServer get_address, get_id: correct docs, these return str not String
_dbus_bindings/server.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit cf64e96607157f4e73c6dacaa34fb54fead26d1f
Author: Simon McVittie
Date: Mon Jul 14 16:14:48 2008 +0100
DBusPyServer tp_dealloc: remove a stray debugging printf
_dbus_bindings/server.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
commit d9821035d58c4fe161a9ff0a2546198e2c1dbb49
Author: Simon McVittie
Date: Mon Jul 14 16:13:34 2008 +0100
DBusPyServer: correctly unref the partially constructed DBusPyServer on errors
_dbus_bindings/server.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
commit 6d77f23d062f047437dc8ce428d86a7ad9fa05b2
Author: Simon McVittie
Date: Mon Jul 14 16:12:27 2008 +0100
DBusPyServer: correctly unref the weakref object on errors
_dbus_bindings/server.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
commit 603d449610275db1e51816104630cce6d74ac9d4
Author: Simon McVittie
Date: Mon Jul 14 16:11:30 2008 +0100
DBusPyServer: fix a typo
_dbus_bindings/server.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 0a888fb732074426d9b0dd6f487dffe5cee9df39
Author: Simon McVittie
Date: Mon Jul 14 16:09:57 2008 +0100
DBusPyServer: Fix refcounting of the main loop
_dbus_bindings/server.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
commit 1144c656fa9d956853fd8c03dc52937f60d3ee2e
Author: Simon McVittie
Date: Mon Jul 14 16:09:27 2008 +0100
DBusPyServer: if there's no main loop, throw an exception
The code starting at the "err" label assumes that an exception has been
set already.
_dbus_bindings/server.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
commit 37fd41a721a5417eeb72e90cbe3296f823ccc1b2
Author: Simon McVittie
Date: Mon Jul 14 16:08:26 2008 +0100
Document that DBusPyServer_NewDBusServer consumes a reference to the server.
Rename it to DBusPyServer_NewConsumingDBusServer to make this clearer.
_dbus_bindings/server.c | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
commit 1896381006ec54b1dfaf8bbcaaeab14b8a12ed32
Author: Simon McVittie
Date: Mon Jul 14 15:45:35 2008 +0100
DBusPyServer: remove some stray debugging printfs
_dbus_bindings/server.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
commit ac83797b39b1d0eacaafcdf42772eab8ca91ce63
Author: Simon McVittie
Date: Mon Jul 14 15:39:02 2008 +0100
DBusPyServer: refactor set_auth_mechanisms
* save a malloc
* return a boolean
* don't crash if the sequence isn't a sequence
* don't coerce items to strings too hard (we only want to accept str or
unicode, accepting FooObject and trying to use it as an authentication
method "" would be silly)
_dbus_bindings/server.c | 52 ++++++++++++++++++++++++++--------------------
1 files changed, 29 insertions(+), 23 deletions(-)
commit 9774cdade2306b9bb641162a14645510fc822c86
Author: Mathias Hasselmann
Date: Thu Jan 31 23:26:30 2008 +0100
Initial support for DBusServer class (#14322).
_dbus_bindings/server.c | 535 +++++++++++++++++++++++++++++++++++++++++++++++
dbus/server.py | 38 ++++
test/test-server.py | 74 +++++++
3 files changed, 647 insertions(+), 0 deletions(-)
commit dff98456995c37d964eb32a7de7ca718fc3d48d7
Author: Simon McVittie
Date: Tue Jan 22 12:01:18 2008 +0000
Don't assume that libdbus only gives method call messages to object-path handlers (fd.o #14199)
NEWS | 4 ++++
dbus/service.py | 5 ++++-
2 files changed, 8 insertions(+), 1 deletions(-)
commit 2295b58e4eef9f41a2f917c51408f83a4d2b7efd
Author: Simon McVittie
Date: Wed Dec 19 18:19:02 2007 +0000
doc/tutorial.txt: Briefly describe how to use the Qt event loop.
Based on a patch from Phil Thompson, riverbankcomputing.co.uk
doc/tutorial.txt | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
commit e0883f3518f137399077c13409f7a469924c0fd8
Author: Simon McVittie
Date: Mon Dec 10 17:40:23 2007 +0000
Unset release flag, and start NEWS for 0.82.5
NEWS | 7 +++++++
configure.ac | 2 +-
2 files changed, 8 insertions(+), 1 deletions(-)
commit a536c5ed08c21e35937bc8ea52844c2f19bfdc55
Author: Simon McVittie
Date: Mon Dec 10 17:39:20 2007 +0000
Add a maintainer-upload target to the Makefile.am, which uploads the current .tar.gz and .tar.gz.asc
Makefile.am | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
commit ca0a58e3ef9fe1cc2b1282b52f652c71b736e182
Author: Simon McVittie
Date: Mon Dec 10 15:14:06 2007 +0000
Version 0.82.4
configure.ac | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit ae97b7432232bc008e20e4696c512bcf69938dd8
Author: Simon McVittie
Date: Mon Dec 10 15:13:48 2007 +0000
When user sets reply_handler but not error_handler raise MissingReplyHandlerException instead of MissingErrorHandlerException, and vice versa (fd.o #12304, patch from René Neumann)
NEWS | 5 ++++-
dbus/proxies.py | 4 ++--
2 files changed, 6 insertions(+), 3 deletions(-)
commit 2beb7890280ae3b553e59ab8355b65ec203e4776
Author: Simon McVittie
Date: Fri Oct 12 11:34:37 2007 +0100
Update NEWS
NEWS | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
commit 6076d4222af7da5a8aa1de28626423d811ba6be2
Author: Simon McVittie
Date: Fri Oct 12 11:34:28 2007 +0100
Don't try to make dbus/Makefile from dbus/Makefile.in; the fix for #12741 removed it
configure.ac | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
commit 4fdbc65e42d940ba6cc4445a8a83af90dc3d3a34
Author: Simon McVittie
Date: Tue Oct 9 12:26:21 2007 +0100
Revert "Make sure extensions are built before docs; get rid of strange inter-directory dependency"
This reverts commit 5321d836844f3bc06a6d5796c9ca902e0bd6f4cc.
Makefile.am | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
commit 09611c45b3301e93a34a03366e058c3edc184e47
Author: Simon McVittie
Date: Tue Oct 9 12:24:52 2007 +0100
Don't distribute COPYING.*, which we no longer have or need
Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 81897e3143ff5d4c660e4960cc103b92d54ae14d
Author: Simon McVittie
Date: Tue Oct 9 12:24:15 2007 +0100
Don't try to distribute COPYING.AFL-2.1 and COPYING.GPL-2, which we no longer have or need
Makefile.am | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
commit 0a8b67e2d99ed36f30d6709277a40fdd2812953d
Author: Simon McVittie
Date: Tue Oct 9 12:20:10 2007 +0100
Use MIT/X11 license as per permission given on the dbus mailing list.
This affects code with copyright statements from the following individuals:
* Anders Carlsson
* Colin Walters
* David Zeuthen
* Rob Taylor
and the following companies:
* Collabora Ltd. (represented by me)
* Red Hat Inc. (represented by Havoc Pennington)
COPYING | 14 +-
COPYING.AFL-2.1 | 197 ----------------------
COPYING.GPL-2 | 342 --------------------------------------
dbus/__init__.py | 30 ++--
dbus/_dbus.py | 30 ++--
dbus/_expat_introspect_parser.py | 30 ++--
dbus/decorators.py | 30 ++--
dbus/glib.py | 30 ++--
dbus/mainloop/glib.py | 34 ++--
dbus/proxies.py | 34 ++--
dbus/service.py | 34 ++--
test/run-test.sh | 20 +++
test/run-with-tmp-session-bus.sh | 20 +++
13 files changed, 186 insertions(+), 659 deletions(-)
commit 5321d836844f3bc06a6d5796c9ca902e0bd6f4cc
Author: Simon McVittie
Date: Tue Oct 9 12:07:57 2007 +0100
Make sure extensions are built before docs; get rid of strange inter-directory dependency
Makefile.am | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
commit 07b0486fa32ede65b5c05011d56f2ee0694a5176
Author: Simon McVittie
Date: Tue Oct 9 11:43:05 2007 +0100
Use non-recursive make for dbus/ to work around types.py clash with top-level types module (fd.o #12741)
Makefile.am | 36 ++++++++++++++++++++++++++++++------
dbus/Makefile.am | 28 ----------------------------
2 files changed, 30 insertions(+), 34 deletions(-)
commit 64eeafbf7a167dd116aeabbcf78ebc257f551e1b
Author: Simon McVittie
Date: Tue Oct 9 11:42:00 2007 +0100
test/: add some missing copyright headers
test/dbus_py_test.c | 25 ++++++++++++++++++++++++-
test/run-test.sh | 3 +++
test/run-with-tmp-session-bus.sh | 4 ++++
3 files changed, 31 insertions(+), 1 deletions(-)
commit 5295a01631b2a02f948d22417de997a3200a2cee
Author: Simon McVittie
Date: Fri Sep 28 11:49:28 2007 +0100
License examples under MIT/X11.
According to history of dbus-core before the bindings split, the examples were
written by Red Hat employees, so we should be OK to relicense them; and it's
good to have copyright headers.
examples/example-async-client.py | 23 +++++++++++++++++++++++
examples/example-client.py | 23 +++++++++++++++++++++++
examples/example-service.py | 23 +++++++++++++++++++++++
examples/example-signal-emitter.py | 23 +++++++++++++++++++++++
examples/example-signal-recipient.py | 23 +++++++++++++++++++++++
examples/gconf-proxy-client.py | 23 +++++++++++++++++++++++
examples/gconf-proxy-service2.py | 24 ++++++++++++++++++++++++
examples/list-system-services.py | 23 +++++++++++++++++++++++
8 files changed, 185 insertions(+), 0 deletions(-)
commit c658f7804cf892c2c45548dc9283c06ce7249925
Author: Simon McVittie
Date: Fri Sep 28 11:28:26 2007 +0100
Use MIT/X11 license for code owned by Collabora and Red Hat only, as per Havoc's permission
(Message-ID: <815098350709271800k2505485dlef9414609d392b48@mail.gmail.com>)
test/dbus_python_check.py | 21 +++++++++++++++++++++
test/test-client.py | 33 ++++++++++++++++++---------------
test/test-p2p.py | 32 ++++++++++++++++++--------------
test/test-service.py | 32 ++++++++++++++++++--------------
test/test-signals.py | 33 ++++++++++++++++++---------------
5 files changed, 93 insertions(+), 58 deletions(-)
commit a6c85a634286fe6ddfb0d15c40a475acf4bd214c
Author: Simon McVittie
Date: Thu Sep 27 19:05:06 2007 +0100
Unset dbus_python_released following release
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 137f8e8bbfcd1bef30efe8aec4923c407da180eb
Author: Simon McVittie
Date: Thu Sep 27 18:36:07 2007 +0100
Version 0.82.3
NEWS | 2 +-
configure.ac | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
commit a5d922d9605ae3c1540cd232cb754a9dc5dc7812
Author: Simon McVittie
Date: Thu Sep 27 18:31:20 2007 +0100
Don't try to distribute COPYING.LGPL-2.1 - no longer exists
Makefile.am | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
commit dfa86e6e601be2ebef25ad99056929ff30e1cac9
Author: Simon McVittie
Date: Thu Sep 27 18:24:58 2007 +0100
Fix NEWS indentation
NEWS | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 4e39a3c08aef2b502e9d330b372b7ab96fac6881
Author: Simon McVittie
Date: Thu Sep 27 18:21:16 2007 +0100
Mention relicensing in NEWS
NEWS | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
commit 2afba7e53cf65fccfd15c87852e791845cff8467
Author: Simon McVittie
Date: Thu Sep 27 18:19:16 2007 +0100
Update NEWS, and add regression tests for fd.o #12096 and #12403
NEWS | 11 +++++++++++
test/test-client.py | 15 +++++++++++++++
test/test-service.py | 8 ++++++++
3 files changed, 34 insertions(+), 0 deletions(-)
commit cb1ffaea799249d6c2dcc9452f758f57392f55e7
Author: Simon McVittie
Date: Thu Sep 27 18:14:11 2007 +0100
fd.o #12432: fix documentation for remove_from_connection
dbus/service.py | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
commit 05460fdecf77c56640c332d290a5950884f26769
Author: Simon McVittie
Date: Thu Sep 27 18:13:42 2007 +0100
dbus.exceptions.DBusException: allow setting _dbus_error_name in subclasses
dbus/exceptions.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
commit 79b4ea50399db59fa8459badf33918764677248d
Author: Simon McVittie
Date: Thu Sep 27 17:57:15 2007 +0100
Don't raise KeyError when closing private dbus.Bus. (fd.o #12096)
Also deprecate private dbus.Bus in favour of dbus.bus.BusConnection - the only
things you gain from using dbus.Bus are the shared-instance behaviour and some
strange more-than-one-way-to-do-it APIs.
dbus/_dbus.py | 11 ++++-------
1 files changed, 4 insertions(+), 7 deletions(-)
commit d8c154284ca464f493c81a4d3b5a37890d68acec
Author: Simon McVittie
Date: Thu Sep 27 13:57:49 2007 +0100
Relicense Collabora code under the MIT/X11 license proposed for dbus core, removing all references to the LGPL as a result
COPYING | 36 ++-
COPYING.LGPL-2.1 | 510 -------------------------------
_dbus_bindings/abstract.c | 33 ++-
_dbus_bindings/bus.c | 33 ++-
_dbus_bindings/bytes.c | 33 ++-
_dbus_bindings/conn-internal.h | 30 +-
_dbus_bindings/conn-methods.c | 31 +-
_dbus_bindings/conn.c | 31 +-
_dbus_bindings/containers.c | 33 ++-
_dbus_bindings/dbus_bindings-internal.h | 31 +-
_dbus_bindings/debug.c | 33 ++-
_dbus_bindings/exceptions.c | 33 ++-
_dbus_bindings/float.c | 33 ++-
_dbus_bindings/generic.c | 33 ++-
_dbus_bindings/int.c | 33 ++-
_dbus_bindings/mainloop.c | 33 ++-
_dbus_bindings/message-append.c | 33 ++-
_dbus_bindings/message-get-args.c | 33 ++-
_dbus_bindings/message-internal.h | 33 ++-
_dbus_bindings/message.c | 33 ++-
_dbus_bindings/module.c | 33 ++-
_dbus_bindings/pending-call.c | 33 ++-
_dbus_bindings/signature.c | 33 ++-
_dbus_bindings/string.c | 33 ++-
_dbus_bindings/types-internal.h | 33 ++-
_dbus_bindings/validation.c | 31 +-
_dbus_glib_bindings/module.c | 33 ++-
dbus/bus.py | 30 +-
dbus/connection.py | 30 +-
dbus/exceptions.py | 22 ++
dbus/gobject_service.py | 30 +-
dbus/lowlevel.py | 30 +-
dbus/mainloop/__init__.py | 30 +-
doc/tutorial.txt | 34 ++-
include/dbus-python.h | 33 ++-
test/cross-test-client.py | 30 +-
test/cross-test-server.py | 30 +-
test/crosstest.py | 30 +-
test/test-standalone.py | 32 ++-
test/test-unusable-main-loop.py | 22 ++
40 files changed, 707 insertions(+), 1036 deletions(-)
commit 003204b6a58faad7bc937ba029a99204cfa417e1
Author: Simon McVittie
Date: Thu Sep 27 13:56:01 2007 +0100
dbus.service: Don't assume that exceptions passed to asynchronous callbacks are the same as the pending exception
(fd.o #12403, https://dev.laptop.org/ticket/3370)
dbus/service.py | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
commit 7028d177352b18efa3cc567f6753e1dbdab8f025
Author: Simon McVittie
Date: Mon Aug 6 14:27:01 2007 +0100
Update NEWS
NEWS | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
commit 050bf4a893e24061c3de35eb24c05d3d1002ed28
Author: Simon McVittie
Date: Mon Aug 6 14:26:21 2007 +0100
Makefile.am, test/Makefile.am: Use @abs_top_builddir@, @abs_top_srcdir@
This fixes incorrect Python path for docs and tests if doing an out-of-tree
build using an absolute path for $(srcdir), and is also less ugly.
Makefile.am | 6 ++++--
test/Makefile.am | 10 ++++++----
2 files changed, 10 insertions(+), 6 deletions(-)
commit 33773b778911c890d76c38b13f0fdb39df237d9e
Author: Simon McVittie
Date: Wed Aug 1 21:37:50 2007 +0100
Unset dbus_python_released
NEWS | 3 +++
configure.ac | 2 +-
2 files changed, 4 insertions(+), 1 deletions(-)
commit af16daa9ff5d7217f361d68ce2bfe405f2cbd412
Author: Simon McVittie
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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(-)
commit a94d9d68d17fd5284aa549187ac6fbb29c188efd
Author: Simon McVittie
Date: Wed Jul 11 17:11:08 2007 +0100
NEWS, configure.ac: 0.82.1, the "double precision" release
NEWS | 4 ++--
configure.ac | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
commit e94f1a9a3c4e9a7800e013dd61b06b5538c9b8ac
Author: Simon McVittie
Date: Wed Jul 11 15:51:23 2007 +0100
Use PyArg_ParseTuple correctly, fixing the timeout in send_message_with_reply and send_message_with_reply_and_block.
(bugs.fd.o #11489; thanks to Marco Pesenti Gritti for report and initial patch)
NEWS | 3 +++
_dbus_bindings/conn-methods.c | 4 ++--
2 files changed, 5 insertions(+), 2 deletions(-)
commit 9fc1958471a95249984e9556b7dab8838eb19844
Author: Simon McVittie
Date: Tue Jul 3 19:54:06 2007 +0100
Unset dbus_python_released
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit a2ee1a4bbdef1613c44be8131b9a89bf8c4543ba
Author: Simon McVittie
Date: Fri Jun 29 17:54:02 2007 +0100
.gitignore: ignore patch(1) cruft, and detached signatures for the release tarballs
.gitignore | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
commit 439ceed581837381aa690b6a0b809a06470d167d
Author: Simon McVittie
Date: Fri Jun 29 17:47:23 2007 +0100
Update NEWS
NEWS | 23 +++++++++++++++++++++++
1 files changed, 23 insertions(+), 0 deletions(-)
commit 1b91d2d408ea471af1e4641e7fb31b4534026a70
Author: Simon McVittie
Date: Fri Jun 29 17:38:46 2007 +0100
dbus.proxies: If making a call with ignore_reply=True, don't block for introspection
dbus/proxies.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
commit 06810eb34ed2cdc5f0def02b45680915b0e0b985
Author: Simon McVittie
Date: Thu Jun 21 01:22:27 2007 +0100
dbus.service: use DBUS_INTROSPECT_1_0_XML_DOCTYPE_DECL_NODE
dbus/service.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 9556649e48df344f6ec0010c4af00a076a751760
Author: Simon McVittie
Date: Thu Jun 21 01:22:04 2007 +0100
Expose HANDLER_RESULT_HANDLED, HANDLER_RESULT_NOT_YET_HANDLED as public API in dbus.lowlevel
dbus/lowlevel.py | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
commit 0d4f60d771305572594fb2cfb502bf565230fa37
Author: Simon McVittie
Date: Thu Jun 21 01:21:33 2007 +0100
Get stacklevel right on deprecation of not specifying bus in BusName.__init__
dbus/service.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 11925e0a12989793926f82d2286cbb20ef7a179d
Author: Simon McVittie
Date: Thu Jun 21 01:20:39 2007 +0100
_dbus_bindings: add DBUS_INTROSPECT_1_0_XML_DOCTYPE_DECL_NODE etc.
_dbus_bindings/module.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
commit d45d56a6ba455ee9b12af4d2c8c448392d74d1b4
Author: Simon McVittie
Date: Thu Jun 21 01:19:39 2007 +0100
Avoid using deprecated dbus_watch_get_fd()
_dbus_bindings/mainloop.c | 8 +++++++-
configure.ac | 6 ++++++
2 files changed, 13 insertions(+), 1 deletions(-)
commit a2f7458105791f37be52e1de22b710968904b235
Author: Simon McVittie
Date: Wed Jun 20 18:01:19 2007 +0100
dbus.service: Deprecate the omission of the `bus` argument in the BusName constructor.
Explicit is better than implicit.
dbus/service.py | 17 +++++++++++++----
1 files changed, 13 insertions(+), 4 deletions(-)
commit 39c996ac7439c5c9a61ddb0efc92bada491fa0e5
Author: Simon McVittie
Date: Wed Jun 20 18:00:10 2007 +0100
Stop using interactive-Python syntax in tutorial to reduce user confusion.
Closes bugs.fd.o #11209.
doc/tutorial.txt | 45 +++++++++++++++++++--------------------------
1 files changed, 19 insertions(+), 26 deletions(-)
commit 9f2e2040c33b09196e438c818379290c9e41a4ca
Author: Simon McVittie
Date: Tue Jun 19 18:05:00 2007 +0100
Version 0.82.0
NEWS | 2 +-
configure.ac | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
commit 343aaa190f8a1c7475e4565c50483abbc5914a75
Author: Simon McVittie
Date: Tue Jun 19 13:59:23 2007 +0100
Improve API documentation markup, particularly adding :Since: annotations
dbus/bus.py | 63 +++++++++++++++++++++++++++++++++++----------------
dbus/connection.py | 5 ++++
dbus/decorators.py | 14 +++++++++++
dbus/proxies.py | 6 ++--
dbus/service.py | 30 +++++++++++++++++++-----
5 files changed, 88 insertions(+), 30 deletions(-)
commit e631446a0c3113260c380284fe1f71419d5a7edb
Author: Simon McVittie
Date: Tue Jun 19 13:58:37 2007 +0100
Mark Bus.get_connection() as deprecated; improve Bus.__repr__
dbus/_dbus.py | 18 ++++++++++--------
1 files changed, 10 insertions(+), 8 deletions(-)
commit 10c49fa072b4f28713cfc873444b902b0bbe021e
Author: Simon McVittie
Date: Tue Jun 19 13:37:30 2007 +0100
Update NEWS with recent changes; next version should be 0.82.0 I think
NEWS | 19 +++++++++++++++----
1 files changed, 15 insertions(+), 4 deletions(-)
commit 7c9d08d1ba7f5b0a9aa4a37118e56b1725cdaef9
Author: Simon McVittie
Date: Tue Jun 19 13:22:31 2007 +0100
Use python-config to get Python cppflags (patch from Ubuntu, fd.o #11282).
Thanks to Sebastien Bacher.
m4/am-check-python-headers.m4 | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
commit 543ebc088ffbef9a52de333d99361b47301571b3
Author: Simon McVittie
Date: Mon Jun 18 16:31:20 2007 +0100
Implement fallback objects.
In the process, simplify the signal decorator a bit - don't allow the signal
to be emitted from a subset of interfaces (removing connection_keyword),
deprecate path_keyword, disallow path_keyword on objects that support multiple
object paths, and add rel_path_keyword. This is an API removal since previous
patches, but is compatible with the last release.
dbus/decorators.py | 115 +++++++++++++++++++++++++++++++-------------------
dbus/service.py | 52 +++++++++++++++++++++--
test/run-test.sh | 3 +
test/test-client.py | 22 ++++++++-
test/test-service.py | 39 +++++++++++++++++
test/test-signals.py | 28 ++++++++++--
6 files changed, 205 insertions(+), 54 deletions(-)
commit b62c9694c5f3e39ef00c08fee5754a91515bca54
Author: Simon McVittie
Date: Fri Jun 15 19:03:03 2007 +0100
Unset dbus_python_released
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit c5f1a34d6319e768f38f18817b09134849c74794
Author: Simon McVittie
Date: Fri Jun 15 18:51:46 2007 +0100
Update NEWS
NEWS | 29 +++++++++++++++++++++++++++++
1 files changed, 29 insertions(+), 0 deletions(-)
commit b4a34bf6ac17fae4f0cc67f5b5082856f0aa7283
Author: Simon McVittie
Date: Thu Jun 14 11:05:39 2007 +0100
doc/tutorial.txt: @service and @method take dbus_interface=..., not interface=...
doc/tutorial.txt | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
commit dbfb6d7b676d22dc98c3ef88071a9deeffa79648
Author: Simon McVittie
Date: Tue Jun 12 14:27:39 2007 +0100
dbus.bus: In watch_name_owner, only watch the desired name!
dbus/bus.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
commit 5b408fd8501d79f87bd752f9ce483f5beb6f157b
Author: Simon McVittie
Date: Mon Jun 11 18:10:16 2007 +0100
dbus.bus: Ignore any errors while cleaning up signal matches, so we can make the call asynchronously
dbus/bus.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 7f2e0bfe0c205af512af716f4fcb7b8508269eb7
Author: Simon McVittie
Date: Mon Jun 11 14:51:59 2007 +0100
dbus.service: Allow objects to start off unexported, and become exported later.
Also allow them to be exported on more than one object path or even connection.
dbus.decorators: Allow connection_keyword on signals and methods, so we can
tell which connection to use for any follow-up actions.
dbus/decorators.py | 81 ++++++++++++++-----
dbus/service.py | 209 ++++++++++++++++++++++++++++++++++++++++++--------
test/test-service.py | 8 +-
3 files changed, 239 insertions(+), 59 deletions(-)
commit cc6ea2758794601e2747ad9deccf7c8e887b0100
Author: Simon McVittie
Date: Thu Jun 7 20:11:57 2007 +0100
dbus.bus: when a unique name goes away, disconnect all signal handlers.
Unique names are not recycled, so no more signals can arrive for that name.
dbus/bus.py | 19 ++++++++++---------
1 files changed, 10 insertions(+), 9 deletions(-)
commit c2773de718d0cbcac27a60d2fc56063499eeef0e
Author: Simon McVittie
Date: Mon Jun 4 14:47:15 2007 +0100
Update date in NEWS for 0.81.1 release
NEWS | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit 8d5f51a95f04ddc524e8790a00635082c851b4a1
Author: Simon McVittie
Date: Mon Jun 4 14:19:21 2007 +0100
Version 0.81.1
configure.ac | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit 382b890175ecef7818ce07d8d36cdaab138032df
Author: Simon McVittie
Date: Mon Jun 4 12:26:15 2007 +0100
NEWS: update
NEWS | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit f1c2dcd0f7b9d177877aafed95fe64343862c1cf
Author: Simon McVittie
Date: Mon Jun 4 12:24:58 2007 +0100
dbus.service: change unexport() to remove_from_connection() at J5's request
dbus/service.py | 14 ++++++++------
test/test-client.py | 2 +-
test/test-service.py | 2 +-
3 files changed, 10 insertions(+), 8 deletions(-)
commit a370850a68659a771690c2dac7148e371b6c9b51
Author: Simon McVittie
Date: Mon Jun 4 12:10:53 2007 +0100
dbus-python.pc.in: Use -I${includedir} to allow libdbus and dbus-python to be in different ${prefix}es
Patch from Phil Thompson at Riverbank Computing Ltd.
dbus-python.pc.in | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit cf4afc9ccf1408f0f0fde2a01e2dd68ba59de1f9
Author: Simon McVittie
Date: Wed May 30 15:52:36 2007 +0100
NEWS: Describe the fix for #10457
NEWS | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
commit c87b55c6ab30542d5d17f2e2041e4c87b3df712d
Author: Simon McVittie
Date: Wed May 30 15:19:46 2007 +0100
dbus.service: Make it possible to unexport objects (fd.o#10457)
dbus/service.py | 33 ++++++++++++++++++++++++++++++++-
test/test-client.py | 20 ++++++++++++++++++++
test/test-service.py | 34 +++++++++++++++++++++++++++++++---
3 files changed, 83 insertions(+), 4 deletions(-)
commit 030b68b4e6d64dc25904618852917839892de1be
Author: Simon McVittie
Date: Tue May 29 15:33:44 2007 +0100
NEWS: mention list_exported_child_objects() and its use in introspection
NEWS | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
commit 5618e6182ded0d1861a9fcb5a26440e4454801f6
Author: Simon McVittie
Date: Tue May 29 15:33:18 2007 +0100
dbus.service: include child nodes in introspection
dbus/service.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
commit 26288ab181eb2452fad7fd94c9bc00c817b4137d
Author: Simon McVittie
Date: Tue May 29 15:32:01 2007 +0100
_dbus_bindings/conn-methods.c: add list_exported_child_objects().
This is equivalent to dbus_connection_list_registered() in libdbus.
_dbus_bindings/conn-methods.c | 62 +++++++++++++++++++++++++++++++++++++++++
test/test-client.py | 3 ++
test/test-service.py | 8 +++++
3 files changed, 73 insertions(+), 0 deletions(-)
commit f0947ab721499d5202cdbfcaad6fac7d781b5666
Author: Simon McVittie
Date: Mon May 28 19:47:25 2007 +0100
NEWS: mention the fix for Debian#426412
NEWS | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
commit ffb1d3310d97bc4d86a09604649f334e3367816f
Author: Simon McVittie
Date: Mon May 28 19:45:59 2007 +0100
dbus.connection: Release signals lock before calling _clean_up_signal_match().
This prevents a deadlock when a signal match that's tracking name owner
changes is removed, causing a match on NameOwnerChanged to be removed too.
(Debian bug#426412)
Also move more of the tree manipulation inside the lock, to be nice to
anyone attempting a port to implementations without a GIL (mainly IronPython),
and add a regression test for the above bug.
dbus/bus.py | 2 +-
dbus/connection.py | 45 +++++++++++++++++++++++++--------------------
test/test-client.py | 2 ++
test/test-signals.py | 34 ++++++++++++++++++++++++----------
4 files changed, 52 insertions(+), 31 deletions(-)
commit 03bcbff71d4bf112441dfd53300328c70d3a512c
Author: Simon McVittie
Date: Mon May 21 13:18:18 2007 +0100
dbus.bus: detect NameHasNoOwner correctly, using new get_dbus_name() method
dbus/bus.py | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
commit 09e138af65710b11363e0852711171c3a9f8ef00
Author: Simon McVittie
Date: Mon May 21 13:15:48 2007 +0100
NEWS: Describe new DBusException 'args' support
NEWS | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
commit c68cc723a95f6a4716d61b4ae455e3f8382347e3
Author: Simon McVittie
Date: Mon May 21 13:10:09 2007 +0100
Describe DBusException.get_dbus_name() in NEWS
NEWS | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
commit 000536a6b707fe3b28f7afd5360058d48e281688
Author: Simon McVittie
Date: Thu May 17 12:41:05 2007 +0100
dbus.proxies: Log more informatively when introspection fails, and use logging rather than just stderr
dbus/proxies.py | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
commit b052211a63cf833ac394ca529c344c288e921401
Author: Simon McVittie
Date: Wed May 16 11:05:29 2007 +0100
Implement DBusException in pure Python; add get_dbus_name() method and name= keyword argument
_dbus_bindings/bus.c | 5 +-
_dbus_bindings/conn-methods.c | 6 +-
_dbus_bindings/dbus_bindings-internal.h | 2 +-
_dbus_bindings/exceptions.c | 99 ++++++++++++++++++-------------
_dbus_bindings/message.c | 6 +-
_dbus_bindings/module.c | 2 -
dbus/__init__.py | 7 +-
dbus/_dbus.py | 3 +-
dbus/bus.py | 2 +-
dbus/connection.py | 11 +--
dbus/dbus_bindings.py | 2 +-
dbus/decorators.py | 2 +
dbus/exceptions.py | 22 ++++++-
dbus/service.py | 11 ++-
14 files changed, 105 insertions(+), 75 deletions(-)
commit df88e33eb69ef1528f76d06429d451b8274bd69b
Author: Simon McVittie
Date: Wed May 16 11:03:34 2007 +0100
configure.ac: Reset released flag to 0
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 523e63fcef2c3391e94ded7959abdba739a52354
Author: Simon McVittie
Date: Wed May 9 10:13:02 2007 +0100
Update NEWS for 0.81.0
NEWS | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 85 insertions(+), 0 deletions(-)
commit fac67418d9bc51b75f39b108c3e5f0bd9d7e6a98
Author: Simon McVittie
Date: Wed May 9 10:03:06 2007 +0100
Increment version to 0.81.0
configure.ac | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
commit 756d092e3bb346dbf791af32f31c0efe520573d1
Author: Simon McVittie
Date: Wed May 9 10:02:33 2007 +0100
Don't run the examples during "make check" - timing/startup issues cause intermittent failures
test/run-test.sh | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
commit 32c4636888e03025b5f01167cea6530a8fb1ce53
Author: Simon McVittie
Date: Wed May 9 09:56:51 2007 +0100
Generate ChangeLog during make dist rather than during make.
Commit a dummy ChangeLog so the autotools won't fail in git checkouts.
.gitignore | 1 -
ChangeLog | 2 ++
Makefile.am | 9 +++++----
3 files changed, 7 insertions(+), 5 deletions(-)
commit 46d28550bbe03ccf9853f072743d879ae7d621ff
Author: Simon McVittie
Date: Mon May 7 15:53:59 2007 +0100
dbus/gobject_service.py: Make ExportedGObject __init__ accept GObject properties
dbus/gobject_service.py | 25 +++++++++++++++++++++++--
1 files changed, 23 insertions(+), 2 deletions(-)
commit 863cec2464edd80fcf7fbdf62cf1c89ecab647d0
Author: Simon McVittie
Date: Fri May 4 19:51:50 2007 +0100
Create doc directory before writing HTML into it
Makefile.am | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
commit 727fa4079d91f8dd1b301e21d3e4279c202a9739
Author: Simon McVittie
Date: Fri May 4 19:44:18 2007 +0100
doc/tutorial.txt: Don't claim we have a tutorial for p2p connections yet
doc/tutorial.txt | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
commit 3033d92876dc094d5f86404bdf997af9b3bb3a82
Author: Simon McVittie
Date: Fri May 4 19:43:14 2007 +0100
Update tutorial to describe add_signal_receiver before connect_to_signal.
Also remove old ./configure substitutions and update to avoid deprecated API.
doc/tutorial.txt | 100 ++++++++++++++++++++++++++++++------------------------
1 files changed, 56 insertions(+), 44 deletions(-)
commit f1d118f3d8c7dee8f5611cba2786a77e3b3cdaf1
Author: Simon McVittie
Date: Fri May 4 19:41:59 2007 +0100
Stop tutorial.txt being generated by ./configure - not worthwhile just for a version number
.gitignore | 1 -
configure.ac | 1 -
doc/tutorial.txt | 667 +++++++++++++++++++++++++++++++++++++++++++++++++++
doc/tutorial.txt.in | 667 ---------------------------------------------------
4 files changed, 667 insertions(+), 669 deletions(-)
commit 0432c5256bad3fbdf10240b7ef76cea181c9f8b7
Author: Simon McVittie
Date: Fri May 4 19:39:54 2007 +0100
dbus/service.py: Before emitting an error, configure logging to write to stderr, unless already configured
dbus/service.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 24bee8cea054fa21d3229c97d75b2c08f273d9d9
Author: Simon McVittie
Date: Fri May 4 19:39:16 2007 +0100
Remove contents of TODO: the peer-to-peer Connection now exists and the string change has been rejected
TODO | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
commit ed2ace3161337789924e03f559603dccfa40c56e
Author: Simon McVittie
Date: Fri May 4 17:09:57 2007 +0100
dbus/service.py: Don't use deprecated get_connection() in Object constructor.
The Connection and BusConnection base classes don't have it, and we can now
export Objects on a plain Connection.
dbus/service.py | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
commit 774e133d2cdc1a0fda2bd14d2354a9da2deece88
Author: Simon McVittie
Date: Thu May 3 13:20:59 2007 +0100
Deprecate all arguments called named_service; use bus_name instead
dbus/bus.py | 49 ++++++++++++++++++++++++++++++--------
dbus/connection.py | 61 ++++++++++++++++++++++++++++++++++++++++--------
dbus/proxies.py | 66 +++++++++++++++++++++++++++++++++++++--------------
3 files changed, 137 insertions(+), 39 deletions(-)
commit 040adaef5646823dfb9247247104cb678cecacad
Author: Simon McVittie
Date: Thu May 3 13:19:12 2007 +0100
examples/list-system-services.py: Make more exemplary
examples/list-system-services.py | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
commit e6d5bb0209c9cba4d42f12a448bd708a2cabaa9f
Author: Simon McVittie
Date: Thu May 3 12:11:31 2007 +0100
dbus/gobject_service.py: Make ExportedGObject work correctly.
Also add a simple unit test for it.
dbus/Makefile.am | 1 +
dbus/gobject_service.py | 13 +++++++++++--
test/test-client.py | 10 ++++++++++
test/test-service.py | 11 +++++++++++
4 files changed, 33 insertions(+), 2 deletions(-)
commit 717837a91498f9f928a0affbfa39d8cd68de5ca1
Author: Simon McVittie
Date: Tue May 1 13:26:51 2007 +0100
Simplify dbus_bindings backwards compatibility glue
dbus/_dbus.py | 26 ++++----------------------
dbus/dbus_bindings.py | 13 ++++++++++++-
dbus_bindings.py | 4 ----
3 files changed, 16 insertions(+), 27 deletions(-)
commit 77566373b89e721e468f411507821ee8a5273fff
Author: Simon McVittie
Date: Tue May 1 12:18:50 2007 +0100
dbus/bus.py: Add watch_name_owner().
Use it to avoid a race in signal name matching.
Also change SignalMatch API from sender_unique being a public attribute to
having a method set_sender_name_owner(), and make it hashable so we can
use it to look up associated signal-sender matches in a dict.
dbus/bus.py | 94 +++++++++++++++++++++++++++++++--------------------
dbus/connection.py | 54 +++++++++++++++++++----------
2 files changed, 92 insertions(+), 56 deletions(-)
commit 77f19ef18864f3468b7373bd75461aad3239fe52
Author: Simon McVittie
Date: Mon Apr 30 13:38:50 2007 +0100
test/test-p2p.py: Added. Test "peer-to-peer" connections.
(Actually tested by connecting to the bus daemon, because I haven't implemented
a Python binding for DBusServer yet.)
test/Makefile.am | 1 +
test/run-test.sh | 3 ++
test/test-p2p.py | 91 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 95 insertions(+), 0 deletions(-)
commit a5905b31f82b898eaa3f80a907ea636e1e3d71eb
Author: Simon McVittie
Date: Mon Apr 30 13:33:11 2007 +0100
dbus/connection.py: comments
dbus/connection.py | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
commit c38536726dfced572da01604909888f1f78a0492
Author: Simon McVittie
Date: Mon Apr 30 13:32:52 2007 +0100
dbus/bus.py: correct name of logger
dbus/bus.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit e96509a88425c0f48c203fbfff100cde901adc7c
Author: Simon McVittie
Date: Mon Apr 30 13:15:28 2007 +0100
Move signal matching machinery into superclasses
dbus/_dbus.py | 412 +---------------------------------------------------
dbus/bus.py | 90 +++++++++++-
dbus/connection.py | 387 +++++++++++++++++++++++++++++++++++++++++++++++--
3 files changed, 464 insertions(+), 425 deletions(-)
commit 494191632d27aa60c6f7c8fbcb1b595f8ff0253e
Author: Simon McVittie
Date: Mon Apr 30 12:55:21 2007 +0100
tools/check-coding-style.mk: Work correctly with out-of-tree builds
tools/check-coding-style.mk | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 060ffcc1d3f3296c679b4e91c1ed070b2e0205f9
Author: Simon McVittie
Date: Mon Apr 30 12:36:37 2007 +0100
Move get_object, constants into Connection and BusConnection. Add docstrings
dbus/_dbus.py | 64 +++++----------------------------------------------
dbus/bus.py | 60 ++++++++++++++++++++++++++++++++++++++++++++++--
dbus/connection.py | 30 ++++++++++++++++++++++++
3 files changed, 94 insertions(+), 60 deletions(-)
commit dff13840b106cf08a8227379e9bb82e654442e1d
Author: Simon McVittie
Date: Mon Apr 30 11:56:42 2007 +0100
Convert _BusDaemonMixin and _MethodCallMixin into base classes BusConnection and Connection.
Also add method activate_name_owner() for proxies to use (so they don't need
to be aware of whether the connection is a bus daemon or not), and stop using
deprecated get_connection method.
dbus/_dbus.py | 8 +++-----
dbus/bus.py | 22 +++++++++++++++++++---
dbus/connection.py | 23 +++++++++++++++++------
dbus/proxies.py | 21 +++------------------
4 files changed, 42 insertions(+), 32 deletions(-)
commit 338b87fcc4010fe92b3f16ebbbf5955eab825dd7
Author: Simon McVittie
Date: Mon Apr 30 11:43:26 2007 +0100
dbus/service.py: Use public API for dbus.SessionBus, since we cause an import anyway
dbus/service.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit 2eb946f58e132706683890a8b961423e16998efe
Author: Simon McVittie
Date: Mon Apr 30 11:41:44 2007 +0100
dbus/_dbus.py: in SignalMatch, use get_name_owner()
dbus/_dbus.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 26cccef4d8e049613b4b815bf9b9bd5ac86dc087
Author: Simon McVittie
Date: Mon Apr 30 11:39:57 2007 +0100
dbus/_bus_mixin.py: Add bindings for ListNames, ListActivatableNames, GetNameOwner too
dbus/bus.py | 29 +++++++++++++++++++++++++++++
test/test-client.py | 24 ++++++++++++++++++++++--
2 files changed, 51 insertions(+), 2 deletions(-)
commit f75c1a0c7f7f4365f1265c6ede0c9465e50466ff
Author: Simon McVittie
Date: Mon Apr 30 11:38:32 2007 +0100
dbus/_dbus.py: import constants from _dbus_bindings; use "from...import"
dbus/_dbus.py | 58 +++++++++++++++++++++++++++++++-------------------------
1 files changed, 32 insertions(+), 26 deletions(-)
commit 1d4594e2463e00def64dd10a71101a4a45e63553
Author: Simon McVittie
Date: Mon Apr 30 11:35:54 2007 +0100
dbus/connection.py: Import constants from _dbus_bindings; check for reserved local interface as well as path
dbus/connection.py | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
commit 02d302ce90b136991de60015285ff7a39ff54375
Author: Simon McVittie
Date: Mon Apr 30 11:34:33 2007 +0100
dbus/bus.py: get BUS_DAEMON_NAME etc. from _dbus_bindings
dbus/bus.py | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
commit 84beab96c9b9a1270e82e670aa3dca3f208b728f
Author: Simon McVittie
Date: Mon Apr 30 11:33:31 2007 +0100
dbus/proxies.py: get INTROSPECTABLE_IFACE from _dbus_bindings
dbus/proxies.py | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
commit 3c62924718ff00839843cecaae09598e36199f79
Author: Simon McVittie
Date: Mon Apr 30 11:31:22 2007 +0100
Move the client method-call machinery from dbus.proxies to dbus.connection._MethodCallMixin.
This makes proxy methods much simpler, and allows the _BusDaemonMixin to bypass
the proxies module completely (since the signatures are already known, so
we don't need to introspect anything).
dbus/Makefile.am | 1 +
dbus/_dbus.py | 7 +-
dbus/bus.py | 76 ++++++++++--------------
dbus/connection.py | 139 ++++++++++++++++++++++++++++++++++++++++++++
dbus/proxies.py | 163 +++++++++++++++++++++-------------------------------
5 files changed, 242 insertions(+), 144 deletions(-)
commit e40ec8e4f29d104b66d78b183300e6bf134c2714
Author: Simon McVittie
Date: Mon Apr 30 11:23:58 2007 +0100
Remove BusImplementation, removing its remaining functionality to Connection.
* Move get_unique_name to Connection (it can be useful for connections which
aren't to a real bus daemon but partially emulate one, like Telepathy's
Tubes)
* Add set_unique_name to Connection (same reason)
* Convert BusImplementation.__new__ into Connection._new_for_bus
* Have dbus.Bus subclass _dbus_bindings.Connection directly
_dbus_bindings/bus.c | 134 ++++++++++++---------------------------
_dbus_bindings/conn-internal.h | 5 ++
_dbus_bindings/conn-methods.c | 30 +++++++++
_dbus_bindings/module.c | 2 -
dbus/_dbus.py | 8 +--
5 files changed, 79 insertions(+), 100 deletions(-)
commit 6963fa9cfa5be7af19b93c71d8a26c149cf2c88c
Author: Simon McVittie
Date: Mon Apr 30 11:20:53 2007 +0100
Implement o.fd.DBus method wrappers in Python instead of C.
This reduces the need to have _dbus_bindings.BusImplementation and makes
peer-to-peer connections easier to implement.
_dbus_bindings/bus.c | 235 --------------------------------------------------
dbus/Makefile.am | 3 +-
dbus/_dbus.py | 4 +-
dbus/bus.py | 191 ++++++++++++++++++++++++++++++++++++++++
4 files changed, 196 insertions(+), 237 deletions(-)
commit 478e03e211990d05725bfec5c44a1a1bf68eaf19
Author: Simon McVittie
Date: Fri Apr 27 12:44:45 2007 +0100
dbus/proxies.py: Give Interface some properties. Vastly simplify __getattr__ on Interface and ProxyObject
dbus/proxies.py | 55 +++++++++++++++++++++++++++++--------------------------
1 files changed, 29 insertions(+), 26 deletions(-)
commit f6fd7b7102ac5cfd961f4e53532eb7904f877a6e
Author: Simon McVittie
Date: Fri Apr 27 12:22:54 2007 +0100
Move Interface from dbus._dbus to dbus.proxies (it belongs there really).
Make it a new-style object and document it more clearly.
dbus/__init__.py | 5 ++-
dbus/_dbus.py | 134 +-----------------------------------------------------
dbus/proxies.py | 72 +++++++++++++++++++++++++++++
3 files changed, 77 insertions(+), 134 deletions(-)
commit fe50b35f867caed213d30cf0e046f51aeb275b20
Author: Simon McVittie
Date: Fri Apr 27 12:12:54 2007 +0100
Remove redundant constants
dbus/_dbus.py | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
commit a6a86fbfc299cdc61c6d013a0081c2eec878f99a
Author: Simon McVittie
Date: Fri Apr 27 12:11:28 2007 +0100
dbus/_dbus.py: Match NameOwnerChanged correctly
dbus/_dbus.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
commit 6457e018adf4bf87a1bb4791ba5a08ad6ac6ba51
Author: Simon McVittie
Date: Thu Apr 26 15:53:06 2007 +0100
test/test-service.py: Use constants for the bus name and object path
test/test-service.py | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
commit db310619c1bd0496259cd251e6df0c83af73f3d1
Author: Simon McVittie
Date: Wed Apr 25 18:33:55 2007 +0100
dbus/__init__.py: Add well-known interface, path, bus-name constants
dbus/__init__.py | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
commit 4be15d3a5d949107c7cf51a87a02f8555791868e
Author: Simon McVittie
Date: Wed Apr 25 18:30:52 2007 +0100
dbus/__init__.py: Remove pseudo-tutorial from docstring, we have a tutorial now
dbus/__init__.py | 111 ------------------------------------------------------
1 files changed, 0 insertions(+), 111 deletions(-)
commit 4a027b3240152f7b9d5eabb66c2c1a94bd5ef831
Author: Simon McVittie
Date: Wed Apr 25 18:29:48 2007 +0100
_dbus_bindings/module.c: Add some useful constants
_dbus_bindings/module.c | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
commit b6e2f84963ea0b399d50bbfeab7df046f6f24f5b
Author: Simon McVittie
Date: Wed Apr 25 17:46:54 2007 +0100
Make ProxyObject a new-style class, since it now has properties
dbus/proxies.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 26965c2bf04ffb3b101623bbe02c34f43bee9232
Author: Simon McVittie
Date: Wed Apr 25 14:07:49 2007 +0100
Add object_path, bus_name and requested_bus_name properties to ProxyObject.
There is also a placeholder for unique_bus_name, although it's not currently
implemented.
dbus/proxies.py | 43 +++++++++++++++++++++++++++++++++++++++++--
1 files changed, 41 insertions(+), 2 deletions(-)
commit a81f1e90b293f1279ad4797753649f4264c559f3
Author: Simon McVittie
Date: Tue Apr 24 14:49:44 2007 +0100
Revert the part of the previous patch that added dbus_name to signals.
Making this work correctly will also require changes to the introspect code.
dbus/decorators.py | 13 +++----------
1 files changed, 3 insertions(+), 10 deletions(-)
commit e4050f2750d2fdb5c05a7d7b9cb4030b99133f13
Author: Simon McVittie
Date: Tue Apr 24 14:45:14 2007 +0100
Preparation for fallback-object support:
* Let exported methods receive the path, destination and raw message via
kwargs, as well as the sender
* Let exported signals be emitted from a variable object-path
dbus/decorators.py | 81 ++++++++++++++++++++++++++++++++++++++++++++-----
dbus/service.py | 8 ++++-
test/test-client.py | 11 +++++++
test/test-service.py | 8 +++++
4 files changed, 98 insertions(+), 10 deletions(-)
commit ae8014c72a7d304f20d9422009f42bc48fa8f298
Author: Simon McVittie
Date: Tue Apr 24 17:45:03 2007 +0100
Fix fd.o #10174: make it possible to return multiple values with no signature.
More specifically: when a service method with no signature synchronously
returns a tuple that is not a Struct, interpret it as a multi-valued return,
rather than as a structure.
This is a common Python idiom, and returning a struct makes little sense
anyway when D-Bus lets you return multiple values.
Returned lists are still interpreted as arrays - returning an array is
entirely sensible, and indeed likely to be common.
Async service methods are unaffected (there is no ambiguity), and it's still
possible to return a structure by returning a dbus.Struct with appropriate
contents.
https://bugs.freedesktop.org/show_bug.cgi?id=10174
dbus/service.py | 8 +++++++-
test/test-client.py | 6 ++++++
test/test-service.py | 5 +++++
3 files changed, 18 insertions(+), 1 deletions(-)
commit 705b343c205b82c93aab0f31535d1dc99a3c0265
Author: Simon McVittie
Date: Tue Apr 24 17:39:27 2007 +0100
test/test-service.py: use a constant for the interface name, for clarity
test/test-service.py | 43 +++++++++++++++++++++++--------------------
1 files changed, 23 insertions(+), 20 deletions(-)
commit a2fa9563ee9e3bfca549397c0bf58946eaff37b2
Author: Simon McVittie
Date: Tue Apr 24 17:21:11 2007 +0100
.gitignore: Ignore INSTALL and dbus-python-*.tar.gz
.gitignore | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
commit 50469e3e0a04d27be1ee227518ca377e16919626
Author: Simon McVittie
Date: Tue Apr 24 14:41:45 2007 +0100
Remember to include tools in dist
Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit df42e53ab497dce7f00bd2eb3f2af1c022c0096c
Author: Simon McVittie
Date: Tue Apr 24 13:51:51 2007 +0100
Remove trailing whitespace in Python source
dbus/_dbus.py | 8 ++++----
dbus/decorators.py | 2 +-
dbus/proxies.py | 10 +++++-----
dbus/service.py | 2 +-
4 files changed, 11 insertions(+), 11 deletions(-)
commit 1fa0c331f5327ef1d622b55a050949845eb89b0f
Author: Simon McVittie
Date: Tue Apr 24 13:50:02 2007 +0100
Remove trailing whitespace in C source
_dbus_bindings/abstract.c | 4 ++--
_dbus_bindings/conn-methods.c | 4 ++--
_dbus_bindings/conn.c | 2 +-
_dbus_bindings/containers.c | 4 ++--
_dbus_bindings/message-append.c | 6 +++---
_dbus_bindings/message-internal.h | 2 +-
_dbus_bindings/message.c | 2 +-
_dbus_bindings/pending-call.c | 2 +-
8 files changed, 13 insertions(+), 13 deletions(-)
commit cdf20eebae59e0ceb2cf8fc2660609e6c38ccebf
Author: Simon McVittie
Date: Tue Apr 24 13:47:09 2007 +0100
Add optional checks for coding style (mainly whitespace at the moment).
These are on by default for git builds, off by default for releases.
_dbus_bindings/Makefile.am | 3 +++
configure.ac | 17 ++++++++++++++++-
dbus/Makefile.am | 3 +++
tools/Makefile.am | 5 +++++
tools/check-c-style.sh | 17 +++++++++++++++++
tools/check-coding-style.mk | 25 +++++++++++++++++++++++++
tools/check-py-style.sh | 18 ++++++++++++++++++
tools/check-whitespace.sh | 17 +++++++++++++++++
8 files changed, 104 insertions(+), 1 deletions(-)
commit b5552a3ea76b3e229f40a06d32a5860b0e9e2217
Author: Simon McVittie
Date: Tue Apr 24 13:05:17 2007 +0100
Refactor build system:
* Use autoreconf to simplify autogen.sh considerably
* Use AC_CONFIG_MACRO_DIR and aclocal -I to pick up macros from m4/
* Drop acinclude.m4 in favour of putting our macros in m4/
Makefile.am | 4 +-
acinclude.m4 | 109 ----------------------------------------
autogen.sh | 64 ++++-------------------
configure.ac | 7 +--
m4/Makefile.am | 5 ++
m4/am-check-pymod.m4 | 37 ++++++++++++++
m4/am-check-python-headers.m4 | 24 +++++++++
m4/dbus-py-add-rst2htmlflag.m4 | 20 +++++++
m4/jh-add-cflag.m4 | 23 ++++++++
9 files changed, 126 insertions(+), 167 deletions(-)
commit 29fae4fdfd02cc2dd4c896a2cb271d9a3597623c
Author: Simon McVittie
Date: Tue Apr 24 12:27:18 2007 +0100
test/run-with-tmp-session-bus.sh: untabify, remove trailing whitespace
test/run-with-tmp-session-bus.sh | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
commit d6b644f9317346211c94a2ae75b77ca9369a7088
Author: Simon McVittie
Date: Tue Apr 24 12:26:42 2007 +0100
test/test-client.py: untabify
test/test-client.py | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
commit 35808b1bae43f846fdbcb740c359c66977231518
Author: Simon McVittie
Date: Tue Apr 24 12:24:02 2007 +0100
dbus/service.py: untabify
dbus/service.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 7207bc9f616b2401de609b36dc774bbe79fa7166
Author: Simon McVittie
Date: Tue Apr 24 12:23:47 2007 +0100
configure.ac: untabify
configure.ac | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
commit c2aa57fc64f32e0c197320b050b93e71949edd53
Author: Simon McVittie
Date: Tue Apr 24 12:23:24 2007 +0100
_dbus_bindings/message.c: untabify
_dbus_bindings/message.c | 60 +++++++++++++++++++++++-----------------------
1 files changed, 30 insertions(+), 30 deletions(-)
commit a7110d5ee20f04f17346079a6a824a7c017fe124
Author: Simon McVittie
Date: Fri Mar 2 18:46:12 2007 +0000
Implement ExportedGObject, a convenience class to export GObjects on the bus.
This is non-trivial because dbus.service.Object and GObject both use
metaclasses, so we need to implement a metaclass inheriting from both their
metaclasses - it might as well go in dbus-python to avoid everyone having to
reinvent this solution.
dbus/gobject_service.py | 37 +++++++++++++++++++++++++++++++++++++
1 files changed, 37 insertions(+), 0 deletions(-)
commit cfb1ea5f32a5ab77078ce184cb13602f2e28fec1
Author: Simon McVittie
Date: Fri Mar 2 18:43:09 2007 +0000
* dbus.service.Object: don't let the user try to export objects on the local
path reserved by libdbus/dbus-daemon, or on an invalid path.
* BusName: don't even try to claim an invalid bus name either.
dbus/service.py | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
commit 5ee2e05d5056584d589991f5d5fd0d22df598676
Author: Simon McVittie
Date: Fri Mar 2 18:41:01 2007 +0000
* ProxyObject: allow named_service to be None, in preparation for peer-to-peer
connections. If so, never attempt to follow name owner changes (doesn't make
sense when you're talking directly to the peer).
* _ProxyMethod: allow interface to be None, for when a method call is made
on a ProxyObject without going via a dbus.Interface.
dbus/proxies.py | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
commit f2fda30b23b0176dd314329050127f61b5e92255
Author: Simon McVittie
Date: Fri Mar 2 18:38:00 2007 +0000
SignalMatch: check that interface, member and sender are either valid, or None
dbus/_dbus.py | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
commit 91d0a865d574325328b67ec8c5dab9b841b9218c
Author: Simon McVittie
Date: Fri Mar 2 18:29:34 2007 +0000
SignalMatch: remove assorted commented-out debug messages
dbus/_dbus.py | 24 +++---------------------
1 files changed, 3 insertions(+), 21 deletions(-)
commit bfc541fad2dec718abce406caa0285b1e40c4958
Author: Simon McVittie
Date: Fri Mar 2 18:13:23 2007 +0000
Remove FIXME comment - I think the current behaviour is correct.
dbus/service.py | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
commit cf48b799ebdcaf7dca0b6f729516b413be21e989
Author: Simon McVittie
Date: Fri Mar 2 18:12:47 2007 +0000
* Don't let the user call methods on the reserved local path - we'll get
kicked off the bus if they do.
* Don't try to introspect the reserved local path - same problem.
* Do earlier validation of bus names etc. in client proxies.
dbus/proxies.py | 19 ++++++++++++++++++-
1 files changed, 18 insertions(+), 1 deletions(-)
commit f1e0a64b9f02a77cfd468f146ed3f398b2c1c8bc
Author: Simon McVittie
Date: Wed Feb 21 15:04:20 2007 +0000
If send_with_reply() returns TRUE but with pending call NULL, cope gracefully.
This is a workaround for the fact that trying to use the object path
/org/freedesktop/DBus/Local in a message header (e.g. when introspecting
trackerd with dbus-inspector) causes us to be disconnected by the bus daemon.
_dbus_bindings/conn-methods.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
commit 8dce2df1ceacffb2aa6e2cc8b1d4b58ee95ac5b1
Author: Simon McVittie
Date: Wed Feb 21 12:31:15 2007 +0000
Don't examine args for functions declared METH_NOARGS.
It's not guaranteed to be non-NULL, and Python checks there are no arguments
so we don't have to.
_dbus_bindings/conn-methods.c | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
commit 4f88700588d80861c8520e56407d3a40d5bd86e6
Author: Simon McVittie
Date: Mon Feb 19 14:17:08 2007 +0000
dbus/_dbus.py: When an exception is raised by a signal handler, print it to stderr
dbus/_dbus.py | 54 ++++++++++++++++++++++++++++++++----------------------
1 files changed, 32 insertions(+), 22 deletions(-)
commit a79f8dacbf86efce563cc29104bbacecb5ef9739
Author: Simon McVittie
Date: Tue Feb 13 17:54:55 2007 +0000
Update NEWS file for 0.80.2 (not actually present in the release, but at least it'll be in the next release's NEWS file)
NEWS | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
commit 22f2a483aa45720711b42fa8ce4ddf2d9fdbaec9
Author: Simon McVittie
Date: Tue Feb 13 17:44:38 2007 +0000
Set released flag back to 0
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 728e8f47d884bdff66106b89cc1d803fa5f30456
Author: Simon McVittie
Date: Tue Feb 13 16:54:51 2007 +0000
Release version 0.80.2
configure.ac | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
commit 87dc3d5807ba12c6396dbcb1acdebb8f453e8fcd
Author: Simon McVittie
Date: Wed Feb 7 20:46:17 2007 +0000
Actually commit the numerous copyright-statement changes.
COPYING | 551 +------------------------------
Makefile.am | 3 +-
_dbus_bindings/abstract.c | 16 +-
_dbus_bindings/bus.c | 14 +-
_dbus_bindings/bytes.c | 14 +-
_dbus_bindings/conn-internal.h | 14 +-
_dbus_bindings/conn-methods.c | 14 +-
_dbus_bindings/conn.c | 14 +-
_dbus_bindings/containers.c | 16 +-
_dbus_bindings/dbus_bindings-internal.h | 14 +-
_dbus_bindings/debug.c | 14 +-
_dbus_bindings/exceptions.c | 14 +-
_dbus_bindings/float.c | 14 +-
_dbus_bindings/generic.c | 14 +-
_dbus_bindings/message-get-args.c | 16 +-
_dbus_bindings/message-internal.h | 14 +-
_dbus_bindings/message.c | 14 +-
_dbus_bindings/module.c | 14 +-
_dbus_bindings/pending-call.c | 14 +-
_dbus_bindings/signature.c | 14 +-
_dbus_bindings/string.c | 16 +-
_dbus_bindings/types-internal.h | 16 +-
_dbus_bindings/validation.c | 14 +-
_dbus_glib_bindings/module.c | 8 +-
dbus/lowlevel.py | 14 +-
dbus/mainloop/__init__.py | 18 +
doc/tutorial.txt.in | 8 +-
include/dbus-python.h | 14 +-
test/cross-test-client.py | 8 +-
test/cross-test-server.py | 8 +-
test/crosstest.py | 8 +-
test/test-standalone.py | 8 +-
32 files changed, 217 insertions(+), 735 deletions(-)
commit 1f9f29452352baf103fd6620eb0cd8315f8b736d
Author: Simon McVittie
Date: Wed Feb 7 17:05:29 2007 +0000
For files solely owned by Collabora Ltd., additionally allow use under LGPL 2.1.
Also:
* split out AFL, GPL from COPYING into separate files, and add LGPL.
* update copyright year in recently touched files
COPYING.AFL-2.1 | 197 +++++++++++++++++++++
COPYING.GPL-2 | 342 ++++++++++++++++++++++++++++++++++++
COPYING.LGPL-2.1 | 510 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 1049 insertions(+), 0 deletions(-)
commit 278b57d9f4a1aed4f0296b17a94bde2a36145a45
Author: Simon McVittie
Date: Wed Feb 7 13:15:17 2007 +0000
Audit tp_dealloc callbacks to make sure they preserve the exception state.
* Connection: use PyErr_Fetch and PyErr_Restore to preserve exception state
* MainLoop: add a comment indicating that the "free" callback needs to do the
same if it might alter the exception state
_dbus_bindings/conn.c | 5 +++++
_dbus_bindings/mainloop.c | 3 ++-
2 files changed, 7 insertions(+), 1 deletions(-)
commit ffe3b55b4b293c5dfb36de8cf2dc2b91d09a9f0d
Merge: 5135a35... 66fb274...
Author: Simon McVittie
Date: Wed Feb 7 13:00:33 2007 +0000
Merge git+ssh://people.freedesktop.org/home/smcv/public_html/git/dbus-python/
commit 5135a35677e25c473db0e8a463f97c15359c9e34
Author: Simon McVittie
Date: Wed Feb 7 12:50:48 2007 +0000
Fix memory leak where Struct, _LongBase, _StrBase, String leaked their __dict__ on deallocation.
* Use a fixed-size struct for String (unicode objects are in fact fixed-size)
and store its variant_level that way.
* Don't store Struct, _LongBase, _StrBase variant_level and Struct signature
in a __dict__, but instead have a global dict mapping object IDs to variant
levels, and a global dict mapping Struct IDs to signatures. This is a bit
strange, but easier than correctly freeing the __dict__ (which is stored
at the end of a variable-length struct, so somewhat hard to get at).
* With this change, allocating objects in a loop no longer leaks memory, and
neither does the test case supplied by Luka Renko.
_dbus_bindings/abstract.c | 194 +++++++++++++++++++++++++++++++-------
_dbus_bindings/containers.c | 132 +++++++++++++++++++++-----
_dbus_bindings/message-append.c | 6 +-
_dbus_bindings/string.c | 75 ++++++---------
_dbus_bindings/types-internal.h | 10 ++
5 files changed, 309 insertions(+), 108 deletions(-)
commit 870227fafd9c976a0354b02aff6052ba24234e91
Author: Simon McVittie
Date: Mon Feb 5 16:21:13 2007 +0000
Close a couple of reference leaks in String (there's another somewhere, but I can't find it)
_dbus_bindings/string.c | 30 ++++++++++++++++++++++--------
1 files changed, 22 insertions(+), 8 deletions(-)
commit c04456ff1b24de8695cda14f91e8886ca9c0bf0f
Author: Simon McVittie
Date: Mon Feb 5 15:18:39 2007 +0000
Don't leak memory in Struct repr()
_dbus_bindings/containers.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
commit 192bd48b8a17e4f62400b64e037df22c3b47de88
Author: Simon McVittie
Date: Mon Feb 5 15:18:14 2007 +0000
Don't leak memory in _StringBase and _LongBase repr()
_dbus_bindings/abstract.c | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
commit 630f912b2155e6328a3fa48deb832f5c3d114b94
Author: Simon McVittie
Date: Mon Feb 5 13:18:19 2007 +0000
Switch _IntBase back to using generic alloc/free implementation rather than half-participating in the int free list (which would result in _IntBase instances leaking)
_dbus_bindings/abstract.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
commit 95c0d3618041e8c8f9173a3eb8e8ddc93c456952
Author: Simon McVittie
Date: Mon Feb 5 13:17:12 2007 +0000
Fix a couple of memory leaks - D-Bus signature strings, and decoded Unicode objects
_dbus_bindings/message-get-args.c | 18 +++++++++++-------
1 files changed, 11 insertions(+), 7 deletions(-)
commit 99e0758b1d4f958e5753d51e843f1254e15b93b2
Author: Simon McVittie
Date: Wed Jan 31 13:47:49 2007 +0000
_dbus_bindings/pending-call.c: Fix memory leak of one Message per method call.
Also fix a leak of references to Py_None (unlikely to be a practical problem,
but best to be correct).
_dbus_bindings/pending-call.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
commit 66fb2745189037ba634cc3574f174f26e53a9be6
Author: Simon McVittie
Date: Wed Jan 31 13:27:16 2007 +0000
Fix a leak of references to Py_None in slightly pathological cases (should never be a problem in practice, but correctness is good)
_dbus_bindings/pending-call.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 9285b0648419a6860ca274d381cdb2924f85fdd2
Author: Simon McVittie
Date: Wed Jan 31 13:07:49 2007 +0000
_pending_call_notify_function: stop leaking a Message per call
_dbus_bindings/pending-call.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
commit c0c48abc99e66998b4c81436a8f6eca58f93cef4
Author: Simon McVittie
Date: Thu Jan 25 12:59:39 2007 +0000
configure.ac: Only use -Werror if user passes --enable-Werror to configure.
Also improve clarity of help message for --enable-html-docs.
configure.ac | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
commit d7c11cccfcdc3ef94f183d79203fac136e2c3494
Author: Simon McVittie
Date: Thu Jan 25 12:49:57 2007 +0000
doc/tutorial.txt.in: Add copyright and license (GPL2/AFL2.1, like the code)
doc/tutorial.txt.in | 23 +++++++++++++++++++++++
1 files changed, 23 insertions(+), 0 deletions(-)
commit dc6b66210bda929f92524ef10f5c3edbb3cb495c
Author: Simon McVittie
Date: Thu Jan 25 12:43:57 2007 +0000
COPYING: Remove information about files we no longer have
COPYING | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
commit 00ffd01f3186bf7eab88a5408daa59d162efdf70
Author: Simon McVittie
Date: Thu Jan 25 12:43:13 2007 +0000
test/, include/: remove accidentally duplicated lines from license statement
include/dbus-python.h | 2 --
test/cross-test-client.py | 2 --
test/cross-test-server.py | 2 --
test/crosstest.py | 2 --
test/test-client.py | 2 --
test/test-service.py | 2 --
test/test-signals.py | 2 --
test/test-standalone.py | 2 --
8 files changed, 0 insertions(+), 16 deletions(-)
commit 41694b4df5c1dbf745e5ddd443571d5cb67d74b3
Author: Simon McVittie
Date: Thu Jan 25 12:38:53 2007 +0000
dbus, _dbus_bindings, _dbus_glib_bindings: remove accidentally duplicated lines in license statement
_dbus_bindings/abstract.c | 2 --
_dbus_bindings/bus.c | 2 --
_dbus_bindings/bytes.c | 2 --
_dbus_bindings/conn-internal.h | 2 --
_dbus_bindings/conn-methods.c | 2 --
_dbus_bindings/conn.c | 2 --
_dbus_bindings/containers.c | 2 --
_dbus_bindings/dbus_bindings-internal.h | 2 --
_dbus_bindings/debug.c | 2 --
_dbus_bindings/exceptions.c | 2 --
_dbus_bindings/float.c | 2 --
_dbus_bindings/generic.c | 2 --
_dbus_bindings/int.c | 2 --
_dbus_bindings/mainloop.c | 2 --
_dbus_bindings/message-append.c | 2 --
_dbus_bindings/message-get-args.c | 2 --
_dbus_bindings/message-internal.h | 2 --
_dbus_bindings/message.c | 2 --
_dbus_bindings/module.c | 2 --
_dbus_bindings/pending-call.c | 2 --
_dbus_bindings/signature.c | 2 --
_dbus_bindings/string.c | 2 --
_dbus_bindings/types-internal.h | 2 --
_dbus_bindings/validation.c | 2 --
_dbus_glib_bindings/module.c | 2 --
dbus/__init__.py | 2 --
dbus/_dbus.py | 2 --
dbus/_expat_introspect_parser.py | 2 --
dbus/decorators.py | 2 --
dbus/glib.py | 2 --
dbus/lowlevel.py | 2 --
dbus/mainloop/glib.py | 2 --
dbus/proxies.py | 2 --
dbus/service.py | 2 --
34 files changed, 0 insertions(+), 68 deletions(-)
commit 3706648c6ba07d2781fb9723eddc202a7e2b8a72
Author: Simon McVittie
Date: Wed Jan 24 20:29:17 2007 +0000
Use AC_PREREQ(2.59c) to make sure we can use docdir, which is relatively new
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 4c9b10a511f9465ee87e4f87065445c04a34d7e5
Author: Simon McVittie
Date: Wed Jan 24 16:37:03 2007 +0000
Reset released flag
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 130d1a59220a921af7cc7738306804a6f8878062
Author: Simon McVittie
Date: Wed Jan 24 16:17:43 2007 +0000
Version 0.80.1, the "oops" release. Install dbus/_version.py so dbus.__version__ exists again.
NEWS | 9 +++++++--
configure.ac | 4 ++--
dbus/Makefile.am | 1 +
dbus/_version.py.in | 2 +-
4 files changed, 11 insertions(+), 5 deletions(-)
commit 6e6b4cd1d7ade85612872d94374d722531f2e3f9
Author: Simon McVittie
Date: Wed Jan 24 16:03:37 2007 +0000
Clear "released" flag after release
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 876f343d4eb39519ca155a4add1483d4f6ced641
Author: Simon McVittie
Date: Wed Jan 24 16:01:09 2007 +0000
Relax dbus requirement to 0.93, to be nice to Ubuntu 6.10 and Fedora Core 6 users. Release version 0.80.0
configure.ac | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
commit 1ad24fa7b36a333a0a4e0ce1f0afd2b201f09245
Author: Simon McVittie
Date: Wed Jan 24 14:55:43 2007 +0000
Remove unnecessary "..." in AC_MSG_CHECKING; correct quoting in AC_MSG_RESULT and tests
configure.ac | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
commit 3edafe1f009d0e228109368dcec3ba3da2d559a1
Author: Simon McVittie
Date: Wed Jan 24 14:37:32 2007 +0000
Clear "released" flag. Improve checking for rst2html and epydoc.
configure.ac | 48 +++++++++++++++++++++++++++++++++++++++---------
1 files changed, 39 insertions(+), 9 deletions(-)
commit 057317ea759323f49133351e997ce7b892394889
Author: Simon McVittie
Date: Wed Jan 24 14:31:54 2007 +0000
Update NEWS, README for 0.80.0
NEWS | 6 +++---
README | 33 +++++++++++++++++++++------------
2 files changed, 24 insertions(+), 15 deletions(-)
commit bdf3c3a8ca30149b8d047ac0437858a47927f37e
Author: Simon McVittie
Date: Wed Jan 24 14:31:29 2007 +0000
Remove from EXTRA_DIST files we'd already be distributing
Makefile.am | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
commit 36deedcc043fb5abde7cbb432b3a3b24a5031da0
Author: Simon McVittie
Date: Wed Jan 24 14:13:50 2007 +0000
Add Makefile target maintainer-update-website to update d.fd.o/doc/dbus-python
(to use this target, configure your fd.o username, if not the same as
your local username, in ~/.ssh/config).
Move API_CHANGES.txt, HACKING.txt to doc/ directory.
Tweak documentation generation so deprecated stuff isn't documented.
API_CHANGES.txt | 124 ---------------------------------------------------
HACKING.txt | 62 -------------------------
Makefile.am | 35 ++++++++++++---
dbus/__init__.py | 7 +++-
dbus/_dbus.py | 39 +++++++++-------
doc/API_CHANGES.txt | 124 +++++++++++++++++++++++++++++++++++++++++++++++++++
doc/HACKING.txt | 68 ++++++++++++++++++++++++++++
7 files changed, 248 insertions(+), 211 deletions(-)
commit 0035c926fd188d9458a4b23275fcb277b26abfbd
Author: Simon McVittie
Date: Wed Jan 24 12:12:39 2007 +0000
Install dbus-python.h in $includedir/dbus-1.0/dbus rather than $includedir for consistency with libdbus-glib and libdbus
Makefile.am | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
commit 6708a7bb677ac91cb1190f5f6761e2136f6dc779
Author: Simon McVittie
Date: Wed Jan 24 12:04:19 2007 +0000
Automatically detect whether various desirable rst2html options are actually supported, using a modified version of JH_ADD_CFLAG. Also allow HTML documentation building to be switched off.
Makefile.am | 3 ---
acinclude.m4 | 25 +++++++++++++++++++++++++
configure.ac | 35 +++++++++++++++++++++++++++++------
3 files changed, 54 insertions(+), 9 deletions(-)
commit 5e31fb2bfc9ea3e39e13abc519fade6e0322c864
Author: Simon McVittie
Date: Mon Jan 22 18:52:00 2007 +0000
Build pre-release version 0.79.94 (= 0.80rc4)
configure.ac | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit 7ab85ec3ad175ed8631409e2fb216162fda70d67
Author: Simon McVittie
Date: Mon Jan 22 18:34:11 2007 +0000
Alter Makefile.am, configure.ac to recurse into subdirs for previous change to take effect
.gitignore | 1 +
Makefile.am | 124 ++++++++++------------------------------------------------
configure.ac | 5 ++
3 files changed, 27 insertions(+), 103 deletions(-)
commit 625bfaac68f6c7afd85d62752e34fc8e00405790
Author: Simon McVittie
Date: Mon Jan 22 18:26:36 2007 +0000
Split up Makefile.am between subdirectories
As well as being conventional, this seems to be necessary to avoid having
dbus_py_test.so installed, while still having it be a Libtool shared library
(noinst libraries are helpfully made static).
_dbus_bindings/Makefile.am | 30 ++++++++++++++++++++++++++
_dbus_glib_bindings/Makefile.am | 9 ++++++++
dbus/Makefile.am | 21 ++++++++++++++++++
examples/Makefile.am | 8 +++++++
test/Makefile.am | 44 +++++++++++++++++++++++++++++++++++++++
5 files changed, 112 insertions(+), 0 deletions(-)
commit 6edb71ddccce139f6c7de1e43f885fed37f58b1b
Author: Simon McVittie
Date: Mon Jan 22 16:50:19 2007 +0000
API_CHANGES.txt, NEWS: update for 0.79.94 (= 0.80rc4)
API_CHANGES.txt | 4 ----
NEWS | 11 +++++++----
2 files changed, 7 insertions(+), 8 deletions(-)
commit b693df256198cd58c71e97531aa4169999bfd2d8
Author: Simon McVittie
Date: Mon Jan 22 16:49:52 2007 +0000
configure.ac: When building a non-release version, compile with -Werror
configure.ac | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
commit 795927e72a9b5e0a14ea7125c31972d2fc3501dc
Author: Simon McVittie
Date: Fri Jan 19 12:31:56 2007 +0000
Add a "released" flag to configure.ac: if not 1, append the date to the version.
When making official releases please do the following:
* set dbus_python_released to 1 and set the new version
* make the release tarball (make distcheck)
* commit, tag
* change dbus_python_released back to 0 and commit again
configure.ac | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
commit 43c48b9c7fdbb5741daa024df9e7a319d1993dac
Author: Simon McVittie
Date: Wed Jan 17 13:06:33 2007 +0000
dbus/proxies.py: Finish implementing deferred methods so they can be async.
* Queue up async methods and execute them when introspection finishes, instead
of blocking on the introspection operation (heavily based on patch by J5)
* Rename DeferedMethod (sic) to spell Deferred correctly, and rename to
_DeferredMethod (also _ProxyMethod) since these classes are not public API
* Make it safe to keep a reference to a DeferredMethod and call it with
differing arguments:
meth = proxy.DoStuff
meth(1, reply_handler=on_reply, error_handler=on_error)
meth(2, reply_handler=on_reply, error_handler=on_error)
* Make it safe to keep references to DeferredMethod even after introspection
has finished - if called after introspection finishes, silently do an
immediate call
* Add some locking to avoid subtle failures if one thread appends
to the pending introspect queue at the same time another thread gets
introspection results back - ProxyObject and friends should now be
threadsafe (I think)
dbus/proxies.py | 145 +++++++++++++++++++++++++++++++++----------------------
1 files changed, 87 insertions(+), 58 deletions(-)
commit 4dbee87fbe9dd7abb56d8d150d8c8ae7bd01f261
Author: Simon McVittie
Date: Wed Jan 17 12:28:38 2007 +0000
dbus/service.py: cope with exceptions with no __module__
(thanks Phil Thompson, )
dbus/service.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit cc4dfc18c7fe0843b5e118d35a94ca9cca563f98
Author: Simon McVittie
Date: Wed Jan 17 12:27:51 2007 +0000
DBusGMainLoop: avoid reference leak on success
(thanks Phil Thompson, )
_dbus_glib_bindings/module.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 47860b5c25c823587e4e06636acc926b252fe114
Author: Simon McVittie