/soc/2013/ankitkv/gobjectification: a8c3fecee2d3: Renamed prpl.[...

Ankit Vani a at nevitus.org
Sat Aug 17 15:16:01 EDT 2013


Changeset: a8c3fecee2d3498899ad515a7774ea7beb06ceb0
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-08-17 23:27 +0530
Branch:	 soc.2013.gobjectification.plugins
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/a8c3fecee2d3

Description:

Renamed prpl.[ch] to protocol.[ch]

diffstat:

 finch/finch.c                              |  2 +-
 finch/gntft.c                              |  2 +-
 finch/gntpounce.c                          |  2 +-
 libpurple/Makefile.am                      |  6 +++---
 libpurple/account.h                        |  2 +-
 libpurple/buddyicon.h                      |  2 +-
 libpurple/buddylist.c                      |  2 +-
 libpurple/connection.h                     |  2 +-
 libpurple/conversation.c                   |  2 +-
 libpurple/plugins/perl/common/module.h     |  4 ++--
 libpurple/prpl.c                           |  2 +-
 libpurple/prpl.h                           |  2 +-
 libpurple/protocols/irc/irc.c              |  2 +-
 libpurple/protocols/jabber/buddy.c         |  2 +-
 libpurple/protocols/jabber/chat.c          |  2 +-
 libpurple/protocols/jabber/jabber.c        |  2 +-
 libpurple/protocols/msn/msn.c              |  2 +-
 libpurple/protocols/mxit/roster.c          |  6 +++---
 libpurple/protocols/novell/novell.c        |  2 +-
 libpurple/protocols/null/nullprpl.c        |  6 +++---
 libpurple/protocols/oscar/oscar.c          |  2 +-
 libpurple/protocols/oscar/oscarcommon.h    |  2 +-
 libpurple/protocols/sametime/sametime.c    |  2 +-
 libpurple/protocols/silc/silcpurple.h      |  2 +-
 libpurple/protocols/simple/simple.c        |  2 +-
 libpurple/protocols/simple/simple.h        |  2 +-
 libpurple/protocols/simple/sipmsg.c        |  2 +-
 libpurple/protocols/yahoo/libymsg.c        |  2 +-
 libpurple/protocols/yahoo/libymsg.h        |  2 +-
 libpurple/protocols/yahoo/util.c           |  2 +-
 libpurple/protocols/yahoo/yahoo_doodle.c   |  2 +-
 libpurple/protocols/yahoo/yahoo_filexfer.c |  2 +-
 libpurple/protocols/yahoo/yahoo_friend.c   |  2 +-
 libpurple/protocols/yahoo/yahoo_picture.c  |  2 +-
 libpurple/protocols/yahoo/yahoochat.c      |  2 +-
 libpurple/protocols/yahoo/ycht.c           |  2 +-
 libpurple/protocols/zephyr/zephyr.c        |  2 +-
 libpurple/server.c                         |  2 +-
 libpurple/server.h                         |  2 +-
 libpurple/util.c                           |  2 +-
 libpurple/util.h                           |  2 +-
 libpurple/whiteboard.c                     |  2 +-
 pidgin/gtkaccount.c                        |  2 +-
 pidgin/gtkblist.c                          |  2 +-
 pidgin/gtkconv.c                           |  4 ++--
 pidgin/gtkdialogs.c                        |  2 +-
 pidgin/gtkft.c                             |  2 +-
 pidgin/gtkmain.c                           |  2 +-
 pidgin/gtkpounce.c                         |  2 +-
 pidgin/gtkprefs.c                          |  2 +-
 pidgin/gtkthemes.c                         |  2 +-
 pidgin/gtkutils.c                          |  2 +-
 pidgin/gtkutils.h                          |  2 +-
 pidgin/plugins/raw.c                       |  2 +-
 pidgin/plugins/ticker/ticker.c             |  2 +-
 pidgin/plugins/xmppconsole.c               |  2 +-
 56 files changed, 64 insertions(+), 64 deletions(-)

diffs (truncated from 746 to 300 lines):

diff --git a/finch/finch.c b/finch/finch.c
--- a/finch/finch.c
+++ b/finch/finch.c
@@ -31,7 +31,7 @@
 #include "log.h"
 #include "notify.h"
 #include "plugins.h"
-#include "prpl.h"
+#include "protocol.h"
 #include "pounce.h"
 #include "savedstatuses.h"
 #include "sound.h"
diff --git a/finch/gntft.c b/finch/gntft.c
--- a/finch/gntft.c
+++ b/finch/gntft.c
@@ -36,7 +36,7 @@
 #include "debug.h"
 #include "notify.h"
 #include "ft.h"
-#include "prpl.h"
+#include "protocol.h"
 #include "util.h"
 
 #include "gntft.h"
diff --git a/finch/gntpounce.c b/finch/gntpounce.c
--- a/finch/gntpounce.c
+++ b/finch/gntpounce.c
@@ -43,7 +43,7 @@
 #include "conversation.h"
 #include "debug.h"
 #include "notify.h"
-#include "prpl.h"
+#include "protocol.h"
 #include "request.h"
 #include "server.h"
 #include "util.h"
diff --git a/libpurple/Makefile.am b/libpurple/Makefile.am
--- a/libpurple/Makefile.am
+++ b/libpurple/Makefile.am
@@ -81,7 +81,7 @@ purple_coresources = \
 	prefs.c \
 	presence.c \
 	proxy.c \
-	prpl.c \
+	protocol.c \
 	request.c \
 	roomlist.c \
 	savedstatuses.c \
@@ -152,7 +152,7 @@ purple_coreheaders = \
 	prefs.h \
 	presence.h \
 	proxy.h \
-	prpl.h \
+	protocol.h \
 	request.h \
 	roomlist.h \
 	savedstatuses.h \
@@ -231,7 +231,7 @@ dbus_exported = dbus-useful.h dbus-defin
                 blistnodetypes.h buddylist.h buddyicon.h connection.h conversation.h \
                 conversationtypes.h conversations.h core.h ft.h log.h notify.h \
                 prefs.h presence.h roomlist.h savedstatuses.h smiley.h status.h \
-                server.h util.h xmlnode.h prpl.h
+                server.h util.h xmlnode.h protocol.h
 
 purple_build_coreheaders = $(addprefix $(srcdir)/, $(purple_coreheaders)) \
 		$(addprefix $(srcdir)/media/, $(purple_mediaheaders)) \
diff --git a/libpurple/account.h b/libpurple/account.h
--- a/libpurple/account.h
+++ b/libpurple/account.h
@@ -53,7 +53,7 @@ typedef void (*PurpleGetPublicAliasFailu
 #include "connection.h"
 #include "log.h"
 #include "proxy.h"
-#include "prpl.h"
+#include "protocol.h"
 #include "status.h"
 #include "keyring.h"
 #include "xmlnode.h"
diff --git a/libpurple/buddyicon.h b/libpurple/buddyicon.h
--- a/libpurple/buddyicon.h
+++ b/libpurple/buddyicon.h
@@ -38,7 +38,7 @@ typedef struct _PurpleBuddyIcon PurpleBu
 #include "account.h"
 #include "buddylist.h"
 #include "imgstore.h"
-#include "prpl.h"
+#include "protocol.h"
 #include "util.h"
 
 G_BEGIN_DECLS
diff --git a/libpurple/buddylist.c b/libpurple/buddylist.c
--- a/libpurple/buddylist.c
+++ b/libpurple/buddylist.c
@@ -28,7 +28,7 @@
 #include "notify.h"
 #include "pounce.h"
 #include "prefs.h"
-#include "prpl.h"
+#include "protocol.h"
 #include "server.h"
 #include "signals.h"
 #include "util.h"
diff --git a/libpurple/connection.h b/libpurple/connection.h
--- a/libpurple/connection.h
+++ b/libpurple/connection.h
@@ -155,7 +155,7 @@ typedef struct
 #include <time.h>
 
 #include "account.h"
-#include "prpl.h"
+#include "protocol.h"
 #include "status.h"
 #include "sslconn.h"
 
diff --git a/libpurple/conversation.c b/libpurple/conversation.c
--- a/libpurple/conversation.c
+++ b/libpurple/conversation.c
@@ -29,7 +29,7 @@
 #include "imgstore.h"
 #include "notify.h"
 #include "prefs.h"
-#include "prpl.h"
+#include "protocol.h"
 #include "request.h"
 #include "signals.h"
 #include "util.h"
diff --git a/libpurple/plugins/perl/common/module.h b/libpurple/plugins/perl/common/module.h
--- a/libpurple/plugins/perl/common/module.h
+++ b/libpurple/plugins/perl/common/module.h
@@ -60,7 +60,7 @@ typedef struct group *Purple__Group;
 #include "pounce.h"
 #include "prefs.h"
 #include "presence.h"
-#include "prpl.h"
+#include "protocol.h"
 #include "proxy.h"
 #include "request.h"
 #include "roomlist.h"
@@ -233,7 +233,7 @@ typedef PurpleBuddyPresence *		Purple__B
 typedef PurpleProxyInfo *			Purple__ProxyInfo;
 typedef PurpleProxyType			Purple__ProxyType;
 
-/* prpl.h */
+/* protocol.h */
 typedef PurpleBuddyIconSpec *		Purple__Buddy__Icon__Spec;
 typedef PurpleIconScaleRules		Purple__IconScaleRules;
 typedef PurplePluginProtocolInfo *	Purple__PluginProtocolInfo;
diff --git a/libpurple/prpl.c b/libpurple/protocol.c
rename from libpurple/prpl.c
rename to libpurple/protocol.c
--- a/libpurple/prpl.c
+++ b/libpurple/protocol.c
@@ -26,7 +26,7 @@
 #include "debug.h"
 #include "network.h"
 #include "notify.h"
-#include "prpl.h"
+#include "protocol.h"
 #include "request.h"
 #include "util.h"
 
diff --git a/libpurple/prpl.h b/libpurple/protocol.h
rename from libpurple/prpl.h
rename to libpurple/protocol.h
--- a/libpurple/prpl.h
+++ b/libpurple/protocol.h
@@ -1,5 +1,5 @@
 /**
- * @file prpl.h Protocol Plugin functions
+ * @file protocol.h Protocol Plugin functions
  * @ingroup core
  */
 
diff --git a/libpurple/protocols/irc/irc.c b/libpurple/protocols/irc/irc.c
--- a/libpurple/protocols/irc/irc.c
+++ b/libpurple/protocols/irc/irc.c
@@ -30,7 +30,7 @@
 #include "conversation.h"
 #include "debug.h"
 #include "notify.h"
-#include "prpl.h"
+#include "protocol.h"
 #include "plugins.h"
 #include "util.h"
 #include "version.h"
diff --git a/libpurple/protocols/jabber/buddy.c b/libpurple/protocols/jabber/buddy.c
--- a/libpurple/protocols/jabber/buddy.c
+++ b/libpurple/protocols/jabber/buddy.c
@@ -23,7 +23,7 @@
 #include "internal.h"
 #include "debug.h"
 #include "imgstore.h"
-#include "prpl.h"
+#include "protocol.h"
 #include "notify.h"
 #include "request.h"
 #include "util.h"
diff --git a/libpurple/protocols/jabber/chat.c b/libpurple/protocols/jabber/chat.c
--- a/libpurple/protocols/jabber/chat.c
+++ b/libpurple/protocols/jabber/chat.c
@@ -22,7 +22,7 @@
  */
 #include "internal.h"
 #include "debug.h"
-#include "prpl.h" /* for proto_chat_entry */
+#include "protocol.h" /* for proto_chat_entry */
 #include "notify.h"
 #include "request.h"
 #include "roomlist.h"
diff --git a/libpurple/protocols/jabber/jabber.c b/libpurple/protocols/jabber/jabber.c
--- a/libpurple/protocols/jabber/jabber.c
+++ b/libpurple/protocols/jabber/jabber.c
@@ -37,7 +37,7 @@
 #include "notify.h"
 #include "pluginpref.h"
 #include "proxy.h"
-#include "prpl.h"
+#include "protocol.h"
 #include "request.h"
 #include "server.h"
 #include "status.h"
diff --git a/libpurple/protocols/msn/msn.c b/libpurple/protocols/msn/msn.c
--- a/libpurple/protocols/msn/msn.c
+++ b/libpurple/protocols/msn/msn.c
@@ -41,7 +41,7 @@
 #include "util.h"
 #include "cmds.h"
 #include "core.h"
-#include "prpl.h"
+#include "protocol.h"
 #include "msnutils.h"
 #include "version.h"
 
diff --git a/libpurple/protocols/mxit/roster.c b/libpurple/protocols/mxit/roster.c
--- a/libpurple/protocols/mxit/roster.c
+++ b/libpurple/protocols/mxit/roster.c
@@ -325,7 +325,7 @@ static PurpleBuddy* mxit_update_buddy_gr
 		/* now re-instate his presence again */
 		if ( contact ) {
 
-			/* update the buddy's status (reference: "libpurple/prpl.h") */
+			/* update the buddy's status (reference: "libpurple/protocol.h") */
 			if ( contact->statusMsg )
 				purple_prpl_got_user_status( session->acc, newbuddy->name, mxit_statuses[contact->presence].id, "message", contact->statusMsg, NULL );
 			else
@@ -422,7 +422,7 @@ void mxit_update_contact( struct MXitSes
 	else
 		contact->avatarId = NULL;
 
-	/* update the buddy's status (reference: "libpurple/prpl.h") */
+	/* update the buddy's status (reference: "libpurple/protocol.h") */
 	purple_prpl_got_user_status( session->acc, contact->username, mxit_statuses[contact->presence].id, NULL );
 
 	/* update the buddy's mood */
@@ -488,7 +488,7 @@ void mxit_update_buddy_presence( struct 
 	if ( ( statusMsg ) && ( statusMsg[0] != '\0' ) )
 		contact->statusMsg = g_markup_escape_text( statusMsg, -1 );
 
-	/* update the buddy's status (reference: "libpurple/prpl.h") */
+	/* update the buddy's status (reference: "libpurple/protocol.h") */
 	if ( contact->statusMsg )
 		purple_prpl_got_user_status( session->acc, username, mxit_statuses[contact->presence].id, "message", contact->statusMsg, NULL );
 	else
diff --git a/libpurple/protocols/novell/novell.c b/libpurple/protocols/novell/novell.c
--- a/libpurple/protocols/novell/novell.c
+++ b/libpurple/protocols/novell/novell.c
@@ -22,7 +22,7 @@
 #include "accountopt.h"
 #include "debug.h"
 #include "plugins.h"
-#include "prpl.h"
+#include "protocol.h"
 #include "server.h"
 #include "nmuser.h"
 #include "notify.h"
diff --git a/libpurple/protocols/null/nullprpl.c b/libpurple/protocols/null/nullprpl.c
--- a/libpurple/protocols/null/nullprpl.c
+++ b/libpurple/protocols/null/nullprpl.c
@@ -61,7 +61,7 @@
 #include "debug.h"
 #include "notify.h"
 #include "plugins.h"
-#include "prpl.h"
+#include "protocol.h"
 #include "roomlist.h"
 #include "status.h"
 #include "util.h"
@@ -333,7 +333,7 @@ static GList *nullprpl_blist_node_menu(P
 }
 
 static GList *nullprpl_chat_info(PurpleConnection *gc) {
-  struct proto_chat_entry *pce; /* defined in prpl.h */
+  struct proto_chat_entry *pce; /* defined in protocol.h */
 
   purple_debug_info("nullprpl", "returning chat setting 'room'\n");
 
@@ -1050,7 +1050,7 @@ static gboolean nullprpl_offline_message
 
 
 /*



More information about the Commits mailing list