Lance Stout 
							
						 
					 
					
						
						
							
						
						debf909359 
					 
					
						
						
							
							Merge branch 'develop' into roster  
						
						 
						
						
						
						
					 
					
						2010-11-17 14:33:09 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						b8114b25ed 
					 
					
						
						
							
							Make live stream tests work better.  
						
						 
						
						... 
						
						
						
						SleekTest can now use matchers when checking stanzas, using
the method parameter for self.check(), self.recv(), and self.send():
    method='exact'      - Same behavior as before
           'xpath'      - Use xpath matcher
           'id'         - Use ID matcher
           'mask'       - Use XML mask matcher
           'stanzapath' - Use StanzaPath matcher
recv_feature and send_feature only accept 'exact' and 'mask' for now. 
						
						
					 
					
						2010-11-17 13:43:15 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						d2aca3e7e0 
					 
					
						
						
							
							Remove extraneous files.  
						
						 
						
						
						
						
					 
					
						2010-11-17 02:04:36 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						26aca2b789 
					 
					
						
						
							
							Merge branch 'roster' of github.com:fritzy/SleekXMPP into roster  
						
						 
						
						... 
						
						
						
						Conflicts:
	sleekxmpp/basexmpp.py
	sleekxmpp/roster.py
	sleekxmpp/test/sleektest.py
	tests/test_stream_presence.py
	tests/test_stream_roster.py 
						
						
					 
					
						2010-11-17 02:01:12 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						5424ede413 
					 
					
						
						
							
							More cleanup.  
						
						 
						
						
						
						
					 
					
						2010-11-17 01:54:30 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						69d430dd75 
					 
					
						
						
							
							Cleaned up names.  
						
						 
						
						
						
						
					 
					
						2010-11-17 01:49:51 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						673545c7e4 
					 
					
						
						
							
							First pass at integrating the new roster manager.  
						
						 
						
						
						
						
					 
					
						2010-11-17 01:49:19 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						d0c506f930 
					 
					
						
						
							
							Simplified SleekTest.  
						
						 
						
						... 
						
						
						
						* check_stanza does not require stanza_class parameter. Introspection!
* check_message, check_iq, and check_presence removed -- use check
  instead.
* stream_send_stanza, stream_send_message, stream_send_iq, and
  stream_send_presence removed -- use send instead.
* Use recv instead of recv_message, recv_presence, etc.
* check_jid instead of check_JID
* stream_start may accept multi=True to return a new SleekTest instance
  for testing multiple streams at once. 
						
						
					 
					
						2010-11-05 21:18:48 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						c6ed4b8a1d 
					 
					
						
						
							
							Cleaned up names.  
						
						 
						
						
						
						
					 
					
						2010-10-27 08:09:50 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						65aa6573df 
					 
					
						
						
							
							First pass at integrating the new roster manager.  
						
						 
						
						
						
						
					 
					
						2010-10-26 23:47:17 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						5bdcd9ef9d 
					 
					
						
						
							
							Made exceptions work.  
						
						 
						
						... 
						
						
						
						Raising an XMPPError exception from an event handler now works, even if
from a threaded handler.
Added stream tests to verify.
We should start using XMPPError, it really makes things simple! 
						
						
					 
					
						2010-10-25 15:09:56 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						2eff35cc7a 
					 
					
						
						
							
							Added more presence stream tests.  
						
						 
						
						... 
						
						
						
						Tests auto_authorize=False, and got_online. 
						
						
					 
					
						2010-10-25 13:21:00 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						ac330b5c6c 
					 
					
						
						
							
							Fixed bug in presence subscription handling.  
						
						 
						
						... 
						
						
						
						Subscription requests and responses were not setting the correct 'to'
