Commit graph

23 commits

Author SHA1 Message Date
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
a8cfd83c3e Move GObjectIdleQueue from gajim.py to idlequeue.py 2008-12-24 13:44:23 +00:00
Yann Leboulanger
b317ffcdae merge BOSH branch to trunk 2008-12-15 21:06:08 +00:00
Yann Leboulanger
e389e0b16b [thorstenp] remove whitespace at eol 2008-12-03 21:56:12 +00:00
Yann Leboulanger
11deb3b933 [thorstenp] remove useless pass 2008-12-02 14:03:32 +00:00
Yann Leboulanger
06ab4a7b6d revert thorstenp patches for now. They introduce bugs. 2008-10-20 21:38:06 +00:00
Yann Leboulanger
c9f3c94bb3 [thorstenp] remove useless pass 2008-10-20 15:21:26 +00:00
Yann Leboulanger
9d7c80d522 [thorstenp] replace has_key by key in dict. Fixes #4392 2008-10-07 20:41:59 +00:00
tomk
4504861084 fixed handling of SSL errors 2008-08-09 12:16:42 +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
tomk
af3f1a9dd4 - implemented BOSH key sequencing, acknowledgements
- improved HTTP persistent connections
- added alarm-unregister method to idlequeue
- extended proxy managing dialog for BOSH proxy
2008-07-26 22:42:40 +00:00
tomk
a58618c843 persistent HTTP connections in BOSH roughly implemented, added hack for openfire incapability of after-SASL-stream-restart-response in BOSH, changed doubles quotes to single 2008-07-18 00:34:49 +00:00
js
3bd76e406a Partially fix #4098.
This is, however, only a half fix as this fixes that it fails when
there's None in waiting_descriptors[2], but actually, there never
should be None, so I have to investigate why there was none.

This patch is, however, correct and needed and the other queues also
have that check. It's just that I also need to fix the reason for
the None in the queue.
2008-07-15 23:23:31 +00:00
tomk
3d860f40a6 BOSHClient transformed to NonBlockingBOSH transport - it's easier to maintain more connections from below, implemented handling of non-persistent HTTP connections - it runs with ejabberd, improved NonBlockingTransport interface, minor changes in BOSHDispatcher 2008-07-13 22:22:58 +00:00
tomk
952e4a1569 moved bosh code from client_nb.py to bosh.py, replaced debug logging with debug.py by logging in whole xmpppy (debug.py is now unused) 2008-07-02 23:29:10 +00:00
tomk
f3820706fb - Refactored non-blocking transport and client classes - getaddrinfo is called
in Client now
- Added NonBlockingHttpBOSH transport (to tranports_nb) and BOSHClient
(to client_nb)
- Extended possible proxy types in configuration by "BOSH" proxy
- Rewrote NonBlockingTLS to invoke success callback only after successful TLS handshake is over (formerly, the TLS Plugin returned right after sending <starttls>)
2008-06-30 00:02:32 +00:00
tomk
65644ca13f added stub for new transports module plus basic test for it, testing code reorganized 2008-06-18 23:58:19 +00:00
Yann Leboulanger
8c5b3f3a92 process all incoming and outgoing queues even if we receive big things (a file). Fixes #3380 2007-09-03 20:54:28 +00:00
Stefan Bethge
27849fc3d7 fix #2586, cleanup 2006-11-10 20:43:23 +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
79d39ac119 remove fd from selector and timeouts
when pollend event is raised
2006-02-11 21:27:44 +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