Merged in default (pull request #574)
start migrating plugins to purple.h
Approved-by: Elliott Sales de Andrade
Approved-by: Eion Robb
--- a/libpurple/plugins/autoaccept.c Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/plugins/autoaccept.c Wed Oct 09 02:04:00 2019 +0000
@@ -31,16 +31,7 @@
-#include <conversation.h>
#define PREF_PREFIX "/plugins/core/" PLUGIN_ID
#define PREF_PATH PREF_PREFIX "/path"
--- a/libpurple/plugins/buddynote.c Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/plugins/buddynote.c Wed Oct 09 02:04:00 2019 +0000
@@ -18,12 +18,7 @@
dont_do_it_cb(PurpleBlistNode *node, const char *note)
--- a/libpurple/plugins/codeinline.c Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/plugins/codeinline.c Wed Oct 09 02:04:00 2019 +0000
@@ -21,10 +21,8 @@
PurplePlugin *plugin_handle = NULL;
--- a/libpurple/plugins/filectl.c Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/plugins/filectl.c Wed Oct 09 02:04:00 2019 +0000
@@ -16,14 +16,7 @@
-#include "conversation.h"
#define FILECTL_PLUGIN_ID "core-filectl"
--- a/libpurple/plugins/idle.c Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/plugins/idle.c Wed Oct 09 02:04:00 2019 +0000
@@ -24,15 +24,7 @@
/* This plugin no longer depends on gtk */
#define IDLE_PLUGIN_ID "core-idle"
--- a/libpurple/plugins/joinpart.c Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/plugins/joinpart.c Wed Oct 09 02:04:00 2019 +0000
@@ -21,10 +21,7 @@
-#include "conversation.h"
#define JOINPART_PLUGIN_ID "core-rlaager-joinpart"
--- a/libpurple/plugins/keyrings/internalkeyring.c Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/plugins/keyrings/internalkeyring.c Wed Oct 09 02:04:00 2019 +0000
@@ -25,11 +25,7 @@
--- a/libpurple/plugins/keyrings/kwallet/purplekwallet.cpp Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/plugins/keyrings/kwallet/purplekwallet.cpp Wed Oct 09 02:04:00 2019 +0000
@@ -25,11 +25,7 @@
#include <QCoreApplication>
--- a/libpurple/plugins/keyrings/secretservice.c Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/plugins/keyrings/secretservice.c Wed Oct 09 02:04:00 2019 +0000
@@ -33,11 +33,7 @@
#include <libsecret/secret.h>
--- a/libpurple/plugins/keyrings/wincred.c Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/plugins/keyrings/wincred.c Wed Oct 09 02:04:00 2019 +0000
@@ -25,10 +25,7 @@
--- a/libpurple/plugins/log_reader.c Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/plugins/log_reader.c Wed Oct 09 02:04:00 2019 +0000
@@ -1,17 +1,25 @@
+ * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
/* Where is the Windows partition mounted? */
#ifndef PURPLE_LOG_READER_WINDOWS_MOUNT_POINT
--- a/libpurple/plugins/offlinemsg.c Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/plugins/offlinemsg.c Wed Oct 09 02:04:00 2019 +0000
@@ -27,15 +27,7 @@
#define PLUGIN_DESCRIPTION N_("Save messages sent to an offline user as pounce.")
#define PLUGIN_AUTHORS {"Sadrul H Chowdhury <sadrul@users.sourceforge.net>", NULL}
-#include <conversation.h>
#define PREF_PREFIX "/plugins/core/" PLUGIN_ID
#define PREF_ALWAYS PREF_PREFIX "/always"
--- a/libpurple/plugins/one_time_password.c Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/plugins/one_time_password.c Wed Oct 09 02:04:00 2019 +0000
@@ -19,11 +19,7 @@
#define PLUGIN_ID "core-one_time_password"
#define PREF_NAME PLUGIN_ID "_enabled"
--- a/libpurple/plugins/psychic.c Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/plugins/psychic.c Wed Oct 09 02:04:00 2019 +0000
@@ -1,19 +1,22 @@
+ * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-#include "conversation.h"
#define PLUGIN_ID "core-psychic"
#define PLUGIN_NAME N_("Psychic Mode")
--- a/libpurple/plugins/signals-test.c Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/plugins/signals-test.c Wed Oct 09 02:04:00 2019 +0000
@@ -21,19 +21,10 @@
#define SIGNAL_TEST_PLUGIN_ID "core-signals-test"
-#include "conversation.h"
/**************************************************************************
* Account subsystem signal callbacks
**************************************************************************/
--- a/libpurple/plugins/simple.c Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/plugins/simple.c Wed Oct 09 02:04:00 2019 +0000
@@ -1,7 +1,22 @@
+ * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
/** Plugin id : type-author-name (to guarantee uniqueness) */
#define SIMPLE_PLUGIN_ID "core-ewarmenhoven-simple"
--- a/libpurple/plugins/statenotify.c Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/plugins/statenotify.c Wed Oct 09 02:04:00 2019 +0000
@@ -1,14 +1,22 @@
+ * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-#include "conversation.h"
#define STATENOTIFY_PLUGIN_ID "core-statenotify"
--- a/libpurple/plugins/test-request-input.c Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/plugins/test-request-input.c Wed Oct 09 02:04:00 2019 +0000
@@ -22,9 +22,7 @@
#define PREF_ROOT "/plugins"
#define PREF_TEST "/plugins/tests"
--- a/libpurple/protocols/bonjour/bonjour.c Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/protocols/bonjour/bonjour.c Wed Oct 09 02:04:00 2019 +0000
@@ -31,13 +31,7 @@
--- a/libpurple/protocols/bonjour/bonjour.h Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/protocols/bonjour/bonjour.h Wed Oct 09 02:04:00 2019 +0000
@@ -29,7 +29,7 @@
--- a/libpurple/protocols/bonjour/bonjour_ft.c Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/protocols/bonjour/bonjour_ft.c Wed Oct 09 02:04:00 2019 +0000
@@ -20,12 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
--- a/libpurple/protocols/bonjour/bonjour_ft.h Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/protocols/bonjour/bonjour_ft.h Wed Oct 09 02:04:00 2019 +0000
@@ -22,8 +22,7 @@
#ifndef PURPLE_BONJOUR_BONJOUR_FT_H
#define PURPLE_BONJOUR_BONJOUR_FT_H
--- a/libpurple/protocols/bonjour/buddy.c Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/protocols/bonjour/buddy.c Wed Oct 09 02:04:00 2019 +0000
@@ -18,12 +18,11 @@
#include "mdns_interface.h"
--- a/libpurple/protocols/bonjour/buddy.h Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/protocols/bonjour/buddy.h Wed Oct 09 02:04:00 2019 +0000
@@ -19,7 +19,8 @@
--- a/libpurple/protocols/bonjour/dns_sd_proxy.c Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/protocols/bonjour/dns_sd_proxy.c Wed Oct 09 02:04:00 2019 +0000
@@ -1,5 +1,4 @@
* Purple is the legal property of its developers, whose names are too numerous
* to list here. Please refer to the COPYRIGHT file distributed with this
@@ -20,6 +19,8 @@
#include "dns_sd_proxy.h"
static DNSServiceErrorType (DNSSD_API* _DNSServiceAddRecord)(DNSServiceRef sdRef, DNSRecordRef *RecordRef, DNSServiceFlags flags,
--- a/libpurple/protocols/bonjour/dns_sd_proxy.h Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/protocols/bonjour/dns_sd_proxy.h Wed Oct 09 02:04:00 2019 +0000
@@ -1,5 +1,4 @@
* Purple is the legal property of its developers, whose names are too numerous
* to list here. Please refer to the COPYRIGHT file distributed with this
@@ -21,8 +20,6 @@
#ifndef PURPLE_BONJOUR_DNS_SD_PROXY_H
#define PURPLE_BONJOUR_DNS_SD_PROXY_H
--- a/libpurple/protocols/bonjour/jabber.c Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/protocols/bonjour/jabber.c Wed Oct 09 02:04:00 2019 +0000
@@ -21,6 +21,7 @@
@@ -46,16 +47,6 @@
--- a/libpurple/protocols/bonjour/jabber.h Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/protocols/bonjour/jabber.h Wed Oct 09 02:04:00 2019 +0000
@@ -28,10 +28,7 @@
#include <libxml/parser.h>
-#include "circularbuffer.h"
--- a/libpurple/protocols/bonjour/mdns_avahi.c Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/protocols/bonjour/mdns_avahi.c Wed Oct 09 02:04:00 2019 +0000
@@ -15,9 +15,9 @@
#include "mdns_interface.h"
--- a/libpurple/protocols/bonjour/mdns_common.c Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/protocols/bonjour/mdns_common.c Wed Oct 09 02:04:00 2019 +0000
@@ -17,7 +17,7 @@
#include "mdns_interface.h"
--- a/libpurple/protocols/bonjour/mdns_dns_sd.c Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/protocols/bonjour/mdns_dns_sd.c Wed Oct 09 02:04:00 2019 +0000
@@ -1,5 +1,4 @@
* Purple is the legal property of its developers, whose names are too numerous
* to list here. Please refer to the COPYRIGHT file distributed with this
@@ -20,7 +19,7 @@
#include "mdns_interface.h"
--- a/libpurple/protocols/bonjour/mdns_types.h Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/protocols/bonjour/mdns_types.h Wed Oct 09 02:04:00 2019 +0000
@@ -18,7 +18,8 @@
#define PURPLE_BONJOUR_MDNS_TYPES_H
#define LINK_LOCAL_RECORD_NAME "_presence._tcp."
--- a/libpurple/protocols/bonjour/parser.c Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/protocols/bonjour/parser.c Wed Oct 09 02:04:00 2019 +0000
@@ -21,15 +21,12 @@
#include <libxml/parser.h>
parse_from_attrib_and_find_buddy(BonjourJabberConversation *bconv, int nb_attributes, const xmlChar **attributes) {
--- a/libpurple/protocols/irc/cmds.c Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/protocols/irc/cmds.c Wed Oct 09 02:04:00 2019 +0000
@@ -1,6 +1,4 @@
* Copyright (C) 2003, Ethan Blanton <eblanton@cs.purdue.edu>
@@ -21,11 +19,7 @@
-#include "conversation.h"
--- a/libpurple/protocols/irc/dcc_send.c Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/protocols/irc/dcc_send.c Wed Oct 09 02:04:00 2019 +0000
@@ -1,6 +1,4 @@
- * @file dcc_send.c Functions used in sending files with DCC SEND
* Copyright (C) 2004, Timothy T Ringenbach <omarvo@hotmail.com>
@@ -22,11 +20,9 @@
--- a/libpurple/protocols/irc/irc.c Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/protocols/irc/irc.c Wed Oct 09 02:04:00 2019 +0000
@@ -1,6 +1,4 @@
* Copyright (C) 2003, Robbert Haarman <purple@inglorion.net>
@@ -24,19 +22,7 @@
-#include "conversation.h"
--- a/libpurple/protocols/irc/irc.h Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/protocols/irc/irc.h Wed Oct 09 02:04:00 2019 +0000
@@ -1,6 +1,4 @@
* Copyright (C) 2003, 2012 Ethan Blanton <elb@pidgin.im>
@@ -30,10 +28,7 @@
-#include "circularbuffer.h"
-#include "queuedoutputstream.h"
#define IRC_TYPE_PROTOCOL (irc_protocol_get_type())
#define IRC_PROTOCOL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), IRC_TYPE_PROTOCOL, IRCProtocol))
--- a/libpurple/protocols/irc/msgs.c Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/protocols/irc/msgs.c Wed Oct 09 02:04:00 2019 +0000
@@ -1,6 +1,4 @@
* Copyright (C) 2003, 2012 Ethan Blanton <elb@pidgin.im>
@@ -27,12 +25,8 @@
-#include "conversation.h"
--- a/libpurple/protocols/irc/parse.c Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/protocols/irc/parse.c Wed Oct 09 02:04:00 2019 +0000
@@ -1,6 +1,4 @@
* Copyright (C) 2003, Ethan Blanton <eblanton@cs.purdue.edu>
@@ -21,13 +19,8 @@
-#include "conversation.h"
--- a/libpurple/protocols/simple/ntlm.c Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/protocols/simple/ntlm.c Wed Oct 09 02:04:00 2019 +0000
@@ -1,4 +1,5 @@
* Copyright (C) 2005 Thomas Butter <butter@uni-mannheim.de>
@@ -21,10 +22,9 @@
--- a/libpurple/protocols/simple/ntlm.h Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/protocols/simple/ntlm.h Wed Oct 09 02:04:00 2019 +0000
@@ -1,4 +1,5 @@
* Copyright (C) 2005, Thomas Butter <butter@uni-mannheim.de>
--- a/libpurple/protocols/simple/simple.c Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/protocols/simple/simple.c Wed Oct 09 02:04:00 2019 +0000
@@ -1,6 +1,4 @@
* Copyright (C) 2005 Thomas Butter <butter@uni-mannheim.de>
@@ -25,19 +23,7 @@
-#include "conversation.h"
--- a/libpurple/protocols/simple/simple.h Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/protocols/simple/simple.h Wed Oct 09 02:04:00 2019 +0000
@@ -1,6 +1,4 @@
* Copyright (C) 2005, Thomas Butter <butter@uni-mannheim.de>
@@ -28,10 +26,7 @@
-#include "circularbuffer.h"
--- a/libpurple/protocols/simple/sipmsg.c Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/protocols/simple/sipmsg.c Wed Oct 09 02:04:00 2019 +0000
@@ -1,6 +1,4 @@
* Copyright (C) 2005 Thomas Butter <butter@uni-mannheim.de>
@@ -21,16 +19,7 @@
-#include "conversation.h"
--- a/libpurple/protocols/simple/sipmsg.h Wed Oct 09 02:02:56 2019 +0000
+++ b/libpurple/protocols/simple/sipmsg.h Wed Oct 09 02:04:00 2019 +0000
@@ -1,6 +1,4 @@
* Copyright (C) 2005, Thomas Butter <butter@uni-mannheim.de>