attribute. 
						
						
					 
					
						2010-10-25 12:52:32 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						46ffa8e9fe 
					 
					
						
						
							
							Added stream tests for presence events.  
						
						 
						
						... 
						
						
						
						First batch of tests, currently focuses on the got_offline event. 
						
						
					 
					
						2010-10-24 19:57:07 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						03847497cc 
					 
					
						
						
							
							Added test for error stanzas.  
						
						 
						
						
						
						
					 
					
						2010-10-24 19:56:42 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						185d7cf28e 
					 
					
						
						
							
							More JID unit tests.  
						
						 
						
						... 
						
						
						
						sleekxmpp.xmlstream.jid now has 100% coverage! 
						
						
					 
					
						2010-10-24 19:06:54 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						9e3d506651 
					 
					
						
						
							
							Fixed resource bug in JIDs.  
						
						 
						
						... 
						
						
						
						JIDs without resources will return '' instead of the bare JID.
Cleaned up JID tests, and added check_JID to SleekTest. 
						
						
					 
					
						2010-10-24 18:22:41 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						d528884723 
					 
					
						
						
							
							Added stream tests for rosters.  
						
						 
						
						
						
						
					 
					
						2010-10-24 12:53:14 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						8f55704928 
					 
					
						
						
							
							Fixed mixed text and elements bug in tostring.  
						
						 
						
						... 
						
						
						
						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-21 16:21:28 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						4375ac7d8b 
					 
					
						
						
							
							Underscore names by default.  
						
						 
						
						... 
						
						
						
						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-17 22:04:42 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						b0e036d03c 
					 
					
						
						
							
							Added example live stream test.  
						
						 
						
						... 
						
						
						
						Run using:
python tests/live_test.py 
						
						
					 
					
						2010-10-07 19:46:40 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						e02ffe8547 
					 
					
						
						
							
							Corrected test errors.  
						
						 
						
						... 
						
						
						
						There was a bug in the XML compare method. 
						
						
					 
					
						2010-10-07 19:42:28 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						0fffbb8200 
					 
					
						
						
							
							Unit test reorganization.  
						
						 
						
						... 
						
						
						
						Moved SleekTest to sleekxmpp.test.
Organized test suites by their focus.
- Suites focused on testing stanza objects are named test_stanza_X.py
- Suites focused on testing stream behavior are name test_stream_X.py 
						
						
					 
					
						2010-10-07 10:58:13 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						75a051556f 
					 
					
						
						
							
							Changed SleekTest to use underscored names.  
						
						 
						
						
						
						
					 
					
						2010-10-07 09:22:27 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						88d21d210c 
					 
					
						
						
							
							Corrected stream header tester.  
						
						 
						
						... 
						
						
						
						Added test for testing stream headers. 
						
						
					 
					
						2010-10-06 18:46:23 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						f234dc02cf 
					 
					
						
						
							
							Updated SleekTest and related tests.  
						
						 
						
						... 
						
						
						
						May now use a component for stream testing.
Methods provided for testing stream headers. 
						
						
					 
					
						2010-10-06 18:10:04 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						9f0baec7b2 
					 
					
						
						
							
							Made first pass at cleaning BaseXMPP.  
						
						 
						
						... 
						
						
						
						Have not intregrated the new JID class yet. 
						
						
					 
					
						2010-10-01 23:56:46 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						9a34c9a9a1 
					 
					
						
						
							
							Modified event handling to use the event queue.  
						
						 
						
						... 
						
						
						
						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-01 13:49:58 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						3749c1b88c 
					 
					
						
						
							
							Fixed ElementBase.match to match using sub_interface elements.  
						
						 
						
						
						
						
					 
					
						2010-08-30 17:12:10 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						9c62bce206 
					 
					
						
						
							
							Updated ElementBase.match to respect namespaces with slashes.  
						
						 
						
						... 
						
						
						
						Required adding option to _fix_ns to not propagate namespaces to child elements. 
						
						
					 
					
						2010-08-30 14:55:30 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						89fb15e896 
					 
					
						
						
							
							Updated the suite of handler classes with documentation.  
						
						 
						
						... 
						
						
						
						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-27 16:42:26 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						906aa0bd68 
					 
					
						
						
							
							Fixed SleekTest compare method to check XML text.  
						
						 
						
						... 
						
						
						
						Corrected resulting test failures. All pass again. 
						
						
					 
					
						2010-08-27 15:48:48 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						bb6f4af8e2 
					 
					
						
						
							
							Added unit tests for StanzaBase.  
						
						 
						
						
						
						
					 
					
						2010-08-27 12:22:35 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						37ff17b0cb 
					 
					
						
						
							
							Added unit test for _fix_ns for handling namespaces with forward slashes.  
						
						 
						
						
						
						
					 
					
						2010-08-26 18:27:18 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						d68bc2ba07 
					 
					
						
						
							
							Finished the update of ElementBase with docs and unit tests.  
						
						 
						
						... 
						
						
						
						Corrected bugs in equality comparisons between stanzas. 
						
						
					 
					
						2010-08-26 13:49:36 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						a3580dcef9 
					 
					
						
						
							
							Fixed ElementBase.match to respect namespaces.  
						
						 
						
						
						
						
					 
					
						2010-08-25 14:54:09 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						1eaa9cb28c 
					 
					
						
						
							
							Updated ElementBase.match and added unit tests.  
						
						 
						
						
						
						
					 
					
						2010-08-25 14:40:16 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						5d458bf6c2 
					 
					
						
						
							
							Updated ElementBase._delSub and added unit tests.  
						
						 
						
						... 
						
						
						
						_delSub can now accept a path and will optionally remove any empty parent elements after deleting the target elements. 
						
						
					 
					
						2010-08-25 10:52:07 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						c8f406d1b3 
					 
					
						
						
							
							Updated ElementBase._setSubText and added unit tests.  
						
						 
						
						... 
						
						
						
						_setSubText can now handle elements specified by an XPath expression, and
