summaryrefslogtreecommitdiff
path: root/_dbus_bindings/mainloop.c
Commit message (Collapse)AuthorAgeFilesLines
* Use PyVarObject_HEAD_INIT to initialize typesBarry Warsaw2011-12-131-2/+1
| | | | | | Part of a patch for Python 3 compatibility. Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
* fd.o #23831: make sure to ref types passed to PyModule_AddObjectSimon McVittie2010-12-021-0/+2
| | | | | | | This avoids these static types wrongly being deallocated. Python implements static types as having one initial reference, which is never meant to be released, but if you get your refcounting wrong they'll be "deallocated" (causing a crash) during Py_Finalize.
* Hook DBusServer into the build system.Simon McVittie2008-07-141-0/+19
| | | | Based on parts of the patch by Huang Peng <phuang@redhat.com>
* Relicense Collabora code under the MIT/X11 license proposed for dbus core, ↵Simon McVittie2007-09-271-15/+18
| | | | removing all references to the LGPL as a result
* _dbus_bindings/mainloop.c: Remove Watch and Timeout.Simon McVittie2007-07-311-357/+0
| | | | | | | 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.
* Avoid using deprecated dbus_watch_get_fd()Simon McVittie2007-06-211-1/+7
|
* Audit tp_dealloc callbacks to make sure they preserve the exception state.Simon McVittie2007-02-071-1/+2
| | | | | | * 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, _dbus_bindings, _dbus_glib_bindings: remove accidentally duplicated ↵Simon McVittie2007-01-251-2/+0
| | | | lines in license statement
* Convert generic glue, main loop integration, message append/get_args, ↵Simon McVittie2006-12-111-0/+538
validation into separate translation units - no *-impl.h remaining