Yann Leboulanger
992e90208e
[thorstenp] use != instead of <>
2008-10-11 10:02:49 +00:00
Yann Leboulanger
196dd7e30a
[thorstenp] use isinstance rather than type(x) == y. use sorted()
2008-10-11 09:59:52 +00:00
Yann Leboulanger
00543277e4
[thorstenp] replace ` with repr
2008-10-11 09:51:27 +00:00
Yann Leboulanger
ed748fdda3
[thorstenp] replace list with tuple in for and if
2008-10-11 09:42:59 +00:00
Yann Leboulanger
9d7c80d522
[thorstenp] replace has_key by key in dict. Fixes #4392
2008-10-07 20:41:59 +00:00
js
8605cd3f38
For historical reasons, we have a tab width of 3. This is strange, but
...
we have that in all files. To at least lesser the confusion a bit, add
vim tags for that.
Additionally, fix wrong #! in a few files.
2008-07-29 19:49:31 +00:00
Jean-Marie Traissard
968b2acc4f
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; second one...
roster_win.py is NOT checked here (waiting for modelfilter)
2008-04-18 00:26:07 +00:00
Norman Rasmussen
f0adbc9892
fixed line endings
2006-01-20 13:23:38 +00:00
Norman Rasmussen
65f67a7a04
upstream updates
2006-01-18 20:46:29 +00:00
Yann Leboulanger
c283e7e92c
we can now handeled timeouts: when we don't receive registration info within 30 secondes, we show an information window
2005-11-19 19:33:11 +00:00
Yann Leboulanger
6d3fe8e459
hack in order to register our Event handler as soon as Dispatcher is pluged in
2005-11-06 10:12:22 +00:00
Nikos Kouremenos
ce2b7cad6a
[xmpppy-cvs] non-fatal patch. thanks norman
2005-10-11 12:27:27 +00:00
Yann Leboulanger
ff1edfffff
add getAnID() function
2005-09-10 09:24:39 +00:00
Yann Leboulanger
0c64b91de4
no need to knowthe ID to know if it's our vcard
2005-08-08 13:34:48 +00:00
Yann Leboulanger
a7572c4352
we not send sha of our VCARD (JEP 153) in every presences
2005-08-07 21:42:32 +00:00
Nikos Kouremenos
4054ed3384
remove in_buffer patch from xmppp because it was slowing parsing because of timeout being too high? anyways we should reelase 0.8 someday
2005-08-03 10:28:21 +00:00
Nikos Kouremenos
f51c2b0f95
initial patch: do not throw all xml at once to parser because that freezes UI until process is finished. TODO: a better way to seperate what is left to seperate and send by smaller chunks to parser
2005-07-31 17:18:27 +00:00
Yann Leboulanger
d62b4e1ea2
NAT Timeout packet are now sent from connection.py so they will be configurable and won't be sent while we connect to a server
2005-06-22 14:54:02 +00:00
Yann Leboulanger
0f41e49758
set default timeout of xmpp to 45 instead of 25
2005-05-23 09:53:05 +00:00
Yann Leboulanger
fe53843edb
we wait 45 for keepalive packages
2005-05-22 17:24:20 +00:00
Yann Leboulanger
6f6f45d07b
check for KeyError ( fix #311 )
2005-05-22 10:10:41 +00:00
Yann Leboulanger
b5ed8ee163
apply Alexey patch for TLS error. Now buffer is 1M, so this workaround should prevent TLS crash
2005-05-20 13:27:39 +00:00
Yann Leboulanger
2f35fade71
bugfix when keepalive package doen't come back
2005-05-10 17:45:10 +00:00
Yann Leboulanger
aa9de25923
Alexey patch that allows discover that server is violating RFC by not restarting stream after TLS start.
...
If server did such thing xmpppy will not crash unpredictely but will issue a appropriate exception.
2005-05-10 09:27:04 +00:00
Yann Leboulanger
2171def073
we get the roster asynchronously now
2005-05-08 17:00:41 +00:00
Yann Leboulanger
58705bbba5
patch from Alexey: new function: SendAndCallForResponse.
...
It will help in resolving locking problems
2005-05-07 16:16:24 +00:00
Yann Leboulanger
54ae5dc351
send only _one_ keepAlive packet
2005-05-07 12:41:29 +00:00
Yann Leboulanger
56d60f3fd5
xmpppy changes:
...
- Sync with latest CVS version + gajim patches.
- streamErrorHandler disabled. If you want enable it - unrem it at line 66 of
dispatcher.py
- TLS re-enabled. Should work fine now
- disconnection TLS plugout re-enabled. Didn't successed in reproducing
problem though so maybe not fixed.
- My temporary fixes replaced with CVS ones.
gajim connection.py changes (in chunks order):
- getTags is incorrect. Replaced with getChildren
- browseAgents is absent from xmpppy. Fixed with manual node send. Made use of
buildReply method and con argument
- formatting fix
- crude fixed register problem. I do not know how to do it properly. It is
client stuff. Honest! I have no idea how to make it non-blocking and yet make
library to fallback to older protocols.
getInstructions() moved to xmpppy
Thanks Alexey !
2005-05-07 10:57:40 +00:00
Yann Leboulanger
e8965ae8b4
send keepalive every minute
2005-05-04 19:20:02 +00:00
Yann Leboulanger
c85273d556
switch from jabberpy to xmpppy
2005-04-26 18:45:54 +00:00