summaryrefslogtreecommitdiff
path: root/_dbus_bindings/conn-methods.c
Commit message (Collapse)AuthorAgeFilesLines
* adjust Scott's patch to force boolean to be 0 or 1, and for coding styleSimon McVittie2011-05-171-2/+4
|
* Wrap dbus_connection_set_allow_anonymous()Scott Tsai2011-05-171-0/+20
| | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34342 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
* Use Py_CLEAR for greater robustnessSimon McVittie2010-12-021-30/+30
|
* Bugfix for: if using Connection.add_message_filter, only the last filter ↵Huang Peng2008-07-151-0/+1
| | | | will be called
* Relicense Collabora code under the MIT/X11 license proposed for dbus core, ↵Simon McVittie2007-09-271-14/+17
| | | | removing all references to the LGPL as a result
* Use PyArg_ParseTuple correctly, fixing the timeout in ↵Simon McVittie2007-07-111-2/+2
| | | | | | 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)
* _dbus_bindings/conn-methods.c: add list_exported_child_objects().Simon McVittie2007-05-291-0/+62
| | | | This is equivalent to dbus_connection_list_registered() in libdbus.
* Implement DBusException in pure Python; add get_dbus_name() method and name= ↵Simon McVittie2007-05-161-2/+4
| | | | keyword argument
* Remove BusImplementation, removing its remaining functionality to Connection.Simon McVittie2007-04-301-0/+30
| | | | | | | | | * 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
* Remove trailing whitespace in C sourceSimon McVittie2007-04-241-2/+2
|
* If send_with_reply() returns TRUE but with pending call NULL, cope gracefully.Simon McVittie2007-02-211-0/+7
| | | | | | 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.
* Don't examine args for functions declared METH_NOARGS.Simon McVittie2007-02-211-6/+3
| | | | | It's not guaranteed to be non-NULL, and Python checks there are no arguments so we don't have to.
* Actually commit the numerous copyright-statement changes.Simon McVittie2007-02-071-7/+7
|
* dbus, _dbus_bindings, _dbus_glib_bindings: remove accidentally duplicated ↵Simon McVittie2007-01-251-2/+0
| | | | lines in license statement
* When running without a main loop, don't make introspection fail.Simon McVittie2007-01-161-7/+17
| | | | | | Also change send_message_with_reply() to not demand a main loop by default (since you can call block() on the returned object, like blocking introspection does).
* Switch types from int to Py_ssize_t to be compatible with Python 2.5 on ↵Simon McVittie2007-01-161-1/+1
| | | | 64-bit archs
* Don't require a main loop unless async calls, signal connections or exported ↵Simon McVittie2007-01-091-0/+30
| | | | objects are actually made. (Increases backwards compatibility with Pyrex-dbus-python)
* Switch to autotools and test with Python 2.5 as well as 2.4.Simon McVittie2006-12-181-3/+2
| | | | | | | | | | | | | | In the process: HACKING.txt: update include/dbus-python.h: add some typedefs to make it saner bus.c, conn.c, conn-methods.c: further alter docstrings to keep epydoc happy exceptions.c: create exceptions in a more longwinded way for Python 2.5 compatibility message-get-args.c, bus/__init__.py: tweak docstrings dbus/introspect_parser.py: make docstring valid reStructuredText run-test.sh: simplify, since configure now does some of the work test/*.py: use paths from run-test.sh, cope with out-of-tree builds test-standalone.py: carry out additional sanity checks
* bus.c, conn-methods.c, conn.c: Alter format of signatures in docstrings to ↵Simon McVittie2006-12-181-5/+6
| | | | keep epydoc happy
* conn-methods.c: Add tracingSimon McVittie2006-12-131-0/+21
|
* _dbus_bindings/bus.c, _dbus_bindings/conn-methods.c, _dbus_bindings/conn.c: ↵Simon McVittie2006-12-121-7/+21
| | | | Add lifecycle debugging and assertions
* _dbus_bindings: split out conn, conn-methods into separate translation unitsSimon McVittie2006-12-081-0/+862