-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating to the latest hg #523
base: libpurple-integration
Are you sure you want to change the base?
Conversation
``From 63f48e9 Mon Sep 17 00:00:00 2001 .gitignore | 1 + diff --git a/.gitignore b/.gitignore
+#if !GLIB_CHECK_VERSION(2, 32, 0)
+static inline void g_queue_free_full(GQueue *queue, GDestroyNotify free_func)
+#if !GLIB_CHECK_VERSION(2, 30, 0) #if !GLIB_CHECK_VERSION(2, 40, 0) #include "debug.h" #define PURPLE_HTTP_URL_CREDENTIALS_CHARS "a-z0-9.,~_/*!&%?=+\^-" typedef struct _PurpleHttpGzStream PurpleHttpGzStream; -typedef void (*PurpleHttpSocketConnectCb)(PurpleHttpSocket *hs,
struct _PurpleHttpSocket
@@ -430,18 +433,17 @@ purple_http_gz_put(PurpleHttpGzStream *gzs, const gchar *buf, gsize len)
@@ -452,9 +454,9 @@ purple_http_gz_put(PurpleHttpGzStream *gzs, const gchar *buf, gsize len)
-static void
-{
static PurpleHttpSocket *
-{
@@ -607,26 +563,7 @@ purple_http_socket_close_free(PurpleHttpSocket *hs)
@@ -813,9 +750,10 @@ static void _purple_http_disconnect(PurpleHttpConnection *hc, static void _purple_http_gen_headers(PurpleHttpConnection *hc);
/* closes current connection (if exists), estabilishes one and proceeds with
-static gboolean _purple_http_recv_loopbody(PurpleHttpConnection *hc)
@@ -1413,13 +1339,11 @@ static gboolean _purple_http_recv_loopbody(PurpleHttpConnection *hc) -static gboolean _purple_http_recv(GObject *source, gpointer _hc)
static void _purple_http_send_got_data(PurpleHttpConnection *hc, -static gboolean _purple_http_send(GObject *source, gpointer _hc)
@@ -1475,7 +1397,7 @@ static gboolean _purple_http_send(GObject *source, gpointer _hc)
@@ -1488,7 +1410,7 @@ static gboolean _purple_http_send(GObject *source, gpointer _hc)
@@ -1503,21 +1425,12 @@ static gboolean _purple_http_send(GObject *source, gpointer _hc)
} static void _purple_http_disconnect(PurpleHttpConnection *hc, static void
static gboolean _purple_http_reconnect(PurpleHttpConnection *hc)
static void
@@ -2433,7 +2335,7 @@ _purple_http_keepalive_host_process_queue_cb(gpointer _host)
@@ -2504,16 +2406,7 @@ purple_http_keepalive_pool_release(PurpleHttpSocket *hs, gboolean invalidate)
diff --git a/pidgin/libpurple/protocols/facebook/Makefile.am b/pidgin/libpurple/protocols/facebook/Makefile.am
pkgdir = @PURPLE_PLUGINDIR@ FACEBOOKSOURCES = \
+CLEANFILES = \
+marshal.c: $(srcdir)/marshaller.list marshal.h
+marshal.h: $(srcdir)/marshaller.list
AM_CFLAGS = $(st) @@ -43,10 +62,9 @@ libfacebook_la_LIBADD = @PURPLE_LIBS@ $(JSON_LIBS) AM_CPPFLAGS = \
SOURCES, OBJECTSC_SRC = \
@@ -49,7 +50,9 @@ C_SRC =
OBJECTS = $(C_SRC:%.c=%.o) @@ -62,7 +65,6 @@ LIBS =
@@ -76,19 +78,27 @@ include $(PIDGIN_COMMON_RULES) all: $(TARGET).dll -install: all $(DLL_INSTALL_DIR) -$(TARGET).dll: +marshal.c: marshaller.list marshal.h
+marshal.h: marshaller.list
CLEAN RULESclean:
include $(PIDGIN_COMMON_TARGETS) @@ -91,7 +92,7 @@ fb_api_sticker(FbApi *api, FbId sid, FbApiMessage *msg); -G_DEFINE_TYPE(FbApi, fb_api, G_TYPE_OBJECT); static void
@@ -306,7 +308,8 @@ fb_api_class_init(FbApiClass *klass)
@@ -322,7 +325,8 @@ fb_api_class_init(FbApiClass *klass)
@@ -342,7 +346,8 @@ fb_api_class_init(FbApiClass *klass)
@@ -358,7 +363,8 @@ fb_api_class_init(FbApiClass *klass)
@@ -374,7 +380,8 @@ fb_api_class_init(FbApiClass *klass)
@@ -389,7 +396,8 @@ fb_api_class_init(FbApiClass *klass)
@@ -404,7 +412,8 @@ fb_api_class_init(FbApiClass *klass)
@@ -419,7 +428,8 @@ fb_api_class_init(FbApiClass *klass)
@@ -435,7 +445,8 @@ fb_api_class_init(FbApiClass *klass)
@@ -452,7 +463,8 @@ fb_api_class_init(FbApiClass *klass)
@@ -468,7 +480,8 @@ fb_api_class_init(FbApiClass *klass)
@@ -484,7 +497,8 @@ fb_api_class_init(FbApiClass *klass)
@@ -499,7 +513,8 @@ fb_api_class_init(FbApiClass *klass)
} +static void
static void
@@ -1879,7 +1915,9 @@ fb_api_cb_publish_pt(FbThrift *thft, GSList **press, GError **error)
static void
diff --git a/pidgin/libpurple/protocols/facebook/api.h b/pidgin/libpurple/protocols/facebook/api.h
-#define FB_ORCA_AGENT "[FBAN/Orca-Android;FBAV/109.0.0.17.70;FBPN/com.facebook.orca;FBLC/en_US;FBBV/52182662]" /**
/**
-G_DEFINE_TYPE(FbData, fb_data, G_TYPE_OBJECT); static void
@@ -500,7 +500,7 @@ fb_cb_image(FbDataImage *img, GError *error)
@@ -1160,7 +1160,7 @@ fb_client_blist_node_menu(PurpleBlistNode *node)
@@ -1208,7 +1208,8 @@ fb_server_set_status(PurpleAccount *acct, PurpleStatus *status) static gint
{
@@ -1355,7 +1358,8 @@ fb_chat_invite(PurpleConnection *gc, gint id, const gchar *msg, static gint
{
-static void
-static void
-static void
-static void
-static void
-static void
-static void
-PURPLE_DEFINE_TYPE_EXTENDED(
-);static void
-static PurplePluginInfo *
static gboolean
static gboolean
-PURPLE_PLUGIN_INIT(facebook, plugin_query, plugin_load, plugin_unload);
-/**
#include <glib.h>
|
I would not recommend this change. There's been very little change to the actual facebook code here and the majority of these changes are for libpurple3 only. In fact, I'm positive that not all of the patches in this repository have made it back into the copy in the pidgin3 repository. |
No description provided.