Jean-Marie Traissard
2ce13dc40e
http://python.org/dev/peps/pep-0008/ " Comparisons to singletons like None should always be done with 'is' or 'is not', never the equality operators."
...
Comparisons to None part
roster_win.py is NOT checked here (waiting for modelfilter)
2008-04-18 00:02:56 +00:00
Yann Leboulanger
c71eed99b8
set xml:lang attribute on opening XML stream. fixes #2772
2007-07-27 20:00:44 +00:00
Yann Leboulanger
efaa1a18e7
add a now argument to the send function, so that stanza is sent instantly instead of added to queue. Use it to send answer to adhoc command when we disconnect. fixes #3008 and #2808
2007-03-15 12:53:29 +00:00
junglecow
5f16eb633b
Re-deleted exc_clear. Reason:
...
- It's unnecessary
- It confuses people
See [7433] and #1575 . This is an old workaround for psyco braindeadness, which
we don't use anymore. If there's a reason this should stay in code, please
document clearly, and re-add. Thanks.
2006-12-27 18:57:30 +00:00
Nikos Kouremenos
64dec82bb6
readd something, unless there is a reason it got removed in [7706]
2006-12-27 06:09:15 +00:00
junglecow
3c77ffd406
[PyOpenSSL branch]
...
- Close connection after creating account. Fixes #2676
- Handle normal connection close by server. Fixes #2671
- Do not disconnect if we haven't received starttag yet. Fixes #2668 . Fixes unticketed bug causing account creation not to work with PyOpenSSL and asynchronous handshake (see also #2671 ). Behaviour of #2634 is also improved but now results in deadlock.
2006-11-18 15:09:40 +00:00
junglecow
4617618463
Removing all calls to sys.exc_clear(). This is only necessary in very rare circumstances, and if there is such a circumstance, it should be clearly documented in code.
2006-11-13 15:07:47 +00:00
Stefan Bethge
bf69759900
fix #2649
2006-11-06 22:47:25 +00:00
Stefan Bethge
745434fdab
give error messages when local message could not be sent, see #2586
2006-11-06 21:30:39 +00:00
Dimitur Kirov
da309569e3
add possibility to overide StremInit by _owner
2006-09-19 15:14:53 +00:00
Dimitur Kirov
e9a855007b
better xmmpppy plugin integration.
...
fixed xml error with iChats
2006-09-19 12:46:09 +00:00
Dimitur Kirov
1a325833c3
add listening server for incomming messages
2006-09-17 22:57:41 +00:00
Stefan Bethge
2b3120244f
merged trunk r6780
...
removed i18n imports from zeroconf/connection files
2006-09-14 16:48:03 +00:00
Dimitur Kirov
f9e874a1a3
make sure NBClientCommon, dispatcher and
...
NodeBuilder are callected when we close the
connection
2006-05-03 16:12:10 +00:00
Dimitur Kirov
114264ca13
stop if Process has return 0, meaning that it
...
closed the connection
2006-03-29 23:33:17 +00:00
Dimitur Kirov
b3de43ae3f
disconnect after stream end tag, unregister
...
two more handlers
2006-03-16 17:29:30 +00:00
Dimitur Kirov
d316c6d8b4
reconnect (if configured), instead of
...
disconnect on expat error
2006-03-15 20:46:50 +00:00
Dimitur Kirov
032ed4f22c
typo
2006-03-15 19:47:11 +00:00
Dimitur Kirov
5e19b20377
return unregister attemped on undefined
...
namespace handlers
2006-03-15 19:43:22 +00:00
Dimitur Kirov
59283050e1
close connection when invalid xml is received
...
call sys.exc_clear in catched exceptions
2006-03-10 20:36:15 +00:00
Yann Leboulanger
d3417371c0
clear _expected dict when callback is called. This way when another stanza arrives with the same id, it isn't catched as expected.
2006-03-05 20:30:38 +00:00
Dimitur Kirov
f62db4acfe
Switched to non-blocking connections.
...
Removed threads and mutexes in connection.py
and gajim.py.
Add resolver through nslookup command, removed
dnspython and pydns (for now).
2006-02-03 12:17:34 +00:00