/pidgin/main: b1fe9d846643: Merged the GSoC 2013 gobjectificatio...

Ankit Vani a at nevitus.org
Thu Dec 5 14:45:40 EST 2013


Changeset: b1fe9d846643491221bbe3467a957bdbe278296a
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-12-06 01:10 +0530
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/b1fe9d846643

Description:

Merged the GSoC 2013 gobjectification branch (soc.2013.gobjectification)

diffstat:

 .hgignore                                          |     2 +
 ChangeLog                                          |     2 +
 ChangeLog.API                                      |   271 +-
 configure.ac                                       |     4 +-
 doc/C-HOWTO.dox                                    |    33 +-
 doc/Makefile.am                                    |     1 -
 doc/SIGNAL-HOWTO.dox                               |    18 +-
 doc/blist-signals.dox                              |    20 -
 doc/cipher-signals.dox                             |    31 -
 doc/conversation-signals.dox                       |   104 +-
 doc/finch.1.in                                     |     2 +-
 doc/gtkimhtml-signals.dox                          |     1 +
 doc/jabber-signals.dox                             |    12 +-
 doc/pidgin.1.in                                    |     2 +-
 doc/ui-ops.dox                                     |     2 +-
 finch/Makefile.am                                  |     8 +-
 finch/finch.c                                      |     4 +-
 finch/gntaccount.c                                 |     7 +-
 finch/gntblist.c                                   |   414 +-
 finch/gntblist.h                                   |     4 +-
 finch/gntconn.c                                    |     1 +
 finch/gntconv.c                                    |   261 +-
 finch/gntft.c                                      |   558 ---
 finch/gntft.h                                      |   114 -
 finch/gntlog.c                                     |    14 +-
 finch/gntmedia.c                                   |    10 +-
 finch/gntpounce.c                                  |    22 +-
 finch/gntrequest.c                                 |     6 +-
 finch/gntroomlist.c                                |    14 +-
 finch/gntsound.c                                   |    57 +-
 finch/gntui.c                                      |     2 +-
 finch/gntxfer.c                                    |   558 +++
 finch/gntxfer.h                                    |   114 +
 finch/libgnt/gntbox.c                              |     9 +-
 finch/libgnt/gntlabel.c                            |     4 +-
 finch/libgnt/gntline.c                             |     2 +-
 finch/libgnt/gntprogressbar.c                      |     2 +-
 finch/libgnt/gntprogressbar.h                      |     4 +-
 finch/libgnt/gnttree.c                             |     5 +-
 finch/libgnt/wms/s.c                               |     2 +-
 finch/plugins/gntgf.c                              |    11 +-
 finch/plugins/gnthistory.c                         |    16 +-
 finch/plugins/gnttinyurl.c                         |    14 +-
 finch/plugins/grouping.c                           |   164 +-
 libpurple/Makefile.am                              |   122 +-
 libpurple/Makefile.mingw                           |    59 +-
 libpurple/account.c                                |  3395 +++++++++----------
 libpurple/account.h                                |   433 +-
 libpurple/accounts.c                               |  1019 ++++++
 libpurple/accounts.h                               |   226 +
 libpurple/blist.c                                  |  3251 -------------------
 libpurple/blist.h                                  |  1204 -------
 libpurple/blistnode.c                              |   664 +++
 libpurple/blistnode.h                              |   422 ++
 libpurple/blistnodetypes.c                         |  1738 ++++++++++
 libpurple/blistnodetypes.h                         |   611 +++
 libpurple/buddyicon.c                              |    77 +-
 libpurple/buddyicon.h                              |     9 +-
 libpurple/buddylist.c                              |  2084 ++++++++++++
 libpurple/buddylist.h                              |   484 ++
 libpurple/certificate.c                            |    53 +-
 libpurple/certificate.h                            |    21 +
 libpurple/cipher.c                                 |  1032 ++----
 libpurple/cipher.h                                 |   521 +-
 libpurple/ciphers/Makefile.am                      |    30 -
 libpurple/ciphers/aes.c                            |   564 ---
 libpurple/ciphers/aescipher.c                      |   655 +++
 libpurple/ciphers/aescipher.h                      |    63 +
 libpurple/ciphers/ciphers.h                        |    66 -
 libpurple/ciphers/des.c                            |   903 -----
 libpurple/ciphers/des3cipher.c                     |   524 +++
 libpurple/ciphers/des3cipher.h                     |    64 +
 libpurple/ciphers/descipher.c                      |   582 +++
 libpurple/ciphers/descipher.h                      |    65 +
 libpurple/ciphers/gchecksum.c                      |   144 -
 libpurple/ciphers/hmac.c                           |   247 -
 libpurple/ciphers/hmaccipher.c                     |   345 ++
 libpurple/ciphers/hmaccipher.h                     |    65 +
 libpurple/ciphers/md4.c                            |   306 -
 libpurple/ciphers/md4hash.c                        |   311 +
 libpurple/ciphers/md4hash.h                        |    62 +
 libpurple/ciphers/md5hash.c                        |   191 +
 libpurple/ciphers/md5hash.h                        |    63 +
 libpurple/ciphers/pbkdf2.c                         |   323 -
 libpurple/ciphers/pbkdf2cipher.c                   |   419 ++
 libpurple/ciphers/pbkdf2cipher.h                   |    66 +
 libpurple/ciphers/rc4.c                            |   159 -
 libpurple/ciphers/rc4cipher.c                      |   262 +
 libpurple/ciphers/rc4cipher.h                      |    68 +
 libpurple/ciphers/sha1hash.c                       |   191 +
 libpurple/ciphers/sha1hash.h                       |    63 +
 libpurple/ciphers/sha256hash.c                     |   191 +
 libpurple/ciphers/sha256hash.h                     |    63 +
 libpurple/circbuffer.c                             |   153 -
 libpurple/circbuffer.h                             |   114 -
 libpurple/circularbuffer.c                         |   481 ++
 libpurple/circularbuffer.h                         |   161 +
 libpurple/cmds.c                                   |    26 +-
 libpurple/connection.c                             |   929 +++-
 libpurple/connection.h                             |   138 +-
 libpurple/conversation.c                           |  2740 ++-------------
 libpurple/conversation.h                           |  1154 +-----
 libpurple/conversations.c                          |   478 ++
 libpurple/conversations.h                          |   167 +
 libpurple/conversationtypes.c                      |  2006 +++++++++++
 libpurple/conversationtypes.h                      |   696 ++++
 libpurple/core.c                                   |    24 +-
 libpurple/core.h                                   |     4 +
 libpurple/dbus-analyze-functions.py                |    20 +-
 libpurple/dbus-define-api.h                        |    13 +-
 libpurple/dbus-server.c                            |    72 +-
 libpurple/dbus-server.h                            |     6 +-
 libpurple/dbus-useful.c                            |     1 +
 libpurple/debug.h                                  |     1 +
 libpurple/dnsquery.h                               |     1 +
 libpurple/dnssrv.h                                 |     1 +
 libpurple/enums.c.in                               |    64 +
 libpurple/enums.h.in                               |    45 +
 libpurple/eventloop.h                              |     2 +
 libpurple/example/nullclient.c                     |     2 +
 libpurple/ft.c                                     |  1922 -----------
 libpurple/ft.h                                     |   871 -----
 libpurple/glibcompat.h                             |    17 +
 libpurple/idle.h                                   |     1 +
 libpurple/imgstore.c                               |    33 +-
 libpurple/imgstore.h                               |     9 +
 libpurple/internal.h                               |    63 +-
 libpurple/keyring.c                                |    55 +-
 libpurple/keyring.h                                |     7 +
 libpurple/log.c                                    |    44 +-
 libpurple/log.h                                    |     9 +
 libpurple/media.c                                  |    40 +-
 libpurple/media.h                                  |    31 +-
 libpurple/media/backend-iface.c                    |     6 +-
 libpurple/media/candidate.c                        |    24 +-
 libpurple/media/codec.c                            |    47 +-
 libpurple/mediamanager.c                           |    27 +-
 libpurple/mediamanager.h                           |    27 +-
 libpurple/network.c                                |     2 +-
 libpurple/notify.c                                 |    66 +-
 libpurple/notify.h                                 |    23 +-
 libpurple/ntlm.c                                   |    27 +-
 libpurple/plugin.c                                 |    74 +-
 libpurple/plugin.h                                 |    31 +-
 libpurple/plugins/autoaccept.c                     |    24 +-
 libpurple/plugins/buddynote.c                      |     2 +-
 libpurple/plugins/ciphertest.c                     |   114 +-
 libpurple/plugins/dbus-example.c                   |     9 +-
 libpurple/plugins/debug_example.c                  |    35 +-
 libpurple/plugins/helloworld.c                     |    39 +-
 libpurple/plugins/idle.c                           |     1 +
 libpurple/plugins/joinpart.c                       |    24 +-
 libpurple/plugins/keyrings/Makefile.mingw          |     1 +
 libpurple/plugins/keyrings/internalkeyring.c       |    66 +-
 libpurple/plugins/log_reader.c                     |    80 +-
 libpurple/plugins/mono/loader/blist-glue.c         |     4 +-
 libpurple/plugins/mono/loader/mono-helper.c        |    12 +-
 libpurple/plugins/mono/loader/mono-helper.h        |     5 +-
 libpurple/plugins/mono/loader/signal-glue.c        |    38 +-
 libpurple/plugins/newline.c                        |     4 +-
 libpurple/plugins/notify_example.c                 |    46 +-
 libpurple/plugins/offlinemsg.c                     |    19 +-
 libpurple/plugins/perl/Makefile.am                 |     4 +-
 libpurple/plugins/perl/common/Account.xs           |   128 +-
 libpurple/plugins/perl/common/BuddyList.xs         |   224 +-
 libpurple/plugins/perl/common/Cipher.xs            |   345 +-
 libpurple/plugins/perl/common/Connection.xs        |    17 +-
 libpurple/plugins/perl/common/Conversation.xs      |   358 +-
 libpurple/plugins/perl/common/FT.xs                |   187 -
 libpurple/plugins/perl/common/MANIFEST             |     4 +-
 libpurple/plugins/perl/common/Makefile.mingw       |     7 +-
 libpurple/plugins/perl/common/Presence.xs          |   102 +
 libpurple/plugins/perl/common/Privacy.xs           |    33 -
 libpurple/plugins/perl/common/Prpl.xs              |     2 +-
 libpurple/plugins/perl/common/Purple.xs            |     2 -
 libpurple/plugins/perl/common/Roomlist.xs          |     8 -
 libpurple/plugins/perl/common/Server.xs            |     6 +-
 libpurple/plugins/perl/common/Status.xs            |   156 +-
 libpurple/plugins/perl/common/Whiteboard.xs        |     6 +-
 libpurple/plugins/perl/common/XMLNode.xs           |    52 +-
 libpurple/plugins/perl/common/Xfer.xs              |   179 +
 libpurple/plugins/perl/common/module.h             |    69 +-
 libpurple/plugins/perl/common/typemap              |    37 +-
 libpurple/plugins/perl/perl-common.c               |   231 +-
 libpurple/plugins/perl/perl-common.h               |     6 +-
 libpurple/plugins/perl/perl-handlers.c             |    14 +-
 libpurple/plugins/pluginpref_example.c             |    17 +-
 libpurple/plugins/psychic.c                        |    21 +-
 libpurple/plugins/signals-test.c                   |   149 +-
 libpurple/plugins/ssl/Makefile.mingw               |     1 +
 libpurple/plugins/ssl/ssl-gnutls.c                 |     1 +
 libpurple/plugins/ssl/ssl-nss.c                    |     1 +
 libpurple/plugins/statenotify.c                    |    16 +-
 libpurple/plugins/tcl/Makefile.mingw               |     1 +
 libpurple/plugins/tcl/tcl_cmds.c                   |   151 +-
 libpurple/plugins/tcl/tcl_purple.h                 |     5 +-
 libpurple/plugins/tcl/tcl_signals.c                |   183 +-
 libpurple/pounce.c                                 |    90 +-
 libpurple/prefs.c                                  |    54 +-
 libpurple/presence.c                               |  1000 +++++
 libpurple/presence.h                               |   384 ++
 libpurple/privacy.c                                |   411 --
 libpurple/privacy.h                                |   190 -
 libpurple/protocols/bonjour/Makefile.mingw         |     1 +
 libpurple/protocols/bonjour/bonjour.c              |    32 +-
 libpurple/protocols/bonjour/bonjour_ft.c           |   229 +-
 libpurple/protocols/bonjour/bonjour_ft.h           |     6 +-
 libpurple/protocols/bonjour/buddy.c                |    16 +-
 libpurple/protocols/bonjour/jabber.c               |   156 +-
 libpurple/protocols/bonjour/jabber.h               |    10 +-
 libpurple/protocols/bonjour/mdns_avahi.c           |     4 +-
 libpurple/protocols/bonjour/mdns_win32.c           |    11 +-
 libpurple/protocols/bonjour/parser.c               |    18 +-
 libpurple/protocols/gg/Makefile.am                 |     4 +-
 libpurple/protocols/gg/Makefile.mingw              |     2 +-
 libpurple/protocols/gg/avatar.c                    |     4 +-
 libpurple/protocols/gg/blist.c                     |   201 +
 libpurple/protocols/gg/blist.h                     |    67 +
 libpurple/protocols/gg/buddylist.c                 |   201 -
 libpurple/protocols/gg/buddylist.h                 |    67 -
 libpurple/protocols/gg/chat.c                      |    36 +-
 libpurple/protocols/gg/edisc.c                     |    31 +-
 libpurple/protocols/gg/gg.c                        |    43 +-
 libpurple/protocols/gg/image.c                     |     4 +-
 libpurple/protocols/gg/message-prpl.c              |    29 +-
 libpurple/protocols/gg/oauth/oauth-purple.c        |    12 +-
 libpurple/protocols/gg/oauth/oauth.c               |    25 +-
 libpurple/protocols/gg/oauth/oauth.h               |     2 +-
 libpurple/protocols/gg/pubdir-prpl.c               |    18 +-
 libpurple/protocols/gg/purplew.c                   |     8 +-
 libpurple/protocols/gg/roster.c                    |    90 +-
 libpurple/protocols/gg/status.c                    |    14 +-
 libpurple/protocols/gg/xml.c                       |    40 +-
 libpurple/protocols/gg/xml.h                       |    16 +-
 libpurple/protocols/irc/Makefile.mingw             |     1 +
 libpurple/protocols/irc/cmds.c                     |    41 +-
 libpurple/protocols/irc/dcc_send.c                 |    18 +-
 libpurple/protocols/irc/irc.c                      |    46 +-
 libpurple/protocols/irc/irc.h                      |     6 +-
 libpurple/protocols/irc/msgs.c                     |   303 +-
 libpurple/protocols/irc/parse.c                    |     2 +-
 libpurple/protocols/jabber/adhoccommands.c         |   106 +-
 libpurple/protocols/jabber/adhoccommands.h         |     4 +-
 libpurple/protocols/jabber/auth.c                  |   130 +-
 libpurple/protocols/jabber/auth.h                  |    16 +-
 libpurple/protocols/jabber/auth_cyrus.c            |    54 +-
 libpurple/protocols/jabber/auth_digest_md5.c       |    58 +-
 libpurple/protocols/jabber/auth_plain.c            |    22 +-
 libpurple/protocols/jabber/auth_scram.c            |    95 +-
 libpurple/protocols/jabber/auth_scram.h            |     4 +-
 libpurple/protocols/jabber/bosh.c                  |    38 +-
 libpurple/protocols/jabber/buddy.c                 |   360 +-
 libpurple/protocols/jabber/caps.c                  |   209 +-
 libpurple/protocols/jabber/caps.h                  |     7 +-
 libpurple/protocols/jabber/chat.c                  |   294 +-
 libpurple/protocols/jabber/chat.h                  |     8 +-
 libpurple/protocols/jabber/data.c                  |    70 +-
 libpurple/protocols/jabber/data.h                  |     8 +-
 libpurple/protocols/jabber/disco.c                 |   162 +-
 libpurple/protocols/jabber/disco.h                 |     4 +-
 libpurple/protocols/jabber/google/gmail.c          |    74 +-
 libpurple/protocols/jabber/google/gmail.h          |     2 +-
 libpurple/protocols/jabber/google/google.c         |     2 +-
 libpurple/protocols/jabber/google/google_p2p.c     |    86 +-
 libpurple/protocols/jabber/google/google_p2p.h     |     4 +-
 libpurple/protocols/jabber/google/google_roster.c  |    86 +-
 libpurple/protocols/jabber/google/google_roster.h  |     4 +-
 libpurple/protocols/jabber/google/google_session.c |   196 +-
 libpurple/protocols/jabber/google/google_session.h |     4 +-
 libpurple/protocols/jabber/google/jingleinfo.c     |    28 +-
 libpurple/protocols/jabber/google/jingleinfo.h     |     2 +-
 libpurple/protocols/jabber/ibb.c                   |    78 +-
 libpurple/protocols/jabber/ibb.h                   |     6 +-
 libpurple/protocols/jabber/iq.c                    |   124 +-
 libpurple/protocols/jabber/iq.h                    |     8 +-
 libpurple/protocols/jabber/jabber.c                |   692 ++--
 libpurple/protocols/jabber/jabber.h                |    21 +-
 libpurple/protocols/jabber/jingle/content.c        |   107 +-
 libpurple/protocols/jabber/jingle/content.h        |    12 +-
 libpurple/protocols/jabber/jingle/iceudp.c         |   104 +-
 libpurple/protocols/jabber/jingle/iceudp.h         |     4 +-
 libpurple/protocols/jabber/jingle/jingle.c         |   132 +-
 libpurple/protocols/jabber/jingle/jingle.h         |     2 +-
 libpurple/protocols/jabber/jingle/rawudp.c         |    68 +-
 libpurple/protocols/jabber/jingle/rawudp.h         |     4 +-
 libpurple/protocols/jabber/jingle/rtp.c            |   111 +-
 libpurple/protocols/jabber/jingle/session.c        |   121 +-
 libpurple/protocols/jabber/jingle/session.h        |     6 +-
 libpurple/protocols/jabber/jingle/transport.c      |    24 +-
 libpurple/protocols/jabber/jingle/transport.h      |     8 +-
 libpurple/protocols/jabber/jutil.c                 |    23 +-
 libpurple/protocols/jabber/libfacebook.c           |    10 +-
 libpurple/protocols/jabber/libgtalk.c              |    10 +-
 libpurple/protocols/jabber/libxmpp.c               |    10 +-
 libpurple/protocols/jabber/message.c               |   271 +-
 libpurple/protocols/jabber/message.h               |     6 +-
 libpurple/protocols/jabber/oob.c                   |    34 +-
 libpurple/protocols/jabber/oob.h                   |     2 +-
 libpurple/protocols/jabber/parser.c                |    20 +-
 libpurple/protocols/jabber/pep.c                   |    56 +-
 libpurple/protocols/jabber/pep.h                   |     4 +-
 libpurple/protocols/jabber/ping.c                  |    24 +-
 libpurple/protocols/jabber/ping.h                  |     2 +-
 libpurple/protocols/jabber/presence.c              |   243 +-
 libpurple/protocols/jabber/presence.h              |    10 +-
 libpurple/protocols/jabber/roster.c                |    88 +-
 libpurple/protocols/jabber/roster.h                |     2 +-
 libpurple/protocols/jabber/si.c                    |   318 +-
 libpurple/protocols/jabber/si.h                    |     6 +-
 libpurple/protocols/jabber/useravatar.c            |   122 +-
 libpurple/protocols/jabber/usermood.c              |    28 +-
 libpurple/protocols/jabber/usernick.c              |    32 +-
 libpurple/protocols/jabber/usertune.c              |    44 +-
 libpurple/protocols/jabber/xdata.c                 |   132 +-
 libpurple/protocols/jabber/xdata.h                 |    12 +-
 libpurple/protocols/msn/Makefile.am                |     4 +-
 libpurple/protocols/msn/Makefile.mingw             |     3 +-
 libpurple/protocols/msn/contact.c                  |   498 +-
 libpurple/protocols/msn/contact.h                  |     4 +-
 libpurple/protocols/msn/directconn.c               |    11 +-
 libpurple/protocols/msn/directconn.h               |     2 +-
 libpurple/protocols/msn/error.c                    |     6 +-
 libpurple/protocols/msn/ft.c                       |   256 +
 libpurple/protocols/msn/xfer.h                     |     8 +-
 libpurple/protocols/msn/msg.c                      |    46 +-
 libpurple/protocols/msn/msn.c                      |    98 +-
 libpurple/protocols/msn/msnutils.c                 |    16 +-
 libpurple/protocols/msn/nexus.c                    |   173 +-
 libpurple/protocols/msn/notification.c             |   309 +-
 libpurple/protocols/msn/object.c                   |    18 +-
 libpurple/protocols/msn/oim.c                      |   116 +-
 libpurple/protocols/msn/servconn.c                 |    14 +-
 libpurple/protocols/msn/servconn.h                 |     4 +-
 libpurple/protocols/msn/session.c                  |    25 +-
 libpurple/protocols/msn/slp.c                      |    10 +-
 libpurple/protocols/msn/slp.h                      |     2 +-
 libpurple/protocols/msn/slpcall.c                  |    32 +-
 libpurple/protocols/msn/slplink.c                  |     8 +-
 libpurple/protocols/msn/soap.c                     |    36 +-
 libpurple/protocols/msn/soap.h                     |     4 +-
 libpurple/protocols/msn/state.c                    |    46 +-
 libpurple/protocols/msn/state.h                    |     4 +-
 libpurple/protocols/msn/switchboard.c              |    35 +-
 libpurple/protocols/msn/user.c                     |     8 +-
 libpurple/protocols/msn/userlist.c                 |    20 +-
 libpurple/protocols/msn/xfer.c                     |   256 -
 libpurple/protocols/mxit/Makefile.mingw            |     1 +
 libpurple/protocols/mxit/filexfer.c                |    28 +-
 libpurple/protocols/mxit/formcmds.c                |     8 +-
 libpurple/protocols/mxit/login.c                   |     8 +-
 libpurple/protocols/mxit/multimx.c                 |    52 +-
 libpurple/protocols/mxit/mxit.c                    |    24 +-
 libpurple/protocols/mxit/profile.c                 |     2 +-
 libpurple/protocols/mxit/protocol.c                |     8 +-
 libpurple/protocols/mxit/roster.c                  |    32 +-
 libpurple/protocols/mxit/voicevideo.c              |     4 +-
 libpurple/protocols/myspace/Makefile.mingw         |     1 +
 libpurple/protocols/myspace/markup.c               |    72 +-
 libpurple/protocols/myspace/message.c              |     2 +-
 libpurple/protocols/myspace/myspace.c              |   113 +-
 libpurple/protocols/myspace/myspace.h              |     5 +-
 libpurple/protocols/myspace/user.c                 |     2 +-
 libpurple/protocols/myspace/zap.c                  |     8 +-
 libpurple/protocols/novell/Makefile.mingw          |     1 +
 libpurple/protocols/novell/novell.c                |   212 +-
 libpurple/protocols/null/Makefile.mingw            |     1 +
 libpurple/protocols/null/nullprpl.c                |   231 +-
 libpurple/protocols/oscar/Makefile.mingw           |     1 +
 libpurple/protocols/oscar/authorization.c          |     6 +-
 libpurple/protocols/oscar/clientlogin.c            |   119 +-
 libpurple/protocols/oscar/family_auth.c            |    40 +-
 libpurple/protocols/oscar/family_buddy.c           |     2 +-
 libpurple/protocols/oscar/family_icbm.c            |     4 +-
 libpurple/protocols/oscar/family_icq.c             |     4 +-
 libpurple/protocols/oscar/family_oservice.c        |     2 +-
 libpurple/protocols/oscar/flap_connection.c        |    17 +-
 libpurple/protocols/oscar/odc.c                    |    29 +-
 libpurple/protocols/oscar/oft.c                    |     6 +-
 libpurple/protocols/oscar/oscar.c                  |   251 +-
 libpurple/protocols/oscar/oscar.h                  |     6 +-
 libpurple/protocols/oscar/oscarcommon.h            |     2 +-
 libpurple/protocols/oscar/peer.c                   |    61 +-
 libpurple/protocols/oscar/peer.h                   |     6 +-
 libpurple/protocols/oscar/userinfo.c               |     8 +-
 libpurple/protocols/oscar/visibility.c             |     2 +-
 libpurple/protocols/sametime/Makefile.mingw        |     1 +
 libpurple/protocols/sametime/sametime.c            |   330 +-
 libpurple/protocols/silc/Makefile.mingw            |     1 +
 libpurple/protocols/silc/buddy.c                   |    26 +-
 libpurple/protocols/silc/chat.c                    |    26 +-
 libpurple/protocols/silc/ft.c                      |    11 +-
 libpurple/protocols/silc/ops.c                     |   184 +-
 libpurple/protocols/silc/silc.c                    |    41 +-
 libpurple/protocols/silc/silcpurple.h              |     2 +-
 libpurple/protocols/silc/wb.c                      |     4 +-
 libpurple/protocols/simple/Makefile.mingw          |     1 +
 libpurple/protocols/simple/simple.c                |   116 +-
 libpurple/protocols/simple/simple.h                |     4 +-
 libpurple/protocols/simple/sipmsg.c                |     2 +-
 libpurple/protocols/yahoo/Makefile.mingw           |     1 +
 libpurple/protocols/yahoo/libyahoo.c               |    12 +-
 libpurple/protocols/yahoo/libymsg.c                |   252 +-
 libpurple/protocols/yahoo/libymsg.h                |     6 +-
 libpurple/protocols/yahoo/util.c                   |    52 +-
 libpurple/protocols/yahoo/yahoo_aliases.c          |    96 +-
 libpurple/protocols/yahoo/yahoo_aliases.h          |     2 +-
 libpurple/protocols/yahoo/yahoo_doodle.c           |    11 +-
 libpurple/protocols/yahoo/yahoo_filexfer.c         |    18 +-
 libpurple/protocols/yahoo/yahoo_filexfer.h         |     2 +-
 libpurple/protocols/yahoo/yahoo_packet.c           |    11 +-
 libpurple/protocols/yahoo/yahoo_picture.c          |     7 +-
 libpurple/protocols/yahoo/yahoo_profile.c          |     6 +-
 libpurple/protocols/yahoo/yahoochat.c              |   175 +-
 libpurple/protocols/yahoo/yahoochat.h              |     4 +-
 libpurple/protocols/yahoo/ycht.c                   |    33 +-
 libpurple/protocols/yahoo/ycht.h                   |     2 +-
 libpurple/protocols/zephyr/Makefile.mingw          |     1 +
 libpurple/protocols/zephyr/zephyr.c                |    75 +-
 libpurple/proxy.c                                  |    34 +-
 libpurple/prpl.c                                   |    28 +-
 libpurple/prpl.h                                   |    10 +-
 libpurple/purple-client.h                          |     1 +
 libpurple/purple.h.in                              |    18 +-
 libpurple/request-datasheet.c                      |    14 +-
 libpurple/request.h                                |     1 +
 libpurple/roomlist.c                               |   470 ++-
 libpurple/roomlist.h                               |    84 +-
 libpurple/savedstatuses.c                          |   165 +-
 libpurple/savedstatuses.h                          |     8 +
 libpurple/server.c                                 |   196 +-
 libpurple/server.h                                 |    22 +-
 libpurple/signals.c                                |    63 +-
 libpurple/signals.h                                |    28 +-
 libpurple/smiley.c                                 |   238 +-
 libpurple/smiley.h                                 |    17 +
 libpurple/sound-theme-loader.c                     |    28 +-
 libpurple/sound-theme-loader.h                     |     6 +
 libpurple/sound-theme.h                            |    20 +-
 libpurple/sound.c                                  |     7 +-
 libpurple/sound.h                                  |     1 +
 libpurple/sslconn.h                                |     2 +
 libpurple/status.c                                 |  1035 ++---
 libpurple/status.h                                 |   473 +--
 libpurple/tests/check_libpurple.c                  |     2 +-
 libpurple/tests/test_cipher.c                      |   145 +-
 libpurple/tests/test_jabber_caps.c                 |    28 +-
 libpurple/tests/test_jabber_scram.c                |     3 +-
 libpurple/tests/test_xmlnode.c                     |    62 +-
 libpurple/tests/tests.h                            |     2 +-
 libpurple/theme-loader.c                           |    26 +-
 libpurple/theme-loader.h                           |    21 +-
 libpurple/theme-manager.h                          |     6 +
 libpurple/theme.c                                  |    64 +-
 libpurple/theme.h                                  |    18 +-
 libpurple/upnp.c                                   |    66 +-
 libpurple/util.c                                   |   202 +-
 libpurple/util.h                                   |    75 +-
 libpurple/value.c                                  |   526 ---
 libpurple/value.h                                  |   467 --
 libpurple/whiteboard.c                             |   362 +-
 libpurple/whiteboard.h                             |    63 +-
 libpurple/win32/global.mak                         |     1 +
 libpurple/xfer.c                                   |  2405 ++++++++++++++
 libpurple/xfer.h                                   |   846 ++++
 libpurple/xmlnode.c                                |   308 +-
 libpurple/xmlnode.h                                |   104 +-
 pidgin/Makefile.am                                 |     4 +-
 pidgin/Makefile.mingw                              |     2 +-
 pidgin/gtkaccount.c                                |    52 +-
 pidgin/gtkaccount.h                                |     8 +-
 pidgin/gtkblist-theme-loader.c                     |    60 +-
 pidgin/gtkblist-theme.c                            |   205 +-
 pidgin/gtkblist.c                                  |   746 ++--
 pidgin/gtkblist.h                                  |     2 +-
 pidgin/gtkcellrendererexpander.c                   |     4 +-
 pidgin/gtkconn.c                                   |     1 +
 pidgin/gtkconv-theme-loader.c                      |    24 +-
 pidgin/gtkconv-theme.c                             |    71 +-
 pidgin/gtkconv.c                                   |  1742 +++++-----
 pidgin/gtkconv.h                                   |    60 +-
 pidgin/gtkconvwin.h                                |    84 +-
 pidgin/gtkdialogs.c                                |    47 +-
 pidgin/gtkdocklet.c                                |    14 +-
 pidgin/gtkeventloop.c                              |     1 +
 pidgin/gtkft.h                                     |   152 -
 pidgin/gtkicon-theme-loader.c                      |    26 +-
 pidgin/gtkimhtml.c                                 |    90 +-
 pidgin/gtkimhtmltoolbar.c                          |     2 +-
 pidgin/gtklog.c                                    |    25 +-
 pidgin/gtkmain.c                                   |    10 +-
 pidgin/gtkmedia.c                                  |    16 +-
 pidgin/gtkmenutray.c                               |     4 +-
 pidgin/gtkmenutray.h                               |     4 +-
 pidgin/gtknotify.c                                 |     7 +-
 pidgin/gtkplugin.h                                 |     2 +-
 pidgin/gtkpounce.c                                 |    24 +-
 pidgin/gtkprefs.c                                  |     6 +-
 pidgin/gtkprivacy.c                                |    68 +-
 pidgin/gtkprivacy.h                                |     9 +-
 pidgin/gtkrequest.c                                |     5 +-
 pidgin/gtkroomlist.c                               |    34 +-
 pidgin/gtkscrollbook.h                             |     4 +-
 pidgin/gtksession.c                                |     2 +-
 pidgin/gtksound.c                                  |    52 +-
 pidgin/gtkstatusbox.c                              |     8 +-
 pidgin/gtkstatusbox.h                              |     2 +-
 pidgin/gtkthemes.c                                 |     6 +-
 pidgin/gtkutils.c                                  |    28 +-
 pidgin/gtkwebview.c                                |    18 +-
 pidgin/gtkwebviewtoolbar.c                         |     6 +-
 pidgin/gtkwhiteboard.c                             |    10 +-
 pidgin/gtkft.c                                     |    28 +-
 pidgin/gtkxfer.h                                   |   152 +
 pidgin/minidialog.c                                |    46 +-
 pidgin/minidialog.h                                |     2 +
 pidgin/plugins/cap/cap.c                           |     6 +-
 pidgin/plugins/cap/cap.h                           |     2 +-
 pidgin/plugins/cap/cap_statistics.h                |     2 +-
 pidgin/plugins/convcolors.c                        |     6 +-
 pidgin/plugins/crazychat/cc_network.c              |    24 +-
 pidgin/plugins/crazychat/cc_pidgin_plugin.c        |     6 +-
 pidgin/plugins/disco/xmppdisco.c                   |   140 +-
 pidgin/plugins/extplacement.c                      |     5 +-
 pidgin/plugins/gestures/gestures.c                 |     6 +-
 pidgin/plugins/gevolution/add_buddy_dialog.c       |     2 +-
 pidgin/plugins/gevolution/gevo-util.c              |    18 +-
 pidgin/plugins/gevolution/gevolution.c             |    10 +-
 pidgin/plugins/gtk-signals-test.c                  |     2 +-
 pidgin/plugins/history.c                           |    16 +-
 pidgin/plugins/mailchk.c                           |     8 +-
 pidgin/plugins/markerline.c                        |    11 +-
 pidgin/plugins/musicmessaging/musicmessaging.c     |    10 +-
 pidgin/plugins/notify.c                            |    58 +-
 pidgin/plugins/perl/common/GtkAccount.xs           |     2 +-
 pidgin/plugins/perl/common/GtkConv.xs              |    19 +-
 pidgin/plugins/perl/common/GtkConvWin.xs           |    12 +-
 pidgin/plugins/perl/common/gtkmodule.h             |     4 +-
 pidgin/plugins/pidgininc.c                         |    14 +-
 pidgin/plugins/sendbutton.c                        |     4 +-
 pidgin/plugins/spellchk.c                          |     4 +-
 pidgin/plugins/themeedit-icon.c                    |     2 +-
 pidgin/plugins/themeedit.c                         |     4 +-
 pidgin/plugins/ticker/gtkticker.c                  |     2 +-
 pidgin/plugins/ticker/ticker.c                     |    17 +-
 pidgin/plugins/win32/transparency/win2ktrans.c     |    10 +-
 pidgin/plugins/win32/winprefs/winprefs.c           |     8 +-
 pidgin/plugins/xmppconsole.c                       |    40 +-
 547 files changed, 38720 insertions(+), 32276 deletions(-)

