summaryrefslogtreecommitdiff
path: root/sleekxmpp/xmlstream/stanzabase.py
AgeCommit message (Collapse)Author
2010-08-26Clarify ElementBase documentation.Lance Stout
2010-08-26Fixed line lengths in ElementBase to comply with PEP8.Lance Stout
2010-08-26Finished the update of ElementBase with docs and unit tests.Lance Stout
Corrected bugs in equality comparisons between stanzas.
2010-08-26Updated the remaining ElementBase methods.Lance Stout
Remaining ElementBase todos: Write the class documentation for ElementBase. Write unit tests for the __magic__ methods.
2010-08-25Fixed ElementBase.match to respect namespaces.Lance Stout
2010-08-25Updated ElementBase.match and added unit tests.Lance Stout
2010-08-25Updated ElementBase._delSub and added unit tests.Lance Stout
_delSub can now accept a path and will optionally remove any empty parent elements after deleting the target elements.
2010-08-24Fixed indenting issue.Lance Stout
2010-08-24Updated ElementBase._setSubText and added unit tests.Lance Stout
_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.
2010-08-24Updated ElementBase._getSubText and added unit tests.Lance Stout
Also added ElementBase._fix_ns() to apply the stanza namespace to elements that don't have a namespace.
2010-08-21added form compatibility with old api, stanzas now bool() to True on 2.x, ↵fritzy
jid attributes will return '' if not set
2010-08-19Updated ElementBase methods _getAttr, _setAttr, and _delAttr with docs and ↵Lance Stout
tests.
2010-08-19Small cleanup in ElementBase.__setitem__Lance Stout
2010-08-19Updated ElementBase.__delitem__ and added unit tests.Lance Stout
2010-08-19Updated ElementBase.__setitem__ and added unit tests.Lance Stout
2010-08-13Updated ElementBase.__getitem__ with docs and unit tests.Lance Stout
2010-08-13Updated getStanzaValues and setStanzaValues with docs and unit tests.Lance Stout
2010-08-13Updated ElementBase.enable and ElementBase.initPluginLance Stout
2010-08-13Updated ElementBase.setup, and added unit tests.Lance Stout
2010-08-13Updated ElementBase.__init__Lance Stout
2010-08-13Adjust first level indenting in ElementBase to prepare for cleanup.Lance Stout
2010-08-13Updated registerStanzaPlugin and the XML test type.Lance Stout
2010-08-12Cleaned stanzabase imports.Lance Stout
2010-08-05Replaced the ToString class with a tostring function.Lance Stout
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__.
2010-07-30Added optional default value to _getAttr.Lance Stout
2010-07-29Modified ElementBase _getSubText, _setSubText, and _delSubText toLance Stout
use the namespace in a tag name if one is given and to use self.namespace otherwise.
2010-07-26Merge branch 'experimental' of git@github.com:fritzy/SleekXMPP into experimentalNathan Fritz
2010-07-26removed jid from stanzabase to external fileNathan Fritz
2010-07-26Replaced traceback calls to use logging.exception where applicable.Lance Stout
2010-07-20Issue 26. Only set from address in reply() for componentsJoe Hildebrand
2010-07-20Updated license notices to use the correct MIT format. Also corrected ↵Lance Stout
references to nonexistant license.txt to LICENSE.
2010-07-19stanza should not have setValues/getValues because that conflicts with ↵Nathan Fritz
attribute accessors
2010-07-19indent problem on stanzabaseNathan Fritz
2010-07-19Condensed all of the stanzaPlugin functions into a single ↵Lance Stout
registerStanzaPlugin function. Updated plugins and tests to use new function.
2010-06-07Needed to use copy.deepcopy() to copy XML objects to make sure that the ↵Lance Stout
entire tree is copied.
2010-06-06Added a __copy__ method to both ElementBase and StanzaBase.Lance Stout
Stanzas may now be copied using copy.copy(), which will be useful to prevent stanza objects from being shared between event handlers.
2010-05-31Scheduler waits too longer, and pubsubstate registration was backwardsNathan Fritz
2010-05-27added pubsub state stanzas and scheduled eventsNathan Fritz
2010-05-25Modified the return values for several methods so that they can be chained.Lance Stout
For example: iq.reply().error().setPayload(something.xml).send()
2010-05-12fixed a rather large memory leakNathan Fritz
2010-04-22bugfixes and continuing to work on pubsub testsNathan Fritz
2010-04-21added pubsub#event stanzas, multi-subtypes iterable stanzas, pubsub#event ↵Nathan Fritz
test coverage
2010-04-19added pubsub tests and fixed match on iterator errorNathan Fritz
2010-04-14adding tests, fixed stanzapath matching to match keys, fixed pubsub#owner ↵Nathan Fritz
stanzas
2010-04-13bugfix for .disconnect() hangingNathan Fritz
2010-03-26changed license to MITsleek-0.9RC10.9RC1Nathan Fritz
2010-03-24stanzabase indent fixNathan Fritz
2010-03-24fix for bug #18Nathan Fritz
2010-02-25fixed some unicode problems for 2.6Nathan Fritz
2010-01-29fixed unicode problems in 2.6Nathan Fritz