telepathy-gabble: Use GLib's base64 implementation rather than Gabble's own

Will Thompson wjt at kemper.freedesktop.org
Mon Nov 5 07:00:59 PST 2012


Module: telepathy-gabble
Branch: master
Commit: 8d4226c28153f054afc16d6b7e7d738b5359ee42
URL:    http://cgit.freedesktop.org/telepathy/telepathy-gabble/commit/?id=8d4226c28153f054afc16d6b7e7d738b5359ee42

Author: Heiher <admin at heiher.info>
Date:   Mon Nov  5 14:29:37 2012 +0000

Use GLib's base64 implementation rather than Gabble's own

(Patch modified to add aggravating signed <-> unsigned casts, and to
adjust some tests to cope with GLib appending a trailing newline where
Gabble's home-grown line-breaking did not.)

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=54760
Signed-off-by: Will Thompson <will.thompson at collabora.co.uk>

---

 src/Makefile.am                         |    2 -
 src/base64.c                            |  196 -------------------------------
 src/base64.h                            |   28 -----
 src/bytestream-ibb.c                    |    9 +-
 src/bytestream-muc.c                    |    9 +-
 src/bytestream-multiple.c               |    1 -
 src/bytestream-socks5.c                 |    1 -
 src/caps-hash.c                         |    1 -
 src/conn-avatars.c                      |   15 ++-
 src/tube-dbus.c                         |    5 +-
 src/util.c                              |   14 +-
 src/vcard-manager.c                     |   10 +-
 tests/Makefile.am                       |    2 -
 tests/test-base64.c                     |  106 -----------------
 tests/twisted/vcard/overlapping-sets.py |   10 +-
 tests/twisted/vcard/test-vcard-race.py  |    6 +-
 16 files changed, 47 insertions(+), 368 deletions(-)

Diff:   http://cgit.freedesktop.org/telepathy/telepathy-gabble/diff/?id=8d4226c28153f054afc16d6b7e7d738b5359ee42


More information about the telepathy-commits mailing list