summaryrefslogtreecommitdiff
path: root/sleekxmpp/xmlstream/xmlstream.py
AgeCommit message (Collapse)Author
2010-10-13disconnect cleanlyNathan Fritz
2010-10-13new state machine in placeNathan Fritz
2010-10-07SleekTest may now run against a live stream.Lance Stout
Moved SleekTest to sleekxmpp.test package. Corrected error in XML compare method. Added TestLiveSocket to run stream tests against live streams. Modified XMLStream to work with TestLiveSocket.
2010-10-07Fixed dealing with deleting handlers.Lance Stout
The call to .index() may raise a ValueError if the item is not in the list. So both the .index() and .pop() calls should be in the try block.
2010-10-06Merge branch 'develop' of github.com:fritzy/SleekXMPP into developLance Stout
2010-10-06Made first pass at cleaning up ClientXMPP.Lance Stout
Added self.stream_ns to BaseXMPP. Moved connected/disconnected events and logging to XMLStream.
2010-10-06deal with deleting handlers that are no longer therefritzy
2010-10-06XMLStream cleanup.Lance Stout
Added RestartStream as a top level item in sleekxmpp.xmlstream. Fixed trailing whitespace.
2010-10-01Modified event handling to use the event queue.Lance Stout
Updated tests to match. (Needed to add a small wait to make sure the event got through the queue before checking the results.)
2010-10-01Moved event functions to XMLStream.Lance Stout
This is just a transplant, modifying event to use the main event queue has not been implemented yet.
2010-10-01Moved add_handler, send, and sendXML to XMLStream.Lance Stout
2010-10-01Moved getNewId and getId to XMLStream.Lance Stout
This prepares the way for moving add_handler to XMLStream. Since stanzas, matchers, and handlers in any XML stream will typically use unique IDs, XMLStream is a good place for these methods.
2010-10-01Cleaned up trailing whitespace.Lance Stout
2010-09-30Fixed line lengths and trailing whitespace.Lance Stout
The pep8 command is now pleased.
2010-09-30Made a first pass at cleaning up XMLStream.Lance Stout
A few extra methods are mentioned in the docs, but those have not been moved to XMLStream from BaseXMPP yet.
2010-08-27Updated the suite of handler classes with documentation.Lance Stout
Updated XMLStream to return True or False from removeHandler to indicate if the handler existed and was removed. Waiter handlers now unregister themselves after timing out.
2010-08-27Updated xmlstream.filesocket.Lance Stout
2010-08-05Updated the use of tostring in xmlstream.pyLance Stout
Now uses the xmlns and stream parameters to reduce the number of extra xmlns attributes used in the logging output. Added self.default_ns to XMLStream just to be safe.
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-29Added RESPONSE_TIMEOUT constant to sleekxmpp.xmlstream to serve as a single ↵Lance Stout
place to specify a default timeout value when waiting for a stanza response.
2010-07-26Replaced traceback calls to use logging.exception where applicable.Lance Stout
2010-07-20Updated license notices to use the correct MIT format. Also corrected ↵Lance Stout
references to nonexistant license.txt to LICENSE.
2010-06-03Modified xmlstream.py to pass a clean stanza object to each stream handler.Lance Stout
The previous version passed the same stanza object to each registered handler, which can cause issues when the stanza object is modified by one handler. The next handler receives the stanza with the modifications, not the original stanza.
2010-05-28control-c fixesNathan Fritz
2010-05-27added pubsub state stanzas and scheduled eventsNathan Fritz
2010-05-26adding schedulerNathan Fritz
2010-04-13bugfix for .disconnect() hangingNathan Fritz
2010-03-26changed license to MITsleek-0.9RC10.9RC1Nathan Fritz
2010-03-15fixed xmlstream filesocket issueNathan Fritz
2010-03-04added muc functionalityNathan Fritz
2010-02-27fixed some presence bugsNathan Fritz
2010-02-15added send queueing to avoid mixed sendingNathan Fritz
2010-01-25Merge branch 'master' of github.com:fritzy/SleekXMPPNathan Fritz
2010-01-25removed stupid monkeypatch for filesocketNathan Fritz
2010-01-15xep 30 and 50 always reply from jid iq sent toNathan Fritz
2010-01-08* python 2.6 compatibilityNathan Fritz
2010-01-05* major stanza improvementsNathan Fritz
* raise XMPPError in handler to reply with error stanza * started work on pubsub stanzas
2009-12-22* fixed unhandled iqsNathan Fritz
2009-12-17* fixed many stanza bugsNathan Fritz
* added stanza unhandled (unhandled iqs now reply with feature-not-implemented) * added stanza exceptions (stanzas may now reply with exceptions when their handler raises an exception)
2009-12-10tweaked stanzas for easy useNathan Fritz
2009-12-10* added proper message and iq stanzas. presence left to doNathan Fritz
2009-10-29* fixed bugs with XEP 50 for componentsNathan Fritz
* configuration-less nodes
2009-09-05* fixesNathan Fritz
2009-09-01added module config for number of threadsNathan Fritz
2009-08-31* converted sleekxmpp to Python 3.xNathan Fritz
* sleekxmpp no longer spawns threads for callback handlers -- there are now two threads: one for handlers and one for reading. callback handlers can get results from the read queue directly with the "wait" handler which is used in .send() for the reply catching argument.
2009-08-21* fixed xmlstream bugs with unexpected disconnectNathan Fritz
2009-07-11added incoming_filterNathan Fritz
2009-06-25made disconnect cleanerNathan Fritz
2009-06-16* bugfixesNathan Fritz
2009-06-03moved seesmic branch to trunkNathan Fritz