summaryrefslogtreecommitdiff
path: root/sleekxmpp/basexmpp.py
AgeCommit message (Collapse)Author
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-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-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-20Please tab nanny.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-07-19Can now pass a name to add_handler so that the handler can be reliably ↵Lance Stout
removed later. Updated uses of add_handler to include a name.
2010-07-19stanza should not have setValues/getValues because that conflicts with ↵Nathan Fritz
attribute accessors
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-06Modified basexmpp.event() to pass a copy of the event data to each handler.Lance Stout
2010-06-01Make sure that the id parameter used in xmpp.makeIq is converted to a string.Lance stout
Otherwise, SleekXMPP will barf on trying to serialize an integer when it expects text.
2010-05-26plugins now are checked for post_init having ran when process() is calledNathan Fritz
2010-05-25Added a flag to registerPlugin to control calling the plugin's post_init method.Lance Stout
2010-05-21Added del_event_handler to remove handler functions for a given event.Lance Stout
All registered handlers for the event which use the given function will be removed. Using this method allows agents to reconfigure their behaviour on the fly without needing to add extra state information to event handling functions.
2010-05-12added test for unsolicided unavailable presence and fixed bug to make it passNathan Fritz
2010-05-11refactored presence tracking and fixed jidInRoomNathan Fritz
2010-04-18changed_status event now happens with got_offline/got_online eventsNathan Fritz
2010-04-07fixed html-im stanza pluginNathan Fritz
2010-04-07added missing docstrings to tests and added deprecated warning to ↵Nathan Fritz
basexmpp.send when using xml mask waiting
2010-04-07replaced usage of deprecated iq result on send. Fixed old send result to use ↵Nathan Fritz
stanzas instead of ElementTree
2010-03-26changed license to MITsleek-0.9RC10.9RC1Nathan Fritz
2010-03-26added memleak test and attempted to fix presence leakNathan Fritz
2010-02-27fixed some presence bugsNathan Fritz
2010-02-25fixed some unicode problems for 2.6Nathan Fritz
2010-02-15tweaked presence handlerNathan Fritz
2010-01-27fixed status change issueNathan 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-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-15makeMessage and makePresence now use new stanza classesNathan Fritz
fixed component usage of stanzas
2009-12-11* started converstion to stanza objectsNathan Fritz
2009-12-10tweaked stanzas for easy useNathan Fritz
2009-12-10* added proper message and iq stanzas. presence left to doNathan Fritz
2009-11-11* clean up offline contactsNathan Fritz
2009-09-25bugfixesNathan Fritz
2009-09-15* fixed unavailable status in sendPresenceNathan Fritz
* fixed jabber:client filtering for components
2009-09-05* fixesNathan 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-07-11base message and presence events detect xmlns being usedNathan Fritz
2009-06-25made disconnect cleanerNathan Fritz
2009-06-16* bugfixesNathan Fritz
2009-06-03moved seesmic branch to trunkNathan Fritz