Lance Stout
a420771665
Updated todo file again.
...
Only 11 plugins left to tidy before 1.0!
2011-03-23 10:10:54 -04:00
Lance Stout
393259c24b
Merge branch 'develop' into roster
2011-03-23 10:01:10 -04:00
Lance Stout
f2449009d1
Updated todo file.
2011-03-23 10:00:48 -04:00
Lance Stout
833f95b53a
Cleaned XEP-0249 plugin, added tests.
2011-03-23 10:00:32 -04:00
Lance Stout
756c4c032f
Merge branch 'develop' into roster
2011-03-22 20:48:09 -04:00
Lance Stout
4b1fadde4b
Updated XEP-0128 plugin to work with the new XEP-0030 plugin.
...
Required fixing a few bugs in StanzaBase related to iterable
substanzas.
2011-03-22 20:42:43 -04:00
Lance Stout
e1360ae049
Merge branch 'develop' into roster
2011-03-22 12:00:01 -04:00
Lance Stout
86a6b40fd8
Updated doc for connect()
2011-03-22 11:59:27 -04:00
Lance Stout
7ef6abb2a3
May pass use_tls=False to connect().
...
Will disable the use of TLS for the session.
2011-03-22 11:56:55 -04:00
Lance Stout
b048f8d733
Merge branch 'develop' into roster
2011-03-18 17:36:35 -04:00
Lance Stout
dbf6780345
Change namespace inclusion in strings.
...
ElementBase instances will display the top-most namespace by default.
StanzaBase instances will NOT display the top-most namespace by default.
May pass True or False to __str__ to override.
2011-03-18 17:34:07 -04:00
Lance Stout
450c313340
Fix error in stanza handler registration in XEP-0092.
2011-03-18 17:30:29 -04:00
Lance Stout
f65f88325b
Merge branch 'develop' into roster
2011-03-18 15:51:27 -04:00
Lance Stout
996ca52471
Merge branch 'develop' of github.com:fritzy/SleekXMPP into develop
2011-03-18 15:48:38 -04:00
Lance Stout
6244857746
Fix self.disconnect(reconnect=True) not working.
2011-03-18 15:47:21 -04:00
Florent Le Coz
5635265203
Avoid infinite loop on version result
...
We need to check if type="get". otherwise we will send our version
when we will receive the version of the remote entity, and thus
going in an infinite loop.
2011-03-16 06:45:06 +08:00
Lance Stout
42c8f6ae87
Merge branch 'develop' into roster
2011-02-24 16:19:45 -05:00
Lance Stout
45ccb31356
Remove the occasional warning about XEP-0059 not loaded.
2011-02-24 16:13:44 -05:00
Lance Stout
1a81b2f464
Add tests for XEP-0085, fix some bugs.
2011-02-24 14:15:02 -05:00
Lance Stout
77251452c1
Updated the XEP-0085 plugin.
...
Can now be used as so:
>>> msg['chat_state']
''
>>> msg
<message />
>>> msg['chat_state'] = 'paused'
>>> msg
<message>
<paused xmlns="http://jabber.org/protocol/chatstates " />
</message>
>>> msg['chat_state']
'paused'
>>> del msg['chat_state']
>>> msg
<message />
2011-02-24 12:10:29 -05:00
Lance Stout
4df3aa569b
Bring back the signal handlers (and the "killed" event).
...
Now done more responsibly, saving any existing signal handlers
and calling them when an interrupt occurs in addition to the
one Sleek installs.
NOTE: You may need to explicitly use "kill <process id>" in
order to trigger the proper signal handler execution, and
to raise the "killed" event.
2011-02-23 10:20:04 -05:00
Nathan Fritz
2e2e16e281
fixes to ping: auto-ping off by default, fixed ping-time of zero bug, fixed class name mismatch
2011-02-15 15:24:58 -08:00
Lance Stout
e4f3b777f9
Reset the roster on disconnect instead of replacing it.
2011-02-14 16:24:49 -05:00
Lance Stout
a278f79bdb
Merge branch 'develop' into roster
...
Conflicts:
sleekxmpp/clientxmpp.py
2011-02-14 16:18:44 -05:00
Lance Stout
d709f8db65
Use the _build_stanza method.
2011-02-14 13:50:59 -05:00
Lance Stout
75584d7ad7
Remap old method names in a better way.
...
This should prevent some reference cycles that will cause garbage
collection issues.
2011-02-14 13:49:43 -05:00
Lance Stout
e0f9025e7c
More attempts at fixing garbage collection.
...
Don't keep a reference to stanzas in Callback objects.
2011-02-14 11:30:04 -05:00
Lance Stout
9004e8bbf2
Break references that can prevent garbage collection.
2011-02-14 11:13:41 -05:00
Lance Stout
8b5511c7ec
Simplification when removing a deletable handler.
2011-02-13 16:40:04 -05:00
Lance Stout
34f6195ca5
Return the name of the registered callback.
...
Instead of the actual callback object, return just the name of
the callback object created when using iq.send(callback=..).
This will help prevent memory leaks by not keeping an additional
reference to the object, but still allows for the callback to be
canceled by using self.remove_handler("handler_name").
2011-02-13 16:30:57 -05:00
Lance Stout
70af52d74c
Make one-off Callbacks ready for deletion after the prerun step.
...
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.
2011-02-13 16:28:06 -05:00
Lance Stout
ca2b4a188a
Return the registered callback when using iq.send(callback=foo).
...
Allows for a callback to be canceled by unregistering the
returned handler.
2011-02-12 11:01:43 -05:00
Lance Stout
0d32638379
XMPPError exceptions can keep a stanza's contents.
...
This allows exceptions to include the original
content of a stanza in the error response by including
the parameter clear=False when raising the exception.
2011-02-11 15:20:26 -05:00
Lance Stout
c4b1212c44
Updated XEP-0199 plugin.
...
Now has docs and uses the new plugin format.
2011-02-11 00:30:45 -05:00
Nathan Fritz
3463bf46c6
added option to return false on ping error, added ping example
2011-02-10 13:45:35 -08:00
Lance Stout
13a01beb07
Fix same error for get_info default behaviour.
2011-02-09 09:12:44 -05:00
Lance Stout
145f577bde
Fix get_items default behaviour.
2011-02-09 08:58:00 -05:00
Lance Stout
30da68f47b
Update XEP-0060 test.
2011-02-08 21:09:49 -05:00
Florent Le Coz
72ead3d598
Replace the print statement by a log.debug call
...
This print syntax is deprecated in python3, so
the plugin was working only with python2
2011-02-09 10:02:14 +08:00
Florent Le Coz
4b71fba64c
Fix the xep_0009 import (no more relatives)
...
Also, remove trailing spaces in all files
of this plugin
2011-02-09 10:02:14 +08:00
Lance Stout
606c369173
Some more roster tweaks.
2011-02-08 19:15:50 -05:00
Stefan de Konink
1ed06bebcd
This fixes the configuration stuff, because type is form not submit with setNodeConfiguration.
2011-02-07 23:55:46 +08:00
Lance Stout
aa1996eba6
Fixed failing tests from new XEP-0009 plugin
2011-02-07 10:18:15 -05:00
Nathan Fritz
683f717cf7
fixed merge
2011-02-05 04:54:52 -08:00
Lance Stout
3c871920b1
Make the roster backend settable.
2011-02-02 12:05:34 -05:00
Lance Stout
de6170a13d
Merge branch 'develop' into roster
...
Conflicts:
sleekxmpp/basexmpp.py
2011-02-02 09:13:22 -05:00
Lance Stout
8dbe6f6546
Updated todo list for 1.0 release.
2011-01-31 15:54:44 -05:00
Lance Stout
5313338c3a
Fixes for XEP-0202
2011-01-31 15:40:00 -05:00
Lance Stout
cd800d636a
Merge branch 'develop' of github.com:fritzy/SleekXMPP into develop
2011-01-27 16:05:15 -05:00
Lance Stout
40642b2cd1
Make StreamError work properly.
...
Now uses the correct namespaces and condition names.
2011-01-27 16:02:57 -05:00