Commit Graph

90 Commits

Author SHA1 Message Date
Yann Leboulanger d27591076f fix exception handling 2013-01-01 23:18:36 +01:00
Yann Leboulanger 069bddbbcb remove call to unicode() 2013-01-01 21:06:16 +01:00
Yann Leboulanger 77775cf0af Gajim now uses python-nbxmpp library instead of embedding it. 2012-12-09 21:37:51 +01:00
Denis Fomin 67da16a0d4 [Darlan]. fix typo 2012-08-02 21:52:20 +04:00
Yann Leboulanger 721f33c5cf fix traceback. Fixes #7103 2012-02-14 19:35:09 +01:00
Yann Leboulanger d5286d8375 improve connect to remote host in zeroconf under windows 2011-08-21 19:38:20 +02:00
Yann Leboulanger 279b17625e improving printing debug. Print str and not unicode 2011-08-21 19:34:37 +02:00
Yann Leboulanger b5b5e4be27 codging standards 2011-08-21 19:32:52 +02:00
Yann Leboulanger 320157ec82 ability to do jingle with zeroconf 2010-03-14 22:12:10 +01:00
Yann Leboulanger 28e2874853 ability to send jabber:iq:last query over zeroconf. Fixes #5644 2010-03-10 21:58:14 +01:00
Éric Araujo fedd7dc8e2 convert tabs to spaces in source code thanks to reindent.py
holy diff batman!
2010-02-08 15:08:40 +01:00
Alexander Cherniuk 99472b1702 Yet more doc-string refactoring 2009-11-26 14:27:47 +02:00
Yann Leboulanger 1c137dd6c4 remove debug print 2009-11-25 16:49:13 +01:00
Yann Leboulanger 3aa07f485e refactor connection_handlers_zeroconf.py 2009-11-25 16:29:33 +01:00
Yann Leboulanger 88f3104c4e refactor normal and zeroconf Connection objects with a CommonConnection class 2009-11-18 11:06:09 +01:00
Yann Leboulanger ae9f7ca410 prevent a traceback when we disconnect a zeroconf socket wil a message attribute. Fixes #5049 2009-11-12 21:42:20 +01:00
Yann Leboulanger 7ae146e0e8 don't try to add an id to all outgoing messages. It's useless. Fixes #5355 2009-10-28 13:54:58 +01:00
Yann Leboulanger da799bcb59 add ad hoc commands for zeroconf. Fixes #2819 2009-08-30 00:57:49 +02:00
Yann Leboulanger a478cf863b prevent sending several times the same message in zeroconf. 2009-07-16 17:25:47 +02:00
Yann Leboulanger ba697a583f fix missing var in zeroconf 2009-07-16 17:22:34 +02:00
Yann Leboulanger 5a72c9b3ac fix disconnection of client_zeroconf. Fixes #5049 2009-05-29 08:59:08 +02:00
Yann Leboulanger 665016ccc0 don't overwrite stanza ID in zeroconf so that we reply with correct ID to requests. Thanks Mattj 2009-04-25 16:29:49 +00:00
Yann Leboulanger e0123f0c24 encrypt and decrypt GPG messages in a thread, and call a callback when it's finished (sending a message is now asyncronous). Fixes #4445 2009-02-06 19:01:36 +00:00
Stephan Erb bc3445881f Rename client.py to plugin.py, as all client logic has already been moved to client_nb.py
Introduce a get_instance factory method for all plugins and other xmpp related classes. This will help us to decouple plugs in order to make them testable.
2009-01-09 00:49:58 +00:00
Yann Leboulanger 9bf0632b43 fix missing variable in zeroconf 2008-12-16 20:41:13 +00:00
Yann Leboulanger b317ffcdae merge BOSH branch to trunk 2008-12-15 21:06:08 +00:00
Yann Leboulanger 0d33683944 [thorstenp] remove some utf8 byteorder mark 2008-12-03 21:39:21 +00:00
Yann Leboulanger fe33410b43 [thorstenp] fix unequal operator 2008-12-03 21:38:31 +00:00
Yann Leboulanger 3392c54dd0 [thorstenp] fix empty exception clauses 2008-12-03 21:37:05 +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 983301d589 [thorstenp] convert some strings to comment 2008-12-02 14:09:18 +00:00
Yann Leboulanger 630c15e2d0 [thorstenp] remove redefined fnuction 2008-12-02 14:07:11 +00:00
Yann Leboulanger eed5dc4e72 [thorstenp] remove useless semicolons 2008-12-02 13:58:54 +00:00
Yann Leboulanger df1e5ee990 better handling of sessions in zeroconf. Fixes #4529 2008-11-28 15:34:56 +00:00
Yann Leboulanger 06ab4a7b6d revert thorstenp patches for now. They introduce bugs. 2008-10-20 21:38:06 +00:00
Yann Leboulanger f801a50260 [thorstenp] fix unused variables 2008-10-20 21:17:48 +00:00
Yann Leboulanger 86271b6e3c [thorstenp] string to comment 2008-10-20 15:30:52 +00:00
Yann Leboulanger 010be12d8c [thorstenp] remove duplicate function 2008-10-20 15:25:53 +00:00
Yann Leboulanger 98255a0671 [thorstenp] remove useless ; 2008-10-20 15:16:01 +00:00
tomk ed7dd84cfe fixed zeroconf to work with refactored dispatcher 2008-08-18 14:34:09 +00:00
tomk 2712786383 Corrected return values of zeroconf client in order to return true-evaluable values. related to #4051 2008-08-18 14:20:03 +00:00
Yann Leboulanger e22c6e9697 fix printing of sent zeroconf messages. fixes #4051 2008-08-04 10:54:56 +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
Yann Leboulanger 0568a4b32b typo 2008-04-15 15:59:13 +00:00
Yann Leboulanger 1a2f60186a Don't fail on windows if bonjour is not installed. fixes #3861
socket module doesn't have AI_ADDRCONFIG attribute under windows
2008-04-15 15:58:07 +00:00
Yann Leboulanger da966efaa7 use getaddrinfo to know if we should use ipv4 or v6 for zeroconf 2008-04-06 21:33:40 +00:00
Yann Leboulanger 067d9dbf2b make zeroconf work correctly on both ipv4 and ipv6. Bind on an ipv6 socket if possible. 2008-04-06 16:51:31 +00:00
Yann Leboulanger 45211c43f5 coding standards 2008-03-21 17:17:12 +00:00
Yann Leboulanger 92690da36b fix zeroconf to be ablt to use IPv6. Fixes #3683 2008-03-21 16:55:39 +00:00