Commit Graph

136 Commits

Author SHA1 Message Date
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 7afb58426a property last_connection, used to prevend
double connections
2006-03-15 20:10:52 +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 c8b27da04f don't disconnect after server inabillity to
receive long data. Unregister all handlers in
disconnect
2006-03-15 19:39:27 +00:00
Yann Leboulanger 4cbc0666ff show an error dialog when a transport answers wrongly to register request. Fixes #1702 2006-03-15 08:56:36 +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
Dimitur Kirov bc7d9a2943 clean last exception to prevent printing TB
( #1629 )
2006-03-07 11:54:45 +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
Nikos Kouremenos 0349c4ad23 fix typo 2006-03-05 19:43:41 +00:00
Yann Leboulanger d54915c62a base64.encodestring() adds some \n in the string. Remove it 2006-03-05 19:39:07 +00:00
Dimitur Kirov 810a377156 added TODO, ensure we close all descriptors 2006-02-27 16:26:00 +00:00
Dimitur Kirov acdb712838 remove FORM FEED and ESC from sent data 2006-02-22 13:09:33 +00:00
Nikos Kouremenos 105616cfc3 sasl not support msg using debug. Dimitur, maybe it is time to remove blocking versions from svn? 2006-02-19 20:50:59 +00:00
Dimitur Kirov e748ad7990 make sure data tuple is deleted 2006-02-18 10:16:34 +00:00
Dimitur Kirov 32bfde61e2 faster CharacterDataHandler in NodeBuilder 2006-02-18 02:08:49 +00:00
Dimitur Kirov eacf5fb900 revert to self.DEBUG when SASL is not supported 2006-02-18 00:01:39 +00:00
Dimitur Kirov 6b615a8d72 delete debug error message, which causes TB
to be printed
2006-02-14 18:13:20 +00:00
Dimitur Kirov f84e410e5b plug_idle can have readable and writable False
in this case we wait only for close events
2006-02-12 02:23:20 +00:00
Dimitur Kirov 7576bb4f3e shutdown the reading and writing side of the
socket and close it, when we disconnect
2006-02-12 02:21:18 +00:00
Dimitur Kirov 81873919c5 remove error debug statement,use stderr instead
isinstance, instead of __class__.__name__
2006-02-11 21:49:17 +00:00
Dimitur Kirov 19ee5917bf try to reconnect when socket error
is raised during data receiving
2006-02-11 21:30:04 +00:00
Dimitur Kirov 79d39ac119 remove fd from selector and timeouts
when pollend event is raised
2006-02-11 21:27:44 +00:00
Dimitur Kirov d6fee1ea49 added missing argument to NBCommonClient call 2006-02-06 11:28:05 +00:00
Dimitur Kirov c3ef6cfbbc I'm losing the logic of this condition, but
this is a copy of the original, so it should
work
2006-02-06 10:00:23 +00:00
Dimitur Kirov f52144c803 socks5 classes now use Gajim idlequeue
still there are several TODOs
2006-02-06 00:11:45 +00:00
Dimitur Kirov ec1d354c80 use old select.select for polling on win-gtk2.8
untill there is a stable 2.8 version
2006-02-03 22:54:05 +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
Norman Rasmussen f0adbc9892 fixed line endings 2006-01-20 13:23:38 +00:00
Nikos Kouremenos 1c5eab53d3 [knuckles] GMail notifications now always work and are enabled on gajim startup 2006-01-18 22:54:07 +00:00
Norman Rasmussen d5842b8e81 fixed import 2006-01-18 21:03:29 +00:00
Norman Rasmussen 65f67a7a04 upstream updates 2006-01-18 20:46:29 +00:00
Travis Shirk f52afdcbe8 Merged revisions 5017-5020,5022-5029 via svnmerge from
svn://svn.gajim.org/gajim/trunk

........
r5017 | asterix | 2006-01-06 01:55:51 -0700 (Fri, 06 Jan 2006) | 2 lines

use escape for pango markup

........
r5018 | asterix | 2006-01-06 02:21:39 -0700 (Fri, 06 Jan 2006) | 2 lines

missing new contacts function

........
r5019 | asterix | 2006-01-06 11:03:07 -0700 (Fri, 06 Jan 2006) | 2 lines

handle the click on toggle_gpg_encryption menuitem

........
r5020 | asterix | 2006-01-06 11:14:14 -0700 (Fri, 06 Jan 2006) | 2 lines

use the saved size even if a chat window is already opened

........
r5022 | asterix | 2006-01-07 03:43:47 -0700 (Sat, 07 Jan 2006) | 2 lines

we can now resume filetransfert

........
r5023 | asterix | 2006-01-07 03:56:31 -0700 (Sat, 07 Jan 2006) | 2 lines

[Knuckles] Google E-Mail Notification

........
r5024 | asterix | 2006-01-07 04:02:16 -0700 (Sat, 07 Jan 2006) | 2 lines

better string

........
r5025 | asterix | 2006-01-07 04:14:32 -0700 (Sat, 07 Jan 2006) | 2 lines

fix a TB

........
r5026 | asterix | 2006-01-07 05:36:55 -0700 (Sat, 07 Jan 2006) | 2 lines

we can now drag a file on a contact in the roster to send him a file

........
r5027 | asterix | 2006-01-07 06:26:28 -0700 (Sat, 07 Jan 2006) | 2 lines

contact.groups is always a list, even if emtpy

........
r5028 | asterix | 2006-01-07 06:54:30 -0700 (Sat, 07 Jan 2006) | 2 lines

make all buttons insensitive on a category row in disco

........
r5029 | asterix | 2006-01-07 07:19:25 -0700 (Sat, 07 Jan 2006) | 2 lines

auto open groupchat configuration window when we create a new room

........
2006-01-07 17:25:35 +00:00
Nikos Kouremenos 0584c4bff1 almost impossible to fail 2005-12-26 18:38:05 +00:00
Nikos Kouremenos 250e916318 check so we cannot fail 2005-12-26 13:36:55 +00:00
Nikos Kouremenos 6a1db9ea0f should work now. wed plz test 2005-12-26 13:28:13 +00:00
Nikos Kouremenos 8a875bdb2c do some crazy stuff on exception msg when exception object does not have errno attribute 2005-12-26 01:05:36 +00:00
Nikos Kouremenos 9385f1074f [greblus] preferences window now can control the color of URLs 2005-12-25 23:48:08 +00:00
Yann Leboulanger 993c09ec70 catch correct exception when interrupt system call 2005-12-21 17:55:57 +00:00
Yann Leboulanger 323663132b fix more interrupt system call 2005-12-17 23:07:13 +00:00
Norman Rasmussen 786da12472 http://cvs.sourceforge.net/viewcvs.py/xmpppy/xmpppy/xmpp/auth.py
Wed Oct 26 08:45:22 2005 UTC by snakeru
Fixed SASL bug on win32 platform. (Thanks to Martin Thomas)
2005-11-30 17:08:45 +00:00
Travis Shirk fb4e8f254d SASL challenges that have '=' in a value can now be parsedr; '=' in a base-64 encoded nonce is rather common 2005-11-29 20:27:57 +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
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
Yann Leboulanger 969bd9fa0d fix bug in xmpppy about SASL with TLS 2005-11-05 15:23:33 +00:00
shteef b69bc501ae New Service Discovery, couple of quick notes about this commit:
* src/disco.py contains all the disco stuff
 * registration remains in src/config.py
 * data/pixmaps/agents contains the icons used in the toplevel server browser
   and the banner. They're referenced at the top of src/disco.py.
2005-10-30 09:58:13 +00:00
Nikos Kouremenos f590da078a [xmpppy]it is standarD not with T; thanks dkm 2005-10-21 21:30:54 +00:00