Changeset 54:03ec57713c90 in ralphm-patches for roster_item.patch


Ignore:
Timestamp:
Nov 2, 2011, 9:36:54 AM (11 years ago)
Author:
Ralph Meijer <ralphm@…>
Branch:
default
Message:

Upstreamed Request patches, split out c2s patches in managable chunks, prepare for release of Wokkel 0.7.0.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roster_item.patch

    r50 r54  
    1 diff -r c103529d9f46 wokkel/im.py
    2 --- a/wokkel/im.py      Wed May 25 20:24:36 2011 +0200
    3 +++ b/wokkel/im.py      Wed May 25 20:26:47 2011 +0200
     1Clean up of RosterItem and RosterClientProtocol.
     2
     3`RosterItem`:
     4 * Renamed attributes `jid` and `ask` to `entity` and
     5   `pendingOut` respectively.
     6 * Can represent roster items to be removed or that have been removed.
     7 * Now has `fromElement` and `toElement` methods.
     8
     9`RosterClientProtocol`:
     10
     11 * Roster returned from `getRoster` is now indexed by `JID`s (instead of
     12   the `unicode` representation of the JID.
     13 * `onRosterSet` and `onRosterRemove` can raise `RosterPushIgnored` to
     14   return a `service-unavailable` stanza error.
     15
     16diff -r 2e2717d3db8f wokkel/im.py
     17--- a/wokkel/im.py      Wed Oct 05 09:15:44 2011 +0200
     18+++ b/wokkel/im.py      Wed Oct 05 09:29:18 2011 +0200
    419@@ -7,21 +7,25 @@
    520 XMPP IM protocol support.
     
    243258         @type entity: L{jid.JID}
    244259         """
    245 diff -r c103529d9f46 wokkel/test/test_im.py
    246 --- a/wokkel/test/test_im.py    Wed May 25 20:24:36 2011 +0200
    247 +++ b/wokkel/test/test_im.py    Wed May 25 20:26:47 2011 +0200
     260diff -r 2e2717d3db8f wokkel/test/test_im.py
     261--- a/wokkel/test/test_im.py    Wed Oct 05 09:15:44 2011 +0200
     262+++ b/wokkel/test/test_im.py    Wed Oct 05 09:29:18 2011 +0200
    248263@@ -7,13 +7,14 @@
    249264 
Note: See TracChangeset for help on using the changeset viewer.