Thom Nichols
62da57a6c2
Merge branch 'master' of git://github.com/macdiesel/SleekXMPP into hacks
2010-07-01 17:50:45 -04:00
Tom Nichols
0a23f84ec3
fix for statemachine where operations would unintentionally block if the lock was acquired in a long-running transition
2010-07-01 15:10:22 -04:00
Brian Beggs
d763795b2c
Merge remote branch 'fritzy/master'
...
Conflicts:
sleekxmpp/__init__.py
sleekxmpp/basexmpp.py
sleekxmpp/stanza/error.py
2010-07-01 09:17:45 -04:00
Thom Nichols
34dc236126
added documentation for transition_ctx and removed some superfluous comment lines
2010-06-07 14:41:42 -04:00
Thom Nichols
9464736551
added __str__
2010-06-07 13:58:15 -04:00
Thom Nichols
47f1fb1690
context manager now returns a boolean 'result' as the context variable to indicate whether the transition timed out or if you are actually locked when entering the context body
2010-06-07 13:43:37 -04:00
Thom Nichols
66cf0c2021
context manager is working but there's a fatal flaw: inside the body of the 'with' statement, there's no way to tell whether or not the transition occurred or timed out.
2010-06-07 13:16:02 -04:00
Thom Nichols
d20cd6b3e6
added function execution on transition, and more unit tests.
2010-06-03 13:51:11 -04:00
Thom Nichols
7930ed22f2
overhauled state machine. Now allows for atomic transitions.
...
Next step: atomic function calls (and maybe 'handlers') on state transition.
2010-06-02 12:39:54 -04:00
Lance Stout
bee42e4a2f
Added unit tests for the new XEP-0030 stanza objects. All pass.
...
(cherry picked from commit e1b814f27bf160f20bb30c315ca30769d217482d)
2010-06-01 22:07:53 +08:00
Nathan Fritz
194e6bcb51
added pubsub state stanzas and scheduled events
2010-06-01 22:07:52 +08:00
Nathan Fritz
0b2cd176b1
added test_events and testing new del_event_handler
2010-06-01 22:07:50 +08:00
Nathan Fritz
fa92bc866b
fixed dns unicode problem
2010-05-26 11:37:01 -07:00
Nathan Fritz
feaa7539af
added test_events and testing new del_event_handler
2010-05-20 13:09:04 -07:00
Nathan Fritz
7522839141
added test for unsolicided unavailable presence and fixed bug to make it pass
2010-05-14 01:47:19 +08:00
Nathan Fritz
ae41c08fec
added test for unsolicided unavailable presence and fixed bug to make it pass
2010-05-12 18:07:20 -07:00
Nathan Fritz
e2f841146a
forgot to add file required to pass testall.py
2010-04-22 23:40:50 -07:00
Nathan Fritz
37b571c55a
added pubsub#event stanzas, multi-subtypes iterable stanzas, pubsub#event test coverage
2010-04-21 23:51:37 -07:00
Nathan Fritz
212660091f
added pubsub tests and fixed match on iterator error
2010-04-19 01:03:27 -07:00
Nathan Fritz
80e7e0d0ee
adding tests, fixed stanzapath matching to match keys, fixed pubsub#owner stanzas
2010-04-14 01:23:17 -07:00
Nathan Fritz
2384858f5e
fixed html-im stanza plugin
2010-04-07 23:56:44 -07:00
Nathan Fritz
dd77d2165d
added missing docstrings to tests and added deprecated warning to basexmpp.send when using xml mask waiting
2010-04-07 23:32:15 -07:00
Nathan Fritz
0659ddeff0
added memleak test and attempted to fix presence leak
2010-03-26 13:27:13 -07:00
Nathan Fritz
23b9930c44
added separate tostring files
2010-01-29 02:11:45 -08:00
Nathan Fritz
e39a2395d7
xep 30 and 50 always reply from jid iq sent to
2010-01-15 21:07:28 -08:00
Nathan Fritz
6e1aa0690f
Completed basic test coverage of xmlns http://jabber.org/protocol/pubsub stanzas
2010-01-13 09:04:05 -08:00
Nathan Fritz
da56bef90b
* tests need module file
2010-01-08 07:07:43 +00:00
Nathan Fritz
218c7318e0
* added tests
2010-01-08 07:01:19 +00:00
Nathan Fritz
0af468b435
* fixed stanza.keys()
2010-01-08 05:26:37 +00:00
Nathan Fritz
8e3168e145
* added first stanza tests
...
* added stanza.keys()
* stanza.getValues() now return substanzas and plugins
* stanza.setValues() now can read substanzas and plugins
* stanzas can now be iterable if stanza.subitem is set to a class
2010-01-08 01:45:11 +00:00