Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
contain forward slashes.
|
|
|
|
|
|
|
|
Corrected bugs in equality comparisons between stanzas.
|
|
Remaining ElementBase todos:
Write the class documentation for ElementBase.
Write unit tests for the __magic__ methods.
|
|
|
|
|
|
_delSub can now accept a path and will optionally remove any empty parent elements after deleting the target elements.
|
|
|
|
_setSubText can now handle elements specified by an XPath expression, and
will build up the element tree as needed, reusing an existing elements in
the path.
|
|
Also added ElementBase._fix_ns() to apply the stanza namespace to elements that don't have a namespace.
|
|
jid attributes will return '' if not set
|
|
tests.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The sleekxmpp.xmlstream.tostring and sleekxmpp.xmlstream.tostring26 packages
have been merged to sleekxmpp.xmlstream.tostring. The __init__.py file will
import the appropriate tostring function depending on the Python version.
The setup.py file has been updated with the package changes.
ElementBase is now a direct descendent of object and does not subclass ToString.
Stanza objects now return their XML contents for __repr__.
|
|
|
|
use the namespace in a tag name if one is given and to use
self.namespace otherwise.
|
|
|
|
|
|
|
|
|
|
references to nonexistant license.txt to LICENSE.
|
|
attribute accessors
|
|
|
|
registerStanzaPlugin function.
Updated plugins and tests to use new function.
|
|
entire tree is copied.
|
|
Stanzas may now be copied using copy.copy(), which will be useful to prevent
stanza objects from being shared between event handlers.
|
|
|
|
|
|
For example:
iq.reply().error().setPayload(something.xml).send()
|
|
|
|
|
|
test coverage
|
|
|
|
stanzas
|
|
|