summaryrefslogtreecommitdiff
path: root/sleekxmpp/xmlstream/handler
AgeCommit message (Collapse)Author
2012-09-25Add Collector stanza handler class.Lance Stout
This style of handler is necessary for capturing result sets from queries that use multiple messages to send the results instead of in a single result stanza. Notably, XEP-0313 (MAM).
2012-07-24Standardize importing of queue class.Lance Stout
This will make it easier to enable gevent support.
2012-06-19PEP8 formatting updates.Lance Stout
2012-02-18More pyflakes cleanup.Lance Stout
2011-12-04Update api docs for handlers and matchersLance Stout
2011-11-20Convert daemon threads back into normal threads.Lance Stout
This may need to be reverted if CTRL-C handling breaks, but everything works fine so far in testing. Resolves issue #95.
2011-11-19Tidy up logging calls.Lance Stout
2011-11-20This change stops sleekxmpp from spending huge amounts of time unnecessarily ↵Vijay Pandurangan
computing logging data that may never be used. This is a HUGE performance improvement; in some of my test runs, unnecessary string creation was accounting for > 60% of all CPU time. Note that using % in a string will _always_ perform the sting substitutions, because the strings are constructed before the function is called. So log.debug('%s' % expensiveoperation()) will take about the same CPU time whether or not the logging level is DEBUG or INFO. if you use , no substitutions are performed unless the string is actually logged
2011-10-08Break reference cycle to fix potential memory leaks for callback handlers.Lance Stout
2011-02-14Remap old method names in a better way.Lance Stout
This should prevent some reference cycles that will cause garbage collection issues.
2011-02-14More attempts at fixing garbage collection.Lance Stout
Don't keep a reference to stanzas in Callback objects.
2011-02-14Break references that can prevent garbage collection.Lance Stout
2011-02-13Make one-off Callbacks ready for deletion after the prerun step.Lance Stout
Waiting until the actual run step means that the handler is not marked for deletion when checked in the __spawn_event() thread, causing the callback to stay in the handler list.
2010-11-17Fix RESPONSE_TIMEOUT dependency loops.Lance Stout
2010-11-06Logging no longer uses root logger.Lance Stout
Each module should now log into its own logger.
2010-10-18Continue converting to underscored names.Lance Stout
2010-10-06Moved ClientXMPP to clientxmpp.py.Lance Stout
Cleaned up the __init__.py files.
2010-09-01A few cleanups to make things simpler.Lance Stout
2010-08-27Fix some documentation typos.Lance Stout
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-07-29Added useful imports to the xmlstream, xmlstream.handler, and ↵Lance Stout
xmlstream.matcher __init__.py files to make it simpler to import common classes.
2010-07-20Updated license notices to use the correct MIT format. Also corrected ↵Lance Stout
references to nonexistant license.txt to LICENSE.
2010-03-26changed license to MITsleek-0.9RC10.9RC1Nathan Fritz
2010-01-08* python 2.6 compatibilityNathan 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-11* started converstion to stanza objectsNathan Fritz
2009-10-29* fixed bugs with XEP 50 for componentsNathan Fritz
* configuration-less nodes
2009-10-19* 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-06-03moved seesmic branch to trunkNathan Fritz