Commit Graph

24 Commits

Author SHA1 Message Date
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
Dimitur Kirov b3de43ae3f disconnect after stream end tag, unregister
two more handlers
2006-03-16 17:29:30 +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
Nikos Kouremenos 75505422b1 or not and 2005-11-16 21:39:17 +00:00
Nikos Kouremenos 97a7585dd0 avoid a tb 2005-11-16 21:24:28 +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 f590da078a [xmpppy]it is standarD not with T; thanks dkm 2005-10-21 21:30:54 +00:00
Yann Leboulanger 6d0bf25adc SRV lookup moved from xmpp to connection.py 2005-09-18 19:52:06 +00:00
Yann Leboulanger 67c9312d37 SRV lookup is now an option and is turned off when we use SSL 2005-09-16 15:19:01 +00:00
Nikos Kouremenos d26696bbe5 [Laurent Sartran] catch exception when SSL connection is reset during handshake 2005-09-01 17:44:57 +00:00
Dimitur Kirov e9bcc20556 check if self.Connetion is instantiated 2005-08-02 14:25:21 +00:00
Dimitur Kirov c204880ce5 moved socks5queu to gajim.py in order to have
only one queue
2005-08-01 22:43:33 +00:00
Nikos Kouremenos e325da1e1c patch xmpppy so it does not loop for ever on timeout disconnection. this patch and previous thanks to Alexey [lib author] 2005-06-18 11:33:29 +00:00
Nikos Kouremenos d56a4b619d patch to force ssl no matter which is the port 2005-06-18 11:22:19 +00:00
Nikos Kouremenos 69a9f6f08a [xmpppy] some jabber servers have ssl on 443 (eg. jabber80.com) so check for that too, and return ssl and not tls as string for return value in connect() 2005-06-02 18:15:29 +00:00
Yann Leboulanger 92b1c8226c SASL auth is back, ths Alexey 2005-05-26 06:50:17 +00:00
Yann Leboulanger e3ddf04b9b Alexey's patch to disable SASL protocole 2005-05-24 18:08:37 +00:00
Yann Leboulanger 2171def073 we get the roster asynchronously now 2005-05-08 17:00:41 +00:00
Yann Leboulanger da4457401f apply Alexey's patch in order to be able not to use TLS connection 2005-05-08 16:50:56 +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
Nikos Kouremenos 3db9a32c91 select and TLs do not like each other. falling back to non TLS. thanks rohan 2005-04-29 15:56:43 +00:00
Yann Leboulanger c85273d556 switch from jabberpy to xmpppy 2005-04-26 18:45:54 +00:00