pidgin: b1920735: Remove various opaque UiOps functions fr...

datallah at pidgin.im datallah at pidgin.im
Thu Aug 7 00:30:53 EDT 2008


-----------------------------------------------------------------
Revision: b1920735333208b8052ae6b993027233446668c9
Ancestor: aff59a95703296db85f67808b0cc563871580a88
Author: datallah at pidgin.im
Date: 2008-08-07T04:26:02
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/b1920735333208b8052ae6b993027233446668c9

Modified files:
        libpurple/plugins/perl/common/Account.xs
        libpurple/plugins/perl/common/BuddyList.xs
        libpurple/plugins/perl/common/Connection.xs
        libpurple/plugins/perl/common/Core.xs
        libpurple/plugins/perl/common/FT.xs
        libpurple/plugins/perl/common/Notify.xs
        libpurple/plugins/perl/common/Privacy.xs
        libpurple/plugins/perl/common/Request.xs
        libpurple/plugins/perl/common/Roomlist.xs
        libpurple/plugins/perl/common/Sound.xs
        libpurple/plugins/perl/common/module.h
        libpurple/plugins/perl/common/typemap

ChangeLog: 

Remove various opaque UiOps functions from the perl loader as they aren't useable.

-------------- next part --------------
============================================================
--- libpurple/plugins/perl/common/Account.xs	7081b9b41d621571c4fc2a7f3dc1a969abf66e04
+++ libpurple/plugins/perl/common/Account.xs	62c3a316cfef95add5e967a262b17442c358a6c7
@@ -310,12 +310,5 @@ purple_accounts_find(name, protocol)
     const char * name
     const char * protocol
 
-void
-purple_accounts_set_ui_ops(ops)
-    Purple::Account::UiOps ops
-
-Purple::Account::UiOps
-purple_accounts_get_ui_ops()
-
 Purple::Handle
 purple_accounts_get_handle()
============================================================
--- libpurple/plugins/perl/common/BuddyList.xs	368d1c7e753555589174487c8a6c7a8fee6f6c3f
+++ libpurple/plugins/perl/common/BuddyList.xs	030c5d24f9cb5b0bde621a45de9ea98ae11843e0
@@ -246,13 +246,6 @@ purple_blist_request_add_group()
 void
 purple_blist_request_add_group()
 
-void
-purple_blist_set_ui_ops(ops)
-	Purple::BuddyList::UiOps ops
-
-Purple::BuddyList::UiOps
-purple_blist_get_ui_ops()
-
 Purple::Handle
 purple_blist_get_handle()
 
============================================================
--- libpurple/plugins/perl/common/Connection.xs	5613331867768db0e472566cdba98369ed71ef5c
+++ libpurple/plugins/perl/common/Connection.xs	5759d9129a5bf941e0b410261ceff1d09946b3ce
@@ -87,12 +87,5 @@ PPCODE:
 		XPUSHs(sv_2mortal(purple_perl_bless_object(l->data, "Purple::Connection")));
 	}
 
-void
-purple_connections_set_ui_ops(ops)
-	Purple::Connection::UiOps ops
-
-Purple::Connection::UiOps
-purple_connections_get_ui_ops()
-
 Purple::Handle
 purple_connections_get_handle()
============================================================
--- libpurple/plugins/perl/common/Core.xs	d57e38c2935f2a06ce4f5dfcdf2655f8aeb4fae5
+++ libpurple/plugins/perl/common/Core.xs	0df126eb6f93394343fd72b7b6c8f42a1dd6394c
@@ -19,10 +19,3 @@ purple_core_get_ui()
 const char *
 purple_core_get_ui()
 
-void
-purple_core_set_ui_ops(ops)
-    Purple::Core::UiOps ops
-
-Purple::Core::UiOps
-purple_core_get_ui_ops()
-
============================================================
--- libpurple/plugins/perl/common/FT.xs	ef8cf845c013be8dccda507f10c569e4219075e0
+++ libpurple/plugins/perl/common/FT.xs	9e6ae8f0b81a5fcc618d505f7a24f8855cb32402
@@ -112,10 +112,6 @@ purple_xfer_get_type(xfer)
 purple_xfer_get_type(xfer)
 	Purple::Xfer xfer
 
