/soc/2013/ankitkv/gobjectification: c8dce7bef0e6: Change protoco...

Ankit Vani a at nevitus.org
Mon Jan 20 16:59:40 EST 2014


Changeset: c8dce7bef0e635f4bdad7085efa36d891d84e4ca
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2014-01-21 01:48 +0530
Branch:	 soc.2013.gobjectification.plugins
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/c8dce7bef0e6

Description:

Change protocol IDs to prpl-*

diffstat:

 libpurple/protocols/bonjour/bonjour.c   |  2 +-
 libpurple/protocols/gg/gg.c             |  2 +-
 libpurple/protocols/irc/irc.c           |  2 +-
 libpurple/protocols/jabber/facebook.c   |  2 +-
 libpurple/protocols/jabber/gtalk.c      |  2 +-
 libpurple/protocols/jabber/jabber.c     |  2 +-
 libpurple/protocols/msn/msn.c           |  2 +-
 libpurple/protocols/mxit/mxit.h         |  2 +-
 libpurple/protocols/myspace/myspace.c   |  2 +-
 libpurple/protocols/novell/novell.c     |  2 +-
 libpurple/protocols/oscar/aim.c         |  2 +-
 libpurple/protocols/oscar/icq.c         |  2 +-
 libpurple/protocols/sametime/sametime.c |  2 +-
 libpurple/protocols/silc/silc.c         |  2 +-
 libpurple/protocols/simple/simple.c     |  2 +-
 libpurple/protocols/yahoo/yahoo.c       |  2 +-
 libpurple/protocols/yahoo/yahoojp.c     |  2 +-
 libpurple/protocols/zephyr/zephyr.c     |  2 +-
 18 files changed, 18 insertions(+), 18 deletions(-)

diffs (216 lines):

