Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Deprecate dbus.gobject_service and make it vaguely compatible with 1.0 | Simon McVittie | 2012-05-02 | 1 | -1/+15 |
| | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=48904 | ||||
* | Reinstate the old dbus.gobject_service, but only for Python 2 | Simon McVittie | 2012-05-02 | 1 | -0/+71 |
| | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=48904 | ||||
* | Rename gobject_service (PyGI version) to gi_service | Simon McVittie | 2012-05-02 | 1 | -6/+6 |
| | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=48904 | ||||
* | Deprecate dbus.glib (use dbus.mainloop.glib or dbus.mainloop.qt4) | Simon McVittie | 2012-01-24 | 1 | -0/+10 |
| | |||||
* | More Python 3 porting, this time primarily to get test-client.py working. | Barry Warsaw | 2011-12-16 | 2 | -33/+48 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Changes include: - DBusException.get_dbus_message(): In Python 3, the str of the exception will already be a unicode, so don't try to decode it unless it's a bytes object (a.k.a. 8-bit str in Python 2). - gobject_service.py: Switch to pygi and rewrite the metaclass instantiation code to be portable between Python 2 and Python 3. - run-test.sh: echo a few more useful environment variables - test-client.py: - Globally replace deprecated assertEquals with assertEqual - Globally replace deprecated assert_ with assertTrue - Use bytes objects for both 'ay' signatured methods on the server - AcceptUnicodeString will return a native unicode, i.e. a str in Python 3 and a unicode in Python 2. Python 3 has no `unicode` built-in. - Reformat some long lines for debugging. - test-service.py: - Open the log file in 'a' mode for easier tailing. - AcceptUnicodeString will return a native unicode, i.e. a str in Python 3 and a unicode in Python 2. Python 3 has no `unicode` built-in. - reformat some long lines for debugging. - Put module-scope code into a main() function and add a bunch of logger output for better debugging. `session_bus` must still be global though. Wrap main() in a bit try/except to log all top-level exceptions. | ||||
* | Fix the match rule semantics so that a match rule of "arg0='/'" does not match | Barry Warsaw | 2011-12-15 | 1 | -9/+9 |
| | | | | object paths in Python3, as per Simon's review comments. | ||||
* | - Added back the missing PY3PORT.rst file, with updates. | Barry Warsaw | 2011-12-15 | 1 | -2/+3 |
| | | | | | | | - Disallow appending unicode objects with 'y' (bytes) signatures. This now requires either a bytes object or an integer. Update the tests to reflect - this change. - Fix broken __all__ in Python 3. | ||||
* | This is the big one; it adds Python 3 support. | Barry Warsaw | 2011-12-15 | 10 | -66/+138 |
| | |||||
* | Modernize multiline imports in preparation for Python 3 support. | Barry Warsaw | 2011-12-13 | 8 | -74/+57 |
| | |||||
* | Modernize `raise` syntax in preparation of Python 3 support. | Barry Warsaw | 2011-12-13 | 1 | -4/+4 |
| | |||||
* | Import threading instead of thread. The latter is gone in Python 3. | Barry Warsaw | 2011-12-13 | 3 | -15/+4 |
| | |||||
* | Remove dbus_bindings, deprecated for nearly 5 years | Simon McVittie | 2011-12-13 | 3 | -59/+0 |
| | |||||
* | Use Python 3 syntax to catch exceptions | Barry Warsaw | 2011-12-13 | 5 | -9/+9 |
| | | | | Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> | ||||
* | Merge branch 'fd-passing' | Simon McVittie | 2011-05-24 | 1 | -2/+3 |
|\ | | | | | | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=30812 Tested-by: Elvis Pfützenreuter <epx@signove.com> | ||||
| * | Added Unix Fd support to dbus-python | Elvis Pfützenreuter | 2011-05-18 | 1 | -2/+3 |
| | | |||||
* | | _ProxyMethod: allow an explicit signature to be given to method calls | Simon McVittie | 2011-05-18 | 1 | -13/+18 |
|/ | | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=36206 Reviewed-by: Will Thompson <will.thompson@collabora.co.uk> | ||||
* | ProxyObject: clear _pending_introspect_queue after execution | Scott Tsai | 2011-05-17 | 1 | -0/+1 |
| | | | | Signed-off-by: Simon McVittie <smcv@debian.org> | ||||
* | Fixed typo in dbus/bus.py where list_activatable_names would call ↵ | Johan Sandelin | 2010-03-24 | 1 | -1/+1 |
| | | | | | | org.freedesktop.DBus.ListNames instead of org.freedesktop.DBus.ListActivatableNames Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk> | ||||
* | fd.o #15013: expose dbus.lowlevel.MESSAGE_TYPE_SIGNAL and friends | Simon McVittie | 2010-02-18 | 1 | -2/+10 |
| | |||||
* | Cleanup self._signal_recipients_by_object_path (fd.o #17551) | Marco Pesenti Gritti | 2008-09-15 | 1 | -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 errors | Simon McVittie | 2008-07-17 | 2 | -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 release | Simon McVittie | 2008-07-17 | 1 | -1/+1 |
| | |||||
* | Alter dbus.server.Server API to have pseudo-signals | Simon McVittie | 2008-07-15 | 1 | -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_disconnection | Simon McVittie | 2008-07-14 | 1 | -0/+24 |
| | |||||
* | dbus.server.Server: implement a stub version of _on_new_connection | Simon McVittie | 2008-07-14 | 1 | -0/+17 |
| | |||||
* | Fix *another* thinko in dbus.server | Simon McVittie | 2008-07-14 | 1 | -1/+1 |
| | |||||
* | Fix thinko in dbus.server: actually instantiate a _Server | Simon McVittie | 2008-07-14 | 1 | -0/+2 |
| | |||||
* | Add some whitespace to make reStructuredText happy | Simon McVittie | 2008-07-14 | 1 | -0/+2 |
| | |||||
* | Rename _dbus_bindings.Server to _dbus_bindings._Server | Simon McVittie | 2008-07-14 | 1 | -1/+1 |
| | |||||
* | DBusPyServer: construct a user-specified subtype of Connection | Simon McVittie | 2008-07-14 | 1 | -0/+20 |
| | |||||
* | Initial support for DBusServer class (#14322). | Mathias Hasselmann | 2008-07-14 | 1 | -0/+38 |
| | |||||
* | Don't assume that libdbus only gives method call messages to object-path ↵ | Simon McVittie | 2008-01-22 | 1 | -1/+4 |
| | | | | handlers (fd.o #14199) | ||||
* | When user sets reply_handler but not error_handler raise ↵ | Simon McVittie | 2007-12-10 | 1 | -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 McVittie | 2007-10-09 | 8 | -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 McVittie | 2007-10-09 | 1 | -28/+0 |
| | | | | top-level types module (fd.o #12741) | ||||
* | fd.o #12432: fix documentation for remove_from_connection | Simon McVittie | 2007-09-27 | 1 | -4/+0 |
| | |||||
* | dbus.exceptions.DBusException: allow setting _dbus_error_name in subclasses | Simon McVittie | 2007-09-27 | 1 | -1/+3 |
| | |||||
* | Don't raise KeyError when closing private dbus.Bus. (fd.o #12096) | Simon McVittie | 2007-09-27 | 1 | -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 McVittie | 2007-09-27 | 6 | -65/+107 |
| | | | | removing all references to the LGPL as a result | ||||
* | dbus.service: Don't assume that exceptions passed to asynchronous callbacks ↵ | Simon McVittie | 2007-09-27 | 1 | -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 McVittie | 2007-08-01 | 2 | -2/+41 |
| | |||||
* | Fix introspection on objects with more than one connection or more than one ↵ | Simon McVittie | 2007-08-01 | 1 | -6/+6 |
| | | | | object path (bugs.fd.o #11794) | ||||
* | Measure async call timeout in seconds as intended, not in ms (blocking calls ↵ | Simon McVittie | 2007-07-31 | 1 | -1/+1 |
| | | | | already used seconds). Add regression tests | ||||
* | Try to avoid importing things from _dbus_bindings when they could be ↵ | Simon McVittie | 2007-07-18 | 6 | -33/+29 |
| | | | | imported from public API | ||||
* | dbus.proxies: If making a call with ignore_reply=True, don't block for ↵ | Simon McVittie | 2007-06-29 | 1 | -1/+2 |
| | | | | introspection | ||||
* | dbus.service: use DBUS_INTROSPECT_1_0_XML_DOCTYPE_DECL_NODE | Simon McVittie | 2007-06-21 | 1 | -1/+1 |
| | |||||
* | Expose HANDLER_RESULT_HANDLED, HANDLER_RESULT_NOT_YET_HANDLED as public API ↵ | Simon McVittie | 2007-06-21 | 1 | -2/+5 |
| | | | | in dbus.lowlevel | ||||
* | Get stacklevel right on deprecation of not specifying bus in BusName.__init__ | Simon McVittie | 2007-06-21 | 1 | -1/+1 |
| | |||||
* | dbus.service: Deprecate the omission of the `bus` argument in the BusName ↵ | Simon McVittie | 2007-06-20 | 1 | -4/+13 |
| | | | | | | constructor. Explicit is better than implicit. | ||||
* | Improve API documentation markup, particularly adding :Since: annotations | Simon McVittie | 2007-06-19 | 5 | -30/+88 |
| |