Yann Leboulanger
1f7b19180d
merge default branch to jingle
2009-09-08 12:01:09 +02:00
Jonathan Schleifer
086d031374
Remove spaces at EOL.
2009-06-15 21:00:14 +02:00
Yann Leboulanger
e4029dddd6
prevent traceback when identifying stream error. Fixes #4946
2009-04-30 08:32:32 +00:00
Yann Leboulanger
16fa30a1e7
handle stream error and show message to user. Fixes #4660 , #4823
2009-02-19 13:18: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
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
3392c54dd0
[thorstenp] fix empty exception clauses
2008-12-03 21:37: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
fd54e68e6d
[thorstenp] some fixes with type() -> isinstance()
2008-10-11 10:06:49 +00:00
Yann Leboulanger
992e90208e
[thorstenp] use != instead of <>
2008-10-11 10:02:49 +00:00
Yann Leboulanger
196dd7e30a
[thorstenp] use isinstance rather than type(x) == y. use sorted()
2008-10-11 09:59:52 +00:00
Yann Leboulanger
00543277e4
[thorstenp] replace ` with repr
2008-10-11 09:51:27 +00:00
Yann Leboulanger
84e717c8df
[thorstenp] use startswith and endswith instead of array indices on strings
2008-10-11 09:32:59 +00:00
Yann Leboulanger
9d7c80d522
[thorstenp] replace has_key by key in dict. Fixes #4392
2008-10-07 20:41:59 +00:00
Yann Leboulanger
3d46bf0b6e
[dwd] fix reconnection when we get wrong XML with undeclared namespaces. Fixes #3083
2008-09-27 14:26:50 +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
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
tomk
e1899f34dc
new BOSHDispatcher (in dispatcher_nb), improved BOSHClient class, minor changes in other xmpp modules
2008-07-07 23:04:10 +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
Stephan Erb
55eed6bda6
Revert r9252 for now. E2E was affected and task is shifted to next releas anyway. See #3694
2008-01-20 23:24:03 +00:00
Stephan Erb
9e74881ed6
Merge xmpp.py 4.1 simplexml.py
...
See #3694
* WARNING! Incompartible change! Now newtag=n.T.newtag do not creates new tag
but only returns existing one (if possible). If you need to create tag use
either .NT. method or attribute set (i.e. n.T.newtag=something).
* Added CDATA extracting method to xml node.
* added xmlns safety check
* Fixed node attribute deletion with "del node[attr]" syntax.
* Ordering fix for when addChild and addData are used on the same node (may increase memory usage, might need to watch for that)
* Fixes for children node fetching, still not perfect, but much better
2008-01-18 20:55:18 +00:00
Tomasz Melcer
7f57a9d2e8
Jingle: wrongly decoded connection parameters from transport-info
2007-08-20 23:14:57 +00:00
Tomasz Melcer
a6a3fbbff0
simplexml: consistent interface for xml attributes -- __contains__
2007-08-15 09:29:27 +00:00
Jean-Marie Traissard
6775c3a43d
Some errors spoted by file source checkers
2006-11-20 19:11:31 +00:00
Tomasz Melcer
b9f5755ad6
Use iterators, better for memory usage.
2006-11-20 16:51:35 +00:00
Tomasz Melcer
d9d5f5a841
Fixed last fix.
2006-11-18 21:04:24 +00:00
Tomasz Melcer
4b97eddee4
Comparing types: type(x)==type(self) => isinstance(x, self.__class__)
2006-11-18 21:01:41 +00:00
Tomasz Melcer
175a792cfe
Merging changes from trunk (6774:7465)
2006-11-18 20:52:28 +00:00
Tomasz Melcer
68703a1d5d
'Server' part switched to use new forms.
2006-11-18 18:39:02 +00:00
Tomasz Melcer
289928050c
Reworked dataforms, not finished yet.
2006-11-06 12:23:39 +00:00
Tomasz Melcer
c75bdcb63c
Ad-Hoc commands window now uses new dataform wrapper. /me dances
2006-07-07 15:49:44 +00:00
Dimitur Kirov
acdb712838
remove FORM FEED and ESC from sent data
2006-02-22 13:09:33 +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
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
Yann Leboulanger
c85273d556
switch from jabberpy to xmpppy
2005-04-26 18:45:54 +00:00