Age | Commit message (Collapse) | Author |
|
|
|
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
|
|
Should fix issue #107
|
|
Fixes issue #105
|
|
|
|
|
|
Methods now accept either an ifrom or mfrom parameter
to specify a 'from' value. Client connections should not
need to use these, but component connections must use them.
|
|
Originally contributed by damium/romeira, with some
modifications.
Also, converted tabs to spaces to prepare for future cleanup.
|
|
Originally contributed by skinkie, with a few modifications.
|
|
Use this event to get notified of the subject changes (or to get the
subject of the room when joining one)
|
|
Each module should now log into its own logger.
|
|
|
|
It is now possible to ask for "any number of history stanzas" when
joining a muc (with history=None).
Also we use "maxchars" when asking NO history ("0") since it's a MUST in
the XEP.
And you can specify a message when leaving a MUC.
|
|
|
|
|
|
references to nonexistant license.txt to LICENSE.
|
|
attribute accessors
|
|
registerStanzaPlugin function.
Updated plugins and tests to use new function.
|
|
|
|
|
|
stanzas instead of ElementTree
|
|
|
|
|
|
|
|
* 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)
|
|
|
|
* added status options to muc joining
|
|
* 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.
|
|
|