diffs (truncated from 110988 to 300 lines):

diff --git a/.hgignore b/.hgignore
--- a/.hgignore
+++ b/.hgignore
@@ -59,6 +59,7 @@ libpurple/dbus-bindings.c
 libpurple/dbus-signals.c
 libpurple/dbus-types.c
 libpurple/dbus-types.h
+libpurple/enums.[ch]
 libpurple/example/nullclient
 libpurple/gconf/purple.schemas$
 libpurple/marshallers.[ch]
@@ -119,4 +120,5 @@ po/notexist
 po/pidgin.pot
 po/stamp-it
 stamp-h1
+test-driver
 win32-install-dir(\.release)?
diff --git a/ChangeLog b/ChangeLog
--- a/ChangeLog
+++ b/ChangeLog
@@ -59,6 +59,8 @@ version 3.0.0 (??/??/????):
 
 	General:
 	* Add support for Python3 in build scripts. (Ashish Gupta) (#15624)
+	* Various core components of libpurple are now GObjects.
+	* Ciphers are now built from the libpurple directory.
 
 	Gadu-Gadu:
 	* Disabled buddy list import/export from/to server (it didn't worked
diff --git a/ChangeLog.API b/ChangeLog.API
--- a/ChangeLog.API
+++ b/ChangeLog.API
@@ -4,18 +4,36 @@ version 3.0.0 (??/??/????):
 	libpurple:
 		Added:
 		* displaying-emails-clear signal (notification signal)
-		* pidgin_create_webview
 		* purple_account_is_disconnecting
 		* purple_account_get_ui_data
 		* purple_account_set_ui_data
+		* purple_account_privacy_get_denied
+		* purple_account_privacy_get_permitted
+		* PurpleAccountPresence and PurpleBuddyPresence inherit PurplePresence
+		* purple_account_presence_new
+		* purple_buddy_presence_new
 		* purple_account_register_completed
+		* PurpleAESCipher, PurpleDESCipher, PurpleDES3Cipher, PurpleHMACCipher,
+		  PurplePBKDF2Cipher and PurpleRC4Cipher inherit PurpleCipher
+		* purple_aes_cipher_new
+		* purple_des3_cipher_new
+		* purple_des_cipher_new
+		* purple_hmac_cipher_new
+		* purple_pbkdf2_cipher_new
+		* purple_rc4_cipher_new
+		* purple_blist_node_is_transient
+		* purple_blist_node_set_transient
 		* purple_certificate_get_der_data
 		* purple_certificate_get_display_string
-		* purple_conv_chat_cb_get_alias
-		* purple_conv_chat_cb_get_flags
-		* purple_conv_chat_cb_is_buddy
-		* purple_conv_chat_cb_get_ui_data
-		* purple_conv_chat_cb_set_ui_data
+		* purple_chat_user_get_alias
+		* purple_chat_user_get_chat
+		* purple_chat_user_get_flags
+		* purple_chat_user_is_buddy
+		* purple_chat_user_get_ui_data
+		* purple_chat_user_set_ui_data
+		* purple_chat_user_set_chat
+		* purple_connection_get_active_chats
+		* purple_connection_get_error_info
 		* purple_connection_get_flags
 		* purple_connection_set_flags
 		* purple_connection_update_last_received
@@ -23,12 +41,25 @@ version 3.0.0 (??/??/????):
 		* purple_conversation_set_ui_data
 		* purple_conversation_message_get_alias
 		* purple_conversation_message_get_conv
-		* purple_contact_get_contact_size
+		* PurpleCountingNode, inherits PurpleBlistNode
+		* purple_counting_node_get_*
+		* purple_counting_node_change_*
+		* purple_counting_node_set_*
+		* PurpleHash and purple_hash_* API
+		* PurpleMD4Hash, PurpleMD5Hash, PurpleSHA1Hash and PurpleSHA265Hash
+		  inherit PurpleHash
+		* purple_md4_hash_new
+		* purple_md5_hash_new
+		* purple_sha1_hash_new
+		* purple_sha256_hash_new
+		* PurpleIMConversation and PurpleChatConversation inherit
+		  PurpleConversation
 		* purple_notify_emails_pending
 		* purple_notify_emails_present
 		* purple_notify_searchresult_column_get_title
 		* purple_notify_searchresult_column_is_visible
 		* purple_notify_searchresult_column_set_visible
+		* purple_notify_user_info_entry_destroy
 		* purple_notify_user_info_prepend_pair_plaintext
 		* purple_menu_action_get_callback
 		* purple_menu_action_get_children
@@ -63,31 +94,100 @@ version 3.0.0 (??/??/????):
 		* purple_whiteboard_set_ui_data
 		* purple_whiteboard_get_who
 		* purple_xfer_get_fd
+		* purple_xfer_get_message
 		* purple_xfer_get_protocol_data
 		* purple_xfer_get_ui_data
 		* purple_xfer_get_watcher
 		* purple_xfer_set_fd
 		* purple_xfer_set_local_port
 		* purple_xfer_set_protocol_data
+		* purple_xfer_set_remote_user
 		* purple_xfer_set_status
 		* purple_xfer_set_ui_data
 		* purple_xfer_set_watcher
-		* Various WebKit-related functions in gtkwebview.h
-		* xmlnode_get_default_namespace
-		* xmlnode_strip_prefixes
-		* PidginDockletFlag
+		* purple_xmlnode_get_default_namespace
+		* purple_xmlnode_strip_prefixes
 
 		Changed:
-		* account-authorization-requested signal merged with account-authorization-requested-with-message signal
+		* account.h has been split into account.h (PurpleAccount GObject) and
+		  accounts.h (Accounts subsystem)
+		* blist.h has been split into buddylist.h (PurpleBuddyList and
+		  subsystem), blistnode.h (PurpleBlistNode and PurpleCountingNode
+		  GObjects), blistnodetypes (Buddy, Chat, Contact, Group GObjects)
+		* circbuffer.h renamed to circularbuffer.h
+		* conversation.h has been split into conversation.h
+		  (PurpleConversation), conversationtypes.h (PurpleIMConversation and
+		  PurpleChatConversation) and conversations.h (Conversations subsystem)
+		* Files in libpurple/ciphers have been renamed. To use a particular
+		  cipher, include its header.
+		* Renamed ft.h file to xfer.h
+		* status.h has been split into status.h (Status API) and presence.h
+		  (Presence API)
+		* account-authorization-requested signal merged with
+		  account-authorization-requested-with-message signal
 		* purple_account_add_buddy now takes an invite message as the last
 		  parameter
 		* purple_account_add_buddies now takes an invite message as the last
 		  parameter
-		* purple_buddy_icon_unref no longer has a return value
+		* PurpleAccount is now a GObject. Please see the documentation for
+		  details.
+		* purple_account_get_alias renamed to purple_account_get_private_alias
+		* purple_account_set_alias renamed to purple_account_set_private_alias
+		* PurplePrivacyType renamed to PurpleAccountPrivacyType
+		* purple_privacy_* functions are now purple_account_privacy_*
+		* Removed arguments local and restore from purple_account_privacy_allow
+		  and purple_account_privacy_deny
+		* PurpleBlistNode is now a GObject. Please see the documentation for
+		  details.
+		* purple_blist_alias_buddy renamed to purple_buddy_set_local_alias
+		* purple_blist_alias_chat renamed to purple_chat_set_alias
+		* purple_blist_alias_contact renamed to purple_contact_set_alias
+		* purple_blist_merge_contact renamed to purple_contact_merge
+		* purple_blist_rename_buddy renamed to purple_buddy_set_name
+		* purple_blist_rename_group renamed to purple_group_set_name
+		* purple_blist_server_alias_buddy renamed to
+		* purple_blist_update_buddy_status renamed to purple_buddy_update_status
+		  purple_buddy_set_server_alias
+		* purple_buddy_get_local_buddy_alias renamed to
+		  purple_buddy_get_local_alias
+		* PurpleContact and PurpleGroup inherit PurpleCountingNode
+		* PurpleBuddyList is now a GObject. Please see the documentation for
+		  details.
+		* purple_find_buddies renamed to purple_blist_find_buddies
+		* purple_find_buddy_in_group renamed to purple_blist_find_buddy_in_group
+		* purple_find_buddy renamed to purple_blist_find_buddy
+		* purple_find_group renamed to purple_blist_find_group
+		* purple_get_blist renamed to purple_blist_get_buddy_list
 		* purple_certificate_check_signature_chain now returns a list of failing
 		  PurpleCertificate*s as the second parameter
+		* PurpleConversation is now an abstract type, and is a GObject. Please
+		  see the documentation for details.
+		* purple_conv_* functions are now purple_conversation_*
+		* purple_conv_im_* functions are now purple_im_conversation_*
+		* purple_conv_chat_* functions are now purple_chat_conversation_*
+		* purple_chat_conversation_find_user renamed to
+		  purple_chat_conversation_has_user
+		* PurpleTypingState renamed to PurpleIMTypingState
+		* PurpleConvChatBuddy changed to PurpleChatUser, is now a GObject.
+		  Please see the documentation for details.
+		* purple_conv_chat_cb_* functions are now purple_chat_user_*
+		* Replaced 'chat-buddy' with 'chat-user' in conversation signals
+		* Replaced chatname, buddyname arguments of 'chat-user-flags' (formerly
+		  'chat-buddy-flags') signal with PurpleChatUser *
+		* PurpleCipher split into PurpleCipher and PurpleHash, both are
+		  GObjects. Please see the documentation for details.
+		* purple_cipher_context_* functions are now purple_cipher_*
+		* PurpleCircBuffer changed to PurpleCircularBuffer, is now a GObject.
+		  Please see the documentation for details.
+		* purple_circ_buffer_* functions are now purple_circular_buffer_*
 		* purple_connection_error now takes a PurpleConnectionError
 		  as the second parameter
+		* PurpleConnection is now a GObject. Please see the documentation for
+		  details.
+		* PURPLE_CONNECTION_* prefix of PurpleConnectionFlag enum names changed
+		  to PURPLE_CONNECTION_FLAG_*
+		* PURPLE_* prefix of PurpleConnectionState enum names changed to
+		  PURPLE_CONNECTION_*
 		* purple_conversation_get_gc renamed to
 		  purple_conversation_get_connection
 		* purple_dnsquery_a now takes a PurpleAccount as the first parameter
@@ -107,9 +207,21 @@ version 3.0.0 (??/??/????):
 		  a GList
 		* purple_notify_user_info_prepend_pair renamed to
 		  purple_notify_user_info_prepend_pair_html
-		* pidgin_setup_screenname_autocomplete now takes a filter function and
-		  its data as final two arguments
+		* PurpleRoomlist is now a GObject. Please see the documentation for
+		  details.
+		* purple_roomlist_room_get_type is now
+		  purple_roomlist_room_get_room_type
+		* purple_roomlist_field_get_type is now
+		  purple_roomlist_field_get_field_type
 		* purple_srv_resolve now takes a PurpleAccount as the first parameter
+		* PurpleStatus is now a GObject. Please see the documentation for
+		  details.
+		* purple_status_attr_* functions are now purple_status_attribute_*
+		* PurpleStatusAttr renamed to PurpleStatusAttribute
+		* PurplePresence is now an abstract type, and is a GObject. Please see
+		  the documentation for details.
+		* update_idle method has been added to PurplePresenceClass to update the
+		  idle state of a presence
 		* purple_str_size_to_units now takes a goffset as the size parameter
 		* purple_txt_resolve now takes a PurpleAccount as the first parameter
 		* purple_util_fetch_url_request now takes a PurpleAccount as
@@ -117,10 +229,23 @@ version 3.0.0 (??/??/????):
 		* purple_util_fetch_url_request now takes a length as the eighth
 		  parameter
 		* purple_util_fetch_url_len now takes a length as the fifth parameter
+		* PurpleWhiteboard is now a GObject. Please see the documentation for
+		  details.
+		* purple_value_destroy is now purple_value_free
+		* purple_value_new, purple_value_dup and purple_value_free now operate
+		  on GValue instead of PurpleValue
+		* Signal registration now uses GTypes instead of PurpleValues.  See
+		  SIGNAL-HOWTO for more information.
+		* purple_whiteboard_create renamed to purple_whiteboard_new
 		* purple_xfer_get_bytes_remaining now returns a goffset
 		* purple_xfer_get_bytes_sent now returns a goffset
 		* purple_xfer_get_size now returns a goffset
 		* purple_xfer_is_canceled renamed to purple_xfer_is_cancelled
+		* PurpleXfer is now a GObject. Please see the documentation for details.
+		* purple_xfer_get_type renamed to purple_xfer_get_xfer_type
+		* PurpleXferStatusType renamed to PurpleXferStatus
+		* PURPLE_XFER_* prefix of PurpleXferType enums changed to
+		  PURPLE_XFER_TYPE_*
 		* purple_xfer_set_bytes_sent now takes a goffset as the bytes_sent
 		  parameter
 		* purple_xfer_set_size now takes a goffset as the size parameter
@@ -136,17 +261,15 @@ version 3.0.0 (??/??/????):
 		  time_t to represent times
 		* purple_certificate_get_times now uses gint64 instead of
 		  time_t to represent times
+		* xmlnode renamed to PurpleXmlNode
+		* XMLNodeType renamed to PurpleXmlNodeType
+		* xmlnode_* functions are now purple_xmlnode_*
 
 		Removed:
-		* _GntFileType
-		* _GntKeyPressMode
-		* _GntMouseEvent
-		* _GntParamFlags
-		* _GntProgressBarOrientation
-		* _GntTreeColumnFlag
-		* _GntWidgetFlags
+		* buddy-added and buddy-removed blist signals
+		* privacy.h file
+		* value.h file
 		* _PurpleCipherBatchMode
-		* _PurpleCipherCaps
 		* _PurpleCmdFlag
 		* _PurpleCmdPriority
 		* _PurpleCmdRet
@@ -156,26 +279,9 @@ version 3.0.0 (??/??/????):
 		* _PurpleSoundEventID
 		* _XMLNodeType
 		* account-authorization-requested-with-message signal
-		* GtkIMHtml.clipboard_html_string
-		* GtkIMHtml.clipboard_text_string
-		* GtkIMHtmlFontDetail
-		* gtk_imhtml_animation_free
-		* gtk_imhtml_animation_new
-		* gtk_imhtml_image_add_to
-		* gtk_imhtml_image_free
-		* gtk_imhtml_image_new
-		* gtk_imhtml_image_scale
-		* pidgin_blist_update_account_error_state
-		* pidgin_check_if_dir
-		* PIDGIN_DIALOG
-		* pidgin_dialogs_alias_contact
-		* pidgin_mini_dialog_links_supported
-		* pidgin_set_custom_buddy_icon



More information about the Commits mailing list