summaryrefslogtreecommitdiff
path: root/sleekxmpp/xmlstream
AgeCommit message (Collapse)Author
2010-10-21Fixed mixed text and elements bug in tostring.Lance Stout
XML of the form <a>foo <b>bar</b> baz</a> was outputted as <a>foo <b>bar</b> baz baz</a>. Includes unit test.
2010-10-20misc small tweakssleek-1.0-Beta11.0-Beta1Nathan Fritz
2010-10-20reconnect if session isn't established within 15 secondsNathan Fritz
2010-10-20capture SIGHUP and SIGTERM (windows) and disconnect; also testall no longer ↵Nathan Fritz
loads string26 with python3
2010-10-20fixed disconnectNathan Fritz
2010-10-18Continue converting to underscored names.Lance Stout
2010-10-17Underscore names by default.Lance Stout
Stanza objects now accept the use of underscored names. The CamelCase versions are still available for backwards compatibility, but are discouraged. The property stanza.values now maps to the old getStanzaValues and setStanzaValues, in addition to _set_stanza_values and _get_stanza_values.
2010-10-16Cleanup, restore PEP8.Lance Stout
2010-10-17Remove deprecation warningsFlorent Le Coz
Remove all the deprecation warnings by using only boundjid. And also fix a indentation error.
2010-10-17Anonymous authenticationFlorent Le Coz
Implemented ANONYMOUS authentication on the ClientXMPP class. To use it, you just need to provide a domain (e.g 'anon.example.com') with an optional resource (e.g 'anon.example.com/resource') as the JID, with no password. The JID class has been improved to accept domains as fulljid. You can test this with echo_client.py python echo_client.py -j anon.louiz.org/ # anonymous with a resource # defined by the server python echo_client.py -j anon.louiz.org/resource # anonymous with given # resource The "normal" authentication method still works exactly like before.
2010-10-14fixed JID to accept server/domain/host as the sameNathan Fritz
2010-10-14don't import statemachineNathan Fritz
2010-10-14deprecated jid, fulljid, server, user, resource properties and added ↵Nathan Fritz
boundjid JID
2010-10-14fixed socket name collision in xmlstream.py and fixed python 3.x compatibilityNathan Fritz
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-07Corrected test errors.Lance Stout
There was a bug in the XML compare method.
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-06More PEP8 compliance cleanups.Lance Stout
Cleaned up the atom entry stanza.
2010-10-06Cleaned up the Scheduler.Lance Stout
2010-10-06Moved ClientXMPP to clientxmpp.py.Lance Stout
Cleaned up the __init__.py files.
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-01Fixed tostring bug when using mapped namespaces.Lance Stout
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-09-01Updated all of the matcher classes in sleekxmpp.xmlstream.matcher.Lance Stout
Matchers are now PEP8 compliant and have documentation.
2010-09-01Fixed line spacing in filesocket.py to please pep8.Lance Stout
2010-09-01A few cleanups to make things simpler.Lance Stout
2010-08-30Fixed ElementBase.match to match using sub_interface elements.Lance Stout
2010-08-30Fixed typos in ElementBase._fix_nsLance Stout
2010-08-30Updated ElementBase.match to respect namespaces with slashes.Lance Stout
Required adding option to _fix_ns to not propagate namespaces to child elements.
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-08-27Added unit tests for StanzaBase.Lance Stout
2010-08-27Updated xmlstream.filesocket.Lance Stout
2010-08-27Updated StanzaBase with documentation.Lance Stout
2010-08-26Added comments to _fix_ns to clarify the cleaning procedure.Lance Stout
2010-08-26Fixed ElementBase._fix_ns and related methods to respect namespaces which ↵Lance Stout
contain forward slashes.
2010-08-26Fixed indentation in StanzaBase.Lance Stout
2010-08-26Clarify ElementBase documentation.Lance Stout
2010-08-26Fixed line lengths in ElementBase to comply with PEP8.Lance Stout