summaryrefslogtreecommitdiff
path: root/test/test-standalone.py
Commit message (Collapse)AuthorAge
* Imported Upstream version 1.2.4Simon McVittie2016-03-06
|
* Imported Upstream version 1.2.2~rc1Simon McVittie2016-02-22
|
* utf8 test: pass when used with dbus 1.6.10, 1.7.2Simon McVittie2013-05-08
| | | | We used to reject noncharacters, but now we accept them.
* fd.o #40817: validate UTF-8 according to the same rules as libdbusSimon McVittie2012-06-25
|
* Py3: correctly guess the signature of ObjectPath(...) and Signature(...)Simon McVittie2012-06-05
| | | | | | | | | | | | Under Python 2, ObjectPath and Signature are subtypes of str (= bytes), and the existing type-guessing worked. The type-guessing code assumed that all unicode objects were just strings, but that assumption became false in the Python 3 port: ObjectPath and Signature are still subtypes of str, but str now means unicode, not bytes. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=50740
* Test behaviour of various Message methodsSimon McVittie2012-01-11
|
* Do not allow Byte(unicode(x)) (i.e. Byte(str(x)) in Python 3)Simon McVittie2012-01-11
| | | | | Unicode strings aren't bytestrings, so there's no obvious meaning for the byte value of a Unicode string of length 1.
* Fix the match rule semantics so that a match rule of "arg0='/'" does not matchBarry Warsaw2011-12-15
| | | | object paths in Python3, as per Simon's review comments.
* - Added back the missing PY3PORT.rst file, with updates.Barry Warsaw2011-12-15
| | | | | | | - 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 Warsaw2011-12-15
|
* First round of PyInt -> PyLong changes. These are only compatible with PythonBarry Warsaw2011-12-14
| | | | | | | 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.
* fd.o #21831: deserialize empty ByteArray objects correctlySimon McVittie2010-11-23
| | | | | | For some reason libdbus gives us NULL instead of a pointer to a zero-length object (i.e. any random place in the message would do), which Py_BuildValue doesn't interpret the way we'd want it to.
* Relicense Collabora code under the MIT/X11 license proposed for dbus core, ↵Simon McVittie2007-09-27
| | | | removing all references to the LGPL as a result
* Actually commit the numerous copyright-statement changes.Simon McVittie2007-02-07
|
* test/, include/: remove accidentally duplicated lines from license statementSimon McVittie2007-01-25
|
* Ensure we put the right number of items in a struct or message and add test ↵Simon McVittie2007-01-16
| | | | | | | | | | | cases. This avoids us getting kicked off the bus when trying to put the wrong number of things in a struct - this used to happen, but was masked by the fact that the tests ran with service activation, so the service was just killed and reactivated. Forthcoming changes to get_object make this automatic reactivation not happen (messages will be directed to the unique name by default, so stateful communication can work).
* Add special case to serialization: objects with a __dbus_object_path__ ↵Simon McVittie2007-01-10
| | | | attribute are serialized as that object path. Add that attribute to ProxyObject, dbus.Interface and dbus.service.Object.
* When putting a ByteArray into a variant array, serialise it as an array of ↵Simon McVittie2007-01-09
| | | | variants containing byte, not an array of variants containing string
* Switch to autotools and test with Python 2.5 as well as 2.4.Simon McVittie2006-12-18
| | | | | | | | | | | | | | 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
* Stop asserting that dbus.Struct(()) worksSimon McVittie2006-12-05
|
* Update tests for the new variant APISimon McVittie2006-11-14
|
* Revert switch from Byte being an int subclass to a str subclass following ↵Simon McVittie2006-11-02
| | | | | | | discussion with J5. Switching Byte to be a single-character string is arguably more Pythonic, but needlessly breaks API.
* test/test-standalone.py: Test API guarantee that integer types subclass int ↵Simon McVittie2006-10-05
| | | | or long
* Add copyright, AFL2.1, GPL2 notices, which might even be correct...Simon McVittie2006-09-27
| | | | | | | | | The lists of copyright holders are derived from the D-Bus CVS changelog: I've erred on the side of adding people to the list rather than not. For now I've assumed that J5's contributions are owned by Red Hat, Collabora people's contributions (Rob McQueen, Rob Taylor, Ole Andre Ravnaas, myself) are owned by Collabora and everything else is owned by the author.
* Add a test case for the various options to get_args_list.Simon McVittie2006-09-27
| | | | Fix ByteArray unmarshalling.
* Throughout dbus-python: Use the C implementation.Simon McVittie2006-09-26
Add document API_CHANGES.txt listing visible API changes. Add more test cases, for low-level Python <-> D-Bus type mappings. Amend existing test cases to cope with the API changes.