summaryrefslogtreecommitdiff
path: root/dbus
Commit message (Collapse)AuthorAgeFilesLines
* fd.o #15013: expose dbus.lowlevel.MESSAGE_TYPE_SIGNAL and friendsSimon McVittie2010-02-181-2/+10
|
* Cleanup self._signal_recipients_by_object_path (fd.o #17551)Marco Pesenti Gritti2008-09-151-1/+9
| | | | | | | | | | | | | | | | In Connection, add_signal_receiver adds object paths to self._signal_recipients_by_object_path and they are not cleaned by remove_signal_receiver. As a result self._signal_recipients_by_object_path keeps growing indefinitely. This seem to work for me. I know very little about dbus-python though, so I could very well be doing it wrong. https://bugs.freedesktop.org/show_bug.cgi?id=17551 https://bugs.freedesktop.org/attachment.cgi?id=18857 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
* Omit the remote traceback from certain D-Bus errorsSimon McVittie2008-07-172-1/+37
| | | | | | | | | | | 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).
* Update NEWS. Let's call the next release 0.83 since it's a feature releaseSimon McVittie2008-07-171-1/+1
|
* Alter dbus.server.Server API to have pseudo-signalsSimon McVittie2008-07-151-4/+44
| | | | | | 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.
* Add Connection.call_on_disconnectionSimon McVittie2008-07-141-0/+24
|
* dbus.server.Server: implement a stub version of _on_new_connectionSimon McVittie2008-07-141-0/+17
|
* Fix *another* thinko in dbus.serverSimon McVittie2008-07-141-1/+1
|
* Fix thinko in dbus.server: actually instantiate a _ServerSimon McVittie2008-07-141-0/+2
|
* Add some whitespace to make reStructuredText happySimon McVittie2008-07-141-0/+2
|
* Rename _dbus_bindings.Server to _dbus_bindings._ServerSimon McVittie2008-07-141-1/+1
|
* DBusPyServer: construct a user-specified subtype of ConnectionSimon McVittie2008-07-141-0/+20
|
* Initial support for DBusServer class (#14322).Mathias Hasselmann2008-07-141-0/+38
|
* Don't assume that libdbus only gives method call messages to object-path ↵Simon McVittie2008-01-221-1/+4
| | | | handlers (fd.o #14199)
* When user sets reply_handler but not error_handler raise ↵Simon McVittie2007-12-101-2/+2
| | | | MissingReplyHandlerException instead of MissingErrorHandlerException, and vice versa (fd.o #12304, patch from René Neumann)
* Use MIT/X11 license as per permission given on the dbus mailing list.Simon McVittie2007-10-098-110/+142
| | | | | | | | | | | 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)
* Use non-recursive make for dbus/ to work around types.py clash with ↵Simon McVittie2007-10-091-28/+0
| | | | top-level types module (fd.o #12741)
* fd.o #12432: fix documentation for remove_from_connectionSimon McVittie2007-09-271-4/+0
|
* dbus.exceptions.DBusException: allow setting _dbus_error_name in subclassesSimon McVittie2007-09-271-1/+3
|
* Don't raise KeyError when closing private dbus.Bus. (fd.o #12096)Simon McVittie2007-09-271-7/+4
| | | | | | 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.
* Relicense Collabora code under the MIT/X11 license proposed for dbus core, ↵Simon McVittie2007-09-276-65/+107
| | | | removing all references to the LGPL as a result
* dbus.service: Don't assume that exceptions passed to asynchronous callbacks ↵Simon McVittie2007-09-271-1/+10
| | | | | | are the same as the pending exception (fd.o #12403, https://dev.laptop.org/ticket/3370)
* Add rel_path_keyword to @method (fd.o #11623)Simon McVittie2007-08-012-2/+41
|
* Fix introspection on objects with more than one connection or more than one ↵Simon McVittie2007-08-011-6/+6
| | | | object path (bugs.fd.o #11794)
* Measure async call timeout in seconds as intended, not in ms (blocking calls ↵Simon McVittie2007-07-311-1/+1
| | | | already used seconds). Add regression tests
* Try to avoid importing things from _dbus_bindings when they could be ↵Simon McVittie2007-07-186-33/+29
| | | | imported from public API
* dbus.proxies: If making a call with ignore_reply=True, don't block for ↵Simon McVittie2007-06-291-1/+2
| | | | introspection
* dbus.service: use DBUS_INTROSPECT_1_0_XML_DOCTYPE_DECL_NODESimon McVittie2007-06-211-1/+1
|
* Expose HANDLER_RESULT_HANDLED, HANDLER_RESULT_NOT_YET_HANDLED as public API ↵Simon McVittie2007-06-211-2/+5
| | | | in dbus.lowlevel
* Get stacklevel right on deprecation of not specifying bus in BusName.__init__Simon McVittie2007-06-211-1/+1
|
* dbus.service: Deprecate the omission of the `bus` argument in the BusName ↵Simon McVittie2007-06-201-4/+13
| | | | | | constructor. Explicit is better than implicit.
* Improve API documentation markup, particularly adding :Since: annotationsSimon McVittie2007-06-195-30/+88
|
* Mark Bus.get_connection() as deprecated; improve Bus.__repr__Simon McVittie2007-06-191-8/+10
|
* Implement fallback objects.Simon McVittie2007-06-182-47/+120
| | | | | | | | 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.bus: In watch_name_owner, only watch the desired name!Simon McVittie2007-06-121-1/+2
|
* dbus.bus: Ignore any errors while cleaning up signal matches, so we can make ↵Simon McVittie2007-06-111-1/+1
| | | | the call asynchronously
* dbus.service: Allow objects to start off unexported, and become exported later.Simon McVittie2007-06-112-54/+236
| | | | | | 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.bus: when a unique name goes away, disconnect all signal handlers.Simon McVittie2007-06-071-9/+10
| | | | Unique names are not recycled, so no more signals can arrive for that name.
* dbus.service: change unexport() to remove_from_connection() at J5's requestSimon McVittie2007-06-041-6/+8
|
* dbus.service: Make it possible to unexport objects (fd.o#10457)Simon McVittie2007-05-301-1/+32
|
* dbus.service: include child nodes in introspectionSimon McVittie2007-05-291-0/+4
|
* dbus.connection: Release signals lock before calling _clean_up_signal_match().Simon McVittie2007-05-282-21/+26
| | | | | | | | | | 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: detect NameHasNoOwner correctly, using new get_dbus_name() methodSimon McVittie2007-05-211-6/+6
|
* dbus.proxies: Log more informatively when introspection fails, and use ↵Simon McVittie2007-05-171-1/+6
| | | | logging rather than just stderr
* Implement DBusException in pure Python; add get_dbus_name() method and name= ↵Simon McVittie2007-05-168-22/+38
| | | | keyword argument
* dbus/gobject_service.py: Make ExportedGObject __init__ accept GObject propertiesSimon McVittie2007-05-071-2/+23
|
* dbus/service.py: Before emitting an error, configure logging to write to ↵Simon McVittie2007-05-071-0/+1
| | | | stderr, unless already configured
* dbus/service.py: Don't use deprecated get_connection() in Object constructor.Simon McVittie2007-05-041-3/+1
| | | | | The Connection and BusConnection base classes don't have it, and we can now export Objects on a plain Connection.
* Deprecate all arguments called named_service; use bus_name insteadSimon McVittie2007-05-033-39/+137
|
* dbus/gobject_service.py: Make ExportedGObject work correctly.Simon McVittie2007-05-032-2/+12
| | | | Also add a simple unit test for it.