| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | This is the big one; it adds Python 3 support. | Barry Warsaw | 2011-12-15 | 1 | -2/+30 |
| | | |||||
| * | First round of PyInt -> PyLong changes. These are only compatible with Python | Barry Warsaw | 2011-12-14 | 1 | -1/+1 |
| | | | | | | | | 2, since there are still some unconditional PyInt calls, which are not valid in Python 3. However, it lays the framework for conditionalizing on Python 3 and using only PyLong in that case. Where it doesn't matter, PyLong is used unconditionally. | ||||
| * | In preparation for Python 3 support, use the Python 2 PyBytes aliases for the | Barry Warsaw | 2011-12-14 | 1 | -1/+1 |
| | | | | | | PyString API. This makes the code compilable in Python 2.x (x >= 6) and Python 3. | ||||
| * | For pendantic correctness, and future Python 3 compatibility, explicitly | Barry Warsaw | 2011-12-13 | 1 | -0/+1 |
| | | | | | initialize the weaklist slots. | ||||
| * | Additional PyObject_HEAD_INIT -> PyVarObject_HEAD_INIT changes in preparation | Barry Warsaw | 2011-12-13 | 1 | -2/+1 |
| | | | | | for Python 3 support. | ||||
| * | Use Py_TYPE() rather than thing->ob_type, for Python 3 portability | Simon McVittie | 2011-12-13 | 1 | -1/+1 |
| | | | | | | | Based on part of a patch from Barry Warsaw. Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> | ||||
| * | fd.o #23831: make sure to ref types passed to PyModule_AddObject | Simon McVittie | 2010-12-02 | 1 | -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. | ||||
| * | Use Py_CLEAR for greater robustness | Simon McVittie | 2010-12-02 | 1 | -9/+9 |
| | | |||||
| * | Fix signature and return value of Connection_tp_init (oops) | Simon McVittie | 2010-02-18 | 1 | -1/+3 |
| | | |||||
| * | fd.o#21172: avoid DeprecationWarning with Python 2.6 | Simon McVittie | 2010-02-18 | 1 | -1/+8 |
| | | |||||
| * | Make DBusPyConnection_NewConsumingDBusConnection static now nobody else ↵ | Simon McVittie | 2008-07-15 | 1 | -1/+1 |
| | | | | | needs to call it | ||||
| * | _dbus_bindings._Connection: sort out constructor | Simon McVittie | 2008-07-15 | 1 | -13/+27 |
| | | | | | | | | | | Accept a LibDBusConnection for the address (sic) parameter, so we can construct a Connection for a DBusConnection that already exists. The way all this works right now is a bit unfortunate, with hindsight, but most of it is fixable like this. | ||||
| * | Relicense Collabora code under the MIT/X11 license proposed for dbus core, ↵ | Simon McVittie | 2007-09-27 | 1 | -14/+17 |
| | | | | | removing all references to the LGPL as a result | ||||
| * | Remove trailing whitespace in C source | Simon McVittie | 2007-04-24 | 1 | -1/+1 |
| | | |||||
| * | Actually commit the numerous copyright-statement changes. | Simon McVittie | 2007-02-07 | 1 | -7/+7 |
| | | |||||
| * | Audit tp_dealloc callbacks to make sure they preserve the exception state. | Simon McVittie | 2007-02-07 | 1 | -0/+5 |
| | | | | | | | * 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 McVittie | 2007-01-25 | 1 | -2/+0 |
| | | | | | lines in license statement | ||||
| * | conn.c: fix Connection setup in absence of main loop, and error handling | Simon McVittie | 2007-01-16 | 1 | -1/+4 |
| | | | | | | | | * Only set up a main loop if we actually have one (not None) * Don't double-close the DBusConnection (causing an assertion in libdbus) if we somehow fail to set up the main loop. Thanks to tsuraan <tsuraan at gmail.com> for the bug report. | ||||
| * | Don't require a main loop unless async calls, signal connections or exported ↵ | Simon McVittie | 2007-01-09 | 1 | -6/+2 |
| | | | | | objects are actually made. (Increases backwards compatibility with Pyrex-dbus-python) | ||||
| * | Fix recommendation given by exception message bringing it into sync with ↵ | Simon McVittie | 2006-12-21 | 1 | -1/+1 |
| | | | | | current API (spotted by Phil Thompson) | ||||
| * | Switch to autotools and test with Python 2.5 as well as 2.4. | Simon McVittie | 2006-12-18 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | 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 McVittie | 2006-12-18 | 1 | -2/+3 |
| | | | | | keep epydoc happy | ||||
| * | _dbus_bindings/conn.c: Fix broken weak reference handling, which caused a ↵ | Simon McVittie | 2006-12-13 | 1 | -12/+43 |
| | | | | | | | segfault on OLPC. Also add debug related to this. | ||||
| * | conn.c: Correct number of varargs to debug message | Simon McVittie | 2006-12-12 | 1 | -1/+1 |
| | | |||||
| * | conn.c: Use __func__ instead of incorrect __FUNC__ | Simon McVittie | 2006-12-12 | 1 | -4/+4 |
| | | |||||
| * | _dbus_bindings/bus.c, _dbus_bindings/conn-methods.c, _dbus_bindings/conn.c: ↵ | Simon McVittie | 2006-12-12 | 1 | -6/+25 |
| | | | | | Add lifecycle debugging and assertions | ||||
| * | Split out exceptions, pending call, message into separate .c files | Simon McVittie | 2006-12-11 | 1 | -7/+7 |
| | | |||||
| * | _dbus_bindings: split out conn, conn-methods into separate translation units | Simon McVittie | 2006-12-08 | 1 | -0/+390 |
