Mon, 12 May 2014 23:32:00 +0200
Fix coverity regression warnings
| 14478 | 1 | #include "gtkmodule.h" |
| 2 | ||
| 3 | /* This can't work at the moment since I don't have a typemap for Gtk::Widget. | |
| 4 | * I thought about using the one from libgtk2-perl but wasn't sure how to go | |
| 5 | * about doing that. | |
| 6 | Gtk::Widget | |
| 7 | gtk_imhtml_new(a, b) | |
| 8 | */ | |
| 9 | ||
| 10 | /* This can't work at the moment since I don't have a typemap for | |
| 11 | * Gtk::TextIter. | |
| 12 | * I thought about using the one from libgtk2-perl but wasn't sure how to go | |
| 13 | * about doing that. | |
| 14 | void | |
| 15 | gtk_imhtml_insert_html_at_iter(imhtml, text, options, iter) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
16 | Pidgin::IMHtml imhtml |
| 14478 | 17 | const gchar * text |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
18 | Pidgin::IMHtml::Options options |
| 14478 | 19 | Gtk::TextIter iter |
| 20 | */ | |
| 21 | ||
| 22 | /* This can't work at the moment since I don't have a typemap for Gtk::Widget. | |
| 23 | * I thought about using the one from libgtk2-perl but wasn't sure how to go | |
| 24 | * about doing that. | |
| 25 | void | |
| 26 | gtk_imhtml_delete(imhtml, start, end) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
27 | Pidgin::IMHtml imhtml |
| 14478 | 28 | Gtk::TextIter start |
| 29 | Gtk::TextIter end | |
| 30 | */ | |
| 31 | ||
| 32 | /* This can't work at the moment since I don't have a typemap for Gtk::Widget. | |
| 33 | * I thought about using the one from libgtk2-perl but wasn't sure how to go | |
| 34 | * about doing that. | |
| 35 | void | |
| 36 | gtk_imhtml_insert_link(imhtml, mark, url, text) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
37 | Pidgin::IMHtml imhtml |
| 14478 | 38 | Gtk::TextMark mark |
| 39 | const char * url | |
| 40 | const char * text | |
| 41 | */ | |
| 42 | ||
| 43 | /* This can't work at the moment since I don't have a typemap for Gtk::Widget. | |
| 44 | * I thought about using the one from libgtk2-perl but wasn't sure how to go | |
| 45 | * about doing that. | |
| 46 | void | |
| 47 | gtk_imhtml_insert_smiley_at_iter(imhtml, sml, smiley, iter) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
48 | Pidgin::IMHtml imhtml |
| 14478 | 49 | const char * sml |
| 50 | char * smiley | |
| 51 | Gtk::TextIter iter | |
| 52 | ||
| 53 | void | |
| 54 | gtk_imhtml_insert_image_at_iter(imhtml, id, iter) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
55 | Pidgin::IMHtml imhtml |
| 14478 | 56 | int id |
| 57 | Gtk::TextIter iter | |
| 58 | */ | |
| 59 | ||
| 60 | /* This can't work at the moment since I don't have a typemap for Gtk::Widget. | |
| 61 | * I thought about using the one from libgtk2-perl but wasn't sure how to go | |
| 62 | * about doing that. | |
|
15165
0ff631dfbbca
[gaim-migrate @ 17889]
Daniel Atallah <datallah@pidgin.im>
parents:
14632
diff
changeset
|
63 | gchar_own * |
| 14478 | 64 | gtk_imhtml_get_markup_range(imhtml, start, end) |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
65 | Pidgin::IMHtml imhtml |
| 14478 | 66 | Gtk::TextIter start |
| 67 | Gtk::TextIter end | |
| 68 | */ | |
| 69 | ||
| 70 | /* This can't work at the moment since I don't have a typemap for Gtk::Widget. | |
| 71 | * I thought about using the one from libgtk2-perl but wasn't sure how to go | |
| 72 | * about doing that. | |
|
15165
0ff631dfbbca
[gaim-migrate @ 17889]
Daniel Atallah <datallah@pidgin.im>
parents:
14632
diff
changeset
|
73 | gchar_own * |
| 14478 | 74 | gtk_imhtml_get_text(imhtml, start, end) |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
75 | Pidgin::IMHtml imhtml |
| 14478 | 76 | Gtk::TextIter start |
| 77 | Gtk::TextIter end | |
| 78 | */ | |
| 79 | ||
| 80 | /* This can't work at the moment since I don't have a typemap for Gdk::Pixbuf. | |
| 81 | * I thought about using the one from libgtk2-perl but wasn't sure how to go | |
| 82 | * about doing that. | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
83 | Pidgin::IMHtml::Scalable |
| 14478 | 84 | gtk_imhtml_image_new(img, filename, id) |
| 85 | Gdk::Pixbuf img | |
| 86 | const gchar * filename | |
| 87 | int id | |
| 88 | */ | |
| 89 | ||
| 90 | /* This can't work at the moment since I don't have a typemap for Gtk::Widget. | |
| 91 | * I thought about using the one from libgtk2-perl but wasn't sure how to go | |
| 92 | * about doing that. | |
| 93 | void | |
| 94 | gtk_imhtml_image_add_to(scale, imhtml, iter) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
95 | Pidgin::IMHtml::Scalable scale |
|
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
96 | Pidgin::IMHtml imhtml |
| 14478 | 97 | Gtk::TextIter iter |
| 98 | */ | |
| 99 | ||
| 100 | /* This can't work at the moment since I don't have a typemap for Gtk::Widget. | |
| 101 | * I thought about using the one from libgtk2-perl but wasn't sure how to go | |
| 102 | * about doing that. | |
| 103 | void | |
| 104 | gtk_imhtml_hr_add_to(scale, imhtml, iter) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
105 | Pidgin::IMHtml::Scalable scale |
|
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
106 | Pidgin::IMHtml imhtml |
| 14478 | 107 | Gtk::TextIter iter |
| 108 | */ | |
| 109 | ||
| 110 | /* This can't work at the moment since I don't have a typemap for gboolean *. | |
| 111 | void | |
| 112 | gtk_imhtml_get_current_format(imhtml, bold, italic, underline) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
113 | Pidgin::IMHtml imhtml |
| 14478 | 114 | gboolean * bold |
| 115 | gboolean * italic | |
| 116 | gboolean * underline | |
| 117 | */ | |
| 118 | ||
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
119 | MODULE = Pidgin::IMHtml PACKAGE = Pidgin::IMHtml PREFIX = gtk_imhtml_ |
| 14478 | 120 | PROTOTYPES: ENABLE |
| 121 | ||
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
122 | Pidgin::IMHtml::Smiley |
| 14478 | 123 | gtk_imhtml_smiley_get(imhtml, sml, text) |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
124 | Pidgin::IMHtml imhtml |
| 14478 | 125 | const gchar * sml |
| 126 | const gchar * text | |
| 127 | ||
| 128 | void | |
| 129 | gtk_imhtml_associate_smiley(imhtml, sml, smiley) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
130 | Pidgin::IMHtml imhtml |
| 14478 | 131 | const gchar * sml |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
132 | Pidgin::IMHtml::Smiley smiley |
| 14478 | 133 | |
| 134 | void | |
| 135 | gtk_imhtml_remove_smileys(imhtml) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
136 | Pidgin::IMHtml imhtml |
| 14478 | 137 | |
| 138 | void | |
| 139 | gtk_imhtml_set_funcs(imhtml, f) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
140 | Pidgin::IMHtml imhtml |
|
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
141 | Pidgin::IMHtml::Funcs f |
| 14478 | 142 | |
| 143 | void | |
| 144 | gtk_imhtml_show_comments(imhtml, show) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
145 | Pidgin::IMHtml imhtml |
| 14478 | 146 | gboolean show |
| 147 | ||
| 148 | const char * | |
| 149 | gtk_imhtml_get_protocol_name(imhtml) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
150 | Pidgin::IMHtml imhtml |
| 14478 | 151 | |
| 152 | void | |
| 153 | gtk_imhtml_set_protocol_name(imhtml, protocol_name) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
154 | Pidgin::IMHtml imhtml |
| 14478 | 155 | const gchar * protocol_name |
| 156 | ||
| 157 | void | |
| 158 | gtk_imhtml_append_text(imhtml, text, options) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
159 | Pidgin::IMHtml imhtml |
| 14478 | 160 | const gchar * text |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
161 | Pidgin::IMHtml::Options options |
| 14478 | 162 | |
| 163 | void | |
| 164 | gtk_imhtml_append_text_with_images(imhtml, text, options, unused = NULL) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
165 | Pidgin::IMHtml imhtml |
| 14478 | 166 | const gchar * text |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
167 | Pidgin::IMHtml::Options options |
| 14478 | 168 | SV *unused |
| 169 | PREINIT: | |
| 170 | GSList *t_GL; | |
| 171 | int i, t_len; | |
| 172 | PPCODE: | |
| 173 | t_GL = NULL; | |
|
35992
34a67264df99
Fix some CWE-476 coverity warnings
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
25122
diff
changeset
|
174 | if (unused) |
|
34a67264df99
Fix some CWE-476 coverity warnings
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
25122
diff
changeset
|
175 | t_len = av_len((AV *)SvRV(unused)); |
|
34a67264df99
Fix some CWE-476 coverity warnings
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
25122
diff
changeset
|
176 | else |
|
34a67264df99
Fix some CWE-476 coverity warnings
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
25122
diff
changeset
|
177 | t_len = 0; |
| 14478 | 178 | |
|
36029
cd7db320cf5c
Fix coverity regression warnings
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35992
diff
changeset
|
179 | for (i = 0; i <= t_len && unused; i++) { |
| 14478 | 180 | STRLEN t_sl; |
| 181 | t_GL = g_slist_append(t_GL, SvPV(*av_fetch((AV *)SvRV(unused), i, 0), t_sl)); | |
| 182 | } | |
| 183 | gtk_imhtml_append_text_with_images(imhtml, text, options, t_GL); | |
| 184 | ||
| 185 | void | |
| 186 | gtk_imhtml_scroll_to_end(imhtml, smooth) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
187 | Pidgin::IMHtml imhtml |
| 14478 | 188 | gboolean smooth |
| 189 | ||
| 190 | void | |
| 191 | gtk_imhtml_clear(imhtml) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
192 | Pidgin::IMHtml imhtml |
| 14478 | 193 | |
| 194 | void | |
| 195 | gtk_imhtml_page_up(imhtml) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
196 | Pidgin::IMHtml imhtml |
| 14478 | 197 | |
| 198 | void | |
| 199 | gtk_imhtml_page_down(imhtml) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
200 | Pidgin::IMHtml imhtml |
| 14478 | 201 | |
| 202 | void | |
| 203 | gtk_imhtml_set_editable(imhtml, editable) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
204 | Pidgin::IMHtml imhtml |
| 14478 | 205 | gboolean editable |
| 206 | ||
| 207 | void | |
| 208 | gtk_imhtml_set_whole_buffer_formatting_only(imhtml, wbo) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
209 | Pidgin::IMHtml imhtml |
| 14478 | 210 | gboolean wbo |
| 211 | ||
| 212 | void | |
| 213 | gtk_imhtml_set_format_functions(imhtml, buttons) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
214 | Pidgin::IMHtml imhtml |
|
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
215 | Pidgin::IMHtml::Buttons buttons |
| 14478 | 216 | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
217 | Pidgin::IMHtml::Buttons |
| 14478 | 218 | gtk_imhtml_get_format_functions(imhtml) |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
219 | Pidgin::IMHtml imhtml |
| 14478 | 220 | |
|
15165
0ff631dfbbca
[gaim-migrate @ 17889]
Daniel Atallah <datallah@pidgin.im>
parents:
14632
diff
changeset
|
221 | gchar_own * |
| 14478 | 222 | gtk_imhtml_get_current_fontface(imhtml) |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
223 | Pidgin::IMHtml imhtml |
| 14478 | 224 | |
|
15165
0ff631dfbbca
[gaim-migrate @ 17889]
Daniel Atallah <datallah@pidgin.im>
parents:
14632
diff
changeset
|
225 | gchar_own * |
| 14478 | 226 | gtk_imhtml_get_current_forecolor(imhtml) |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
227 | Pidgin::IMHtml imhtml |
| 14478 | 228 | |
|
15165
0ff631dfbbca
[gaim-migrate @ 17889]
Daniel Atallah <datallah@pidgin.im>
parents:
14632
diff
changeset
|
229 | gchar_own * |
| 14478 | 230 | gtk_imhtml_get_current_backcolor(imhtml) |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
231 | Pidgin::IMHtml imhtml |
| 14478 | 232 | |
|
15165
0ff631dfbbca
[gaim-migrate @ 17889]
Daniel Atallah <datallah@pidgin.im>
parents:
14632
diff
changeset
|
233 | gchar_own * |
| 14478 | 234 | gtk_imhtml_get_current_background(imhtml) |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
235 | Pidgin::IMHtml imhtml |
| 14478 | 236 | |
| 237 | gint | |
| 238 | gtk_imhtml_get_current_fontsize(imhtml) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
239 | Pidgin::IMHtml imhtml |
| 14478 | 240 | |
| 241 | gboolean | |
| 242 | gtk_imhtml_get_editable(imhtml) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
243 | Pidgin::IMHtml imhtml |
| 14478 | 244 | |
| 245 | void | |
| 246 | gtk_imhtml_clear_formatting(imhtml) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
247 | Pidgin::IMHtml imhtml |
| 14478 | 248 | |
| 249 | void | |
| 250 | gtk_imhtml_toggle_bold(imhtml) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
251 | Pidgin::IMHtml imhtml |
| 14478 | 252 | |
| 253 | void | |
| 254 | gtk_imhtml_toggle_italic(imhtml) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
255 | Pidgin::IMHtml imhtml |
| 14478 | 256 | |
| 257 | void | |
| 258 | gtk_imhtml_toggle_underline(imhtml) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
259 | Pidgin::IMHtml imhtml |
| 14478 | 260 | |
| 261 | void | |
| 262 | gtk_imhtml_toggle_strike(imhtml) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
263 | Pidgin::IMHtml imhtml |
| 14478 | 264 | |
| 265 | void | |
| 266 | gtk_imhtml_toggle_forecolor(imhtml, color) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
267 | Pidgin::IMHtml imhtml |
| 14478 | 268 | const char * color |
| 269 | ||
| 270 | void | |
| 271 | gtk_imhtml_toggle_backcolor(imhtml, color) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
272 | Pidgin::IMHtml imhtml |
| 14478 | 273 | const char * color |
| 274 | ||
| 275 | void | |
| 276 | gtk_imhtml_toggle_background(imhtml, color) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
277 | Pidgin::IMHtml imhtml |
| 14478 | 278 | const char * color |
| 279 | ||
| 280 | void | |
| 281 | gtk_imhtml_toggle_fontface(imhtml, face) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
282 | Pidgin::IMHtml imhtml |
| 14478 | 283 | const char * face |
| 284 | ||
| 285 | void | |
| 286 | gtk_imhtml_toggle_link(imhtml, url) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
287 | Pidgin::IMHtml imhtml |
| 14478 | 288 | const char * url |
| 289 | ||
| 290 | void | |
| 291 | gtk_imhtml_insert_smiley(imhtml, sml, smiley) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
292 | Pidgin::IMHtml imhtml |
| 14478 | 293 | const char * sml |
| 294 | char * smiley | |
| 295 | ||
| 296 | void | |
| 297 | gtk_imhtml_font_set_size(imhtml, size) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
298 | Pidgin::IMHtml imhtml |
| 14478 | 299 | gint size |
| 300 | ||
| 301 | void | |
| 302 | gtk_imhtml_font_shrink(imhtml) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
303 | Pidgin::IMHtml imhtml |
| 14478 | 304 | |
| 305 | void | |
| 306 | gtk_imhtml_font_grow(imhtml) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
307 | Pidgin::IMHtml imhtml |
| 14478 | 308 | |
|
15165
0ff631dfbbca
[gaim-migrate @ 17889]
Daniel Atallah <datallah@pidgin.im>
parents:
14632
diff
changeset
|
309 | gchar_own * |
| 14478 | 310 | gtk_imhtml_get_markup(imhtml) |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
311 | Pidgin::IMHtml imhtml |
| 14478 | 312 | |
| 14632 | 313 | # /* ETAN Test this, and document well that it returns an arrayref */ |
| 14629 | 314 | void |
| 14478 | 315 | gtk_imhtml_get_markup_lines(imhtml) |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
316 | Pidgin::IMHtml imhtml |
| 14629 | 317 | PREINIT: |
| 318 | gint i; | |
| 319 | AV *lines; | |
| 320 | gchar **bufs; | |
| 321 | PPCODE: | |
| 322 | bufs = gtk_imhtml_get_markup_lines(imhtml); | |
| 323 | lines = newAV(); | |
| 14632 | 324 | for (i = 0; bufs[i] != NULL; i++) { |
| 14629 | 325 | av_push(lines, newSVpv(bufs[i], 0)); |
| 326 | } | |
| 327 | XPUSHs(sv_2mortal(newRV_noinc((SV *)lines))); | |
| 14478 | 328 | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
329 | MODULE = Pidgin::IMHtml PACKAGE = Pidgin::IMHtml::Scalable PREFIX = gtk_imhtml_image_ |
| 14478 | 330 | PROTOTYPES: ENABLE |
| 331 | ||
| 332 | void | |
| 333 | gtk_imhtml_image_free(scale) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
334 | Pidgin::IMHtml::Scalable scale |
| 14478 | 335 | |
| 336 | void | |
| 337 | gtk_imhtml_image_scale(scale, width, height) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
338 | Pidgin::IMHtml::Scalable scale |
| 14478 | 339 | int width |
| 340 | int height | |
| 341 | ||
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
342 | MODULE = Pidgin::IMHtml PACKAGE = Pidgin::IMHtml::Hr PREFIX = gtk_imhtml_hr_ |
| 14478 | 343 | PROTOTYPES: ENABLE |
| 344 | ||
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
345 | Pidgin::IMHtml::Scalable |
| 14478 | 346 | gtk_imhtml_hr_new() |
| 347 | ||
| 348 | void | |
| 349 | gtk_imhtml_hr_free(scale) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
350 | Pidgin::IMHtml::Scalable scale |
| 14478 | 351 | |
| 352 | void | |
| 353 | gtk_imhtml_hr_scale(scale, width, height) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
354 | Pidgin::IMHtml::Scalable scale |
| 14478 | 355 | int width |
| 356 | int height | |
| 357 | ||
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
358 | MODULE = Pidgin::IMHtml PACKAGE = Pidgin::IMHtml::Search PREFIX = gtk_imhtml_search_ |
| 14478 | 359 | PROTOTYPES: ENABLE |
| 360 | ||
| 361 | gboolean | |
| 362 | gtk_imhtml_search_find(imhtml, text) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
363 | Pidgin::IMHtml imhtml |
| 14478 | 364 | const gchar * text |
| 365 | ||
| 366 | void | |
| 367 | gtk_imhtml_search_clear(imhtml) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
368 | Pidgin::IMHtml imhtml |