Commit graph

444 commits

Author SHA1 Message Date
Stephan Erb
ed3de38ce5 Revert r10931. Fixes #4632. See #2634 2009-01-03 16:34:58 +00:00
Stephan Erb
28112d6681 Fix indentation error. 2008-12-31 14:04:42 +00:00
Stephan Erb
8a76efb703 Proposed Fix. Make sure we read all data from our SSL socket wrappers and don't just rely on gobject.io_add_watch, select or poll.
This isn't really a clean solution, but the less intrusives fix that I can think of. Fixes #2634.
2008-12-31 14:01:53 +00:00
Stephan Erb
b2a5b1046c Remove print. 2008-12-28 14:55:23 +00:00
Stephan Erb
d8a2d8f447 Backport a few XMPPPY upstream changes.
* Use namespace instead of attrs={} for addChild
 * Unplug SASL module on auth failure (we currently disconnect so don't really need it)
2008-12-28 14:53:20 +00:00
Stephan Erb
f83eb5ae95 Remove two more "from protocol import *". 2008-12-28 01:52:21 +00:00
Brendan Taylor
e98a648908 added licence notice to common/xmpp/c14n.py 2008-12-28 01:39:39 +00:00
Stephan Erb
7c0b1e4ed0 Module documentation for c14n.py. 2008-12-28 01:32:34 +00:00
Stephan Erb
8b3833b443 Coding standards and documentation improvements in features_nb.py. Remove unused methods. 2008-12-28 01:29:33 +00:00
Stephan Erb
d7091c74a4 Remove method that was implemented for old, blocking dispatcher but is now unused. 2008-12-28 00:01:48 +00:00
Stephan Erb
aa9a85767f Move module documentation ontop, so that it will show up in epydoc correctly. 2008-12-27 12:36:28 +00:00
Stephan Erb
233848aec0 Random bits in xmpp. Cosmetic only. 2008-12-27 11:45:58 +00:00
Stephan Erb
b7400724b7 Coding standards and documentation improvements in dispatcher_nb.py. Many open questions remain at my side. Please check FIXMEs. 2008-12-27 11:39:52 +00:00
Stephan Erb
de73b76771 Coding standards and documentation improvements in auth_nb.py 2008-12-26 15:39:18 +00:00
Stephan Erb
7427399a2a More coding standards and documentation improvements in client_nb.py 2008-12-26 15:25:57 +00:00
Stephan Erb
afbac3d3e6 Coding standards and documentation improvements in idlequeue.py.
Fix a potential bug of missing an alarm_callback. Separate public from internal API.
2008-12-26 13:24:37 +00:00
Stephan Erb
40d802284e Coding standards and documentation improvements in client_nb.py 2008-12-24 14:41:26 +00:00
Stephan Erb
5139e7c8d0 Add credits and remove outdated documentation from __init__.py 2008-12-24 14:28:17 +00:00
Stephan Erb
6999e1bbb6 Make three docstrings epydoc enabled. See http://epydoc.sourceforge.net/manual-docstring.html 2008-12-24 13:56:02 +00:00
Stephan Erb
59b0216898 Remove Jacob Lundqvist's xmpp/debug.py module. We have switched to builtin python logging. 2008-12-24 13:51:15 +00:00
Stephan Erb
a8cfd83c3e Move GObjectIdleQueue from gajim.py to idlequeue.py 2008-12-24 13:44:23 +00:00
Stephan Erb
6b5e9ea7ce Documentation improvements in client.py 2008-12-24 13:25:57 +00:00
Stephan Erb
9ec00eda74 Document consturctor in proxy_connector.py 2008-12-24 11:41:09 +00:00
Stephan Erb
1e00674505 Coding standards and documentation improvements in tls_nb.py 2008-12-24 11:10:58 +00:00
Stephan Erb
5c02a907b4 Coding standards and documentation improvements in transports_nb.py 2008-12-24 11:10:38 +00:00
Yann Leboulanger
45f9366d58 do'nt try starttls if stream version < 1.0. Fixes #4600 2008-12-22 09:59:35 +00:00
Yann Leboulanger
08bb703640 fix GSSAPI authentication 2008-12-18 18:16:04 +00:00
Yann Leboulanger
b317ffcdae merge BOSH branch to trunk 2008-12-15 21:06:08 +00:00
Yann Leboulanger
24bb239fdb prevent traceback when server doen't include a query in jabber:iq:roster reply. Fixes #4579 2008-12-15 15:32:59 +00:00
Yann Leboulanger
e389e0b16b [thorstenp] remove whitespace at eol 2008-12-03 21:56:12 +00:00
Yann Leboulanger
c271d1f15a fix bad indentation 2008-12-03 21:37:54 +00:00
Yann Leboulanger
3392c54dd0 [thorstenp] fix empty exception clauses 2008-12-03 21:37:05 +00:00
Yann Leboulanger
f0dce41ab6 fix string exceptions 2008-12-03 21:35:07 +00:00
Yann Leboulanger
5eb402ba4b [thorsten] pfix exceptions not inheriting from exception 2008-12-03 21:26:34 +00:00
Yann Leboulanger
60ba33eb31 [thorstenp] fix possible undefined loop variables 2008-12-03 17:38:16 +00:00
Yann Leboulanger
31dc32eeb9 [thorstenp] fix redefined builtins 2008-12-03 17:16:04 +00:00
Yann Leboulanger
c163e90b10 [thorstenp] fix unused variables 2008-12-02 15:53:23 +00:00
Yann Leboulanger
7701f29beb [thorstenp] fix undefined variables 2008-12-02 15:10:31 +00:00
Yann Leboulanger
e2118de64c [thorstenp] remove useless import 2008-12-02 14:44:26 +00:00
Yann Leboulanger
983301d589 [thorstenp] convert some strings to comment 2008-12-02 14:09:18 +00:00
Yann Leboulanger
11deb3b933 [thorstenp] remove useless pass 2008-12-02 14:03:32 +00:00
Yann Leboulanger
20ff72c523 [thorstenp] fix statements 2008-12-02 14:02:45 +00:00
Yann Leboulanger
3e88fdf41e check session support instead of Esession support, and announce we support it. Fixes #4429 2008-11-30 18:53:02 +00:00
Yann Leboulanger
91cc491173 [Simo Sorce] fix GSSAPI to use FQDN. See #2465 2008-11-28 07:27:42 +00:00
Yann Leboulanger
4cf9d0d622 if a SASL mechanism fails, try the others before abording authentification 2008-11-26 12:45:05 +00:00
Yann Leboulanger
c69b4e90b6 detect and handle incorrect stream start. Fixes #4499 2008-11-21 10:02:16 +00:00
Yann Leboulanger
2521ea6080 [thorstenp] enable buffering of expat. see #4457 2008-11-05 20:03:27 +00:00
Yann Leboulanger
4a06659912 try to connect to next type when connection is refused (server not listening on 5223) 2008-10-22 19:59:14 +00:00
Yann Leboulanger
7ca670a303 assign variable soon enough. 2008-10-22 18:13:43 +00:00
Yann Leboulanger
6fc5ffe276 fix non blocking connect. don't block when connect fails. Fixes #4366, #4107 2008-10-21 15:50:20 +00:00