~ubuntu-branches/ubuntu/quantal/pidgin/quantal

« back to all changes in this revision

Viewing changes to libpurple/protocols/msn/soap.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-08-11 14:16:15 UTC
  • mfrom: (1.3.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20100811141615-lsqya0vlqrnu14lo
Tags: 1:2.7.3-1ubuntu1
* Resync on Debian, workaround build issue (lp:#600952) 
* debian/control:
  - Build-Depends on liblaunchpad-integration-dev
  - Drop libpurple0 dependency from libpurple-bin
  - Drop pidgin-data dependency from libpurple0
  - Recommends pidgin-libnotify
* debian/libpurple0.symbols: 
  - add epochs
* debian/patches/02_lpi.patch:
  - launchpad integration
* debian/patches/04_let_crasher_for_apport.patch:
  - stop catching the SIGSEGV signal and let apport handle it
* debian/patches/05_default_to_irc_ubuntu_com.patch:
  - set the default IRC server to irc.ubuntu.com
* debian/patches/10_docklet_default_off.patch:
  - default behavior to have no notification area icon.
* debian/patches/11_buddy_list_really_show.patch:
  - the buddy list tries harder to appear.  This fixes some issues with it
    not appearing.
* debian/patches/ 13_sounds_and_timers.patch:
  - adjusts the time out for sounds to be 15 seconds, 
    which helps get fewer spurious login notifications on slow connections.
* debian/patches/60_1024x600_gtk*.c.patch: 
  - add scrollbars into preferences and pounce dialogs
* debian/prefs.xml: 
  - Update to set the notify plugin prefs /plugins/gtk/X11/notify/*, 
    set /pidgin/plugins/loaded to load the notify plugin and enable 
    the standard logging options by default
* debian/rules:
  - install a launcher in the message indicator
  - set translation domain and update template
  - use simple-patchsys rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
 
69
69
        GQueue *queue;
70
70
        MsnSoapRequest *current_request;
71
 
        gboolean unsafe_debug;
72
71
} MsnSoapConnection;
73
72
 
74
73
static gboolean msn_soap_connection_run(gpointer data);
80
79
        conn->session = session;
81
80
        conn->host = g_strdup(host);
82
81
        conn->queue = g_queue_new();
83
 
        conn->unsafe_debug = purple_debug_is_unsafe();
84
82
        return conn;
85
83
}
86
84
 
509
507
                purple_debug_info("soap", "read: %s\n", g_strerror(perrno));
510
508
 
511
509
        if (conn->current_request && conn->current_request->secure &&
512
 
                !conn->unsafe_debug)
 
510
                !purple_debug_is_unsafe())
513
511
                purple_debug_misc("soap", "Received secure request.\n");
514
512
        else if (count != 0)
515
513
                purple_debug_misc("soap", "current %s\n", conn->buf->str + cursor);
659
657
                        g_string_append(conn->buf, "\r\n");
660
658
                        g_string_append(conn->buf, body);
661
659
 
662
 
                        if (req->secure && !conn->unsafe_debug)
 
660
                        if (req->secure && !purple_debug_is_unsafe())
663
661
                                purple_debug_misc("soap", "Sending secure request.\n");
664
662
                        else
665
663
                                purple_debug_misc("soap", "%s\n", conn->buf->str);