/pidgin/main: add13288757e: Remove more GtkImHtml dependencies (...
Tomasz Wasilczyk
twasilczyk at pidgin.im
Fri Jan 31 08:47:40 EST 2014
Changeset: add13288757e374791e3fe9e4669036b9d7671f6
Author: Tomasz Wasilczyk <twasilczyk at pidgin.im>
Date: 2014-01-31 14:47 +0100
Branch: default
URL: https://hg.pidgin.im/pidgin/main/rev/add13288757e
Description:
Remove more GtkImHtml dependencies (from perl and two other plugins)
diffstat:
pidgin/plugins/disco/xmppdisco.c | 1 -
pidgin/plugins/history.c | 1 -
pidgin/plugins/perl/Makefile.am | 2 -
pidgin/plugins/perl/common/GtkIMHtml.xs | 332 -------------------------
pidgin/plugins/perl/common/GtkIMHtmlToolbar.xs | 22 -
pidgin/plugins/perl/common/GtkThemes.xs | 20 +-
pidgin/plugins/perl/common/MANIFEST | 2 -
pidgin/plugins/perl/common/Makefile.mingw | 2 -
pidgin/plugins/perl/common/Pidgin.xs | 4 -
pidgin/plugins/perl/common/gtkmodule.h | 13 -
pidgin/plugins/perl/common/typemap | 7 -
11 files changed, 11 insertions(+), 395 deletions(-)
diffs (truncated from 517 to 300 lines):
diff --git a/pidgin/plugins/disco/xmppdisco.c b/pidgin/plugins/disco/xmppdisco.c
--- a/pidgin/plugins/disco/xmppdisco.c
+++ b/pidgin/plugins/disco/xmppdisco.c
@@ -44,7 +44,6 @@ disco#info:
#include "version.h"
#include "gtkconv.h"
-#include "gtkimhtml.h"
#include "gtkplugin.h"
#include "xmppdisco.h"
diff --git a/pidgin/plugins/history.c b/pidgin/plugins/history.c
--- a/pidgin/plugins/history.c
+++ b/pidgin/plugins/history.c
@@ -14,7 +14,6 @@
#include "version.h"
#include "gtkconv.h"
-#include "gtkimhtml.h"
#include "gtkplugin.h"
#include "gtkwebview.h"
diff --git a/pidgin/plugins/perl/Makefile.am b/pidgin/plugins/perl/Makefile.am
--- a/pidgin/plugins/perl/Makefile.am
+++ b/pidgin/plugins/perl/Makefile.am
@@ -9,8 +9,6 @@ common_sources = \
common/GtkDebug.xs \
common/GtkDialogs.xs \
common/GtkFt.xs \
- common/GtkIMHtml.xs \
- common/GtkIMHtmlToolbar.xs \
common/GtkLog.xs \
common/GtkMenuTray.xs \
common/GtkPlugin.xs \
diff --git a/pidgin/plugins/perl/common/GtkIMHtml.xs b/pidgin/plugins/perl/common/GtkIMHtml.xs
deleted file mode 100644
--- a/pidgin/plugins/perl/common/GtkIMHtml.xs
+++ /dev/null
@@ -1,332 +0,0 @@
-#include "gtkmodule.h"
-
-/* 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
- * about doing that.
-Gtk::Widget
-gtk_imhtml_new(a, b)
-*/
-
-/* This can't work at the moment since I don't have a typemap for
- * Gtk::TextIter.
- * I thought about using the one from libgtk2-perl but wasn't sure how to go
- * about doing that.
-void
-gtk_imhtml_insert_html_at_iter(imhtml, text, options, iter)
- Pidgin::IMHtml imhtml
- const gchar * text
- Pidgin::IMHtml::Options options
- Gtk::TextIter 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
- * about doing that.
-void
-gtk_imhtml_delete(imhtml, start, end)
- Pidgin::IMHtml imhtml
- Gtk::TextIter start
- Gtk::TextIter 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
- * about doing that.
-void
-gtk_imhtml_insert_link(imhtml, mark, url, text)
- Pidgin::IMHtml imhtml
- Gtk::TextMark mark
- const char * url
- const char * 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
- * about doing that.
-void
-gtk_imhtml_insert_smiley_at_iter(imhtml, sml, smiley, iter)
- Pidgin::IMHtml imhtml
- const char * sml
- char * smiley
- Gtk::TextIter iter
-
-void
-gtk_imhtml_insert_image_at_iter(imhtml, id, iter)
- Pidgin::IMHtml imhtml
- int id
- Gtk::TextIter 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
- * about doing that.
-gchar_own *
-gtk_imhtml_get_markup_range(imhtml, start, end)
- Pidgin::IMHtml imhtml
- Gtk::TextIter start
- Gtk::TextIter 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
- * about doing that.
-gchar_own *
-gtk_imhtml_get_text(imhtml, start, end)
- Pidgin::IMHtml imhtml
- Gtk::TextIter start
- Gtk::TextIter 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
- * about doing that.
-void
-gtk_imhtml_hr_add_to(scale, imhtml, iter)
- Pidgin::IMHtml::Scalable scale
- Pidgin::IMHtml imhtml
- Gtk::TextIter iter
-*/
-
-/* This can't work at the moment since I don't have a typemap for gboolean *.
-void
-gtk_imhtml_get_current_format(imhtml, bold, italic, underline)
- Pidgin::IMHtml imhtml
- gboolean * bold
- gboolean * italic
- gboolean * underline
-*/
-
-MODULE = Pidgin::IMHtml PACKAGE = Pidgin::IMHtml PREFIX = gtk_imhtml_
-PROTOTYPES: ENABLE
-
-Pidgin::IMHtml::Smiley
-gtk_imhtml_smiley_get(imhtml, sml, text)
- Pidgin::IMHtml imhtml
- const gchar * sml
- const gchar * text
-
-void
-gtk_imhtml_associate_smiley(imhtml, sml, smiley)
- Pidgin::IMHtml imhtml
- const gchar * sml
- Pidgin::IMHtml::Smiley smiley
-
-void
-gtk_imhtml_remove_smileys(imhtml)
- Pidgin::IMHtml imhtml
-
-void
-gtk_imhtml_set_funcs(imhtml, f)
- Pidgin::IMHtml imhtml
- Pidgin::IMHtml::Funcs f
-
-void
-gtk_imhtml_show_comments(imhtml, show)
- Pidgin::IMHtml imhtml
- gboolean show
-
-const char *
-gtk_imhtml_get_protocol_name(imhtml)
- Pidgin::IMHtml imhtml
-
-void
-gtk_imhtml_set_protocol_name(imhtml, protocol_name)
- Pidgin::IMHtml imhtml
- const gchar * protocol_name
-
-void
-gtk_imhtml_append_text(imhtml, text, options)
- Pidgin::IMHtml imhtml
- const gchar * text
- Pidgin::IMHtml::Options options
-
-void
-gtk_imhtml_append_text_with_images(imhtml, text, options, unused = NULL)
- Pidgin::IMHtml imhtml
- const gchar * text
- Pidgin::IMHtml::Options options
- SV *unused
-PREINIT:
- GSList *t_GL;
- int i, t_len;
-PPCODE:
- t_GL = NULL;
- t_len = av_len((AV *)SvRV(unused));
-
- for (i = 0; i <= t_len; i++) {
- STRLEN t_sl;
- 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);
-
-void
-gtk_imhtml_scroll_to_end(imhtml, smooth)
- Pidgin::IMHtml imhtml
- gboolean smooth
-
-void
-gtk_imhtml_clear(imhtml)
- Pidgin::IMHtml imhtml
-
-void
-gtk_imhtml_page_up(imhtml)
- Pidgin::IMHtml imhtml
-
-void
-gtk_imhtml_page_down(imhtml)
- Pidgin::IMHtml imhtml
-
-void
-gtk_imhtml_set_editable(imhtml, editable)
- Pidgin::IMHtml imhtml
- gboolean editable
-
-void
-gtk_imhtml_set_whole_buffer_formatting_only(imhtml, wbo)
- Pidgin::IMHtml imhtml
- gboolean wbo
-
-void
-gtk_imhtml_set_format_functions(imhtml, buttons)
- Pidgin::IMHtml imhtml
- Pidgin::IMHtml::Buttons buttons
-
-Pidgin::IMHtml::Buttons
-gtk_imhtml_get_format_functions(imhtml)
- Pidgin::IMHtml imhtml
-
-gchar_own *
-gtk_imhtml_get_current_fontface(imhtml)
- Pidgin::IMHtml imhtml
-
-gchar_own *
-gtk_imhtml_get_current_forecolor(imhtml)
- Pidgin::IMHtml imhtml
-
-gchar_own *
-gtk_imhtml_get_current_backcolor(imhtml)
- Pidgin::IMHtml imhtml
-
-gchar_own *
-gtk_imhtml_get_current_background(imhtml)
- Pidgin::IMHtml imhtml
-
-gint
-gtk_imhtml_get_current_fontsize(imhtml)
- Pidgin::IMHtml imhtml
-
-gboolean
-gtk_imhtml_get_editable(imhtml)
- Pidgin::IMHtml imhtml
-
-void
-gtk_imhtml_clear_formatting(imhtml)
- Pidgin::IMHtml imhtml
-
-void
-gtk_imhtml_toggle_bold(imhtml)
- Pidgin::IMHtml imhtml
-
-void
-gtk_imhtml_toggle_italic(imhtml)
- Pidgin::IMHtml imhtml
-
-void
-gtk_imhtml_toggle_underline(imhtml)
- Pidgin::IMHtml imhtml
-
-void
-gtk_imhtml_toggle_strike(imhtml)
- Pidgin::IMHtml imhtml
-
-void
-gtk_imhtml_toggle_forecolor(imhtml, color)
- Pidgin::IMHtml imhtml
- const char * color
-
-void
-gtk_imhtml_toggle_backcolor(imhtml, color)
- Pidgin::IMHtml imhtml
- const char * color
-
-void
-gtk_imhtml_toggle_background(imhtml, color)
- Pidgin::IMHtml imhtml
- const char * color
-
-void
-gtk_imhtml_toggle_fontface(imhtml, face)
- Pidgin::IMHtml imhtml
- const char * face
-
More information about the Commits
mailing list