Remove more GtkImHtml dependencies (from perl and two other plugins)
--- a/pidgin/plugins/disco/xmppdisco.c Fri Jan 31 13:52:45 2014 +0100
+++ b/pidgin/plugins/disco/xmppdisco.c Fri Jan 31 14:47:31 2014 +0100
@@ -44,7 +44,6 @@
--- a/pidgin/plugins/history.c Fri Jan 31 13:52:45 2014 +0100
+++ b/pidgin/plugins/history.c Fri Jan 31 14:47:31 2014 +0100
@@ -14,7 +14,6 @@
--- a/pidgin/plugins/perl/Makefile.am Fri Jan 31 13:52:45 2014 +0100
+++ b/pidgin/plugins/perl/Makefile.am Fri Jan 31 14:47:31 2014 +0100
@@ -9,8 +9,6 @@
- common/GtkIMHtmlToolbar.xs \
--- a/pidgin/plugins/perl/common/GtkIMHtml.xs Fri Jan 31 13:52:45 2014 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,332 +0,0 @@
-/* This can't work at the moment since I don't have a typemap for Gtk::Widget.
- * I thought about using the one from libgtk2-perl but wasn't sure how to go
-/* This can't work at the moment since I don't have a typemap for
- * I thought about using the one from libgtk2-perl but wasn't sure how to go
-gtk_imhtml_insert_html_at_iter(imhtml, text, options, iter)
- Pidgin::IMHtml::Options options
-/* This can't work at the moment since I don't have a typemap for Gtk::Widget.
- * I thought about using the one from libgtk2-perl but wasn't sure how to go
-gtk_imhtml_delete(imhtml, start, end)
-/* This can't work at the moment since I don't have a typemap for Gtk::Widget.
- * I thought about using the one from libgtk2-perl but wasn't sure how to go
-gtk_imhtml_insert_link(imhtml, mark, url, text)
-/* This can't work at the moment since I don't have a typemap for Gtk::Widget.
- * I thought about using the one from libgtk2-perl but wasn't sure how to go
-gtk_imhtml_insert_smiley_at_iter(imhtml, sml, smiley, iter)
-gtk_imhtml_insert_image_at_iter(imhtml, id, iter)
-/* This can't work at the moment since I don't have a typemap for Gtk::Widget.
- * I thought about using the one from libgtk2-perl but wasn't sure how to go
-gtk_imhtml_get_markup_range(imhtml, start, end)
-/* This can't work at the moment since I don't have a typemap for Gtk::Widget.
- * I thought about using the one from libgtk2-perl but wasn't sure how to go
-gtk_imhtml_get_text(imhtml, start, end)
-/* This can't work at the moment since I don't have a typemap for Gtk::Widget.
- * I thought about using the one from libgtk2-perl but wasn't sure how to go
-gtk_imhtml_hr_add_to(scale, imhtml, iter)
- Pidgin::IMHtml::Scalable scale
-/* This can't work at the moment since I don't have a typemap for gboolean *.
-gtk_imhtml_get_current_format(imhtml, bold, italic, underline)
-MODULE = Pidgin::IMHtml PACKAGE = Pidgin::IMHtml PREFIX = gtk_imhtml_
-gtk_imhtml_smiley_get(imhtml, sml, text)
-gtk_imhtml_associate_smiley(imhtml, sml, smiley)
- Pidgin::IMHtml::Smiley smiley
-gtk_imhtml_remove_smileys(imhtml)
-gtk_imhtml_set_funcs(imhtml, f)
- Pidgin::IMHtml::Funcs f
-gtk_imhtml_show_comments(imhtml, show)
-gtk_imhtml_get_protocol_name(imhtml)
-gtk_imhtml_set_protocol_name(imhtml, protocol_name)
- const gchar * protocol_name
-gtk_imhtml_append_text(imhtml, text, options)
- Pidgin::IMHtml::Options options
-gtk_imhtml_append_text_with_images(imhtml, text, options, unused = NULL)
- Pidgin::IMHtml::Options options
- t_len = av_len((AV *)SvRV(unused));
- for (i = 0; i <= t_len; i++) {
- t_GL = g_slist_append(t_GL, SvPV(*av_fetch((AV *)SvRV(unused), i, 0), t_sl));
- gtk_imhtml_append_text_with_images(imhtml, text, options, t_GL);
-gtk_imhtml_scroll_to_end(imhtml, smooth)
-gtk_imhtml_clear(imhtml)
-gtk_imhtml_page_up(imhtml)
-gtk_imhtml_page_down(imhtml)
-gtk_imhtml_set_editable(imhtml, editable)
-gtk_imhtml_set_whole_buffer_formatting_only(imhtml, wbo)
-gtk_imhtml_set_format_functions(imhtml, buttons)
- Pidgin::IMHtml::Buttons buttons
-gtk_imhtml_get_format_functions(imhtml)
-gtk_imhtml_get_current_fontface(imhtml)
-gtk_imhtml_get_current_forecolor(imhtml)
-gtk_imhtml_get_current_backcolor(imhtml)
-gtk_imhtml_get_current_background(imhtml)
-gtk_imhtml_get_current_fontsize(imhtml)
-gtk_imhtml_get_editable(imhtml)
-gtk_imhtml_clear_formatting(imhtml)
-gtk_imhtml_toggle_bold(imhtml)
-gtk_imhtml_toggle_italic(imhtml)
-gtk_imhtml_toggle_underline(imhtml)
-gtk_imhtml_toggle_strike(imhtml)
-gtk_imhtml_toggle_forecolor(imhtml, color)
-gtk_imhtml_toggle_backcolor(imhtml, color)
-gtk_imhtml_toggle_background(imhtml, color)
-gtk_imhtml_toggle_fontface(imhtml, face)
-gtk_imhtml_toggle_link(imhtml, url)
-gtk_imhtml_insert_smiley(imhtml, sml, smiley)
-gtk_imhtml_font_set_size(imhtml, size)
-gtk_imhtml_font_shrink(imhtml)
-gtk_imhtml_font_grow(imhtml)
-gtk_imhtml_get_markup(imhtml)
-# /* ETAN Test this, and document well that it returns an arrayref */
-gtk_imhtml_get_markup_lines(imhtml)
- bufs = gtk_imhtml_get_markup_lines(imhtml);
- for (i = 0; bufs[i] != NULL; i++) {
- av_push(lines, newSVpv(bufs[i], 0));
- XPUSHs(sv_2mortal(newRV_noinc((SV *)lines)));
-MODULE = Pidgin::IMHtml PACKAGE = Pidgin::IMHtml::Hr PREFIX = gtk_imhtml_hr_
-Pidgin::IMHtml::Scalable
-gtk_imhtml_hr_free(scale)
- Pidgin::IMHtml::Scalable scale
-gtk_imhtml_hr_scale(scale, width, height)
- Pidgin::IMHtml::Scalable scale
-MODULE = Pidgin::IMHtml PACKAGE = Pidgin::IMHtml::Search PREFIX = gtk_imhtml_search_
-gtk_imhtml_search_find(imhtml, text)
-gtk_imhtml_search_clear(imhtml)
--- a/pidgin/plugins/perl/common/GtkIMHtmlToolbar.xs Fri Jan 31 13:52:45 2014 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-/* This can't work at the moment since I don't have a typemap for Gtk::Widget.
- * I thought about using the one from libgtk2-perl but wasn't sure how to go
-gtk_imhtmltoolbar_attach(toolbar, imhtml)
- Pidgin::IMHtmlToolbar toolbar
-MODULE = Pidgin::IMHtmlToolbar PACKAGE = Pidgin::IMHtmlToolbar PREFIX = gtk_imhtmltoolbar_
-gtk_imhtmltoolbar_associate_smileys(toolbar, proto_id)
- Pidgin::IMHtmlToolbar toolbar
--- a/pidgin/plugins/perl/common/GtkThemes.xs Fri Jan 31 13:52:45 2014 +0100
+++ b/pidgin/plugins/perl/common/GtkThemes.xs Fri Jan 31 14:47:31 2014 +0100
@@ -17,12 +17,14 @@
-pidgin_themes_get_proto_smileys(id)
- for (l = pidgin_themes_get_proto_smileys(id); l != NULL; l = l->next) {
- XPUSHs(sv_2mortal(purple_perl_bless_object(l->data, "Pidgin::IMHtml::Smiley")));
+# We are dropping IMHtml, so this one should be converted to non-IMHtml +#pidgin_themes_get_proto_smileys(id) +# for (l = pidgin_themes_get_proto_smileys(id); l != NULL; l = l->next) { +# XPUSHs(sv_2mortal(purple_perl_bless_object(l->data, "Pidgin::IMHtml::Smiley"))); --- a/pidgin/plugins/perl/common/MANIFEST Fri Jan 31 13:52:45 2014 +0100
+++ b/pidgin/plugins/perl/common/MANIFEST Fri Jan 31 14:47:31 2014 +0100
@@ -6,8 +6,6 @@
--- a/pidgin/plugins/perl/common/Makefile.mingw Fri Jan 31 13:52:45 2014 +0100
+++ b/pidgin/plugins/perl/common/Makefile.mingw Fri Jan 31 14:47:31 2014 +0100
@@ -55,8 +55,6 @@
--- a/pidgin/plugins/perl/common/Pidgin.xs Fri Jan 31 13:52:45 2014 +0100
+++ b/pidgin/plugins/perl/common/Pidgin.xs Fri Jan 31 14:47:31 2014 +0100
@@ -14,8 +14,6 @@
PIDGIN_PERL_BOOT_PROTO(Conversation__Window);
PIDGIN_PERL_BOOT_PROTO(Debug);
PIDGIN_PERL_BOOT_PROTO(Dialogs);
-PIDGIN_PERL_BOOT_PROTO(IMHtml);
-PIDGIN_PERL_BOOT_PROTO(IMHtmlToolbar);
PIDGIN_PERL_BOOT_PROTO(Log);
PIDGIN_PERL_BOOT_PROTO(MenuTray);
PIDGIN_PERL_BOOT_PROTO(Plugin);
@@ -45,8 +43,6 @@
PIDGIN_PERL_BOOT(Conversation__Window);
PIDGIN_PERL_BOOT(Dialogs);
- PIDGIN_PERL_BOOT(IMHtml);
- PIDGIN_PERL_BOOT(IMHtmlToolbar);
PIDGIN_PERL_BOOT(MenuTray);
PIDGIN_PERL_BOOT(Plugin);
--- a/pidgin/plugins/perl/common/gtkmodule.h Fri Jan 31 13:52:45 2014 +0100
+++ b/pidgin/plugins/perl/common/gtkmodule.h Fri Jan 31 14:47:31 2014 +0100
@@ -27,8 +27,6 @@
-#include "gtkimhtmltoolbar.h"
@@ -62,17 +60,6 @@
typedef PidginXferDialog * Pidgin__Xfer__Dialog;
-typedef GtkIMHtml * Pidgin__IMHtml;
-typedef GtkIMHtmlButtons Pidgin__IMHtml__Buttons;
-typedef GtkIMHtmlFuncs * Pidgin__IMHtml__Funcs;
-typedef GtkIMHtmlScalable * Pidgin__IMHtml__Scalable;
-typedef GtkIMHtmlSmiley * Pidgin__IMHtml__Smiley;
-typedef GtkIMHtmlOptions Pidgin__IMHtml__Options;
-/* gtkimhtmltoolbar.h */
-typedef GtkIMHtmlToolbar * Pidgin__IMHtmlToolbar;
typedef PidginMenuTray * Pidgin__MenuTray;
--- a/pidgin/plugins/perl/common/typemap Fri Jan 31 13:52:45 2014 +0100
+++ b/pidgin/plugins/perl/common/typemap Fri Jan 31 14:47:31 2014 +0100
@@ -7,13 +7,6 @@
Pidgin::Conversation::PlacementFunc T_PurpleObj
Pidgin::Conversation::Window T_PurpleObj
Pidgin::Xfer::Dialog T_PurpleObj
-Pidgin::IMHtml T_PurpleObj
-Pidgin::IMHtml::Buttons T_IV
-Pidgin::IMHtml::Funcs T_PurpleObj
-Pidgin::IMHtml::Scalable T_PurpleObj
-Pidgin::IMHtml::Smiley T_PurpleObj
-Pidgin::IMHtml::Options T_IV
-Pidgin::IMHtmlToolbar T_PurpleObj
Pidgin::MenuTray T_PurpleObj
Pidgin::StatusBox T_PurpleObj