-Purple::XferUiOps
-purple_xfer_get_ui_ops(xfer)
-	Purple::Xfer xfer
-
 gboolean 
 purple_xfer_is_canceled(xfer)
 	Purple::Xfer xfer
@@ -188,11 +184,4 @@ PROTOTYPES: ENABLE
 MODULE = Purple::Xfer  PACKAGE = Purple::Xfers  PREFIX = purple_xfers_
 PROTOTYPES: ENABLE
 
-Purple::XferUiOps
-purple_xfers_get_ui_ops()
- 
 
-void 
-purple_xfers_set_ui_ops(ops)
-	Purple::XferUiOps ops
-
============================================================
--- libpurple/plugins/perl/common/Notify.xs	c490ccd451f31c4ec1ebd92701f1b30cce533e65
+++ libpurple/plugins/perl/common/Notify.xs	51c92df90c1f5fde4794f15f7411179e817421be
@@ -93,13 +93,6 @@ purple_notify_userinfo(gc, who, user_inf
 	Purple::NotifyCloseCallback cb
 	gpointer user_data
 
-Purple::NotifyUiOps
-purple_notify_get_ui_ops()
-
-void
-purple_notify_set_ui_ops(ops)
-	Purple::NotifyUiOps ops
-
 void *
 purple_notify_message(handle, type, title, primary, secondary, cb, user_data)
 	void * handle
============================================================
--- libpurple/plugins/perl/common/Privacy.xs	b82e1fb4c6671b69f61222c2a29a16b592f38b0b
+++ libpurple/plugins/perl/common/Privacy.xs	2bfb060c565ff3f153be9414f723d0a91fc5eaee
@@ -3,13 +3,6 @@ PROTOTYPES: ENABLE
 MODULE = Purple::Privacy  PACKAGE = Purple::Privacy  PREFIX = purple_privacy_
 PROTOTYPES: ENABLE
 
-Purple::Privacy::UiOps
-purple_privacy_get_ui_ops()
-
-void
-purple_privacy_set_ui_ops(ops)
-	Purple::Privacy::UiOps ops
-
 gboolean
 purple_privacy_permit_add(account, name, local_only)
 	Purple::Account account
============================================================
--- libpurple/plugins/perl/common/Request.xs	6cd7820431a575963ebf547820fd0e5b7b59ba72
+++ libpurple/plugins/perl/common/Request.xs	ac83c233eb655c873588801bfaa771f0a464e325
@@ -47,7 +47,7 @@ purple_perl_request_ok_cb(void * data, P
 	SAVETMPS;
 	PUSHMARK(sp);
 
-	XPUSHs(purple_perl_bless_object(fields, "Purple::Request::Fields"));
+	XPUSHs(sv_2mortal(purple_perl_bless_object(fields, "Purple::Request::Fields")));
 	PUTBACK;
 	call_sv(gpr->ok_fun, G_EVAL | G_SCALAR);
 	SPAGAIN;
@@ -69,7 +69,7 @@ purple_perl_request_cancel_cb(void * dat
 	SAVETMPS;
 	PUSHMARK(sp);
 
-	XPUSHs(purple_perl_bless_object(fields, "Purple::Request::Fields"));
+	XPUSHs(sv_2mortal(purple_perl_bless_object(fields, "Purple::Request::Fields")));
 	PUTBACK;
 	call_sv(gpr->cancel_fun, G_EVAL | G_SCALAR);
 	SPAGAIN;
@@ -206,13 +206,7 @@ purple_request_close_with_handle(handle)
 purple_request_close_with_handle(handle)
 	void * handle
 
-Purple::Request::UiOps
-purple_request_get_ui_ops()
 
-void
-purple_request_set_ui_ops(ops)
-	Purple::Request::UiOps ops
-
 MODULE = Purple::Request  PACKAGE = Purple::Request::Field  PREFIX = purple_request_field_
 PROTOTYPES: ENABLE
 
============================================================
--- libpurple/plugins/perl/common/Roomlist.xs	7f864a6add3f0975da04833e51adc5cd8baedc73
+++ libpurple/plugins/perl/common/Roomlist.xs	0ce6902b9f37bec30e91f1c4e2583c48ae6a1f83
@@ -45,10 +45,6 @@ purple_roomlist_get_list(gc)
 purple_roomlist_get_list(gc)
 	Purple::Connection gc
 
-Purple::Roomlist::UiOps
-purple_roomlist_get_ui_ops()
- 
-
 Purple::Roomlist
 purple_roomlist_new(account)
 	Purple::Account account
@@ -95,10 +91,6 @@ void 
 	gboolean in_progress
 
 void 
-purple_roomlist_set_ui_ops(ops)
-	Purple::Roomlist::UiOps ops
-
-void 
 purple_roomlist_show_with_account(account)
 	Purple::Account account
 
============================================================
--- libpurple/plugins/perl/common/Sound.xs	2d49655891e61280c4d8daac3cf96d32c342de8f
+++ libpurple/plugins/perl/common/Sound.xs	58b0ec16230b32b4a70b9db4dbbfecf4c69b60e9
@@ -26,9 +26,6 @@ BOOT:
 		newCONSTSUB(stash, (char *)civ->name, newSViv(civ->iv));
 }
 
-Purple::Sound::UiOps
-purple_sound_get_ui_ops()
-
 void
 purple_sound_play_event(event, account)
 	Purple::SoundEventID event
@@ -38,7 +35,3 @@ purple_sound_play_file(filename, account
 purple_sound_play_file(filename, account)
 	const char *filename
 	Purple::Account account
-
-void
-purple_sound_set_ui_ops(ops)
-	Purple::Sound::UiOps ops
============================================================
--- libpurple/plugins/perl/common/module.h	1ae55283b1b5454f7066fac0471be235c77448f8
+++ libpurple/plugins/perl/common/module.h	6e13877fb09377e45051ef2ea374cc7ac1d32d38
@@ -67,14 +67,12 @@ typedef PurpleAccountOption *		Purple__A
 /* account.h */
 typedef PurpleAccount *			Purple__Account;
 typedef PurpleAccountOption *		Purple__Account__Option;
-typedef PurpleAccountUiOps *		Purple__Account__UiOps;
 typedef PurpleAccountUserSplit *		Purple__Account__UserSplit;
 
 /* blist.h */
 typedef PurpleBlistNode *			Purple__BuddyList__Node;
 typedef PurpleBlistNodeFlags		Purple__BuddyList__NodeFlags;
 typedef PurpleBlistNodeType		Purple__BuddyList__NodeType;
-typedef PurpleBlistUiOps *		Purple__BuddyList__UiOps;
 typedef PurpleBuddyList *			Purple__BuddyList;
 typedef PurpleBuddy *			Purple__BuddyList__Buddy;
 typedef PurpleChat *			Purple__BuddyList__Chat;
@@ -109,7 +107,6 @@ typedef PurpleConnectionState		Purple__C
 typedef PurpleConnection *		Purple__Connection;
 typedef PurpleConnectionFlags		Purple__ConnectionFlags;
 typedef PurpleConnectionState		Purple__ConnectionState;
-typedef PurpleConnectionUiOps *		Purple__Connection__UiOps;
 
 /* conversation.h */
 typedef PurpleConversationType		Purple__ConversationType;
@@ -118,7 +115,6 @@ typedef PurpleConversation *		Purple__Co
 typedef PurpleMessageFlags		Purple__MessageFlags;
 typedef PurpleConvChatBuddyFlags		Purple__ConvChatBuddyFlags;
 typedef PurpleConversation *		Purple__Conversation;
-typedef PurpleConversationUiOps *		Purple__Conversation__UiOps;
 typedef PurpleConvIm *			Purple__Conversation__IM;
 typedef PurpleConvChat *			Purple__Conversation__Chat;
 typedef PurpleConvChatBuddy *		Purple__Conversation__ChatBuddy;
@@ -126,7 +122,6 @@ typedef PurpleCore *			Purple__Core;
 /* core.h */
 
 typedef PurpleCore *			Purple__Core;
-typedef PurpleCoreUiOps *		Purple__Core__UiOps;
 
 /* debug.h */
 typedef PurpleDebugLevel			Purple__DebugLevel;
@@ -137,14 +132,13 @@ typedef PurpleInputCondition *		Purple__
 
 /* eventloop.h */
 typedef PurpleInputCondition *		Purple__InputCondition;
-typedef PurpleEventLoopUiOps *		Purple__EventLoopUiOps;
 
 /* ft.h */
 typedef PurpleXfer *			Purple__Xfer;
 typedef PurpleXferType			Purple__XferType;
 typedef PurpleXferStatusType		Purple__XferStatusType;
-typedef PurpleXferUiOps *			Purple__XferUiOps;
 
+
 #ifdef PURPLE_GTKPERL
 /* gtkblish.h */
 typedef PurpleGtkBuddyList *		Purple__GTK__BuddyList;
@@ -194,7 +188,6 @@ typedef PurpleNotifyType			Purple__Notif
 typedef PurpleNotifySearchColumn *	Purple__NotifySearchColumn;
 typedef PurpleNotifySearchButton *	Purple__NotifySearchButton;
 typedef PurpleNotifyType			Purple__NotifyType;
-typedef PurpleNotifyUiOps *		Purple__NotifyUiOps;
 typedef PurpleNotifyUserInfo *	Purple__NotifyUserInfo;
 typedef PurpleNotifyUserInfoEntry *	Purple__NotifyUserInfoEntry;
 
@@ -221,7 +214,6 @@ typedef PurplePrivacyType			Purple__Priv
 
 /* privacy.h */
 typedef PurplePrivacyType			Purple__PrivacyType;
-typedef PurplePrivacyUiOps *		Purple__Privacy__UiOps;
 
 /* proxy.h */
 typedef PurpleProxyInfo *			Purple__ProxyInfo;
@@ -239,7 +231,6 @@ typedef PurpleRequestType			Purple__Requ
 typedef PurpleRequestFieldGroup *		Purple__Request__Field__Group;
 typedef PurpleRequestFieldType		Purple__RequestFieldType;
 typedef PurpleRequestType			Purple__RequestType;
-typedef PurpleRequestUiOps *		Purple__Request__UiOps;
 
 /* roomlist.h */
 typedef PurpleRoomlist *			Purple__Roomlist;
@@ -247,7 +238,6 @@ typedef PurpleRoomlistRoomType		Purple__
 typedef PurpleRoomlistFieldType		Purple__RoomlistFieldType;
 typedef PurpleRoomlistRoom *		Purple__Roomlist__Room;
 typedef PurpleRoomlistRoomType		Purple__RoomlistRoomType;
-typedef PurpleRoomlistUiOps *		Purple__Roomlist__UiOps;
 
 /* savedstatuses.h */
 typedef PurpleSavedStatus *		Purple__SavedStatus;
@@ -258,7 +248,6 @@ typedef PurpleSoundEventID		Purple__Soun
 
 /* sound.h */
 typedef PurpleSoundEventID		Purple__SoundEventID;
-typedef PurpleSoundUiOps *		Purple__Sound__UiOps;
 
 /* sslconn.h */
 typedef PurpleInputCondition *		Purple__Input__Condition;
============================================================
--- libpurple/plugins/perl/common/typemap	c64164df22ac4a0fca496c39439338315daec6ea
+++ libpurple/plugins/perl/common/typemap	b5d99c5e2f5a681449953a913b4704b8fc682fbe
@@ -40,7 +40,6 @@ Purple::Account::Option			T_PurpleObj
 
 Purple::Account				T_PurpleObj
 Purple::Account::Option			T_PurpleObj
-Purple::Account::UiOps			T_PurpleObj
 Purple::Account::UserSplit		T_PurpleObj
 
 Purple::Buddy::Icon			T_PurpleObj
@@ -53,7 +52,6 @@ Purple::BuddyList::NodeType		T_IV
 Purple::BuddyList::Node			T_PurpleObj
 Purple::BuddyList::NodeFlags		T_IV
 Purple::BuddyList::NodeType		T_IV
-Purple::BuddyList::UiOps			T_PurpleObj
 
 Purple::Cipher				T_PurpleObj
 Purple::CipherCaps			T_IV
@@ -64,14 +62,11 @@ Purple::Connection			T_PurpleObj
 Purple::Cmd::Priority			T_IV
 Purple::Cmd::Ret				T_IV
 Purple::Connection			T_PurpleObj
-Purple::Connection::UiOps			T_PurpleObj
 Purple::Conversation			T_PurpleObj
 Purple::Conversation::Chat		T_PurpleObj
 Purple::Conversation::ChatBuddy		T_PurpleObj
 Purple::Conversation::IM			T_PurpleObj
-Purple::Conversation::UiOps		T_PurpleObj
 Purple::Core				T_PurpleObj
-Purple::Core::UiOps			T_PurpleObj
 
 Purple::Desktop::Item			T_PurpleObj
 Purple::DesktopItemType			T_IV
@@ -99,7 +94,6 @@ Purple::NotifyType			T_IV
 Purple::NotifySearchColumn		T_PurpleObj
 Purple::NotifySearchButton		T_PurpleObj
 Purple::NotifyType			T_IV
-Purple::NotifyUiOps			T_PurpleObj
 Purple::NotifyUserInfo			T_PurpleObj
 Purple::NotifyUserInfoEntry		T_PurpleObj
 
@@ -118,7 +112,6 @@ Purple::PrivacyType			T_IV
 Purple::PounceEvent			T_IV
 Purple::Presence				T_PurpleObj
 Purple::PrivacyType			T_IV
-Purple::Privacy::UiOps			T_PurpleObj
 Purple::ProtocolOptions			T_IV
 Purple::ProxyInfo				T_PurpleObj
 Purple::ProxyType				T_IV
@@ -128,12 +121,10 @@ Purple::Request::Field::Group		T_PurpleO
 Purple::Request::Field			T_PurpleObj
 Purple::Request::Fields			T_PurpleObj
 Purple::Request::Field::Group		T_PurpleObj
-Purple::Request::UiOps			T_PurpleObj
 
 Purple::Roomlist				T_PurpleObj
 Purple::Roomlist::Room			T_PurpleObj
 Purple::Roomlist::Field			T_PurpleObj
-Purple::Roomlist::UiOps			T_PurpleObj
 Purple::RoomlistFieldType			T_IV
 Purple::RoomlistRoomType			T_IV
 
@@ -142,7 +133,6 @@ Purple::SoundEventID			T_IV
 Purple::SavedStatus::Sub			T_PurpleObj
 const Purple::SavedStatus::Sub			T_PurpleObj
 Purple::SoundEventID			T_IV
-Purple::Sound::UiOps			T_PurpleObj
 
 Purple::Input::Condition			T_PurpleObj
 Purple::SslErrorType			T_IV
@@ -168,7 +158,6 @@ Purple::XferStatusType			T_IV
 Purple::Xfer				T_PurpleObj
 Purple::XferType				T_IV
 Purple::XferStatusType			T_IV
-Purple::XferUiOps				T_IV
 
 Purple::XMLNode				T_PurpleObj
 XMLNode::Type				T_IV


More information about the Commits mailing list