summaryrefslogtreecommitdiff
path: root/dbus/bus.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed typo in dbus/bus.py where list_activatable_names would call ↵Johan Sandelin2010-03-241-1/+1
| | | | | | org.freedesktop.DBus.ListNames instead of org.freedesktop.DBus.ListActivatableNames Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
* Relicense Collabora code under the MIT/X11 license proposed for dbus core, ↵Simon McVittie2007-09-271-13/+17
| | | | removing all references to the LGPL as a result
* Try to avoid importing things from _dbus_bindings when they could be ↵Simon McVittie2007-07-181-1/+1
| | | | imported from public API
* Improve API documentation markup, particularly adding :Since: annotationsSimon McVittie2007-06-191-20/+43
|
* 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.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.connection: Release signals lock before calling _clean_up_signal_match().Simon McVittie2007-05-281-1/+1
| | | | | | | | | | 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
|
* Implement DBusException in pure Python; add get_dbus_name() method and name= ↵Simon McVittie2007-05-161-1/+1
| | | | keyword argument
* Deprecate all arguments called named_service; use bus_name insteadSimon McVittie2007-05-031-11/+38
|
* dbus/bus.py: Add watch_name_owner().Simon McVittie2007-05-011-37/+57
| | | | | | | 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: correct name of loggerSimon McVittie2007-04-301-2/+2
|
* Move signal matching machinery into superclassesSimon McVittie2007-04-301-1/+89
|
* Move get_object, constants into Connection and BusConnection. Add docstringsSimon McVittie2007-04-301-3/+57
|
* Convert _BusDaemonMixin and _MethodCallMixin into base classes BusConnection ↵Simon McVittie2007-04-301-3/+19
| | | | | | | | 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/_bus_mixin.py: Add bindings for ListNames, ListActivatableNames, ↵Simon McVittie2007-04-301-0/+29
| | | | GetNameOwner too
* dbus/bus.py: get BUS_DAEMON_NAME etc. from _dbus_bindingsSimon McVittie2007-04-301-5/+2
|
* Move the client method-call machinery from dbus.proxies to ↵Simon McVittie2007-04-301-44/+32
| | | | | | | | 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).
* Implement o.fd.DBus method wrappers in Python instead of C.Simon McVittie2007-04-301-0/+191
This reduces the need to have _dbus_bindings.BusImplementation and makes peer-to-peer connections easier to implement.