diff --git a/libpurple/protocols/bonjour/bonjour.c b/libpurple/protocols/bonjour/bonjour.c
--- a/libpurple/protocols/bonjour/bonjour.c
+++ b/libpurple/protocols/bonjour/bonjour.c
@@ -634,7 +634,7 @@ bonjour_protocol_init(PurpleProtocol *pr
 {
 	PurpleAccountOption *option;
 
-	protocol->id        = "bonjour";
+	protocol->id        = "prpl-bonjour";
 	protocol->name      = "Bonjour";
 	protocol->options   = OPT_PROTO_NO_PASSWORD;
 	protocol->icon_spec = purple_buddy_icon_spec_new("png,gif,jpeg",
diff --git a/libpurple/protocols/gg/gg.c b/libpurple/protocols/gg/gg.c
--- a/libpurple/protocols/gg/gg.c
+++ b/libpurple/protocols/gg/gg.c
@@ -999,7 +999,7 @@ ggp_protocol_init(PurpleProtocol *protoc
 	GList *encryption_options = NULL;
 	GList *protocol_version = NULL;
 
-	protocol->id        = "gg";
+	protocol->id        = "prpl-gg";
 	protocol->name      = "Gadu-Gadu";
 	protocol->options   = OPT_PROTO_REGISTER_NOSCREENNAME |
 	                      OPT_PROTO_IM_IMAGE;
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
@@ -931,7 +931,7 @@ irc_protocol_init(PurpleProtocol *protoc
 	PurpleAccountUserSplit *split;
 	PurpleAccountOption *option;
 
-	protocol->id        = "irc";
+	protocol->id        = "prpl-irc";
 	protocol->name      = "IRC";
 	protocol->options   = OPT_PROTO_CHAT_TOPIC | OPT_PROTO_PASSWORD_OPTIONAL |
 	                      OPT_PROTO_SLASH_COMMANDS_NATIVE;
diff --git a/libpurple/protocols/jabber/facebook.c b/libpurple/protocols/jabber/facebook.c
--- a/libpurple/protocols/jabber/facebook.c
+++ b/libpurple/protocols/jabber/facebook.c
@@ -40,7 +40,7 @@ facebook_protocol_init(PurpleProtocol *p
 	PurpleAccountOption *option;
 	GList *encryption_values = NULL;
 
-	protocol->id   = "facebook-xmpp";
+	protocol->id   = "prpl-facebook-xmpp";
 	protocol->name = "Facebook (XMPP)";
 
 	/* Translators: 'domain' is used here in the context of Internet domains, e.g. pidgin.im */
diff --git a/libpurple/protocols/jabber/gtalk.c b/libpurple/protocols/jabber/gtalk.c
--- a/libpurple/protocols/jabber/gtalk.c
+++ b/libpurple/protocols/jabber/gtalk.c
@@ -40,7 +40,7 @@ gtalk_protocol_init(PurpleProtocol *prot
 	PurpleAccountOption *option;
 	GList *encryption_values = NULL;
 
-	protocol->id   = "gtalk";
+	protocol->id   = "prpl-gtalk";
 	protocol->name = "Google Talk (XMPP)";
 
 	/* Translators: 'domain' is used here in the context of Internet domains, e.g. pidgin.im */
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
@@ -4153,7 +4153,7 @@ static void jabber_uninit_protocol(Purpl
 static void
 jabber_protocol_init(PurpleProtocol *protocol)
 {
-	protocol->id        = "jabber";
+	protocol->id        = "prpl-jabber";
 	protocol->name      = "XMPP";
 	protocol->options   = OPT_PROTO_CHAT_TOPIC | OPT_PROTO_UNIQUE_CHATNAME |
 	                      OPT_PROTO_MAIL_CHECK |
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
@@ -2887,7 +2887,7 @@ msn_protocol_init(PurpleProtocol *protoc
 {
 	PurpleAccountOption *option;
 
-	protocol->id        = "msn";
+	protocol->id        = "prpl-msn";
 	protocol->name      = "MSN";
 	protocol->options   = OPT_PROTO_MAIL_CHECK | OPT_PROTO_INVITE_MESSAGE;
 	protocol->icon_spec = purple_buddy_icon_spec_new("png,gif",
diff --git a/libpurple/protocols/mxit/mxit.h b/libpurple/protocols/mxit/mxit.h
--- a/libpurple/protocols/mxit/mxit.h
+++ b/libpurple/protocols/mxit/mxit.h
@@ -62,7 +62,7 @@
 
 
 /* Protocol details */
-#define		MXIT_PROTOCOL_ID			"loubserp-mxit"
+#define		MXIT_PROTOCOL_ID			"prpl-loubserp-mxit"
 #define		MXIT_PROTOCOL_NAME			"MXit"
 
 
diff --git a/libpurple/protocols/myspace/myspace.c b/libpurple/protocols/myspace/myspace.c
--- a/libpurple/protocols/myspace/myspace.c
+++ b/libpurple/protocols/myspace/myspace.c
@@ -3400,7 +3400,7 @@ msim_protocol_init(PurpleProtocol *proto
 {
 	PurpleAccountOption *option;
 
-	protocol->id        = "myspace";
+	protocol->id        = "prpl-myspace";
 	protocol->name      = "MySpaceIM";
 	protocol->options   = OPT_PROTO_USE_POINTSIZE /* specify font size in sane point size */
 	                      | OPT_PROTO_MAIL_CHECK;
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
@@ -3506,7 +3506,7 @@ novell_protocol_init(PurpleProtocol *pro
 {
 	PurpleAccountOption *option;
 
-	protocol->id   = "novell";
+	protocol->id   = "prpl-novell";
 	protocol->name = "GroupWise";
 
 	option = purple_account_option_string_new(_("Server address"), "server", NULL);
diff --git a/libpurple/protocols/oscar/aim.c b/libpurple/protocols/oscar/aim.c
--- a/libpurple/protocols/oscar/aim.c
+++ b/libpurple/protocols/oscar/aim.c
@@ -33,7 +33,7 @@ aim_protocol_init(PurpleProtocol *protoc
 {
 	PurpleAccountOption *option;
 
-	protocol->id   = "aim";
+	protocol->id   = "prpl-aim";
 	protocol->name = "AIM";
 
 	oscar_init_protocol_options(protocol);
diff --git a/libpurple/protocols/oscar/icq.c b/libpurple/protocols/oscar/icq.c
--- a/libpurple/protocols/oscar/icq.c
+++ b/libpurple/protocols/oscar/icq.c
@@ -49,7 +49,7 @@ icq_protocol_init(PurpleProtocol *protoc
 {
 	PurpleAccountOption *option;
 
-	protocol->id   = "icq";
+	protocol->id   = "prpl-icq";
 	protocol->name = "ICQ";
 
 	oscar_init_protocol_options(protocol);
diff --git a/libpurple/protocols/sametime/sametime.c b/libpurple/protocols/sametime/sametime.c
--- a/libpurple/protocols/sametime/sametime.c
+++ b/libpurple/protocols/sametime/sametime.c
@@ -67,7 +67,7 @@
 
 static PurpleProtocol *my_protocol = NULL;
 
-#define PROTOCOL_ID        "meanwhile"
+#define PROTOCOL_ID        "prpl-meanwhile"
 #define PROTOCOL_NAME      "Sametime"
 
 
diff --git a/libpurple/protocols/silc/silc.c b/libpurple/protocols/silc/silc.c
--- a/libpurple/protocols/silc/silc.c
+++ b/libpurple/protocols/silc/silc.c
@@ -2146,7 +2146,7 @@ silcpurple_protocol_init(PurpleProtocol 
 	PurpleKeyValuePair *kvp;
 	GList *list = NULL;
 
-	protocol->id        = "silc";
+	protocol->id        = "prpl-silc";
 	protocol->name      = "SILC";
 	protocol->options   = OPT_PROTO_CHAT_TOPIC | OPT_PROTO_UNIQUE_CHATNAME |
 	                      OPT_PROTO_PASSWORD_OPTIONAL | OPT_PROTO_IM_IMAGE |
diff --git a/libpurple/protocols/simple/simple.c b/libpurple/protocols/simple/simple.c
--- a/libpurple/protocols/simple/simple.c
+++ b/libpurple/protocols/simple/simple.c
@@ -2054,7 +2054,7 @@ simple_protocol_init(PurpleProtocol *pro
 	PurpleAccountUserSplit *split;
 	PurpleAccountOption *option;
 
-	protocol->id   = "simple";
+	protocol->id   = "prpl-simple";
 	protocol->name = "SIMPLE";
 
 	split = purple_account_user_split_new(_("Server"), "", '@');
diff --git a/libpurple/protocols/yahoo/yahoo.c b/libpurple/protocols/yahoo/yahoo.c
--- a/libpurple/protocols/yahoo/yahoo.c
+++ b/libpurple/protocols/yahoo/yahoo.c
@@ -214,7 +214,7 @@ yahoo_protocol_init(PurpleProtocol *prot
 {
 	PurpleAccountOption *option;
 
-	protocol->id        = "yahoo";
+	protocol->id        = "prpl-yahoo";
 	protocol->name      = "Yahoo";
 	protocol->options   = OPT_PROTO_MAIL_CHECK | OPT_PROTO_CHAT_TOPIC |
 	                      OPT_PROTO_AUTHORIZATION_DENIED_MESSAGE;
diff --git a/libpurple/protocols/yahoo/yahoojp.c b/libpurple/protocols/yahoo/yahoojp.c
--- a/libpurple/protocols/yahoo/yahoojp.c
+++ b/libpurple/protocols/yahoo/yahoojp.c
@@ -90,7 +90,7 @@ yahoojp_protocol_init(PurpleProtocol *pr
 {
 	PurpleAccountOption *option;
 
-	protocol->id   = "yahoojp";
+	protocol->id   = "prpl-yahoojp";
 	protocol->name = "Yahoo JAPAN";
 
 	/* delete yahoo's protocol options */
diff --git a/libpurple/protocols/zephyr/zephyr.c b/libpurple/protocols/zephyr/zephyr.c
--- a/libpurple/protocols/zephyr/zephyr.c
+++ b/libpurple/protocols/zephyr/zephyr.c
@@ -2900,7 +2900,7 @@ zephyr_protocol_init(PurpleProtocol *pro
 	PurpleAccountOption *option;
 	char *tmp = get_exposure_level();
 
-	protocol->id      = "zephyr";
+	protocol->id      = "prpl-zephyr";
 	protocol->name    = "Zephyr";
 	protocol->options = OPT_PROTO_CHAT_TOPIC | OPT_PROTO_NO_PASSWORD;
 



More information about the Commits mailing list