Commit graph

14 commits

Author SHA1 Message Date
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
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