will build up the element tree as needed, reusing an existing elements in
the path. 
						
						
					 
					
						2010-08-24 09:37:42 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						203986dd7c 
					 
					
						
						
							
							Updated ElementBase._getSubText and added unit tests.  
						
						 
						
						... 
						
						
						
						Also added ElementBase._fix_ns() to apply the stanza namespace to elements that don't have a namespace. 
						
						
					 
					
						2010-08-24 08:55:37 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								fritzy 
							
						 
					 
					
						
						
							
						
						f4ecf0bac4 
					 
					
						
						
							
							fixed a but in stanza_pubsub  
						
						 
						
						
						
						
					 
					
						2010-08-22 06:08:48 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						8a0616b3e0 
					 
					
						
						
							
							Updated ElementBase methods _getAttr, _setAttr, and _delAttr with docs and tests.  
						
						 
						
						
						
						
					 
					
						2010-08-19 20:41:26 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						fac3bca1f6 
					 
					
						
						
							
							Updated ElementBase.__delitem__ and added unit tests.  
						
						 
						
						
						
						
					 
					
						2010-08-19 19:11:12 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						e4240dd593 
					 
					
						
						
							
							Updated ElementBase.__setitem__ and added unit tests.  
						
						 
						
						
						
						
					 
					
						2010-08-19 14:21:58 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						2f6f4fc16d 
					 
					
						
						
							
							Updated ElementBase.__getitem__ with docs and unit tests.  
						
						 
						
						
						
						
					 
					
						2010-08-13 21:33:11 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						fe49b8c377 
					 
					
						
						
							
							Updated getStanzaValues and setStanzaValues with docs and unit tests.  
						
						 
						
						
						
						
					 
					
						2010-08-13 20:05:24 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						c20fab0f6c 
					 
					
						
						
							
							Updated ElementBase.setup, and added unit tests.  
						
						 
						
						
						
						
					 
					
						2010-08-13 12:24:47 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						c721fb4126 
					 
					
						
						
							
							Added a generic checkStanza method to SleekTest. Updated the other check methods to use it.  
						
						 
						
						
						
						
					 
					
						2010-08-13 12:23:34 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						5da7bd1866 
					 
					
						
						
							
							Removed unused xmlcompare.py.  
						
						 
						
						
						
						
					 
					
						2010-08-12 01:26:01 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lance Stout 
							
						 
					 
					
						
						
							
						
						22134c302b 
					 
					
						
						
							
							Updated SleekTest with docs and PEP8 style.  
						
						 
						
						
						
						
					 
					
						2010-08-12 01:25:42 -04:00